Class: Telnyx::Models::Rcs::BrandContact
Defined Under Namespace
Modules: ContactType
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(contact_type:, email:, first_name:, last_name:, phone_number:, title: nil) ⇒ Object
|
# File 'lib/telnyx/models/rcs/brand_contact.rb', line 37
|
Instance Attribute Details
10
|
# File 'lib/telnyx/models/rcs/brand_contact.rb', line 10
required :contact_type, enum: -> { Telnyx::Rcs::BrandContact::ContactType }
|
#email ⇒ String
15
|
# File 'lib/telnyx/models/rcs/brand_contact.rb', line 15
required :email, String
|
#first_name ⇒ String
20
|
# File 'lib/telnyx/models/rcs/brand_contact.rb', line 20
required :first_name, String
|
#last_name ⇒ String
25
|
# File 'lib/telnyx/models/rcs/brand_contact.rb', line 25
required :last_name, String
|
#phone_number ⇒ String
30
|
# File 'lib/telnyx/models/rcs/brand_contact.rb', line 30
required :phone_number, String
|
#title ⇒ String?
35
|
# File 'lib/telnyx/models/rcs/brand_contact.rb', line 35
optional :title, String, nil?: true
|
Instance Method Details
#to_hash ⇒ {
36
|
# File 'sig/telnyx/models/rcs/brand_contact.rbs', line 36
def to_hash: -> {
|