public final class Leaderboard
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 |
|---|
Leaderboard() |
| Modifier and Type | Method and Description |
|---|---|
Leaderboard |
clone() |
java.lang.String |
getIconUrl()
The icon for the leaderboard.
|
java.lang.String |
getId()
The leaderboard ID.
|
java.lang.Boolean |
getIsIconUrlDefault()
Indicates whether the icon image being returned is a default image, or is game-provided.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
java.lang.String |
getName()
The name of the leaderboard.
|
java.lang.String |
getOrder()
How scores are ordered.
|
Leaderboard |
set(java.lang.String fieldName,
java.lang.Object value) |
Leaderboard |
setIconUrl(java.lang.String iconUrl)
The icon for the leaderboard.
|
Leaderboard |
setId(java.lang.String id)
The leaderboard ID.
|
Leaderboard |
setIsIconUrlDefault(java.lang.Boolean isIconUrlDefault)
Indicates whether the icon image being returned is a default image, or is game-provided.
|
Leaderboard |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
Leaderboard |
setName(java.lang.String name)
The name of the leaderboard.
|
Leaderboard |
setOrder(java.lang.String order)
How scores are ordered.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getIconUrl()
null for nonepublic Leaderboard setIconUrl(java.lang.String iconUrl)
iconUrl - iconUrl or null for nonepublic java.lang.String getId()
null for nonepublic Leaderboard setId(java.lang.String id)
id - id or null for nonepublic java.lang.Boolean getIsIconUrlDefault()
null for nonepublic Leaderboard setIsIconUrlDefault(java.lang.Boolean isIconUrlDefault)
isIconUrlDefault - isIconUrlDefault or null for nonepublic java.lang.String getKind()
null for nonepublic Leaderboard setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic Leaderboard setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getOrder()
null for nonepublic Leaderboard setOrder(java.lang.String order)
order - order or null for nonepublic Leaderboard set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Leaderboard clone()
clone in class com.google.api.client.json.GenericJson