public final class PlayerExperienceInfo
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 |
|---|
PlayerExperienceInfo() |
| Modifier and Type | Method and Description |
|---|---|
PlayerExperienceInfo |
clone() |
java.lang.Long |
getCurrentExperiencePoints()
The current number of experience points for the player.
|
PlayerLevel |
getCurrentLevel()
The current level of the player.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
java.lang.Long |
getLastLevelUpTimestampMillis()
The timestamp when the player was leveled up, in millis since Unix epoch UTC.
|
PlayerLevel |
getNextLevel()
The next level of the player.
|
PlayerExperienceInfo |
set(java.lang.String fieldName,
java.lang.Object value) |
PlayerExperienceInfo |
setCurrentExperiencePoints(java.lang.Long currentExperiencePoints)
The current number of experience points for the player.
|
PlayerExperienceInfo |
setCurrentLevel(PlayerLevel currentLevel)
The current level of the player.
|
PlayerExperienceInfo |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
PlayerExperienceInfo |
setLastLevelUpTimestampMillis(java.lang.Long lastLevelUpTimestampMillis)
The timestamp when the player was leveled up, in millis since Unix epoch UTC.
|
PlayerExperienceInfo |
setNextLevel(PlayerLevel nextLevel)
The next level of the player.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Long getCurrentExperiencePoints()
null for nonepublic PlayerExperienceInfo setCurrentExperiencePoints(java.lang.Long currentExperiencePoints)
currentExperiencePoints - currentExperiencePoints or null for nonepublic PlayerLevel getCurrentLevel()
null for nonepublic PlayerExperienceInfo setCurrentLevel(PlayerLevel currentLevel)
currentLevel - currentLevel or null for nonepublic java.lang.String getKind()
null for nonepublic PlayerExperienceInfo setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.Long getLastLevelUpTimestampMillis()
null for nonepublic PlayerExperienceInfo setLastLevelUpTimestampMillis(java.lang.Long lastLevelUpTimestampMillis)
lastLevelUpTimestampMillis - lastLevelUpTimestampMillis or null for nonepublic PlayerLevel getNextLevel()
null for nonepublic PlayerExperienceInfo setNextLevel(PlayerLevel nextLevel)
nextLevel - nextLevel or null for nonepublic PlayerExperienceInfo set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PlayerExperienceInfo clone()
clone in class com.google.api.client.json.GenericJson