GoogleApi.Games.V1.Model.AchievementUnlockResponse (google_api_games v0.22.0) View Source

An achievement unlock response

Attributes

  • kind (type: String.t, default: nil) - Uniquely identifies the type of this resource. Value is always the fixed string games#achievementUnlockResponse.
  • newlyUnlocked (type: boolean(), default: nil) - Whether this achievement was newly unlocked (that is, whether the unlock request for the achievement was the first for the player).

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Games.V1.Model.AchievementUnlockResponse{
  kind: String.t() | nil,
  newlyUnlocked: boolean() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.