public static class BoxRequestsCollections.GetCollections extends BoxRequestItem<E,R>
BoxRequest.BoxRequestHandler<R extends BoxRequest>, BoxRequest.ContentTypes, BoxRequest.MethodsmIdJSON_OBJECT, mBodyMap, mContentType, mHeaderMap, mListener, mQueryMap, mRequestMethod, mRequestUrlString, mSession| Constructor and Description |
|---|
GetCollections(java.lang.String collectionsUrl,
BoxSession session)
Creates a get collections request with the default parameters.
|
| Modifier and Type | Method and Description |
|---|---|
R |
setLimit(int limit)
Sets the limit of items that should be returned
|
R |
setOffset(int offset)
Sets the offset of the items that should be returned
|
getId, setFieldsbuildUrl, createHttpRequest, createQuery, getIfMatchEtag, getIfNoneMatchEtag, getRequestHandler, getSession, getStringBody, importRequestContentMapsFrom, logDebug, logRequest, parseHashMapEntry, parseJsonObject, send, setBody, setContentType, setHeaders, setIfMatchEtag, setIfNoneMatchEtag, setRequestHandler, setTimeOut, toTaskpublic GetCollections(java.lang.String collectionsUrl,
BoxSession session)
collectionsUrl - URL of the collections endpoint.session - the authenticated session that will be used to make the request with.public R setLimit(int limit)
limit - limit of items to returnpublic R setOffset(int offset)
offset - offset of items to return