public final class AchievementUpdateResponse
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 |
|---|
AchievementUpdateResponse() |
| Modifier and Type | Method and Description |
|---|---|
AchievementUpdateResponse |
clone() |
java.lang.String |
getAchievementId()
The achievement this update is was applied to.
|
java.lang.String |
getCurrentState()
The current state of the achievement.
|
java.lang.Integer |
getCurrentSteps()
The current steps recorded for this achievement if it is incremental.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
java.lang.Boolean |
getNewlyUnlocked()
Whether this achievement was newly unlocked (that is, whether the unlock request for the
achievement was the first for the player).
|
java.lang.Boolean |
getUpdateOccurred()
Whether the requested updates actually affected the achievement.
|
AchievementUpdateResponse |
set(java.lang.String fieldName,
java.lang.Object value) |
AchievementUpdateResponse |
setAchievementId(java.lang.String achievementId)
The achievement this update is was applied to.
|
AchievementUpdateResponse |
setCurrentState(java.lang.String currentState)
The current state of the achievement.
|
AchievementUpdateResponse |
setCurrentSteps(java.lang.Integer currentSteps)
The current steps recorded for this achievement if it is incremental.
|
AchievementUpdateResponse |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
AchievementUpdateResponse |
setNewlyUnlocked(java.lang.Boolean newlyUnlocked)
Whether this achievement was newly unlocked (that is, whether the unlock request for the
achievement was the first for the player).
|
AchievementUpdateResponse |
setUpdateOccurred(java.lang.Boolean updateOccurred)
Whether the requested updates actually affected the achievement.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getAchievementId()
null for nonepublic AchievementUpdateResponse setAchievementId(java.lang.String achievementId)
achievementId - achievementId or null for nonepublic java.lang.String getCurrentState()
null for nonepublic AchievementUpdateResponse setCurrentState(java.lang.String currentState)
currentState - currentState or null for nonepublic java.lang.Integer getCurrentSteps()
null for nonepublic AchievementUpdateResponse setCurrentSteps(java.lang.Integer currentSteps)
currentSteps - currentSteps or null for nonepublic java.lang.String getKind()
null for nonepublic AchievementUpdateResponse setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.Boolean getNewlyUnlocked()
null for nonepublic AchievementUpdateResponse setNewlyUnlocked(java.lang.Boolean newlyUnlocked)
newlyUnlocked - newlyUnlocked or null for nonepublic java.lang.Boolean getUpdateOccurred()
null for nonepublic AchievementUpdateResponse setUpdateOccurred(java.lang.Boolean updateOccurred)
updateOccurred - updateOccurred or null for nonepublic AchievementUpdateResponse set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic AchievementUpdateResponse clone()
clone in class com.google.api.client.json.GenericJson