public class ManagedDeviceCollectionRequest extends BaseCollectionRequest<ManagedDeviceCollectionResponse,IManagedDeviceCollectionPage> implements IManagedDeviceCollectionRequest
| Constructor and Description |
|---|
ManagedDeviceCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of ManagedDevice
|
| Modifier and Type | Method and Description |
|---|---|
IManagedDeviceCollectionPage |
buildFromResponse(ManagedDeviceCollectionResponse response) |
IManagedDeviceCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IManagedDeviceCollectionPage |
get() |
void |
get(ICallback<IManagedDeviceCollectionPage> callback) |
ManagedDevice |
post(ManagedDevice newManagedDevice) |
void |
post(ManagedDevice newManagedDevice,
ICallback<ManagedDevice> callback) |
IManagedDeviceCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IManagedDeviceCollectionRequest |
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 ManagedDeviceCollectionRequest(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<IManagedDeviceCollectionPage> callback)
get in interface IManagedDeviceCollectionRequestpublic IManagedDeviceCollectionPage get() throws ClientException
get in interface IManagedDeviceCollectionRequestClientExceptionpublic void post(ManagedDevice newManagedDevice, ICallback<ManagedDevice> callback)
post in interface IManagedDeviceCollectionRequestpublic ManagedDevice post(ManagedDevice newManagedDevice) throws ClientException
post in interface IManagedDeviceCollectionRequestClientExceptionpublic IManagedDeviceCollectionRequest expand(java.lang.String value)
expand in interface IManagedDeviceCollectionRequestvalue - the expand clausepublic IManagedDeviceCollectionRequest select(java.lang.String value)
select in interface IManagedDeviceCollectionRequestvalue - the select clausepublic IManagedDeviceCollectionRequest top(int value)
top in interface IManagedDeviceCollectionRequestvalue - the max number of items to returnpublic IManagedDeviceCollectionPage buildFromResponse(ManagedDeviceCollectionResponse response)