public final class Event
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 People 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 |
---|
Event() |
Modifier and Type | Method and Description |
---|---|
Event |
clone() |
Date |
getDate()
The date of the event.
|
java.lang.String |
getFormattedType()
Output only.
|
FieldMetadata |
getMetadata()
Metadata about the event.
|
java.lang.String |
getType()
The type of the event.
|
Event |
set(java.lang.String fieldName,
java.lang.Object value) |
Event |
setDate(Date date)
The date of the event.
|
Event |
setFormattedType(java.lang.String formattedType)
Output only.
|
Event |
setMetadata(FieldMetadata metadata)
Metadata about the event.
|
Event |
setType(java.lang.String type)
The type of the event.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Date getDate()
null
for nonepublic Event setDate(Date date)
date
- date or null
for nonepublic java.lang.String getFormattedType()
null
for nonepublic Event setFormattedType(java.lang.String formattedType)
formattedType
- formattedType or null
for nonepublic FieldMetadata getMetadata()
null
for nonepublic Event setMetadata(FieldMetadata metadata)
metadata
- metadata or null
for nonepublic java.lang.String getType()
null
for nonepublic Event setType(java.lang.String type)
type
- type or null
for nonepublic Event set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Event clone()
clone
in class com.google.api.client.json.GenericJson