public final class PlayerEvent
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 |
|---|
PlayerEvent() |
| Modifier and Type | Method and Description |
|---|---|
PlayerEvent |
clone() |
java.lang.String |
getDefinitionId()
The ID of the event definition.
|
java.lang.String |
getFormattedNumEvents()
The current number of times this event has occurred, as a string.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
java.lang.Long |
getNumEvents()
The current number of times this event has occurred.
|
java.lang.String |
getPlayerId()
The ID of the player.
|
PlayerEvent |
set(java.lang.String fieldName,
java.lang.Object value) |
PlayerEvent |
setDefinitionId(java.lang.String definitionId)
The ID of the event definition.
|
PlayerEvent |
setFormattedNumEvents(java.lang.String formattedNumEvents)
The current number of times this event has occurred, as a string.
|
PlayerEvent |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
PlayerEvent |
setNumEvents(java.lang.Long numEvents)
The current number of times this event has occurred.
|
PlayerEvent |
setPlayerId(java.lang.String playerId)
The ID of the player.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getDefinitionId()
null for nonepublic PlayerEvent setDefinitionId(java.lang.String definitionId)
definitionId - definitionId or null for nonepublic java.lang.String getFormattedNumEvents()
null for nonepublic PlayerEvent setFormattedNumEvents(java.lang.String formattedNumEvents)
formattedNumEvents - formattedNumEvents or null for nonepublic java.lang.String getKind()
null for nonepublic PlayerEvent setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.Long getNumEvents()
null for nonepublic PlayerEvent setNumEvents(java.lang.Long numEvents)
numEvents - numEvents or null for nonepublic java.lang.String getPlayerId()
null for nonepublic PlayerEvent setPlayerId(java.lang.String playerId)
playerId - playerId or null for nonepublic PlayerEvent set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PlayerEvent clone()
clone in class com.google.api.client.json.GenericJson