public class DeviceCategoryCollectionRequest extends BaseCollectionRequest<DeviceCategoryCollectionResponse,IDeviceCategoryCollectionPage> implements IDeviceCategoryCollectionRequest
| Constructor and Description |
|---|
DeviceCategoryCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of DeviceCategory
|
| Modifier and Type | Method and Description |
|---|---|
IDeviceCategoryCollectionPage |
buildFromResponse(DeviceCategoryCollectionResponse response) |
IDeviceCategoryCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IDeviceCategoryCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IDeviceCategoryCollectionPage |
get() |
void |
get(ICallback<? super IDeviceCategoryCollectionPage> callback) |
IDeviceCategoryCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
DeviceCategory |
post(DeviceCategory newDeviceCategory) |
void |
post(DeviceCategory newDeviceCategory,
ICallback<? super DeviceCategory> callback) |
IDeviceCategoryCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IDeviceCategoryCollectionRequest |
skip(int value)
Sets the skip value for the request
|
IDeviceCategoryCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
IDeviceCategoryCollectionRequest |
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, withHttpMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic DeviceCategoryCollectionRequest(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 IDeviceCategoryCollectionPage> callback)
get in interface IDeviceCategoryCollectionRequestpublic IDeviceCategoryCollectionPage get() throws ClientException
get in interface IDeviceCategoryCollectionRequestClientExceptionpublic void post(DeviceCategory newDeviceCategory, ICallback<? super DeviceCategory> callback)
post in interface IDeviceCategoryCollectionRequestpublic DeviceCategory post(DeviceCategory newDeviceCategory) throws ClientException
post in interface IDeviceCategoryCollectionRequestClientExceptionpublic IDeviceCategoryCollectionRequest expand(java.lang.String value)
expand in interface IDeviceCategoryCollectionRequestvalue - the expand clausepublic IDeviceCategoryCollectionRequest filter(java.lang.String value)
filter in interface IDeviceCategoryCollectionRequestvalue - the filter clausepublic IDeviceCategoryCollectionRequest orderBy(java.lang.String value)
orderBy in interface IDeviceCategoryCollectionRequestvalue - the order by clausepublic IDeviceCategoryCollectionRequest select(java.lang.String value)
select in interface IDeviceCategoryCollectionRequestvalue - the select clausepublic IDeviceCategoryCollectionRequest top(int value)
top in interface IDeviceCategoryCollectionRequestvalue - the max number of items to returnpublic IDeviceCategoryCollectionRequest skip(int value)
skip in interface IDeviceCategoryCollectionRequestvalue - of the number of items to skippublic IDeviceCategoryCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface IDeviceCategoryCollectionRequestskipToken - - Token for paginationpublic IDeviceCategoryCollectionPage buildFromResponse(DeviceCategoryCollectionResponse response)