Class: ContextDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Resolution
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Resolution
- Defined in:
- lib/context_dev/models/brand_retrieve_simplified_response.rb,
sig/context_dev/models/brand_retrieve_simplified_response.rbs
Overview
Instance Attribute Summary collapse
-
#aspect_ratio ⇒ Float?
Aspect ratio of the image (width/height).
-
#height ⇒ Integer?
Height of the image in pixels.
-
#width ⇒ Integer?
Width of the image in pixels.
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
294 |
# File 'sig/context_dev/models/brand_retrieve_simplified_response.rbs', line 294
def initialize: (
|
Instance Attribute Details
#aspect_ratio ⇒ Float?
Aspect ratio of the image (width/height)
279 |
# File 'lib/context_dev/models/brand_retrieve_simplified_response.rb', line 279 optional :aspect_ratio, Float |
#height ⇒ Integer?
Height of the image in pixels
285 |
# File 'lib/context_dev/models/brand_retrieve_simplified_response.rb', line 285 optional :height, Integer |
#width ⇒ Integer?
Width of the image in pixels
291 |
# File 'lib/context_dev/models/brand_retrieve_simplified_response.rb', line 291 optional :width, Integer |
Instance Method Details
#to_hash ⇒ {
300 |
# File 'sig/context_dev/models/brand_retrieve_simplified_response.rbs', line 300
def to_hash: -> {
|