public final class Quest
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Play Game Services API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Quest() |
| Modifier and Type | Method and Description |
|---|---|
Quest |
clone() |
java.lang.Long |
getAcceptedTimestampMillis()
The timestamp at which the user accepted the quest in milliseconds since the epoch in UTC.
|
java.lang.String |
getApplicationId()
The ID of the application this quest is part of.
|
java.lang.String |
getBannerUrl()
The banner image URL for the quest.
|
java.lang.String |
getDescription()
The description of the quest.
|
java.lang.Long |
getEndTimestampMillis()
The timestamp at which the quest ceases to be active in milliseconds since the epoch in UTC.
|
java.lang.String |
getIconUrl()
The icon image URL for the quest.
|
java.lang.String |
getId()
The ID of the quest.
|
java.lang.Boolean |
getIsDefaultBannerUrl()
Indicates whether the banner image being returned is a default image, or is game-provided.
|
java.lang.Boolean |
getIsDefaultIconUrl()
Indicates whether the icon image being returned is a default image, or is game-provided.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
java.lang.Long |
getLastUpdatedTimestampMillis()
The timestamp at which the quest was last updated by the user in milliseconds since the epoch
in UTC.
|
java.util.List<QuestMilestone> |
getMilestones()
The quest milestones.
|
java.lang.String |
getName()
The name of the quest.
|
java.lang.Long |
getNotifyTimestampMillis()
The timestamp at which the user should be notified that the quest will end soon in milliseconds
since the epoch in UTC.
|
java.lang.Long |
getStartTimestampMillis()
The timestamp at which the quest becomes active in milliseconds since the epoch in UTC.
|
java.lang.String |
getState()
The state of the quest.
|
Quest |
set(java.lang.String fieldName,
java.lang.Object value) |
Quest |
setAcceptedTimestampMillis(java.lang.Long acceptedTimestampMillis)
The timestamp at which the user accepted the quest in milliseconds since the epoch in UTC.
|
Quest |
setApplicationId(java.lang.String applicationId)
The ID of the application this quest is part of.
|
Quest |
setBannerUrl(java.lang.String bannerUrl)
The banner image URL for the quest.
|
Quest |
setDescription(java.lang.String description)
The description of the quest.
|
Quest |
setEndTimestampMillis(java.lang.Long endTimestampMillis)
The timestamp at which the quest ceases to be active in milliseconds since the epoch in UTC.
|
Quest |
setIconUrl(java.lang.String iconUrl)
The icon image URL for the quest.
|
Quest |
setId(java.lang.String id)
The ID of the quest.
|
Quest |
setIsDefaultBannerUrl(java.lang.Boolean isDefaultBannerUrl)
Indicates whether the banner image being returned is a default image, or is game-provided.
|
Quest |
setIsDefaultIconUrl(java.lang.Boolean isDefaultIconUrl)
Indicates whether the icon image being returned is a default image, or is game-provided.
|
Quest |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
Quest |
setLastUpdatedTimestampMillis(java.lang.Long lastUpdatedTimestampMillis)
The timestamp at which the quest was last updated by the user in milliseconds since the epoch
in UTC.
|
Quest |
setMilestones(java.util.List<QuestMilestone> milestones)
The quest milestones.
|
Quest |
setName(java.lang.String name)
The name of the quest.
|
Quest |
setNotifyTimestampMillis(java.lang.Long notifyTimestampMillis)
The timestamp at which the user should be notified that the quest will end soon in milliseconds
since the epoch in UTC.
|
Quest |
setStartTimestampMillis(java.lang.Long startTimestampMillis)
The timestamp at which the quest becomes active in milliseconds since the epoch in UTC.
|
Quest |
setState(java.lang.String state)
The state of the quest.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.Long getAcceptedTimestampMillis()
null for nonepublic Quest setAcceptedTimestampMillis(java.lang.Long acceptedTimestampMillis)
acceptedTimestampMillis - acceptedTimestampMillis or null for nonepublic java.lang.String getApplicationId()
null for nonepublic Quest setApplicationId(java.lang.String applicationId)
applicationId - applicationId or null for nonepublic java.lang.String getBannerUrl()
null for nonepublic Quest setBannerUrl(java.lang.String bannerUrl)
bannerUrl - bannerUrl or null for nonepublic java.lang.String getDescription()
null for nonepublic Quest setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.Long getEndTimestampMillis()
null for nonepublic Quest setEndTimestampMillis(java.lang.Long endTimestampMillis)
endTimestampMillis - endTimestampMillis or null for nonepublic java.lang.String getIconUrl()
null for nonepublic Quest setIconUrl(java.lang.String iconUrl)
iconUrl - iconUrl or null for nonepublic java.lang.String getId()
null for nonepublic Quest setId(java.lang.String id)
id - id or null for nonepublic java.lang.Boolean getIsDefaultBannerUrl()
null for nonepublic Quest setIsDefaultBannerUrl(java.lang.Boolean isDefaultBannerUrl)
isDefaultBannerUrl - isDefaultBannerUrl or null for nonepublic java.lang.Boolean getIsDefaultIconUrl()
null for nonepublic Quest setIsDefaultIconUrl(java.lang.Boolean isDefaultIconUrl)
isDefaultIconUrl - isDefaultIconUrl or null for nonepublic java.lang.String getKind()
null for nonepublic Quest setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.Long getLastUpdatedTimestampMillis()
null for nonepublic Quest setLastUpdatedTimestampMillis(java.lang.Long lastUpdatedTimestampMillis)
lastUpdatedTimestampMillis - lastUpdatedTimestampMillis or null for nonepublic java.util.List<QuestMilestone> getMilestones()
null for nonepublic Quest setMilestones(java.util.List<QuestMilestone> milestones)
milestones - milestones or null for nonepublic java.lang.String getName()
null for nonepublic Quest setName(java.lang.String name)
name - name or null for nonepublic java.lang.Long getNotifyTimestampMillis()
null for nonepublic Quest setNotifyTimestampMillis(java.lang.Long notifyTimestampMillis)
notifyTimestampMillis - notifyTimestampMillis or null for nonepublic java.lang.Long getStartTimestampMillis()
null for nonepublic Quest setStartTimestampMillis(java.lang.Long startTimestampMillis)
startTimestampMillis - startTimestampMillis or null for nonepublic java.lang.String getState()
null for nonepublic Quest setState(java.lang.String state)
state - state or null for nonepublic Quest set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Quest clone()
clone in class com.google.api.client.json.GenericJson