public class CreateUserParams extends Object
Constructor and Description |
---|
CreateUserParams() |
Modifier and Type | Method and Description |
---|---|
CreateUserParams |
addTrackingCode(String key,
String value)
Add an element the map of tracking codes.
|
String |
getAddress()
Gets what the address of the new user will be.
|
Boolean |
getCanSeeManagedUsers()
Gets whether or not the new user will be able to see other enterprise users in their contact list.
|
String |
getExternalAppUserId()
Gets the external app user id that has been set for the app user.
|
Boolean |
getIsExemptFromDeviceLimits()
Gets whether or not the new user will be exempt from Enterprise device limits.
|
Boolean |
getIsExemptFromLoginVerification()
Gets whether or not the new user will be required to use two-factor authentication.
|
Boolean |
getIsExternalCollabRestricted()
Gets whether this user is allowed or not to collaborate with users outside their enterprise.
|
Boolean |
getIsPlatformAccessOnly()
Gets whether or not the user we are creating is an app user with Box Developer Edition.
|
Boolean |
getIsSyncEnabled()
Gets whether or not the new user will be able to use Box Sync.
|
String |
getJobTitle()
Gets what the job title of the new user will be.
|
String |
getLanguage()
Gets what the language of the new user will be.
|
String |
getPhone()
Gets what the phone number of the new user will be.
|
BoxUser.Role |
getRole()
Gets what the new user's enterprise role will be.
|
Long |
getSpaceAmount()
Gets what the new user's total available space will be in bytes.
|
BoxUser.Status |
getStatus()
Gets what the new user's account status will be.
|
String |
getTimezone()
Gets what the timezone of the new user will be.
|
Map<String,String> |
getTrackingCodes()
Gets the map of tracking codes.
|
CreateUserParams |
setAddress(String address)
Sets what the address of the new user will be.
|
CreateUserParams |
setCanSeeManagedUsers(boolean canSeeManagedUsers)
Sets whether or not the new user will be able to see other enterprise users in their contact list.
|
CreateUserParams |
setExternalAppUserId(String externalAppUserId)
Sets the external app user id.
|
CreateUserParams |
setIsExemptFromDeviceLimits(boolean isExemptFromDeviceLimits)
Sets whether or not the new user will be exempt from Enterprise device limits.
|
CreateUserParams |
setIsExemptFromLoginVerification(boolean isExemptFromLoginVerification)
Sets whether or not the new user will be required to use two-factor authentication.
|
CreateUserParams |
setIsExternalCollabRestricted(boolean isExternalCollabRestricted)
Sets whether this user is allowed or not to collaborate with users outside their enterprise.
|
CreateUserParams |
setIsPlatformAccessOnly(boolean isPlatformAccessOnly)
Sets whether or not the user we are creating is an app user with Box Developer Edition.
|
CreateUserParams |
setIsSyncEnabled(boolean isSyncEnabled)
Sets whether or not the new user will be able to use Box Sync.
|
CreateUserParams |
setJobTitle(String jobTitle)
Sets what the job title of the new user will be.
|
CreateUserParams |
setLanguage(String language)
Sets what the language of the new user will be.
|
CreateUserParams |
setPhone(String phone)
Sets what the phone number of the new user will be.
|
CreateUserParams |
setRole(BoxUser.Role role)
Sets what the new user's enterprise role will be.
|
CreateUserParams |
setSpaceAmount(long spaceAmount)
Sets what the new user's total available space will be in bytes.
|
CreateUserParams |
setStatus(BoxUser.Status status)
Sets what the new user's account status will be.
|
CreateUserParams |
setTimezone(String timezone)
Sets what the timezone of the new user will be.
|
CreateUserParams |
setTrackingCodes(Map<String,String> trackingCodes)
Sets the map of tracking codes.
|
public CreateUserParams()
public Boolean getCanSeeManagedUsers()
public CreateUserParams setCanSeeManagedUsers(boolean canSeeManagedUsers)
canSeeManagedUsers
- whether or not the new user will be able to see other enterprise users in their
contact list.public Boolean getIsExemptFromDeviceLimits()
public CreateUserParams setIsExemptFromDeviceLimits(boolean isExemptFromDeviceLimits)
isExemptFromDeviceLimits
- whether or not the new user will be exempt from Enterprise device limits.public Boolean getIsExemptFromLoginVerification()
public CreateUserParams setIsExemptFromLoginVerification(boolean isExemptFromLoginVerification)
isExemptFromLoginVerification
- whether or not the new user will be required to use two-factor
authentication.public Boolean getIsPlatformAccessOnly()
public CreateUserParams setIsPlatformAccessOnly(boolean isPlatformAccessOnly)
isPlatformAccessOnly
- whether or not the user we are creating is an app user with Box Developer
Edition.public Boolean getIsSyncEnabled()
public CreateUserParams setIsSyncEnabled(boolean isSyncEnabled)
isSyncEnabled
- whether or not the new user will be able to use Box Sync.public BoxUser.Role getRole()
public CreateUserParams setRole(BoxUser.Role role)
role
- what the new user's enterprise role will be.public BoxUser.Status getStatus()
public CreateUserParams setStatus(BoxUser.Status status)
status
- what the new user's account status will be.public Long getSpaceAmount()
public CreateUserParams setSpaceAmount(long spaceAmount)
spaceAmount
- what the new user's total available space will be in bytes.public String getAddress()
public CreateUserParams setAddress(String address)
address
- what the address of the new user will be.public String getJobTitle()
public CreateUserParams setJobTitle(String jobTitle)
jobTitle
- what the job title of the new user will be.public String getLanguage()
public CreateUserParams setLanguage(String language)
language
- what the language of the new user will be.public String getPhone()
public CreateUserParams setPhone(String phone)
phone
- what the phone number of the new user will be.public String getTimezone()
public CreateUserParams setTimezone(String timezone)
timezone
- what the timezone of the new user will be.public String getExternalAppUserId()
public CreateUserParams setExternalAppUserId(String externalAppUserId)
externalAppUserId
- external app user id.public Boolean getIsExternalCollabRestricted()
public CreateUserParams setIsExternalCollabRestricted(boolean isExternalCollabRestricted)
isExternalCollabRestricted
- whether the user is allowed to collaborate with users outside their enterprise.public Map<String,String> getTrackingCodes()
public CreateUserParams setTrackingCodes(Map<String,String> trackingCodes)
trackingCodes
- map of tracking codes.public CreateUserParams addTrackingCode(String key, String value)
key
- of a tracking codevalue
- of a tracking code