public static class BoxRequestsBookmark.AddBookmarkToCollection extends BoxRequestItem<E,R>
BoxRequest.BoxRequestHandler, BoxRequest.ContentTypes, BoxRequest.Methods| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
FIELD_COLLECTIONS |
mIdmBodyMap, mContentType, mHeaderMap, mListener, mQueryMap, mRequestMethod, mRequestUrlString, mSession| Constructor and Description |
|---|
BoxRequestsBookmark.AddBookmarkToCollection(java.lang.String id,
java.lang.String collectionId,
java.lang.String requestUrl,
BoxSession session)
Creates an add bookmark to collection request with the default parameters
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
parseHashMapEntry(JsonObject jsonBody,
java.util.Map.Entry<java.lang.String,java.lang.Object> entry) |
BoxRequestsBookmark.AddBookmarkToCollection |
setCollectionId(java.lang.String id)
Sets the collection id to add the bookmark to in the request.
|
getId, setFieldsbuildUrl, createHttpRequest, createQuery, getIfMatchEtag, getIfNoneMatchEtag, getRequestHandler, getSession, getStringBody, importRequestContentMapsFrom, logDebug, parseJsonObject, send, setBody, setContentType, setHeaders, setIfMatchEtag, setIfNoneMatchEtag, setRequestHandler, setTimeOut, toTaskprotected static final java.lang.String FIELD_COLLECTIONS
public BoxRequestsBookmark.AddBookmarkToCollection(java.lang.String id,
java.lang.String collectionId,
java.lang.String requestUrl,
BoxSession session)
id - id of the bookmark to add to the collectioncollectionId - id of the collection to add the bookmark torequestUrl - URL of the add to collection endpointsession - the authenticated session that will be used to make the request withpublic BoxRequestsBookmark.AddBookmarkToCollection setCollectionId(java.lang.String id)
id - id of the collection to add the bookmark to.protected void parseHashMapEntry(JsonObject jsonBody,
java.util.Map.Entry<java.lang.String,java.lang.Object> entry)
parseHashMapEntry in class BoxRequest<E extends BoxItem,R extends BoxRequest<E,R>>