Class: Telnyx::Models::OrganizationContact
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::OrganizationContact
- Defined in:
- lib/telnyx/models/organization_contact.rb
Instance Attribute Summary collapse
-
#email ⇒ String
Contact’s email address.
-
#first_name ⇒ String
Contact’s first name.
-
#job_title ⇒ String
Contact’s job title (required).
-
#last_name ⇒ String
Contact’s last name.
-
#phone ⇒ String
Contact’s phone number in E.164 format.
Instance Method Summary collapse
-
#initialize(email:, first_name:, job_title:, last_name:, phone:) ⇒ Object
constructor
Organization contact information.
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(email:, first_name:, job_title:, last_name:, phone:) ⇒ Object
Organization contact information. Note: the response returns this object with the phone field as ‘phone’ (not ‘phone_number’).
|
|
# File 'lib/telnyx/models/organization_contact.rb', line 36
|
Instance Attribute Details
#email ⇒ String
Contact’s email address
10 |
# File 'lib/telnyx/models/organization_contact.rb', line 10 required :email, String |
#first_name ⇒ String
Contact’s first name
16 |
# File 'lib/telnyx/models/organization_contact.rb', line 16 required :first_name, String |
#job_title ⇒ String
Contact’s job title (required)
22 |
# File 'lib/telnyx/models/organization_contact.rb', line 22 required :job_title, String |
#last_name ⇒ String
Contact’s last name
28 |
# File 'lib/telnyx/models/organization_contact.rb', line 28 required :last_name, String |
#phone ⇒ String
Contact’s phone number in E.164 format
34 |
# File 'lib/telnyx/models/organization_contact.rb', line 34 required :phone, String |