public static class BoxRequestsBookmark.UpdateBookmark extends BoxRequestItemUpdate<BoxBookmark,BoxRequestsBookmark.UpdateBookmark>
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 |
|---|
UpdateBookmark(java.lang.String id,
java.lang.String requestUrl,
BoxSession session)
Creates an update file request with the default parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getUrl()
Returns the URL for the bookmark currently set in the request.
|
BoxRequestsBookmark.UpdateBookmark |
setUrl(java.lang.String url)
Sets the new URL for the bookmark in the request.
|
BoxRequestsBookmark.UpdateSharedBookmark |
updateSharedLink()
Converts the BoxRequestItemUpdate into a BoxRequestUpdateSharedItem.
|
getDescription, getIfMatchEtag, getName, getParentId, getSharedLink, getTags, parseHashMapEntry, setDescription, setIfMatchEtag, setName, setParentId, setSharedLink, setTagsgetId, onSendCompleted, setFieldsbuildUrl, createHeaderMap, 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 UpdateBookmark(java.lang.String id,
java.lang.String requestUrl,
BoxSession session)
id - id of the file to update information onrequestUrl - URL of the update file endpointsession - the authenticated session that will be used to make the request withpublic java.lang.String getUrl()
public BoxRequestsBookmark.UpdateBookmark setUrl(java.lang.String url)
url - new URL for the bookmark.public BoxRequestsBookmark.UpdateSharedBookmark updateSharedLink()
BoxRequestItemUpdateupdateSharedLink in class BoxRequestItemUpdate<BoxBookmark,BoxRequestsBookmark.UpdateBookmark>