Class: Telnyx::Models::HostedNumber
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::HostedNumber
- Defined in:
- lib/telnyx/models/hosted_number.rb
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
-
#phone_number ⇒ String?
The messaging hosted phone number (+E.164 format).
- #record_type ⇒ String?
- #status ⇒ Symbol, ...
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, phone_number: nil, record_type: nil, status: nil) ⇒ Object
|
|
# File 'lib/telnyx/models/hosted_number.rb', line 30
|
Instance Attribute Details
#phone_number ⇒ String?
The messaging hosted phone number (+E.164 format)
10 |
# File 'lib/telnyx/models/hosted_number.rb', line 10 optional :phone_number, String |
#record_type ⇒ String?
15 |
# File 'lib/telnyx/models/hosted_number.rb', line 15 optional :record_type, String |
#status ⇒ Symbol, ...
20 |
# File 'lib/telnyx/models/hosted_number.rb', line 20 optional :status, enum: -> { Telnyx::HostedNumber::Status } |