public final class EventData
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 HomeGraph 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
EventData() |
| Modifier and Type | Method and Description |
|---|---|
EventData |
clone() |
Map<String,Object> |
getEvent()
Required.
|
String |
getEventId()
Required.
|
String |
getEventTime()
Required.
|
EventData |
set(String fieldName,
Object value) |
EventData |
setEvent(Map<String,Object> event)
Required.
|
EventData |
setEventId(String eventId)
Required.
|
EventData |
setEventTime(String eventTime)
Required.
|
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 Map<String,Object> getEvent()
null for nonepublic EventData setEvent(Map<String,Object> event)
event - event or null for nonepublic String getEventId()
null for nonepublic EventData setEventId(String eventId)
eventId - eventId or null for nonepublic String getEventTime()
null for nonepublic EventData setEventTime(String eventTime)
eventTime - eventTime or null for nonepublic EventData set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic EventData clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.