public static class BoxRequestsUser.DeleteEnterpriseUser extends BoxRequest<BoxVoid,BoxRequestsUser.DeleteEnterpriseUser>
BoxRequest.BoxRequestHandler<R extends BoxRequest>, BoxRequest.ContentTypes, BoxRequest.Methods, BoxRequest.TLSSSLSocketFactory| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
mId |
protected static java.lang.String |
QUERY_FORCE |
protected static java.lang.String |
QUERY_NOTIFY |
JSON_OBJECT, mBodyMap, mContentType, mHeaderMap, mListener, mQueryMap, mRequestMethod, mRequestUrlString, mRequiresSocket, mSession, mTimeout| Constructor and Description |
|---|
DeleteEnterpriseUser(java.lang.String requestUrl,
BoxSession session,
java.lang.String userId)
Creates an update user information request with the default parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
Gets the id of the user to delete
|
java.lang.Boolean |
getShouldForce()
Gets whether or not the user should be deleted even if this user still owns files
|
java.lang.Boolean |
getShouldNotify()
Gets whether the destination user should receive email notification of the delete.
|
BoxRequestsUser.DeleteEnterpriseUser |
setShouldForce(java.lang.Boolean shouldForce)
Sets whether or not the user should be deleted even if this user still owns files
|
BoxRequestsUser.DeleteEnterpriseUser |
setShouldNotify(java.lang.Boolean shouldNotify)
Sets whether or not the destination user should receive email notification of the delete.
|
buildUrl, createHeaderMap, createHttpRequest, createQuery, equals, getIfMatchEtag, getIfNoneMatchEtag, getRequestHandler, getSession, getSocket, getStringBody, handleSendForCachedResult, handleToTaskForCachedResult, handleUpdateCache, hashCode, importRequestContentMapsFrom, logDebug, logRequest, onSend, onSendCompleted, parseHashMapEntry, parseJsonObject, send, sendRequest, setBody, setContentType, setHeaders, setIfMatchEtag, setIfNoneMatchEtag, setRequestHandler, setTimeOut, toTaskprotected static final java.lang.String QUERY_NOTIFY
protected static final java.lang.String QUERY_FORCE
protected java.lang.String mId
public DeleteEnterpriseUser(java.lang.String requestUrl,
BoxSession session,
java.lang.String userId)
requestUrl - URL of the update user information endpointsession - the authenticated session that will be used to make the request withuserId - the userId to deletepublic java.lang.String getId()
public java.lang.Boolean getShouldNotify()
public BoxRequestsUser.DeleteEnterpriseUser setShouldNotify(java.lang.Boolean shouldNotify)
shouldNotify - whether or not the user should receive an email notificationpublic java.lang.Boolean getShouldForce()
public BoxRequestsUser.DeleteEnterpriseUser setShouldForce(java.lang.Boolean shouldForce)
shouldForce - whether or not the user should be deleted even if this user still owns files