public class SmsCampaignApi extends Object
| Constructor and Description |
|---|
SmsCampaignApi() |
SmsCampaignApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
String |
smsCampaignBySmsCampaignIdGet(Integer smsCampaignId)
Get specific sms campaign
Get specific sms campaign
|
com.squareup.okhttp.Call |
smsCampaignBySmsCampaignIdGetAsync(Integer smsCampaignId,
ApiCallback<String> callback)
Get specific sms campaign (asynchronously)
Get specific sms campaign
|
com.squareup.okhttp.Call |
smsCampaignBySmsCampaignIdGetCall(Integer smsCampaignId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for smsCampaignBySmsCampaignIdGet
|
ApiResponse<String> |
smsCampaignBySmsCampaignIdGetWithHttpInfo(Integer smsCampaignId)
Get specific sms campaign
Get specific sms campaign
|
String |
smsCampaignsBySmsCampaignIdPut(Integer smsCampaignId,
SmsCampaign campaign)
Update sms campaign
Update sms campaign
|
com.squareup.okhttp.Call |
smsCampaignsBySmsCampaignIdPutAsync(Integer smsCampaignId,
SmsCampaign campaign,
ApiCallback<String> callback)
Update sms campaign (asynchronously)
Update sms campaign
|
com.squareup.okhttp.Call |
smsCampaignsBySmsCampaignIdPutCall(Integer smsCampaignId,
SmsCampaign campaign,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for smsCampaignsBySmsCampaignIdPut
|
ApiResponse<String> |
smsCampaignsBySmsCampaignIdPutWithHttpInfo(Integer smsCampaignId,
SmsCampaign campaign)
Update sms campaign
Update sms campaign
|
String |
smsCampaignsCancelBySmsCampaignIdPut(Integer smsCampaignId)
Cancel sms campaign
Cancel sms campaign
|
com.squareup.okhttp.Call |
smsCampaignsCancelBySmsCampaignIdPutAsync(Integer smsCampaignId,
ApiCallback<String> callback)
Cancel sms campaign (asynchronously)
Cancel sms campaign
|
com.squareup.okhttp.Call |
smsCampaignsCancelBySmsCampaignIdPutCall(Integer smsCampaignId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for smsCampaignsCancelBySmsCampaignIdPut
|
ApiResponse<String> |
smsCampaignsCancelBySmsCampaignIdPutWithHttpInfo(Integer smsCampaignId)
Cancel sms campaign
Cancel sms campaign
|
String |
smsCampaignsGet(Integer page,
Integer limit)
Get list of sms campaigns
Get list of sms campaigns
|
com.squareup.okhttp.Call |
smsCampaignsGetAsync(Integer page,
Integer limit,
ApiCallback<String> callback)
Get list of sms campaigns (asynchronously)
Get list of sms campaigns
|
com.squareup.okhttp.Call |
smsCampaignsGetCall(Integer page,
Integer limit,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for smsCampaignsGet
|
ApiResponse<String> |
smsCampaignsGetWithHttpInfo(Integer page,
Integer limit)
Get list of sms campaigns
Get list of sms campaigns
|
String |
smsCampaignsPricePost(SmsCampaign campaign)
Calculate price for sms campaign
Calculate price for sms campaign
|
com.squareup.okhttp.Call |
smsCampaignsPricePostAsync(SmsCampaign campaign,
ApiCallback<String> callback)
Calculate price for sms campaign (asynchronously)
Calculate price for sms campaign
|
com.squareup.okhttp.Call |
smsCampaignsPricePostCall(SmsCampaign campaign,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for smsCampaignsPricePost
|
ApiResponse<String> |
smsCampaignsPricePostWithHttpInfo(SmsCampaign campaign)
Calculate price for sms campaign
Calculate price for sms campaign
|
String |
smsCampaignsSendPost(SmsCampaign campaign)
Create sms campaign
Create sms campaign
|
com.squareup.okhttp.Call |
smsCampaignsSendPostAsync(SmsCampaign campaign,
ApiCallback<String> callback)
Create sms campaign (asynchronously)
Create sms campaign
|
com.squareup.okhttp.Call |
smsCampaignsSendPostCall(SmsCampaign campaign,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for smsCampaignsSendPost
|
ApiResponse<String> |
smsCampaignsSendPostWithHttpInfo(SmsCampaign campaign)
Create sms campaign
Create sms campaign
|
public SmsCampaignApi()
public SmsCampaignApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call smsCampaignBySmsCampaignIdGetCall(Integer smsCampaignId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
smsCampaignId - ID of SMS campaign to retrieve (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String smsCampaignBySmsCampaignIdGet(Integer smsCampaignId) throws ApiException
smsCampaignId - ID of SMS campaign to retrieve (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> smsCampaignBySmsCampaignIdGetWithHttpInfo(Integer smsCampaignId) throws ApiException
smsCampaignId - ID of SMS campaign to retrieve (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call smsCampaignBySmsCampaignIdGetAsync(Integer smsCampaignId, ApiCallback<String> callback) throws ApiException
smsCampaignId - ID of SMS campaign 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 smsCampaignsBySmsCampaignIdPutCall(Integer smsCampaignId, SmsCampaign campaign, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
smsCampaignId - ID of SMS campaign to update (required)campaign - SmsCampaign model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String smsCampaignsBySmsCampaignIdPut(Integer smsCampaignId, SmsCampaign campaign) throws ApiException
smsCampaignId - ID of SMS campaign to update (required)campaign - SmsCampaign model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> smsCampaignsBySmsCampaignIdPutWithHttpInfo(Integer smsCampaignId, SmsCampaign campaign) throws ApiException
smsCampaignId - ID of SMS campaign to update (required)campaign - SmsCampaign model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call smsCampaignsBySmsCampaignIdPutAsync(Integer smsCampaignId, SmsCampaign campaign, ApiCallback<String> callback) throws ApiException
smsCampaignId - ID of SMS campaign to update (required)campaign - SmsCampaign 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 smsCampaignsCancelBySmsCampaignIdPutCall(Integer smsCampaignId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
smsCampaignId - ID of SMS Campaign to cancel (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String smsCampaignsCancelBySmsCampaignIdPut(Integer smsCampaignId) throws ApiException
smsCampaignId - ID of SMS Campaign to cancel (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> smsCampaignsCancelBySmsCampaignIdPutWithHttpInfo(Integer smsCampaignId) throws ApiException
smsCampaignId - ID of SMS Campaign to cancel (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call smsCampaignsCancelBySmsCampaignIdPutAsync(Integer smsCampaignId, ApiCallback<String> callback) throws ApiException
smsCampaignId - ID of SMS Campaign to cancel (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 smsCampaignsGetCall(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 smsCampaignsGet(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> smsCampaignsGetWithHttpInfo(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 smsCampaignsGetAsync(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 smsCampaignsPricePostCall(SmsCampaign campaign, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
campaign - SmsCampaign model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String smsCampaignsPricePost(SmsCampaign campaign) throws ApiException
campaign - SmsCampaign model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> smsCampaignsPricePostWithHttpInfo(SmsCampaign campaign) throws ApiException
campaign - SmsCampaign model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call smsCampaignsPricePostAsync(SmsCampaign campaign, ApiCallback<String> callback) throws ApiException
campaign - SmsCampaign 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 smsCampaignsSendPostCall(SmsCampaign campaign, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
campaign - SmsCampaign model (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String smsCampaignsSendPost(SmsCampaign campaign) throws ApiException
campaign - SmsCampaign model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> smsCampaignsSendPostWithHttpInfo(SmsCampaign campaign) throws ApiException
campaign - SmsCampaign model (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call smsCampaignsSendPostAsync(SmsCampaign campaign, ApiCallback<String> callback) throws ApiException
campaign - SmsCampaign 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.