Class: Google::Apis::BooksV1::Volume::VolumeInfo::ImageLinks
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::Volume::VolumeInfo::ImageLinks
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/books_v1/classes.rb,
generated/google/apis/books_v1/representations.rb,
generated/google/apis/books_v1/representations.rb
Overview
A list of image links for all the sizes that are available. (In LITE projection.)
Instance Attribute Summary collapse
-
#extra_large ⇒ String
Image link for extra large size (width of ~1280 pixels).
-
#large ⇒ String
Image link for large size (width of ~800 pixels).
-
#medium ⇒ String
Image link for medium size (width of ~575 pixels).
-
#small ⇒ String
Image link for small size (width of ~300 pixels).
-
#small_thumbnail ⇒ String
Image link for small thumbnail size (width of ~80 pixels).
-
#thumbnail ⇒ String
Image link for thumbnail size (width of ~128 pixels).
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImageLinks
constructor
A new instance of ImageLinks.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ImageLinks
Returns a new instance of ImageLinks.
3726 3727 3728 |
# File 'generated/google/apis/books_v1/classes.rb', line 3726 def initialize(**args) update!(**args) end |
Instance Attribute Details
#extra_large ⇒ String
Image link for extra large size (width of ~1280 pixels). (In LITE projection)
Corresponds to the JSON property extraLarge
3699 3700 3701 |
# File 'generated/google/apis/books_v1/classes.rb', line 3699 def extra_large @extra_large end |
#large ⇒ String
Image link for large size (width of ~800 pixels). (In LITE projection)
Corresponds to the JSON property large
3704 3705 3706 |
# File 'generated/google/apis/books_v1/classes.rb', line 3704 def large @large end |
#medium ⇒ String
Image link for medium size (width of ~575 pixels). (In LITE projection)
Corresponds to the JSON property medium
3709 3710 3711 |
# File 'generated/google/apis/books_v1/classes.rb', line 3709 def medium @medium end |
#small ⇒ String
Image link for small size (width of ~300 pixels). (In LITE projection)
Corresponds to the JSON property small
3714 3715 3716 |
# File 'generated/google/apis/books_v1/classes.rb', line 3714 def small @small end |
#small_thumbnail ⇒ String
Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)
Corresponds to the JSON property smallThumbnail
3719 3720 3721 |
# File 'generated/google/apis/books_v1/classes.rb', line 3719 def small_thumbnail @small_thumbnail end |
#thumbnail ⇒ String
Image link for thumbnail size (width of ~128 pixels). (In LITE projection)
Corresponds to the JSON property thumbnail
3724 3725 3726 |
# File 'generated/google/apis/books_v1/classes.rb', line 3724 def thumbnail @thumbnail end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3731 3732 3733 3734 3735 3736 3737 3738 |
# File 'generated/google/apis/books_v1/classes.rb', line 3731 def update!(**args) @extra_large = args[:extra_large] if args.key?(:extra_large) @large = args[:large] if args.key?(:large) @medium = args[:medium] if args.key?(:medium) @small = args[:small] if args.key?(:small) @small_thumbnail = args[:small_thumbnail] if args.key?(:small_thumbnail) @thumbnail = args[:thumbnail] if args.key?(:thumbnail) end |