public class ExtendedCalendar extends Calendar
A set of extended metadata, such as a colors, for a single calendar.
Modifier and Type | Field and Description |
---|---|
static String |
EXTENDED_CALENDAR_KIND
Type of the resource 'calendar#calendarListEntry'.
|
static String |
LIST_KIND
Type of the resources list 'calendar#calendarList'.
|
CALENDAR_KIND
Constructor and Description |
---|
ExtendedCalendar()
Initializes a new instance of the ExtendedCalendar class.
|
ExtendedCalendar(String summary)
Initializes a new instance of the ExtendedCalendar class.
|
ExtendedCalendar(String id,
String summary)
Initializes a new instance of the ExtendedCalendar class.
|
ExtendedCalendar(String summary,
String description,
String location,
String timeZone)
Initializes a new instance of the ExtendedCalendar class.
|
ExtendedCalendar(String id,
String summary,
String description,
String location,
String timeZone)
Initializes a new instance of the ExtendedCalendar class.
|
ExtendedCalendar(String id,
String summary,
String description,
String location,
String timeZone,
String summaryOverride,
String colorId,
String backgroundColor,
String foregroundColor,
boolean hidden,
boolean selected,
int accessRole,
com.aspose.ms.System.Collections.Generic.KeyValuePair<Integer,Integer>[] defaultReminders,
boolean primary)
Initializes a new instance of the ExtendedCalendar class.
|
ExtendedCalendar(String id,
String eTag,
String summary,
String description,
String location,
String timeZone,
String summaryOverride,
String colorId,
String backgroundColor,
String foregroundColor,
boolean hidden,
boolean selected,
int accessRole,
com.aspose.ms.System.Collections.Generic.KeyValuePair<Integer,Integer>[] defaultReminders,
boolean primary)
Initializes a new instance of the ExtendedCalendar class.
|
Modifier and Type | Method and Description |
---|---|
int |
getAccessRole()
The effective access role that the authenticated user has on the calendar.
|
String |
getBackgroundColor()
The main color of the calendar in the format '#0088aa'.
|
String |
getColorId()
The color of the calendar.
|
com.aspose.ms.System.Collections.Generic.KeyValuePair<Integer,Integer>[] |
getDefaultReminders()
The default reminders that the authenticated user has for this calendar.
|
String |
getForegroundColor()
The foreground color of the calendar in the format '#ffffff'.
|
boolean |
getHidden()
Whether the calendar has been hidden from the list.
|
com.aspose.ms.System.Collections.Generic.KeyValuePair<Integer,Integer>[] |
getNotificationSettings()
The notifications that the authenticated user is receiving for this calendar.
|
boolean |
getPrimary()
Whether the calendar is the primary calendar of the authenticated user.
|
boolean |
getSelected()
Whether the calendar content shows up in the calendar UI.
|
String |
getSummaryOverride()
The summary that the authenticated user has set for this calendar.
|
void |
setBackgroundColor(String value)
The main color of the calendar in the format '#0088aa'.
|
void |
setColorId(String value)
The color of the calendar.
|
void |
setDefaultReminders(com.aspose.ms.System.Collections.Generic.KeyValuePair<Integer,Integer>[] value)
The default reminders that the authenticated user has for this calendar.
|
void |
setForegroundColor(String value)
The foreground color of the calendar in the format '#ffffff'.
|
void |
setHidden(boolean value)
Whether the calendar has been hidden from the list.
|
void |
setNotificationSettings(com.aspose.ms.System.Collections.Generic.KeyValuePair<Integer,Integer>[] value)
The notifications that the authenticated user is receiving for this calendar.
|
void |
setPrimary(boolean value)
Whether the calendar is the primary calendar of the authenticated user.
|
void |
setSelected(boolean value)
Whether the calendar content shows up in the calendar UI.
|
void |
setSummaryOverride(String value)
The summary that the authenticated user has set for this calendar.
|
String |
toString()
Returns a string which represents the object instance.
|
getConferenceProperties, getDescription, getLocation, getSummary, getTimeZone, setDescription, setLocation, setSummary, setTimeZone
public static final String EXTENDED_CALENDAR_KIND
Type of the resource 'calendar#calendarListEntry'.
public static final String LIST_KIND
Type of the resources list 'calendar#calendarList'.
public ExtendedCalendar()
Initializes a new instance of the ExtendedCalendar class.
public ExtendedCalendar(String summary)
Initializes a new instance of the ExtendedCalendar class.
summary
- Title of the calendar.public ExtendedCalendar(String id, String summary)
Initializes a new instance of the ExtendedCalendar class.
id
- Identifier of the resource.summary
- Title of the calendar.public ExtendedCalendar(String summary, String description, String location, String timeZone)
Initializes a new instance of the ExtendedCalendar class.
summary
- Title of the calendar.description
- Description of the calendar.location
- Geographic location of the calendar as free-form text.timeZone
- The time zone of the calendar.public ExtendedCalendar(String id, String summary, String description, String location, String timeZone)
Initializes a new instance of the ExtendedCalendar class.
id
- Identifier of the resource.summary
- Title of the calendar.description
- Description of the calendar.location
- Geographic location of the calendar as free-form text.timeZone
- The time zone of the calendar.public ExtendedCalendar(String id, String summary, String description, String location, String timeZone, String summaryOverride, String colorId, String backgroundColor, String foregroundColor, boolean hidden, boolean selected, int accessRole, com.aspose.ms.System.Collections.Generic.KeyValuePair<Integer,Integer>[] defaultReminders, boolean primary)
Initializes a new instance of the ExtendedCalendar class.
id
- Identifier of the resource.summary
- Title of the calendar.description
- Description of the calendar.location
- Geographic location of the calendar as free-form text.timeZone
- The time zone of the calendar.summaryOverride
- The summary that the authenticated user has set for this calendar.colorId
- The color of the calendar. This is an ID referring to an entry in the 'calendar' section of the colors definition (see the 'colors' endpoint).backgroundColor
- The main color of the calendar in the format '#0088aa'. This property supersedes the index-based colorId property.foregroundColor
- The foreground color of the calendar in the format '#ffffff'. This property supersedes the index-based colorId property.hidden
- Whether the calendar has been hidden from the list. The default is False.selected
- Whether the calendar content shows up in the calendar UI. The default is False.accessRole
- The effective access role that the authenticated user has on the calendar. Read-only. Possible values are:defaultReminders
- The default reminders that the authenticated user has for this calendar.primary
- Whether the calendar is the primary calendar of the authenticated user. Read-only. The default is False.public ExtendedCalendar(String id, String eTag, String summary, String description, String location, String timeZone, String summaryOverride, String colorId, String backgroundColor, String foregroundColor, boolean hidden, boolean selected, int accessRole, com.aspose.ms.System.Collections.Generic.KeyValuePair<Integer,Integer>[] defaultReminders, boolean primary)
Initializes a new instance of the ExtendedCalendar class.
id
- Identifier of the resource.eTag
- An entity tagsummary
- Title of the calendar.description
- Description of the calendar.location
- Geographic location of the calendar as free-form text.timeZone
- The time zone of the calendar.summaryOverride
- The summary that the authenticated user has set for this calendar.colorId
- The color of the calendar. This is an ID referring to an entry in the 'calendar' section of the colors definition (see the 'colors' endpoint).backgroundColor
- The main color of the calendar in the format '#0088aa'. This property supersedes the index-based colorId property.foregroundColor
- The foreground color of the calendar in the format '#ffffff'. This property supersedes the index-based colorId property.hidden
- Whether the calendar has been hidden from the list. The default is False.selected
- Whether the calendar content shows up in the calendar UI. The default is False.accessRole
- The effective access role that the authenticated user has on the calendar. Read-only. Possible values are:defaultReminders
- The default reminders that the authenticated user has for this calendar.primary
- Whether the calendar is the primary calendar of the authenticated user. Read-only. The default is False.public String getSummaryOverride()
The summary that the authenticated user has set for this calendar.
public void setSummaryOverride(String value)
The summary that the authenticated user has set for this calendar.
public String getColorId()
The color of the calendar. This is an ID referring to an entry in the 'calendar' section of the colors definition (see the 'colors' endpoint).
public void setColorId(String value)
The color of the calendar. This is an ID referring to an entry in the 'calendar' section of the colors definition (see the 'colors' endpoint).
public String getBackgroundColor()
The main color of the calendar in the format '#0088aa'. This property supersedes the index-based colorId property.
public void setBackgroundColor(String value)
The main color of the calendar in the format '#0088aa'. This property supersedes the index-based colorId property.
public String getForegroundColor()
The foreground color of the calendar in the format '#ffffff'. This property supersedes the index-based colorId property.
public void setForegroundColor(String value)
The foreground color of the calendar in the format '#ffffff'. This property supersedes the index-based colorId property.
public boolean getHidden()
Whether the calendar has been hidden from the list. The default is False.
public void setHidden(boolean value)
Whether the calendar has been hidden from the list. The default is False.
public boolean getSelected()
Whether the calendar content shows up in the calendar UI. The default is False.
public void setSelected(boolean value)
Whether the calendar content shows up in the calendar UI. The default is False.
public int getAccessRole()
The effective access role that the authenticated user has on the calendar. Read-only. Possible values are:
public com.aspose.ms.System.Collections.Generic.KeyValuePair<Integer,Integer>[] getDefaultReminders()
The default reminders that the authenticated user has for this calendar.
public void setDefaultReminders(com.aspose.ms.System.Collections.Generic.KeyValuePair<Integer,Integer>[] value)
The default reminders that the authenticated user has for this calendar.
public com.aspose.ms.System.Collections.Generic.KeyValuePair<Integer,Integer>[] getNotificationSettings()
The notifications that the authenticated user is receiving for this calendar.
public void setNotificationSettings(com.aspose.ms.System.Collections.Generic.KeyValuePair<Integer,Integer>[] value)
The notifications that the authenticated user is receiving for this calendar.
public boolean getPrimary()
Whether the calendar is the primary calendar of the authenticated user. Read-only. The default is False.
public void setPrimary(boolean value)
Whether the calendar is the primary calendar of the authenticated user. Read-only. The default is False.