public class CreateGroupRequestBody extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateGroupRequestBody.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
description
A human readable description of the group.
|
protected String |
externalSyncIdentifier
An arbitrary identifier that can be used by external group sync tools to link this Box Group to
an external group.
|
protected EnumWrapper<CreateGroupRequestBodyInvitabilityLevelField> |
invitabilityLevel
Specifies who can invite the group to collaborate on folders.
|
protected EnumWrapper<CreateGroupRequestBodyMemberViewabilityLevelField> |
memberViewabilityLevel
Specifies who can see the members of the group.
|
protected String |
name
The name of the new group to be created.
|
protected String |
provenance
Keeps track of which external source this group is coming, for example `Active Directory`, or
`Okta`.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
protected |
CreateGroupRequestBody(CreateGroupRequestBody.Builder builder) |
|
CreateGroupRequestBody(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDescription() |
String |
getExternalSyncIdentifier() |
EnumWrapper<CreateGroupRequestBodyInvitabilityLevelField> |
getInvitabilityLevel() |
EnumWrapper<CreateGroupRequestBodyMemberViewabilityLevelField> |
getMemberViewabilityLevel() |
String |
getName() |
String |
getProvenance() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected final String name
protected String provenance
Setting this will also prevent Box admins from editing the group name and its members directly via the Box web application.
This is desirable for one-way syncing of groups.
protected String externalSyncIdentifier
Example values of this field could be an **Active Directory Object ID** or a **Google Group ID**.
We recommend you use of this field in order to avoid issues when group names are updated in either Box or external systems.
protected String description
protected EnumWrapper<CreateGroupRequestBodyInvitabilityLevelField> invitabilityLevel
When set to `admins_only` the enterprise admin, co-admins, and the group's admin can invite the group.
When set to `admins_and_members` all the admins listed above and group members can invite the group.
When set to `all_managed_users` all managed users in the enterprise can invite the group.
protected EnumWrapper<CreateGroupRequestBodyMemberViewabilityLevelField> memberViewabilityLevel
* `admins_only` - the enterprise admin, co-admins, group's group admin. * `admins_and_members` - all admins and group members. * `all_managed_users` - all managed users in the enterprise.
public CreateGroupRequestBody(String name)
protected CreateGroupRequestBody(CreateGroupRequestBody.Builder builder)
public String getProvenance()
public String getExternalSyncIdentifier()
public String getDescription()
public EnumWrapper<CreateGroupRequestBodyInvitabilityLevelField> getInvitabilityLevel()
public EnumWrapper<CreateGroupRequestBodyMemberViewabilityLevelField> getMemberViewabilityLevel()