public static class BoxRequestsShare.UpdateOwner extends BoxRequest<BoxVoid,BoxRequestsShare.UpdateOwner>
BoxRequest.BoxRequestHandler<R extends BoxRequest>, BoxRequest.ContentTypes, BoxRequest.MethodsJSON_OBJECT, mBodyMap, mContentType, mHeaderMap, mListener, mQueryMap, mRequestMethod, mRequestUrlString, mRequiresSocket, mSession, mTimeout| Constructor and Description |
|---|
UpdateOwner(java.lang.String collaborationId,
java.lang.String requestUrl,
BoxSession session)
Creates a request to update the collaboration with the default parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
Returns the id of the collaboration being modified.
|
protected void |
onSendCompleted(BoxResponse<BoxVoid> response)
Post action that will be performed after a successful send occurs.
|
buildUrl, createHeaderMap, 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 UpdateOwner(java.lang.String collaborationId,
java.lang.String requestUrl,
BoxSession session)
collaborationId - id of the collaboration to updaterequestUrl - URL of the update collaboration endpointsession - the authenticated session that will be used to make the request withpublic java.lang.String getId()
protected void onSendCompleted(BoxResponse<BoxVoid> response) throws BoxException
BoxRequestonSendCompleted in class BoxRequest<BoxVoid,BoxRequestsShare.UpdateOwner>response - response of the BoxRequestBoxException - thrown if there was a problem with handling the request.