GoogleApi.GamesManagement.V1management.Model.AchievementResetResponse (google_api_games_management v0.18.0) View Source

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: nil) - 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

Specs

t() :: %GoogleApi.GamesManagement.V1management.Model.AchievementResetResponse{
  currentState: String.t() | nil,
  definitionId: String.t() | nil,
  kind: String.t() | nil,
  updateOccurred: boolean() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.