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, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic 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 IDeviceConfigurationCollectionRequestpublic IDeviceConfigurationCollectionPage get() throws ClientException
get in interface IDeviceConfigurationCollectionRequestClientExceptionpublic void post(DeviceConfiguration newDeviceConfiguration, ICallback<DeviceConfiguration> callback)
post in interface IDeviceConfigurationCollectionRequestpublic DeviceConfiguration post(DeviceConfiguration newDeviceConfiguration) throws ClientException
post in interface IDeviceConfigurationCollectionRequestClientExceptionpublic IDeviceConfigurationCollectionRequest expand(java.lang.String value)
expand in interface IDeviceConfigurationCollectionRequestvalue - the expand clausepublic IDeviceConfigurationCollectionRequest select(java.lang.String value)
select in interface IDeviceConfigurationCollectionRequestvalue - the select clausepublic IDeviceConfigurationCollectionRequest top(int value)
top in interface IDeviceConfigurationCollectionRequestvalue - the max number of items to returnpublic IDeviceConfigurationCollectionPage buildFromResponse(DeviceConfigurationCollectionResponse response)