public class ManagedDeviceReferenceRequest extends BaseRequest implements IManagedDeviceReferenceRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
ManagedDeviceReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the ManagedDevice
|
| Modifier and Type | Method and Description |
|---|---|
ManagedDevice |
delete() |
void |
delete(ICallback<ManagedDevice> callback) |
IManagedDeviceReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ManagedDevice |
put(ManagedDevice srcManagedDevice)
Puts the ManagedDevice
|
void |
put(ManagedDevice srcManagedDevice,
ICallback<ManagedDevice> callback)
Puts the ManagedDevice
|
IManagedDeviceReferenceRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic ManagedDeviceReferenceRequest(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 delete(ICallback<ManagedDevice> callback)
delete in interface IManagedDeviceReferenceRequestpublic ManagedDevice delete() throws ClientException
delete in interface IManagedDeviceReferenceRequestClientExceptionpublic IManagedDeviceReferenceRequest select(java.lang.String value)
select in interface IManagedDeviceReferenceRequestvalue - the select clausepublic IManagedDeviceReferenceRequest expand(java.lang.String value)
expand in interface IManagedDeviceReferenceRequestvalue - the expand clausepublic void put(ManagedDevice srcManagedDevice, ICallback<ManagedDevice> callback)
put in interface IManagedDeviceReferenceRequestsrcManagedDevice - the ManagedDevice reference to PUTcallback - the callback to be called after success or failurepublic ManagedDevice put(ManagedDevice srcManagedDevice) throws ClientException
put in interface IManagedDeviceReferenceRequestsrcManagedDevice - the ManagedDevice reference to PUTClientException - an exception occurs if there was an error while the request was sent