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, setUseCaches
public 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 IListItemVersionCollectionRequest
public IListItemVersionCollectionPage get() throws ClientException
get
in interface IListItemVersionCollectionRequest
ClientException
public void post(ListItemVersion newListItemVersion, ICallback<ListItemVersion> callback)
post
in interface IListItemVersionCollectionRequest
public ListItemVersion post(ListItemVersion newListItemVersion) throws ClientException
post
in interface IListItemVersionCollectionRequest
ClientException
public IListItemVersionCollectionRequest expand(java.lang.String value)
expand
in interface IListItemVersionCollectionRequest
value
- the expand clausepublic IListItemVersionCollectionRequest select(java.lang.String value)
select
in interface IListItemVersionCollectionRequest
value
- the select clausepublic IListItemVersionCollectionRequest top(int value)
top
in interface IListItemVersionCollectionRequest
value
- the max number of items to returnpublic IListItemVersionCollectionPage buildFromResponse(ListItemVersionCollectionResponse response)