public static class BoxRequestsFolder.UpdateSharedFolder extends BoxRequestUpdateSharedItem<BoxFolder,BoxRequestsFolder.UpdateSharedFolder>
BoxRequest.BoxRequestHandler<R extends BoxRequest>, BoxRequest.ContentTypes, BoxRequest.Methods, BoxRequest.TLSSSLSocketFactorymHintHeader, mId, QUERY_FIELDSJSON_OBJECT, mBodyMap, mContentType, mHeaderMap, mListener, mQueryMap, mRequestMethod, mRequestUrlString, mRequiresSocket, mSession, mTimeout| Modifier | Constructor and Description |
|---|---|
protected |
UpdateSharedFolder(BoxRequestsFolder.UpdateFolder r) |
|
UpdateSharedFolder(java.lang.String id,
java.lang.String requestUrl,
BoxSession session)
Creates an update shared folder request with the default parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getCanDownload()
Returns whether or not the folder can be downloaded from the shared link.
|
BoxRequestsFolder.UpdateSharedFolder |
setCanDownload(boolean canDownload)
Sets whether or not the folder can be downloaded from the shared link.
|
getAccess, getPassword, getUnsharedAt, setAccess, setPassword, setRemoveUnsharedAtDate, setUnsharedAt, updateSharedLinkgetDescription, getIfMatchEtag, getName, getParentId, getSharedLink, getTags, parseHashMapEntry, setDescription, setIfMatchEtag, setName, setParentId, setSharedLink, setTagsaddRepresentationHintGroup, createHeaderMap, getId, onSendCompleted, setFieldsbuildUrl, 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 UpdateSharedFolder(java.lang.String id,
java.lang.String requestUrl,
BoxSession session)
id - id of the folder to update information onrequestUrl - URL of the update folder endpointsession - the authenticated session that will be used to make the request withprotected UpdateSharedFolder(BoxRequestsFolder.UpdateFolder r)
public BoxRequestsFolder.UpdateSharedFolder setCanDownload(boolean canDownload)
setCanDownload in class BoxRequestUpdateSharedItem<BoxFolder,BoxRequestsFolder.UpdateSharedFolder>canDownload - boolean representing whether or not the folder can be downloaded from the shared link.public java.lang.Boolean getCanDownload()
getCanDownload in class BoxRequestUpdateSharedItem<BoxFolder,BoxRequestsFolder.UpdateSharedFolder>