Package com.smartsheet.api.models
Class Share.CreateGroupShareBuilder
- java.lang.Object
-
- com.smartsheet.api.models.Share.CreateGroupShareBuilder
-
- Enclosing class:
- Share
public static class Share.CreateGroupShareBuilder extends java.lang.ObjectA convenience class for creating aSharewith the necessary fields to create aShareType.GROUPShare. You must set groupId
-
-
Constructor Summary
Constructors Constructor Description CreateGroupShareBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Sharebuild()Builds theShareobject.AccessLevelgetAccessLevel()Gets the access level.java.lang.LonggetGroupId()Gets the group Id.Share.CreateGroupShareBuildersetAccessLevel(AccessLevel accessLevel)Access level for this specific share.Share.CreateGroupShareBuildersetGroupId(java.lang.Long groupId)Group Id for this share.
-
-
-
Method Detail
-
setAccessLevel
public Share.CreateGroupShareBuilder setAccessLevel(AccessLevel accessLevel)
Access level for this specific share.- Parameters:
accessLevel- the access level- Returns:
- the group share builder
-
setGroupId
public Share.CreateGroupShareBuilder setGroupId(java.lang.Long groupId)
Group Id for this share.- Parameters:
groupId- the group Id.- Returns:
- the group share 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
-
-