public class DeviceConfigurationCollectionRequest extends BaseCollectionRequest<DeviceConfigurationCollectionResponse,IDeviceConfigurationCollectionPage> implements IDeviceConfigurationCollectionRequest
Constructor and Description |
---|
DeviceConfigurationCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of DeviceConfiguration
|
Modifier and Type | Method and Description |
---|---|
IDeviceConfigurationCollectionPage |
buildFromResponse(DeviceConfigurationCollectionResponse response) |
IDeviceConfigurationCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IDeviceConfigurationCollectionPage |
get() |
void |
get(ICallback<IDeviceConfigurationCollectionPage> callback) |
DeviceConfiguration |
post(DeviceConfiguration newDeviceConfiguration) |
void |
post(DeviceConfiguration newDeviceConfiguration,
ICallback<DeviceConfiguration> callback) |
IDeviceConfigurationCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IDeviceConfigurationCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getHeaders, getHttpMethod, getOptions, getRequestUrl, getUseCaches, post, send, setUseCaches
public DeviceConfigurationCollectionRequest(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<IDeviceConfigurationCollectionPage> callback)
get
in interface IDeviceConfigurationCollectionRequest
public IDeviceConfigurationCollectionPage get() throws ClientException
get
in interface IDeviceConfigurationCollectionRequest
ClientException
public void post(DeviceConfiguration newDeviceConfiguration, ICallback<DeviceConfiguration> callback)
post
in interface IDeviceConfigurationCollectionRequest
public DeviceConfiguration post(DeviceConfiguration newDeviceConfiguration) throws ClientException
post
in interface IDeviceConfigurationCollectionRequest
ClientException
public IDeviceConfigurationCollectionRequest expand(java.lang.String value)
expand
in interface IDeviceConfigurationCollectionRequest
value
- the expand clausepublic IDeviceConfigurationCollectionRequest select(java.lang.String value)
select
in interface IDeviceConfigurationCollectionRequest
value
- the select clausepublic IDeviceConfigurationCollectionRequest top(int value)
top
in interface IDeviceConfigurationCollectionRequest
value
- the max number of items to returnpublic IDeviceConfigurationCollectionPage buildFromResponse(DeviceConfigurationCollectionResponse response)