class
Amazonite::Sns::PhoneNumberInformation
- Amazonite::Sns::PhoneNumberInformation
- Reference
- Object
Overview
A list of phone numbers and their metadata.
Defined in:
sns/phone_number_information.crConstructors
- .from_xml(node : XML::Node) : 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)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#created_at : Time | Nil
The date and time when the phone number was created.
-
#created_at=(created_at : Time | Nil)
The date and time when the phone number was created.
-
#hash(hasher)
See
Object#hash(hasher) -
#iso_2_country_code : String | Nil
The two-character code for the country or region, in ISO 3166-1 alpha-2 format.
-
#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.
-
#number_capabilities : Array(NumberCapability) | Nil
The capabilities of each phone number.
-
#number_capabilities=(number_capabilities : Array(NumberCapability) | Nil)
The capabilities of each phone number.
-
#phone_number : String | Nil
The phone number.
-
#phone_number=(phone_number : String | Nil)
The phone number.
-
#route_type : RouteType | Nil
The list of supported routes.
-
#route_type=(route_type : RouteType | Nil)
The list of supported routes.
-
#status : String | Nil
The status of the phone number.
-
#status=(status : String | Nil)
The status of the phone number.
- #to_query_params(prefix : String) : Array(Tuple(String, String))
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The two-character code for the country or region, in ISO 3166-1 alpha-2 format.
The two-character code for the country or region, in ISO 3166-1 alpha-2 format.
The capabilities of each phone number.