public class GroupsUpdateBuilder
extends java.lang.Object
DbxTeamTeamRequests.groupsUpdateBuilder(com.dropbox.core.v2.team.GroupSelector)
.
Use this class to set optional request parameters and complete the request.
Modifier and Type | Method and 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.
|
public GroupsUpdateBuilder withReturnMembers(java.lang.Boolean returnMembers)
If left unset or set to null
, defaults to true
.
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 to true
when set to null
.public GroupsUpdateBuilder withNewGroupName(java.lang.String newGroupName)
newGroupName
- Optional argument. Set group name to this if
provided.public GroupsUpdateBuilder withNewGroupExternalId(java.lang.String newGroupExternalId)
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.public GroupsUpdateBuilder withNewGroupManagementType(GroupManagementType newGroupManagementType)
newGroupManagementType
- Set new group management type, if
provided.public GroupFullInfo start() throws GroupUpdateErrorException, DbxException