google_api_games v0.5.0 GoogleApi.Games.V1.Model.AchievementUnlockResponse View Source

This is a JSON template for an achievement unlock response

Attributes

  • kind (type: String.t, default: games#achievementUnlockResponse) - Uniquely identifies the type of this resource. Value is always the fixed string games#achievementUnlockResponse.
  • newlyUnlocked (type: boolean(), default: nil) - Whether this achievement was newly unlocked (that is, whether the unlock request for the achievement was the first for the player).

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.AchievementUnlockResponse{
  kind: String.t(),
  newlyUnlocked: 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.