public final class PlayerScoreResponse
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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
PlayerScoreResponse() |
| Modifier and Type | Method and Description |
|---|---|
PlayerScoreResponse |
clone() |
java.util.List<java.lang.String> |
getBeatenScoreTimeSpans()
The time spans where the submitted score is better than the existing score for that time span.
|
java.lang.String |
getFormattedScore()
The formatted value of the submitted score.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
java.lang.String |
getLeaderboardId()
The leaderboard ID that this score was submitted to.
|
java.lang.String |
getScoreTag()
Additional information about this score.
|
java.util.List<PlayerScore> |
getUnbeatenScores()
The scores in time spans that have not been beaten.
|
PlayerScoreResponse |
set(java.lang.String fieldName,
java.lang.Object value) |
PlayerScoreResponse |
setBeatenScoreTimeSpans(java.util.List<java.lang.String> beatenScoreTimeSpans)
The time spans where the submitted score is better than the existing score for that time span.
|
PlayerScoreResponse |
setFormattedScore(java.lang.String formattedScore)
The formatted value of the submitted score.
|
PlayerScoreResponse |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
PlayerScoreResponse |
setLeaderboardId(java.lang.String leaderboardId)
The leaderboard ID that this score was submitted to.
|
PlayerScoreResponse |
setScoreTag(java.lang.String scoreTag)
Additional information about this score.
|
PlayerScoreResponse |
setUnbeatenScores(java.util.List<PlayerScore> unbeatenScores)
The scores in time spans that have not been beaten.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.List<java.lang.String> getBeatenScoreTimeSpans()
null for nonepublic PlayerScoreResponse setBeatenScoreTimeSpans(java.util.List<java.lang.String> beatenScoreTimeSpans)
beatenScoreTimeSpans - beatenScoreTimeSpans or null for nonepublic java.lang.String getFormattedScore()
null for nonepublic PlayerScoreResponse setFormattedScore(java.lang.String formattedScore)
formattedScore - formattedScore or null for nonepublic java.lang.String getKind()
null for nonepublic PlayerScoreResponse setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getLeaderboardId()
null for nonepublic PlayerScoreResponse setLeaderboardId(java.lang.String leaderboardId)
leaderboardId - leaderboardId or null for nonepublic java.lang.String getScoreTag()
null for nonepublic PlayerScoreResponse setScoreTag(java.lang.String scoreTag)
scoreTag - scoreTag or null for nonepublic java.util.List<PlayerScore> getUnbeatenScores()
null for nonepublic PlayerScoreResponse setUnbeatenScores(java.util.List<PlayerScore> unbeatenScores)
unbeatenScores - unbeatenScores or null for nonepublic PlayerScoreResponse set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PlayerScoreResponse clone()
clone in class com.google.api.client.json.GenericJson