SmsControllerApi
in package
SmsControllerApi Class Doc Comment
Tags
Table of Contents
- contentTypes = ['deleteSentSmsMessage' => ['application/json'], 'deleteSentSmsMessages' => ['application/json'], 'deleteSmsMessage' => ['application/json'], 'deleteSmsMessages' => ['application/json'], 'downloadSmsMedia' => ['application/json'], 'downloadSmsMediaBase64' => ['application/json'], 'getAllSmsMessages' => ['application/json'], 'getReplyForSmsMessage' => ['application/json'], 'getSentSmsCount' => ['application/json'], 'getSentSmsMessage' => ['application/json'], 'getSentSmsMessagesPaginated' => ['application/json'], 'getSmsCodes' => ['application/json'], 'getSmsCount' => ['application/json'], 'getSmsMedia' => ['application/json'], 'getSmsMediaById' => ['application/json'], 'getSmsMessage' => ['application/json'], 'getUnreadSmsCount' => ['application/json'], 'markAllSmsAsRead' => ['application/json'], 'markSmsAsRead' => ['application/json'], 'replyToSmsMessage' => ['application/json'], 'sendSms' => ['application/json'], 'setSmsFavourited' => ['application/json']]
- $client : ClientInterface
- $config : Configuration
- $headerSelector : HeaderSelector
- $hostIndex : int
- __construct() : mixed
- deleteSentSmsMessage() : void
- Operation deleteSentSmsMessage
- deleteSentSmsMessageAsync() : PromiseInterface
- Operation deleteSentSmsMessageAsync
- deleteSentSmsMessageAsyncWithHttpInfo() : PromiseInterface
- Operation deleteSentSmsMessageAsyncWithHttpInfo
- deleteSentSmsMessageRequest() : Request
- Create request for operation 'deleteSentSmsMessage'
- deleteSentSmsMessages() : void
- Operation deleteSentSmsMessages
- deleteSentSmsMessagesAsync() : PromiseInterface
- Operation deleteSentSmsMessagesAsync
- deleteSentSmsMessagesAsyncWithHttpInfo() : PromiseInterface
- Operation deleteSentSmsMessagesAsyncWithHttpInfo
- deleteSentSmsMessagesRequest() : Request
- Create request for operation 'deleteSentSmsMessages'
- deleteSentSmsMessagesWithHttpInfo() : array<string|int, mixed>
- Operation deleteSentSmsMessagesWithHttpInfo
- deleteSentSmsMessageWithHttpInfo() : array<string|int, mixed>
- Operation deleteSentSmsMessageWithHttpInfo
- deleteSmsMessage() : void
- Operation deleteSmsMessage
- deleteSmsMessageAsync() : PromiseInterface
- Operation deleteSmsMessageAsync
- deleteSmsMessageAsyncWithHttpInfo() : PromiseInterface
- Operation deleteSmsMessageAsyncWithHttpInfo
- deleteSmsMessageRequest() : Request
- Create request for operation 'deleteSmsMessage'
- deleteSmsMessages() : void
- Operation deleteSmsMessages
- deleteSmsMessagesAsync() : PromiseInterface
- Operation deleteSmsMessagesAsync
- deleteSmsMessagesAsyncWithHttpInfo() : PromiseInterface
- Operation deleteSmsMessagesAsyncWithHttpInfo
- deleteSmsMessagesRequest() : Request
- Create request for operation 'deleteSmsMessages'
- deleteSmsMessagesWithHttpInfo() : array<string|int, mixed>
- Operation deleteSmsMessagesWithHttpInfo
- deleteSmsMessageWithHttpInfo() : array<string|int, mixed>
- Operation deleteSmsMessageWithHttpInfo
- downloadSmsMedia() : void
- Operation downloadSmsMedia
- downloadSmsMediaAsync() : PromiseInterface
- Operation downloadSmsMediaAsync
- downloadSmsMediaAsyncWithHttpInfo() : PromiseInterface
- Operation downloadSmsMediaAsyncWithHttpInfo
- downloadSmsMediaBase64() : void
- Operation downloadSmsMediaBase64
- downloadSmsMediaBase64Async() : PromiseInterface
- Operation downloadSmsMediaBase64Async
- downloadSmsMediaBase64AsyncWithHttpInfo() : PromiseInterface
- Operation downloadSmsMediaBase64AsyncWithHttpInfo
- downloadSmsMediaBase64Request() : Request
- Create request for operation 'downloadSmsMediaBase64'
- downloadSmsMediaBase64WithHttpInfo() : array<string|int, mixed>
- Operation downloadSmsMediaBase64WithHttpInfo
- downloadSmsMediaRequest() : Request
- Create request for operation 'downloadSmsMedia'
- downloadSmsMediaWithHttpInfo() : array<string|int, mixed>
- Operation downloadSmsMediaWithHttpInfo
- getAllSmsMessages() : PageSmsProjection
- Operation getAllSmsMessages
- getAllSmsMessagesAsync() : PromiseInterface
- Operation getAllSmsMessagesAsync
- getAllSmsMessagesAsyncWithHttpInfo() : PromiseInterface
- Operation getAllSmsMessagesAsyncWithHttpInfo
- getAllSmsMessagesRequest() : Request
- Create request for operation 'getAllSmsMessages'
- getAllSmsMessagesWithHttpInfo() : array<string|int, mixed>
- Operation getAllSmsMessagesWithHttpInfo
- getConfig() : Configuration
- getHostIndex() : int
- Get the host index
- getReplyForSmsMessage() : ReplyForSms
- Operation getReplyForSmsMessage
- getReplyForSmsMessageAsync() : PromiseInterface
- Operation getReplyForSmsMessageAsync
- getReplyForSmsMessageAsyncWithHttpInfo() : PromiseInterface
- Operation getReplyForSmsMessageAsyncWithHttpInfo
- getReplyForSmsMessageRequest() : Request
- Create request for operation 'getReplyForSmsMessage'
- getReplyForSmsMessageWithHttpInfo() : array<string|int, mixed>
- Operation getReplyForSmsMessageWithHttpInfo
- getSentSmsCount() : CountDto
- Operation getSentSmsCount
- getSentSmsCountAsync() : PromiseInterface
- Operation getSentSmsCountAsync
- getSentSmsCountAsyncWithHttpInfo() : PromiseInterface
- Operation getSentSmsCountAsyncWithHttpInfo
- getSentSmsCountRequest() : Request
- Create request for operation 'getSentSmsCount'
- getSentSmsCountWithHttpInfo() : array<string|int, mixed>
- Operation getSentSmsCountWithHttpInfo
- getSentSmsMessage() : SentSmsDto
- Operation getSentSmsMessage
- getSentSmsMessageAsync() : PromiseInterface
- Operation getSentSmsMessageAsync
- getSentSmsMessageAsyncWithHttpInfo() : PromiseInterface
- Operation getSentSmsMessageAsyncWithHttpInfo
- getSentSmsMessageRequest() : Request
- Create request for operation 'getSentSmsMessage'
- getSentSmsMessagesPaginated() : PageSentSmsProjection
- Operation getSentSmsMessagesPaginated
- getSentSmsMessagesPaginatedAsync() : PromiseInterface
- Operation getSentSmsMessagesPaginatedAsync
- getSentSmsMessagesPaginatedAsyncWithHttpInfo() : PromiseInterface
- Operation getSentSmsMessagesPaginatedAsyncWithHttpInfo
- getSentSmsMessagesPaginatedRequest() : Request
- Create request for operation 'getSentSmsMessagesPaginated'
- getSentSmsMessagesPaginatedWithHttpInfo() : array<string|int, mixed>
- Operation getSentSmsMessagesPaginatedWithHttpInfo
- getSentSmsMessageWithHttpInfo() : array<string|int, mixed>
- Operation getSentSmsMessageWithHttpInfo
- getSmsCodes() : ExtractCodesResult
- Operation getSmsCodes
- getSmsCodesAsync() : PromiseInterface
- Operation getSmsCodesAsync
- getSmsCodesAsyncWithHttpInfo() : PromiseInterface
- Operation getSmsCodesAsyncWithHttpInfo
- getSmsCodesRequest() : Request
- Create request for operation 'getSmsCodes'
- getSmsCodesWithHttpInfo() : array<string|int, mixed>
- Operation getSmsCodesWithHttpInfo
- getSmsCount() : CountDto
- Operation getSmsCount
- getSmsCountAsync() : PromiseInterface
- Operation getSmsCountAsync
- getSmsCountAsyncWithHttpInfo() : PromiseInterface
- Operation getSmsCountAsyncWithHttpInfo
- getSmsCountRequest() : Request
- Create request for operation 'getSmsCount'
- getSmsCountWithHttpInfo() : array<string|int, mixed>
- Operation getSmsCountWithHttpInfo
- getSmsMedia() : array<string|int, SmsMessageMediaDto>
- Operation getSmsMedia
- getSmsMediaAsync() : PromiseInterface
- Operation getSmsMediaAsync
- getSmsMediaAsyncWithHttpInfo() : PromiseInterface
- Operation getSmsMediaAsyncWithHttpInfo
- getSmsMediaById() : SmsMessageMediaDto
- Operation getSmsMediaById
- getSmsMediaByIdAsync() : PromiseInterface
- Operation getSmsMediaByIdAsync
- getSmsMediaByIdAsyncWithHttpInfo() : PromiseInterface
- Operation getSmsMediaByIdAsyncWithHttpInfo
- getSmsMediaByIdRequest() : Request
- Create request for operation 'getSmsMediaById'
- getSmsMediaByIdWithHttpInfo() : array<string|int, mixed>
- Operation getSmsMediaByIdWithHttpInfo
- getSmsMediaRequest() : Request
- Create request for operation 'getSmsMedia'
- getSmsMediaWithHttpInfo() : array<string|int, mixed>
- Operation getSmsMediaWithHttpInfo
- getSmsMessage() : SmsDto
- Operation getSmsMessage
- getSmsMessageAsync() : PromiseInterface
- Operation getSmsMessageAsync
- getSmsMessageAsyncWithHttpInfo() : PromiseInterface
- Operation getSmsMessageAsyncWithHttpInfo
- getSmsMessageRequest() : Request
- Create request for operation 'getSmsMessage'
- getSmsMessageWithHttpInfo() : array<string|int, mixed>
- Operation getSmsMessageWithHttpInfo
- getUnreadSmsCount() : UnreadCount
- Operation getUnreadSmsCount
- getUnreadSmsCountAsync() : PromiseInterface
- Operation getUnreadSmsCountAsync
- getUnreadSmsCountAsyncWithHttpInfo() : PromiseInterface
- Operation getUnreadSmsCountAsyncWithHttpInfo
- getUnreadSmsCountRequest() : Request
- Create request for operation 'getUnreadSmsCount'
- getUnreadSmsCountWithHttpInfo() : array<string|int, mixed>
- Operation getUnreadSmsCountWithHttpInfo
- markAllSmsAsRead() : void
- Operation markAllSmsAsRead
- markAllSmsAsReadAsync() : PromiseInterface
- Operation markAllSmsAsReadAsync
- markAllSmsAsReadAsyncWithHttpInfo() : PromiseInterface
- Operation markAllSmsAsReadAsyncWithHttpInfo
- markAllSmsAsReadRequest() : Request
- Create request for operation 'markAllSmsAsRead'
- markAllSmsAsReadWithHttpInfo() : array<string|int, mixed>
- Operation markAllSmsAsReadWithHttpInfo
- markSmsAsRead() : SmsDto
- Operation markSmsAsRead
- markSmsAsReadAsync() : PromiseInterface
- Operation markSmsAsReadAsync
- markSmsAsReadAsyncWithHttpInfo() : PromiseInterface
- Operation markSmsAsReadAsyncWithHttpInfo
- markSmsAsReadRequest() : Request
- Create request for operation 'markSmsAsRead'
- markSmsAsReadWithHttpInfo() : array<string|int, mixed>
- Operation markSmsAsReadWithHttpInfo
- replyToSmsMessage() : SentSmsDto
- Operation replyToSmsMessage
- replyToSmsMessageAsync() : PromiseInterface
- Operation replyToSmsMessageAsync
- replyToSmsMessageAsyncWithHttpInfo() : PromiseInterface
- Operation replyToSmsMessageAsyncWithHttpInfo
- replyToSmsMessageRequest() : Request
- Create request for operation 'replyToSmsMessage'
- replyToSmsMessageWithHttpInfo() : array<string|int, mixed>
- Operation replyToSmsMessageWithHttpInfo
- sendSms() : SentSmsDto
- Operation sendSms
- sendSmsAsync() : PromiseInterface
- Operation sendSmsAsync
- sendSmsAsyncWithHttpInfo() : PromiseInterface
- Operation sendSmsAsyncWithHttpInfo
- sendSmsRequest() : Request
- Create request for operation 'sendSms'
- sendSmsWithHttpInfo() : array<string|int, mixed>
- Operation sendSmsWithHttpInfo
- setHostIndex() : void
- Set the host index
- setSmsFavourited() : SmsDto
- Operation setSmsFavourited
- setSmsFavouritedAsync() : PromiseInterface
- Operation setSmsFavouritedAsync
- setSmsFavouritedAsyncWithHttpInfo() : PromiseInterface
- Operation setSmsFavouritedAsyncWithHttpInfo
- setSmsFavouritedRequest() : Request
- Create request for operation 'setSmsFavourited'
- setSmsFavouritedWithHttpInfo() : array<string|int, mixed>
- Operation setSmsFavouritedWithHttpInfo
- createHttpClientOption() : array<string|int, mixed>
- Create http client option
Constants
contentTypes
public
array<string|int, string>
contentTypes
= ['deleteSentSmsMessage' => ['application/json'], 'deleteSentSmsMessages' => ['application/json'], 'deleteSmsMessage' => ['application/json'], 'deleteSmsMessages' => ['application/json'], 'downloadSmsMedia' => ['application/json'], 'downloadSmsMediaBase64' => ['application/json'], 'getAllSmsMessages' => ['application/json'], 'getReplyForSmsMessage' => ['application/json'], 'getSentSmsCount' => ['application/json'], 'getSentSmsMessage' => ['application/json'], 'getSentSmsMessagesPaginated' => ['application/json'], 'getSmsCodes' => ['application/json'], 'getSmsCount' => ['application/json'], 'getSmsMedia' => ['application/json'], 'getSmsMediaById' => ['application/json'], 'getSmsMessage' => ['application/json'], 'getUnreadSmsCount' => ['application/json'], 'markAllSmsAsRead' => ['application/json'], 'markSmsAsRead' => ['application/json'], 'replyToSmsMessage' => ['application/json'], 'sendSms' => ['application/json'], 'setSmsFavourited' => ['application/json']]
Properties
$client
protected
ClientInterface
$client
$config
protected
Configuration
$config
$headerSelector
protected
HeaderSelector
$headerSelector
$hostIndex
protected
int
$hostIndex
Host index
Methods
__construct()
public
__construct([ClientInterface $client = null ][, Configuration $config = null ][, HeaderSelector $selector = null ], int $hostIndex) : mixed
Parameters
- $client : ClientInterface = null
- $config : Configuration = null
- $selector : HeaderSelector = null
- $hostIndex : int
-
(Optional) host index to select the list of hosts if defined in the OpenAPI spec
Return values
mixed —deleteSentSmsMessage()
Operation deleteSentSmsMessage
public
deleteSentSmsMessage(string $sent_sms_id[, string $contentType = self::contentTypes['deleteSentSmsMessage'][0] ]) : void
Delete sent SMS message.
Parameters
- $sent_sms_id : string
-
sent_sms_id (required)
- $contentType : string = self::contentTypes['deleteSentSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteSentSmsMessage'] to see the possible values for this operation
Tags
Return values
void —deleteSentSmsMessageAsync()
Operation deleteSentSmsMessageAsync
public
deleteSentSmsMessageAsync(string $sent_sms_id[, string $contentType = self::contentTypes['deleteSentSmsMessage'][0] ]) : PromiseInterface
Delete sent SMS message.
Parameters
- $sent_sms_id : string
-
(required)
- $contentType : string = self::contentTypes['deleteSentSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteSentSmsMessage'] to see the possible values for this operation
Tags
Return values
PromiseInterface —deleteSentSmsMessageAsyncWithHttpInfo()
Operation deleteSentSmsMessageAsyncWithHttpInfo
public
deleteSentSmsMessageAsyncWithHttpInfo(string $sent_sms_id[, string $contentType = self::contentTypes['deleteSentSmsMessage'][0] ]) : PromiseInterface
Delete sent SMS message.
Parameters
- $sent_sms_id : string
-
(required)
- $contentType : string = self::contentTypes['deleteSentSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteSentSmsMessage'] to see the possible values for this operation
Tags
Return values
PromiseInterface —deleteSentSmsMessageRequest()
Create request for operation 'deleteSentSmsMessage'
public
deleteSentSmsMessageRequest(string $sent_sms_id[, string $contentType = self::contentTypes['deleteSentSmsMessage'][0] ]) : Request
Parameters
- $sent_sms_id : string
-
(required)
- $contentType : string = self::contentTypes['deleteSentSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteSentSmsMessage'] to see the possible values for this operation
Tags
Return values
Request —deleteSentSmsMessages()
Operation deleteSentSmsMessages
public
deleteSentSmsMessages([string $phone_number_id = null ][, string $contentType = self::contentTypes['deleteSentSmsMessages'][0] ]) : void
Delete all sent SMS messages
Parameters
- $phone_number_id : string = null
-
phone_number_id (optional)
- $contentType : string = self::contentTypes['deleteSentSmsMessages'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteSentSmsMessages'] to see the possible values for this operation
Tags
Return values
void —deleteSentSmsMessagesAsync()
Operation deleteSentSmsMessagesAsync
public
deleteSentSmsMessagesAsync([string $phone_number_id = null ][, string $contentType = self::contentTypes['deleteSentSmsMessages'][0] ]) : PromiseInterface
Delete all sent SMS messages
Parameters
- $phone_number_id : string = null
-
(optional)
- $contentType : string = self::contentTypes['deleteSentSmsMessages'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteSentSmsMessages'] to see the possible values for this operation
Tags
Return values
PromiseInterface —deleteSentSmsMessagesAsyncWithHttpInfo()
Operation deleteSentSmsMessagesAsyncWithHttpInfo
public
deleteSentSmsMessagesAsyncWithHttpInfo([string $phone_number_id = null ][, string $contentType = self::contentTypes['deleteSentSmsMessages'][0] ]) : PromiseInterface
Delete all sent SMS messages
Parameters
- $phone_number_id : string = null
-
(optional)
- $contentType : string = self::contentTypes['deleteSentSmsMessages'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteSentSmsMessages'] to see the possible values for this operation
Tags
Return values
PromiseInterface —deleteSentSmsMessagesRequest()
Create request for operation 'deleteSentSmsMessages'
public
deleteSentSmsMessagesRequest([string $phone_number_id = null ][, string $contentType = self::contentTypes['deleteSentSmsMessages'][0] ]) : Request
Parameters
- $phone_number_id : string = null
-
(optional)
- $contentType : string = self::contentTypes['deleteSentSmsMessages'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteSentSmsMessages'] to see the possible values for this operation
Tags
Return values
Request —deleteSentSmsMessagesWithHttpInfo()
Operation deleteSentSmsMessagesWithHttpInfo
public
deleteSentSmsMessagesWithHttpInfo([string $phone_number_id = null ][, string $contentType = self::contentTypes['deleteSentSmsMessages'][0] ]) : array<string|int, mixed>
Delete all sent SMS messages
Parameters
- $phone_number_id : string = null
-
(optional)
- $contentType : string = self::contentTypes['deleteSentSmsMessages'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteSentSmsMessages'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of null, HTTP status code, HTTP response headers (array of strings)
deleteSentSmsMessageWithHttpInfo()
Operation deleteSentSmsMessageWithHttpInfo
public
deleteSentSmsMessageWithHttpInfo(string $sent_sms_id[, string $contentType = self::contentTypes['deleteSentSmsMessage'][0] ]) : array<string|int, mixed>
Delete sent SMS message.
Parameters
- $sent_sms_id : string
-
(required)
- $contentType : string = self::contentTypes['deleteSentSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteSentSmsMessage'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of null, HTTP status code, HTTP response headers (array of strings)
deleteSmsMessage()
Operation deleteSmsMessage
public
deleteSmsMessage(string $sms_id[, string $contentType = self::contentTypes['deleteSmsMessage'][0] ]) : void
Delete SMS message.
Parameters
- $sms_id : string
-
sms_id (required)
- $contentType : string = self::contentTypes['deleteSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteSmsMessage'] to see the possible values for this operation
Tags
Return values
void —deleteSmsMessageAsync()
Operation deleteSmsMessageAsync
public
deleteSmsMessageAsync(string $sms_id[, string $contentType = self::contentTypes['deleteSmsMessage'][0] ]) : PromiseInterface
Delete SMS message.
Parameters
- $sms_id : string
-
(required)
- $contentType : string = self::contentTypes['deleteSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteSmsMessage'] to see the possible values for this operation
Tags
Return values
PromiseInterface —deleteSmsMessageAsyncWithHttpInfo()
Operation deleteSmsMessageAsyncWithHttpInfo
public
deleteSmsMessageAsyncWithHttpInfo(string $sms_id[, string $contentType = self::contentTypes['deleteSmsMessage'][0] ]) : PromiseInterface
Delete SMS message.
Parameters
- $sms_id : string
-
(required)
- $contentType : string = self::contentTypes['deleteSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteSmsMessage'] to see the possible values for this operation
Tags
Return values
PromiseInterface —deleteSmsMessageRequest()
Create request for operation 'deleteSmsMessage'
public
deleteSmsMessageRequest(string $sms_id[, string $contentType = self::contentTypes['deleteSmsMessage'][0] ]) : Request
Parameters
- $sms_id : string
-
(required)
- $contentType : string = self::contentTypes['deleteSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteSmsMessage'] to see the possible values for this operation
Tags
Return values
Request —deleteSmsMessages()
Operation deleteSmsMessages
public
deleteSmsMessages([string $phone_number_id = null ][, string $contentType = self::contentTypes['deleteSmsMessages'][0] ]) : void
Delete all SMS messages
Parameters
- $phone_number_id : string = null
-
phone_number_id (optional)
- $contentType : string = self::contentTypes['deleteSmsMessages'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteSmsMessages'] to see the possible values for this operation
Tags
Return values
void —deleteSmsMessagesAsync()
Operation deleteSmsMessagesAsync
public
deleteSmsMessagesAsync([string $phone_number_id = null ][, string $contentType = self::contentTypes['deleteSmsMessages'][0] ]) : PromiseInterface
Delete all SMS messages
Parameters
- $phone_number_id : string = null
-
(optional)
- $contentType : string = self::contentTypes['deleteSmsMessages'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteSmsMessages'] to see the possible values for this operation
Tags
Return values
PromiseInterface —deleteSmsMessagesAsyncWithHttpInfo()
Operation deleteSmsMessagesAsyncWithHttpInfo
public
deleteSmsMessagesAsyncWithHttpInfo([string $phone_number_id = null ][, string $contentType = self::contentTypes['deleteSmsMessages'][0] ]) : PromiseInterface
Delete all SMS messages
Parameters
- $phone_number_id : string = null
-
(optional)
- $contentType : string = self::contentTypes['deleteSmsMessages'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteSmsMessages'] to see the possible values for this operation
Tags
Return values
PromiseInterface —deleteSmsMessagesRequest()
Create request for operation 'deleteSmsMessages'
public
deleteSmsMessagesRequest([string $phone_number_id = null ][, string $contentType = self::contentTypes['deleteSmsMessages'][0] ]) : Request
Parameters
- $phone_number_id : string = null
-
(optional)
- $contentType : string = self::contentTypes['deleteSmsMessages'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteSmsMessages'] to see the possible values for this operation
Tags
Return values
Request —deleteSmsMessagesWithHttpInfo()
Operation deleteSmsMessagesWithHttpInfo
public
deleteSmsMessagesWithHttpInfo([string $phone_number_id = null ][, string $contentType = self::contentTypes['deleteSmsMessages'][0] ]) : array<string|int, mixed>
Delete all SMS messages
Parameters
- $phone_number_id : string = null
-
(optional)
- $contentType : string = self::contentTypes['deleteSmsMessages'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteSmsMessages'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of null, HTTP status code, HTTP response headers (array of strings)
deleteSmsMessageWithHttpInfo()
Operation deleteSmsMessageWithHttpInfo
public
deleteSmsMessageWithHttpInfo(string $sms_id[, string $contentType = self::contentTypes['deleteSmsMessage'][0] ]) : array<string|int, mixed>
Delete SMS message.
Parameters
- $sms_id : string
-
(required)
- $contentType : string = self::contentTypes['deleteSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['deleteSmsMessage'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of null, HTTP status code, HTTP response headers (array of strings)
downloadSmsMedia()
Operation downloadSmsMedia
public
downloadSmsMedia(string $media_id[, string $contentType = self::contentTypes['downloadSmsMedia'][0] ]) : void
Parameters
- $media_id : string
-
media_id (required)
- $contentType : string = self::contentTypes['downloadSmsMedia'][0]
-
The value for the Content-Type header. Check self::contentTypes['downloadSmsMedia'] to see the possible values for this operation
Tags
Return values
void —downloadSmsMediaAsync()
Operation downloadSmsMediaAsync
public
downloadSmsMediaAsync(string $media_id[, string $contentType = self::contentTypes['downloadSmsMedia'][0] ]) : PromiseInterface
Parameters
- $media_id : string
-
(required)
- $contentType : string = self::contentTypes['downloadSmsMedia'][0]
-
The value for the Content-Type header. Check self::contentTypes['downloadSmsMedia'] to see the possible values for this operation
Tags
Return values
PromiseInterface —downloadSmsMediaAsyncWithHttpInfo()
Operation downloadSmsMediaAsyncWithHttpInfo
public
downloadSmsMediaAsyncWithHttpInfo(string $media_id[, string $contentType = self::contentTypes['downloadSmsMedia'][0] ]) : PromiseInterface
Parameters
- $media_id : string
-
(required)
- $contentType : string = self::contentTypes['downloadSmsMedia'][0]
-
The value for the Content-Type header. Check self::contentTypes['downloadSmsMedia'] to see the possible values for this operation
Tags
Return values
PromiseInterface —downloadSmsMediaBase64()
Operation downloadSmsMediaBase64
public
downloadSmsMediaBase64(string $media_id[, string $contentType = self::contentTypes['downloadSmsMediaBase64'][0] ]) : void
Parameters
- $media_id : string
-
media_id (required)
- $contentType : string = self::contentTypes['downloadSmsMediaBase64'][0]
-
The value for the Content-Type header. Check self::contentTypes['downloadSmsMediaBase64'] to see the possible values for this operation
Tags
Return values
void —downloadSmsMediaBase64Async()
Operation downloadSmsMediaBase64Async
public
downloadSmsMediaBase64Async(string $media_id[, string $contentType = self::contentTypes['downloadSmsMediaBase64'][0] ]) : PromiseInterface
Parameters
- $media_id : string
-
(required)
- $contentType : string = self::contentTypes['downloadSmsMediaBase64'][0]
-
The value for the Content-Type header. Check self::contentTypes['downloadSmsMediaBase64'] to see the possible values for this operation
Tags
Return values
PromiseInterface —downloadSmsMediaBase64AsyncWithHttpInfo()
Operation downloadSmsMediaBase64AsyncWithHttpInfo
public
downloadSmsMediaBase64AsyncWithHttpInfo(string $media_id[, string $contentType = self::contentTypes['downloadSmsMediaBase64'][0] ]) : PromiseInterface
Parameters
- $media_id : string
-
(required)
- $contentType : string = self::contentTypes['downloadSmsMediaBase64'][0]
-
The value for the Content-Type header. Check self::contentTypes['downloadSmsMediaBase64'] to see the possible values for this operation
Tags
Return values
PromiseInterface —downloadSmsMediaBase64Request()
Create request for operation 'downloadSmsMediaBase64'
public
downloadSmsMediaBase64Request(string $media_id[, string $contentType = self::contentTypes['downloadSmsMediaBase64'][0] ]) : Request
Parameters
- $media_id : string
-
(required)
- $contentType : string = self::contentTypes['downloadSmsMediaBase64'][0]
-
The value for the Content-Type header. Check self::contentTypes['downloadSmsMediaBase64'] to see the possible values for this operation
Tags
Return values
Request —downloadSmsMediaBase64WithHttpInfo()
Operation downloadSmsMediaBase64WithHttpInfo
public
downloadSmsMediaBase64WithHttpInfo(string $media_id[, string $contentType = self::contentTypes['downloadSmsMediaBase64'][0] ]) : array<string|int, mixed>
Parameters
- $media_id : string
-
(required)
- $contentType : string = self::contentTypes['downloadSmsMediaBase64'][0]
-
The value for the Content-Type header. Check self::contentTypes['downloadSmsMediaBase64'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of null, HTTP status code, HTTP response headers (array of strings)
downloadSmsMediaRequest()
Create request for operation 'downloadSmsMedia'
public
downloadSmsMediaRequest(string $media_id[, string $contentType = self::contentTypes['downloadSmsMedia'][0] ]) : Request
Parameters
- $media_id : string
-
(required)
- $contentType : string = self::contentTypes['downloadSmsMedia'][0]
-
The value for the Content-Type header. Check self::contentTypes['downloadSmsMedia'] to see the possible values for this operation
Tags
Return values
Request —downloadSmsMediaWithHttpInfo()
Operation downloadSmsMediaWithHttpInfo
public
downloadSmsMediaWithHttpInfo(string $media_id[, string $contentType = self::contentTypes['downloadSmsMedia'][0] ]) : array<string|int, mixed>
Parameters
- $media_id : string
-
(required)
- $contentType : string = self::contentTypes['downloadSmsMedia'][0]
-
The value for the Content-Type header. Check self::contentTypes['downloadSmsMedia'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of null, HTTP status code, HTTP response headers (array of strings)
getAllSmsMessages()
Operation getAllSmsMessages
public
getAllSmsMessages([string $phone_number = null ], int $page[, int $size = 20 ][, string $sort = 'ASC' ][, DateTime $since = null ][, DateTime $before = null ][, string $search = null ][, bool $favourite = false ][, array<string|int, string> $include = null ][, string $contentType = self::contentTypes['getAllSmsMessages'][0] ]) : PageSmsProjection
Parameters
- $phone_number : string = null
-
Optional receiving phone number to filter SMS messages for (optional)
- $page : int
-
Optional page index in SMS list pagination (optional, default to 0)
- $size : int = 20
-
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 : string = 'ASC'
-
Optional createdAt sort direction ASC or DESC (optional, default to 'ASC')
- $since : DateTime = null
-
Optional filter SMSs received after given date time (optional)
- $before : DateTime = null
-
Optional filter SMSs received before given date time (optional)
- $search : string = null
-
Optional search filter (optional)
- $favourite : bool = false
-
Optionally filter results for favourites only (optional, default to false)
- $include : array<string|int, string> = null
-
Optional list of IDs to include in result (optional)
- $contentType : string = self::contentTypes['getAllSmsMessages'][0]
-
The value for the Content-Type header. Check self::contentTypes['getAllSmsMessages'] to see the possible values for this operation
Tags
Return values
PageSmsProjection —getAllSmsMessagesAsync()
Operation getAllSmsMessagesAsync
public
getAllSmsMessagesAsync([string $phone_number = null ], int $page[, int $size = 20 ][, string $sort = 'ASC' ][, DateTime $since = null ][, DateTime $before = null ][, string $search = null ][, bool $favourite = false ][, array<string|int, string> $include = null ][, string $contentType = self::contentTypes['getAllSmsMessages'][0] ]) : PromiseInterface
Parameters
- $phone_number : string = null
-
Optional receiving phone number to filter SMS messages for (optional)
- $page : int
-
Optional page index in SMS list pagination (optional, default to 0)
- $size : int = 20
-
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 : string = 'ASC'
-
Optional createdAt sort direction ASC or DESC (optional, default to 'ASC')
- $since : DateTime = null
-
Optional filter SMSs received after given date time (optional)
- $before : DateTime = null
-
Optional filter SMSs received before given date time (optional)
- $search : string = null
-
Optional search filter (optional)
- $favourite : bool = false
-
Optionally filter results for favourites only (optional, default to false)
- $include : array<string|int, string> = null
-
Optional list of IDs to include in result (optional)
- $contentType : string = self::contentTypes['getAllSmsMessages'][0]
-
The value for the Content-Type header. Check self::contentTypes['getAllSmsMessages'] to see the possible values for this operation
Tags
Return values
PromiseInterface —getAllSmsMessagesAsyncWithHttpInfo()
Operation getAllSmsMessagesAsyncWithHttpInfo
public
getAllSmsMessagesAsyncWithHttpInfo([string $phone_number = null ], int $page[, int $size = 20 ][, string $sort = 'ASC' ][, DateTime $since = null ][, DateTime $before = null ][, string $search = null ][, bool $favourite = false ][, array<string|int, string> $include = null ][, string $contentType = self::contentTypes['getAllSmsMessages'][0] ]) : PromiseInterface
Parameters
- $phone_number : string = null
-
Optional receiving phone number to filter SMS messages for (optional)
- $page : int
-
Optional page index in SMS list pagination (optional, default to 0)
- $size : int = 20
-
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 : string = 'ASC'
-
Optional createdAt sort direction ASC or DESC (optional, default to 'ASC')
- $since : DateTime = null
-
Optional filter SMSs received after given date time (optional)
- $before : DateTime = null
-
Optional filter SMSs received before given date time (optional)
- $search : string = null
-
Optional search filter (optional)
- $favourite : bool = false
-
Optionally filter results for favourites only (optional, default to false)
- $include : array<string|int, string> = null
-
Optional list of IDs to include in result (optional)
- $contentType : string = self::contentTypes['getAllSmsMessages'][0]
-
The value for the Content-Type header. Check self::contentTypes['getAllSmsMessages'] to see the possible values for this operation
Tags
Return values
PromiseInterface —getAllSmsMessagesRequest()
Create request for operation 'getAllSmsMessages'
public
getAllSmsMessagesRequest([string $phone_number = null ], int $page[, int $size = 20 ][, string $sort = 'ASC' ][, DateTime $since = null ][, DateTime $before = null ][, string $search = null ][, bool $favourite = false ][, array<string|int, string> $include = null ][, string $contentType = self::contentTypes['getAllSmsMessages'][0] ]) : Request
Parameters
- $phone_number : string = null
-
Optional receiving phone number to filter SMS messages for (optional)
- $page : int
-
Optional page index in SMS list pagination (optional, default to 0)
- $size : int = 20
-
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 : string = 'ASC'
-
Optional createdAt sort direction ASC or DESC (optional, default to 'ASC')
- $since : DateTime = null
-
Optional filter SMSs received after given date time (optional)
- $before : DateTime = null
-
Optional filter SMSs received before given date time (optional)
- $search : string = null
-
Optional search filter (optional)
- $favourite : bool = false
-
Optionally filter results for favourites only (optional, default to false)
- $include : array<string|int, string> = null
-
Optional list of IDs to include in result (optional)
- $contentType : string = self::contentTypes['getAllSmsMessages'][0]
-
The value for the Content-Type header. Check self::contentTypes['getAllSmsMessages'] to see the possible values for this operation
Tags
Return values
Request —getAllSmsMessagesWithHttpInfo()
Operation getAllSmsMessagesWithHttpInfo
public
getAllSmsMessagesWithHttpInfo([string $phone_number = null ], int $page[, int $size = 20 ][, string $sort = 'ASC' ][, DateTime $since = null ][, DateTime $before = null ][, string $search = null ][, bool $favourite = false ][, array<string|int, string> $include = null ][, string $contentType = self::contentTypes['getAllSmsMessages'][0] ]) : array<string|int, mixed>
Parameters
- $phone_number : string = null
-
Optional receiving phone number to filter SMS messages for (optional)
- $page : int
-
Optional page index in SMS list pagination (optional, default to 0)
- $size : int = 20
-
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 : string = 'ASC'
-
Optional createdAt sort direction ASC or DESC (optional, default to 'ASC')
- $since : DateTime = null
-
Optional filter SMSs received after given date time (optional)
- $before : DateTime = null
-
Optional filter SMSs received before given date time (optional)
- $search : string = null
-
Optional search filter (optional)
- $favourite : bool = false
-
Optionally filter results for favourites only (optional, default to false)
- $include : array<string|int, string> = null
-
Optional list of IDs to include in result (optional)
- $contentType : string = self::contentTypes['getAllSmsMessages'][0]
-
The value for the Content-Type header. Check self::contentTypes['getAllSmsMessages'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of \MailSlurp\Models\PageSmsProjection, HTTP status code, HTTP response headers (array of strings)
getConfig()
public
getConfig() : Configuration
Return values
Configuration —getHostIndex()
Get the host index
public
getHostIndex() : int
Return values
int —Host index
getReplyForSmsMessage()
Operation getReplyForSmsMessage
public
getReplyForSmsMessage(string $sms_id[, string $contentType = self::contentTypes['getReplyForSmsMessage'][0] ]) : ReplyForSms
Get reply for an SMS message
Parameters
- $sms_id : string
-
sms_id (required)
- $contentType : string = self::contentTypes['getReplyForSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['getReplyForSmsMessage'] to see the possible values for this operation
Tags
Return values
ReplyForSms —getReplyForSmsMessageAsync()
Operation getReplyForSmsMessageAsync
public
getReplyForSmsMessageAsync(string $sms_id[, string $contentType = self::contentTypes['getReplyForSmsMessage'][0] ]) : PromiseInterface
Get reply for an SMS message
Parameters
- $sms_id : string
-
(required)
- $contentType : string = self::contentTypes['getReplyForSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['getReplyForSmsMessage'] to see the possible values for this operation
Tags
Return values
PromiseInterface —getReplyForSmsMessageAsyncWithHttpInfo()
Operation getReplyForSmsMessageAsyncWithHttpInfo
public
getReplyForSmsMessageAsyncWithHttpInfo(string $sms_id[, string $contentType = self::contentTypes['getReplyForSmsMessage'][0] ]) : PromiseInterface
Get reply for an SMS message
Parameters
- $sms_id : string
-
(required)
- $contentType : string = self::contentTypes['getReplyForSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['getReplyForSmsMessage'] to see the possible values for this operation
Tags
Return values
PromiseInterface —getReplyForSmsMessageRequest()
Create request for operation 'getReplyForSmsMessage'
public
getReplyForSmsMessageRequest(string $sms_id[, string $contentType = self::contentTypes['getReplyForSmsMessage'][0] ]) : Request
Parameters
- $sms_id : string
-
(required)
- $contentType : string = self::contentTypes['getReplyForSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['getReplyForSmsMessage'] to see the possible values for this operation
Tags
Return values
Request —getReplyForSmsMessageWithHttpInfo()
Operation getReplyForSmsMessageWithHttpInfo
public
getReplyForSmsMessageWithHttpInfo(string $sms_id[, string $contentType = self::contentTypes['getReplyForSmsMessage'][0] ]) : array<string|int, mixed>
Get reply for an SMS message
Parameters
- $sms_id : string
-
(required)
- $contentType : string = self::contentTypes['getReplyForSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['getReplyForSmsMessage'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of \MailSlurp\Models\ReplyForSms, HTTP status code, HTTP response headers (array of strings)
getSentSmsCount()
Operation getSentSmsCount
public
getSentSmsCount([string $contentType = self::contentTypes['getSentSmsCount'][0] ]) : CountDto
Get sent SMS count
Parameters
- $contentType : string = self::contentTypes['getSentSmsCount'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSentSmsCount'] to see the possible values for this operation
Tags
Return values
CountDto —getSentSmsCountAsync()
Operation getSentSmsCountAsync
public
getSentSmsCountAsync([string $contentType = self::contentTypes['getSentSmsCount'][0] ]) : PromiseInterface
Get sent SMS count
Parameters
- $contentType : string = self::contentTypes['getSentSmsCount'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSentSmsCount'] to see the possible values for this operation
Tags
Return values
PromiseInterface —getSentSmsCountAsyncWithHttpInfo()
Operation getSentSmsCountAsyncWithHttpInfo
public
getSentSmsCountAsyncWithHttpInfo([string $contentType = self::contentTypes['getSentSmsCount'][0] ]) : PromiseInterface
Get sent SMS count
Parameters
- $contentType : string = self::contentTypes['getSentSmsCount'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSentSmsCount'] to see the possible values for this operation
Tags
Return values
PromiseInterface —getSentSmsCountRequest()
Create request for operation 'getSentSmsCount'
public
getSentSmsCountRequest([string $contentType = self::contentTypes['getSentSmsCount'][0] ]) : Request
Parameters
- $contentType : string = self::contentTypes['getSentSmsCount'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSentSmsCount'] to see the possible values for this operation
Tags
Return values
Request —getSentSmsCountWithHttpInfo()
Operation getSentSmsCountWithHttpInfo
public
getSentSmsCountWithHttpInfo([string $contentType = self::contentTypes['getSentSmsCount'][0] ]) : array<string|int, mixed>
Get sent SMS count
Parameters
- $contentType : string = self::contentTypes['getSentSmsCount'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSentSmsCount'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of \MailSlurp\Models\CountDto, HTTP status code, HTTP response headers (array of strings)
getSentSmsMessage()
Operation getSentSmsMessage
public
getSentSmsMessage(string $sent_sms_id[, string $contentType = self::contentTypes['getSentSmsMessage'][0] ]) : SentSmsDto
Get sent SMS content including body. Expects sent SMS to exist by ID.
Parameters
- $sent_sms_id : string
-
sent_sms_id (required)
- $contentType : string = self::contentTypes['getSentSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSentSmsMessage'] to see the possible values for this operation
Tags
Return values
SentSmsDto —getSentSmsMessageAsync()
Operation getSentSmsMessageAsync
public
getSentSmsMessageAsync(string $sent_sms_id[, string $contentType = self::contentTypes['getSentSmsMessage'][0] ]) : PromiseInterface
Get sent SMS content including body. Expects sent SMS to exist by ID.
Parameters
- $sent_sms_id : string
-
(required)
- $contentType : string = self::contentTypes['getSentSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSentSmsMessage'] to see the possible values for this operation
Tags
Return values
PromiseInterface —getSentSmsMessageAsyncWithHttpInfo()
Operation getSentSmsMessageAsyncWithHttpInfo
public
getSentSmsMessageAsyncWithHttpInfo(string $sent_sms_id[, string $contentType = self::contentTypes['getSentSmsMessage'][0] ]) : PromiseInterface
Get sent SMS content including body. Expects sent SMS to exist by ID.
Parameters
- $sent_sms_id : string
-
(required)
- $contentType : string = self::contentTypes['getSentSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSentSmsMessage'] to see the possible values for this operation
Tags
Return values
PromiseInterface —getSentSmsMessageRequest()
Create request for operation 'getSentSmsMessage'
public
getSentSmsMessageRequest(string $sent_sms_id[, string $contentType = self::contentTypes['getSentSmsMessage'][0] ]) : Request
Parameters
- $sent_sms_id : string
-
(required)
- $contentType : string = self::contentTypes['getSentSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSentSmsMessage'] to see the possible values for this operation
Tags
Return values
Request —getSentSmsMessagesPaginated()
Operation getSentSmsMessagesPaginated
public
getSentSmsMessagesPaginated([string $phone_number = null ], int $page[, int $size = 20 ][, string $sort = 'ASC' ][, DateTime $since = null ][, DateTime $before = null ][, string $search = null ][, string $contentType = self::contentTypes['getSentSmsMessagesPaginated'][0] ]) : PageSentSmsProjection
Get all SMS messages in all phone numbers in paginated form. .
Parameters
- $phone_number : string = null
-
Optional phone number to filter sent SMS messages for (optional)
- $page : int
-
Optional page index in SMS list pagination (optional, default to 0)
- $size : int = 20
-
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 : string = 'ASC'
-
Optional createdAt sort direction ASC or DESC (optional, default to 'ASC')
- $since : DateTime = null
-
Optional filter SMSs received after given date time (optional)
- $before : DateTime = null
-
Optional filter SMSs received before given date time (optional)
- $search : string = null
-
Optional search filter (optional)
- $contentType : string = self::contentTypes['getSentSmsMessagesPaginated'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSentSmsMessagesPaginated'] to see the possible values for this operation
Tags
Return values
PageSentSmsProjection —getSentSmsMessagesPaginatedAsync()
Operation getSentSmsMessagesPaginatedAsync
public
getSentSmsMessagesPaginatedAsync([string $phone_number = null ], int $page[, int $size = 20 ][, string $sort = 'ASC' ][, DateTime $since = null ][, DateTime $before = null ][, string $search = null ][, string $contentType = self::contentTypes['getSentSmsMessagesPaginated'][0] ]) : PromiseInterface
Get all SMS messages in all phone numbers in paginated form. .
Parameters
- $phone_number : string = null
-
Optional phone number to filter sent SMS messages for (optional)
- $page : int
-
Optional page index in SMS list pagination (optional, default to 0)
- $size : int = 20
-
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 : string = 'ASC'
-
Optional createdAt sort direction ASC or DESC (optional, default to 'ASC')
- $since : DateTime = null
-
Optional filter SMSs received after given date time (optional)
- $before : DateTime = null
-
Optional filter SMSs received before given date time (optional)
- $search : string = null
-
Optional search filter (optional)
- $contentType : string = self::contentTypes['getSentSmsMessagesPaginated'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSentSmsMessagesPaginated'] to see the possible values for this operation
Tags
Return values
PromiseInterface —getSentSmsMessagesPaginatedAsyncWithHttpInfo()
Operation getSentSmsMessagesPaginatedAsyncWithHttpInfo
public
getSentSmsMessagesPaginatedAsyncWithHttpInfo([string $phone_number = null ], int $page[, int $size = 20 ][, string $sort = 'ASC' ][, DateTime $since = null ][, DateTime $before = null ][, string $search = null ][, string $contentType = self::contentTypes['getSentSmsMessagesPaginated'][0] ]) : PromiseInterface
Get all SMS messages in all phone numbers in paginated form. .
Parameters
- $phone_number : string = null
-
Optional phone number to filter sent SMS messages for (optional)
- $page : int
-
Optional page index in SMS list pagination (optional, default to 0)
- $size : int = 20
-
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 : string = 'ASC'
-
Optional createdAt sort direction ASC or DESC (optional, default to 'ASC')
- $since : DateTime = null
-
Optional filter SMSs received after given date time (optional)
- $before : DateTime = null
-
Optional filter SMSs received before given date time (optional)
- $search : string = null
-
Optional search filter (optional)
- $contentType : string = self::contentTypes['getSentSmsMessagesPaginated'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSentSmsMessagesPaginated'] to see the possible values for this operation
Tags
Return values
PromiseInterface —getSentSmsMessagesPaginatedRequest()
Create request for operation 'getSentSmsMessagesPaginated'
public
getSentSmsMessagesPaginatedRequest([string $phone_number = null ], int $page[, int $size = 20 ][, string $sort = 'ASC' ][, DateTime $since = null ][, DateTime $before = null ][, string $search = null ][, string $contentType = self::contentTypes['getSentSmsMessagesPaginated'][0] ]) : Request
Parameters
- $phone_number : string = null
-
Optional phone number to filter sent SMS messages for (optional)
- $page : int
-
Optional page index in SMS list pagination (optional, default to 0)
- $size : int = 20
-
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 : string = 'ASC'
-
Optional createdAt sort direction ASC or DESC (optional, default to 'ASC')
- $since : DateTime = null
-
Optional filter SMSs received after given date time (optional)
- $before : DateTime = null
-
Optional filter SMSs received before given date time (optional)
- $search : string = null
-
Optional search filter (optional)
- $contentType : string = self::contentTypes['getSentSmsMessagesPaginated'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSentSmsMessagesPaginated'] to see the possible values for this operation
Tags
Return values
Request —getSentSmsMessagesPaginatedWithHttpInfo()
Operation getSentSmsMessagesPaginatedWithHttpInfo
public
getSentSmsMessagesPaginatedWithHttpInfo([string $phone_number = null ], int $page[, int $size = 20 ][, string $sort = 'ASC' ][, DateTime $since = null ][, DateTime $before = null ][, string $search = null ][, string $contentType = self::contentTypes['getSentSmsMessagesPaginated'][0] ]) : array<string|int, mixed>
Get all SMS messages in all phone numbers in paginated form. .
Parameters
- $phone_number : string = null
-
Optional phone number to filter sent SMS messages for (optional)
- $page : int
-
Optional page index in SMS list pagination (optional, default to 0)
- $size : int = 20
-
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 : string = 'ASC'
-
Optional createdAt sort direction ASC or DESC (optional, default to 'ASC')
- $since : DateTime = null
-
Optional filter SMSs received after given date time (optional)
- $before : DateTime = null
-
Optional filter SMSs received before given date time (optional)
- $search : string = null
-
Optional search filter (optional)
- $contentType : string = self::contentTypes['getSentSmsMessagesPaginated'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSentSmsMessagesPaginated'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of \MailSlurp\Models\PageSentSmsProjection, HTTP status code, HTTP response headers (array of strings)
getSentSmsMessageWithHttpInfo()
Operation getSentSmsMessageWithHttpInfo
public
getSentSmsMessageWithHttpInfo(string $sent_sms_id[, string $contentType = self::contentTypes['getSentSmsMessage'][0] ]) : array<string|int, mixed>
Get sent SMS content including body. Expects sent SMS to exist by ID.
Parameters
- $sent_sms_id : string
-
(required)
- $contentType : string = self::contentTypes['getSentSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSentSmsMessage'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of \MailSlurp\Models\SentSmsDto, HTTP status code, HTTP response headers (array of strings)
getSmsCodes()
Operation getSmsCodes
public
getSmsCodes(string $sms_id[, ExtractCodesOptions $extract_codes_options = null ][, string $contentType = self::contentTypes['getSmsCodes'][0] ]) : ExtractCodesResult
Extract verification codes from an SMS
Parameters
- $sms_id : string
-
ID of SMS to extract codes from (required)
- $extract_codes_options : ExtractCodesOptions = null
-
extract_codes_options (optional)
- $contentType : string = self::contentTypes['getSmsCodes'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsCodes'] to see the possible values for this operation
Tags
Return values
ExtractCodesResult —getSmsCodesAsync()
Operation getSmsCodesAsync
public
getSmsCodesAsync(string $sms_id[, ExtractCodesOptions $extract_codes_options = null ][, string $contentType = self::contentTypes['getSmsCodes'][0] ]) : PromiseInterface
Extract verification codes from an SMS
Parameters
- $sms_id : string
-
ID of SMS to extract codes from (required)
- $extract_codes_options : ExtractCodesOptions = null
-
(optional)
- $contentType : string = self::contentTypes['getSmsCodes'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsCodes'] to see the possible values for this operation
Tags
Return values
PromiseInterface —getSmsCodesAsyncWithHttpInfo()
Operation getSmsCodesAsyncWithHttpInfo
public
getSmsCodesAsyncWithHttpInfo(string $sms_id[, ExtractCodesOptions $extract_codes_options = null ][, string $contentType = self::contentTypes['getSmsCodes'][0] ]) : PromiseInterface
Extract verification codes from an SMS
Parameters
- $sms_id : string
-
ID of SMS to extract codes from (required)
- $extract_codes_options : ExtractCodesOptions = null
-
(optional)
- $contentType : string = self::contentTypes['getSmsCodes'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsCodes'] to see the possible values for this operation
Tags
Return values
PromiseInterface —getSmsCodesRequest()
Create request for operation 'getSmsCodes'
public
getSmsCodesRequest(string $sms_id[, ExtractCodesOptions $extract_codes_options = null ][, string $contentType = self::contentTypes['getSmsCodes'][0] ]) : Request
Parameters
- $sms_id : string
-
ID of SMS to extract codes from (required)
- $extract_codes_options : ExtractCodesOptions = null
-
(optional)
- $contentType : string = self::contentTypes['getSmsCodes'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsCodes'] to see the possible values for this operation
Tags
Return values
Request —getSmsCodesWithHttpInfo()
Operation getSmsCodesWithHttpInfo
public
getSmsCodesWithHttpInfo(string $sms_id[, ExtractCodesOptions $extract_codes_options = null ][, string $contentType = self::contentTypes['getSmsCodes'][0] ]) : array<string|int, mixed>
Extract verification codes from an SMS
Parameters
- $sms_id : string
-
ID of SMS to extract codes from (required)
- $extract_codes_options : ExtractCodesOptions = null
-
(optional)
- $contentType : string = self::contentTypes['getSmsCodes'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsCodes'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of \MailSlurp\Models\ExtractCodesResult, HTTP status code, HTTP response headers (array of strings)
getSmsCount()
Operation getSmsCount
public
getSmsCount([string $contentType = self::contentTypes['getSmsCount'][0] ]) : CountDto
Get SMS count
Parameters
- $contentType : string = self::contentTypes['getSmsCount'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsCount'] to see the possible values for this operation
Tags
Return values
CountDto —getSmsCountAsync()
Operation getSmsCountAsync
public
getSmsCountAsync([string $contentType = self::contentTypes['getSmsCount'][0] ]) : PromiseInterface
Get SMS count
Parameters
- $contentType : string = self::contentTypes['getSmsCount'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsCount'] to see the possible values for this operation
Tags
Return values
PromiseInterface —getSmsCountAsyncWithHttpInfo()
Operation getSmsCountAsyncWithHttpInfo
public
getSmsCountAsyncWithHttpInfo([string $contentType = self::contentTypes['getSmsCount'][0] ]) : PromiseInterface
Get SMS count
Parameters
- $contentType : string = self::contentTypes['getSmsCount'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsCount'] to see the possible values for this operation
Tags
Return values
PromiseInterface —getSmsCountRequest()
Create request for operation 'getSmsCount'
public
getSmsCountRequest([string $contentType = self::contentTypes['getSmsCount'][0] ]) : Request
Parameters
- $contentType : string = self::contentTypes['getSmsCount'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsCount'] to see the possible values for this operation
Tags
Return values
Request —getSmsCountWithHttpInfo()
Operation getSmsCountWithHttpInfo
public
getSmsCountWithHttpInfo([string $contentType = self::contentTypes['getSmsCount'][0] ]) : array<string|int, mixed>
Get SMS count
Parameters
- $contentType : string = self::contentTypes['getSmsCount'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsCount'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of \MailSlurp\Models\CountDto, HTTP status code, HTTP response headers (array of strings)
getSmsMedia()
Operation getSmsMedia
public
getSmsMedia(string $sms_id[, string $contentType = self::contentTypes['getSmsMedia'][0] ]) : array<string|int, SmsMessageMediaDto>
Parameters
- $sms_id : string
-
sms_id (required)
- $contentType : string = self::contentTypes['getSmsMedia'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsMedia'] to see the possible values for this operation
Tags
Return values
array<string|int, SmsMessageMediaDto> —getSmsMediaAsync()
Operation getSmsMediaAsync
public
getSmsMediaAsync(string $sms_id[, string $contentType = self::contentTypes['getSmsMedia'][0] ]) : PromiseInterface
Parameters
- $sms_id : string
-
(required)
- $contentType : string = self::contentTypes['getSmsMedia'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsMedia'] to see the possible values for this operation
Tags
Return values
PromiseInterface —getSmsMediaAsyncWithHttpInfo()
Operation getSmsMediaAsyncWithHttpInfo
public
getSmsMediaAsyncWithHttpInfo(string $sms_id[, string $contentType = self::contentTypes['getSmsMedia'][0] ]) : PromiseInterface
Parameters
- $sms_id : string
-
(required)
- $contentType : string = self::contentTypes['getSmsMedia'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsMedia'] to see the possible values for this operation
Tags
Return values
PromiseInterface —getSmsMediaById()
Operation getSmsMediaById
public
getSmsMediaById(string $media_id[, string $contentType = self::contentTypes['getSmsMediaById'][0] ]) : SmsMessageMediaDto
Parameters
- $media_id : string
-
media_id (required)
- $contentType : string = self::contentTypes['getSmsMediaById'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsMediaById'] to see the possible values for this operation
Tags
Return values
SmsMessageMediaDto —getSmsMediaByIdAsync()
Operation getSmsMediaByIdAsync
public
getSmsMediaByIdAsync(string $media_id[, string $contentType = self::contentTypes['getSmsMediaById'][0] ]) : PromiseInterface
Parameters
- $media_id : string
-
(required)
- $contentType : string = self::contentTypes['getSmsMediaById'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsMediaById'] to see the possible values for this operation
Tags
Return values
PromiseInterface —getSmsMediaByIdAsyncWithHttpInfo()
Operation getSmsMediaByIdAsyncWithHttpInfo
public
getSmsMediaByIdAsyncWithHttpInfo(string $media_id[, string $contentType = self::contentTypes['getSmsMediaById'][0] ]) : PromiseInterface
Parameters
- $media_id : string
-
(required)
- $contentType : string = self::contentTypes['getSmsMediaById'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsMediaById'] to see the possible values for this operation
Tags
Return values
PromiseInterface —getSmsMediaByIdRequest()
Create request for operation 'getSmsMediaById'
public
getSmsMediaByIdRequest(string $media_id[, string $contentType = self::contentTypes['getSmsMediaById'][0] ]) : Request
Parameters
- $media_id : string
-
(required)
- $contentType : string = self::contentTypes['getSmsMediaById'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsMediaById'] to see the possible values for this operation
Tags
Return values
Request —getSmsMediaByIdWithHttpInfo()
Operation getSmsMediaByIdWithHttpInfo
public
getSmsMediaByIdWithHttpInfo(string $media_id[, string $contentType = self::contentTypes['getSmsMediaById'][0] ]) : array<string|int, mixed>
Parameters
- $media_id : string
-
(required)
- $contentType : string = self::contentTypes['getSmsMediaById'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsMediaById'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of \MailSlurp\Models\SmsMessageMediaDto, HTTP status code, HTTP response headers (array of strings)
getSmsMediaRequest()
Create request for operation 'getSmsMedia'
public
getSmsMediaRequest(string $sms_id[, string $contentType = self::contentTypes['getSmsMedia'][0] ]) : Request
Parameters
- $sms_id : string
-
(required)
- $contentType : string = self::contentTypes['getSmsMedia'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsMedia'] to see the possible values for this operation
Tags
Return values
Request —getSmsMediaWithHttpInfo()
Operation getSmsMediaWithHttpInfo
public
getSmsMediaWithHttpInfo(string $sms_id[, string $contentType = self::contentTypes['getSmsMedia'][0] ]) : array<string|int, mixed>
Parameters
- $sms_id : string
-
(required)
- $contentType : string = self::contentTypes['getSmsMedia'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsMedia'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of \MailSlurp\Models\SmsMessageMediaDto[], HTTP status code, HTTP response headers (array of strings)
getSmsMessage()
Operation getSmsMessage
public
getSmsMessage(string $sms_id[, string $contentType = self::contentTypes['getSmsMessage'][0] ]) : SmsDto
Get SMS content including body. Expects SMS to exist by ID. For SMS that may not have arrived yet use the WaitForController.
Parameters
- $sms_id : string
-
sms_id (required)
- $contentType : string = self::contentTypes['getSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsMessage'] to see the possible values for this operation
Tags
Return values
SmsDto —getSmsMessageAsync()
Operation getSmsMessageAsync
public
getSmsMessageAsync(string $sms_id[, string $contentType = self::contentTypes['getSmsMessage'][0] ]) : PromiseInterface
Get SMS content including body. Expects SMS to exist by ID. For SMS that may not have arrived yet use the WaitForController.
Parameters
- $sms_id : string
-
(required)
- $contentType : string = self::contentTypes['getSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsMessage'] to see the possible values for this operation
Tags
Return values
PromiseInterface —getSmsMessageAsyncWithHttpInfo()
Operation getSmsMessageAsyncWithHttpInfo
public
getSmsMessageAsyncWithHttpInfo(string $sms_id[, string $contentType = self::contentTypes['getSmsMessage'][0] ]) : PromiseInterface
Get SMS content including body. Expects SMS to exist by ID. For SMS that may not have arrived yet use the WaitForController.
Parameters
- $sms_id : string
-
(required)
- $contentType : string = self::contentTypes['getSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsMessage'] to see the possible values for this operation
Tags
Return values
PromiseInterface —getSmsMessageRequest()
Create request for operation 'getSmsMessage'
public
getSmsMessageRequest(string $sms_id[, string $contentType = self::contentTypes['getSmsMessage'][0] ]) : Request
Parameters
- $sms_id : string
-
(required)
- $contentType : string = self::contentTypes['getSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsMessage'] to see the possible values for this operation
Tags
Return values
Request —getSmsMessageWithHttpInfo()
Operation getSmsMessageWithHttpInfo
public
getSmsMessageWithHttpInfo(string $sms_id[, string $contentType = self::contentTypes['getSmsMessage'][0] ]) : array<string|int, mixed>
Get SMS content including body. Expects SMS to exist by ID. For SMS that may not have arrived yet use the WaitForController.
Parameters
- $sms_id : string
-
(required)
- $contentType : string = self::contentTypes['getSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['getSmsMessage'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of \MailSlurp\Models\SmsDto, HTTP status code, HTTP response headers (array of strings)
getUnreadSmsCount()
Operation getUnreadSmsCount
public
getUnreadSmsCount([string $contentType = self::contentTypes['getUnreadSmsCount'][0] ]) : UnreadCount
Get unread SMS count
Parameters
- $contentType : string = self::contentTypes['getUnreadSmsCount'][0]
-
The value for the Content-Type header. Check self::contentTypes['getUnreadSmsCount'] to see the possible values for this operation
Tags
Return values
UnreadCount —getUnreadSmsCountAsync()
Operation getUnreadSmsCountAsync
public
getUnreadSmsCountAsync([string $contentType = self::contentTypes['getUnreadSmsCount'][0] ]) : PromiseInterface
Get unread SMS count
Parameters
- $contentType : string = self::contentTypes['getUnreadSmsCount'][0]
-
The value for the Content-Type header. Check self::contentTypes['getUnreadSmsCount'] to see the possible values for this operation
Tags
Return values
PromiseInterface —getUnreadSmsCountAsyncWithHttpInfo()
Operation getUnreadSmsCountAsyncWithHttpInfo
public
getUnreadSmsCountAsyncWithHttpInfo([string $contentType = self::contentTypes['getUnreadSmsCount'][0] ]) : PromiseInterface
Get unread SMS count
Parameters
- $contentType : string = self::contentTypes['getUnreadSmsCount'][0]
-
The value for the Content-Type header. Check self::contentTypes['getUnreadSmsCount'] to see the possible values for this operation
Tags
Return values
PromiseInterface —getUnreadSmsCountRequest()
Create request for operation 'getUnreadSmsCount'
public
getUnreadSmsCountRequest([string $contentType = self::contentTypes['getUnreadSmsCount'][0] ]) : Request
Parameters
- $contentType : string = self::contentTypes['getUnreadSmsCount'][0]
-
The value for the Content-Type header. Check self::contentTypes['getUnreadSmsCount'] to see the possible values for this operation
Tags
Return values
Request —getUnreadSmsCountWithHttpInfo()
Operation getUnreadSmsCountWithHttpInfo
public
getUnreadSmsCountWithHttpInfo([string $contentType = self::contentTypes['getUnreadSmsCount'][0] ]) : array<string|int, mixed>
Get unread SMS count
Parameters
- $contentType : string = self::contentTypes['getUnreadSmsCount'][0]
-
The value for the Content-Type header. Check self::contentTypes['getUnreadSmsCount'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of \MailSlurp\Models\UnreadCount, HTTP status code, HTTP response headers (array of strings)
markAllSmsAsRead()
Operation markAllSmsAsRead
public
markAllSmsAsRead([bool $read = true ][, string $phone_number_id = null ][, string $contentType = self::contentTypes['markAllSmsAsRead'][0] ]) : void
Mark all SMS messages as read or unread
Parameters
- $read : bool = true
-
read (optional, default to true)
- $phone_number_id : string = null
-
phone_number_id (optional)
- $contentType : string = self::contentTypes['markAllSmsAsRead'][0]
-
The value for the Content-Type header. Check self::contentTypes['markAllSmsAsRead'] to see the possible values for this operation
Tags
Return values
void —markAllSmsAsReadAsync()
Operation markAllSmsAsReadAsync
public
markAllSmsAsReadAsync([bool $read = true ][, string $phone_number_id = null ][, string $contentType = self::contentTypes['markAllSmsAsRead'][0] ]) : PromiseInterface
Mark all SMS messages as read or unread
Parameters
- $read : bool = true
-
(optional, default to true)
- $phone_number_id : string = null
-
(optional)
- $contentType : string = self::contentTypes['markAllSmsAsRead'][0]
-
The value for the Content-Type header. Check self::contentTypes['markAllSmsAsRead'] to see the possible values for this operation
Tags
Return values
PromiseInterface —markAllSmsAsReadAsyncWithHttpInfo()
Operation markAllSmsAsReadAsyncWithHttpInfo
public
markAllSmsAsReadAsyncWithHttpInfo([bool $read = true ][, string $phone_number_id = null ][, string $contentType = self::contentTypes['markAllSmsAsRead'][0] ]) : PromiseInterface
Mark all SMS messages as read or unread
Parameters
- $read : bool = true
-
(optional, default to true)
- $phone_number_id : string = null
-
(optional)
- $contentType : string = self::contentTypes['markAllSmsAsRead'][0]
-
The value for the Content-Type header. Check self::contentTypes['markAllSmsAsRead'] to see the possible values for this operation
Tags
Return values
PromiseInterface —markAllSmsAsReadRequest()
Create request for operation 'markAllSmsAsRead'
public
markAllSmsAsReadRequest([bool $read = true ][, string $phone_number_id = null ][, string $contentType = self::contentTypes['markAllSmsAsRead'][0] ]) : Request
Parameters
- $read : bool = true
-
(optional, default to true)
- $phone_number_id : string = null
-
(optional)
- $contentType : string = self::contentTypes['markAllSmsAsRead'][0]
-
The value for the Content-Type header. Check self::contentTypes['markAllSmsAsRead'] to see the possible values for this operation
Tags
Return values
Request —markAllSmsAsReadWithHttpInfo()
Operation markAllSmsAsReadWithHttpInfo
public
markAllSmsAsReadWithHttpInfo([bool $read = true ][, string $phone_number_id = null ][, string $contentType = self::contentTypes['markAllSmsAsRead'][0] ]) : array<string|int, mixed>
Mark all SMS messages as read or unread
Parameters
- $read : bool = true
-
(optional, default to true)
- $phone_number_id : string = null
-
(optional)
- $contentType : string = self::contentTypes['markAllSmsAsRead'][0]
-
The value for the Content-Type header. Check self::contentTypes['markAllSmsAsRead'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of null, HTTP status code, HTTP response headers (array of strings)
markSmsAsRead()
Operation markSmsAsRead
public
markSmsAsRead(string $sms_id[, bool $read = true ][, string $contentType = self::contentTypes['markSmsAsRead'][0] ]) : SmsDto
Mark an SMS as read or unread
Parameters
- $sms_id : string
-
sms_id (required)
- $read : bool = true
-
read (optional, default to true)
- $contentType : string = self::contentTypes['markSmsAsRead'][0]
-
The value for the Content-Type header. Check self::contentTypes['markSmsAsRead'] to see the possible values for this operation
Tags
Return values
SmsDto —markSmsAsReadAsync()
Operation markSmsAsReadAsync
public
markSmsAsReadAsync(string $sms_id[, bool $read = true ][, string $contentType = self::contentTypes['markSmsAsRead'][0] ]) : PromiseInterface
Mark an SMS as read or unread
Parameters
- $sms_id : string
-
(required)
- $read : bool = true
-
(optional, default to true)
- $contentType : string = self::contentTypes['markSmsAsRead'][0]
-
The value for the Content-Type header. Check self::contentTypes['markSmsAsRead'] to see the possible values for this operation
Tags
Return values
PromiseInterface —markSmsAsReadAsyncWithHttpInfo()
Operation markSmsAsReadAsyncWithHttpInfo
public
markSmsAsReadAsyncWithHttpInfo(string $sms_id[, bool $read = true ][, string $contentType = self::contentTypes['markSmsAsRead'][0] ]) : PromiseInterface
Mark an SMS as read or unread
Parameters
- $sms_id : string
-
(required)
- $read : bool = true
-
(optional, default to true)
- $contentType : string = self::contentTypes['markSmsAsRead'][0]
-
The value for the Content-Type header. Check self::contentTypes['markSmsAsRead'] to see the possible values for this operation
Tags
Return values
PromiseInterface —markSmsAsReadRequest()
Create request for operation 'markSmsAsRead'
public
markSmsAsReadRequest(string $sms_id[, bool $read = true ][, string $contentType = self::contentTypes['markSmsAsRead'][0] ]) : Request
Parameters
- $sms_id : string
-
(required)
- $read : bool = true
-
(optional, default to true)
- $contentType : string = self::contentTypes['markSmsAsRead'][0]
-
The value for the Content-Type header. Check self::contentTypes['markSmsAsRead'] to see the possible values for this operation
Tags
Return values
Request —markSmsAsReadWithHttpInfo()
Operation markSmsAsReadWithHttpInfo
public
markSmsAsReadWithHttpInfo(string $sms_id[, bool $read = true ][, string $contentType = self::contentTypes['markSmsAsRead'][0] ]) : array<string|int, mixed>
Mark an SMS as read or unread
Parameters
- $sms_id : string
-
(required)
- $read : bool = true
-
(optional, default to true)
- $contentType : string = self::contentTypes['markSmsAsRead'][0]
-
The value for the Content-Type header. Check self::contentTypes['markSmsAsRead'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of \MailSlurp\Models\SmsDto, HTTP status code, HTTP response headers (array of strings)
replyToSmsMessage()
Operation replyToSmsMessage
public
replyToSmsMessage(string $sms_id, SmsReplyOptions $sms_reply_options[, string $contentType = self::contentTypes['replyToSmsMessage'][0] ]) : SentSmsDto
Send a reply to a received SMS message. Replies are sent from the receiving number.
Parameters
- $sms_id : string
-
sms_id (required)
- $sms_reply_options : SmsReplyOptions
-
sms_reply_options (required)
- $contentType : string = self::contentTypes['replyToSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['replyToSmsMessage'] to see the possible values for this operation
Tags
Return values
SentSmsDto —replyToSmsMessageAsync()
Operation replyToSmsMessageAsync
public
replyToSmsMessageAsync(string $sms_id, SmsReplyOptions $sms_reply_options[, string $contentType = self::contentTypes['replyToSmsMessage'][0] ]) : PromiseInterface
Send a reply to a received SMS message. Replies are sent from the receiving number.
Parameters
- $sms_id : string
-
(required)
- $sms_reply_options : SmsReplyOptions
-
(required)
- $contentType : string = self::contentTypes['replyToSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['replyToSmsMessage'] to see the possible values for this operation
Tags
Return values
PromiseInterface —replyToSmsMessageAsyncWithHttpInfo()
Operation replyToSmsMessageAsyncWithHttpInfo
public
replyToSmsMessageAsyncWithHttpInfo(string $sms_id, SmsReplyOptions $sms_reply_options[, string $contentType = self::contentTypes['replyToSmsMessage'][0] ]) : PromiseInterface
Send a reply to a received SMS message. Replies are sent from the receiving number.
Parameters
- $sms_id : string
-
(required)
- $sms_reply_options : SmsReplyOptions
-
(required)
- $contentType : string = self::contentTypes['replyToSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['replyToSmsMessage'] to see the possible values for this operation
Tags
Return values
PromiseInterface —replyToSmsMessageRequest()
Create request for operation 'replyToSmsMessage'
public
replyToSmsMessageRequest(string $sms_id, SmsReplyOptions $sms_reply_options[, string $contentType = self::contentTypes['replyToSmsMessage'][0] ]) : Request
Parameters
- $sms_id : string
-
(required)
- $sms_reply_options : SmsReplyOptions
-
(required)
- $contentType : string = self::contentTypes['replyToSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['replyToSmsMessage'] to see the possible values for this operation
Tags
Return values
Request —replyToSmsMessageWithHttpInfo()
Operation replyToSmsMessageWithHttpInfo
public
replyToSmsMessageWithHttpInfo(string $sms_id, SmsReplyOptions $sms_reply_options[, string $contentType = self::contentTypes['replyToSmsMessage'][0] ]) : array<string|int, mixed>
Send a reply to a received SMS message. Replies are sent from the receiving number.
Parameters
- $sms_id : string
-
(required)
- $sms_reply_options : SmsReplyOptions
-
(required)
- $contentType : string = self::contentTypes['replyToSmsMessage'][0]
-
The value for the Content-Type header. Check self::contentTypes['replyToSmsMessage'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of \MailSlurp\Models\SentSmsDto, HTTP status code, HTTP response headers (array of strings)
sendSms()
Operation sendSms
public
sendSms(SmsSendOptions $sms_send_options[, string $from_phone_number = null ][, string $from_phone_id = null ][, string $contentType = self::contentTypes['sendSms'][0] ]) : SentSmsDto
Parameters
- $sms_send_options : SmsSendOptions
-
sms_send_options (required)
- $from_phone_number : string = null
-
Phone number to send from in E.164 format (optional)
- $from_phone_id : string = null
-
Phone number ID to send from in UUID form (optional)
- $contentType : string = self::contentTypes['sendSms'][0]
-
The value for the Content-Type header. Check self::contentTypes['sendSms'] to see the possible values for this operation
Tags
Return values
SentSmsDto —sendSmsAsync()
Operation sendSmsAsync
public
sendSmsAsync(SmsSendOptions $sms_send_options[, string $from_phone_number = null ][, string $from_phone_id = null ][, string $contentType = self::contentTypes['sendSms'][0] ]) : PromiseInterface
Parameters
- $sms_send_options : SmsSendOptions
-
(required)
- $from_phone_number : string = null
-
Phone number to send from in E.164 format (optional)
- $from_phone_id : string = null
-
Phone number ID to send from in UUID form (optional)
- $contentType : string = self::contentTypes['sendSms'][0]
-
The value for the Content-Type header. Check self::contentTypes['sendSms'] to see the possible values for this operation
Tags
Return values
PromiseInterface —sendSmsAsyncWithHttpInfo()
Operation sendSmsAsyncWithHttpInfo
public
sendSmsAsyncWithHttpInfo(SmsSendOptions $sms_send_options[, string $from_phone_number = null ][, string $from_phone_id = null ][, string $contentType = self::contentTypes['sendSms'][0] ]) : PromiseInterface
Parameters
- $sms_send_options : SmsSendOptions
-
(required)
- $from_phone_number : string = null
-
Phone number to send from in E.164 format (optional)
- $from_phone_id : string = null
-
Phone number ID to send from in UUID form (optional)
- $contentType : string = self::contentTypes['sendSms'][0]
-
The value for the Content-Type header. Check self::contentTypes['sendSms'] to see the possible values for this operation
Tags
Return values
PromiseInterface —sendSmsRequest()
Create request for operation 'sendSms'
public
sendSmsRequest(SmsSendOptions $sms_send_options[, string $from_phone_number = null ][, string $from_phone_id = null ][, string $contentType = self::contentTypes['sendSms'][0] ]) : Request
Parameters
- $sms_send_options : SmsSendOptions
-
(required)
- $from_phone_number : string = null
-
Phone number to send from in E.164 format (optional)
- $from_phone_id : string = null
-
Phone number ID to send from in UUID form (optional)
- $contentType : string = self::contentTypes['sendSms'][0]
-
The value for the Content-Type header. Check self::contentTypes['sendSms'] to see the possible values for this operation
Tags
Return values
Request —sendSmsWithHttpInfo()
Operation sendSmsWithHttpInfo
public
sendSmsWithHttpInfo(SmsSendOptions $sms_send_options[, string $from_phone_number = null ][, string $from_phone_id = null ][, string $contentType = self::contentTypes['sendSms'][0] ]) : array<string|int, mixed>
Parameters
- $sms_send_options : SmsSendOptions
-
(required)
- $from_phone_number : string = null
-
Phone number to send from in E.164 format (optional)
- $from_phone_id : string = null
-
Phone number ID to send from in UUID form (optional)
- $contentType : string = self::contentTypes['sendSms'][0]
-
The value for the Content-Type header. Check self::contentTypes['sendSms'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of \MailSlurp\Models\SentSmsDto, HTTP status code, HTTP response headers (array of strings)
setHostIndex()
Set the host index
public
setHostIndex(int $hostIndex) : void
Parameters
- $hostIndex : int
-
Host index (required)
Return values
void —setSmsFavourited()
Operation setSmsFavourited
public
setSmsFavourited(string $sms_id, bool $favourited[, string $contentType = self::contentTypes['setSmsFavourited'][0] ]) : SmsDto
Parameters
- $sms_id : string
-
ID of SMS to set favourite state (required)
- $favourited : bool
-
favourited (required)
- $contentType : string = self::contentTypes['setSmsFavourited'][0]
-
The value for the Content-Type header. Check self::contentTypes['setSmsFavourited'] to see the possible values for this operation
Tags
Return values
SmsDto —setSmsFavouritedAsync()
Operation setSmsFavouritedAsync
public
setSmsFavouritedAsync(string $sms_id, bool $favourited[, string $contentType = self::contentTypes['setSmsFavourited'][0] ]) : PromiseInterface
Parameters
- $sms_id : string
-
ID of SMS to set favourite state (required)
- $favourited : bool
-
(required)
- $contentType : string = self::contentTypes['setSmsFavourited'][0]
-
The value for the Content-Type header. Check self::contentTypes['setSmsFavourited'] to see the possible values for this operation
Tags
Return values
PromiseInterface —setSmsFavouritedAsyncWithHttpInfo()
Operation setSmsFavouritedAsyncWithHttpInfo
public
setSmsFavouritedAsyncWithHttpInfo(string $sms_id, bool $favourited[, string $contentType = self::contentTypes['setSmsFavourited'][0] ]) : PromiseInterface
Parameters
- $sms_id : string
-
ID of SMS to set favourite state (required)
- $favourited : bool
-
(required)
- $contentType : string = self::contentTypes['setSmsFavourited'][0]
-
The value for the Content-Type header. Check self::contentTypes['setSmsFavourited'] to see the possible values for this operation
Tags
Return values
PromiseInterface —setSmsFavouritedRequest()
Create request for operation 'setSmsFavourited'
public
setSmsFavouritedRequest(string $sms_id, bool $favourited[, string $contentType = self::contentTypes['setSmsFavourited'][0] ]) : Request
Parameters
- $sms_id : string
-
ID of SMS to set favourite state (required)
- $favourited : bool
-
(required)
- $contentType : string = self::contentTypes['setSmsFavourited'][0]
-
The value for the Content-Type header. Check self::contentTypes['setSmsFavourited'] to see the possible values for this operation
Tags
Return values
Request —setSmsFavouritedWithHttpInfo()
Operation setSmsFavouritedWithHttpInfo
public
setSmsFavouritedWithHttpInfo(string $sms_id, bool $favourited[, string $contentType = self::contentTypes['setSmsFavourited'][0] ]) : array<string|int, mixed>
Parameters
- $sms_id : string
-
ID of SMS to set favourite state (required)
- $favourited : bool
-
(required)
- $contentType : string = self::contentTypes['setSmsFavourited'][0]
-
The value for the Content-Type header. Check self::contentTypes['setSmsFavourited'] to see the possible values for this operation
Tags
Return values
array<string|int, mixed> —of \MailSlurp\Models\SmsDto, HTTP status code, HTTP response headers (array of strings)
createHttpClientOption()
Create http client option
protected
createHttpClientOption() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —of http client options