Package com.smartsheet.api.models
Class CreateShareRequest
- java.lang.Object
-
- com.smartsheet.api.models.CreateShareRequest
-
public class CreateShareRequest extends java.lang.ObjectRepresents a CreateShareRequest object in the Smartsheet API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateShareRequest.CreateShareRequestBuilderA convenience class for creating aCreateShareRequestwith the appropriate fields.
-
Constructor Summary
Constructors Constructor Description CreateShareRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessLevelgetAccessLevel()Gets the access level.java.lang.BooleangetCcMe()Gets the ccMe flag.java.lang.StringgetEmail()Gets the email of the user.java.lang.LonggetGroupId()Gets the group id.java.lang.StringgetMessage()Gets the message of the email.java.lang.StringgetSubject()Gets the subject of the email.CreateShareRequestsetAccessLevel(AccessLevel accessLevel)Sets the access level.CreateShareRequestsetCcMe(java.lang.Boolean ccMe)Sets the ccMe flag.CreateShareRequestsetEmail(java.lang.String email)Sets the email of the user.CreateShareRequestsetGroupId(java.lang.Long groupId)Sets the group id.CreateShareRequestsetMessage(java.lang.String message)Sets the message of the email.CreateShareRequestsetSubject(java.lang.String subject)Sets the subject of the email.
-
-
-
Method Detail
-
getEmail
public java.lang.String getEmail()
Gets the email of the user.- Returns:
- the email
-
setEmail
public CreateShareRequest setEmail(java.lang.String email)
Sets the email of the user.- Parameters:
email- the email- Returns:
- this CreateShareRequest
-
getGroupId
public java.lang.Long getGroupId()
Gets the group id.- Returns:
- the group id
-
setGroupId
public CreateShareRequest setGroupId(java.lang.Long groupId)
Sets the group id.- Parameters:
groupId- the group id- Returns:
- this CreateShareRequest
-
getAccessLevel
public AccessLevel getAccessLevel()
Gets the access level.- Returns:
- the access level
-
setAccessLevel
public CreateShareRequest setAccessLevel(AccessLevel accessLevel)
Sets the access level.- Parameters:
accessLevel- the access level- Returns:
- this CreateShareRequest
-
getSubject
public java.lang.String getSubject()
Gets the subject of the email.- Returns:
- the subject
-
setSubject
public CreateShareRequest setSubject(java.lang.String subject)
Sets the subject of the email.- Parameters:
subject- the subject- Returns:
- this CreateShareRequest
-
getMessage
public java.lang.String getMessage()
Gets the message of the email.- Returns:
- the message
-
setMessage
public CreateShareRequest setMessage(java.lang.String message)
Sets the message of the email.- Parameters:
message- the message- Returns:
- this CreateShareRequest
-
getCcMe
public java.lang.Boolean getCcMe()
Gets the ccMe flag.- Returns:
- the ccMe flag
-
setCcMe
public CreateShareRequest setCcMe(java.lang.Boolean ccMe)
Sets the ccMe flag.- Parameters:
ccMe- the ccMe flag- Returns:
- this CreateShareRequest
-
-