Class: Telnyx::Models::PhoneNumber
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::PhoneNumber
- Defined in:
- lib/telnyx/models/phone_number.rb
Defined Under Namespace
Modules: PhoneNumberType, RequirementsStatus, Status
Instance Attribute Summary collapse
- #phone_number ⇒ String?
- #regulatory_requirements ⇒ Array<Telnyx::Models::SubNumberOrderRegulatoryRequirementWithValue>?
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id: nil, bundle_id: nil, country_code: nil, country_iso_alpha2: nil, phone_number: nil, phone_number_type: nil, record_type: nil, regulatory_requirements: nil, requirements_met: nil, requirements_status: nil, status: nil) ⇒ Object
|
|
# File 'lib/telnyx/models/phone_number.rb', line 70
|
Instance Attribute Details
#phone_number ⇒ String?
9 |
# File 'lib/telnyx/models/phone_number.rb', line 9 optional :phone_number, String |
#regulatory_requirements ⇒ Array<Telnyx::Models::SubNumberOrderRegulatoryRequirementWithValue>?
14 15 |
# File 'lib/telnyx/models/phone_number.rb', line 14 optional :regulatory_requirements, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::SubNumberOrderRegulatoryRequirementWithValue] } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/phone_number.rb', line 105
|