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 Game 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.Flags| Constructor and Description |
|---|
AchievementUpdateRequest() |
| Modifier and Type | Method and Description |
|---|---|
AchievementUpdateRequest |
clone() |
java.lang.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.
|
java.lang.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.
|
java.lang.String |
getUpdateType()
The type of update being applied.
|
AchievementUpdateRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
AchievementUpdateRequest |
setAchievementId(java.lang.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(java.lang.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(java.lang.String updateType)
The type of update being applied.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getAchievementId()
null for nonepublic AchievementUpdateRequest setAchievementId(java.lang.String achievementId)
achievementId - achievementId or null for nonepublic GamesAchievementIncrement getIncrementPayload()
null for nonepublic AchievementUpdateRequest setIncrementPayload(GamesAchievementIncrement incrementPayload)
incrementPayload - incrementPayload or null for nonepublic java.lang.String getKind()
null for nonepublic AchievementUpdateRequest setKind(java.lang.String kind)
kind - kind or null for nonepublic GamesAchievementSetStepsAtLeast getSetStepsAtLeastPayload()
null for nonepublic AchievementUpdateRequest setSetStepsAtLeastPayload(GamesAchievementSetStepsAtLeast setStepsAtLeastPayload)
setStepsAtLeastPayload - setStepsAtLeastPayload or null for nonepublic java.lang.String getUpdateType()
null for nonepublic AchievementUpdateRequest setUpdateType(java.lang.String updateType)
updateType - updateType or null for nonepublic AchievementUpdateRequest set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic AchievementUpdateRequest clone()
clone in class com.google.api.client.json.GenericJson