public final class PlayerScore 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 |
|---|
PlayerScore() |
| Modifier and Type | Method and Description |
|---|---|
PlayerScore |
clone() |
String |
getFormattedScore()
The formatted score for this player score.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
Long |
getScore()
The numerical value for this player score.
|
String |
getScoreTag()
Additional information about this score.
|
String |
getTimeSpan()
The time span for this player score.
|
PlayerScore |
set(String fieldName,
Object value) |
PlayerScore |
setFormattedScore(String formattedScore)
The formatted score for this player score.
|
PlayerScore |
setKind(String kind)
Uniquely identifies the type of this resource.
|
PlayerScore |
setScore(Long score)
The numerical value for this player score.
|
PlayerScore |
setScoreTag(String scoreTag)
Additional information about this score.
|
PlayerScore |
setTimeSpan(String timeSpan)
The time span for this player score.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getFormattedScore()
null for nonepublic PlayerScore setFormattedScore(String formattedScore)
formattedScore - formattedScore or null for nonepublic String getKind()
null for nonepublic PlayerScore setKind(String kind)
kind - kind or null for nonepublic Long getScore()
null for nonepublic PlayerScore setScore(Long score)
score - score or null for nonepublic String getScoreTag()
null for nonepublic PlayerScore setScoreTag(String scoreTag)
scoreTag - scoreTag or null for nonepublic String getTimeSpan()
null for nonepublic PlayerScore setTimeSpan(String timeSpan)
timeSpan - timeSpan or null for nonepublic PlayerScore set(String fieldName, Object value)
set in class GenericJsonpublic PlayerScore clone()
clone in class GenericJson