Class: Google::Apis::BooksV1::Bookshelves
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::BooksV1::Bookshelves
 
- 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::Bookshelf> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A list of bookshelves. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Resource type. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Bookshelves 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Bookshelves. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Bookshelves
Returns a new instance of Bookshelves
| 658 659 660 | # File 'generated/google/apis/books_v1/classes.rb', line 658 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#items ⇒ Array<Google::Apis::BooksV1::Bookshelf>
A list of bookshelves.
Corresponds to the JSON property items
| 651 652 653 | # File 'generated/google/apis/books_v1/classes.rb', line 651 def items @items end | 
#kind ⇒ String
Resource type.
Corresponds to the JSON property kind
| 656 657 658 | # File 'generated/google/apis/books_v1/classes.rb', line 656 def kind @kind end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 663 664 665 666 | # File 'generated/google/apis/books_v1/classes.rb', line 663 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) end |