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()
The read-only type of the event translated and formatted in the viewer's account locale or the
`Accept-Language` HTTP header locale.
|
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)
The read-only type of the event translated and formatted in the viewer's account locale or the
`Accept-Language` HTTP header locale.
|
Event |
setMetadata(FieldMetadata metadata)
Metadata about the event.
|
Event |
setType(java.lang.String type)
The type of the event.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic 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.GenericJsonpublic Event clone()
clone in class com.google.api.client.json.GenericJson