public final class CalendarListEntry
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
| Modifier and Type | Class and Description |
|---|---|
static class |
CalendarListEntry.NotificationSettings
The notifications that the authenticated user is receiving for this calendar.
|
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
CalendarListEntry() |
| Modifier and Type | Method and Description |
|---|---|
CalendarListEntry |
clone() |
java.lang.String |
getAccessRole()
The effective access role that the authenticated user has on the calendar.
|
java.lang.String |
getBackgroundColor()
The main color of the calendar in the hexadecimal format "#0088aa".
|
java.lang.String |
getColorId()
The color of the calendar.
|
ConferenceProperties |
getConferenceProperties()
Conferencing properties for this calendar, for example what types of conferences are allowed.
|
java.util.List<EventReminder> |
getDefaultReminders()
The default reminders that the authenticated user has for this calendar.
|
java.lang.Boolean |
getDeleted()
Whether this calendar list entry has been deleted from the calendar list.
|
java.lang.String |
getDescription()
Description of the calendar.
|
java.lang.String |
getEtag()
ETag of the resource.
|
java.lang.String |
getForegroundColor()
The foreground color of the calendar in the hexadecimal format "#ffffff".
|
java.lang.Boolean |
getHidden()
Whether the calendar has been hidden from the list.
|
java.lang.String |
getId()
Identifier of the calendar.
|
java.lang.String |
getKind()
Type of the resource ("calendar#calendarListEntry").
|
java.lang.String |
getLocation()
Geographic location of the calendar as free-form text.
|
CalendarListEntry.NotificationSettings |
getNotificationSettings()
The notifications that the authenticated user is receiving for this calendar.
|
java.lang.Boolean |
getPrimary()
Whether the calendar is the primary calendar of the authenticated user.
|
java.lang.Boolean |
getSelected()
Whether the calendar content shows up in the calendar UI.
|
java.lang.String |
getSummary()
Title of the calendar.
|
java.lang.String |
getSummaryOverride()
The summary that the authenticated user has set for this calendar.
|
java.lang.String |
getTimeZone()
The time zone of the calendar.
|
boolean |
isDeleted()
Convenience method that returns only
Boolean.TRUE or Boolean.FALSE. |
boolean |
isHidden()
Convenience method that returns only
Boolean.TRUE or Boolean.FALSE. |
boolean |
isPrimary()
Convenience method that returns only
Boolean.TRUE or Boolean.FALSE. |
boolean |
isSelected()
Convenience method that returns only
Boolean.TRUE or Boolean.FALSE. |
CalendarListEntry |
set(java.lang.String fieldName,
java.lang.Object value) |
CalendarListEntry |
setAccessRole(java.lang.String accessRole)
The effective access role that the authenticated user has on the calendar.
|
CalendarListEntry |
setBackgroundColor(java.lang.String backgroundColor)
The main color of the calendar in the hexadecimal format "#0088aa".
|
CalendarListEntry |
setColorId(java.lang.String colorId)
The color of the calendar.
|
CalendarListEntry |
setConferenceProperties(ConferenceProperties conferenceProperties)
Conferencing properties for this calendar, for example what types of conferences are allowed.
|
CalendarListEntry |
setDefaultReminders(java.util.List<EventReminder> defaultReminders)
The default reminders that the authenticated user has for this calendar.
|
CalendarListEntry |
setDeleted(java.lang.Boolean deleted)
Whether this calendar list entry has been deleted from the calendar list.
|
CalendarListEntry |
setDescription(java.lang.String description)
Description of the calendar.
|
CalendarListEntry |
setEtag(java.lang.String etag)
ETag of the resource.
|
CalendarListEntry |
setForegroundColor(java.lang.String foregroundColor)
The foreground color of the calendar in the hexadecimal format "#ffffff".
|
CalendarListEntry |
setHidden(java.lang.Boolean hidden)
Whether the calendar has been hidden from the list.
|
CalendarListEntry |
setId(java.lang.String id)
Identifier of the calendar.
|
CalendarListEntry |
setKind(java.lang.String kind)
Type of the resource ("calendar#calendarListEntry").
|
CalendarListEntry |
setLocation(java.lang.String location)
Geographic location of the calendar as free-form text.
|
CalendarListEntry |
setNotificationSettings(CalendarListEntry.NotificationSettings notificationSettings)
The notifications that the authenticated user is receiving for this calendar.
|
CalendarListEntry |
setPrimary(java.lang.Boolean primary)
Whether the calendar is the primary calendar of the authenticated user.
|
CalendarListEntry |
setSelected(java.lang.Boolean selected)
Whether the calendar content shows up in the calendar UI.
|
CalendarListEntry |
setSummary(java.lang.String summary)
Title of the calendar.
|
CalendarListEntry |
setSummaryOverride(java.lang.String summaryOverride)
The summary that the authenticated user has set for this calendar.
|
CalendarListEntry |
setTimeZone(java.lang.String timeZone)
The time zone of the calendar.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getAccessRole()
null for nonepublic CalendarListEntry setAccessRole(java.lang.String accessRole)
accessRole - accessRole or null for nonepublic java.lang.String getBackgroundColor()
null for nonepublic CalendarListEntry setBackgroundColor(java.lang.String backgroundColor)
backgroundColor - backgroundColor or null for nonepublic java.lang.String getColorId()
null for nonepublic CalendarListEntry setColorId(java.lang.String colorId)
colorId - colorId or null for nonepublic ConferenceProperties getConferenceProperties()
null for nonepublic CalendarListEntry setConferenceProperties(ConferenceProperties conferenceProperties)
conferenceProperties - conferenceProperties or null for nonepublic java.util.List<EventReminder> getDefaultReminders()
null for nonepublic CalendarListEntry setDefaultReminders(java.util.List<EventReminder> defaultReminders)
defaultReminders - defaultReminders or null for nonepublic java.lang.Boolean getDeleted()
null for nonepublic CalendarListEntry setDeleted(java.lang.Boolean deleted)
deleted - deleted or null for nonepublic boolean isDeleted()
Boolean.TRUE or Boolean.FALSE.
Boolean properties can have four possible values:
null, Data.NULL_BOOLEAN, Boolean.TRUE
or Boolean.FALSE.
This method returns Boolean.TRUE if the default of the property is Boolean.TRUE
and it is null or Data.NULL_BOOLEAN.
Boolean.FALSE is returned if the default of the property is Boolean.FALSE and
it is null or Data.NULL_BOOLEAN.
Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
public java.lang.String getDescription()
null for nonepublic CalendarListEntry setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.String getEtag()
null for nonepublic CalendarListEntry setEtag(java.lang.String etag)
etag - etag or null for nonepublic java.lang.String getForegroundColor()
null for nonepublic CalendarListEntry setForegroundColor(java.lang.String foregroundColor)
foregroundColor - foregroundColor or null for nonepublic java.lang.Boolean getHidden()
null for nonepublic CalendarListEntry setHidden(java.lang.Boolean hidden)
hidden - hidden or null for nonepublic boolean isHidden()
Boolean.TRUE or Boolean.FALSE.
Boolean properties can have four possible values:
null, Data.NULL_BOOLEAN, Boolean.TRUE
or Boolean.FALSE.
This method returns Boolean.TRUE if the default of the property is Boolean.TRUE
and it is null or Data.NULL_BOOLEAN.
Boolean.FALSE is returned if the default of the property is Boolean.FALSE and
it is null or Data.NULL_BOOLEAN.
Whether the calendar has been hidden from the list. Optional. The default is False.
public java.lang.String getId()
null for nonepublic CalendarListEntry setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic CalendarListEntry setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getLocation()
null for nonepublic CalendarListEntry setLocation(java.lang.String location)
location - location or null for nonepublic CalendarListEntry.NotificationSettings getNotificationSettings()
null for nonepublic CalendarListEntry setNotificationSettings(CalendarListEntry.NotificationSettings notificationSettings)
notificationSettings - notificationSettings or null for nonepublic java.lang.Boolean getPrimary()
null for nonepublic CalendarListEntry setPrimary(java.lang.Boolean primary)
primary - primary or null for nonepublic boolean isPrimary()
Boolean.TRUE or Boolean.FALSE.
Boolean properties can have four possible values:
null, Data.NULL_BOOLEAN, Boolean.TRUE
or Boolean.FALSE.
This method returns Boolean.TRUE if the default of the property is Boolean.TRUE
and it is null or Data.NULL_BOOLEAN.
Boolean.FALSE is returned if the default of the property is Boolean.FALSE and
it is null or Data.NULL_BOOLEAN.
Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False.
public java.lang.Boolean getSelected()
null for nonepublic CalendarListEntry setSelected(java.lang.Boolean selected)
selected - selected or null for nonepublic boolean isSelected()
Boolean.TRUE or Boolean.FALSE.
Boolean properties can have four possible values:
null, Data.NULL_BOOLEAN, Boolean.TRUE
or Boolean.FALSE.
This method returns Boolean.TRUE if the default of the property is Boolean.TRUE
and it is null or Data.NULL_BOOLEAN.
Boolean.FALSE is returned if the default of the property is Boolean.FALSE and
it is null or Data.NULL_BOOLEAN.
Whether the calendar content shows up in the calendar UI. Optional. The default is False.
public java.lang.String getSummary()
null for nonepublic CalendarListEntry setSummary(java.lang.String summary)
summary - summary or null for nonepublic java.lang.String getSummaryOverride()
null for nonepublic CalendarListEntry setSummaryOverride(java.lang.String summaryOverride)
summaryOverride - summaryOverride or null for nonepublic java.lang.String getTimeZone()
null for nonepublic CalendarListEntry setTimeZone(java.lang.String timeZone)
timeZone - timeZone or null for nonepublic CalendarListEntry set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic CalendarListEntry clone()
clone in class com.google.api.client.json.GenericJson