Class: Google::Apis::BooksV1::Offers
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::BooksV1::Offers
 
- 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
Defined Under Namespace
Classes: Item
Instance Attribute Summary collapse
- 
  
    
      #items  ⇒ Array<Google::Apis::BooksV1::Offers::Item> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A list of offers. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Resource type. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Offers 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Offers. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Offers
Returns a new instance of Offers
| 2172 2173 2174 | # File 'generated/google/apis/books_v1/classes.rb', line 2172 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#items ⇒ Array<Google::Apis::BooksV1::Offers::Item>
A list of offers.
Corresponds to the JSON property items
| 2165 2166 2167 | # File 'generated/google/apis/books_v1/classes.rb', line 2165 def items @items end | 
#kind ⇒ String
Resource type.
Corresponds to the JSON property kind
| 2170 2171 2172 | # File 'generated/google/apis/books_v1/classes.rb', line 2170 def kind @kind end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2177 2178 2179 2180 | # File 'generated/google/apis/books_v1/classes.rb', line 2177 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) end |