class Amazonite::Sns::CreateSMSSandboxPhoneNumberInput

Defined in:

sns/create_sms_sandbox_phone_number_input.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(phone_number : String, language_code : LanguageCodeString | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def language_code : LanguageCodeString | Nil #

The language to use for sending the OTP. The default value is en-US.


[View source]
def language_code=(language_code : LanguageCodeString | Nil) #

The language to use for sending the OTP. The default value is en-US.


[View source]
def phone_number : String #

The destination phone number to verify. On verification, Amazon SNS adds this phone number to the list of verified phone numbers that you can send SMS messages to.


[View source]
def phone_number=(phone_number : String) #

The destination phone number to verify. On verification, Amazon SNS adds this phone number to the list of verified phone numbers that you can send SMS messages to.


[View source]
def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def validate! : Nil #

[View source]