Class: Telnyx::Models::DirCreateLoaParams::Agent

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/dir_create_loa_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(dir_id:, phone_numbers:, agent: nil, signature: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::DirCreateLoaParams for more details.

Parameters:



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# File 'lib/telnyx/models/dir_create_loa_params.rb', line 51

class Agent < Telnyx::Internal::Type::BaseModel
  # @!attribute administrative_area
  #
  #   @return [String]
  required :administrative_area, String

  # @!attribute city
  #
  #   @return [String]
  required :city, String

  # @!attribute contact_email
  #
  #   @return [String]
  required :contact_email, String

  # @!attribute contact_name
  #
  #   @return [String]
  required :contact_name, String

  # @!attribute contact_phone
  #
  #   @return [String]
  required :contact_phone, String

  # @!attribute contact_title
  #
  #   @return [String]
  required :contact_title, String

  # @!attribute country
  #
  #   @return [String]
  required :country, String

  # @!attribute legal_name
  #
  #   @return [String]
  required :legal_name, String

  # @!attribute postal_code
  #
  #   @return [String]
  required :postal_code, String

  # @!attribute street_address
  #
  #   @return [String]
  required :street_address, String

  # @!attribute dba
  #
  #   @return [String, nil]
  optional :dba, String, nil?: true

  # @!attribute extended_address
  #
  #   @return [String, nil]
  optional :extended_address, String, nil?: true

  # @!method initialize(administrative_area:, city:, contact_email:, contact_name:, contact_phone:, contact_title:, country:, legal_name:, postal_code:, street_address:, dba: nil, extended_address: nil)
  #   Third-party reseller / partner managing the enterprise's phone numbers. Omit
  #   when the enterprise works directly with Telnyx.
  #
  #   @param administrative_area [String]
  #   @param city [String]
  #   @param contact_email [String]
  #   @param contact_name [String]
  #   @param contact_phone [String]
  #   @param contact_title [String]
  #   @param country [String]
  #   @param legal_name [String]
  #   @param postal_code [String]
  #   @param street_address [String]
  #   @param dba [String, nil]
  #   @param extended_address [String, nil]
end

Instance Attribute Details

#administrative_areaString

Returns:

  • (String)


55
# File 'lib/telnyx/models/dir_create_loa_params.rb', line 55

required :administrative_area, String

#cityString

Returns:

  • (String)


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

required :city, String

#contact_emailString

Returns:

  • (String)


65
# File 'lib/telnyx/models/dir_create_loa_params.rb', line 65

required :contact_email, String

#contact_nameString

Returns:

  • (String)


70
# File 'lib/telnyx/models/dir_create_loa_params.rb', line 70

required :contact_name, String

#contact_phoneString

Returns:

  • (String)


75
# File 'lib/telnyx/models/dir_create_loa_params.rb', line 75

required :contact_phone, String

#contact_titleString

Returns:

  • (String)


80
# File 'lib/telnyx/models/dir_create_loa_params.rb', line 80

required :contact_title, String

#countryString

Returns:

  • (String)


85
# File 'lib/telnyx/models/dir_create_loa_params.rb', line 85

required :country, String

#dbaString?

Returns:

  • (String, nil)


105
# File 'lib/telnyx/models/dir_create_loa_params.rb', line 105

optional :dba, String, nil?: true

#extended_addressString?

Returns:

  • (String, nil)


110
# File 'lib/telnyx/models/dir_create_loa_params.rb', line 110

optional :extended_address, String, nil?: true

Returns:

  • (String)


90
# File 'lib/telnyx/models/dir_create_loa_params.rb', line 90

required :legal_name, String

#postal_codeString

Returns:

  • (String)


95
# File 'lib/telnyx/models/dir_create_loa_params.rb', line 95

required :postal_code, String

#street_addressString

Returns:

  • (String)


100
# File 'lib/telnyx/models/dir_create_loa_params.rb', line 100

required :street_address, String