google_api_games_management v0.13.0 GoogleApi.GamesManagement.V1management.Model.AchievementResetResponse View Source

This is a JSON template for an achievement reset response.

Attributes

  • currentState (type: String.t, default: nil) - The current state of the achievement. This is the same as the initial state of the achievement. Possible values are:

    • "HIDDEN"- Achievement is hidden.
    • "REVEALED" - Achievement is revealed.
    • "UNLOCKED" - Achievement is unlocked.
  • definitionId (type: String.t, default: nil) - The ID of an achievement for which player state has been updated.
  • kind (type: String.t, default: gamesManagement#achievementResetResponse) - Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#achievementResetResponse.
  • updateOccurred (type: boolean(), default: nil) - Flag to indicate if the requested update actually occurred.

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.GamesManagement.V1management.Model.AchievementResetResponse{
  currentState: String.t(),
  definitionId: String.t(),
  kind: String.t(),
  updateOccurred: boolean()
}

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.