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 Games 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
LeaderboardScores() |
| Modifier and Type | Method and Description |
|---|---|
LeaderboardScores |
clone() |
List<LeaderboardEntry> |
getItems()
The scores in the leaderboard.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
String |
getNextPageToken()
The pagination token for the next page of results.
|
Long |
getNumScores()
The total number of scores in the leaderboard.
|
LeaderboardEntry |
getPlayerScore()
The score of the requesting player on the leaderboard.
|
String |
getPrevPageToken()
The pagination token for the previous page of results.
|
LeaderboardScores |
set(String fieldName,
Object value) |
LeaderboardScores |
setItems(List<LeaderboardEntry> items)
The scores in the leaderboard.
|
LeaderboardScores |
setKind(String kind)
Uniquely identifies the type of this resource.
|
LeaderboardScores |
setNextPageToken(String nextPageToken)
The pagination token for the next page of results.
|
LeaderboardScores |
setNumScores(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(String prevPageToken)
The pagination token for the previous page of results.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<LeaderboardEntry> getItems()
null for nonepublic LeaderboardScores setItems(List<LeaderboardEntry> items)
items - items or null for nonepublic String getKind()
null for nonepublic LeaderboardScores setKind(String kind)
kind - kind or null for nonepublic String getNextPageToken()
null for nonepublic LeaderboardScores setNextPageToken(String nextPageToken)
nextPageToken - nextPageToken or null for nonepublic Long getNumScores()
null for nonepublic LeaderboardScores setNumScores(Long numScores)
numScores - numScores or null for nonepublic LeaderboardEntry getPlayerScore()
null for nonepublic LeaderboardScores setPlayerScore(LeaderboardEntry playerScore)
playerScore - playerScore or null for nonepublic String getPrevPageToken()
null for nonepublic LeaderboardScores setPrevPageToken(String prevPageToken)
prevPageToken - prevPageToken or null for nonepublic LeaderboardScores set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic LeaderboardScores clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.