public class ListCollectionRequest extends BaseCollectionRequest<ListCollectionResponse,IListCollectionPage> implements IListCollectionRequest
| Constructor and Description |
|---|
ListCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of List
|
| Modifier and Type | Method and Description |
|---|---|
IListCollectionPage |
buildFromResponse(ListCollectionResponse response) |
IListCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IListCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IListCollectionPage |
get() |
void |
get(ICallback<? super IListCollectionPage> callback) |
IListCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
List |
post(List newList) |
void |
post(List newList,
ICallback<? super List> callback) |
IListCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IListCollectionRequest |
skip(int value)
Sets the skip value for the request
|
IListCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
IListCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic ListCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestpublic void get(ICallback<? super IListCollectionPage> callback)
get in interface IListCollectionRequestpublic IListCollectionPage get() throws ClientException
get in interface IListCollectionRequestClientExceptionpublic void post(List newList, ICallback<? super List> callback)
post in interface IListCollectionRequestpublic List post(List newList) throws ClientException
post in interface IListCollectionRequestClientExceptionpublic IListCollectionRequest expand(java.lang.String value)
expand in interface IListCollectionRequestvalue - the expand clausepublic IListCollectionRequest filter(java.lang.String value)
filter in interface IListCollectionRequestvalue - the filter clausepublic IListCollectionRequest orderBy(java.lang.String value)
orderBy in interface IListCollectionRequestvalue - the order by clausepublic IListCollectionRequest select(java.lang.String value)
select in interface IListCollectionRequestvalue - the select clausepublic IListCollectionRequest top(int value)
top in interface IListCollectionRequestvalue - the max number of items to returnpublic IListCollectionRequest skip(int value)
skip in interface IListCollectionRequestvalue - of the number of items to skippublic IListCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface IListCollectionRequestskipToken - - Token for paginationpublic IListCollectionPage buildFromResponse(ListCollectionResponse response)