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

An achievement reveal response

Attributes

  • currentState (type: String.t, default: nil) - The current state of the achievement for which a reveal was attempted. This might be UNLOCKED if the achievement was already unlocked.
  • kind (type: String.t, default: nil) - Uniquely identifies the type of this resource. Value is always the fixed string games#achievementRevealResponse.

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.AchievementRevealResponse{
  currentState: String.t() | nil,
  kind: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.