public class DeviceManagementExchangeConnectorSyncRequest extends BaseRequest implements IDeviceManagementExchangeConnectorSyncRequest
Modifier and Type | Field and Description |
---|---|
protected DeviceManagementExchangeConnectorSyncBody |
body |
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING
Constructor and Description |
---|
DeviceManagementExchangeConnectorSyncRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for this DeviceManagementExchangeConnectorSync
|
Modifier and Type | Method and Description |
---|---|
IDeviceManagementExchangeConnectorSyncRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
java.lang.Void |
post() |
void |
post(ICallback<java.lang.Void> callback) |
IDeviceManagementExchangeConnectorSyncRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IDeviceManagementExchangeConnectorSyncRequest |
top(int value)
Sets the top value 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, setUseCaches
protected final DeviceManagementExchangeConnectorSyncBody body
public DeviceManagementExchangeConnectorSyncRequest(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(ICallback<java.lang.Void> callback)
post
in interface IDeviceManagementExchangeConnectorSyncRequest
public java.lang.Void post() throws ClientException
post
in interface IDeviceManagementExchangeConnectorSyncRequest
ClientException
public IDeviceManagementExchangeConnectorSyncRequest select(java.lang.String value)
select
in interface IDeviceManagementExchangeConnectorSyncRequest
value
- the select clausepublic IDeviceManagementExchangeConnectorSyncRequest top(int value)
top
in interface IDeviceManagementExchangeConnectorSyncRequest
value
- the max number of items to returnpublic IDeviceManagementExchangeConnectorSyncRequest expand(java.lang.String value)
expand
in interface IDeviceManagementExchangeConnectorSyncRequest
value
- the expand clause