Package com.mypurecloud.sdk.v2.api
Class FaxApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.FaxApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteFaxDocumentAsync(DeleteFaxDocumentRequest request, AsyncApiCallback<Void> callback) Delete a fax document.deleteFaxDocumentAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete a fax document.getFaxDocumentAsync(GetFaxDocumentRequest request, AsyncApiCallback<FaxDocument> callback) Get a document.getFaxDocumentAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<FaxDocument>> callback) Get a document.getFaxDocumentContentAsync(GetFaxDocumentContentRequest request, AsyncApiCallback<DownloadResponse> callback) Download a fax document.getFaxDocumentContentAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<DownloadResponse>> callback) Download a fax document.getFaxDocumentsAsync(GetFaxDocumentsRequest request, AsyncApiCallback<FaxDocumentEntityListing> callback) Get a list of fax documents.getFaxDocumentsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<FaxDocumentEntityListing>> callback) Get a list of fax documents.getFaxSettingsAsync(GetFaxSettingsRequest request, AsyncApiCallback<FaxConfig> callback) Get organization config for given organizationgetFaxSettingsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<FaxConfig>> callback) Get organization config for given organizationgetFaxSummaryAsync(GetFaxSummaryRequest request, AsyncApiCallback<FaxSummary> callback) Get fax summarygetFaxSummaryAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<FaxSummary>> callback) Get fax summaryputFaxDocumentAsync(PutFaxDocumentRequest request, AsyncApiCallback<FaxDocument> callback) Update a fax document.putFaxDocumentAsync(ApiRequest<FaxDocument> request, AsyncApiCallback<ApiResponse<FaxDocument>> callback) Update a fax document.putFaxSettingsAsync(PutFaxSettingsRequest request, AsyncApiCallback<FaxConfig> callback) Update/write organization config for given organizationputFaxSettingsAsync(ApiRequest<FaxConfig> request, AsyncApiCallback<ApiResponse<FaxConfig>> callback) Update/write organization config for given organization
-
Constructor Details
-
FaxApiAsync
public FaxApiAsync() -
FaxApiAsync
-
-
Method Details
-
deleteFaxDocumentAsync
public Future<Void> deleteFaxDocumentAsync(DeleteFaxDocumentRequest request, AsyncApiCallback<Void> callback) Delete a fax document.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteFaxDocumentAsync
public Future<ApiResponse<Void>> deleteFaxDocumentAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Delete a fax document.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getFaxDocumentAsync
public Future<FaxDocument> getFaxDocumentAsync(GetFaxDocumentRequest request, AsyncApiCallback<FaxDocument> callback) Get a document.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getFaxDocumentAsync
public Future<ApiResponse<FaxDocument>> getFaxDocumentAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<FaxDocument>> callback) Get a document.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getFaxDocumentContentAsync
public Future<DownloadResponse> getFaxDocumentContentAsync(GetFaxDocumentContentRequest request, AsyncApiCallback<DownloadResponse> callback) Download a fax document.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getFaxDocumentContentAsync
public Future<ApiResponse<DownloadResponse>> getFaxDocumentContentAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<DownloadResponse>> callback) Download a fax document.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getFaxDocumentsAsync
public Future<FaxDocumentEntityListing> getFaxDocumentsAsync(GetFaxDocumentsRequest request, AsyncApiCallback<FaxDocumentEntityListing> callback) Get a list of fax documents.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getFaxDocumentsAsync
public Future<ApiResponse<FaxDocumentEntityListing>> getFaxDocumentsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<FaxDocumentEntityListing>> callback) Get a list of fax documents.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getFaxSettingsAsync
public Future<FaxConfig> getFaxSettingsAsync(GetFaxSettingsRequest request, AsyncApiCallback<FaxConfig> callback) Get organization config for given organization- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getFaxSettingsAsync
public Future<ApiResponse<FaxConfig>> getFaxSettingsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<FaxConfig>> callback) Get organization config for given organization- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getFaxSummaryAsync
public Future<FaxSummary> getFaxSummaryAsync(GetFaxSummaryRequest request, AsyncApiCallback<FaxSummary> callback) Get fax summary- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getFaxSummaryAsync
public Future<ApiResponse<FaxSummary>> getFaxSummaryAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<FaxSummary>> callback) Get fax summary- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putFaxDocumentAsync
public Future<FaxDocument> putFaxDocumentAsync(PutFaxDocumentRequest request, AsyncApiCallback<FaxDocument> callback) Update a fax document.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putFaxDocumentAsync
public Future<ApiResponse<FaxDocument>> putFaxDocumentAsync(ApiRequest<FaxDocument> request, AsyncApiCallback<ApiResponse<FaxDocument>> callback) Update a fax document.- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putFaxSettingsAsync
public Future<FaxConfig> putFaxSettingsAsync(PutFaxSettingsRequest request, AsyncApiCallback<FaxConfig> callback) Update/write organization config for given organization- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
putFaxSettingsAsync
public Future<ApiResponse<FaxConfig>> putFaxSettingsAsync(ApiRequest<FaxConfig> request, AsyncApiCallback<ApiResponse<FaxConfig>> callback) Update/write organization config for given organization- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-