public final class LeaderboardScores
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 |
|---|
LeaderboardScores() |
| Modifier and Type | Method and Description |
|---|---|
LeaderboardScores |
clone() |
java.util.List<LeaderboardEntry> |
getItems()
The scores in the leaderboard.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
java.lang.String |
getNextPageToken()
The pagination token for the next page of results.
|
java.lang.Long |
getNumScores()
The total number of scores in the leaderboard.
|
LeaderboardEntry |
getPlayerScore()
The score of the requesting player on the leaderboard.
|
java.lang.String |
getPrevPageToken()
The pagination token for the previous page of results.
|
LeaderboardScores |
set(java.lang.String fieldName,
java.lang.Object value) |
LeaderboardScores |
setItems(java.util.List<LeaderboardEntry> items)
The scores in the leaderboard.
|
LeaderboardScores |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
LeaderboardScores |
setNextPageToken(java.lang.String nextPageToken)
The pagination token for the next page of results.
|
LeaderboardScores |
setNumScores(java.lang.Long numScores)
The total number of scores in the leaderboard.
|
LeaderboardScores |
setPlayerScore(LeaderboardEntry playerScore)
The score of the requesting player on the leaderboard.
|
LeaderboardScores |
setPrevPageToken(java.lang.String prevPageToken)
The pagination token for the previous page of results.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.List<LeaderboardEntry> getItems()
null for nonepublic LeaderboardScores setItems(java.util.List<LeaderboardEntry> items)
items - items or null for nonepublic java.lang.String getKind()
null for nonepublic LeaderboardScores setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getNextPageToken()
null for nonepublic LeaderboardScores setNextPageToken(java.lang.String nextPageToken)
nextPageToken - nextPageToken or null for nonepublic java.lang.Long getNumScores()
null for nonepublic LeaderboardScores setNumScores(java.lang.Long numScores)
numScores - numScores or null for nonepublic LeaderboardEntry getPlayerScore()
null for nonepublic LeaderboardScores setPlayerScore(LeaderboardEntry playerScore)
playerScore - playerScore or null for nonepublic java.lang.String getPrevPageToken()
null for nonepublic LeaderboardScores setPrevPageToken(java.lang.String prevPageToken)
prevPageToken - prevPageToken or null for nonepublic LeaderboardScores set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic LeaderboardScores clone()
clone in class com.google.api.client.json.GenericJson