Class: ContextDev::Models::BrandRetrieveResponse::Brand::Address

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/context_dev/models/brand_retrieve_response.rb,
sig/context_dev/models/brand_retrieve_response.rbs

Overview

See Also:

  • ContextDev::Models::BrandRetrieveResponse::Brand#address

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

#initializeObject



223
# File 'sig/context_dev/models/brand_retrieve_response.rbs', line 223

def initialize: (

Instance Attribute Details

#cityString?

City name

Parameters:

  • (String)

Returns:

  • (String, nil)


194
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 194

optional :city, String

#countryString?

Country name

Parameters:

  • (String)

Returns:

  • (String, nil)


200
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 200

optional :country, String

#country_codeString?

Country code

Parameters:

  • (String)

Returns:

  • (String, nil)


206
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 206

optional :country_code, String

#postal_codeString?

Postal or ZIP code

Parameters:

  • (String)

Returns:

  • (String, nil)


212
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 212

optional :postal_code, String

#state_codeString?

State or province code

Parameters:

  • (String)

Returns:

  • (String, nil)


218
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 218

optional :state_code, String

#state_provinceString?

State or province name

Parameters:

  • (String)

Returns:

  • (String, nil)


224
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 224

optional :state_province, String

#streetString?

Street address

Parameters:

  • (String)

Returns:

  • (String, nil)


230
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 230

optional :street, String

Instance Method Details

#to_hash{

Returns:

  • ({)


233
# File 'sig/context_dev/models/brand_retrieve_response.rbs', line 233

def to_hash: -> {