google_api_games v0.2.0 GoogleApi.Games.V1.Model.AchievementUpdateRequest View Source
This is a JSON template for a request to update an achievement.
Attributes
- achievementId (String.t): The achievement this update is being applied to. Defaults to:
null. - incrementPayload (GamesAchievementIncrement): The payload if an update of type INCREMENT was requested for the achievement. Defaults to:
null. - kind (String.t): Uniquely identifies the type of this resource. Value is always the fixed string games#achievementUpdateRequest. Defaults to:
null. - setStepsAtLeastPayload (GamesAchievementSetStepsAtLeast): The payload if an update of type SET_STEPS_AT_LEAST was requested for the achievement. Defaults to:
null. - updateType (String.t): The type of update being applied. Possible values are: - "REVEAL" - Achievement is revealed. - "UNLOCK" - Achievement is unlocked. - "INCREMENT" - Achievement is incremented. - "SET_STEPS_AT_LEAST" - Achievement progress is set to at least the passed value. 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 type
t()
View Source
t()
View Source
t() :: %GoogleApi.Games.V1.Model.AchievementUpdateRequest{
achievementId: any(),
incrementPayload: GoogleApi.Games.V1.Model.GamesAchievementIncrement.t(),
kind: any(),
setStepsAtLeastPayload:
GoogleApi.Games.V1.Model.GamesAchievementSetStepsAtLeast.t(),
updateType: any()
}
t() :: %GoogleApi.Games.V1.Model.AchievementUpdateRequest{
achievementId: any(),
incrementPayload: GoogleApi.Games.V1.Model.GamesAchievementIncrement.t(),
kind: any(),
setStepsAtLeastPayload:
GoogleApi.Games.V1.Model.GamesAchievementSetStepsAtLeast.t(),
updateType: any()
}
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.