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.getFaxSummaryAsync(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.
-
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
-
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
-