Class: Telnyx::Models::Rcs::BrandUpdateParams::Address

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/rcs/brand_update_params.rb,
sig/telnyx/models/rcs/brand_update_params.rbs

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(id:, addresses: nil, contacts: nil, display_name: nil, identifiers: nil, legal_entity_type: nil, legal_name: nil, organization_type: nil, profile_id: nil, website_url: nil, request_options: {}) ⇒ Object

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

Parameters:



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
129
130
131
132
133
134
# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 90

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

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

  # @!attribute country_code
  #   The two-letter ISO 3166-1 country code.
  #
  #   @return [String]
  required :country_code, String

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

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

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

  # @!method initialize(administrative_area:, city:, country_code:, line_1:, postal_code:, line_2: nil)
  #   @param administrative_area [String]
  #
  #   @param city [String]
  #
  #   @param country_code [String] The two-letter ISO 3166-1 country code.
  #
  #   @param line_1 [String]
  #
  #   @param postal_code [String]
  #
  #   @param line_2 [String, nil]
end

Instance Attribute Details

#administrative_areaString

Parameters:

  • value (String)

Returns:

  • (String)


94
# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 94

required :administrative_area, String

#cityString

Parameters:

  • value (String)

Returns:

  • (String)


99
# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 99

required :city, String

#country_codeString

The two-letter ISO 3166-1 country code.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :country_code, String

#line_1String

Parameters:

  • value (String)

Returns:

  • (String)


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

required :line_1, String

#line_2String?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


120
# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 120

optional :line_2, String, nil?: true

#postal_codeString

Parameters:

  • value (String)

Returns:

  • (String)


115
# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 115

required :postal_code, String

Instance Method Details

#to_hash{

Returns:

  • ({)


131
# File 'sig/telnyx/models/rcs/brand_update_params.rbs', line 131

def to_hash: -> {