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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Events() |
Modifier and Type | Method and Description |
---|---|
Events |
clone() |
String |
getAccessRole()
The user's access role for this calendar.
|
List<EventReminder> |
getDefaultReminders()
The default reminders on the calendar for the authenticated user.
|
String |
getDescription()
Description of the calendar.
|
String |
getEtag()
ETag of the collection.
|
List<Event> |
getItems()
List of events on the calendar.
|
String |
getKind()
Type of the collection ("calendar#events").
|
String |
getNextPageToken()
Token used to access the next page of this result.
|
String |
getNextSyncToken()
Token used at a later point in time to retrieve only the entries that have changed since this
result was returned.
|
String |
getSummary()
Title of the calendar.
|
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(String fieldName,
Object value) |
Events |
setAccessRole(String accessRole)
The user's access role for this calendar.
|
Events |
setDefaultReminders(List<EventReminder> defaultReminders)
The default reminders on the calendar for the authenticated user.
|
Events |
setDescription(String description)
Description of the calendar.
|
Events |
setEtag(String etag)
ETag of the collection.
|
Events |
setItems(List<Event> items)
List of events on the calendar.
|
Events |
setKind(String kind)
Type of the collection ("calendar#events").
|
Events |
setNextPageToken(String nextPageToken)
Token used to access the next page of this result.
|
Events |
setNextSyncToken(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(String summary)
Title of the calendar.
|
Events |
setTimeZone(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, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getAccessRole()
null
for nonepublic Events setAccessRole(String accessRole)
accessRole
- accessRole or null
for nonepublic List<EventReminder> getDefaultReminders()
null
for nonepublic Events setDefaultReminders(List<EventReminder> defaultReminders)
defaultReminders
- defaultReminders or null
for nonepublic String getDescription()
null
for nonepublic Events setDescription(String description)
description
- description or null
for nonepublic String getEtag()
null
for nonepublic Events setEtag(String etag)
etag
- etag or null
for nonepublic List<Event> getItems()
null
for nonepublic Events setItems(List<Event> items)
items
- items or null
for nonepublic String getKind()
null
for nonepublic Events setKind(String kind)
kind
- kind or null
for nonepublic String getNextPageToken()
null
for nonepublic Events setNextPageToken(String nextPageToken)
nextPageToken
- nextPageToken or null
for nonepublic String getNextSyncToken()
null
for nonepublic Events setNextSyncToken(String nextSyncToken)
nextSyncToken
- nextSyncToken or null
for nonepublic String getSummary()
null
for nonepublic Events setSummary(String summary)
summary
- summary or null
for nonepublic String getTimeZone()
null
for nonepublic Events setTimeZone(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(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Events clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.