Package com.mypurecloud.sdk.v2.api
Class VirtualAgentsApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.VirtualAgentsApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteAgenticVirtualagentJobsAsync(DeleteAgenticVirtualagentJobsRequest request, AsyncApiCallback<AgenticVirtualAgentJob> callback) Start the deletion of a virtualAgent.deleteAgenticVirtualagentJobsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<AgenticVirtualAgentJob>> callback) Start the deletion of a virtualAgent.getAgenticVirtualagentAsync(GetAgenticVirtualagentRequest request, AsyncApiCallback<AgenticVirtualAgent> callback) Get virtual agent.getAgenticVirtualagentAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<AgenticVirtualAgent>> callback) Get virtual agent.getAgenticVirtualagentJobAsync(GetAgenticVirtualagentJobRequest request, AsyncApiCallback<AgenticVirtualAgentJob> callback) Get a virtualAgent job.getAgenticVirtualagentJobAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<AgenticVirtualAgentJob>> callback) Get a virtualAgent job.getAgenticVirtualagentsAsync(GetAgenticVirtualagentsRequest request, AsyncApiCallback<AgenticVirtualAgentEntityListing> callback) Get all virtual agents.getAgenticVirtualagentsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<AgenticVirtualAgentEntityListing>> callback) Get all virtual agents.patchAgenticVirtualagentAsync(PatchAgenticVirtualagentRequest request, AsyncApiCallback<AgenticVirtualAgent> callback) Update a virtual agent.patchAgenticVirtualagentAsync(ApiRequest<UpdateAgenticVirtualAgent> request, AsyncApiCallback<ApiResponse<AgenticVirtualAgent>> callback) Update a virtual agent.postAgenticVirtualagentsAsync(PostAgenticVirtualagentsRequest request, AsyncApiCallback<AgenticVirtualAgent> callback) Create a virtual agent.postAgenticVirtualagentsAsync(ApiRequest<CreateAgenticVirtualAgent> request, AsyncApiCallback<ApiResponse<AgenticVirtualAgent>> callback) Create a virtual agent.postAgenticVirtualagentVersionJobsAsync(PostAgenticVirtualagentVersionJobsRequest request, AsyncApiCallback<AgenticVirtualAgentVersionPublishJob> callback) Start the publishing of a virtual agent version.postAgenticVirtualagentVersionJobsAsync(ApiRequest<AgenticVirtualAgentVersionPublishJobRequest> request, AsyncApiCallback<ApiResponse<AgenticVirtualAgentVersionPublishJob>> callback) Start the publishing of a virtual agent version.
-
Constructor Details
-
VirtualAgentsApiAsync
public VirtualAgentsApiAsync() -
VirtualAgentsApiAsync
-
-
Method Details
-
deleteAgenticVirtualagentJobsAsync
public Future<AgenticVirtualAgentJob> deleteAgenticVirtualagentJobsAsync(DeleteAgenticVirtualagentJobsRequest request, AsyncApiCallback<AgenticVirtualAgentJob> callback) Start the deletion of a virtualAgent.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteAgenticVirtualagentJobsAsync
public Future<ApiResponse<AgenticVirtualAgentJob>> deleteAgenticVirtualagentJobsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<AgenticVirtualAgentJob>> callback) Start the deletion of a virtualAgent.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getAgenticVirtualagentAsync
public Future<AgenticVirtualAgent> getAgenticVirtualagentAsync(GetAgenticVirtualagentRequest request, AsyncApiCallback<AgenticVirtualAgent> callback) Get virtual agent.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getAgenticVirtualagentAsync
public Future<ApiResponse<AgenticVirtualAgent>> getAgenticVirtualagentAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<AgenticVirtualAgent>> callback) Get virtual agent.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getAgenticVirtualagentJobAsync
public Future<AgenticVirtualAgentJob> getAgenticVirtualagentJobAsync(GetAgenticVirtualagentJobRequest request, AsyncApiCallback<AgenticVirtualAgentJob> callback) Get a virtualAgent job.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getAgenticVirtualagentJobAsync
public Future<ApiResponse<AgenticVirtualAgentJob>> getAgenticVirtualagentJobAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<AgenticVirtualAgentJob>> callback) Get a virtualAgent job.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getAgenticVirtualagentsAsync
public Future<AgenticVirtualAgentEntityListing> getAgenticVirtualagentsAsync(GetAgenticVirtualagentsRequest request, AsyncApiCallback<AgenticVirtualAgentEntityListing> callback) Get all virtual agents.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getAgenticVirtualagentsAsync
public Future<ApiResponse<AgenticVirtualAgentEntityListing>> getAgenticVirtualagentsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<AgenticVirtualAgentEntityListing>> callback) Get all virtual agents.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchAgenticVirtualagentAsync
public Future<AgenticVirtualAgent> patchAgenticVirtualagentAsync(PatchAgenticVirtualagentRequest request, AsyncApiCallback<AgenticVirtualAgent> callback) Update a virtual agent.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchAgenticVirtualagentAsync
public Future<ApiResponse<AgenticVirtualAgent>> patchAgenticVirtualagentAsync(ApiRequest<UpdateAgenticVirtualAgent> request, AsyncApiCallback<ApiResponse<AgenticVirtualAgent>> callback) Update a virtual agent.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postAgenticVirtualagentVersionJobsAsync
public Future<AgenticVirtualAgentVersionPublishJob> postAgenticVirtualagentVersionJobsAsync(PostAgenticVirtualagentVersionJobsRequest request, AsyncApiCallback<AgenticVirtualAgentVersionPublishJob> callback) Start the publishing of a virtual agent version.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postAgenticVirtualagentVersionJobsAsync
public Future<ApiResponse<AgenticVirtualAgentVersionPublishJob>> postAgenticVirtualagentVersionJobsAsync(ApiRequest<AgenticVirtualAgentVersionPublishJobRequest> request, AsyncApiCallback<ApiResponse<AgenticVirtualAgentVersionPublishJob>> callback) Start the publishing of a virtual agent version.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postAgenticVirtualagentsAsync
public Future<AgenticVirtualAgent> postAgenticVirtualagentsAsync(PostAgenticVirtualagentsRequest request, AsyncApiCallback<AgenticVirtualAgent> callback) Create a virtual agent.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postAgenticVirtualagentsAsync
public Future<ApiResponse<AgenticVirtualAgent>> postAgenticVirtualagentsAsync(ApiRequest<CreateAgenticVirtualAgent> request, AsyncApiCallback<ApiResponse<AgenticVirtualAgent>> callback) Create a virtual agent.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-