Class: ContextDev::Models::BrandRetrieveResponse::Brand::Logo::Resolution
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::BrandRetrieveResponse::Brand::Logo::Resolution
- Defined in:
- lib/context_dev/models/brand_retrieve_response.rb,
sig/context_dev/models/brand_retrieve_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
1031 |
# File 'sig/context_dev/models/brand_retrieve_response.rbs', line 1031
def initialize: (
|
Instance Attribute Details
#aspect_ratio ⇒ Float?
Aspect ratio of the image (width/height)
791 |
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 791 optional :aspect_ratio, Float |
#height ⇒ Integer?
Height of the image in pixels
797 |
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 797 optional :height, Integer |
#width ⇒ Integer?
Width of the image in pixels
803 |
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 803 optional :width, Integer |
Instance Method Details
#to_hash ⇒ {
1037 |
# File 'sig/context_dev/models/brand_retrieve_response.rbs', line 1037
def to_hash: -> {
|