public final class AchievementUpdateRequest
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 |
|---|
AchievementUpdateRequest() |
| Modifier and Type | Method and Description |
|---|---|
AchievementUpdateRequest |
clone() |
String |
getAchievementId()
The achievement this update is being applied to.
|
GamesAchievementIncrement |
getIncrementPayload()
The payload if an update of type `INCREMENT` was requested for the achievement.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
GamesAchievementSetStepsAtLeast |
getSetStepsAtLeastPayload()
The payload if an update of type `SET_STEPS_AT_LEAST` was requested for the achievement.
|
String |
getUpdateType()
The type of update being applied.
|
AchievementUpdateRequest |
set(String fieldName,
Object value) |
AchievementUpdateRequest |
setAchievementId(String achievementId)
The achievement this update is being applied to.
|
AchievementUpdateRequest |
setIncrementPayload(GamesAchievementIncrement incrementPayload)
The payload if an update of type `INCREMENT` was requested for the achievement.
|
AchievementUpdateRequest |
setKind(String kind)
Uniquely identifies the type of this resource.
|
AchievementUpdateRequest |
setSetStepsAtLeastPayload(GamesAchievementSetStepsAtLeast setStepsAtLeastPayload)
The payload if an update of type `SET_STEPS_AT_LEAST` was requested for the achievement.
|
AchievementUpdateRequest |
setUpdateType(String updateType)
The type of update being applied.
|
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 AchievementUpdateRequest setAchievementId(String achievementId)
achievementId - achievementId or null for nonepublic GamesAchievementIncrement getIncrementPayload()
null for nonepublic AchievementUpdateRequest setIncrementPayload(GamesAchievementIncrement incrementPayload)
incrementPayload - incrementPayload or null for nonepublic String getKind()
null for nonepublic AchievementUpdateRequest setKind(String kind)
kind - kind or null for nonepublic GamesAchievementSetStepsAtLeast getSetStepsAtLeastPayload()
null for nonepublic AchievementUpdateRequest setSetStepsAtLeastPayload(GamesAchievementSetStepsAtLeast setStepsAtLeastPayload)
setStepsAtLeastPayload - setStepsAtLeastPayload or null for nonepublic String getUpdateType()
null for nonepublic AchievementUpdateRequest setUpdateType(String updateType)
updateType - updateType or null for nonepublic AchievementUpdateRequest set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic AchievementUpdateRequest clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.