class Amazonite::Sns::PhoneNumberInformation

Overview

A list of phone numbers and their metadata.

Defined in:

sns/phone_number_information.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(created_at : Time | Nil = nil, phone_number : String | Nil = nil, status : String | Nil = nil, iso_2_country_code : String | Nil = nil, route_type : RouteType | Nil = nil, number_capabilities : Array(NumberCapability) | 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 created_at : Time | Nil #

The date and time when the phone number was created.


[View source]
def created_at=(created_at : Time | Nil) #

The date and time when the phone number was created.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def iso_2_country_code : String | Nil #

The two-character code for the country or region, in ISO 3166-1 alpha-2 format.


[View source]
def iso_2_country_code=(iso_2_country_code : String | Nil) #

The two-character code for the country or region, in ISO 3166-1 alpha-2 format.


[View source]
def number_capabilities : Array(NumberCapability) | Nil #

The capabilities of each phone number.


[View source]
def number_capabilities=(number_capabilities : Array(NumberCapability) | Nil) #

The capabilities of each phone number.


[View source]
def phone_number : String | Nil #

The phone number.


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

The phone number.


[View source]
def route_type : RouteType | Nil #

The list of supported routes.


[View source]
def route_type=(route_type : RouteType | Nil) #

The list of supported routes.


[View source]
def status : String | Nil #

The status of the phone number.


[View source]
def status=(status : String | Nil) #

The status of the phone number.


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

[View source]
def validate! : Nil #

[View source]