public class FaxApi extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
faxHistoryGet(Integer dateFrom,
Integer dateTo,
String q,
String order,
Integer page,
Integer limit)
Get a list of Fax History.
|
com.squareup.okhttp.Call |
faxHistoryGetAsync(Integer dateFrom,
Integer dateTo,
String q,
String order,
Integer page,
Integer limit,
ApiCallback<String> callback)
Get a list of Fax History.
|
com.squareup.okhttp.Call |
faxHistoryGetCall(Integer dateFrom,
Integer dateTo,
String q,
String order,
Integer page,
Integer limit,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for faxHistoryGet
|
ApiResponse<String> |
faxHistoryGetWithHttpInfo(Integer dateFrom,
Integer dateTo,
String q,
String order,
Integer page,
Integer limit)
Get a list of Fax History.
|
String |
faxPricePost(FaxMessageCollection faxMessage)
Calculate Total Price for Fax Messages sent
Calculate Total Price for Fax Messages sent
|
com.squareup.okhttp.Call |
faxPricePostAsync(FaxMessageCollection faxMessage,
ApiCallback<String> callback)
Calculate Total Price for Fax Messages sent (asynchronously)
Calculate Total Price for Fax Messages sent
|
com.squareup.okhttp.Call |
faxPricePostCall(FaxMessageCollection faxMessage,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for faxPricePost
|
ApiResponse<String> |
faxPricePostWithHttpInfo(FaxMessageCollection faxMessage)
Calculate Total Price for Fax Messages sent
Calculate Total Price for Fax Messages sent
|
String |
faxReceiptsByMessageIdGet(String messageId)
Get a single fax receipt based on message id.
|
com.squareup.okhttp.Call |
faxReceiptsByMessageIdGetAsync(String messageId,
ApiCallback<String> callback)
Get a single fax receipt based on message id.
|
com.squareup.okhttp.Call |
faxReceiptsByMessageIdGetCall(String messageId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for faxReceiptsByMessageIdGet
|
ApiResponse<String> |
faxReceiptsByMessageIdGetWithHttpInfo(String messageId)
Get a single fax receipt based on message id.
|
String |
faxReceiptsGet(Integer page,
Integer limit)
Get all delivery receipts
Get all delivery receipts
|
com.squareup.okhttp.Call |
faxReceiptsGetAsync(Integer page,
Integer limit,
ApiCallback<String> callback)
Get all delivery receipts (asynchronously)
Get all delivery receipts
|
com.squareup.okhttp.Call |
faxReceiptsGetCall(Integer page,
Integer limit,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for faxReceiptsGet
|
ApiResponse<String> |
faxReceiptsGetWithHttpInfo(Integer page,
Integer limit)
Get all delivery receipts
Get all delivery receipts
|
String |
faxReceiptsPost(Url url)
Add a delivery receipt
Add a delivery receipt
|
com.squareup.okhttp.Call |
faxReceiptsPostAsync(Url url,
ApiCallback<String> callback)
Add a delivery receipt (asynchronously)
Add a delivery receipt
|
com.squareup.okhttp.Call |
faxReceiptsPostCall(Url url,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for faxReceiptsPost
|
ApiResponse<String> |
faxReceiptsPostWithHttpInfo(Url url)
Add a delivery receipt
Add a delivery receipt
|
String |
faxReceiptsReadPut(DateBefore dateBefore)
Mark delivery receipts as read
Mark delivery receipts as read
|
com.squareup.okhttp.Call |
faxReceiptsReadPutAsync(DateBefore dateBefore,
ApiCallback<String> callback)
Mark delivery receipts as read (asynchronously)
Mark delivery receipts as read
|
com.squareup.okhttp.Call |
faxReceiptsReadPutCall(DateBefore dateBefore,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for faxReceiptsReadPut
|
ApiResponse<String> |
faxReceiptsReadPutWithHttpInfo(DateBefore dateBefore)
Mark delivery receipts as read
Mark delivery receipts as read
|
String |
faxSendPost(FaxMessageCollection faxMessage)
Send a fax using supplied supported file-types.
|
com.squareup.okhttp.Call |
faxSendPostAsync(FaxMessageCollection faxMessage,
ApiCallback<String> callback)
Send a fax using supplied supported file-types.
|
com.squareup.okhttp.Call |
faxSendPostCall(FaxMessageCollection faxMessage,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for faxSendPost
|
ApiResponse<String> |
faxSendPostWithHttpInfo(FaxMessageCollection faxMessage)
Send a fax using supplied supported file-types.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public FaxApi()
public FaxApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call faxHistoryGetCall(Integer dateFrom, Integer dateTo, String q, String order, Integer page, Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
dateFrom - Customize result by setting from date (timestsamp) Example: 1457572619. (optional)dateTo - Customize result by setting to date (timestamp) Example: 1457573000. (optional)q - Custom query Example: status:Sent,status_code:201. (optional)order - Order result by Example: date_added:desc,list_id:desc. (optional)page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String faxHistoryGet(Integer dateFrom, Integer dateTo, String q, String order, Integer page, Integer limit) throws ApiException
dateFrom - Customize result by setting from date (timestsamp) Example: 1457572619. (optional)dateTo - Customize result by setting to date (timestamp) Example: 1457573000. (optional)q - Custom query Example: status:Sent,status_code:201. (optional)order - Order result by Example: date_added:desc,list_id:desc. (optional)page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> faxHistoryGetWithHttpInfo(Integer dateFrom, Integer dateTo, String q, String order, Integer page, Integer limit) throws ApiException
dateFrom - Customize result by setting from date (timestsamp) Example: 1457572619. (optional)dateTo - Customize result by setting to date (timestamp) Example: 1457573000. (optional)q - Custom query Example: status:Sent,status_code:201. (optional)order - Order result by Example: date_added:desc,list_id:desc. (optional)page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call faxHistoryGetAsync(Integer dateFrom, Integer dateTo, String q, String order, Integer page, Integer limit, ApiCallback<String> callback) throws ApiException
dateFrom - Customize result by setting from date (timestsamp) Example: 1457572619. (optional)dateTo - Customize result by setting to date (timestamp) Example: 1457573000. (optional)q - Custom query Example: status:Sent,status_code:201. (optional)order - Order result by Example: date_added:desc,list_id:desc. (optional)page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call faxPricePostCall(FaxMessageCollection faxMessage, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
faxMessage - FaxMessageCollection model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String faxPricePost(FaxMessageCollection faxMessage) throws ApiException
faxMessage - FaxMessageCollection model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> faxPricePostWithHttpInfo(FaxMessageCollection faxMessage) throws ApiException
faxMessage - FaxMessageCollection model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call faxPricePostAsync(FaxMessageCollection faxMessage, ApiCallback<String> callback) throws ApiException
faxMessage - FaxMessageCollection model (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call faxReceiptsByMessageIdGetCall(String messageId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
messageId - ID of the message receipt to retrieve (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String faxReceiptsByMessageIdGet(String messageId) throws ApiException
messageId - ID of the message receipt to retrieve (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> faxReceiptsByMessageIdGetWithHttpInfo(String messageId) throws ApiException
messageId - ID of the message receipt to retrieve (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call faxReceiptsByMessageIdGetAsync(String messageId, ApiCallback<String> callback) throws ApiException
messageId - ID of the message receipt to retrieve (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call faxReceiptsGetCall(Integer page, Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String faxReceiptsGet(Integer page, Integer limit) throws ApiException
page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> faxReceiptsGetWithHttpInfo(Integer page, Integer limit) throws ApiException
page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call faxReceiptsGetAsync(Integer page, Integer limit, ApiCallback<String> callback) throws ApiException
page - Page number (optional, default to 1)limit - Number of records per page (optional, default to 10)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call faxReceiptsPostCall(Url url, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
url - Url model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String faxReceiptsPost(Url url) throws ApiException
url - Url model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> faxReceiptsPostWithHttpInfo(Url url) throws ApiException
url - Url model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call faxReceiptsPostAsync(Url url, ApiCallback<String> callback) throws ApiException
url - Url model (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call faxReceiptsReadPutCall(DateBefore dateBefore, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
dateBefore - DateBefore model (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String faxReceiptsReadPut(DateBefore dateBefore) throws ApiException
dateBefore - DateBefore model (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> faxReceiptsReadPutWithHttpInfo(DateBefore dateBefore) throws ApiException
dateBefore - DateBefore model (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call faxReceiptsReadPutAsync(DateBefore dateBefore, ApiCallback<String> callback) throws ApiException
dateBefore - DateBefore model (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call faxSendPostCall(FaxMessageCollection faxMessage, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
faxMessage - FaxMessageCollection model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String faxSendPost(FaxMessageCollection faxMessage) throws ApiException
faxMessage - FaxMessageCollection model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> faxSendPostWithHttpInfo(FaxMessageCollection faxMessage) throws ApiException
faxMessage - FaxMessageCollection model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call faxSendPostAsync(FaxMessageCollection faxMessage, ApiCallback<String> callback) throws ApiException
faxMessage - FaxMessageCollection model (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2019. All rights reserved.