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, setUseCaches
public 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 IDeviceManagementTroubleshootingEventCollectionRequest
public IDeviceManagementTroubleshootingEventCollectionPage get() throws ClientException
get
in interface IDeviceManagementTroubleshootingEventCollectionRequest
ClientException
public void post(DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent, ICallback<DeviceManagementTroubleshootingEvent> callback)
post
in interface IDeviceManagementTroubleshootingEventCollectionRequest
public DeviceManagementTroubleshootingEvent post(DeviceManagementTroubleshootingEvent newDeviceManagementTroubleshootingEvent) throws ClientException
post
in interface IDeviceManagementTroubleshootingEventCollectionRequest
ClientException
public IDeviceManagementTroubleshootingEventCollectionRequest expand(java.lang.String value)
expand
in interface IDeviceManagementTroubleshootingEventCollectionRequest
value
- the expand clausepublic IDeviceManagementTroubleshootingEventCollectionRequest select(java.lang.String value)
select
in interface IDeviceManagementTroubleshootingEventCollectionRequest
value
- the select clausepublic IDeviceManagementTroubleshootingEventCollectionRequest top(int value)
top
in interface IDeviceManagementTroubleshootingEventCollectionRequest
value
- the max number of items to returnpublic IDeviceManagementTroubleshootingEventCollectionPage buildFromResponse(DeviceManagementTroubleshootingEventCollectionResponse response)