class

Twilio::AvailablePhoneNumberCountry

Inherits OpenApi::Json / OpenApi::Validatable / JSON::Serializable::Unmapped / JSON::Serializable / Reference / Object

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, beta : Bool | Nil = nil, country : String | Nil = nil, country_code : String | Nil = nil, subresource_uris : Hash(String, String) | Nil = nil, uri : String | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

beta

Whether all phone numbers available in the country are new to the Twilio platform.

Source
beta=(new_value : Bool | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] beta Object to be assigned

Source
beta_present=(beta_present : Bool)
Source
beta_present?
Source
country

The name of the country

Source
country=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] country Object to be assigned

Source
country_code

The ISO-3166-1 country code of the country.

Source
country_code=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] country_code Object to be assigned

Source
country_code_present=(country_code_present : Bool)
Source
country_code_present?
Source
country_present=(country_present : Bool)
Source
country_present?
Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
subresource_uris
Source
subresource_uris=(new_value : Hash(String, String) | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] subresource_uris Object to be assigned

Source
subresource_uris_present=(subresource_uris_present : Bool)
Source
subresource_uris_present?
Source
uri

The URI of the Country resource, relative to https://api.twilio.com

Source
uri=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] uri Object to be assigned

Source
uri_present=(uri_present : Bool)
Source
uri_present?
Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source