public static class BoxRequestsFolder.CreateFolder extends BoxRequestItem<BoxFolder,BoxRequestsFolder.CreateFolder>
BoxRequest.BoxRequestHandler<R extends BoxRequest>, BoxRequest.ContentTypes, BoxRequest.MethodsmIdmBodyMap, mContentType, mHeaderMap, mListener, mQueryMap, mRequestMethod, mRequestUrlString, mSession| Constructor and Description |
|---|
BoxRequestsFolder.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
|
getId, setFieldsbuildUrl, createHttpRequest, createQuery, getIfMatchEtag, getIfNoneMatchEtag, getRequestHandler, getSession, getStringBody, importRequestContentMapsFrom, logDebug, logRequest, parseHashMapEntry, parseJsonObject, send, setBody, setContentType, setHeaders, setIfMatchEtag, setIfNoneMatchEtag, setRequestHandler, setTimeOut, toTaskpublic BoxRequestsFolder.CreateFolder(java.lang.String parentId,
java.lang.String name,
java.lang.String requestUrl,
BoxSession session)
requestUrl - 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