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
|
IListCollectionPage |
get() |
void |
get(ICallback<IListCollectionPage> callback) |
List |
post(List newList) |
void |
post(List newList,
ICallback<List> callback) |
IListCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IListCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic 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<IListCollectionPage> callback)
get in interface IListCollectionRequestpublic IListCollectionPage get() throws ClientException
get in interface IListCollectionRequestClientExceptionpublic void post(List newList, ICallback<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 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 IListCollectionPage buildFromResponse(ListCollectionResponse response)