Package com.mypurecloud.sdk.v2.api
Class ProcessAutomationApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.ProcessAutomationApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteProcessautomationTriggerAsync(DeleteProcessautomationTriggerRequest request, AsyncApiCallback<Void> callback) Delete a TriggerdeleteProcessautomationTriggerAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete a TriggergetProcessautomationTriggerAsync(GetProcessautomationTriggerRequest request, AsyncApiCallback<Trigger> callback) Retrieve a single Trigger matching idgetProcessautomationTriggerAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Trigger>> callback) Retrieve a single Trigger matching idgetProcessautomationTriggersAsync(GetProcessautomationTriggersRequest request, AsyncApiCallback<TriggerEntityListing> callback) Retrieves all triggers, optionally filtered by query parameters.getProcessautomationTriggersAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<TriggerEntityListing>> callback) Retrieves all triggers, optionally filtered by query parameters.getProcessautomationTriggersTopicsAsync(GetProcessautomationTriggersTopicsRequest request, AsyncApiCallback<TopicCursorEntityListing> callback) Get topics available for organizationgetProcessautomationTriggersTopicsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<TopicCursorEntityListing>> callback) Get topics available for organizationpostProcessautomationTriggersAsync(PostProcessautomationTriggersRequest request, AsyncApiCallback<Trigger> callback) Create a TriggerpostProcessautomationTriggersAsync(ApiRequest<CreateTriggerRequest> request, AsyncApiCallback<ApiResponse<Trigger>> callback) Create a TriggerpostProcessautomationTriggersTopicTestAsync(PostProcessautomationTriggersTopicTestRequest request, AsyncApiCallback<TestModeEventResults> callback) Test the matching of all organization Triggers on given topic using provided event bodypostProcessautomationTriggersTopicTestAsync(ApiRequest<String> request, AsyncApiCallback<ApiResponse<TestModeEventResults>> callback) Test the matching of all organization Triggers on given topic using provided event bodypostProcessautomationTriggerTestAsync(PostProcessautomationTriggerTestRequest request, AsyncApiCallback<TestModeResults> callback) Test the matching of a Trigger based on provided event bodypostProcessautomationTriggerTestAsync(ApiRequest<String> request, AsyncApiCallback<ApiResponse<TestModeResults>> callback) Test the matching of a Trigger based on provided event bodyputProcessautomationTriggerAsync(PutProcessautomationTriggerRequest request, AsyncApiCallback<Trigger> callback) Update a TriggerputProcessautomationTriggerAsync(ApiRequest<UpdateTriggerRequest> request, AsyncApiCallback<ApiResponse<Trigger>> callback) Update a Trigger
-
Constructor Details
-
ProcessAutomationApiAsync
public ProcessAutomationApiAsync() -
ProcessAutomationApiAsync
-
-
Method Details
-
deleteProcessautomationTriggerAsync
public Future<Void> deleteProcessautomationTriggerAsync(DeleteProcessautomationTriggerRequest request, AsyncApiCallback<Void> callback) Delete a Trigger- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteProcessautomationTriggerAsync
public Future<ApiResponse<Void>> deleteProcessautomationTriggerAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete a Trigger- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getProcessautomationTriggerAsync
public Future<Trigger> getProcessautomationTriggerAsync(GetProcessautomationTriggerRequest request, AsyncApiCallback<Trigger> callback) Retrieve a single Trigger matching id- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getProcessautomationTriggerAsync
public Future<ApiResponse<Trigger>> getProcessautomationTriggerAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Trigger>> callback) Retrieve a single Trigger matching id- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getProcessautomationTriggersAsync
public Future<TriggerEntityListing> getProcessautomationTriggersAsync(GetProcessautomationTriggersRequest request, AsyncApiCallback<TriggerEntityListing> callback) Retrieves all triggers, optionally filtered by query parameters.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getProcessautomationTriggersAsync
public Future<ApiResponse<TriggerEntityListing>> getProcessautomationTriggersAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<TriggerEntityListing>> callback) Retrieves all triggers, optionally filtered by query parameters.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getProcessautomationTriggersTopicsAsync
public Future<TopicCursorEntityListing> getProcessautomationTriggersTopicsAsync(GetProcessautomationTriggersTopicsRequest request, AsyncApiCallback<TopicCursorEntityListing> callback) Get topics available for organization- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getProcessautomationTriggersTopicsAsync
public Future<ApiResponse<TopicCursorEntityListing>> getProcessautomationTriggersTopicsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<TopicCursorEntityListing>> callback) Get topics available for organization- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postProcessautomationTriggerTestAsync
public Future<TestModeResults> postProcessautomationTriggerTestAsync(PostProcessautomationTriggerTestRequest request, AsyncApiCallback<TestModeResults> callback) Test the matching of a Trigger based on provided event body- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postProcessautomationTriggerTestAsync
public Future<ApiResponse<TestModeResults>> postProcessautomationTriggerTestAsync(ApiRequest<String> request, AsyncApiCallback<ApiResponse<TestModeResults>> callback) Test the matching of a Trigger based on provided event body- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postProcessautomationTriggersAsync
public Future<Trigger> postProcessautomationTriggersAsync(PostProcessautomationTriggersRequest request, AsyncApiCallback<Trigger> callback) Create a Trigger- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postProcessautomationTriggersAsync
public Future<ApiResponse<Trigger>> postProcessautomationTriggersAsync(ApiRequest<CreateTriggerRequest> request, AsyncApiCallback<ApiResponse<Trigger>> callback) Create a Trigger- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postProcessautomationTriggersTopicTestAsync
public Future<TestModeEventResults> postProcessautomationTriggersTopicTestAsync(PostProcessautomationTriggersTopicTestRequest request, AsyncApiCallback<TestModeEventResults> callback) Test the matching of all organization Triggers on given topic using provided event body- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postProcessautomationTriggersTopicTestAsync
public Future<ApiResponse<TestModeEventResults>> postProcessautomationTriggersTopicTestAsync(ApiRequest<String> request, AsyncApiCallback<ApiResponse<TestModeEventResults>> callback) Test the matching of all organization Triggers on given topic using provided event body- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putProcessautomationTriggerAsync
public Future<Trigger> putProcessautomationTriggerAsync(PutProcessautomationTriggerRequest request, AsyncApiCallback<Trigger> callback) Update a Trigger- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putProcessautomationTriggerAsync
public Future<ApiResponse<Trigger>> putProcessautomationTriggerAsync(ApiRequest<UpdateTriggerRequest> request, AsyncApiCallback<ApiResponse<Trigger>> callback) Update a Trigger- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-