Package com.mypurecloud.sdk.v2.api
Class ScriptsApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.ScriptsApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetScriptAsync(GetScriptRequest request, AsyncApiCallback<Script> callback) Get a scriptgetScriptAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Script>> callback) Get a scriptgetScriptPageAsync(GetScriptPageRequest request, AsyncApiCallback<Page> callback) Get a pagegetScriptPageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Page>> callback) Get a pagegetScriptPagesAsync(GetScriptPagesRequest request, AsyncApiCallback<List<Page>> callback) Get the list of pagesgetScriptPagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<List<Page>>> callback) Get the list of pagesgetScriptsAsync(GetScriptsRequest request, AsyncApiCallback<ScriptEntityListing> callback) Get the list of scriptsgetScriptsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ScriptEntityListing>> callback) Get the list of scriptsgetScriptsDivisionviewsAsync(GetScriptsDivisionviewsRequest request, AsyncApiCallback<ScriptEntityListing> callback) Get the metadata for a list of scriptsgetScriptsDivisionviewsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ScriptEntityListing>> callback) Get the metadata for a list of scriptsgetScriptsPublishedAsync(GetScriptsPublishedRequest request, AsyncApiCallback<ScriptEntityListing> callback) Get the published scripts.getScriptsPublishedAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ScriptEntityListing>> callback) Get the published scripts.getScriptsPublishedDivisionviewsAsync(GetScriptsPublishedDivisionviewsRequest request, AsyncApiCallback<ScriptEntityListing> callback) Get the published scripts metadata.getScriptsPublishedDivisionviewsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ScriptEntityListing>> callback) Get the published scripts metadata.getScriptsPublishedDivisionviewVariablesAsync(GetScriptsPublishedDivisionviewVariablesRequest request, AsyncApiCallback<Object> callback) Get the published variablesgetScriptsPublishedDivisionviewVariablesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Object>> callback) Get the published variablesgetScriptsPublishedScriptIdAsync(GetScriptsPublishedScriptIdRequest request, AsyncApiCallback<Script> callback) Get the published script.getScriptsPublishedScriptIdAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Script>> callback) Get the published script.getScriptsPublishedScriptIdPageAsync(GetScriptsPublishedScriptIdPageRequest request, AsyncApiCallback<Page> callback) Get the published page.getScriptsPublishedScriptIdPageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Page>> callback) Get the published page.getScriptsPublishedScriptIdPagesAsync(GetScriptsPublishedScriptIdPagesRequest request, AsyncApiCallback<List<Page>> callback) Get the list of published pagesgetScriptsPublishedScriptIdPagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<List<Page>>> callback) Get the list of published pagesgetScriptsPublishedScriptIdVariablesAsync(GetScriptsPublishedScriptIdVariablesRequest request, AsyncApiCallback<Object> callback) Get the published variablesgetScriptsPublishedScriptIdVariablesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Object>> callback) Get the published variablesgetScriptsUploadStatusAsync(GetScriptsUploadStatusRequest request, AsyncApiCallback<ImportScriptStatusResponse> callback) Get the upload status of an imported scriptgetScriptsUploadStatusAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ImportScriptStatusResponse>> callback) Get the upload status of an imported scriptpostScriptExportAsync(PostScriptExportRequest request, AsyncApiCallback<ExportScriptResponse> callback) Export a script via download service.postScriptExportAsync(ApiRequest<ExportScriptRequest> request, AsyncApiCallback<ApiResponse<ExportScriptResponse>> callback) Export a script via download service.postScriptsPublishedAsync(PostScriptsPublishedRequest request, AsyncApiCallback<Script> callback) Publish a script.postScriptsPublishedAsync(ApiRequest<PublishScriptRequestData> request, AsyncApiCallback<ApiResponse<Script>> callback) Publish a script.
-
Constructor Details
-
ScriptsApiAsync
public ScriptsApiAsync() -
ScriptsApiAsync
-
-
Method Details
-
getScriptAsync
Get a script- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptAsync
public Future<ApiResponse<Script>> getScriptAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Script>> callback) Get a script- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptPageAsync
public Future<Page> getScriptPageAsync(GetScriptPageRequest request, AsyncApiCallback<Page> callback) Get a page- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptPageAsync
public Future<ApiResponse<Page>> getScriptPageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Page>> callback) Get a page- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptPagesAsync
public Future<List<Page>> getScriptPagesAsync(GetScriptPagesRequest request, AsyncApiCallback<List<Page>> callback) Get the list of pages- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptPagesAsync
public Future<ApiResponse<List<Page>>> getScriptPagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<List<Page>>> callback) Get the list of pages- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptsAsync
public Future<ScriptEntityListing> getScriptsAsync(GetScriptsRequest request, AsyncApiCallback<ScriptEntityListing> callback) Get the list of scripts- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptsAsync
public Future<ApiResponse<ScriptEntityListing>> getScriptsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ScriptEntityListing>> callback) Get the list of scripts- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptsDivisionviewsAsync
public Future<ScriptEntityListing> getScriptsDivisionviewsAsync(GetScriptsDivisionviewsRequest request, AsyncApiCallback<ScriptEntityListing> callback) Get the metadata for a list of scripts- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptsDivisionviewsAsync
public Future<ApiResponse<ScriptEntityListing>> getScriptsDivisionviewsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ScriptEntityListing>> callback) Get the metadata for a list of scripts- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptsPublishedAsync
public Future<ScriptEntityListing> getScriptsPublishedAsync(GetScriptsPublishedRequest request, AsyncApiCallback<ScriptEntityListing> callback) Get the published scripts.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptsPublishedAsync
public Future<ApiResponse<ScriptEntityListing>> getScriptsPublishedAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ScriptEntityListing>> callback) Get the published scripts.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptsPublishedDivisionviewVariablesAsync
public Future<Object> getScriptsPublishedDivisionviewVariablesAsync(GetScriptsPublishedDivisionviewVariablesRequest request, AsyncApiCallback<Object> callback) Get the published variables- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptsPublishedDivisionviewVariablesAsync
public Future<ApiResponse<Object>> getScriptsPublishedDivisionviewVariablesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Object>> callback) Get the published variables- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptsPublishedDivisionviewsAsync
public Future<ScriptEntityListing> getScriptsPublishedDivisionviewsAsync(GetScriptsPublishedDivisionviewsRequest request, AsyncApiCallback<ScriptEntityListing> callback) Get the published scripts metadata.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptsPublishedDivisionviewsAsync
public Future<ApiResponse<ScriptEntityListing>> getScriptsPublishedDivisionviewsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ScriptEntityListing>> callback) Get the published scripts metadata.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptsPublishedScriptIdAsync
public Future<Script> getScriptsPublishedScriptIdAsync(GetScriptsPublishedScriptIdRequest request, AsyncApiCallback<Script> callback) Get the published script.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptsPublishedScriptIdAsync
public Future<ApiResponse<Script>> getScriptsPublishedScriptIdAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Script>> callback) Get the published script.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptsPublishedScriptIdPageAsync
public Future<Page> getScriptsPublishedScriptIdPageAsync(GetScriptsPublishedScriptIdPageRequest request, AsyncApiCallback<Page> callback) Get the published page.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptsPublishedScriptIdPageAsync
public Future<ApiResponse<Page>> getScriptsPublishedScriptIdPageAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Page>> callback) Get the published page.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptsPublishedScriptIdPagesAsync
public Future<List<Page>> getScriptsPublishedScriptIdPagesAsync(GetScriptsPublishedScriptIdPagesRequest request, AsyncApiCallback<List<Page>> callback) Get the list of published pages- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptsPublishedScriptIdPagesAsync
public Future<ApiResponse<List<Page>>> getScriptsPublishedScriptIdPagesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<List<Page>>> callback) Get the list of published pages- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptsPublishedScriptIdVariablesAsync
public Future<Object> getScriptsPublishedScriptIdVariablesAsync(GetScriptsPublishedScriptIdVariablesRequest request, AsyncApiCallback<Object> callback) Get the published variables- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptsPublishedScriptIdVariablesAsync
public Future<ApiResponse<Object>> getScriptsPublishedScriptIdVariablesAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Object>> callback) Get the published variables- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptsUploadStatusAsync
public Future<ImportScriptStatusResponse> getScriptsUploadStatusAsync(GetScriptsUploadStatusRequest request, AsyncApiCallback<ImportScriptStatusResponse> callback) Get the upload status of an imported script- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getScriptsUploadStatusAsync
public Future<ApiResponse<ImportScriptStatusResponse>> getScriptsUploadStatusAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<ImportScriptStatusResponse>> callback) Get the upload status of an imported script- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postScriptExportAsync
public Future<ExportScriptResponse> postScriptExportAsync(PostScriptExportRequest request, AsyncApiCallback<ExportScriptResponse> callback) Export a script via download service.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postScriptExportAsync
public Future<ApiResponse<ExportScriptResponse>> postScriptExportAsync(ApiRequest<ExportScriptRequest> request, AsyncApiCallback<ApiResponse<ExportScriptResponse>> callback) Export a script via download service.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postScriptsPublishedAsync
public Future<Script> postScriptsPublishedAsync(PostScriptsPublishedRequest request, AsyncApiCallback<Script> callback) Publish a script.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postScriptsPublishedAsync
public Future<ApiResponse<Script>> postScriptsPublishedAsync(ApiRequest<PublishScriptRequestData> request, AsyncApiCallback<ApiResponse<Script>> callback) Publish a script.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-