public class Calendar extends ApiEntity
See the reference documentation at https://developers.google.com/google-apps/calendar/v3/reference/calendarList#resource.
| Modifier and Type | Class and Description |
|---|---|
static class |
Calendar.EventReminder
Details of event reminders.
|
static class |
Calendar.Notification
Details of an individual notification.
|
static class |
Calendar.NotificationSettings
Details of notifications.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Calendar()
Constructor protected so instances must be retrieved from Google Calendar.
|
| Modifier and Type | Method and Description |
|---|---|
PermissionRole |
getAccessRole()
The effective access role that the authenticated user has on this calendar.
|
java.lang.String |
getBackgroundColor()
The background colour of this calendar in hexadecimal format "#rrggbb".
|
java.lang.String |
getColorId()
The colour of this calendar.
|
java.util.List<Calendar.EventReminder> |
getDefaultReminders()
The default reminders that the authenticated user has for this calendar.
|
java.lang.String |
getDescription()
The description of this calendar.
|
java.lang.String |
getForegroundColor()
The foreground colour of this calendar in hexadecimal format "#rrggbb".
|
java.lang.String |
getLocation()
The geographic location of this calendar as free-form text.
|
Calendar.NotificationSettings |
getNotificationSettings()
The notifications that the authenticated user is receiving for this calendar.
|
java.lang.String |
getSummary()
The title of this calendar.
|
java.lang.String |
getSummaryOverride()
The overriding summary that the authenticated user has set for this calendar.
|
java.util.TimeZone |
getTimeZone()
The time zone of this calendar.
|
boolean |
isDeleted()
Whether this calendar has been deleted from the calendar list.
|
boolean |
isHidden()
Whether this calendar has been hidden from the list.
|
boolean |
isPrimary()
Whether this calendar is the primary calendar of the authenticated user.
|
boolean |
isSelected()
Whether this calendar's content is displayed in the calendar UI.
|
protected Calendar()
public java.lang.String getSummary()
null if none.public java.lang.String getDescription()
null if none.public java.lang.String getLocation()
null if none.public java.util.TimeZone getTimeZone()
null if none.public java.lang.String getSummaryOverride()
null if none.public java.lang.String getColorId()
null if none.public java.lang.String getBackgroundColor()
null if none.public java.lang.String getForegroundColor()
null if none.public boolean isHidden()
public boolean isSelected()
public PermissionRole getAccessRole()
null if none.public java.util.List<Calendar.EventReminder> getDefaultReminders()
null if none.public Calendar.NotificationSettings getNotificationSettings()
null if none.public boolean isPrimary()
public boolean isDeleted()