public final class PlayerAchievement extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PlayerAchievement() |
| Modifier and Type | Method and Description |
|---|---|
PlayerAchievement |
clone() |
String |
getAchievementState()
The state of the achievement.
|
Integer |
getCurrentSteps()
The current steps for an incremental achievement.
|
String |
getFormattedCurrentStepsString()
The current steps for an incremental achievement as a string.
|
String |
getId()
The ID of the achievement.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
Long |
getLastUpdatedTimestamp()
The timestamp of the last modification to this achievement's state.
|
PlayerAchievement |
set(String fieldName,
Object value) |
PlayerAchievement |
setAchievementState(String achievementState)
The state of the achievement.
|
PlayerAchievement |
setCurrentSteps(Integer currentSteps)
The current steps for an incremental achievement.
|
PlayerAchievement |
setFormattedCurrentStepsString(String formattedCurrentStepsString)
The current steps for an incremental achievement as a string.
|
PlayerAchievement |
setId(String id)
The ID of the achievement.
|
PlayerAchievement |
setKind(String kind)
Uniquely identifies the type of this resource.
|
PlayerAchievement |
setLastUpdatedTimestamp(Long lastUpdatedTimestamp)
The timestamp of the last modification to this achievement's state.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getAchievementState()
null for nonepublic PlayerAchievement setAchievementState(String achievementState)
achievementState - achievementState or null for nonepublic Integer getCurrentSteps()
null for nonepublic PlayerAchievement setCurrentSteps(Integer currentSteps)
currentSteps - currentSteps or null for nonepublic String getFormattedCurrentStepsString()
null for nonepublic PlayerAchievement setFormattedCurrentStepsString(String formattedCurrentStepsString)
formattedCurrentStepsString - formattedCurrentStepsString or null for nonepublic String getId()
null for nonepublic PlayerAchievement setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic PlayerAchievement setKind(String kind)
kind - kind or null for nonepublic Long getLastUpdatedTimestamp()
null for nonepublic PlayerAchievement setLastUpdatedTimestamp(Long lastUpdatedTimestamp)
lastUpdatedTimestamp - lastUpdatedTimestamp or null for nonepublic PlayerAchievement set(String fieldName, Object value)
set in class GenericJsonpublic PlayerAchievement clone()
clone in class GenericJson