public class CreateUserRequestBody extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateUserRequestBody.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
address
The user’s address.
|
protected Boolean |
canSeeManagedUsers
Whether the user can see other enterprise users in their contact list.
|
protected String |
externalAppUserId
An external identifier for an app user, which can be used to look up the user.
|
protected Boolean |
isExemptFromDeviceLimits
Whether to exempt the user from enterprise device limits.
|
protected Boolean |
isExemptFromLoginVerification
Whether the user must use two-factor authentication.
|
protected Boolean |
isExternalCollabRestricted
Whether the user is allowed to collaborate with users outside their enterprise.
|
protected Boolean |
isPlatformAccessOnly
Specifies that the user is an app user.
|
protected Boolean |
isSyncEnabled
Whether the user can use Box Sync.
|
protected String |
jobTitle
The user’s job title.
|
protected String |
language
The language of the user, formatted in modified version of the [ISO
639-1](https://developer.box.com/guides/api-calls/language-codes) format.
|
protected String |
login
The email address the user uses to log in
|
protected String |
name
The name of the user.
|
protected String |
phone
The user’s phone number.
|
protected EnumWrapper<CreateUserRequestBodyRoleField> |
role
The user’s enterprise role.
|
protected Long |
spaceAmount
The user’s total available space in bytes.
|
protected EnumWrapper<CreateUserRequestBodyStatusField> |
status
The user's account status.
|
protected String |
timezone
The user's timezone.
|
protected List<TrackingCode> |
trackingCodes
Tracking codes allow an admin to generate reports from the admin console and assign an
attribute to a specific group of users.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
protected |
CreateUserRequestBody(CreateUserRequestBody.Builder builder) |
|
CreateUserRequestBody(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAddress() |
Boolean |
getCanSeeManagedUsers() |
String |
getExternalAppUserId() |
Boolean |
getIsExemptFromDeviceLimits() |
Boolean |
getIsExemptFromLoginVerification() |
Boolean |
getIsExternalCollabRestricted() |
Boolean |
getIsPlatformAccessOnly() |
Boolean |
getIsSyncEnabled() |
String |
getJobTitle() |
String |
getLanguage() |
String |
getLogin() |
String |
getName() |
String |
getPhone() |
EnumWrapper<CreateUserRequestBodyRoleField> |
getRole() |
Long |
getSpaceAmount() |
EnumWrapper<CreateUserRequestBodyStatusField> |
getStatus() |
String |
getTimezone() |
List<TrackingCode> |
getTrackingCodes() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected String login
Required, unless `is_platform_access_only` is set to `true`.
protected Boolean isPlatformAccessOnly
protected EnumWrapper<CreateUserRequestBodyRoleField> role
protected String language
protected Boolean isSyncEnabled
protected Long spaceAmount
protected List<TrackingCode> trackingCodes
protected Boolean canSeeManagedUsers
protected Boolean isExternalCollabRestricted
protected Boolean isExemptFromDeviceLimits
protected Boolean isExemptFromLoginVerification
protected EnumWrapper<CreateUserRequestBodyStatusField> status
protected String externalAppUserId
public CreateUserRequestBody(String name)
protected CreateUserRequestBody(CreateUserRequestBody.Builder builder)
public Boolean getIsPlatformAccessOnly()
public EnumWrapper<CreateUserRequestBodyRoleField> getRole()
public String getLanguage()
public Boolean getIsSyncEnabled()
public String getJobTitle()
public String getAddress()
public Long getSpaceAmount()
public List<TrackingCode> getTrackingCodes()
public Boolean getCanSeeManagedUsers()
public String getTimezone()
public Boolean getIsExternalCollabRestricted()
public Boolean getIsExemptFromDeviceLimits()
public Boolean getIsExemptFromLoginVerification()
public EnumWrapper<CreateUserRequestBodyStatusField> getStatus()
public String getExternalAppUserId()