google_api_games v0.3.1 GoogleApi.Games.V1.Model.AchievementUpdateResponse View Source
This is a JSON template for an achievement update response.
Attributes
- achievementId (String.t): The achievement this update is was applied to. Defaults to:
null. - currentState (String.t): The current state of the achievement. Possible values are: - "HIDDEN" - Achievement is hidden. - "REVEALED" - Achievement is revealed. - "UNLOCKED" - Achievement is unlocked. Defaults to:
null. - currentSteps (integer()): The current steps recorded for this achievement if it is incremental. Defaults to:
null. - kind (String.t): Uniquely identifies the type of this resource. Value is always the fixed string games#achievementUpdateResponse. Defaults to:
null. - newlyUnlocked (boolean()): Whether this achievement was newly unlocked (that is, whether the unlock request for the achievement was the first for the player). Defaults to:
null. - updateOccurred (boolean()): Whether the requested updates actually affected the achievement. Defaults to:
null.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.