public class DeviceInstallStateCollectionRequest extends BaseCollectionRequest<DeviceInstallStateCollectionResponse,IDeviceInstallStateCollectionPage> implements IDeviceInstallStateCollectionRequest
| Constructor and Description |
|---|
DeviceInstallStateCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of DeviceInstallState
|
| Modifier and Type | Method and Description |
|---|---|
IDeviceInstallStateCollectionPage |
buildFromResponse(DeviceInstallStateCollectionResponse response) |
IDeviceInstallStateCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IDeviceInstallStateCollectionPage |
get() |
void |
get(ICallback<IDeviceInstallStateCollectionPage> callback) |
DeviceInstallState |
post(DeviceInstallState newDeviceInstallState) |
void |
post(DeviceInstallState newDeviceInstallState,
ICallback<DeviceInstallState> callback) |
IDeviceInstallStateCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IDeviceInstallStateCollectionRequest |
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 DeviceInstallStateCollectionRequest(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<IDeviceInstallStateCollectionPage> callback)
get in interface IDeviceInstallStateCollectionRequestpublic IDeviceInstallStateCollectionPage get() throws ClientException
get in interface IDeviceInstallStateCollectionRequestClientExceptionpublic void post(DeviceInstallState newDeviceInstallState, ICallback<DeviceInstallState> callback)
post in interface IDeviceInstallStateCollectionRequestpublic DeviceInstallState post(DeviceInstallState newDeviceInstallState) throws ClientException
post in interface IDeviceInstallStateCollectionRequestClientExceptionpublic IDeviceInstallStateCollectionRequest expand(java.lang.String value)
expand in interface IDeviceInstallStateCollectionRequestvalue - the expand clausepublic IDeviceInstallStateCollectionRequest select(java.lang.String value)
select in interface IDeviceInstallStateCollectionRequestvalue - the select clausepublic IDeviceInstallStateCollectionRequest top(int value)
top in interface IDeviceInstallStateCollectionRequestvalue - the max number of items to returnpublic IDeviceInstallStateCollectionPage buildFromResponse(DeviceInstallStateCollectionResponse response)