package gapi-ocaml

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

    The mailbox sequence ID.

    *)
  2. labelsAdded : HistoryLabelAdded.t list;
    (*

    Labels added to messages in this history record.

    *)
  3. labelsRemoved : HistoryLabelRemoved.t list;
    (*

    Labels removed from messages in this history record.

    *)
  4. messages : Message.t list;
    (*

    List of messages changed in this history record. The fields for specific change types, such as messagesAdded may duplicate messages in this field. We recommend using the specific change-type fields instead of this.

    *)
  5. messagesAdded : HistoryMessageAdded.t list;
    (*

    Messages added to the mailbox in this history record.

    *)
  6. messagesDeleted : HistoryMessageDeleted.t list;
    (*

    Messages deleted (not Trashed) from the mailbox in this history record.

    *)
}
val id : (t, string) GapiLens.t
val labelsAdded : (t, HistoryLabelAdded.t list) GapiLens.t
val labelsRemoved : (t, HistoryLabelRemoved.t list) GapiLens.t
val messages : (t, Message.t list) GapiLens.t
val messagesAdded : (t, HistoryMessageAdded.t list) GapiLens.t
val messagesDeleted : (t, HistoryMessageDeleted.t list) 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.