Package com.mypurecloud.sdk.v2.api
Class IntentsApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.IntentsApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteIntentsCategoryAsync(DeleteIntentsCategoryRequest request, AsyncApiCallback<Void> callback) Delete category for categoryIddeleteIntentsCategoryAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete category for categoryIddeleteIntentsCustomerintentAsync(DeleteIntentsCustomerintentRequest request, AsyncApiCallback<Void> callback) Delete customer intent for customerIntentIddeleteIntentsCustomerintentAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete customer intent for customerIntentIdgetIntentsAssignmentsExternalcontactAsync(GetIntentsAssignmentsExternalcontactRequest request, AsyncApiCallback<CustomerIntentAssignmentListing> callback) Get customer intent assignments for externalContactIdgetIntentsAssignmentsExternalcontactAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<CustomerIntentAssignmentListing>> callback) Get customer intent assignments for externalContactIdgetIntentsCategoriesAsync(GetIntentsCategoriesRequest request, AsyncApiCallback<IntentsCategoryListing> callback) Get categoriesgetIntentsCategoriesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<IntentsCategoryListing>> callback) Get categoriesgetIntentsCategoryAsync(GetIntentsCategoryRequest request, AsyncApiCallback<IntentsCategory> callback) Get category for categoryIdgetIntentsCategoryAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<IntentsCategory>> callback) Get category for categoryIdgetIntentsCustomerintentAsync(GetIntentsCustomerintentRequest request, AsyncApiCallback<CustomerIntentResponse> callback) Get customer intent for customerIntentIdgetIntentsCustomerintentAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<CustomerIntentResponse>> callback) Get customer intent for customerIntentIdgetIntentsCustomerintentsAsync(GetIntentsCustomerintentsRequest request, AsyncApiCallback<CustomerIntentListing> callback) Get customer intentsgetIntentsCustomerintentsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<CustomerIntentListing>> callback) Get customer intentsgetIntentsCustomerintentSourceintentsAsync(GetIntentsCustomerintentSourceintentsRequest request, AsyncApiCallback<CustomerSourceIntentListing> callback) Get source intents mapped to a customer intentgetIntentsCustomerintentSourceintentsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<CustomerSourceIntentListing>> callback) Get source intents mapped to a customer intentgetIntentsSourceintentsAsync(GetIntentsSourceintentsRequest request, AsyncApiCallback<CustomerSourceIntentListing> callback) Get all mapped source intents by type.getIntentsSourceintentsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<CustomerSourceIntentListing>> callback) Get all mapped source intents by type.patchIntentsCategoryAsync(PatchIntentsCategoryRequest request, AsyncApiCallback<IntentsCategory> callback) Patch category for categoryIdpatchIntentsCategoryAsync(ApiRequest<IntentsCategoryPatch> request, AsyncApiCallback<ApiResponse<IntentsCategory>> callback) Patch category for categoryIdpatchIntentsCustomerintentAsync(PatchIntentsCustomerintentRequest request, AsyncApiCallback<CustomerIntentResponse> callback) Patch customer intent for customerIntentIdpatchIntentsCustomerintentAsync(ApiRequest<CustomerIntentPatch> request, AsyncApiCallback<ApiResponse<CustomerIntentResponse>> callback) Patch customer intent for customerIntentIdpostIntentsAssignmentsExternalcontactCustomerintentAssignmentAsync(PostIntentsAssignmentsExternalcontactCustomerintentAssignmentRequest request, AsyncApiCallback<CustomerIntentAssignmentResponse> callback) Create customer intent assignment for external contactpostIntentsAssignmentsExternalcontactCustomerintentAssignmentAsync(ApiRequest<CustomerIntentAssignmentRequest> request, AsyncApiCallback<ApiResponse<CustomerIntentAssignmentResponse>> callback) Create customer intent assignment for external contactpostIntentsCategoriesAsync(PostIntentsCategoriesRequest request, AsyncApiCallback<IntentsCategory> callback) Create categorypostIntentsCategoriesAsync(ApiRequest<IntentsCategory> request, AsyncApiCallback<ApiResponse<IntentsCategory>> callback) Create categorypostIntentsCustomerintentsAsync(PostIntentsCustomerintentsRequest request, AsyncApiCallback<CustomerIntentResponse> callback) Create customer intentspostIntentsCustomerintentsAsync(ApiRequest<CustomerIntent> request, AsyncApiCallback<ApiResponse<CustomerIntentResponse>> callback) Create customer intentspostIntentsCustomerintentSourceintentsBulkAddAsync(PostIntentsCustomerintentSourceintentsBulkAddRequest request, AsyncApiCallback<BulkSourceIntentsResponse> callback) Bulk add source intents to a customer intentpostIntentsCustomerintentSourceintentsBulkAddAsync(ApiRequest<BulkAddSourceIntentsRequest> request, AsyncApiCallback<ApiResponse<BulkSourceIntentsResponse>> callback) Bulk add source intents to a customer intentpostIntentsCustomerintentSourceintentsBulkRemoveAsync(PostIntentsCustomerintentSourceintentsBulkRemoveRequest request, AsyncApiCallback<BulkSourceIntentsResponse> callback) Bulk remove source intents mapped to a customer intentpostIntentsCustomerintentSourceintentsBulkRemoveAsync(ApiRequest<BulkRemoveSourceIntentsRequest> request, AsyncApiCallback<ApiResponse<BulkSourceIntentsResponse>> callback) Bulk remove source intents mapped to a customer intent
-
Constructor Details
-
IntentsApiAsync
public IntentsApiAsync() -
IntentsApiAsync
-
-
Method Details
-
deleteIntentsCategoryAsync
public Future<Void> deleteIntentsCategoryAsync(DeleteIntentsCategoryRequest request, AsyncApiCallback<Void> callback) Delete category for categoryId- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteIntentsCategoryAsync
public Future<ApiResponse<Void>> deleteIntentsCategoryAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete category for categoryId- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteIntentsCustomerintentAsync
public Future<Void> deleteIntentsCustomerintentAsync(DeleteIntentsCustomerintentRequest request, AsyncApiCallback<Void> callback) Delete customer intent for customerIntentId- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteIntentsCustomerintentAsync
public Future<ApiResponse<Void>> deleteIntentsCustomerintentAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete customer intent for customerIntentId- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getIntentsAssignmentsExternalcontactAsync
public Future<CustomerIntentAssignmentListing> getIntentsAssignmentsExternalcontactAsync(GetIntentsAssignmentsExternalcontactRequest request, AsyncApiCallback<CustomerIntentAssignmentListing> callback) Get customer intent assignments for externalContactId- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getIntentsAssignmentsExternalcontactAsync
public Future<ApiResponse<CustomerIntentAssignmentListing>> getIntentsAssignmentsExternalcontactAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<CustomerIntentAssignmentListing>> callback) Get customer intent assignments for externalContactId- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getIntentsCategoriesAsync
public Future<IntentsCategoryListing> getIntentsCategoriesAsync(GetIntentsCategoriesRequest request, AsyncApiCallback<IntentsCategoryListing> callback) Get categories- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getIntentsCategoriesAsync
public Future<ApiResponse<IntentsCategoryListing>> getIntentsCategoriesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<IntentsCategoryListing>> callback) Get categories- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getIntentsCategoryAsync
public Future<IntentsCategory> getIntentsCategoryAsync(GetIntentsCategoryRequest request, AsyncApiCallback<IntentsCategory> callback) Get category for categoryId- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getIntentsCategoryAsync
public Future<ApiResponse<IntentsCategory>> getIntentsCategoryAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<IntentsCategory>> callback) Get category for categoryId- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getIntentsCustomerintentAsync
public Future<CustomerIntentResponse> getIntentsCustomerintentAsync(GetIntentsCustomerintentRequest request, AsyncApiCallback<CustomerIntentResponse> callback) Get customer intent for customerIntentId- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getIntentsCustomerintentAsync
public Future<ApiResponse<CustomerIntentResponse>> getIntentsCustomerintentAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<CustomerIntentResponse>> callback) Get customer intent for customerIntentId- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getIntentsCustomerintentSourceintentsAsync
public Future<CustomerSourceIntentListing> getIntentsCustomerintentSourceintentsAsync(GetIntentsCustomerintentSourceintentsRequest request, AsyncApiCallback<CustomerSourceIntentListing> callback) Get source intents mapped to a customer intent- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getIntentsCustomerintentSourceintentsAsync
public Future<ApiResponse<CustomerSourceIntentListing>> getIntentsCustomerintentSourceintentsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<CustomerSourceIntentListing>> callback) Get source intents mapped to a customer intent- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getIntentsCustomerintentsAsync
public Future<CustomerIntentListing> getIntentsCustomerintentsAsync(GetIntentsCustomerintentsRequest request, AsyncApiCallback<CustomerIntentListing> callback) Get customer intents- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getIntentsCustomerintentsAsync
public Future<ApiResponse<CustomerIntentListing>> getIntentsCustomerintentsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<CustomerIntentListing>> callback) Get customer intents- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getIntentsSourceintentsAsync
public Future<CustomerSourceIntentListing> getIntentsSourceintentsAsync(GetIntentsSourceintentsRequest request, AsyncApiCallback<CustomerSourceIntentListing> callback) Get all mapped source intents by type. If no type selected default is type Segment- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getIntentsSourceintentsAsync
public Future<ApiResponse<CustomerSourceIntentListing>> getIntentsSourceintentsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<CustomerSourceIntentListing>> callback) Get all mapped source intents by type. If no type selected default is type Segment- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchIntentsCategoryAsync
public Future<IntentsCategory> patchIntentsCategoryAsync(PatchIntentsCategoryRequest request, AsyncApiCallback<IntentsCategory> callback) Patch category for categoryId- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchIntentsCategoryAsync
public Future<ApiResponse<IntentsCategory>> patchIntentsCategoryAsync(ApiRequest<IntentsCategoryPatch> request, AsyncApiCallback<ApiResponse<IntentsCategory>> callback) Patch category for categoryId- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchIntentsCustomerintentAsync
public Future<CustomerIntentResponse> patchIntentsCustomerintentAsync(PatchIntentsCustomerintentRequest request, AsyncApiCallback<CustomerIntentResponse> callback) Patch customer intent for customerIntentId- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchIntentsCustomerintentAsync
public Future<ApiResponse<CustomerIntentResponse>> patchIntentsCustomerintentAsync(ApiRequest<CustomerIntentPatch> request, AsyncApiCallback<ApiResponse<CustomerIntentResponse>> callback) Patch customer intent for customerIntentId- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postIntentsAssignmentsExternalcontactCustomerintentAssignmentAsync
public Future<CustomerIntentAssignmentResponse> postIntentsAssignmentsExternalcontactCustomerintentAssignmentAsync(PostIntentsAssignmentsExternalcontactCustomerintentAssignmentRequest request, AsyncApiCallback<CustomerIntentAssignmentResponse> callback) Create customer intent assignment for external contact- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postIntentsAssignmentsExternalcontactCustomerintentAssignmentAsync
public Future<ApiResponse<CustomerIntentAssignmentResponse>> postIntentsAssignmentsExternalcontactCustomerintentAssignmentAsync(ApiRequest<CustomerIntentAssignmentRequest> request, AsyncApiCallback<ApiResponse<CustomerIntentAssignmentResponse>> callback) Create customer intent assignment for external contact- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postIntentsCategoriesAsync
public Future<IntentsCategory> postIntentsCategoriesAsync(PostIntentsCategoriesRequest request, AsyncApiCallback<IntentsCategory> callback) Create category- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postIntentsCategoriesAsync
public Future<ApiResponse<IntentsCategory>> postIntentsCategoriesAsync(ApiRequest<IntentsCategory> request, AsyncApiCallback<ApiResponse<IntentsCategory>> callback) Create category- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postIntentsCustomerintentSourceintentsBulkAddAsync
public Future<BulkSourceIntentsResponse> postIntentsCustomerintentSourceintentsBulkAddAsync(PostIntentsCustomerintentSourceintentsBulkAddRequest request, AsyncApiCallback<BulkSourceIntentsResponse> callback) Bulk add source intents to a customer intent- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postIntentsCustomerintentSourceintentsBulkAddAsync
public Future<ApiResponse<BulkSourceIntentsResponse>> postIntentsCustomerintentSourceintentsBulkAddAsync(ApiRequest<BulkAddSourceIntentsRequest> request, AsyncApiCallback<ApiResponse<BulkSourceIntentsResponse>> callback) Bulk add source intents to a customer intent- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postIntentsCustomerintentSourceintentsBulkRemoveAsync
public Future<BulkSourceIntentsResponse> postIntentsCustomerintentSourceintentsBulkRemoveAsync(PostIntentsCustomerintentSourceintentsBulkRemoveRequest request, AsyncApiCallback<BulkSourceIntentsResponse> callback) Bulk remove source intents mapped to a customer intent- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postIntentsCustomerintentSourceintentsBulkRemoveAsync
public Future<ApiResponse<BulkSourceIntentsResponse>> postIntentsCustomerintentSourceintentsBulkRemoveAsync(ApiRequest<BulkRemoveSourceIntentsRequest> request, AsyncApiCallback<ApiResponse<BulkSourceIntentsResponse>> callback) Bulk remove source intents mapped to a customer intent- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postIntentsCustomerintentsAsync
public Future<CustomerIntentResponse> postIntentsCustomerintentsAsync(PostIntentsCustomerintentsRequest request, AsyncApiCallback<CustomerIntentResponse> callback) Create customer intents- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postIntentsCustomerintentsAsync
public Future<ApiResponse<CustomerIntentResponse>> postIntentsCustomerintentsAsync(ApiRequest<CustomerIntent> request, AsyncApiCallback<ApiResponse<CustomerIntentResponse>> callback) Create customer intents- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-