package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. calendar : (string * ColorDefinition.t) list;
    (*

    A global palette of calendar colors, mapping from the color ID to its definition. A calendarListEntry resource refers to one of these color IDs in its color field. Read-only.

    *)
  2. event : (string * ColorDefinition.t) list;
    (*

    A global palette of event colors, mapping from the color ID to its definition. An event resource may refer to one of these color IDs in its color field. Read-only.

    *)
  3. kind : string;
    (*

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

    *)
  4. updated : GapiDate.t;
    (*

    Last modification time of the color palette (as a RFC3339 timestamp). Read-only.

    *)
}
val calendar : (t, (string * ColorDefinition.t) list) GapiLens.t
val event : (t, (string * ColorDefinition.t) list) GapiLens.t
val kind : (t, string) GapiLens.t
val updated : (t, GapiDate.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