public interface IManagedDeviceRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<ManagedDevice> callback)
Delete this item from the service
|
IManagedDeviceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ManagedDevice |
get()
Gets the ManagedDevice from the service
|
void |
get(ICallback<ManagedDevice> callback)
Gets the ManagedDevice from the service
|
ManagedDevice |
patch(ManagedDevice sourceManagedDevice)
Patches this ManagedDevice with a source
|
void |
patch(ManagedDevice sourceManagedDevice,
ICallback<ManagedDevice> callback)
Patches this ManagedDevice with a source
|
ManagedDevice |
post(ManagedDevice newManagedDevice)
Posts a ManagedDevice with a new object
|
void |
post(ManagedDevice newManagedDevice,
ICallback<ManagedDevice> callback)
Posts a ManagedDevice with a new object
|
IManagedDeviceRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesvoid get(ICallback<ManagedDevice> callback)
callback - the callback to be called after success or failureManagedDevice get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<ManagedDevice> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(ManagedDevice sourceManagedDevice, ICallback<ManagedDevice> callback)
sourceManagedDevice - the source object with updatescallback - the callback to be called after success or failureManagedDevice patch(ManagedDevice sourceManagedDevice) throws ClientException
sourceManagedDevice - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(ManagedDevice newManagedDevice, ICallback<ManagedDevice> callback)
newManagedDevice - the new object to createcallback - the callback to be called after success or failureManagedDevice post(ManagedDevice newManagedDevice) throws ClientException
newManagedDevice - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonIManagedDeviceRequest select(java.lang.String value)
value - the select clauseIManagedDeviceRequest expand(java.lang.String value)
value - the expand clause