Package com.mypurecloud.sdk.v2.api
Class OperationalEventsApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.OperationalEventsApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUsageEventsDefinitionAsync(GetUsageEventsDefinitionRequest request, AsyncApiCallback<EventDefinition> callback) Get an operational event definition by its idgetUsageEventsDefinitionAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<EventDefinition>> callback) Get an operational event definition by its idgetUsageEventsDefinitionsAsync(GetUsageEventsDefinitionsRequest request, AsyncApiCallback<EventDefinitionListing> callback) Get all operational event definitionsgetUsageEventsDefinitionsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<EventDefinitionListing>> callback) Get all operational event definitionspostUsageEventsAggregatesQueryAsync(PostUsageEventsAggregatesQueryRequest request, AsyncApiCallback<EventAggregatesResponse> callback) Get aggregates for operational events in a timeframe.postUsageEventsAggregatesQueryAsync(ApiRequest<EventAggregatesQueryRequest> request, AsyncApiCallback<ApiResponse<EventAggregatesResponse>> callback) Get aggregates for operational events in a timeframe.postUsageEventsQueryAsync(PostUsageEventsQueryRequest request, AsyncApiCallback<EventQueryResponse> callback) Query operational events in a timeframe.postUsageEventsQueryAsync(ApiRequest<EventQueryRequest> request, AsyncApiCallback<ApiResponse<EventQueryResponse>> callback) Query operational events in a timeframe.
-
Constructor Details
-
OperationalEventsApiAsync
public OperationalEventsApiAsync() -
OperationalEventsApiAsync
-
-
Method Details
-
getUsageEventsDefinitionAsync
public Future<EventDefinition> getUsageEventsDefinitionAsync(GetUsageEventsDefinitionRequest request, AsyncApiCallback<EventDefinition> callback) Get an operational event definition by its id- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsageEventsDefinitionAsync
public Future<ApiResponse<EventDefinition>> getUsageEventsDefinitionAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<EventDefinition>> callback) Get an operational event definition by its id- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsageEventsDefinitionsAsync
public Future<EventDefinitionListing> getUsageEventsDefinitionsAsync(GetUsageEventsDefinitionsRequest request, AsyncApiCallback<EventDefinitionListing> callback) Get all operational event definitions- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsageEventsDefinitionsAsync
public Future<ApiResponse<EventDefinitionListing>> getUsageEventsDefinitionsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<EventDefinitionListing>> callback) Get all operational event definitions- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postUsageEventsAggregatesQueryAsync
public Future<EventAggregatesResponse> postUsageEventsAggregatesQueryAsync(PostUsageEventsAggregatesQueryRequest request, AsyncApiCallback<EventAggregatesResponse> callback) Get aggregates for operational events in a timeframe.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postUsageEventsAggregatesQueryAsync
public Future<ApiResponse<EventAggregatesResponse>> postUsageEventsAggregatesQueryAsync(ApiRequest<EventAggregatesQueryRequest> request, AsyncApiCallback<ApiResponse<EventAggregatesResponse>> callback) Get aggregates for operational events in a timeframe.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postUsageEventsQueryAsync
public Future<EventQueryResponse> postUsageEventsQueryAsync(PostUsageEventsQueryRequest request, AsyncApiCallback<EventQueryResponse> callback) Query operational events in a timeframe.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postUsageEventsQueryAsync
public Future<ApiResponse<EventQueryResponse>> postUsageEventsQueryAsync(ApiRequest<EventQueryRequest> request, AsyncApiCallback<ApiResponse<EventQueryResponse>> callback) Query operational events in a timeframe.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-