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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Games.V1.Model.AchievementRevealResponse{
  currentState: String.t() | nil,
  kind: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.