public class DeviceManagementTroubleshootingEventCollectionRequest extends BaseCollectionRequest<DeviceManagementTroubleshootingEventCollectionResponse,IDeviceManagementTroubleshootingEventCollectionPage> implements IDeviceManagementTroubleshootingEventCollectionRequest
| Constructor and Description |
|---|
DeviceManagementTroubleshootingEventCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of DeviceManagementTroubleshootingEvent
|
| Modifier and Type | Method and Description |
|---|---|
IDeviceManagementTroubleshootingEventCollectionPage |
buildFromResponse(DeviceManagementTroubleshootingEventCollectionResponse response) |
IDeviceManagementTroubleshootingEventCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IDeviceManagementTroubleshootingEventCollectionPage |
get() |
void |
get(ICallback<IDeviceManagementTroubleshootingEventCollectionPage> callback) |
DeviceManagementTroubleshootingEvent |
post(DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent) |
void |
post(DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent,
ICallback<DeviceManagementTroubleshootingEvent> callback) |
IDeviceManagementTroubleshootingEventCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IDeviceManagementTroubleshootingEventCollectionRequest |
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 DeviceManagementTroubleshootingEventCollectionRequest(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<IDeviceManagementTroubleshootingEventCollectionPage> callback)
get in interface IDeviceManagementTroubleshootingEventCollectionRequestpublic IDeviceManagementTroubleshootingEventCollectionPage get() throws ClientException
get in interface IDeviceManagementTroubleshootingEventCollectionRequestClientExceptionpublic void post(DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent, ICallback<DeviceManagementTroubleshootingEvent> callback)
post in interface IDeviceManagementTroubleshootingEventCollectionRequestpublic DeviceManagementTroubleshootingEvent post(DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent) throws ClientException
post in interface IDeviceManagementTroubleshootingEventCollectionRequestClientExceptionpublic IDeviceManagementTroubleshootingEventCollectionRequest expand(java.lang.String value)
expand in interface IDeviceManagementTroubleshootingEventCollectionRequestvalue - the expand clausepublic IDeviceManagementTroubleshootingEventCollectionRequest select(java.lang.String value)
select in interface IDeviceManagementTroubleshootingEventCollectionRequestvalue - the select clausepublic IDeviceManagementTroubleshootingEventCollectionRequest top(int value)
top in interface IDeviceManagementTroubleshootingEventCollectionRequestvalue - the max number of items to returnpublic IDeviceManagementTroubleshootingEventCollectionPage buildFromResponse(DeviceManagementTroubleshootingEventCollectionResponse response)