public final class MetagameConfig 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 |
|---|
MetagameConfig() |
| Modifier and Type | Method and Description |
|---|---|
MetagameConfig |
clone() |
Integer |
getCurrentVersion()
Current version of the metagame configuration data.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
List<PlayerLevel> |
getPlayerLevels()
The list of player levels.
|
MetagameConfig |
set(String fieldName,
Object value) |
MetagameConfig |
setCurrentVersion(Integer currentVersion)
Current version of the metagame configuration data.
|
MetagameConfig |
setKind(String kind)
Uniquely identifies the type of this resource.
|
MetagameConfig |
setPlayerLevels(List<PlayerLevel> playerLevels)
The list of player levels.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic Integer getCurrentVersion()
null for nonepublic MetagameConfig setCurrentVersion(Integer currentVersion)
currentVersion - currentVersion or null for nonepublic String getKind()
null for nonepublic MetagameConfig setKind(String kind)
kind - kind or null for nonepublic List<PlayerLevel> getPlayerLevels()
null for nonepublic MetagameConfig setPlayerLevels(List<PlayerLevel> playerLevels)
playerLevels - playerLevels or null for nonepublic MetagameConfig set(String fieldName, Object value)
set in class GenericJsonpublic MetagameConfig clone()
clone in class GenericJson