public static class BoxRequestsFolder.AddFolderToCollection extends BoxRequestCollectionUpdate<BoxFolder,BoxRequestsFolder.AddFolderToCollection>
BoxRequest.BoxRequestHandler<R extends BoxRequest>, BoxRequest.ContentTypes, BoxRequest.Methods, BoxRequest.TLSSSLSocketFactoryFIELD_COLLECTIONSmHintHeader, mId, QUERY_FIELDSJSON_OBJECT, mBodyMap, mContentType, mHeaderMap, mListener, mQueryMap, mRequestMethod, mRequestUrlString, mRequiresSocket, mSession, mTimeout| Constructor and Description |
|---|
AddFolderToCollection(java.lang.String id,
java.lang.String collectionId,
java.lang.String requestUrl,
BoxSession session)
Creates an add folder to collection request with the default parameters
|
| Modifier and Type | Method and Description |
|---|---|
BoxRequestsFolder.AddFolderToCollection |
setCollectionId(java.lang.String id)
Sets the collection id in the request to add the folder to.
|
addRepresentationHintGroup, createHeaderMap, getId, onSendCompleted, setFieldsbuildUrl, 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 AddFolderToCollection(java.lang.String id,
java.lang.String collectionId,
java.lang.String requestUrl,
BoxSession session)
id - id of the folder to add to the collectioncollectionId - id of the collection to add the folder torequestUrl - URL of the add to collection endpointsession - the authenticated session that will be used to make the request withpublic BoxRequestsFolder.AddFolderToCollection setCollectionId(java.lang.String id)
setCollectionId in class BoxRequestCollectionUpdate<BoxFolder,BoxRequestsFolder.AddFolderToCollection>id - id of the collection to add the folder to.