public static class BoxRequestsFile.UpdateFile extends BoxRequestItemUpdate<BoxFile,BoxRequestsFile.UpdateFile>
BoxRequest.BoxRequestHandler<R extends BoxRequest>, BoxRequest.ContentTypes, BoxRequest.MethodsmId, QUERY_FIELDSJSON_OBJECT, mBodyMap, mContentType, mHeaderMap, mListener, mQueryMap, mRequestMethod, mRequestUrlString, mRequiresSocket, mSession, mTimeout| Constructor and Description |
|---|
UpdateFile(java.lang.String id,
java.lang.String requestUrl,
BoxSession session)
Creates an update file request with the default parameters
|
| Modifier and Type | Method and Description |
|---|---|
BoxRequestsFile.UpdatedSharedFile |
updateSharedLink()
Converts the BoxRequestItemUpdate into a BoxRequestUpdateSharedItem.
|
getDescription, getIfMatchEtag, getName, getParentId, getSharedLink, getTags, parseHashMapEntry, setDescription, setIfMatchEtag, setName, setParentId, setSharedLink, setTagsgetId, onSendCompleted, setFieldsbuildUrl, createHeaderMap, createHttpRequest, createQuery, equals, getIfNoneMatchEtag, getRequestHandler, getSession, getSocket, getStringBody, handleSendForCachedResult, handleToTaskForCachedResult, handleUpdateCache, hashCode, importRequestContentMapsFrom, logDebug, logRequest, onSend, parseJsonObject, send, sendRequest, setBody, setContentType, setHeaders, setIfNoneMatchEtag, setRequestHandler, setTimeOut, toTaskpublic UpdateFile(java.lang.String id,
java.lang.String requestUrl,
BoxSession session)
id - id of the file to update information onrequestUrl - URL of the update file endpointsession - the authenticated session that will be used to make the request withpublic BoxRequestsFile.UpdatedSharedFile updateSharedLink()
BoxRequestItemUpdateupdateSharedLink in class BoxRequestItemUpdate<BoxFile,BoxRequestsFile.UpdateFile>