Module: Telnyx::Models::Dir::ReferenceUpdateParams::RefType

Extended by:
Internal::Type::Enum
Defined in:
lib/telnyx/models/dir/reference_update_params.rb,
sig/telnyx/models/dir/reference_update_params.rbs

Constant Summary collapse

BUSINESS =

Returns:

  • (:business)
:business
FINANCIAL =

Returns:

  • (:financial)
:financial

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/dir/reference_update_params.rb', line 97

Instance Method Details

#initialize(dir_id:, ref_type:, slot:, email: nil, full_name: nil, job_title: nil, organization: nil, phone_e164: nil, relationship_to_registrant: nil, timezone: nil, request_options: {}) ⇒ Object

Parameters:

  • dir_id (String)
  • ref_type (Symbol, Telnyx::Models::Dir::ReferenceUpdateParams::RefType)
  • slot (Integer)
  • email (String) (defaults to: nil)

    Reference contact email address.

  • full_name (String) (defaults to: nil)

    Full name of the reference contact.

  • job_title (String, nil) (defaults to: nil)

    Job title of the reference contact.

  • organization (String, nil) (defaults to: nil)

    Organization the reference contact belongs to.

  • phone_e164 (String) (defaults to: nil)

    Reference phone number in E.164 format.

  • relationship_to_registrant (String, nil) (defaults to: nil)

    How the reference contact is related to the registering business.

  • timezone (String) (defaults to: nil)

    IANA timezone id for the reference.

  • request_options (Telnyx::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


91
92
93
94
95
96
97
98
99
# File 'lib/telnyx/models/dir/reference_update_params.rb', line 91

module RefType
  extend Telnyx::Internal::Type::Enum

  BUSINESS = :business
  FINANCIAL = :financial

  # @!method self.values
  #   @return [Array<Symbol>]
end

#self?.values::Array[Telnyx::Models::Dir::ReferenceUpdateParams::ref_type]

Returns:

  • (::Array[Telnyx::Models::Dir::ReferenceUpdateParams::ref_type])


87
# File 'sig/telnyx/models/dir/reference_update_params.rbs', line 87

def self?.values: -> ::Array[Telnyx::Models::Dir::ReferenceUpdateParams::ref_type]