public final class PushToken
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 |
|---|
PushToken() |
| Modifier and Type | Method and Description |
|---|---|
PushToken |
clone() |
java.lang.String |
getClientRevision()
The revision of the client SDK used by your application, in the same format that's used by
revisions.check.
|
PushTokenId |
getId()
Unique identifier for this push token.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
java.lang.String |
getLanguage()
The preferred language for notifications that are sent using this token.
|
PushToken |
set(java.lang.String fieldName,
java.lang.Object value) |
PushToken |
setClientRevision(java.lang.String clientRevision)
The revision of the client SDK used by your application, in the same format that's used by
revisions.check.
|
PushToken |
setId(PushTokenId id)
Unique identifier for this push token.
|
PushToken |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
PushToken |
setLanguage(java.lang.String language)
The preferred language for notifications that are sent using this token.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getClientRevision()
null for nonepublic PushToken setClientRevision(java.lang.String clientRevision)
clientRevision - clientRevision or null for nonepublic PushTokenId getId()
null for nonepublic PushToken setId(PushTokenId id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic PushToken setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getLanguage()
null for nonepublic PushToken setLanguage(java.lang.String language)
language - language or null for nonepublic PushToken set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PushToken clone()
clone in class com.google.api.client.json.GenericJson