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
|
IDeviceCategoryCollectionPage |
get() |
void |
get(ICallback<IDeviceCategoryCollectionPage> callback) |
DeviceCategory |
post(DeviceCategory newDeviceCategory) |
void |
post(DeviceCategory newDeviceCategory,
ICallback<DeviceCategory> callback) |
IDeviceCategoryCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IDeviceCategoryCollectionRequest |
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 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<IDeviceCategoryCollectionPage> callback)
get in interface IDeviceCategoryCollectionRequestpublic IDeviceCategoryCollectionPage get() throws ClientException
get in interface IDeviceCategoryCollectionRequestClientExceptionpublic void post(DeviceCategory newDeviceCategory, ICallback<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 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 IDeviceCategoryCollectionPage buildFromResponse(DeviceCategoryCollectionResponse response)