package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. id : string;
    (*

    The immutable ID of the label.

    *)
  2. labelListVisibility : string;
    (*

    The visibility of the label in the label list in the Gmail web interface.

    *)
  3. messageListVisibility : string;
    (*

    The visibility of the label in the message list in the Gmail web interface.

    *)
  4. messagesTotal : int;
    (*

    The total number of messages with the label.

    *)
  5. messagesUnread : int;
    (*

    The number of unread messages with the label.

    *)
  6. name : string;
    (*

    The display name of the label.

    *)
  7. threadsTotal : int;
    (*

    The total number of threads with the label.

    *)
  8. threadsUnread : int;
    (*

    The number of unread threads with the label.

    *)
  9. _type : string;
    (*

    The owner type for the label. User labels are created by the user and can be modified and deleted by the user and can be applied to any message or thread. System labels are internally created and cannot be added, modified, or deleted. System labels may be able to be applied to or removed from messages and threads under some circumstances but this is not guaranteed. For example, users can apply and remove the INBOX and UNREAD labels from messages and threads, but cannot apply or remove the DRAFTS or SENT labels from messages or threads.

    *)
}
val id : (t, string) GapiLens.t
val labelListVisibility : (t, string) GapiLens.t
val messageListVisibility : (t, string) GapiLens.t
val messagesTotal : (t, int) GapiLens.t
val messagesUnread : (t, int) GapiLens.t
val name : (t, string) GapiLens.t
val threadsTotal : (t, int) GapiLens.t
val threadsUnread : (t, int) GapiLens.t
val _type : (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.