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, getHeaders, getHttpMethod, getOptions, getRequestUrl, getUseCaches, post, send, setUseCaches
public 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 IDeviceInstallStateCollectionRequest
public IDeviceInstallStateCollectionPage get() throws ClientException
get
in interface IDeviceInstallStateCollectionRequest
ClientException
public void post(DeviceInstallState newDeviceInstallState, ICallback<DeviceInstallState> callback)
post
in interface IDeviceInstallStateCollectionRequest
public DeviceInstallState post(DeviceInstallState newDeviceInstallState) throws ClientException
post
in interface IDeviceInstallStateCollectionRequest
ClientException
public IDeviceInstallStateCollectionRequest expand(java.lang.String value)
expand
in interface IDeviceInstallStateCollectionRequest
value
- the expand clausepublic IDeviceInstallStateCollectionRequest select(java.lang.String value)
select
in interface IDeviceInstallStateCollectionRequest
value
- the select clausepublic IDeviceInstallStateCollectionRequest top(int value)
top
in interface IDeviceInstallStateCollectionRequest
value
- the max number of items to returnpublic IDeviceInstallStateCollectionPage buildFromResponse(DeviceInstallStateCollectionResponse response)