Class: ContextDev::Models::BrandRetrieveResponse::Brand::Address
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::BrandRetrieveResponse::Brand::Address
- Defined in:
- lib/context_dev/models/brand_retrieve_response.rb,
sig/context_dev/models/brand_retrieve_response.rbs
Overview
Instance Attribute Summary collapse
-
#city ⇒ String?
City name.
-
#country ⇒ String?
Country name.
-
#country_code ⇒ String?
Country code.
-
#postal_code ⇒ String?
Postal or ZIP code.
-
#state_code ⇒ String?
State or province code.
-
#state_province ⇒ String?
State or province name.
-
#street ⇒ String?
Street address.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
223 |
# File 'sig/context_dev/models/brand_retrieve_response.rbs', line 223
def initialize: (
|
Instance Attribute Details
#city ⇒ String?
City name
194 |
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 194 optional :city, String |
#country ⇒ String?
Country name
200 |
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 200 optional :country, String |
#country_code ⇒ String?
Country code
206 |
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 206 optional :country_code, String |
#postal_code ⇒ String?
Postal or ZIP code
212 |
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 212 optional :postal_code, String |
#state_code ⇒ String?
State or province code
218 |
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 218 optional :state_code, String |
#state_province ⇒ String?
State or province name
224 |
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 224 optional :state_province, String |
#street ⇒ String?
Street address
230 |
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 230 optional :street, String |
Instance Method Details
#to_hash ⇒ {
233 |
# File 'sig/context_dev/models/brand_retrieve_response.rbs', line 233
def to_hash: -> {
|