google_api_games v0.5.0 GoogleApi.Games.V1.Model.Quest View Source
This is a JSON template for a Quest resource.
Attributes
acceptedTimestampMillis
(type:String.t
, default:nil
) - 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.applicationId
(type:String.t
, default:nil
) - The ID of the application this quest is part of.bannerUrl
(type:String.t
, default:nil
) - The banner image URL for the quest.description
(type:String.t
, default:nil
) - The description of the quest.endTimestampMillis
(type:String.t
, default:nil
) - The timestamp at which the quest ceases to be active in milliseconds since the epoch in UTC.iconUrl
(type:String.t
, default:nil
) - The icon image URL for the quest.id
(type:String.t
, default:nil
) - The ID of the quest.isDefaultBannerUrl
(type:boolean()
, default:nil
) - Indicates whether the banner image being returned is a default image, or is game-provided.isDefaultIconUrl
(type:boolean()
, default:nil
) - Indicates whether the icon image being returned is a default image, or is game-provided.kind
(type:String.t
, default:games#quest
) - Uniquely identifies the type of this resource. Value is always the fixed string games#quest.lastUpdatedTimestampMillis
(type:String.t
, default:nil
) - 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.milestones
(type:list(GoogleApi.Games.V1.Model.QuestMilestone.t)
, default:nil
) - The quest milestones.name
(type:String.t
, default:nil
) - The name of the quest.notifyTimestampMillis
(type:String.t
, default:nil
) - The timestamp at which the user should be notified that the quest will end soon in milliseconds since the epoch in UTC.startTimestampMillis
(type:String.t
, default:nil
) - The timestamp at which the quest becomes active in milliseconds since the epoch in UTC.state
(type:String.t
, default:nil
) - 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.
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 Sourcet() :: %GoogleApi.Games.V1.Model.Quest{ acceptedTimestampMillis: String.t(), applicationId: String.t(), bannerUrl: String.t(), description: String.t(), endTimestampMillis: String.t(), iconUrl: String.t(), id: String.t(), isDefaultBannerUrl: boolean(), isDefaultIconUrl: boolean(), kind: String.t(), lastUpdatedTimestampMillis: String.t(), milestones: [GoogleApi.Games.V1.Model.QuestMilestone.t()], name: String.t(), notifyTimestampMillis: String.t(), startTimestampMillis: String.t(), state: String.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.