public static class BoxRequestsBookmark.CreateBookmark extends BoxRequestItem<BoxBookmark,BoxRequestsBookmark.CreateBookmark>
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 |
|---|
CreateBookmark(java.lang.String parentId,
java.lang.String url,
java.lang.String requestUrl,
BoxSession session)
Creates a create bookmark request with the default parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Returns the description of the new bookmark currently set in the request.
|
java.lang.String |
getName()
Returns the name of the new bookmark currently set in the request.
|
java.lang.String |
getParentId()
Returns the parent id for the new bookmark currently set in the request.
|
java.lang.String |
getUrl()
Returns the URL currently set for the create bookmark request.
|
BoxRequestsBookmark.CreateBookmark |
setDescription(java.lang.String description)
Sets the description of the bookmark to be created in the request.
|
BoxRequestsBookmark.CreateBookmark |
setName(java.lang.String name)
Sets the name of the bookmark to be created in the request.
|
BoxRequestsBookmark.CreateBookmark |
setParentId(java.lang.String id)
Sets the parent id to use in the create bookmark request.
|
BoxRequestsBookmark.CreateBookmark |
setUrl(java.lang.String url)
Sets the URL of the bookmark to be created in the request.
|
getId, onSendCompleted, setFieldsbuildUrl, createHeaderMap, 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 CreateBookmark(java.lang.String parentId,
java.lang.String url,
java.lang.String requestUrl,
BoxSession session)
parentId - id of the parent folder for the new bookmarkurl - URL of the new bookmarkrequestUrl - URL of the create bookmark endpointsession - the authenticated session that will be used to make the request withpublic java.lang.String getParentId()
public BoxRequestsBookmark.CreateBookmark setParentId(java.lang.String id)
id - id of the parent folder for the new bookmarkpublic java.lang.String getUrl()
public BoxRequestsBookmark.CreateBookmark setUrl(java.lang.String url)
url - URL of the new bookmarkpublic java.lang.String getName()
public BoxRequestsBookmark.CreateBookmark setName(java.lang.String name)
name - name of the bookmark to be createdpublic java.lang.String getDescription()
public BoxRequestsBookmark.CreateBookmark setDescription(java.lang.String description)
description - new description for the bookmark to be created