public class SmsApi extends Object
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
void |
smsPost(SMS body)
Send a short SMS Message (maximum of 1600 characters) to any mobile phone.
|
com.squareup.okhttp.Call |
smsPostAsync(SMS body,
ApiCallback<Void> callback)
Send a short SMS Message (maximum of 1600 characters) to any mobile phone.
|
com.squareup.okhttp.Call |
smsPostCall(SMS body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for smsPost
|
ApiResponse<Void> |
smsPostWithHttpInfo(SMS body)
Send a short SMS Message (maximum of 1600 characters) to any mobile phone.
|
public SmsApi()
public SmsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call smsPostCall(SMS body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void smsPost(SMS body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> smsPostWithHttpInfo(SMS body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call smsPostAsync(SMS body, ApiCallback<Void> callback) throws ApiException
body - (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.