google_api_games v0.14.0 GoogleApi.Games.V1.Model.AchievementUpdateRequest View Source

A request to update an achievement.

Attributes

  • achievementId (type: String.t, default: nil) - The achievement this update is being applied to.
  • incrementPayload (type: GoogleApi.Games.V1.Model.GamesAchievementIncrement.t, default: nil) - The payload if an update of type INCREMENT was requested for the achievement.
  • kind (type: String.t, default: nil) - Uniquely identifies the type of this resource. Value is always the fixed string games#achievementUpdateRequest.
  • setStepsAtLeastPayload (type: GoogleApi.Games.V1.Model.GamesAchievementSetStepsAtLeast.t, default: nil) - The payload if an update of type SET_STEPS_AT_LEAST was requested for the achievement.
  • updateType (type: String.t, default: nil) - The type of update being applied.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Games.V1.Model.AchievementUpdateRequest{
  achievementId: String.t(),
  incrementPayload: GoogleApi.Games.V1.Model.GamesAchievementIncrement.t(),
  kind: String.t(),
  setStepsAtLeastPayload:
    GoogleApi.Games.V1.Model.GamesAchievementSetStepsAtLeast.t(),
  updateType: String.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.