public class VoiceApi extends Object
| Constructor and Description |
|---|
VoiceApi() |
VoiceApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
String |
voiceCancelAllPut()
Update all voice messages as cancelled
Update all voice messages as cancelled
|
com.squareup.okhttp.Call |
voiceCancelAllPutAsync(ApiCallback<String> callback)
Update all voice messages as cancelled (asynchronously)
Update all voice messages as cancelled
|
com.squareup.okhttp.Call |
voiceCancelAllPutCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for voiceCancelAllPut
|
ApiResponse<String> |
voiceCancelAllPutWithHttpInfo()
Update all voice messages as cancelled
Update all voice messages as cancelled
|
String |
voiceCancelByMessageIdPut(String messageId)
Update voice message status as cancelled
Update voice message status as cancelled
|
com.squareup.okhttp.Call |
voiceCancelByMessageIdPutAsync(String messageId,
ApiCallback<String> callback)
Update voice message status as cancelled (asynchronously)
Update voice message status as cancelled
|
com.squareup.okhttp.Call |
voiceCancelByMessageIdPutCall(String messageId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for voiceCancelByMessageIdPut
|
ApiResponse<String> |
voiceCancelByMessageIdPutWithHttpInfo(String messageId)
Update voice message status as cancelled
Update voice message status as cancelled
|
String |
voiceHistoryExportGet(String filename)
Export voice history
Export voice history
|
com.squareup.okhttp.Call |
voiceHistoryExportGetAsync(String filename,
ApiCallback<String> callback)
Export voice history (asynchronously)
Export voice history
|
com.squareup.okhttp.Call |
voiceHistoryExportGetCall(String filename,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for voiceHistoryExportGet
|
ApiResponse<String> |
voiceHistoryExportGetWithHttpInfo(String filename)
Export voice history
Export voice history
|
String |
voiceHistoryGet(Integer dateFrom,
Integer dateTo,
Integer page,
Integer limit)
Get all voice history
Get all voice history
|
com.squareup.okhttp.Call |
voiceHistoryGetAsync(Integer dateFrom,
Integer dateTo,
Integer page,
Integer limit,
ApiCallback<String> callback)
Get all voice history (asynchronously)
Get all voice history
|
com.squareup.okhttp.Call |
voiceHistoryGetCall(Integer dateFrom,
Integer dateTo,
Integer page,
Integer limit,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for voiceHistoryGet
|
ApiResponse<String> |
voiceHistoryGetWithHttpInfo(Integer dateFrom,
Integer dateTo,
Integer page,
Integer limit)
Get all voice history
Get all voice history
|
String |
voiceLangGet()
Get all voice languages
Get all voice languages
|
com.squareup.okhttp.Call |
voiceLangGetAsync(ApiCallback<String> callback)
Get all voice languages (asynchronously)
Get all voice languages
|
com.squareup.okhttp.Call |
voiceLangGetCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for voiceLangGet
|
ApiResponse<String> |
voiceLangGetWithHttpInfo()
Get all voice languages
Get all voice languages
|
String |
voicePricePost(VoiceMessageCollection voiceMessages)
Calculate voice price
Calculate voice price
|
com.squareup.okhttp.Call |
voicePricePostAsync(VoiceMessageCollection voiceMessages,
ApiCallback<String> callback)
Calculate voice price (asynchronously)
Calculate voice price
|
com.squareup.okhttp.Call |
voicePricePostCall(VoiceMessageCollection voiceMessages,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for voicePricePost
|
ApiResponse<String> |
voicePricePostWithHttpInfo(VoiceMessageCollection voiceMessages)
Calculate voice price
Calculate voice price
|
String |
voiceReceiptsGet(Integer page,
Integer limit)
Get all delivery receipts
Get all delivery receipts
|
com.squareup.okhttp.Call |
voiceReceiptsGetAsync(Integer page,
Integer limit,
ApiCallback<String> callback)
Get all delivery receipts (asynchronously)
Get all delivery receipts
|
com.squareup.okhttp.Call |
voiceReceiptsGetCall(Integer page,
Integer limit,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for voiceReceiptsGet
|
ApiResponse<String> |
voiceReceiptsGetWithHttpInfo(Integer page,
Integer limit)
Get all delivery receipts
Get all delivery receipts
|
String |
voiceReceiptsPost(Url url)
Add a delivery receipt
Add a delivery receipt
|
com.squareup.okhttp.Call |
voiceReceiptsPostAsync(Url url,
ApiCallback<String> callback)
Add a delivery receipt (asynchronously)
Add a delivery receipt
|
com.squareup.okhttp.Call |
voiceReceiptsPostCall(Url url,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for voiceReceiptsPost
|
ApiResponse<String> |
voiceReceiptsPostWithHttpInfo(Url url)
Add a delivery receipt
Add a delivery receipt
|
String |
voiceReceiptsReadPut(DateBefore dateBefore)
Mark delivery receipts as read
Mark delivery receipts as read
|
com.squareup.okhttp.Call |
voiceReceiptsReadPutAsync(DateBefore dateBefore,
ApiCallback<String> callback)
Mark delivery receipts as read (asynchronously)
Mark delivery receipts as read
|
com.squareup.okhttp.Call |
voiceReceiptsReadPutCall(DateBefore dateBefore,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for voiceReceiptsReadPut
|
ApiResponse<String> |
voiceReceiptsReadPutWithHttpInfo(DateBefore dateBefore)
Mark delivery receipts as read
Mark delivery receipts as read
|
String |
voiceSendPost(VoiceMessageCollection voiceMessages)
Send voice message(s)
Send a voice call
|
com.squareup.okhttp.Call |
voiceSendPostAsync(VoiceMessageCollection voiceMessages,
ApiCallback<String> callback)
Send voice message(s) (asynchronously)
Send a voice call
|
com.squareup.okhttp.Call |
voiceSendPostCall(VoiceMessageCollection voiceMessages,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for voiceSendPost
|
ApiResponse<String> |
voiceSendPostWithHttpInfo(VoiceMessageCollection voiceMessages)
Send voice message(s)
Send a voice call
|
public VoiceApi()
public VoiceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call voiceCancelAllPutCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String voiceCancelAllPut() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> voiceCancelAllPutWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call voiceCancelAllPutAsync(ApiCallback<String> callback) throws ApiException
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 voiceCancelByMessageIdPutCall(String messageId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
messageId - Your voice message id (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String voiceCancelByMessageIdPut(String messageId) throws ApiException
messageId - Your voice message id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> voiceCancelByMessageIdPutWithHttpInfo(String messageId) throws ApiException
messageId - Your voice message id (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call voiceCancelByMessageIdPutAsync(String messageId, ApiCallback<String> callback) throws ApiException
messageId - Your voice message id (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 voiceHistoryExportGetCall(String filename, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
filename - Filename to export to (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String voiceHistoryExportGet(String filename) throws ApiException
filename - Filename to export to (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> voiceHistoryExportGetWithHttpInfo(String filename) throws ApiException
filename - Filename to export to (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call voiceHistoryExportGetAsync(String filename, ApiCallback<String> callback) throws ApiException
filename - Filename to export to (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 voiceHistoryGetCall(Integer dateFrom, Integer dateTo, Integer page, Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
dateFrom - Timestamp (from) used to show records by date. (optional)dateTo - Timestamp (to) used to show records by date (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 voiceHistoryGet(Integer dateFrom, Integer dateTo, Integer page, Integer limit) throws ApiException
dateFrom - Timestamp (from) used to show records by date. (optional)dateTo - Timestamp (to) used to show records by date (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> voiceHistoryGetWithHttpInfo(Integer dateFrom, Integer dateTo, Integer page, Integer limit) throws ApiException
dateFrom - Timestamp (from) used to show records by date. (optional)dateTo - Timestamp (to) used to show records by date (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 voiceHistoryGetAsync(Integer dateFrom, Integer dateTo, Integer page, Integer limit, ApiCallback<String> callback) throws ApiException
dateFrom - Timestamp (from) used to show records by date. (optional)dateTo - Timestamp (to) used to show records by date (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 voiceLangGetCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String voiceLangGet() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> voiceLangGetWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call voiceLangGetAsync(ApiCallback<String> callback) throws ApiException
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 voicePricePostCall(VoiceMessageCollection voiceMessages, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
voiceMessages - VoiceMessageCollection model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String voicePricePost(VoiceMessageCollection voiceMessages) throws ApiException
voiceMessages - VoiceMessageCollection model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> voicePricePostWithHttpInfo(VoiceMessageCollection voiceMessages) throws ApiException
voiceMessages - VoiceMessageCollection model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call voicePricePostAsync(VoiceMessageCollection voiceMessages, ApiCallback<String> callback) throws ApiException
voiceMessages - VoiceMessageCollection 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 voiceReceiptsGetCall(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 voiceReceiptsGet(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> voiceReceiptsGetWithHttpInfo(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 voiceReceiptsGetAsync(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 voiceReceiptsPostCall(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 voiceReceiptsPost(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> voiceReceiptsPostWithHttpInfo(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 voiceReceiptsPostAsync(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 voiceReceiptsReadPutCall(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 voiceReceiptsReadPut(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> voiceReceiptsReadPutWithHttpInfo(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 voiceReceiptsReadPutAsync(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 voiceSendPostCall(VoiceMessageCollection voiceMessages, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
voiceMessages - VoiceMessageCollection model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String voiceSendPost(VoiceMessageCollection voiceMessages) throws ApiException
voiceMessages - VoiceMessageCollection model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> voiceSendPostWithHttpInfo(VoiceMessageCollection voiceMessages) throws ApiException
voiceMessages - VoiceMessageCollection model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call voiceSendPostAsync(VoiceMessageCollection voiceMessages, ApiCallback<String> callback) throws ApiException
voiceMessages - VoiceMessageCollection 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.