ExtendedCalendar

Inheritance: java.lang.Object, com.aspose.email.BaseDataObject, com.aspose.email.Calendar

public class ExtendedCalendar extends Calendar

A set of extended metadata, such as a colors, for a single calendar.

Constructors

ConstructorDescription
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, 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, System.Collections.Generic.KeyValuePair<Integer,Integer>[] defaultReminders, boolean primary)Initializes a new instance of the ExtendedCalendar class.

Fields

FieldDescription
CALENDAR_KINDType of the resource ‘calendar#calendar’.
EXTENDED_CALENDAR_KINDType of the resource ‘calendar#calendarListEntry’.
LIST_KINDType of the resources list ‘calendar#calendarList’.

Methods

MethodDescription
equals(Object arg0)
getAccessRole()The effective access role that the authenticated user has on the calendar.
getBackgroundColor()The main color of the calendar in the format ‘#0088aa’.
getClass()
getColorId()The color of the calendar.
getConferenceProperties()Gets conferencing properties for this calendar.
getDefaultReminders()The default reminders that the authenticated user has for this calendar.
getDescription()Description of the calendar.
getETag()An ETag or entity tag is one of several mechanisms that HTTP provides for web cache validation, and which allows a client to make conditional requests.
getForegroundColor()The foreground color of the calendar in the format ‘#ffffff’.
getHidden()Whether the calendar has been hidden from the list.
getId()Identifier of the resource.
getKind()Type of the resource
getLocation()Geographic location of the calendar as free-form text.
getNotificationSettings()The notifications that the authenticated user is receiving for this calendar.
getPrimary()Whether the calendar is the primary calendar of the authenticated user.
getSelected()Whether the calendar content shows up in the calendar UI.
getSummary()Title of the calendar.
getSummaryOverride()The summary that the authenticated user has set for this calendar.
getTimeZone()The time zone of the calendar.
hashCode()
notify()
notifyAll()
setBackgroundColor(String value)The main color of the calendar in the format ‘#0088aa’.
setColorId(String value)The color of the calendar.
setDefaultReminders(System.Collections.Generic.KeyValuePair<Integer,Integer>[] value)The default reminders that the authenticated user has for this calendar.
setDescription(String value)Description of the calendar.
setETag(String value)An ETag or entity tag is one of several mechanisms that HTTP provides for web cache validation, and which allows a client to make conditional requests.
setForegroundColor(String value)The foreground color of the calendar in the format ‘#ffffff’.
setHidden(boolean value)Whether the calendar has been hidden from the list.
setId(String value)Identifier of the resource.
setLocation(String value)Geographic location of the calendar as free-form text.
setNotificationSettings(System.Collections.Generic.KeyValuePair<Integer,Integer>[] value)The notifications that the authenticated user is receiving for this calendar.
setPrimary(boolean value)Whether the calendar is the primary calendar of the authenticated user.
setSelected(boolean value)Whether the calendar content shows up in the calendar UI.
setSummary(String value)Title of the calendar.
setSummaryOverride(String value)The summary that the authenticated user has set for this calendar.
setTimeZone(String value)The time zone of the calendar.
toString()Returns a string which represents the object instance.
wait()
wait(long arg0)
wait(long arg0, int arg1)

ExtendedCalendar()

public ExtendedCalendar()

Initializes a new instance of the ExtendedCalendar class.

ExtendedCalendar(String summary)

public ExtendedCalendar(String summary)

Initializes a new instance of the ExtendedCalendar class.

Parameters:

ParameterTypeDescription
summaryjava.lang.StringTitle of the calendar.

ExtendedCalendar(String id, String summary)

public ExtendedCalendar(String id, String summary)

Initializes a new instance of the ExtendedCalendar class.

Parameters:

ParameterTypeDescription
idjava.lang.StringIdentifier of the resource.
summaryjava.lang.StringTitle of the calendar.

ExtendedCalendar(String summary, String description, String location, String timeZone)

public ExtendedCalendar(String summary, String description, String location, String timeZone)

Initializes a new instance of the ExtendedCalendar class.

Parameters:

ParameterTypeDescription
summaryjava.lang.StringTitle of the calendar.
descriptionjava.lang.StringDescription of the calendar.
locationjava.lang.StringGeographic location of the calendar as free-form text.
timeZonejava.lang.StringThe time zone of the calendar.

ExtendedCalendar(String id, String summary, String description, String location, String timeZone)

public ExtendedCalendar(String id, String summary, String description, String location, String timeZone)

Initializes a new instance of the ExtendedCalendar class.

Parameters:

ParameterTypeDescription
idjava.lang.StringIdentifier of the resource.
summaryjava.lang.StringTitle of the calendar.
descriptionjava.lang.StringDescription of the calendar.
locationjava.lang.StringGeographic location of the calendar as free-form text.
timeZonejava.lang.StringThe time zone of the calendar.

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, System.Collections.Generic.KeyValuePair<Integer,Integer>[] defaultReminders, boolean primary)

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, System.Collections.Generic.KeyValuePair<Integer,Integer>[] defaultReminders, boolean primary)

Initializes a new instance of the ExtendedCalendar class.

Parameters:

ParameterTypeDescription
idjava.lang.StringIdentifier of the resource.
summaryjava.lang.StringTitle of the calendar.
descriptionjava.lang.StringDescription of the calendar.
locationjava.lang.StringGeographic location of the calendar as free-form text.
timeZonejava.lang.StringThe time zone of the calendar.
summaryOverridejava.lang.StringThe summary that the authenticated user has set for this calendar.
colorIdjava.lang.StringThe color of the calendar. This is an ID referring to an entry in the ‘calendar’ section of the colors definition (see the ‘colors’ endpoint).
backgroundColorjava.lang.StringThe main color of the calendar in the format ‘#0088aa’. This property supersedes the index-based colorId property.
foregroundColorjava.lang.StringThe foreground color of the calendar in the format ‘#ffffff’. This property supersedes the index-based colorId property.
hiddenbooleanWhether the calendar has been hidden from the list. The default is False.
selectedbooleanWhether the calendar content shows up in the calendar UI. The default is False.
accessRoleintThe effective access role that the authenticated user has on the calendar. Read-only. Possible values are:
defaultReminderscom.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.Integer,java.lang.Integer>[]The default reminders that the authenticated user has for this calendar.
primarybooleanWhether the calendar is the primary calendar of the authenticated user. Read-only. The default is False.

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, System.Collections.Generic.KeyValuePair<Integer,Integer>[] defaultReminders, boolean primary)

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, System.Collections.Generic.KeyValuePair<Integer,Integer>[] defaultReminders, boolean primary)

Initializes a new instance of the ExtendedCalendar class.

Parameters:

ParameterTypeDescription
idjava.lang.StringIdentifier of the resource.
eTagjava.lang.StringAn entity tag
summaryjava.lang.StringTitle of the calendar.
descriptionjava.lang.StringDescription of the calendar.
locationjava.lang.StringGeographic location of the calendar as free-form text.
timeZonejava.lang.StringThe time zone of the calendar.
summaryOverridejava.lang.StringThe summary that the authenticated user has set for this calendar.
colorIdjava.lang.StringThe color of the calendar. This is an ID referring to an entry in the ‘calendar’ section of the colors definition (see the ‘colors’ endpoint).
backgroundColorjava.lang.StringThe main color of the calendar in the format ‘#0088aa’. This property supersedes the index-based colorId property.
foregroundColorjava.lang.StringThe foreground color of the calendar in the format ‘#ffffff’. This property supersedes the index-based colorId property.
hiddenbooleanWhether the calendar has been hidden from the list. The default is False.
selectedbooleanWhether the calendar content shows up in the calendar UI. The default is False.
accessRoleintThe effective access role that the authenticated user has on the calendar. Read-only. Possible values are:
defaultReminderscom.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.Integer,java.lang.Integer>[]The default reminders that the authenticated user has for this calendar.
primarybooleanWhether the calendar is the primary calendar of the authenticated user. Read-only. The default is False.

CALENDAR_KIND

public static final String CALENDAR_KIND

Type of the resource ‘calendar#calendar’.

EXTENDED_CALENDAR_KIND

public static final String EXTENDED_CALENDAR_KIND

Type of the resource ‘calendar#calendarListEntry’.

LIST_KIND

public static final String LIST_KIND

Type of the resources list ‘calendar#calendarList’.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getAccessRole()

public int getAccessRole()

The effective access role that the authenticated user has on the calendar. Read-only. Possible values are:

Returns: int

getBackgroundColor()

public String getBackgroundColor()

The main color of the calendar in the format ‘#0088aa’. This property supersedes the index-based colorId property.

Returns: java.lang.String

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getColorId()

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).

Returns: java.lang.String

getConferenceProperties()

public ConferenceProperties getConferenceProperties()

Gets conferencing properties for this calendar.

Returns: ConferenceProperties

getDefaultReminders()

public System.Collections.Generic.KeyValuePair<Integer,Integer>[] getDefaultReminders()

The default reminders that the authenticated user has for this calendar.

Returns: com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.Integer,java.lang.Integer>[]

getDescription()

public String getDescription()

Description of the calendar.

Returns: java.lang.String

getETag()

public String getETag()

An ETag or entity tag is one of several mechanisms that HTTP provides for web cache validation, and which allows a client to make conditional requests. This allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. ETags can also be used for optimistic concurrency control, as a way to help prevent simultaneous updates of a resource from overwriting each other.

Returns: java.lang.String

getForegroundColor()

public String getForegroundColor()

The foreground color of the calendar in the format ‘#ffffff’. This property supersedes the index-based colorId property.

Returns: java.lang.String

getHidden()

public boolean getHidden()

Whether the calendar has been hidden from the list. The default is False.

Returns: boolean

getId()

public String getId()

Identifier of the resource.

Returns: java.lang.String

getKind()

public String getKind()

Type of the resource

Returns: java.lang.String

getLocation()

public String getLocation()

Geographic location of the calendar as free-form text.

Returns: java.lang.String

getNotificationSettings()

public System.Collections.Generic.KeyValuePair<Integer,Integer>[] getNotificationSettings()

The notifications that the authenticated user is receiving for this calendar.

Returns: com.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.Integer,java.lang.Integer>[]

getPrimary()

public boolean getPrimary()

Whether the calendar is the primary calendar of the authenticated user. Read-only. The default is False.

Returns: boolean

getSelected()

public boolean getSelected()

Whether the calendar content shows up in the calendar UI. The default is False.

Returns: boolean

getSummary()

public String getSummary()

Title of the calendar.

Returns: java.lang.String

getSummaryOverride()

public String getSummaryOverride()

The summary that the authenticated user has set for this calendar.

Returns: java.lang.String

getTimeZone()

public String getTimeZone()

The time zone of the calendar.

Returns: java.lang.String

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setBackgroundColor(String value)

public void setBackgroundColor(String value)

The main color of the calendar in the format ‘#0088aa’. This property supersedes the index-based colorId property.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setColorId(String value)

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).

Parameters:

ParameterTypeDescription
valuejava.lang.String

setDefaultReminders(System.Collections.Generic.KeyValuePair<Integer,Integer>[] value)

public void setDefaultReminders(System.Collections.Generic.KeyValuePair<Integer,Integer>[] value)

The default reminders that the authenticated user has for this calendar.

Parameters:

ParameterTypeDescription
valuecom.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.Integer,java.lang.Integer>[]

setDescription(String value)

public void setDescription(String value)

Description of the calendar.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setETag(String value)

public void setETag(String value)

An ETag or entity tag is one of several mechanisms that HTTP provides for web cache validation, and which allows a client to make conditional requests. This allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. ETags can also be used for optimistic concurrency control, as a way to help prevent simultaneous updates of a resource from overwriting each other.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setForegroundColor(String value)

public void setForegroundColor(String value)

The foreground color of the calendar in the format ‘#ffffff’. This property supersedes the index-based colorId property.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setHidden(boolean value)

public void setHidden(boolean value)

Whether the calendar has been hidden from the list. The default is False.

Parameters:

ParameterTypeDescription
valueboolean

setId(String value)

public void setId(String value)

Identifier of the resource.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setLocation(String value)

public void setLocation(String value)

Geographic location of the calendar as free-form text.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setNotificationSettings(System.Collections.Generic.KeyValuePair<Integer,Integer>[] value)

public void setNotificationSettings(System.Collections.Generic.KeyValuePair<Integer,Integer>[] value)

The notifications that the authenticated user is receiving for this calendar.

Parameters:

ParameterTypeDescription
valuecom.aspose.ms.System.Collections.Generic.KeyValuePair<java.lang.Integer,java.lang.Integer>[]

setPrimary(boolean value)

public void setPrimary(boolean value)

Whether the calendar is the primary calendar of the authenticated user. Read-only. The default is False.

Parameters:

ParameterTypeDescription
valueboolean

setSelected(boolean value)

public void setSelected(boolean value)

Whether the calendar content shows up in the calendar UI. The default is False.

Parameters:

ParameterTypeDescription
valueboolean

setSummary(String value)

public void setSummary(String value)

Title of the calendar.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setSummaryOverride(String value)

public void setSummaryOverride(String value)

The summary that the authenticated user has set for this calendar.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setTimeZone(String value)

public void setTimeZone(String value)

The time zone of the calendar.

Parameters:

ParameterTypeDescription
valuejava.lang.String

toString()

public String toString()

Returns a string which represents the object instance.

Returns: java.lang.String - Returns a string which represents the object instance.

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int