Class: Telnyx::Models::Dir::ReferenceUpdateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/telnyx/models/dir/reference_update_params.rb,
sig/telnyx/models/dir/reference_update_params.rbs

Overview

See Also:

  • Telnyx::Resources::Dir::References#update

Defined Under Namespace

Modules: RefType

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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

#initializeObject



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

def initialize: (

Instance Attribute Details

#dir_idString

Parameters:

  • value (String)

Returns:

  • (String)


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

required :dir_id, String

#emailString?

Reference contact email address.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :email, String

#full_nameString?

Full name of the reference contact.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :full_name, String

#job_titleString?

Job title of the reference contact.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

optional :job_title, String, nil?: true

#organizationString?

Organization the reference contact belongs to.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

optional :organization, String, nil?: true

#phone_e164String?

Reference phone number in E.164 format.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :phone_e164, String

#ref_typeSymbol, Telnyx::Models::Dir::ReferenceUpdateParams::RefType

Parameters:

  • value (Telnyx::Models::Dir::ReferenceUpdateParams::ref_type)

Returns:



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

required :ref_type, enum: -> { Telnyx::Dir::ReferenceUpdateParams::RefType }

#relationship_to_registrantString?

How the reference contact is related to the registering business.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

optional :relationship_to_registrant, String, nil?: true

#slotInteger

Parameters:

  • value (Integer)

Returns:

  • (Integer)


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

required :slot, Integer

#timezoneString?

IANA timezone id for the reference.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :timezone, String

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {