Package com.mypurecloud.sdk.v2.api
Class OperationalEventsApi
java.lang.Object
com.mypurecloud.sdk.v2.api.OperationalEventsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet an operational event definition by its idgetUsageEventsDefinition(ApiRequest<Void> request) Get an operational event definition by its idgetUsageEventsDefinition(String eventDefinitionId) Get an operational event definition by its idGet all operational event definitionsGet all operational event definitionsgetUsageEventsDefinitions(ApiRequest<Void> request) Get all operational event definitionsGet all operational event definitionsgetUsageEventsDefinitionWithHttpInfo(String eventDefinitionId) Get an operational event definition by its id
-
Constructor Details
-
OperationalEventsApi
public OperationalEventsApi() -
OperationalEventsApi
-
-
Method Details
-
getUsageEventsDefinition
public EventDefinition getUsageEventsDefinition(String eventDefinitionId) throws IOException, ApiException Get an operational event definition by its id- Parameters:
eventDefinitionId- EventDefinition id (required)- Returns:
- EventDefinition
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getUsageEventsDefinitionWithHttpInfo
public ApiResponse<EventDefinition> getUsageEventsDefinitionWithHttpInfo(String eventDefinitionId) throws IOException Get an operational event definition by its id- Parameters:
eventDefinitionId- EventDefinition id (required)- Returns:
- EventDefinition
- Throws:
IOException- if the request fails to be processed
-
getUsageEventsDefinition
public EventDefinition getUsageEventsDefinition(GetUsageEventsDefinitionRequest request) throws IOException, ApiException Get an operational event definition by its id- Parameters:
request- The request object- Returns:
- EventDefinition
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getUsageEventsDefinition
public ApiResponse<EventDefinition> getUsageEventsDefinition(ApiRequest<Void> request) throws IOException Get an operational event definition by its id- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getUsageEventsDefinitions
Get all operational event definitions- Returns:
- EventDefinitionListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getUsageEventsDefinitionsWithHttpInfo
public ApiResponse<EventDefinitionListing> getUsageEventsDefinitionsWithHttpInfo() throws IOExceptionGet all operational event definitions- Returns:
- EventDefinitionListing
- Throws:
IOException- if the request fails to be processed
-
getUsageEventsDefinitions
public EventDefinitionListing getUsageEventsDefinitions(GetUsageEventsDefinitionsRequest request) throws IOException, ApiException Get all operational event definitions- Parameters:
request- The request object- Returns:
- EventDefinitionListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getUsageEventsDefinitions
public ApiResponse<EventDefinitionListing> getUsageEventsDefinitions(ApiRequest<Void> request) throws IOException Get all operational event definitions- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-