Class: Google::Apis::BooksV1::Category
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::BooksV1::Category
 
- 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::Category::Item> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A list of onboarding categories. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Resource type. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Category 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Category. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Category
Returns a new instance of Category
| 683 684 685 | # File 'generated/google/apis/books_v1/classes.rb', line 683 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#items ⇒ Array<Google::Apis::BooksV1::Category::Item>
A list of onboarding categories.
Corresponds to the JSON property items
| 676 677 678 | # File 'generated/google/apis/books_v1/classes.rb', line 676 def items @items end | 
#kind ⇒ String
Resource type.
Corresponds to the JSON property kind
| 681 682 683 | # File 'generated/google/apis/books_v1/classes.rb', line 681 def kind @kind end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 688 689 690 691 | # File 'generated/google/apis/books_v1/classes.rb', line 688 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) end |