google_api_games v0.6.0 GoogleApi.Games.V1.Model.AchievementRevealResponse View Source

This is a JSON template for 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. Possible values are:

    • "REVEALED" - Achievement is revealed.
    • "UNLOCKED" - Achievement is unlocked.
  • kind (type: String.t, default: games#achievementRevealResponse) - 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

Link to this type

t()

View Source
t() :: %GoogleApi.Games.V1.Model.AchievementRevealResponse{
  currentState: String.t(),
  kind: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.