public final class Player 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 |
|---|
Player() |
| Modifier and Type | Method and Description |
|---|---|
Player |
clone() |
String |
getAvatarImageUrl()
The base URL for the image that represents the player.
|
String |
getDisplayName()
The name to display for the player.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
String |
getPlayerId()
The ID of the player.
|
Player |
set(String fieldName,
Object value) |
Player |
setAvatarImageUrl(String avatarImageUrl)
The base URL for the image that represents the player.
|
Player |
setDisplayName(String displayName)
The name to display for the player.
|
Player |
setKind(String kind)
Uniquely identifies the type of this resource.
|
Player |
setPlayerId(String playerId)
The ID of the player.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getAvatarImageUrl()
null for nonepublic Player setAvatarImageUrl(String avatarImageUrl)
avatarImageUrl - avatarImageUrl or null for nonepublic String getDisplayName()
null for nonepublic Player setDisplayName(String displayName)
displayName - displayName or null for nonepublic String getKind()
null for nonepublic Player setKind(String kind)
kind - kind or null for nonepublic String getPlayerId()
null for nonepublic Player setPlayerId(String playerId)
playerId - playerId or null for nonepublic Player set(String fieldName, Object value)
set in class GenericJsonpublic Player clone()
clone in class GenericJson