class Google::Apis::BooksV1::Category::Item

Attributes

badge_url[RW]

Corresponds to the JSON property `badgeUrl` @return [String]

category_id[RW]

Corresponds to the JSON property `categoryId` @return [String]

name[RW]

Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/books_v1/classes.rb, line 711
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/books_v1/classes.rb, line 716
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