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
An Inttegro Files API file or file-link reference.
-
#demo_video ⇒ String?
readonly
An Inttegro Files API file or file-link reference.
-
#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
An Inttegro Files API file or file-link reference.
-
#infographic ⇒ String?
readonly
An Inttegro Files API file or file-link reference.
-
#promo_video ⇒ String?
readonly
An Inttegro Files API file or file-link reference.
-
#thumbnail ⇒ String?
readonly
An Inttegro Files API file or file-link reference.
-
#web_page_url ⇒ String?
readonly
Public HTTP or HTTPS URL for the product's canonical landing page.
Instance Attribute Details
#brand_logo ⇒ String? (readonly)
An Inttegro Files API file or file-link reference. Remote URLs are not accepted.
Optional in the API payload; omitted values default to nil. Wire name: brand_logo.
72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/inttegro/product/media.rb', line 72 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)
An Inttegro Files API file or file-link reference. Remote URLs are not accepted.
Optional in the API payload; omitted values default to nil. Wire name: demo_video.
72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/inttegro/product/media.rb', line 72 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.
72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/inttegro/product/media.rb', line 72 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.
72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/inttegro/product/media.rb', line 72 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)
An Inttegro Files API file or file-link reference. Remote URLs are not accepted.
Optional in the API payload; omitted values default to nil. Wire name: hero_image.
72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/inttegro/product/media.rb', line 72 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)
An Inttegro Files API file or file-link reference. Remote URLs are not accepted.
Optional in the API payload; omitted values default to nil. Wire name: infographic.
72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/inttegro/product/media.rb', line 72 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)
An Inttegro Files API file or file-link reference. Remote URLs are not accepted.
Optional in the API payload; omitted values default to nil. Wire name: promo_video.
72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/inttegro/product/media.rb', line 72 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)
An Inttegro Files API file or file-link reference. Remote URLs are not accepted.
Optional in the API payload; omitted values default to nil. Wire name: thumbnail.
72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/inttegro/product/media.rb', line 72 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)
Public HTTP or HTTPS URL for the product's canonical landing page. Credentials and local or private literal addresses are rejected.
Optional in the API payload; omitted values default to nil. Wire name: web_page_url.
72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/inttegro/product/media.rb', line 72 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 |