Class: Telnyx::Models::Rcs::BrandResponse::Address
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(addresses:, brand_id:, capabilities:, contacts:, display_name:, identifiers:, legal_entity_type:, legal_name:, organization_type:, profile_id:, status:, website_url:) ⇒ 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(addresses:, brand_id:, capabilities:, contacts:, display_name:, identifiers:, legal_entity_type:, legal_name:, organization_type:, profile_id:, status:, website_url:) ⇒ Object
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
|
# File 'lib/telnyx/models/rcs/brand_response.rb', line 83
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
87
|
# File 'lib/telnyx/models/rcs/brand_response.rb', line 87
required :administrative_area, String
|
#city ⇒ String
92
|
# File 'lib/telnyx/models/rcs/brand_response.rb', line 92
required :city, String
|
#country_code ⇒ String
The two-letter ISO 3166-1 country code.
98
|
# File 'lib/telnyx/models/rcs/brand_response.rb', line 98
required :country_code, String
|
#line_1 ⇒ String
103
|
# File 'lib/telnyx/models/rcs/brand_response.rb', line 103
required :line_1, String
|
#line_2 ⇒ String?
113
|
# File 'lib/telnyx/models/rcs/brand_response.rb', line 113
optional :line_2, String, nil?: true
|
#postal_code ⇒ String
108
|
# File 'lib/telnyx/models/rcs/brand_response.rb', line 108
required :postal_code, String
|
Instance Method Details
#to_hash ⇒ {
107
|
# File 'sig/telnyx/models/rcs/brand_response.rbs', line 107
def to_hash: -> {
|