Package com.smartsheet.api.models
Class Share.ShareToOneGroupBuilder
- java.lang.Object
-
- com.smartsheet.api.models.Share.ShareToOneGroupBuilder
-
- Enclosing class:
- Share
public static class Share.ShareToOneGroupBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ShareToOneGroupBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Share
build()
Builds theShare
object.AccessLevel
getAccessLevel()
Gets the access level.java.lang.Long
getGroupId()
Gets the group Id.Share.ShareToOneGroupBuilder
setAccessLevel(AccessLevel accessLevel)
Access level for this specific share.Share.ShareToOneGroupBuilder
setGroupId(java.lang.Long groupId)
Group Id for this share.
-
-
-
Method Detail
-
setAccessLevel
public Share.ShareToOneGroupBuilder setAccessLevel(AccessLevel accessLevel)
Access level for this specific share.- Parameters:
accessLevel
- the access level- Returns:
- the share to one builder
-
setGroupId
public Share.ShareToOneGroupBuilder setGroupId(java.lang.Long groupId)
Group Id for this share.- Parameters:
groupId
- the group Id.- Returns:
- the share to one builder
-
getAccessLevel
public AccessLevel getAccessLevel()
Gets the access level.- Returns:
- the access level
-
getGroupId
public java.lang.Long getGroupId()
Gets the group Id.- Returns:
- the group Id
-
-