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 Games 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AchievementUpdateResponse() |
| Modifier and Type | Method and Description |
|---|---|
AchievementUpdateResponse |
clone() |
String |
getAchievementId()
The achievement this update is was applied to.
|
String |
getCurrentState()
The current state of the achievement.
|
Integer |
getCurrentSteps()
The current steps recorded for this achievement if it is incremental.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
Boolean |
getNewlyUnlocked()
Whether this achievement was newly unlocked (that is, whether the unlock request for the
achievement was the first for the player).
|
Boolean |
getUpdateOccurred()
Whether the requested updates actually affected the achievement.
|
AchievementUpdateResponse |
set(String fieldName,
Object value) |
AchievementUpdateResponse |
setAchievementId(String achievementId)
The achievement this update is was applied to.
|
AchievementUpdateResponse |
setCurrentState(String currentState)
The current state of the achievement.
|
AchievementUpdateResponse |
setCurrentSteps(Integer currentSteps)
The current steps recorded for this achievement if it is incremental.
|
AchievementUpdateResponse |
setKind(String kind)
Uniquely identifies the type of this resource.
|
AchievementUpdateResponse |
setNewlyUnlocked(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(Boolean updateOccurred)
Whether the requested updates actually affected the achievement.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAchievementId()
null for nonepublic AchievementUpdateResponse setAchievementId(String achievementId)
achievementId - achievementId or null for nonepublic String getCurrentState()
null for nonepublic AchievementUpdateResponse setCurrentState(String currentState)
currentState - currentState or null for nonepublic Integer getCurrentSteps()
null for nonepublic AchievementUpdateResponse setCurrentSteps(Integer currentSteps)
currentSteps - currentSteps or null for nonepublic String getKind()
null for nonepublic AchievementUpdateResponse setKind(String kind)
kind - kind or null for nonepublic Boolean getNewlyUnlocked()
null for nonepublic AchievementUpdateResponse setNewlyUnlocked(Boolean newlyUnlocked)
newlyUnlocked - newlyUnlocked or null for nonepublic Boolean getUpdateOccurred()
null for nonepublic AchievementUpdateResponse setUpdateOccurred(Boolean updateOccurred)
updateOccurred - updateOccurred or null for nonepublic AchievementUpdateResponse set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic AchievementUpdateResponse clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.