Class: ContextDev::Models::WebWebScrapeImagesResponse::Image::Enrichment
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::WebWebScrapeImagesResponse::Image::Enrichment
- Defined in:
- lib/context_dev/models/web_web_scrape_images_response.rb
Overview
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#height ⇒ Integer?
Image height in pixels, when measured.
-
#mimetype ⇒ String?
Detected MIME type, when hosted.
-
#type ⇒ Symbol, ...
Visual asset category, when classified.
-
#url ⇒ String?
Brand.dev CDN URL, when hosted.
-
#width ⇒ Integer?
Image width in pixels, when measured.
Instance Method Summary collapse
-
#initialize(height: nil, mimetype: nil, type: nil, url: nil, width: nil) ⇒ Object
constructor
Requested metadata for images that could be processed.
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(height: nil, mimetype: nil, type: nil, url: nil, width: nil) ⇒ Object
Requested metadata for images that could be processed.
|
|
# File 'lib/context_dev/models/web_web_scrape_images_response.rb', line 141
|
Instance Attribute Details
#height ⇒ Integer?
Image height in pixels, when measured.
115 |
# File 'lib/context_dev/models/web_web_scrape_images_response.rb', line 115 optional :height, Integer |
#mimetype ⇒ String?
Detected MIME type, when hosted.
121 |
# File 'lib/context_dev/models/web_web_scrape_images_response.rb', line 121 optional :mimetype, String |
#type ⇒ Symbol, ...
Visual asset category, when classified.
127 |
# File 'lib/context_dev/models/web_web_scrape_images_response.rb', line 127 optional :type, enum: -> { ContextDev::Models::WebWebScrapeImagesResponse::Image::Enrichment::Type } |
#url ⇒ String?
Brand.dev CDN URL, when hosted.
133 |
# File 'lib/context_dev/models/web_web_scrape_images_response.rb', line 133 optional :url, String |
#width ⇒ Integer?
Image width in pixels, when measured.
139 |
# File 'lib/context_dev/models/web_web_scrape_images_response.rb', line 139 optional :width, Integer |