Package com.smartsheet.api.models
Class CreateShareRequest
- java.lang.Object
-
- com.smartsheet.api.models.CreateShareRequest
-
public class CreateShareRequest extends java.lang.Object
Represents a CreateShareRequest object in the Smartsheet API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateShareRequest.CreateShareRequestBuilder
A convenience class for creating aCreateShareRequest
with the appropriate fields.
-
Constructor Summary
Constructors Constructor Description CreateShareRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessLevel
getAccessLevel()
Gets the access level.java.lang.Boolean
getCcMe()
Gets the ccMe flag.java.lang.String
getEmail()
Gets the email of the user.java.lang.Long
getGroupId()
Gets the group id.java.lang.String
getMessage()
Gets the message of the email.java.lang.String
getSubject()
Gets the subject of the email.CreateShareRequest
setAccessLevel(AccessLevel accessLevel)
Sets the access level.CreateShareRequest
setCcMe(java.lang.Boolean ccMe)
Sets the ccMe flag.CreateShareRequest
setEmail(java.lang.String email)
Sets the email of the user.CreateShareRequest
setGroupId(java.lang.Long groupId)
Sets the group id.CreateShareRequest
setMessage(java.lang.String message)
Sets the message of the email.CreateShareRequest
setSubject(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
-
-