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