public final class EventRecordRequest
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: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
EventRecordRequest() |
| Modifier and Type | Method and Description |
|---|---|
EventRecordRequest |
clone() |
java.lang.Long |
getCurrentTimeMillis()
The current time when this update was sent, in milliseconds, since 1970 UTC (Unix Epoch).
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
java.lang.Long |
getRequestId()
The request ID used to identify this attempt to record events.
|
java.util.List<EventPeriodUpdate> |
getTimePeriods()
A list of the time period updates being made in this request.
|
EventRecordRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
EventRecordRequest |
setCurrentTimeMillis(java.lang.Long currentTimeMillis)
The current time when this update was sent, in milliseconds, since 1970 UTC (Unix Epoch).
|
EventRecordRequest |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
EventRecordRequest |
setRequestId(java.lang.Long requestId)
The request ID used to identify this attempt to record events.
|
EventRecordRequest |
setTimePeriods(java.util.List<EventPeriodUpdate> timePeriods)
A list of the time period updates being made in this request.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Long getCurrentTimeMillis()
null for nonepublic EventRecordRequest setCurrentTimeMillis(java.lang.Long currentTimeMillis)
currentTimeMillis - currentTimeMillis or null for nonepublic java.lang.String getKind()
null for nonepublic EventRecordRequest setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.Long getRequestId()
null for nonepublic EventRecordRequest setRequestId(java.lang.Long requestId)
requestId - requestId or null for nonepublic java.util.List<EventPeriodUpdate> getTimePeriods()
null for nonepublic EventRecordRequest setTimePeriods(java.util.List<EventPeriodUpdate> timePeriods)
timePeriods - timePeriods or null for nonepublic EventRecordRequest set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic EventRecordRequest clone()
clone in class com.google.api.client.json.GenericJson