public final class PlayerLevel 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 |
|---|
PlayerLevel() |
| Modifier and Type | Method and Description |
|---|---|
PlayerLevel |
clone() |
String |
getKind()
Uniquely identifies the type of this resource.
|
Integer |
getLevel()
The level for the user.
|
Long |
getMaxExperiencePoints()
The maximum experience points for this level.
|
Long |
getMinExperiencePoints()
The minimum experience points for this level.
|
PlayerLevel |
set(String fieldName,
Object value) |
PlayerLevel |
setKind(String kind)
Uniquely identifies the type of this resource.
|
PlayerLevel |
setLevel(Integer level)
The level for the user.
|
PlayerLevel |
setMaxExperiencePoints(Long maxExperiencePoints)
The maximum experience points for this level.
|
PlayerLevel |
setMinExperiencePoints(Long minExperiencePoints)
The minimum experience points for this level.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getKind()
null for nonepublic PlayerLevel setKind(String kind)
kind - kind or null for nonepublic Integer getLevel()
null for nonepublic PlayerLevel setLevel(Integer level)
level - level or null for nonepublic Long getMaxExperiencePoints()
null for nonepublic PlayerLevel setMaxExperiencePoints(Long maxExperiencePoints)
maxExperiencePoints - maxExperiencePoints or null for nonepublic Long getMinExperiencePoints()
null for nonepublic PlayerLevel setMinExperiencePoints(Long minExperiencePoints)
minExperiencePoints - minExperiencePoints or null for nonepublic PlayerLevel set(String fieldName, Object value)
set in class GenericJsonpublic PlayerLevel clone()
clone in class GenericJson