Class: Google::Apis::BooksV1::Volumes
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::BooksV1::Volumes
 
- 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
- 
  
    
      #items  ⇒ Array<Google::Apis::BooksV1::Volume> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A list of volumes. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Resource type. 
- 
  
    
      #total_items  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Total number of volumes found. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Volumes 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Volumes. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Volumes
Returns a new instance of Volumes
| 4191 4192 4193 | # File 'generated/google/apis/books_v1/classes.rb', line 4191 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#items ⇒ Array<Google::Apis::BooksV1::Volume>
A list of volumes.
Corresponds to the JSON property items
| 4178 4179 4180 | # File 'generated/google/apis/books_v1/classes.rb', line 4178 def items @items end | 
#kind ⇒ String
Resource type.
Corresponds to the JSON property kind
| 4183 4184 4185 | # File 'generated/google/apis/books_v1/classes.rb', line 4183 def kind @kind end | 
#total_items ⇒ Fixnum
Total number of volumes found. This might be greater than the number of
volumes returned in this response if results have been paginated.
Corresponds to the JSON property totalItems
| 4189 4190 4191 | # File 'generated/google/apis/books_v1/classes.rb', line 4189 def total_items @total_items end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 4196 4197 4198 4199 4200 | # File 'generated/google/apis/books_v1/classes.rb', line 4196 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @total_items = args[:total_items] if args.key?(:total_items) end |