Class: Telnyx::Models::Porting::LoaConfigurationUpdateParams::Contact
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Porting::LoaConfigurationUpdateParams::Contact
- Defined in:
- lib/telnyx/models/porting/loa_configuration_update_params.rb,
sig/telnyx/models/porting/loa_configuration_update_params.rbs
Instance Attribute Summary collapse
-
#email ⇒ String
The email address of the contact.
-
#phone_number ⇒ String
The phone number of the contact.
Instance Method Summary collapse
-
#initialize ⇒ Contact
constructor
A new instance of Contact.
- #to_hash ⇒ { email: String, phone_number: String }
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 ⇒ Contact
Returns a new instance of Contact.
102 |
# File 'sig/telnyx/models/porting/loa_configuration_update_params.rbs', line 102
def initialize: (email: String, phone_number: String) -> void
|
Instance Attribute Details
#email ⇒ String
The email address of the contact
119 |
# File 'lib/telnyx/models/porting/loa_configuration_update_params.rb', line 119 required :email, String |
#phone_number ⇒ String
The phone number of the contact
125 |
# File 'lib/telnyx/models/porting/loa_configuration_update_params.rb', line 125 required :phone_number, String |
Instance Method Details
#to_hash ⇒ { email: String, phone_number: String }
104 |
# File 'sig/telnyx/models/porting/loa_configuration_update_params.rbs', line 104
def to_hash: -> { email: String, phone_number: String }
|