public class ListItemVersionCollectionRequest extends BaseCollectionRequest<ListItemVersionCollectionResponse,IListItemVersionCollectionPage> implements IListItemVersionCollectionRequest
| Constructor and Description |
|---|
ListItemVersionCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of ListItemVersion
|
| Modifier and Type | Method and Description |
|---|---|
IListItemVersionCollectionPage |
buildFromResponse(ListItemVersionCollectionResponse response) |
IListItemVersionCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IListItemVersionCollectionPage |
get() |
void |
get(ICallback<IListItemVersionCollectionPage> callback) |
ListItemVersion |
post(ListItemVersion newListItemVersion) |
void |
post(ListItemVersion newListItemVersion,
ICallback<ListItemVersion> callback) |
IListItemVersionCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IListItemVersionCollectionRequest |
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 ListItemVersionCollectionRequest(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<IListItemVersionCollectionPage> callback)
get in interface IListItemVersionCollectionRequestpublic IListItemVersionCollectionPage get() throws ClientException
get in interface IListItemVersionCollectionRequestClientExceptionpublic void post(ListItemVersion newListItemVersion, ICallback<ListItemVersion> callback)
post in interface IListItemVersionCollectionRequestpublic ListItemVersion post(ListItemVersion newListItemVersion) throws ClientException
post in interface IListItemVersionCollectionRequestClientExceptionpublic IListItemVersionCollectionRequest expand(java.lang.String value)
expand in interface IListItemVersionCollectionRequestvalue - the expand clausepublic IListItemVersionCollectionRequest select(java.lang.String value)
select in interface IListItemVersionCollectionRequestvalue - the select clausepublic IListItemVersionCollectionRequest top(int value)
top in interface IListItemVersionCollectionRequestvalue - the max number of items to returnpublic IListItemVersionCollectionPage buildFromResponse(ListItemVersionCollectionResponse response)