public final class PushToken extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PushToken() |
| Modifier and Type | Method and Description |
|---|---|
PushToken |
clone() |
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.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
String |
getLanguage()
The preferred language for notifications that are sent using this token.
|
PushToken |
set(String fieldName,
Object value) |
PushToken |
setClientRevision(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(String kind)
Uniquely identifies the type of this resource.
|
PushToken |
setLanguage(String language)
The preferred language for notifications that are sent using this token.
|
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 String getClientRevision()
null for nonepublic PushToken setClientRevision(String clientRevision)
clientRevision - clientRevision or null for nonepublic PushTokenId getId()
null for nonepublic PushToken setId(PushTokenId id)
id - id or null for nonepublic String getKind()
null for nonepublic PushToken setKind(String kind)
kind - kind or null for nonepublic String getLanguage()
null for nonepublic PushToken setLanguage(String language)
language - language or null for nonepublic PushToken set(String fieldName, Object value)
set in class GenericJsonpublic PushToken clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.