public static class BoxRequestsFolder.CreateFolder extends BoxRequestItem<BoxFolder,BoxRequestsFolder.CreateFolder>
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| Constructor and Description |
|---|
CreateFolder(java.lang.String parentId,
java.lang.String name,
java.lang.String requestUrl,
BoxSession session)
Creates a create folder request with the default parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Gets the name that the folder will be created with
|
java.lang.String |
getParentId()
Gets the parent folder that the folder will be created in
|
BoxRequestsFolder.CreateFolder |
setName(java.lang.String name)
Sets the name that the folder will be created with
|
BoxRequestsFolder.CreateFolder |
setParentId(java.lang.String id)
Sets the id of the parent folder the folder will be created in
|
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 CreateFolder(java.lang.String parentId,
java.lang.String name,
java.lang.String requestUrl,
BoxSession session)
parentId - the parent folder id to create this folder inname - name of the folder to createrequestUrl - URL of the create folder endpointsession - the authenticated session that will be used to make the request withpublic java.lang.String getParentId()
public BoxRequestsFolder.CreateFolder setParentId(java.lang.String id)
id - id of the parent folderpublic java.lang.String getName()
public BoxRequestsFolder.CreateFolder setName(java.lang.String name)
name - name of the folder to create