public final class Events
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 Calendar 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 |
---|
Events() |
Modifier and Type | Method and Description |
---|---|
Events |
clone() |
java.lang.String |
getAccessRole()
The user's access role for this calendar.
|
java.util.List<EventReminder> |
getDefaultReminders()
The default reminders on the calendar for the authenticated user.
|
java.lang.String |
getDescription()
Description of the calendar.
|
java.lang.String |
getEtag()
ETag of the collection.
|
java.util.List<Event> |
getItems()
List of events on the calendar.
|
java.lang.String |
getKind()
Type of the collection ("calendar#events").
|
java.lang.String |
getNextPageToken()
Token used to access the next page of this result.
|
java.lang.String |
getNextSyncToken()
Token used at a later point in time to retrieve only the entries that have changed since this
result was returned.
|
java.lang.String |
getSummary()
Title of the calendar.
|
java.lang.String |
getTimeZone()
The time zone of the calendar.
|
com.google.api.client.util.DateTime |
getUpdated()
Last modification time of the calendar (as a RFC3339 timestamp).
|
Events |
set(java.lang.String fieldName,
java.lang.Object value) |
Events |
setAccessRole(java.lang.String accessRole)
The user's access role for this calendar.
|
Events |
setDefaultReminders(java.util.List<EventReminder> defaultReminders)
The default reminders on the calendar for the authenticated user.
|
Events |
setDescription(java.lang.String description)
Description of the calendar.
|
Events |
setEtag(java.lang.String etag)
ETag of the collection.
|
Events |
setItems(java.util.List<Event> items)
List of events on the calendar.
|
Events |
setKind(java.lang.String kind)
Type of the collection ("calendar#events").
|
Events |
setNextPageToken(java.lang.String nextPageToken)
Token used to access the next page of this result.
|
Events |
setNextSyncToken(java.lang.String nextSyncToken)
Token used at a later point in time to retrieve only the entries that have changed since this
result was returned.
|
Events |
setSummary(java.lang.String summary)
Title of the calendar.
|
Events |
setTimeZone(java.lang.String timeZone)
The time zone of the calendar.
|
Events |
setUpdated(com.google.api.client.util.DateTime updated)
Last modification time of the calendar (as a RFC3339 timestamp).
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getAccessRole()
null
for nonepublic Events setAccessRole(java.lang.String accessRole)
accessRole
- accessRole or null
for nonepublic java.util.List<EventReminder> getDefaultReminders()
null
for nonepublic Events setDefaultReminders(java.util.List<EventReminder> defaultReminders)
defaultReminders
- defaultReminders or null
for nonepublic java.lang.String getDescription()
null
for nonepublic Events setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.String getEtag()
null
for nonepublic Events setEtag(java.lang.String etag)
etag
- etag or null
for nonepublic java.util.List<Event> getItems()
null
for nonepublic Events setItems(java.util.List<Event> items)
items
- items or null
for nonepublic java.lang.String getKind()
null
for nonepublic Events setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getNextPageToken()
null
for nonepublic Events setNextPageToken(java.lang.String nextPageToken)
nextPageToken
- nextPageToken or null
for nonepublic java.lang.String getNextSyncToken()
null
for nonepublic Events setNextSyncToken(java.lang.String nextSyncToken)
nextSyncToken
- nextSyncToken or null
for nonepublic java.lang.String getSummary()
null
for nonepublic Events setSummary(java.lang.String summary)
summary
- summary or null
for nonepublic java.lang.String getTimeZone()
null
for nonepublic Events setTimeZone(java.lang.String timeZone)
timeZone
- timeZone or null
for nonepublic com.google.api.client.util.DateTime getUpdated()
null
for nonepublic Events setUpdated(com.google.api.client.util.DateTime updated)
updated
- updated or null
for nonepublic Events set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Events clone()
clone
in class com.google.api.client.json.GenericJson