public class ManagedDeviceWithReferenceRequest extends BaseRequest implements IManagedDeviceWithReferenceRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
ManagedDeviceWithReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the ManagedDevice
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
void |
delete(ICallback<? super ManagedDevice> callback) |
IManagedDeviceWithReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ManagedDevice |
get() |
void |
get(ICallback<? super ManagedDevice> callback) |
ManagedDevice |
patch(ManagedDevice sourceManagedDevice) |
void |
patch(ManagedDevice sourceManagedDevice,
ICallback<? super ManagedDevice> callback) |
ManagedDevice |
post(ManagedDevice newManagedDevice,
IJsonBackedObject payload) |
void |
post(ManagedDevice newManagedDevice,
IJsonBackedObject payload,
ICallback<? super ManagedDevice> callback) |
IManagedDeviceWithReferenceRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, 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 ManagedDeviceWithReferenceRequest(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 post(ManagedDevice newManagedDevice, IJsonBackedObject payload, ICallback<? super ManagedDevice> callback)
post in interface IManagedDeviceWithReferenceRequestpublic ManagedDevice post(ManagedDevice newManagedDevice, IJsonBackedObject payload) throws ClientException
post in interface IManagedDeviceWithReferenceRequestClientExceptionpublic void get(ICallback<? super ManagedDevice> callback)
get in interface IManagedDeviceWithReferenceRequestpublic ManagedDevice get() throws ClientException
get in interface IManagedDeviceWithReferenceRequestClientExceptionpublic void delete(ICallback<? super ManagedDevice> callback)
delete in interface IManagedDeviceWithReferenceRequestpublic void delete()
throws ClientException
delete in interface IManagedDeviceWithReferenceRequestClientExceptionpublic void patch(ManagedDevice sourceManagedDevice, ICallback<? super ManagedDevice> callback)
patch in interface IManagedDeviceWithReferenceRequestpublic ManagedDevice patch(ManagedDevice sourceManagedDevice) throws ClientException
patch in interface IManagedDeviceWithReferenceRequestClientExceptionpublic IManagedDeviceWithReferenceRequest select(java.lang.String value)
select in interface IManagedDeviceWithReferenceRequestvalue - the select clausepublic IManagedDeviceWithReferenceRequest expand(java.lang.String value)
expand in interface IManagedDeviceWithReferenceRequestvalue - the expand clause