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
|
IManagedDeviceCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IManagedDeviceCollectionPage |
get() |
void |
get(ICallback<? super IManagedDeviceCollectionPage> callback) |
IManagedDeviceCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
ManagedDevice |
post(ManagedDevice newManagedDevice) |
void |
post(ManagedDevice newManagedDevice,
ICallback<? super ManagedDevice> callback) |
IManagedDeviceCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IManagedDeviceCollectionRequest |
skip(int value)
Sets the skip value for the request
|
IManagedDeviceCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
IManagedDeviceCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, 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 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<? super IManagedDeviceCollectionPage> callback)
get in interface IManagedDeviceCollectionRequestpublic IManagedDeviceCollectionPage get() throws ClientException
get in interface IManagedDeviceCollectionRequestClientExceptionpublic void post(ManagedDevice newManagedDevice, ICallback<? super 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 filter(java.lang.String value)
filter in interface IManagedDeviceCollectionRequestvalue - the filter clausepublic IManagedDeviceCollectionRequest orderBy(java.lang.String value)
orderBy in interface IManagedDeviceCollectionRequestvalue - the order by 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 IManagedDeviceCollectionRequest skip(int value)
skip in interface IManagedDeviceCollectionRequestvalue - of the number of items to skippublic IManagedDeviceCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface IManagedDeviceCollectionRequestskipToken - - Token for paginationpublic IManagedDeviceCollectionPage buildFromResponse(ManagedDeviceCollectionResponse response)