class

Twilio::AvailablePhoneNumberCountryAvailablePhoneNumberVoip

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

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, address_requirements : String | Nil = nil, beta : Bool | Nil = nil, capabilities : Twilio::AvailablePhoneNumberCountryAvailablePhoneNumberVoipCapabilities | Nil = nil, friendly_name : String | Nil = nil, iso_country : String | Nil = nil, lata : String | Nil = nil, latitude : Float64 | Nil = nil, locality : String | Nil = nil, longitude : Float64 | Nil = nil, phone_number : String | Nil = nil, postal_code : String | Nil = nil, rate_center : String | Nil = nil, region : 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

address_requirements

The type of Address resource the phone number requires

Source
address_requirements=(new_value : String | Nil)

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

Source
address_requirements_present=(address_requirements_present : Bool)
Source
address_requirements_present?
Source
beta

Whether the phone number is 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
capabilities
Source

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

Source
capabilities_present=(capabilities_present : Bool)
Source
capabilities_present?
Source
friendly_name

A formatted version of the phone number

Source
friendly_name=(new_value : String | Nil)

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

Source
friendly_name_present=(friendly_name_present : Bool)
Source
friendly_name_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

iso_country

The ISO country code of this phone number

Source
iso_country=(new_value : String | Nil)

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

Source
iso_country_present=(iso_country_present : Bool)
Source
iso_country_present?
Source
lata

The LATA of this phone number

Source
lata=(new_value : String | Nil)

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

Source
lata_present=(lata_present : Bool)
Source
lata_present?
Source
latitude

The latitude of this phone number's location

Source
latitude=(new_value : Float64 | Nil)

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

Source
latitude_present=(latitude_present : Bool)
Source
latitude_present?
Source
list_invalid_properties

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

Source
locality

The locality or city of this phone number's location

Source
locality=(new_value : String | Nil)

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

Source
locality_present=(locality_present : Bool)
Source
locality_present?
Source
longitude

The longitude of this phone number's location

Source
longitude=(new_value : Float64 | Nil)

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

Source
longitude_present=(longitude_present : Bool)
Source
longitude_present?
Source
phone_number

The phone number in E.164 format

Source
phone_number=(new_value : String | Nil)

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

Source
phone_number_present=(phone_number_present : Bool)
Source
phone_number_present?
Source
postal_code

The postal or ZIP code of this phone number's location

Source
postal_code=(new_value : String | Nil)

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

Source
postal_code_present=(postal_code_present : Bool)
Source
postal_code_present?
Source
rate_center

The rate center of this phone number

Source
rate_center=(new_value : String | Nil)

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

Source
rate_center_present=(rate_center_present : Bool)
Source
rate_center_present?
Source
region

The two-letter state or province abbreviation of this phone number's location

Source
region=(new_value : String | Nil)

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

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

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

Source