public static class BoxRequestsUser.CreateEnterpriseUser extends BoxRequestItem<E,R>
BoxRequest.BoxRequestHandler<R extends BoxRequest>, BoxRequest.ContentTypes, BoxRequest.Methods, BoxRequest.TLSSSLSocketFactorymHintHeader, mId, QUERY_FIELDSJSON_OBJECT, mBodyMap, mContentType, mHeaderMap, mListener, mQueryMap, mRequestMethod, mRequestUrlString, mRequiresSocket, mSession, mTimeout| Constructor and Description |
|---|
CreateEnterpriseUser(java.lang.String requestUrl,
BoxSession session,
java.lang.String login,
java.lang.String name)
Creates a create enterprise user request with the default parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAddress()
Returns the address currently set for the user in the request.
|
boolean |
getCanSeeManagedUsers()
Returns whether or not the user can see other enterprise users in her contact list currently set in the request.
|
boolean |
getIsExemptFromDeviceLimits()
Returns the value currently set in the request for whether to exempt the user from Enterprise device limits.
|
boolean |
getIsExemptFromLoginVerification()
Returns the value currently set in the request for whether to exempt the user from two-factor authentication.
|
boolean |
getIsSyncEnabled()
Returns whether Box Sync is enabled for the user or not.
|
java.lang.String |
getJobTitle()
Returns the job title currently set for the user.
|
java.lang.String |
getLogin()
Gets the email address this user uses to login
|
java.lang.String |
getName()
Returns the name currently set for the user in the request.
|
java.lang.String |
getPhone()
Returns the phone number for the user currently set in the request.
|
BoxUser.Role |
getRole()
Returns the role currently set for the user in the request.
|
double |
getSpaceAmount()
Returns the amount of available space currently set for the user in the request.
|
BoxUser.Status |
getStatus()
Returns the status currently set for the user in the request.
|
java.lang.String |
getTimezone()
Returns the timezone currently set for the user in the request.
|
R |
setAddress(java.lang.String address)
Sets the address of the user in the request.
|
R |
setCanSeeManagedUsers(boolean canSeeManagedUsers)
Sets whether or not the user can see other enterprise users in her contact list in the request.
|
R |
setIsExemptFromDeviceLimits(boolean isExemptFromDeviceLimits)
Sets whether to exempt the user from Enterprise device limits in the request.
|
R |
setIsExemptFromLoginVerification(boolean isExemptFromLoginVerification)
Sets whether the user is exempt from two-factor authentication in the request.
|
R |
setIsSyncEnabled(boolean isSyncEnabled)
Sets whether or not Box Sync is enabled for the user.
|
R |
setJobTitle(java.lang.String jobTitle)
Sets the job title for the user in the request.
|
BoxRequestsUser.CreateEnterpriseUser |
setLogin(java.lang.String login)
Sets the email address for the user that will be created
|
R |
setName(java.lang.String name)
Sets the new name for the user in the request.
|
R |
setPhone(java.lang.String phone)
Sets the phone number of the user in the request.
|
R |
setRole(BoxUser.Role role)
Sets the new role for the user.
|
R |
setSpaceAmount(double spaceAmount)
Sets the amount of space available for the user in the request.
|
R |
setStatus(BoxUser.Status status)
Sets the status for the user in the request.
|
R |
setTimezone(java.lang.String timezone)
Sets the timezone for the user in the request.
|
addRepresentationHintGroup, createHeaderMap, getId, onSendCompleted, setFieldsbuildUrl, createHttpRequest, createQuery, equals, getIfMatchEtag, getIfNoneMatchEtag, getRequestHandler, getSession, getSocket, getStringBody, handleSendForCachedResult, handleToTaskForCachedResult, handleUpdateCache, hashCode, importRequestContentMapsFrom, logDebug, logRequest, onSend, parseHashMapEntry, parseJsonObject, send, sendRequest, setBody, setContentType, setHeaders, setIfMatchEtag, setIfNoneMatchEtag, setRequestHandler, setTimeOut, toTaskpublic CreateEnterpriseUser(java.lang.String requestUrl,
BoxSession session,
java.lang.String login,
java.lang.String name)
requestUrl - URL of the create enterprise user endpointsession - the authenticated session that will be used to make the request withlogin - the login(email) of the username - the user namepublic java.lang.String getLogin()
public BoxRequestsUser.CreateEnterpriseUser setLogin(java.lang.String login)
login - the email address this user uses to loginpublic java.lang.String getName()
public R setName(java.lang.String name)
name - new name for the user.public BoxUser.Role getRole()
BoxUser.Role for the user, or null if not set.public R setRole(BoxUser.Role role)
role - new role for the user.public boolean getIsSyncEnabled()
public R setIsSyncEnabled(boolean isSyncEnabled)
isSyncEnabled - whether or not Box Sync is enabled for the user.public java.lang.String getJobTitle()
public R setJobTitle(java.lang.String jobTitle)
jobTitle - new job title for the user.public java.lang.String getPhone()
public R setPhone(java.lang.String phone)
phone - new phone number for the user.public java.lang.String getAddress()
public R setAddress(java.lang.String address)
address - new address for the user.public double getSpaceAmount()
public R setSpaceAmount(double spaceAmount)
spaceAmount - new amount of space available for the user in bytes.public boolean getCanSeeManagedUsers()
public R setCanSeeManagedUsers(boolean canSeeManagedUsers)
canSeeManagedUsers - whether or not the user can see other enterprise users in her contact list.public BoxUser.Status getStatus()
BoxUser.Status currently set for the user, or null if not set.public R setStatus(BoxUser.Status status)
status - new BoxUser.Status for the user.public java.lang.String getTimezone()
public R setTimezone(java.lang.String timezone)
timezone - new timezone for the user.public boolean getIsExemptFromDeviceLimits()
public R setIsExemptFromDeviceLimits(boolean isExemptFromDeviceLimits)
isExemptFromDeviceLimits - new value for whether the user is exempt from Enterprise device limits.public boolean getIsExemptFromLoginVerification()
public R setIsExemptFromLoginVerification(boolean isExemptFromLoginVerification)
isExemptFromLoginVerification - new value for whether the user is exempt from two-factor authentication.