public class GroupsCreateBuilder
extends java.lang.Object
DbxTeamTeamRequests.groupsCreateBuilder(java.lang.String)
.
Use this class to set optional request parameters and complete the request.
Modifier and Type | Method and Description |
---|---|
GroupFullInfo |
start()
Issues the request.
|
GroupsCreateBuilder |
withAddCreatorAsOwner(java.lang.Boolean addCreatorAsOwner)
Set value for optional field.
|
GroupsCreateBuilder |
withGroupExternalId(java.lang.String groupExternalId)
Set value for optional field.
|
GroupsCreateBuilder |
withGroupManagementType(GroupManagementType groupManagementType)
Set value for optional field.
|
public GroupsCreateBuilder withAddCreatorAsOwner(java.lang.Boolean addCreatorAsOwner)
If left unset or set to null
, defaults to false
.
addCreatorAsOwner
- Automatically add the creator of the group.
Defaults to false
when set to null
.public GroupsCreateBuilder withGroupExternalId(java.lang.String groupExternalId)
groupExternalId
- The creator of a team can associate an arbitrary
external ID to the group.public GroupsCreateBuilder withGroupManagementType(GroupManagementType groupManagementType)
groupManagementType
- Whether the team can be managed by selected
users, or only by team admins.public GroupFullInfo start() throws GroupCreateErrorException, DbxException