public class SmsControllerApi extends Object
Constructor and Description |
---|
SmsControllerApi() |
SmsControllerApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
void |
deleteSmsMessage(UUID smsId)
Delete SMS message.
|
okhttp3.Call |
deleteSmsMessageAsync(UUID smsId,
ApiCallback<Void> _callback)
Delete SMS message.
|
okhttp3.Call |
deleteSmsMessageCall(UUID smsId,
ApiCallback _callback)
Build call for deleteSmsMessage
|
void |
deleteSmsMessages(UUID phoneNumberId)
Delete all SMS messages
Delete all SMS messages or all messages for a given phone number
|
okhttp3.Call |
deleteSmsMessagesAsync(UUID phoneNumberId,
ApiCallback<Void> _callback)
Delete all SMS messages (asynchronously)
Delete all SMS messages or all messages for a given phone number
|
okhttp3.Call |
deleteSmsMessagesCall(UUID phoneNumberId,
ApiCallback _callback)
Build call for deleteSmsMessages
|
ApiResponse<Void> |
deleteSmsMessagesWithHttpInfo(UUID phoneNumberId)
Delete all SMS messages
Delete all SMS messages or all messages for a given phone number
|
ApiResponse<Void> |
deleteSmsMessageWithHttpInfo(UUID smsId)
Delete SMS message.
|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
SmsDto |
getSmsMessage(UUID smsId)
Get SMS content including body.
|
okhttp3.Call |
getSmsMessageAsync(UUID smsId,
ApiCallback<SmsDto> _callback)
Get SMS content including body.
|
okhttp3.Call |
getSmsMessageCall(UUID smsId,
ApiCallback _callback)
Build call for getSmsMessage
|
PageSmsProjection |
getSmsMessagesPaginated(UUID phoneNumber,
Integer page,
Integer size,
String sort,
Boolean unreadOnly,
OffsetDateTime since,
OffsetDateTime before)
Get all SMS messages in all phone numbers in paginated form.
|
okhttp3.Call |
getSmsMessagesPaginatedAsync(UUID phoneNumber,
Integer page,
Integer size,
String sort,
Boolean unreadOnly,
OffsetDateTime since,
OffsetDateTime before,
ApiCallback<PageSmsProjection> _callback)
Get all SMS messages in all phone numbers in paginated form.
|
okhttp3.Call |
getSmsMessagesPaginatedCall(UUID phoneNumber,
Integer page,
Integer size,
String sort,
Boolean unreadOnly,
OffsetDateTime since,
OffsetDateTime before,
ApiCallback _callback)
Build call for getSmsMessagesPaginated
|
ApiResponse<PageSmsProjection> |
getSmsMessagesPaginatedWithHttpInfo(UUID phoneNumber,
Integer page,
Integer size,
String sort,
Boolean unreadOnly,
OffsetDateTime since,
OffsetDateTime before)
Get all SMS messages in all phone numbers in paginated form.
|
ApiResponse<SmsDto> |
getSmsMessageWithHttpInfo(UUID smsId)
Get SMS content including body.
|
UnreadCount |
getUnreadSmsCount()
Get unread SMS count
Get number of SMS unread.
|
okhttp3.Call |
getUnreadSmsCountAsync(ApiCallback<UnreadCount> _callback)
Get unread SMS count (asynchronously)
Get number of SMS unread.
|
okhttp3.Call |
getUnreadSmsCountCall(ApiCallback _callback)
Build call for getUnreadSmsCount
|
ApiResponse<UnreadCount> |
getUnreadSmsCountWithHttpInfo()
Get unread SMS count
Get number of SMS unread.
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public SmsControllerApi()
public SmsControllerApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call deleteSmsMessageCall(UUID smsId, ApiCallback _callback) throws ApiException
smsId
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
204 | No Content | - |
public void deleteSmsMessage(UUID smsId) throws ApiException
smsId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
204 | No Content | - |
public ApiResponse<Void> deleteSmsMessageWithHttpInfo(UUID smsId) throws ApiException
smsId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
204 | No Content | - |
public okhttp3.Call deleteSmsMessageAsync(UUID smsId, ApiCallback<Void> _callback) throws ApiException
smsId
- (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 objectStatus Code | Description | Response Headers |
204 | No Content | - |
public okhttp3.Call deleteSmsMessagesCall(UUID phoneNumberId, ApiCallback _callback) throws ApiException
phoneNumberId
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
204 | No Content | - |
public void deleteSmsMessages(UUID phoneNumberId) throws ApiException
phoneNumberId
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
204 | No Content | - |
public ApiResponse<Void> deleteSmsMessagesWithHttpInfo(UUID phoneNumberId) throws ApiException
phoneNumberId
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
204 | No Content | - |
public okhttp3.Call deleteSmsMessagesAsync(UUID phoneNumberId, ApiCallback<Void> _callback) throws ApiException
phoneNumberId
- (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 objectStatus Code | Description | Response Headers |
204 | No Content | - |
public okhttp3.Call getSmsMessageCall(UUID smsId, ApiCallback _callback) throws ApiException
smsId
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public SmsDto getSmsMessage(UUID smsId) throws ApiException
smsId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<SmsDto> getSmsMessageWithHttpInfo(UUID smsId) throws ApiException
smsId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getSmsMessageAsync(UUID smsId, ApiCallback<SmsDto> _callback) throws ApiException
smsId
- (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 objectStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getSmsMessagesPaginatedCall(UUID phoneNumber, Integer page, Integer size, String sort, Boolean unreadOnly, OffsetDateTime since, OffsetDateTime before, ApiCallback _callback) throws ApiException
phoneNumber
- Optional receiving phone number to filter SMS messages for (optional)page
- Optional page index in SMS list pagination (optional, default to 0)size
- Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)unreadOnly
- Optional filter for unread SMS only. All SMS are considered unread until they are viewed in the dashboard or requested directly (optional, default to false)since
- Optional filter SMSs received after given date time (optional)before
- Optional filter SMSs received before given date time (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public PageSmsProjection getSmsMessagesPaginated(UUID phoneNumber, Integer page, Integer size, String sort, Boolean unreadOnly, OffsetDateTime since, OffsetDateTime before) throws ApiException
phoneNumber
- Optional receiving phone number to filter SMS messages for (optional)page
- Optional page index in SMS list pagination (optional, default to 0)size
- Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)unreadOnly
- Optional filter for unread SMS only. All SMS are considered unread until they are viewed in the dashboard or requested directly (optional, default to false)since
- Optional filter SMSs received after given date time (optional)before
- Optional filter SMSs received before given date time (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<PageSmsProjection> getSmsMessagesPaginatedWithHttpInfo(UUID phoneNumber, Integer page, Integer size, String sort, Boolean unreadOnly, OffsetDateTime since, OffsetDateTime before) throws ApiException
phoneNumber
- Optional receiving phone number to filter SMS messages for (optional)page
- Optional page index in SMS list pagination (optional, default to 0)size
- Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)unreadOnly
- Optional filter for unread SMS only. All SMS are considered unread until they are viewed in the dashboard or requested directly (optional, default to false)since
- Optional filter SMSs received after given date time (optional)before
- Optional filter SMSs received before given date time (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getSmsMessagesPaginatedAsync(UUID phoneNumber, Integer page, Integer size, String sort, Boolean unreadOnly, OffsetDateTime since, OffsetDateTime before, ApiCallback<PageSmsProjection> _callback) throws ApiException
phoneNumber
- Optional receiving phone number to filter SMS messages for (optional)page
- Optional page index in SMS list pagination (optional, default to 0)size
- Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)unreadOnly
- Optional filter for unread SMS only. All SMS are considered unread until they are viewed in the dashboard or requested directly (optional, default to false)since
- Optional filter SMSs received after given date time (optional)before
- Optional filter SMSs received before given date time (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 objectStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getUnreadSmsCountCall(ApiCallback _callback) throws ApiException
_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public UnreadCount getUnreadSmsCount() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<UnreadCount> getUnreadSmsCountWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getUnreadSmsCountAsync(ApiCallback<UnreadCount> _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 objectStatus Code | Description | Response Headers |
200 | OK | - |
Copyright © 2023. All rights reserved.