Class: ContextDev::Models::BrandRetrieveSimplifiedResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::BrandRetrieveSimplifiedResponse
- Defined in:
- lib/context_dev/models/brand_retrieve_simplified_response.rb
Overview
Defined Under Namespace
Classes: Brand, KeyMetadata
Instance Attribute Summary collapse
-
#brand ⇒ ContextDev::Models::BrandRetrieveSimplifiedResponse::Brand?
Simplified brand information.
-
#code ⇒ Integer?
HTTP status code of the response.
-
#key_metadata ⇒ ContextDev::Models::BrandRetrieveSimplifiedResponse::KeyMetadata?
Metadata about the API key used for the request.
-
#status ⇒ String?
Status of the response, e.g., ‘ok’.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(brand: nil, code: nil, key_metadata: nil, status: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see BrandRetrieveSimplifiedResponse for more details.
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(brand: nil, code: nil, key_metadata: nil, status: nil) ⇒ Object
Some parameter documentations has been truncated, see ContextDev::Models::BrandRetrieveSimplifiedResponse for more details.
|
|
# File 'lib/context_dev/models/brand_retrieve_simplified_response.rb', line 32
|
Instance Attribute Details
#brand ⇒ ContextDev::Models::BrandRetrieveSimplifiedResponse::Brand?
Simplified brand information
11 |
# File 'lib/context_dev/models/brand_retrieve_simplified_response.rb', line 11 optional :brand, -> { ContextDev::Models::BrandRetrieveSimplifiedResponse::Brand } |
#code ⇒ Integer?
HTTP status code of the response
17 |
# File 'lib/context_dev/models/brand_retrieve_simplified_response.rb', line 17 optional :code, Integer |
#key_metadata ⇒ ContextDev::Models::BrandRetrieveSimplifiedResponse::KeyMetadata?
Metadata about the API key used for the request. Included in every response whenever a valid API key is provided, even when the response status is not 200.
24 |
# File 'lib/context_dev/models/brand_retrieve_simplified_response.rb', line 24 optional :key_metadata, -> { ContextDev::Models::BrandRetrieveSimplifiedResponse::KeyMetadata } |
#status ⇒ String?
Status of the response, e.g., ‘ok’
30 |
# File 'lib/context_dev/models/brand_retrieve_simplified_response.rb', line 30 optional :status, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/context_dev/models/brand_retrieve_simplified_response.rb', line 312
|