class Google::Apis::GamesV1::Category

Data related to individual game categories.

Attributes

category[RW]

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

experience_points[RW]

Experience points earned in this category. Corresponds to the JSON property `experiencePoints` @return [Fixnum]

kind[RW]

Uniquely identifies the type of this resource. Value is always the fixed string `games#category`. Corresponds to the JSON property `kind` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/games_v1/classes.rb, line 608
def update!(**args)
  @category = args[:category] if args.key?(:category)
  @experience_points = args[:experience_points] if args.key?(:experience_points)
  @kind = args[:kind] if args.key?(:kind)
end