Package com.dropbox.core.v2.team
Class GroupsUpdateBuilder
- java.lang.Object
-
- com.dropbox.core.v2.team.GroupsUpdateBuilder
-
public class GroupsUpdateBuilder extends java.lang.Object
The request builder returned byDbxTeamTeamRequests.groupsUpdateBuilder(com.dropbox.core.v2.team.GroupSelector)
.Use this class to set optional request parameters and complete the request.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupFullInfo
start()
Issues the request.GroupsUpdateBuilder
withNewGroupExternalId(java.lang.String newGroupExternalId)
Set value for optional field.GroupsUpdateBuilder
withNewGroupManagementType(GroupManagementType newGroupManagementType)
Set value for optional field.GroupsUpdateBuilder
withNewGroupName(java.lang.String newGroupName)
Set value for optional field.GroupsUpdateBuilder
withReturnMembers(java.lang.Boolean returnMembers)
Set value for optional field.
-
-
-
Method Detail
-
withReturnMembers
public GroupsUpdateBuilder withReturnMembers(java.lang.Boolean returnMembers)
Set value for optional field.If left unset or set to
null
, defaults totrue
.- Parameters:
returnMembers
- Whether to return the list of members in the group. Note that the default value will cause all the group members to be returned in the response. This may take a long time for large groups. Defaults totrue
when set tonull
.- Returns:
- this builder
-
withNewGroupName
public GroupsUpdateBuilder withNewGroupName(java.lang.String newGroupName)
Set value for optional field.- Parameters:
newGroupName
- Optional argument. Set group name to this if provided.- Returns:
- this builder
-
withNewGroupExternalId
public GroupsUpdateBuilder withNewGroupExternalId(java.lang.String newGroupExternalId)
Set value for optional field.- Parameters:
newGroupExternalId
- Optional argument. New group external ID. If the argument is None, the group's external_id won't be updated. If the argument is empty string, the group's external id will be cleared.- Returns:
- this builder
-
withNewGroupManagementType
public GroupsUpdateBuilder withNewGroupManagementType(GroupManagementType newGroupManagementType)
Set value for optional field.- Parameters:
newGroupManagementType
- Set new group management type, if provided.- Returns:
- this builder
-
start
public GroupFullInfo start() throws GroupUpdateErrorException, DbxException
Issues the request.
-
-