public final class AchievementDefinition
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: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
AchievementDefinition() |
| Modifier and Type | Method and Description |
|---|---|
AchievementDefinition |
clone() |
java.lang.String |
getAchievementType()
The type of the achievement.
|
java.lang.String |
getDescription()
The description of the achievement.
|
java.lang.Long |
getExperiencePoints()
Experience points which will be earned when unlocking this achievement.
|
java.lang.String |
getFormattedTotalSteps()
The total steps for an incremental achievement as a string.
|
java.lang.String |
getId()
The ID of the achievement.
|
java.lang.String |
getInitialState()
The initial state of the achievement.
|
java.lang.Boolean |
getIsRevealedIconUrlDefault()
Indicates whether the revealed icon image being returned is a default image, or is provided by
the game.
|
java.lang.Boolean |
getIsUnlockedIconUrlDefault()
Indicates whether the unlocked 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.String |
getName()
The name of the achievement.
|
java.lang.String |
getRevealedIconUrl()
The image URL for the revealed achievement icon.
|
java.lang.Integer |
getTotalSteps()
The total steps for an incremental achievement.
|
java.lang.String |
getUnlockedIconUrl()
The image URL for the unlocked achievement icon.
|
AchievementDefinition |
set(java.lang.String fieldName,
java.lang.Object value) |
AchievementDefinition |
setAchievementType(java.lang.String achievementType)
The type of the achievement.
|
AchievementDefinition |
setDescription(java.lang.String description)
The description of the achievement.
|
AchievementDefinition |
setExperiencePoints(java.lang.Long experiencePoints)
Experience points which will be earned when unlocking this achievement.
|
AchievementDefinition |
setFormattedTotalSteps(java.lang.String formattedTotalSteps)
The total steps for an incremental achievement as a string.
|
AchievementDefinition |
setId(java.lang.String id)
The ID of the achievement.
|
AchievementDefinition |
setInitialState(java.lang.String initialState)
The initial state of the achievement.
|
AchievementDefinition |
setIsRevealedIconUrlDefault(java.lang.Boolean isRevealedIconUrlDefault)
Indicates whether the revealed icon image being returned is a default image, or is provided by
the game.
|
AchievementDefinition |
setIsUnlockedIconUrlDefault(java.lang.Boolean isUnlockedIconUrlDefault)
Indicates whether the unlocked icon image being returned is a default image, or is game-
provided.
|
AchievementDefinition |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
AchievementDefinition |
setName(java.lang.String name)
The name of the achievement.
|
AchievementDefinition |
setRevealedIconUrl(java.lang.String revealedIconUrl)
The image URL for the revealed achievement icon.
|
AchievementDefinition |
setTotalSteps(java.lang.Integer totalSteps)
The total steps for an incremental achievement.
|
AchievementDefinition |
setUnlockedIconUrl(java.lang.String unlockedIconUrl)
The image URL for the unlocked achievement icon.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getAchievementType()
null for nonepublic AchievementDefinition setAchievementType(java.lang.String achievementType)
achievementType - achievementType or null for nonepublic java.lang.String getDescription()
null for nonepublic AchievementDefinition setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.Long getExperiencePoints()
null for nonepublic AchievementDefinition setExperiencePoints(java.lang.Long experiencePoints)
experiencePoints - experiencePoints or null for nonepublic java.lang.String getFormattedTotalSteps()
null for nonepublic AchievementDefinition setFormattedTotalSteps(java.lang.String formattedTotalSteps)
formattedTotalSteps - formattedTotalSteps or null for nonepublic java.lang.String getId()
null for nonepublic AchievementDefinition setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getInitialState()
null for nonepublic AchievementDefinition setInitialState(java.lang.String initialState)
initialState - initialState or null for nonepublic java.lang.Boolean getIsRevealedIconUrlDefault()
null for nonepublic AchievementDefinition setIsRevealedIconUrlDefault(java.lang.Boolean isRevealedIconUrlDefault)
isRevealedIconUrlDefault - isRevealedIconUrlDefault or null for nonepublic java.lang.Boolean getIsUnlockedIconUrlDefault()
null for nonepublic AchievementDefinition setIsUnlockedIconUrlDefault(java.lang.Boolean isUnlockedIconUrlDefault)
isUnlockedIconUrlDefault - isUnlockedIconUrlDefault or null for nonepublic java.lang.String getKind()
null for nonepublic AchievementDefinition setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic AchievementDefinition setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getRevealedIconUrl()
null for nonepublic AchievementDefinition setRevealedIconUrl(java.lang.String revealedIconUrl)
revealedIconUrl - revealedIconUrl or null for nonepublic java.lang.Integer getTotalSteps()
null for nonepublic AchievementDefinition setTotalSteps(java.lang.Integer totalSteps)
totalSteps - totalSteps or null for nonepublic java.lang.String getUnlockedIconUrl()
null for nonepublic AchievementDefinition setUnlockedIconUrl(java.lang.String unlockedIconUrl)
unlockedIconUrl - unlockedIconUrl or null for nonepublic AchievementDefinition set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic AchievementDefinition clone()
clone in class com.google.api.client.json.GenericJson