public static class BoxRequestsBookmark.GetTrashedBookmark extends BoxRequestItem<BoxBookmark,BoxRequestsBookmark.GetTrashedBookmark>
BoxRequest.BoxRequestHandler<R extends BoxRequest>, BoxRequest.ContentTypes, BoxRequest.MethodsmIdJSON_OBJECT, mBodyMap, mContentType, mHeaderMap, mListener, mQueryMap, mRequestMethod, mRequestUrlString, mSession| Constructor and Description |
|---|
BoxRequestsBookmark.GetTrashedBookmark(java.lang.String id,
java.lang.String requestUrl,
BoxSession session)
Creates a request to get a trashed bookmark with the default parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getIfNoneMatchEtag()
Returns the etag currently set in the if-none-match header.
|
BoxRequestsBookmark.GetTrashedBookmark |
setIfNoneMatchEtag(java.lang.String etag)
Sets the if-none-match header for the request.
|
getId, setFieldsbuildUrl, createHttpRequest, createQuery, getIfMatchEtag, getRequestHandler, getSession, getStringBody, importRequestContentMapsFrom, logDebug, logRequest, parseHashMapEntry, parseJsonObject, send, setBody, setContentType, setHeaders, setIfMatchEtag, setRequestHandler, setTimeOut, toTaskpublic BoxRequestsBookmark.GetTrashedBookmark(java.lang.String id,
java.lang.String requestUrl,
BoxSession session)
id - id of the bookmark in the trashrequestUrl - URL of the trashed bookmark endpointsession - the authenticated session that will be used to make the request withpublic BoxRequestsBookmark.GetTrashedBookmark setIfNoneMatchEtag(java.lang.String etag)
setIfNoneMatchEtag in class BoxRequest<BoxBookmark,BoxRequestsBookmark.GetTrashedBookmark>etag - etag to set in the if-none-match header.public java.lang.String getIfNoneMatchEtag()
getIfNoneMatchEtag in class BoxRequest<BoxBookmark,BoxRequestsBookmark.GetTrashedBookmark>