Package com.mypurecloud.sdk.v2.api
Class ResponseManagementApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.ResponseManagementApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteResponsemanagementLibraryAsync(DeleteResponsemanagementLibraryRequest request, AsyncApiCallback<Void> callback) Delete an existing response library.deleteResponsemanagementLibraryAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete an existing response library.deleteResponsemanagementResponseassetAsync(DeleteResponsemanagementResponseassetRequest request, AsyncApiCallback<Void> callback) Delete response assetdeleteResponsemanagementResponseassetAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete response assetdeleteResponsemanagementResponseAsync(DeleteResponsemanagementResponseRequest request, AsyncApiCallback<Void> callback) Delete an existing response.deleteResponsemanagementResponseAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete an existing response.getResponsemanagementLibrariesAsync(GetResponsemanagementLibrariesRequest request, AsyncApiCallback<LibraryEntityListing> callback) Gets a list of existing response libraries.getResponsemanagementLibrariesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<LibraryEntityListing>> callback) Gets a list of existing response libraries.getResponsemanagementLibraryAsync(GetResponsemanagementLibraryRequest request, AsyncApiCallback<Library> callback) Get details about an existing response library.getResponsemanagementLibraryAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Library>> callback) Get details about an existing response library.getResponsemanagementResponseassetAsync(GetResponsemanagementResponseassetRequest request, AsyncApiCallback<ResponseAsset> callback) Get response asset informationgetResponsemanagementResponseassetAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ResponseAsset>> callback) Get response asset informationgetResponsemanagementResponseassetsStatusStatusIdAsync(GetResponsemanagementResponseassetsStatusStatusIdRequest request, AsyncApiCallback<ResponseAssetStatus> callback) Get response asset upload statusgetResponsemanagementResponseassetsStatusStatusIdAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ResponseAssetStatus>> callback) Get response asset upload statusgetResponsemanagementResponseAsync(GetResponsemanagementResponseRequest request, AsyncApiCallback<Response> callback) Get details about an existing response.getResponsemanagementResponseAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Response>> callback) Get details about an existing response.getResponsemanagementResponsesAsync(GetResponsemanagementResponsesRequest request, AsyncApiCallback<ResponseEntityListing> callback) Gets a list of existing responses.getResponsemanagementResponsesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ResponseEntityListing>> callback) Gets a list of existing responses.postResponsemanagementLibrariesAsync(PostResponsemanagementLibrariesRequest request, AsyncApiCallback<Library> callback) Create a response library.postResponsemanagementLibrariesAsync(ApiRequest<Library> request, AsyncApiCallback<ApiResponse<Library>> callback) Create a response library.postResponsemanagementLibrariesBulkAsync(PostResponsemanagementLibrariesBulkRequest request, AsyncApiCallback<LibraryEntityListing> callback) Get response libraries.postResponsemanagementLibrariesBulkAsync(ApiRequest<LibraryBatchRequest> request, AsyncApiCallback<ApiResponse<LibraryEntityListing>> callback) Get response libraries.postResponsemanagementLibrariesQueryAsync(PostResponsemanagementLibrariesQueryRequest request, AsyncApiCallback<LibraryEntityListing> callback) Query libraries using criteria.postResponsemanagementLibrariesQueryAsync(ApiRequest<QueryCriteriaQuery> request, AsyncApiCallback<ApiResponse<LibraryEntityListing>> callback) Query libraries using criteria.postResponsemanagementResponseassetsBulkAsync(PostResponsemanagementResponseassetsBulkRequest request, AsyncApiCallback<ResponseAssetEntityListing> callback) Get response assets.postResponsemanagementResponseassetsBulkAsync(ApiRequest<ResponseAssetBulkRequest> request, AsyncApiCallback<ApiResponse<ResponseAssetEntityListing>> callback) Get response assets.postResponsemanagementResponseassetsSearchAsync(PostResponsemanagementResponseassetsSearchRequest request, AsyncApiCallback<ResponseAssetSearchResults> callback) Search response assetspostResponsemanagementResponseassetsSearchAsync(ApiRequest<ResponseAssetSearchRequest> request, AsyncApiCallback<ApiResponse<ResponseAssetSearchResults>> callback) Search response assetspostResponsemanagementResponseassetsUploadsAsync(PostResponsemanagementResponseassetsUploadsRequest request, AsyncApiCallback<CreateResponseAssetResponse> callback) Creates pre-signed url for uploading response assetpostResponsemanagementResponseassetsUploadsAsync(ApiRequest<CreateResponseAssetRequest> request, AsyncApiCallback<ApiResponse<CreateResponseAssetResponse>> callback) Creates pre-signed url for uploading response assetpostResponsemanagementResponsesAsync(PostResponsemanagementResponsesRequest request, AsyncApiCallback<Response> callback) Create a response.postResponsemanagementResponsesAsync(ApiRequest<Response> request, AsyncApiCallback<ApiResponse<Response>> callback) Create a response.postResponsemanagementResponsesQueryAsync(PostResponsemanagementResponsesQueryRequest request, AsyncApiCallback<ResponseQueryResults> callback) Query responsespostResponsemanagementResponsesQueryAsync(ApiRequest<ResponseQueryRequest> request, AsyncApiCallback<ApiResponse<ResponseQueryResults>> callback) Query responsesputResponsemanagementLibraryAsync(PutResponsemanagementLibraryRequest request, AsyncApiCallback<Library> callback) Update an existing response library.putResponsemanagementLibraryAsync(ApiRequest<Library> request, AsyncApiCallback<ApiResponse<Library>> callback) Update an existing response library.putResponsemanagementResponseassetAsync(PutResponsemanagementResponseassetRequest request, AsyncApiCallback<ResponseAsset> callback) Update response assetputResponsemanagementResponseassetAsync(ApiRequest<ResponseAssetRequest> request, AsyncApiCallback<ApiResponse<ResponseAsset>> callback) Update response assetputResponsemanagementResponseAsync(PutResponsemanagementResponseRequest request, AsyncApiCallback<Response> callback) Update an existing response.putResponsemanagementResponseAsync(ApiRequest<Response> request, AsyncApiCallback<ApiResponse<Response>> callback) Update an existing response.
-
Constructor Details
-
ResponseManagementApiAsync
public ResponseManagementApiAsync() -
ResponseManagementApiAsync
-
-
Method Details
-
deleteResponsemanagementLibraryAsync
public Future<Void> deleteResponsemanagementLibraryAsync(DeleteResponsemanagementLibraryRequest request, AsyncApiCallback<Void> callback) Delete an existing response library. This will remove any responses associated with the library.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteResponsemanagementLibraryAsync
public Future<ApiResponse<Void>> deleteResponsemanagementLibraryAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete an existing response library. This will remove any responses associated with the library.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteResponsemanagementResponseAsync
public Future<Void> deleteResponsemanagementResponseAsync(DeleteResponsemanagementResponseRequest request, AsyncApiCallback<Void> callback) Delete an existing response. This will remove the response from any libraries associated with it.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteResponsemanagementResponseAsync
public Future<ApiResponse<Void>> deleteResponsemanagementResponseAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete an existing response. This will remove the response from any libraries associated with it.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteResponsemanagementResponseassetAsync
public Future<Void> deleteResponsemanagementResponseassetAsync(DeleteResponsemanagementResponseassetRequest request, AsyncApiCallback<Void> callback) Delete response asset- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteResponsemanagementResponseassetAsync
public Future<ApiResponse<Void>> deleteResponsemanagementResponseassetAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete response asset- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getResponsemanagementLibrariesAsync
public Future<LibraryEntityListing> getResponsemanagementLibrariesAsync(GetResponsemanagementLibrariesRequest request, AsyncApiCallback<LibraryEntityListing> callback) Gets a list of existing response libraries.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getResponsemanagementLibrariesAsync
public Future<ApiResponse<LibraryEntityListing>> getResponsemanagementLibrariesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<LibraryEntityListing>> callback) Gets a list of existing response libraries.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getResponsemanagementLibraryAsync
public Future<Library> getResponsemanagementLibraryAsync(GetResponsemanagementLibraryRequest request, AsyncApiCallback<Library> callback) Get details about an existing response library.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getResponsemanagementLibraryAsync
public Future<ApiResponse<Library>> getResponsemanagementLibraryAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Library>> callback) Get details about an existing response library.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getResponsemanagementResponseAsync
public Future<Response> getResponsemanagementResponseAsync(GetResponsemanagementResponseRequest request, AsyncApiCallback<Response> callback) Get details about an existing response.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getResponsemanagementResponseAsync
public Future<ApiResponse<Response>> getResponsemanagementResponseAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Response>> callback) Get details about an existing response.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getResponsemanagementResponseassetAsync
public Future<ResponseAsset> getResponsemanagementResponseassetAsync(GetResponsemanagementResponseassetRequest request, AsyncApiCallback<ResponseAsset> callback) Get response asset information- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getResponsemanagementResponseassetAsync
public Future<ApiResponse<ResponseAsset>> getResponsemanagementResponseassetAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ResponseAsset>> callback) Get response asset information- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getResponsemanagementResponseassetsStatusStatusIdAsync
public Future<ResponseAssetStatus> getResponsemanagementResponseassetsStatusStatusIdAsync(GetResponsemanagementResponseassetsStatusStatusIdRequest request, AsyncApiCallback<ResponseAssetStatus> callback) Get response asset upload status- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getResponsemanagementResponseassetsStatusStatusIdAsync
public Future<ApiResponse<ResponseAssetStatus>> getResponsemanagementResponseassetsStatusStatusIdAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ResponseAssetStatus>> callback) Get response asset upload status- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getResponsemanagementResponsesAsync
public Future<ResponseEntityListing> getResponsemanagementResponsesAsync(GetResponsemanagementResponsesRequest request, AsyncApiCallback<ResponseEntityListing> callback) Gets a list of existing responses.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getResponsemanagementResponsesAsync
public Future<ApiResponse<ResponseEntityListing>> getResponsemanagementResponsesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ResponseEntityListing>> callback) Gets a list of existing responses.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postResponsemanagementLibrariesAsync
public Future<Library> postResponsemanagementLibrariesAsync(PostResponsemanagementLibrariesRequest request, AsyncApiCallback<Library> callback) Create a response library.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postResponsemanagementLibrariesAsync
public Future<ApiResponse<Library>> postResponsemanagementLibrariesAsync(ApiRequest<Library> request, AsyncApiCallback<ApiResponse<Library>> callback) Create a response library.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postResponsemanagementLibrariesBulkAsync
public Future<LibraryEntityListing> postResponsemanagementLibrariesBulkAsync(PostResponsemanagementLibrariesBulkRequest request, AsyncApiCallback<LibraryEntityListing> callback) Get response libraries.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postResponsemanagementLibrariesBulkAsync
public Future<ApiResponse<LibraryEntityListing>> postResponsemanagementLibrariesBulkAsync(ApiRequest<LibraryBatchRequest> request, AsyncApiCallback<ApiResponse<LibraryEntityListing>> callback) Get response libraries.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postResponsemanagementLibrariesQueryAsync
public Future<LibraryEntityListing> postResponsemanagementLibrariesQueryAsync(PostResponsemanagementLibrariesQueryRequest request, AsyncApiCallback<LibraryEntityListing> callback) Query libraries using criteria. Users can set DivisionId parameter as '*' to fetch libraries that aren't associated with any divisions.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postResponsemanagementLibrariesQueryAsync
public Future<ApiResponse<LibraryEntityListing>> postResponsemanagementLibrariesQueryAsync(ApiRequest<QueryCriteriaQuery> request, AsyncApiCallback<ApiResponse<LibraryEntityListing>> callback) Query libraries using criteria. Users can set DivisionId parameter as '*' to fetch libraries that aren't associated with any divisions.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postResponsemanagementResponseassetsBulkAsync
public Future<ResponseAssetEntityListing> postResponsemanagementResponseassetsBulkAsync(PostResponsemanagementResponseassetsBulkRequest request, AsyncApiCallback<ResponseAssetEntityListing> callback) Get response assets.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postResponsemanagementResponseassetsBulkAsync
public Future<ApiResponse<ResponseAssetEntityListing>> postResponsemanagementResponseassetsBulkAsync(ApiRequest<ResponseAssetBulkRequest> request, AsyncApiCallback<ApiResponse<ResponseAssetEntityListing>> callback) Get response assets.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postResponsemanagementResponseassetsSearchAsync
public Future<ResponseAssetSearchResults> postResponsemanagementResponseassetsSearchAsync(PostResponsemanagementResponseassetsSearchRequest request, AsyncApiCallback<ResponseAssetSearchResults> callback) Search response assets- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postResponsemanagementResponseassetsSearchAsync
public Future<ApiResponse<ResponseAssetSearchResults>> postResponsemanagementResponseassetsSearchAsync(ApiRequest<ResponseAssetSearchRequest> request, AsyncApiCallback<ApiResponse<ResponseAssetSearchResults>> callback) Search response assets- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postResponsemanagementResponseassetsUploadsAsync
public Future<CreateResponseAssetResponse> postResponsemanagementResponseassetsUploadsAsync(PostResponsemanagementResponseassetsUploadsRequest request, AsyncApiCallback<CreateResponseAssetResponse> callback) Creates pre-signed url for uploading response asset- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postResponsemanagementResponseassetsUploadsAsync
public Future<ApiResponse<CreateResponseAssetResponse>> postResponsemanagementResponseassetsUploadsAsync(ApiRequest<CreateResponseAssetRequest> request, AsyncApiCallback<ApiResponse<CreateResponseAssetResponse>> callback) Creates pre-signed url for uploading response asset- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postResponsemanagementResponsesAsync
public Future<Response> postResponsemanagementResponsesAsync(PostResponsemanagementResponsesRequest request, AsyncApiCallback<Response> callback) Create a response.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postResponsemanagementResponsesAsync
public Future<ApiResponse<Response>> postResponsemanagementResponsesAsync(ApiRequest<Response> request, AsyncApiCallback<ApiResponse<Response>> callback) Create a response.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postResponsemanagementResponsesQueryAsync
public Future<ResponseQueryResults> postResponsemanagementResponsesQueryAsync(PostResponsemanagementResponsesQueryRequest request, AsyncApiCallback<ResponseQueryResults> callback) Query responses- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postResponsemanagementResponsesQueryAsync
public Future<ApiResponse<ResponseQueryResults>> postResponsemanagementResponsesQueryAsync(ApiRequest<ResponseQueryRequest> request, AsyncApiCallback<ApiResponse<ResponseQueryResults>> callback) Query responses- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putResponsemanagementLibraryAsync
public Future<Library> putResponsemanagementLibraryAsync(PutResponsemanagementLibraryRequest request, AsyncApiCallback<Library> callback) Update an existing response library. Fields that can be updated: name. The most recent version is required for updates.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putResponsemanagementLibraryAsync
public Future<ApiResponse<Library>> putResponsemanagementLibraryAsync(ApiRequest<Library> request, AsyncApiCallback<ApiResponse<Library>> callback) Update an existing response library. Fields that can be updated: name. The most recent version is required for updates.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putResponsemanagementResponseAsync
public Future<Response> putResponsemanagementResponseAsync(PutResponsemanagementResponseRequest request, AsyncApiCallback<Response> callback) Update an existing response. Fields that can be updated: name, libraries, and texts. The most recent version is required for updates.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putResponsemanagementResponseAsync
public Future<ApiResponse<Response>> putResponsemanagementResponseAsync(ApiRequest<Response> request, AsyncApiCallback<ApiResponse<Response>> callback) Update an existing response. Fields that can be updated: name, libraries, and texts. The most recent version is required for updates.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putResponsemanagementResponseassetAsync
public Future<ResponseAsset> putResponsemanagementResponseassetAsync(PutResponsemanagementResponseassetRequest request, AsyncApiCallback<ResponseAsset> callback) Update response asset- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putResponsemanagementResponseassetAsync
public Future<ApiResponse<ResponseAsset>> putResponsemanagementResponseassetAsync(ApiRequest<ResponseAssetRequest> request, AsyncApiCallback<ApiResponse<ResponseAsset>> callback) Update response asset- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-