public class BoxUserRequestObject extends BoxDefaultRequestObject
addField, addFields, addHeader, addQueryParam, get, getEntity, getFields, getHeaders, getJSONEntity, getJSONParser, getQueryParams, put, put, put, setJSONParser, setPagepublic BoxUserRequestObject setName(String name)
public static BoxUserRequestObject createEnterpriseUserRequestObject(String login, String name)
login - Login(email) of the user.name - name of the userpublic static BoxUserRequestObject updateUserInfoRequestObject(boolean notify)
whether - to notify user if user is rolled out of enterprisepublic static BoxUserRequestObject updateUserPrimaryLoginRequestObject(String login)
login - public static BoxUserRequestObject addEmailAliasRequestObject(String email)
email - public static BoxUserRequestObject moveFolderToAnotherUserRequestObject(String destinationUserId, boolean notify)
destinationFolderId - the ID of the user who the folder will be transferred tonotify - whether destination user should receive email notification of the transferpublic BoxUserRequestObject setLogin(String login)
login - loginpublic BoxUserRequestObject setEmailAlias(String email)
email - public BoxUserRequestObject setDestinationUser(String destinationUserId)
destinationFolderId - the ID of the user who the folder will be transferred topublic BoxUserRequestObject setRole(String role)
BoxUser.ROLE_ADMIN , BoxUser.ROLE_COADMIN or BoxUser.ROLE_USER.role - public BoxUserRequestObject setLanguage(String language)
language - the language to setpublic BoxUserRequestObject setSyncEnabled(boolean isSyncEnabled)
isSyncEnabled - the isSyncEnabled to setpublic BoxUserRequestObject setJobTitle(String jobTitle)
jobTitle - the jobTitle to setpublic BoxUserRequestObject setPhone(String phone)
phone - the phone to setpublic BoxUserRequestObject setAddress(String address)
address - the address to setpublic BoxUserRequestObject setSpaceAmount(double spaceAmount)
spaceAmount - the spaceAmount to setpublic BoxUserRequestObject setTrackingCodes(LinkedHashMap<String,String> trackingCodes)
trackingCodes - the trackingCodes to setpublic BoxUserRequestObject setCanSeeManagedUsers(boolean canSeeManagedUsers)
canSeeManagedUsers - the canSeeManagedUsers to setpublic BoxUserRequestObject setStatus(String status)
status - the status to set. Status of the user. This String can be BoxUser.STATUS_ACTIVE or
BoxUser.STATUS_INACTIVEpublic BoxUserRequestObject setExemptFromDeviceLimits(boolean exemptFromDeviceLimits)
exemptFromDeviceLimits - the exemptFromDeviceLimits to setpublic BoxUserRequestObject setExemptFromLoginVerification(boolean exemptFromLoginVerification)
exemptFromLoginVerification - the exemptFromLoginVerification to setpublic BoxUserRequestObject setEnterprise(BoxEnterprise enterprise)
enterprise - the enterprise to set. Note when updating user information you can set this to null in order to roll the user out from enterprise.public BoxUserRequestObject setNotifyUser(boolean notify)
notify - Copyright © 2014. All Rights Reserved.