public class DeviceManagementPartnerCollectionRequest extends BaseCollectionRequest<DeviceManagementPartnerCollectionResponse,IDeviceManagementPartnerCollectionPage> implements IDeviceManagementPartnerCollectionRequest
| Constructor and Description |
|---|
DeviceManagementPartnerCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of DeviceManagementPartner
|
| Modifier and Type | Method and Description |
|---|---|
IDeviceManagementPartnerCollectionPage |
buildFromResponse(DeviceManagementPartnerCollectionResponse response) |
IDeviceManagementPartnerCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IDeviceManagementPartnerCollectionPage |
get() |
void |
get(ICallback<IDeviceManagementPartnerCollectionPage> callback) |
DeviceManagementPartner |
post(DeviceManagementPartner newDeviceManagementPartner) |
void |
post(DeviceManagementPartner newDeviceManagementPartner,
ICallback<DeviceManagementPartner> callback) |
IDeviceManagementPartnerCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IDeviceManagementPartnerCollectionRequest |
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 DeviceManagementPartnerCollectionRequest(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<IDeviceManagementPartnerCollectionPage> callback)
get in interface IDeviceManagementPartnerCollectionRequestpublic IDeviceManagementPartnerCollectionPage get() throws ClientException
get in interface IDeviceManagementPartnerCollectionRequestClientExceptionpublic void post(DeviceManagementPartner newDeviceManagementPartner, ICallback<DeviceManagementPartner> callback)
post in interface IDeviceManagementPartnerCollectionRequestpublic DeviceManagementPartner post(DeviceManagementPartner newDeviceManagementPartner) throws ClientException
post in interface IDeviceManagementPartnerCollectionRequestClientExceptionpublic IDeviceManagementPartnerCollectionRequest expand(java.lang.String value)
expand in interface IDeviceManagementPartnerCollectionRequestvalue - the expand clausepublic IDeviceManagementPartnerCollectionRequest select(java.lang.String value)
select in interface IDeviceManagementPartnerCollectionRequestvalue - the select clausepublic IDeviceManagementPartnerCollectionRequest top(int value)
top in interface IDeviceManagementPartnerCollectionRequestvalue - the max number of items to returnpublic IDeviceManagementPartnerCollectionPage buildFromResponse(DeviceManagementPartnerCollectionResponse response)