Class: Inttegro::Product::Media
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Product::Media
- Defined in:
- lib/inttegro/product/media.rb
Overview
Typed representation of the media object in the Inttegro API.
This generated model is immutable. Construct it with .new, or decode a string-keyed API
payload with .from_hash. #serialize produces a string-keyed hash using the original wire
field names and serialized enum values.
Instance Attribute Summary collapse
-
#brand_logo ⇒ String?
readonly
Value of the
brand_logofield in the Inttegro API payload. -
#demo_video ⇒ String?
readonly
Value of the
demo_videofield in the Inttegro API payload. -
#downloads ⇒ Array<String>?
readonly
Value of the
downloadsfield in the Inttegro API payload. -
#gallery ⇒ Array<String>?
readonly
Value of the
galleryfield in the Inttegro API payload. -
#hero_image ⇒ String?
readonly
Value of the
hero_imagefield in the Inttegro API payload. -
#infographic ⇒ String?
readonly
Value of the
infographicfield in the Inttegro API payload. -
#promo_video ⇒ String?
readonly
Value of the
promo_videofield in the Inttegro API payload. -
#thumbnail ⇒ String?
readonly
Value of the
thumbnailfield in the Inttegro API payload. -
#web_page_url ⇒ String?
readonly
Value of the
web_page_urlfield in the Inttegro API payload.
Instance Attribute Details
#brand_logo ⇒ String? (readonly)
Value of the brand_logo field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: brand_logo.
71 72 73 74 75 76 77 78 79 80 81 |
# File 'lib/inttegro/product/media.rb', line 71 class Media < T::Struct const :hero_image, T.nilable(String), default: nil const :thumbnail, T.nilable(String), default: nil const :web_page_url, T.nilable(String), default: nil const :brand_logo, T.nilable(String), default: nil const :infographic, T.nilable(String), default: nil const :promo_video, T.nilable(String), default: nil const :demo_video, T.nilable(String), default: nil const :gallery, T.nilable(T::Array[String]), default: nil const :downloads, T.nilable(T::Array[String]), default: nil end |
#demo_video ⇒ String? (readonly)
Value of the demo_video field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: demo_video.
71 72 73 74 75 76 77 78 79 80 81 |
# File 'lib/inttegro/product/media.rb', line 71 class Media < T::Struct const :hero_image, T.nilable(String), default: nil const :thumbnail, T.nilable(String), default: nil const :web_page_url, T.nilable(String), default: nil const :brand_logo, T.nilable(String), default: nil const :infographic, T.nilable(String), default: nil const :promo_video, T.nilable(String), default: nil const :demo_video, T.nilable(String), default: nil const :gallery, T.nilable(T::Array[String]), default: nil const :downloads, T.nilable(T::Array[String]), default: nil end |
#downloads ⇒ Array<String>? (readonly)
Value of the downloads field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: downloads.
71 72 73 74 75 76 77 78 79 80 81 |
# File 'lib/inttegro/product/media.rb', line 71 class Media < T::Struct const :hero_image, T.nilable(String), default: nil const :thumbnail, T.nilable(String), default: nil const :web_page_url, T.nilable(String), default: nil const :brand_logo, T.nilable(String), default: nil const :infographic, T.nilable(String), default: nil const :promo_video, T.nilable(String), default: nil const :demo_video, T.nilable(String), default: nil const :gallery, T.nilable(T::Array[String]), default: nil const :downloads, T.nilable(T::Array[String]), default: nil end |
#gallery ⇒ Array<String>? (readonly)
Value of the gallery field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: gallery.
71 72 73 74 75 76 77 78 79 80 81 |
# File 'lib/inttegro/product/media.rb', line 71 class Media < T::Struct const :hero_image, T.nilable(String), default: nil const :thumbnail, T.nilable(String), default: nil const :web_page_url, T.nilable(String), default: nil const :brand_logo, T.nilable(String), default: nil const :infographic, T.nilable(String), default: nil const :promo_video, T.nilable(String), default: nil const :demo_video, T.nilable(String), default: nil const :gallery, T.nilable(T::Array[String]), default: nil const :downloads, T.nilable(T::Array[String]), default: nil end |
#hero_image ⇒ String? (readonly)
Value of the hero_image field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: hero_image.
71 72 73 74 75 76 77 78 79 80 81 |
# File 'lib/inttegro/product/media.rb', line 71 class Media < T::Struct const :hero_image, T.nilable(String), default: nil const :thumbnail, T.nilable(String), default: nil const :web_page_url, T.nilable(String), default: nil const :brand_logo, T.nilable(String), default: nil const :infographic, T.nilable(String), default: nil const :promo_video, T.nilable(String), default: nil const :demo_video, T.nilable(String), default: nil const :gallery, T.nilable(T::Array[String]), default: nil const :downloads, T.nilable(T::Array[String]), default: nil end |
#infographic ⇒ String? (readonly)
Value of the infographic field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: infographic.
71 72 73 74 75 76 77 78 79 80 81 |
# File 'lib/inttegro/product/media.rb', line 71 class Media < T::Struct const :hero_image, T.nilable(String), default: nil const :thumbnail, T.nilable(String), default: nil const :web_page_url, T.nilable(String), default: nil const :brand_logo, T.nilable(String), default: nil const :infographic, T.nilable(String), default: nil const :promo_video, T.nilable(String), default: nil const :demo_video, T.nilable(String), default: nil const :gallery, T.nilable(T::Array[String]), default: nil const :downloads, T.nilable(T::Array[String]), default: nil end |
#promo_video ⇒ String? (readonly)
Value of the promo_video field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: promo_video.
71 72 73 74 75 76 77 78 79 80 81 |
# File 'lib/inttegro/product/media.rb', line 71 class Media < T::Struct const :hero_image, T.nilable(String), default: nil const :thumbnail, T.nilable(String), default: nil const :web_page_url, T.nilable(String), default: nil const :brand_logo, T.nilable(String), default: nil const :infographic, T.nilable(String), default: nil const :promo_video, T.nilable(String), default: nil const :demo_video, T.nilable(String), default: nil const :gallery, T.nilable(T::Array[String]), default: nil const :downloads, T.nilable(T::Array[String]), default: nil end |
#thumbnail ⇒ String? (readonly)
Value of the thumbnail field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: thumbnail.
71 72 73 74 75 76 77 78 79 80 81 |
# File 'lib/inttegro/product/media.rb', line 71 class Media < T::Struct const :hero_image, T.nilable(String), default: nil const :thumbnail, T.nilable(String), default: nil const :web_page_url, T.nilable(String), default: nil const :brand_logo, T.nilable(String), default: nil const :infographic, T.nilable(String), default: nil const :promo_video, T.nilable(String), default: nil const :demo_video, T.nilable(String), default: nil const :gallery, T.nilable(T::Array[String]), default: nil const :downloads, T.nilable(T::Array[String]), default: nil end |
#web_page_url ⇒ String? (readonly)
Value of the web_page_url field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: web_page_url.
71 72 73 74 75 76 77 78 79 80 81 |
# File 'lib/inttegro/product/media.rb', line 71 class Media < T::Struct const :hero_image, T.nilable(String), default: nil const :thumbnail, T.nilable(String), default: nil const :web_page_url, T.nilable(String), default: nil const :brand_logo, T.nilable(String), default: nil const :infographic, T.nilable(String), default: nil const :promo_video, T.nilable(String), default: nil const :demo_video, T.nilable(String), default: nil const :gallery, T.nilable(T::Array[String]), default: nil const :downloads, T.nilable(T::Array[String]), default: nil end |