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() |
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.
|
void |
setApiClient(ApiClient apiClient) |
public SmsControllerApi()
public SmsControllerApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
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 | - |
Copyright © 2023. All rights reserved.