google_api_games v0.3.0 GoogleApi.Games.V1.Model.QuestMilestone View Source
This is a JSON template for a Quest Milestone resource.
Attributes
- completionRewardData (binary()): The completion reward data of the milestone, represented as a Base64-encoded string. This is a developer-specified binary blob with size between 0 and 2 KB before encoding. Defaults to:
null. - criteria ([QuestCriterion]): The criteria of the milestone. Defaults to:
null. - id (String.t): The milestone ID. Defaults to:
null. - kind (String.t): Uniquely identifies the type of this resource. Value is always the fixed string games#questMilestone. Defaults to:
null. - state (String.t): The current state of the milestone. Possible values are: - "COMPLETED_NOT_CLAIMED" - The milestone is complete, but has not yet been claimed. - "CLAIMED" - The milestone is complete and has been claimed. - "NOT_COMPLETED" - The milestone has not yet been completed. - "NOT_STARTED" - The milestone is for a quest that has not yet been accepted. 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.QuestMilestone{
completionRewardData: any(),
criteria: [GoogleApi.Games.V1.Model.QuestCriterion.t()],
id: any(),
kind: any(),
state: any()
}
t() :: %GoogleApi.Games.V1.Model.QuestMilestone{
completionRewardData: any(),
criteria: [GoogleApi.Games.V1.Model.QuestCriterion.t()],
id: any(),
kind: any(),
state: any()
}
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.