public interface IDeviceCategoryRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super DeviceCategory> callback)
Delete this item from the service
|
IDeviceCategoryRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
DeviceCategory |
get()
Gets the DeviceCategory from the service
|
void |
get(ICallback<? super DeviceCategory> callback)
Gets the DeviceCategory from the service
|
DeviceCategory |
patch(DeviceCategory sourceDeviceCategory)
Patches this DeviceCategory with a source
|
void |
patch(DeviceCategory sourceDeviceCategory,
ICallback<? super DeviceCategory> callback)
Patches this DeviceCategory with a source
|
DeviceCategory |
post(DeviceCategory newDeviceCategory)
Posts a DeviceCategory with a new object
|
void |
post(DeviceCategory newDeviceCategory,
ICallback<? super DeviceCategory> callback)
Posts a DeviceCategory with a new object
|
DeviceCategory |
put(DeviceCategory newDeviceCategory)
Posts a DeviceCategory with a new object
|
void |
put(DeviceCategory newDeviceCategory,
ICallback<? super DeviceCategory> callback)
Posts a DeviceCategory with a new object
|
IDeviceCategoryRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodvoid get(ICallback<? super DeviceCategory> callback)
callback - the callback to be called after success or failureDeviceCategory get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super DeviceCategory> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(DeviceCategory sourceDeviceCategory, ICallback<? super DeviceCategory> callback)
sourceDeviceCategory - the source object with updatescallback - the callback to be called after success or failureDeviceCategory patch(DeviceCategory sourceDeviceCategory) throws ClientException
sourceDeviceCategory - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(DeviceCategory newDeviceCategory, ICallback<? super DeviceCategory> callback)
newDeviceCategory - the new object to createcallback - the callback to be called after success or failureDeviceCategory post(DeviceCategory newDeviceCategory) throws ClientException
newDeviceCategory - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonvoid put(DeviceCategory newDeviceCategory, ICallback<? super DeviceCategory> callback)
newDeviceCategory - the object to create/updatecallback - the callback to be called after success or failureDeviceCategory put(DeviceCategory newDeviceCategory) throws ClientException
newDeviceCategory - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonIDeviceCategoryRequest select(java.lang.String value)
value - the select clauseIDeviceCategoryRequest expand(java.lang.String value)
value - the expand clause