GoogleApi.Games.V1.Model.AchievementIncrementResponse (google_api_games v0.26.2)

View Source

An achievement increment response

Attributes

  • currentSteps (type: integer(), default: nil) - The current steps recorded for this incremental achievement.
  • kind (type: String.t, default: nil) - Uniquely identifies the type of this resource. Value is always the fixed string games#achievementIncrementResponse.
  • newlyUnlocked (type: boolean(), default: nil) - Whether the current steps for the achievement has reached the number of steps required to unlock.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Games.V1.Model.AchievementIncrementResponse{
  currentSteps: integer() | nil,
  kind: String.t() | nil,
  newlyUnlocked: boolean() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.