Class: Google::Apis::BooksV1::Offers::Item::Item
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::BooksV1::Offers::Item::Item
 
- 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
Instance Attribute Summary collapse
- 
  
    
      #author  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property author.
- 
  
    
      #canonical_volume_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property canonicalVolumeLink.
- 
  
    
      #cover_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property coverUrl.
- 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property description.
- 
  
    
      #title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property title.
- 
  
    
      #volume_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property volumeId.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Item 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Item. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Item
Returns a new instance of Item
| 2252 2253 2254 | # File 'generated/google/apis/books_v1/classes.rb', line 2252 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#author ⇒ String
Corresponds to the JSON property author
| 2225 2226 2227 | # File 'generated/google/apis/books_v1/classes.rb', line 2225 def @author end | 
#canonical_volume_link ⇒ String
Corresponds to the JSON property canonicalVolumeLink
| 2230 2231 2232 | # File 'generated/google/apis/books_v1/classes.rb', line 2230 def canonical_volume_link @canonical_volume_link end | 
#cover_url ⇒ String
Corresponds to the JSON property coverUrl
| 2235 2236 2237 | # File 'generated/google/apis/books_v1/classes.rb', line 2235 def cover_url @cover_url end | 
#description ⇒ String
Corresponds to the JSON property description
| 2240 2241 2242 | # File 'generated/google/apis/books_v1/classes.rb', line 2240 def description @description end | 
#title ⇒ String
Corresponds to the JSON property title
| 2245 2246 2247 | # File 'generated/google/apis/books_v1/classes.rb', line 2245 def title @title end | 
#volume_id ⇒ String
Corresponds to the JSON property volumeId
| 2250 2251 2252 | # File 'generated/google/apis/books_v1/classes.rb', line 2250 def volume_id @volume_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2257 2258 2259 2260 2261 2262 2263 2264 | # File 'generated/google/apis/books_v1/classes.rb', line 2257 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 |