Package com.mypurecloud.sdk.v2.api
Class UsageApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.UsageApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOauthClientUsageQueryResultAsync(GetOauthClientUsageQueryResultRequest request, AsyncApiCallback<ApiUsageQueryResult> callback) Get the results of a usage querygetOauthClientUsageQueryResultAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ApiUsageQueryResult>> callback) Get the results of a usage querygetOauthClientUsageSummaryAsync(GetOauthClientUsageSummaryRequest request, AsyncApiCallback<UsageExecutionResult> callback) Get a summary of OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution IdgetOauthClientUsageSummaryAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<UsageExecutionResult>> callback) Get a summary of OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution IdgetUsageQueryExecutionIdResultsAsync(GetUsageQueryExecutionIdResultsRequest request, AsyncApiCallback<ApiUsageQueryResult> callback) Get the results of a usage querygetUsageQueryExecutionIdResultsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ApiUsageQueryResult>> callback) Get the results of a usage querygetUsageSimplesearchExecutionIdResultsAsync(GetUsageSimplesearchExecutionIdResultsRequest request, AsyncApiCallback<ApiUsageQueryResult> callback) Get the results of a usage search.getUsageSimplesearchExecutionIdResultsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ApiUsageQueryResult>> callback) Get the results of a usage search.postOauthClientUsageQueryAsync(PostOauthClientUsageQueryRequest request, AsyncApiCallback<UsageExecutionResult> callback) Query for OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution IdpostOauthClientUsageQueryAsync(ApiRequest<ApiUsageClientQuery> request, AsyncApiCallback<ApiResponse<UsageExecutionResult>> callback) Query for OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution IdpostUsageQueryAsync(PostUsageQueryRequest request, AsyncApiCallback<UsageExecutionResult> callback) Query organization API Usage - After calling this method, you will then need to poll for the query results based on the returned execution IdpostUsageQueryAsync(ApiRequest<ApiUsageOrganizationQuery> request, AsyncApiCallback<ApiResponse<UsageExecutionResult>> callback) Query organization API Usage - After calling this method, you will then need to poll for the query results based on the returned execution IdpostUsageSimplesearchAsync(PostUsageSimplesearchRequest request, AsyncApiCallback<UsageExecutionResult> callback) Search organization API Usage After calling this method, you will then need to poll for the query results based on the returned execution Id.postUsageSimplesearchAsync(ApiRequest<ApiUsageSimpleSearch> request, AsyncApiCallback<ApiResponse<UsageExecutionResult>> callback) Search organization API Usage After calling this method, you will then need to poll for the query results based on the returned execution Id.
-
Constructor Details
-
UsageApiAsync
public UsageApiAsync() -
UsageApiAsync
-
-
Method Details
-
getOauthClientUsageQueryResultAsync
public Future<ApiUsageQueryResult> getOauthClientUsageQueryResultAsync(GetOauthClientUsageQueryResultRequest request, AsyncApiCallback<ApiUsageQueryResult> callback) Get the results of a usage query- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getOauthClientUsageQueryResultAsync
public Future<ApiResponse<ApiUsageQueryResult>> getOauthClientUsageQueryResultAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ApiUsageQueryResult>> callback) Get the results of a usage query- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getOauthClientUsageSummaryAsync
public Future<UsageExecutionResult> getOauthClientUsageSummaryAsync(GetOauthClientUsageSummaryRequest request, AsyncApiCallback<UsageExecutionResult> callback) Get a summary of OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution Id- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getOauthClientUsageSummaryAsync
public Future<ApiResponse<UsageExecutionResult>> getOauthClientUsageSummaryAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<UsageExecutionResult>> callback) Get a summary of OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution Id- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsageQueryExecutionIdResultsAsync
public Future<ApiUsageQueryResult> getUsageQueryExecutionIdResultsAsync(GetUsageQueryExecutionIdResultsRequest request, AsyncApiCallback<ApiUsageQueryResult> callback) Get the results of a usage query- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsageQueryExecutionIdResultsAsync
public Future<ApiResponse<ApiUsageQueryResult>> getUsageQueryExecutionIdResultsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ApiUsageQueryResult>> callback) Get the results of a usage query- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsageSimplesearchExecutionIdResultsAsync
public Future<ApiUsageQueryResult> getUsageSimplesearchExecutionIdResultsAsync(GetUsageSimplesearchExecutionIdResultsRequest request, AsyncApiCallback<ApiUsageQueryResult> callback) Get the results of a usage search. Number of records to be returned is limited to 20,000 results.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getUsageSimplesearchExecutionIdResultsAsync
public Future<ApiResponse<ApiUsageQueryResult>> getUsageSimplesearchExecutionIdResultsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ApiUsageQueryResult>> callback) Get the results of a usage search. Number of records to be returned is limited to 20,000 results.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postOauthClientUsageQueryAsync
public Future<UsageExecutionResult> postOauthClientUsageQueryAsync(PostOauthClientUsageQueryRequest request, AsyncApiCallback<UsageExecutionResult> callback) Query for OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution Id- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postOauthClientUsageQueryAsync
public Future<ApiResponse<UsageExecutionResult>> postOauthClientUsageQueryAsync(ApiRequest<ApiUsageClientQuery> request, AsyncApiCallback<ApiResponse<UsageExecutionResult>> callback) Query for OAuth client API usage After calling this method, you will then need to poll for the query results based on the returned execution Id- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postUsageQueryAsync
public Future<UsageExecutionResult> postUsageQueryAsync(PostUsageQueryRequest request, AsyncApiCallback<UsageExecutionResult> callback) Query organization API Usage - After calling this method, you will then need to poll for the query results based on the returned execution Id- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postUsageQueryAsync
public Future<ApiResponse<UsageExecutionResult>> postUsageQueryAsync(ApiRequest<ApiUsageOrganizationQuery> request, AsyncApiCallback<ApiResponse<UsageExecutionResult>> callback) Query organization API Usage - After calling this method, you will then need to poll for the query results based on the returned execution Id- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postUsageSimplesearchAsync
public Future<UsageExecutionResult> postUsageSimplesearchAsync(PostUsageSimplesearchRequest request, AsyncApiCallback<UsageExecutionResult> callback) Search organization API Usage After calling this method, you will then need to poll for the query results based on the returned execution Id. The number of records is limited to 20,000 results- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postUsageSimplesearchAsync
public Future<ApiResponse<UsageExecutionResult>> postUsageSimplesearchAsync(ApiRequest<ApiUsageSimpleSearch> request, AsyncApiCallback<ApiResponse<UsageExecutionResult>> callback) Search organization API Usage After calling this method, you will then need to poll for the query results based on the returned execution Id. The number of records is limited to 20,000 results- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-