Class: Google::Apis::BooksV1::Category::Item
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::BooksV1::Category::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
- 
  
    
      #badge_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
badgeUrl. - 
  
    
      #category_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
categoryId. - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
name. 
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
      712 713 714  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 712 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#badge_url ⇒ String
Corresponds to the JSON property badgeUrl
      700 701 702  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 700 def badge_url @badge_url end  | 
  
#category_id ⇒ String
Corresponds to the JSON property categoryId
      705 706 707  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 705 def category_id @category_id end  | 
  
#name ⇒ String
Corresponds to the JSON property name
      710 711 712  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 710 def name @name end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      717 718 719 720 721  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 717 def update!(**args) @badge_url = args[:badge_url] if args.key?(:badge_url) @category_id = args[:category_id] if args.key?(:category_id) @name = args[:name] if args.key?(:name) end  |