public class BoxUserRequestObject extends BoxSimpleUserRequestObject
| Constructor and Description |
|---|
BoxUserRequestObject() |
moveFolderToAnotherUserRequestEntity, setNotifyUsergetFromEntity, getJSONEntity, getRequestExtras, put, setPagepublic static BoxUserRequestObject createEnterpriseUserRequestObject(String login, String name)
login - Login(email) of the user.name - name of the userpublic static BoxUserRequestObject updateUserInfoRequestObject(boolean notify)
notify - whether to notify user if user is rolled out of enterprisepublic BoxUserRequestObject setName(String name)
public BoxUserRequestObject setLogin(String login)
login - loginpublic 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 setMaxUploadSize(Double max_upload_size)
max_upload_size - the max_upload_size 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 setAvatarUrl(String avatarUrl)
avatarUrl - the avatar_url to setpublic BoxUserRequestObject setExemptFromDeviceLimits(boolean exemptFromDeviceLimits)
exemptFromDeviceLimits - the exemptFromDeviceLimits to setpublic BoxUserRequestObject setExemptFromLoginVerification(boolean exemptFromLoginVerification)
exemptFromLoginVerification - the exemptFromLoginVerification to setpublic BoxUserRequestObject setEnterprise(BoxEnterpriseRequestEntity 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 setMyTags(String... myTags)
myTags - my_tagsCopyright © 2014. All Rights Reserved.