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