class Twilio::AvailablePhoneNumberCountryAvailablePhoneNumberVoip
- Twilio::AvailablePhoneNumberCountryAvailablePhoneNumberVoip
- Reference
- Object
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- OpenApi::Json
- OpenApi::Validatable
Defined in:
twilio/models/available_phone_number_country_available_phone_number_voip.crConstructors
- .new(pull : JSON::PullParser)
-
.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
Instance Method Summary
-
#==(other : self)
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes.
- #address_requirements : String | Nil
-
#address_requirements=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #address_requirements_present=(address_requirements_present : Bool)
- #address_requirements_present? : Bool
- #beta : Bool | Nil
-
#beta=(new_value : Bool | Nil)
Custom attribute writer method checking allowed values (enum).
- #beta_present=(beta_present : Bool)
- #beta_present? : Bool
- #capabilities : Twilio::AvailablePhoneNumberCountryAvailablePhoneNumberVoipCapabilities | Nil
-
#capabilities=(new_value : Twilio::AvailablePhoneNumberCountryAvailablePhoneNumberVoipCapabilities | Nil)
Custom attribute writer method checking allowed values (enum).
- #capabilities_present=(capabilities_present : Bool)
- #capabilities_present? : Bool
- #friendly_name : String | Nil
-
#friendly_name=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #friendly_name_present=(friendly_name_present : Bool)
- #friendly_name_present? : Bool
-
#hash(hasher)
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes.
- #iso_country : String | Nil
-
#iso_country=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #iso_country_present=(iso_country_present : Bool)
- #iso_country_present? : Bool
- #lata : String | Nil
-
#lata=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #lata_present=(lata_present : Bool)
- #lata_present? : Bool
- #latitude : Float64 | Nil
-
#latitude=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #latitude_present=(latitude_present : Bool)
- #latitude_present? : Bool
-
#list_invalid_properties : Array(String)
Show invalid properties with the reasons.
- #locality : String | Nil
-
#locality=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #locality_present=(locality_present : Bool)
- #locality_present? : Bool
- #longitude : Float64 | Nil
-
#longitude=(new_value : Float64 | Nil)
Custom attribute writer method checking allowed values (enum).
- #longitude_present=(longitude_present : Bool)
- #longitude_present? : Bool
- #phone_number : String | Nil
-
#phone_number=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #phone_number_present=(phone_number_present : Bool)
- #phone_number_present? : Bool
- #postal_code : String | Nil
-
#postal_code=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #postal_code_present=(postal_code_present : Bool)
- #postal_code_present? : Bool
- #rate_center : String | Nil
-
#rate_center=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #rate_center_present=(rate_center_present : Bool)
- #rate_center_present? : Bool
- #region : String | Nil
-
#region=(new_value : String | Nil)
Custom attribute writer method checking allowed values (enum).
- #region_present=(region_present : Bool)
- #region_present? : Bool
-
#valid? : Bool
Check to see if the all the properties in the model are valid @return true if the model is valid
Instance methods inherited from module OpenApi::Json
after_initialize
after_initialize,
eql?(o : self)
eql?,
to_hash : Hash(String, JSON::Any)
to_hash,
to_json_any : JSON::Any
to_json_any
Class methods inherited from module OpenApi::Json
build_from_hash(hash : Hash)
build_from_hash,
build_from_json_any(json_any : JSON::Any)
build_from_json_any
Instance methods inherited from module OpenApi::Validatable
list_invalid_properties : Array(String)
list_invalid_properties,
list_invalid_properties_for(key : String) : Array(String)
list_invalid_properties_for,
valid? : Bool
valid?,
validate : Nil
validate
Constructor Detail
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance Method Detail
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] address_requirements Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] beta Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] capabilities Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] friendly_name Object to be assigned
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] iso_country Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] lata Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] latitude Object to be assigned
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Custom attribute writer method checking allowed values (enum). @param [Object] locality Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] longitude Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] phone_number Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] postal_code Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] rate_center Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] region Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid