public final class PlayerScoreResponse 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 |
|---|
PlayerScoreResponse() |
| Modifier and Type | Method and Description |
|---|---|
PlayerScoreResponse |
clone() |
List<String> |
getBeatenScoreTimeSpans()
The time spans where the submitted score is better than the existing score for that time span.
|
String |
getFormattedScore()
The formatted value of the submitted score.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
String |
getLeaderboardId()
The leaderboard ID that this score was submitted to.
|
String |
getScoreTag()
Additional information about this score.
|
List<PlayerScore> |
getUnbeatenScores()
The scores in time spans that have not been beaten.
|
PlayerScoreResponse |
set(String fieldName,
Object value) |
PlayerScoreResponse |
setBeatenScoreTimeSpans(List<String> beatenScoreTimeSpans)
The time spans where the submitted score is better than the existing score for that time span.
|
PlayerScoreResponse |
setFormattedScore(String formattedScore)
The formatted value of the submitted score.
|
PlayerScoreResponse |
setKind(String kind)
Uniquely identifies the type of this resource.
|
PlayerScoreResponse |
setLeaderboardId(String leaderboardId)
The leaderboard ID that this score was submitted to.
|
PlayerScoreResponse |
setScoreTag(String scoreTag)
Additional information about this score.
|
PlayerScoreResponse |
setUnbeatenScores(List<PlayerScore> unbeatenScores)
The scores in time spans that have not been beaten.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic List<String> getBeatenScoreTimeSpans()
null for nonepublic PlayerScoreResponse setBeatenScoreTimeSpans(List<String> beatenScoreTimeSpans)
beatenScoreTimeSpans - beatenScoreTimeSpans or null for nonepublic String getFormattedScore()
null for nonepublic PlayerScoreResponse setFormattedScore(String formattedScore)
formattedScore - formattedScore or null for nonepublic String getKind()
null for nonepublic PlayerScoreResponse setKind(String kind)
kind - kind or null for nonepublic String getLeaderboardId()
null for nonepublic PlayerScoreResponse setLeaderboardId(String leaderboardId)
leaderboardId - leaderboardId or null for nonepublic String getScoreTag()
null for nonepublic PlayerScoreResponse setScoreTag(String scoreTag)
scoreTag - scoreTag or null for nonepublic List<PlayerScore> getUnbeatenScores()
null for nonepublic PlayerScoreResponse setUnbeatenScores(List<PlayerScore> unbeatenScores)
unbeatenScores - unbeatenScores or null for nonepublic PlayerScoreResponse set(String fieldName, Object value)
set in class GenericJsonpublic PlayerScoreResponse clone()
clone in class GenericJson