class Google::Apis::GamesV1::AchievementIncrementResponse

This is a JSON template for an achievement increment response

Attributes

current_steps[RW]

The current steps recorded for this incremental achievement. Corresponds to the JSON property `currentSteps` @return [Fixnum]

kind[RW]

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

newly_unlocked[RW]

Whether the current steps for the achievement has reached the number of steps required to unlock. Corresponds to the JSON property `newlyUnlocked` @return [Boolean]

newly_unlocked?[RW]

Whether the current steps for the achievement has reached the number of steps required to unlock. Corresponds to the JSON property `newlyUnlocked` @return [Boolean]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/games_v1/classes.rb, line 187
def update!(**args)
  @current_steps = args[:current_steps] if args.key?(:current_steps)
  @kind = args[:kind] if args.key?(:kind)
  @newly_unlocked = args[:newly_unlocked] if args.key?(:newly_unlocked)
end