package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module NotificationSettings : sig ... end
type t = {
  1. accessRole : string;
    (*

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

    • "freeBusyReader" - Provides read access to free/busy information.
    • "reader" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
    • "writer" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
    • "owner" - Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.
    *)
  2. backgroundColor : string;
    (*

    The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional.

    *)
  3. colorId : string;
    (*

    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). This property is superseded by the backgroundColor and foregroundColor properties and can be ignored when using these properties. Optional.

    *)
  4. defaultReminders : EventReminder.t list;
    (*

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

    *)
  5. deleted : bool;
    (*

    Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.

    *)
  6. description : string;
    (*

    Description of the calendar. Optional. Read-only.

    *)
  7. etag : string;
    (*

    ETag of the resource.

    *)
  8. foregroundColor : string;
    (*

    The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional.

    *)
  9. hidden : bool;
    (*

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

    *)
  10. id : string;
    (*

    Identifier of the calendar.

    *)
  11. kind : string;
    (*

    Type of the resource ("calendar#calendarListEntry").

    *)
  12. location : string;
    (*

    Geographic location of the calendar as free-form text. Optional. Read-only.

    *)
  13. notificationSettings : NotificationSettings.t;
    (*

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

    *)
  14. primary : bool;
    (*

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

    *)
  15. selected : bool;
    (*

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

    *)
  16. summary : string;
    (*

    Title of the calendar. Read-only.

    *)
  17. summaryOverride : string;
    (*

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

    *)
  18. timeZone : string;
    (*

    The time zone of the calendar. Optional. Read-only.

    *)
}
val accessRole : (t, string) GapiLens.t
val backgroundColor : (t, string) GapiLens.t
val colorId : (t, string) GapiLens.t
val defaultReminders : (t, EventReminder.t list) GapiLens.t
val deleted : (t, bool) GapiLens.t
val description : (t, string) GapiLens.t
val etag : (t, string) GapiLens.t
val foregroundColor : (t, string) GapiLens.t
val hidden : (t, bool) GapiLens.t
val id : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val location : (t, string) GapiLens.t
val notificationSettings : (t, NotificationSettings.t) GapiLens.t
val primary : (t, bool) GapiLens.t
val selected : (t, bool) GapiLens.t
val summary : (t, string) GapiLens.t
val summaryOverride : (t, string) GapiLens.t
val timeZone : (t, string) 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
OCaml

Innovation. Community. Security.