google_api_games v0.1.0 GoogleApi.Games.V1.Model.Quest View Source
This is a JSON template for a Quest resource.
Attributes
- acceptedTimestampMillis (String.t): The timestamp at which the user accepted the quest in milliseconds since the epoch in UTC. Only present if the player has accepted the quest. Defaults to:
null. - applicationId (String.t): The ID of the application this quest is part of. Defaults to:
null. - bannerUrl (String.t): The banner image URL for the quest. Defaults to:
null. - description (String.t): The description of the quest. Defaults to:
null. - endTimestampMillis (String.t): The timestamp at which the quest ceases to be active in milliseconds since the epoch in UTC. Defaults to:
null. - iconUrl (String.t): The icon image URL for the quest. Defaults to:
null. - id (String.t): The ID of the quest. Defaults to:
null. - isDefaultBannerUrl (boolean()): Indicates whether the banner image being returned is a default image, or is game-provided. Defaults to:
null. - isDefaultIconUrl (boolean()): Indicates whether the icon image being returned is a default image, or is game-provided. Defaults to:
null. - kind (String.t): Uniquely identifies the type of this resource. Value is always the fixed string games#quest. Defaults to:
null. - lastUpdatedTimestampMillis (String.t): The timestamp at which the quest was last updated by the user in milliseconds since the epoch in UTC. Only present if the player has accepted the quest. Defaults to:
null. - milestones ([QuestMilestone]): The quest milestones. Defaults to:
null. - name (String.t): The name of the quest. Defaults to:
null. - notifyTimestampMillis (String.t): The timestamp at which the user should be notified that the quest will end soon in milliseconds since the epoch in UTC. Defaults to:
null. - startTimestampMillis (String.t): The timestamp at which the quest becomes active in milliseconds since the epoch in UTC. Defaults to:
null. - state (String.t): The state of the quest. Possible values are: - "UPCOMING": The quest is upcoming. The user can see the quest, but cannot accept it until it is open. - "OPEN": The quest is currently open and may be accepted at this time. - "ACCEPTED": The user is currently participating in this quest. - "COMPLETED": The user has completed the quest. - "FAILED": The quest was attempted but was not completed before the deadline expired. - "EXPIRED": The quest has expired and was not accepted. - "DELETED": The quest should be deleted from the local database. 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() :: %GoogleApi.Games.V1.Model.Quest{
acceptedTimestampMillis: any(),
applicationId: any(),
bannerUrl: any(),
description: any(),
endTimestampMillis: any(),
iconUrl: any(),
id: any(),
isDefaultBannerUrl: any(),
isDefaultIconUrl: any(),
kind: any(),
lastUpdatedTimestampMillis: any(),
milestones: [GoogleApi.Games.V1.Model.QuestMilestone.t()],
name: any(),
notifyTimestampMillis: any(),
startTimestampMillis: any(),
state: any()
}
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.