class Google::Apis::BooksV1::Offers::Item::Item
Attributes
canonical_volume_link[RW]
Corresponds to the JSON property `canonicalVolumeLink` @return [String]
cover_url[RW]
Corresponds to the JSON property `coverUrl` @return [String]
description[RW]
Corresponds to the JSON property `description` @return [String]
title[RW]
Corresponds to the JSON property `title` @return [String]
volume_id[RW]
Corresponds to the JSON property `volumeId` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/books_v1/classes.rb, line 2328 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/books_v1/classes.rb, line 2333 def update!(**args) @author = args[:author] if args.key?(:author) @canonical_volume_link = args[:canonical_volume_link] if args.key?(:canonical_volume_link) @cover_url = args[:cover_url] if args.key?(:cover_url) @description = args[:description] if args.key?(:description) @title = args[:title] if args.key?(:title) @volume_id = args[:volume_id] if args.key?(:volume_id) end