src/gsuite/calendar/event.model.ts
An event in a calendar.
anyoneCanAddSelf |
anyoneCanAddSelf: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:153
|
Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False. |
attachments |
attachments: |
Type : Array
|
Defined in src/gsuite/calendar/event.model.ts:190
|
File attachments for the event. Currently only Google Drive attachments are supported. In order to modify attachments the supportsAttachments request parameter should be set to true. There can be at most 25 attachments per event. |
attendees |
attendees: |
Type : Array
|
Defined in src/gsuite/calendar/event.model.ts:130
|
The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. |
attendeesOmitted |
attendeesOmitted: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:137
|
Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False. |
colorId |
colorId: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:61
|
The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional. |
created |
created: |
Type : Date
|
Defined in src/gsuite/calendar/event.model.ts:40
|
Creation time of the event. Read-only. |
creator |
creator: |
Type : EventPerson
|
Defined in src/gsuite/calendar/event.model.ts:65
|
The creator of the event. Read-only. |
description |
description: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:52
|
Description of the event. Optional. |
end |
end: |
Type : EventDate
|
Defined in src/gsuite/calendar/event.model.ts:80
|
The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance. |
endTimeUnspecified |
endTimeUnspecified: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:85
|
Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False. |
etag |
etag: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:21
|
ETag of the resource. |
extendedProperties |
extendedProperties: |
Type : EventProperties
|
Defined in src/gsuite/calendar/event.model.ts:141
|
Extended properties of the event. |
gadget |
gadget: |
Type : EventGadget
|
Defined in src/gsuite/calendar/event.model.ts:149
|
A gadget that extends this event. |
guestsCanInviteOthers |
guestsCanInviteOthers: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:157
|
Whether attendees other than the organizer can invite others to the event. Optional. The default is True. |
guestsCanModify |
guestsCanModify: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:161
|
Whether attendees can modify the event. Optional. The default is False. |
guestsCanSeeOtherGuests |
guestsCanSeeOtherGuests: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:165
|
Whether attendees other than the organizer can see who the event's attendees are. Optional. The default is True. |
hangoutLink |
hangoutLink: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:145
|
An absolute link to the Google+ hangout associated with this event. Read-only. |
htmlLink |
htmlLink: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:36
|
An absolute link to this event in the Google Calendar Web UI. Read-only. |
iCalUID |
iCalUID: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:120
|
Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method. |
id |
id: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:25
|
Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. |
kind |
kind: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:17
|
Type of the resource ("calendar#event"). |
location |
location: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:56
|
Geographic location of the event as free-form text. Optional. |
locked |
locked: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:175
|
Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only. |
organizer |
organizer: |
Type : EventPerson
|
Defined in src/gsuite/calendar/event.model.ts:71
|
The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event. |
originalStartTime |
originalStartTime: |
Type : EventDate
|
Defined in src/gsuite/calendar/event.model.ts:101
|
For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable. |
privateCopy |
privateCopy: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:170
|
Whether this is a private event copy where changes are not shared with other copies on other calendars. Optional. Immutable. The default is False. |
recurrence |
recurrence: |
Type : Array
|
Defined in src/gsuite/calendar/event.model.ts:92
|
List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events. |
recurringEventId |
recurringEventId: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:96
|
For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable. |
reminders |
reminders: |
Type : EventReminder
|
Defined in src/gsuite/calendar/event.model.ts:179
|
Information about the event's reminders for the authenticated user. |
sequence |
sequence: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:124
|
Sequence number as per iCalendar. |
source |
source: |
Type : EventSource
|
Defined in src/gsuite/calendar/event.model.ts:184
|
Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event. |
start |
start: |
Type : EventDate
|
Defined in src/gsuite/calendar/event.model.ts:76
|
The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance. |
status |
status: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:32
|
Status of the event. Optional. Possible values are:
|
summary |
summary: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:48
|
Title of the event. |
transparency |
transparency: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:107
|
Whether the event blocks time on the calendar. Optional. Possible values are:
|
updated |
updated: |
Type : Date
|
Defined in src/gsuite/calendar/event.model.ts:44
|
Last modification time of the event. Read-only. |
visibility |
visibility: |
Type : void
|
Defined in src/gsuite/calendar/event.model.ts:115
|
Visibility of the event. Optional. Possible values are:
|
import {EventPerson} from "./event-person.model";
import {EventDate} from "./event-date.model";
import {EventAttendee} from "./event-attendee.model";
import {EventProperties} from "./event-properties.model";
import {EventGadget} from "./event-gadget.model";
import {EventReminder} from "./event-reminder.model";
import {EventSource} from "./event-source.model";
import {EventAttachment} from "./event-attachments.model";
/**
* An event in a calendar.
*/
export interface Event {
/**
* Type of the resource ("calendar#event").
*/
kind: string;
/**
* ETag of the resource.
*/
etag: string;
/**
* Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs.
*/
id: string;
/**
* Status of the event. Optional. Possible values are: <br/>
* - "confirmed" - The event is confirmed. This is the default status. <br/>
* - "tentative" - The event is tentatively confirmed. <br/>
* - "cancelled" - The event is cancelled. <br/>
*/
status: string;
/**
* An absolute link to this event in the Google Calendar Web UI. Read-only.
*/
htmlLink: string;
/**
* Creation time of the event. Read-only.
*/
created: Date;
/**
* Last modification time of the event. Read-only.
*/
updated: Date;
/**
* Title of the event.
*/
summary: string;
/**
* Description of the event. Optional.
*/
description: string;
/**
* Geographic location of the event as free-form text. Optional.
*/
location: string;
/**
* The color of the event. This is an ID referring to an entry in the event section
* of the colors definition (see the colors endpoint). Optional.
*/
colorId: string;
/**
* The creator of the event. Read-only.
*/
creator: EventPerson;
/**
* The organizer of the event. If the organizer is also an attendee,
* this is indicated with a separate entry in attendees with the organizer field set to True.
* To change the organizer, use the move operation. Read-only, except when importing an event.
*/
organizer: EventPerson;
/**
* The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
*/
start: EventDate;
/**
* The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
*/
end: EventDate;
/**
* Whether the end time is actually unspecified. An end time is still provided for compatibility reasons,
* even if this attribute is set to True. The default is False.
*/
endTimeUnspecified: boolean;
/**
* List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545.
* Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are
* specified in the start and end fields. This field is omitted for single events or instances of recurring events.
*/
recurrence: Array<string>;
/**
* For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.
*/
recurringEventId: string;
/**
* For an instance of a recurring event, this is the time at which this event would start according to
* the recurrence data in the recurring event identified by recurringEventId. Immutable.
*/
originalStartTime: EventDate;
/**
* Whether the event blocks time on the calendar. Optional. Possible values are: <br/>
* - "opaque" - The event blocks time on the calendar. This is the default value. <br/>
* - "transparent" - The event does not block time on the calendar. <br/>
*/
transparency: string;
/**
* Visibility of the event. Optional. Possible values are: <br/>
* - "default" - Uses the default visibility for events on the calendar. This is the default value. <br/>
* - "public" - The event is public and event details are visible to all readers of the calendar. <br/>
* - "private" - The event is private and only event attendees may view event details. <br/>
* - "confidential" - The event is private. This value is provided for compatibility reasons.
*/
visibility: string;
/**
* Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring
* systems and must be supplied when importing events via the import method.
*/
iCalUID: string;
/**
* Sequence number as per iCalendar.
*/
sequence: number;
/**
* The attendees of the event. See the Events with attendees guide
* for more information on scheduling events with other calendar users.
*/
attendees: Array<EventAttendee>
/**
* Whether attendees may have been omitted from the event's representation. When retrieving an event,
* this may be due to a restriction specified by the maxAttendee query parameter.
* When updating an event, this can be used to only update the participant's response.
* Optional. The default is False.
*/
attendeesOmitted: boolean;
/**
* Extended properties of the event.
*/
extendedProperties: EventProperties;
/**
* An absolute link to the Google+ hangout associated with this event. Read-only.
*/
hangoutLink: string;
/**
* A gadget that extends this event.
*/
gadget: EventGadget;
/**
* Whether anyone can invite themselves to the event (currently works for Google+ events only). Optional. The default is False.
*/
anyoneCanAddSelf: boolean;
/**
* Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
*/
guestsCanInviteOthers: boolean;
/**
* Whether attendees can modify the event. Optional. The default is False.
*/
guestsCanModify: boolean;
/**
* Whether attendees other than the organizer can see who the event's attendees are. Optional. The default is True.
*/
guestsCanSeeOtherGuests: boolean;
/**
* Whether this is a private event copy where changes are not shared with other copies
* on other calendars. Optional. Immutable. The default is False.
*/
privateCopy: boolean;
/**
* Whether this is a locked event copy where no changes can be made to the main event fields
* "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only.
*/
locked: boolean;
/**
* Information about the event's reminders for the authenticated user.
*/
reminders: EventReminder;
/**
* Source from which the event was created. For example, a web page, an email message or any document
* identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event.
*/
source: EventSource;
/**
* File attachments for the event. Currently only Google Drive attachments are supported.
* In order to modify attachments the supportsAttachments request parameter should be set to true.
* There can be at most 25 attachments per event.
*/
attachments: Array<EventAttachment>;
}