Class: Telnyx::Models::Rcs::BrandUpdateParams::Address
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#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
constructor
-
#to_hash ⇒ {
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#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
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
required :administrative_area, String
required :city, String
required :country_code, String
required :line_1, String
required :postal_code, String
optional :line_2, String, nil?: true
end
|
Instance Attribute Details
#administrative_area ⇒ String
94
|
# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 94
required :administrative_area, String
|
#city ⇒ String
99
|
# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 99
required :city, String
|
#country_code ⇒ String
The two-letter ISO 3166-1 country code.
105
|
# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 105
required :country_code, String
|
#line_1 ⇒ String
110
|
# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 110
required :line_1, String
|
#line_2 ⇒ String?
120
|
# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 120
optional :line_2, String, nil?: true
|
#postal_code ⇒ String
115
|
# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 115
required :postal_code, String
|
Instance Method Details
#to_hash ⇒ {
131
|
# File 'sig/telnyx/models/rcs/brand_update_params.rbs', line 131
def to_hash: -> {
|