Class: Telnyx::Models::Dir::ReferenceInput
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Dir::ReferenceInput
- Defined in:
- lib/telnyx/models/dir/reference_input.rb,
sig/telnyx/models/dir/reference_input.rbs
Instance Attribute Summary collapse
-
#email ⇒ String
Reference contact email address.
-
#full_name ⇒ String
Full name of the reference contact.
-
#job_title ⇒ String?
Job title of the reference contact.
-
#organization ⇒ String?
Organization the reference contact belongs to.
-
#phone_e164 ⇒ String
Reference phone number in E.164 format, e.g.
-
#relationship_to_registrant ⇒ String?
How the reference contact is related to the registering business.
-
#timezone ⇒ String
IANA timezone id for the reference (e.g. America/New_York).
Instance Method Summary collapse
-
#initialize(email:, full_name:, phone_e164:, timezone:, job_title: nil, organization: nil, relationship_to_registrant: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see ReferenceInput for more details.
- #to_hash ⇒ {
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:, full_name:, phone_e164:, timezone:, job_title: nil, organization: nil, relationship_to_registrant: nil) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::Dir::ReferenceInput for more details.
One reference supplied at submit. The reference type is implied by the field that carries it (business_references vs financial_reference).
|
|
# File 'lib/telnyx/models/dir/reference_input.rb', line 51
|
Instance Attribute Details
#email ⇒ String
Reference contact email address. Required: the reference is emailed scheduling and dial-in notices.
12 |
# File 'lib/telnyx/models/dir/reference_input.rb', line 12 required :email, String |
#full_name ⇒ String
Full name of the reference contact.
18 |
# File 'lib/telnyx/models/dir/reference_input.rb', line 18 required :full_name, String |
#job_title ⇒ String?
Job title of the reference contact.
37 |
# File 'lib/telnyx/models/dir/reference_input.rb', line 37 optional :job_title, String, nil?: true |
#organization ⇒ String?
Organization the reference contact belongs to.
43 |
# File 'lib/telnyx/models/dir/reference_input.rb', line 43 optional :organization, String, nil?: true |
#phone_e164 ⇒ String
Reference phone number in E.164 format, e.g. +14155550123.
24 |
# File 'lib/telnyx/models/dir/reference_input.rb', line 24 required :phone_e164, String |
#relationship_to_registrant ⇒ String?
How the reference contact is related to the registering business.
49 |
# File 'lib/telnyx/models/dir/reference_input.rb', line 49 optional :relationship_to_registrant, String, nil?: true |
#timezone ⇒ String
IANA timezone id for the reference (e.g. America/New_York). Required: calls are only placed within the reference's local 8am-9pm window.
31 |
# File 'lib/telnyx/models/dir/reference_input.rb', line 31 required :timezone, String |
Instance Method Details
#to_hash ⇒ {
40 |
# File 'sig/telnyx/models/dir/reference_input.rbs', line 40
def to_hash: -> {
|