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
|
IDeviceConfigurationCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IDeviceConfigurationCollectionPage |
get() |
void |
get(ICallback<? super IDeviceConfigurationCollectionPage> callback) |
IDeviceConfigurationCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
DeviceConfiguration |
post(DeviceConfiguration newDeviceConfiguration) |
void |
post(DeviceConfiguration newDeviceConfiguration,
ICallback<? super DeviceConfiguration> callback) |
IDeviceConfigurationCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IDeviceConfigurationCollectionRequest |
skip(int value)
Sets the skip value for the request
|
IDeviceConfigurationCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
IDeviceConfigurationCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
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<? super IDeviceConfigurationCollectionPage> callback)
get
in interface IDeviceConfigurationCollectionRequest
public IDeviceConfigurationCollectionPage get() throws ClientException
get
in interface IDeviceConfigurationCollectionRequest
ClientException
public void post(DeviceConfiguration newDeviceConfiguration, ICallback<? super 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 filter(java.lang.String value)
filter
in interface IDeviceConfigurationCollectionRequest
value
- the filter clausepublic IDeviceConfigurationCollectionRequest orderBy(java.lang.String value)
orderBy
in interface IDeviceConfigurationCollectionRequest
value
- the order by 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 IDeviceConfigurationCollectionRequest skip(int value)
skip
in interface IDeviceConfigurationCollectionRequest
value
- of the number of items to skippublic IDeviceConfigurationCollectionRequest skipToken(java.lang.String skipToken)
skipToken
in interface IDeviceConfigurationCollectionRequest
skipToken
- - Token for paginationpublic IDeviceConfigurationCollectionPage buildFromResponse(DeviceConfigurationCollectionResponse response)