public final class AchievementUpdateRequest 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 |
|---|
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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic 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 GenericJsonpublic AchievementUpdateRequest clone()
clone in class GenericJson