Package com.smartsheet.api.models
Class ShareResponse
- java.lang.Object
-
- com.smartsheet.api.models.ShareResponse
-
public class ShareResponse extends java.lang.Object
Represents a ShareResponse object in the Smartsheet API.
-
-
Constructor Summary
Constructors Constructor Description ShareResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessLevel
getAccessLevel()
Gets the access level of the share.java.lang.String
getEmail()
Gets the email of the user.java.lang.Long
getGroupId()
Gets the group id.java.lang.String
getId()
Gets the id of the share.java.lang.String
getName()
Gets the name of the user or group.java.lang.String
getScope()
Gets the scope of the share.java.lang.String
getType()
Gets the type of the share.java.lang.Long
getUserId()
Gets the user id.ShareResponse
setAccessLevel(AccessLevel accessLevel)
Sets the access level of the share.ShareResponse
setEmail(java.lang.String email)
Sets the email of the user.ShareResponse
setGroupId(java.lang.Long groupId)
Sets the group id.ShareResponse
setId(java.lang.String id)
Sets the id of the share.ShareResponse
setName(java.lang.String name)
Sets the name of the user or group.ShareResponse
setScope(java.lang.String scope)
Sets the scope of the share.ShareResponse
setType(java.lang.String type)
Sets the type of the share.ShareResponse
setUserId(java.lang.Long userId)
Sets the user id.
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Gets the id of the share.- Returns:
- the id
-
setId
public ShareResponse setId(java.lang.String id)
Sets the id of the share.- Parameters:
id
- the id
-
getEmail
public java.lang.String getEmail()
Gets the email of the user.- Returns:
- the email
-
setEmail
public ShareResponse setEmail(java.lang.String email)
Sets the email of the user.- Parameters:
email
- the email
-
getUserId
public java.lang.Long getUserId()
Gets the user id.- Returns:
- the user id
-
setUserId
public ShareResponse setUserId(java.lang.Long userId)
Sets the user id.- Parameters:
userId
- the user id
-
getGroupId
public java.lang.Long getGroupId()
Gets the group id.- Returns:
- the group id
-
setGroupId
public ShareResponse setGroupId(java.lang.Long groupId)
Sets the group id.- Parameters:
groupId
- the group id
-
getName
public java.lang.String getName()
Gets the name of the user or group.- Returns:
- the name
-
setName
public ShareResponse setName(java.lang.String name)
Sets the name of the user or group.- Parameters:
name
- the name
-
getType
public java.lang.String getType()
Gets the type of the share.- Returns:
- the type
-
setType
public ShareResponse setType(java.lang.String type)
Sets the type of the share.- Parameters:
type
- the type
-
getAccessLevel
public AccessLevel getAccessLevel()
Gets the access level of the share.- Returns:
- the access level
-
setAccessLevel
public ShareResponse setAccessLevel(AccessLevel accessLevel)
Sets the access level of the share.- Parameters:
accessLevel
- the access level
-
getScope
public java.lang.String getScope()
Gets the scope of the share.- Returns:
- the scope
-
setScope
public ShareResponse setScope(java.lang.String scope)
Sets the scope of the share.- Parameters:
scope
- the scope
-
-