GapiCalendarV3Model.Event
module Creator : sig ... end
module Source : sig ... end
module Organizer : sig ... end
module Gadget : sig ... end
module Reminders : sig ... end
module ExtendedProperties : sig ... end
type t = {
description : string;
Description of the event. Can contain HTML. Optional.
*)privateCopy : bool;
If set to True, Event propagation is disabled. Note that it is not the same thing as Private event properties. Optional. Immutable. The default is False.
*)anyoneCanAddSelf : bool;
Whether anyone can invite themselves to the event (deprecated). Optional. The default is False.
*)location : string;
Geographic location of the event as free-form text. Optional.
*)hangoutLink : string;
An absolute link to the Google Hangout associated with this event. Read-only.
*)eventType : string;
Specific type of the event. Read-only. Possible values are:
extendedProperties : ExtendedProperties.t;
Extended properties of the event.
*)transparency : string;
Whether the event blocks time on the calendar. Optional. Possible values are:
recurrence : string list;
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.
*)reminders : Reminders.t;
Information about the event's reminders for the authenticated user.
*)htmlLink : string;
An absolute link to this event in the Google Calendar Web UI. Read-only.
*)updated : GapiDate.t;
Last modification time of the event (as a RFC3339 timestamp). Read-only.
*)originalStartTime : EventDateTime.t;
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. It uniquely identifies the instance within the recurring event series even if the instance was moved to a different time. Immutable.
*)guestsCanInviteOthers : bool;
Whether attendees other than the organizer can invite others to the event. Optional. The default is True.
*)sequence : int;
Sequence number as per iCalendar.
*)etag : string;
ETag of the resource.
*)attendeesOmitted : bool;
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.
*)iCalUID : 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. Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
*)conferenceData : ConferenceData.t;
The conference-related information, such as details of a Google Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests.
*)colorId : 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.
*)gadget : Gadget.t;
A gadget that extends this event. Gadgets are deprecated; this structure is instead only used for returning birthday calendar metadata.
*)guestsCanModify : bool;
Whether attendees other than the organizer can modify the event. Optional. The default is False.
*)guestsCanSeeOtherGuests : bool;
Whether attendees other than the organizer can see who the event's attendees are. Optional. The default is True.
*)locked : bool;
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.
*)status : string;
Status of the event. Optional. Possible values are:
organizer : Organizer.t;
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.
*)id : string;
Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
kind : string;
Type of the resource ("calendar#event").
*)visibility : string;
Visibility of the event. Optional. Possible values are:
attendees : EventAttendee.t list;
The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. Service accounts need to use domain-wide delegation of authority to populate the attendee list.
*)recurringEventId : string;
For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable.
*)source : Source.t;
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.
*)created : GapiDate.t;
Creation time of the event (as a RFC3339 timestamp). Read-only.
*)creator : Creator.t;
The creator of the event. Read-only.
*)summary : string;
Title of the event.
*)attachments : EventAttachment.t list;
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,
*)endTimeUnspecified : bool;
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.
*)start : EventDateTime.t;
The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance.
*)_end : EventDateTime.t;
The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance.
*)}
val description : (t, string) GapiLens.t
val privateCopy : (t, bool) GapiLens.t
val anyoneCanAddSelf : (t, bool) GapiLens.t
val location : (t, string) GapiLens.t
val hangoutLink : (t, string) GapiLens.t
val eventType : (t, string) GapiLens.t
val extendedProperties : (t, ExtendedProperties.t) GapiLens.t
val transparency : (t, string) GapiLens.t
val recurrence : (t, string list) GapiLens.t
val reminders : (t, Reminders.t) GapiLens.t
val htmlLink : (t, string) GapiLens.t
val updated : (t, GapiDate.t) GapiLens.t
val originalStartTime : (t, EventDateTime.t) GapiLens.t
val guestsCanInviteOthers : (t, bool) GapiLens.t
val sequence : (t, int) GapiLens.t
val etag : (t, string) GapiLens.t
val attendeesOmitted : (t, bool) GapiLens.t
val iCalUID : (t, string) GapiLens.t
val conferenceData : (t, ConferenceData.t) GapiLens.t
val colorId : (t, string) GapiLens.t
val gadget : (t, Gadget.t) GapiLens.t
val guestsCanModify : (t, bool) GapiLens.t
val guestsCanSeeOtherGuests : (t, bool) GapiLens.t
val locked : (t, bool) GapiLens.t
val status : (t, string) GapiLens.t
val organizer : (t, Organizer.t) GapiLens.t
val id : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val visibility : (t, string) GapiLens.t
val attendees : (t, EventAttendee.t list) GapiLens.t
val recurringEventId : (t, string) GapiLens.t
val source : (t, Source.t) GapiLens.t
val created : (t, GapiDate.t) GapiLens.t
val creator : (t, Creator.t) GapiLens.t
val summary : (t, string) GapiLens.t
val attachments : (t, EventAttachment.t list) GapiLens.t
val endTimeUnspecified : (t, bool) GapiLens.t
val start : (t, EventDateTime.t) GapiLens.t
val _end : (t, EventDateTime.t) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t
val to_data_model : t -> GapiJson.json_data_model
val of_data_model : GapiJson.json_data_model -> t