Module GapiGmailV1Model.History
type t
=
{
id : string;
The mailbox sequence ID.
labelsAdded : HistoryLabelAdded.t list;
Labels added to messages in this history record.
labelsRemoved : HistoryLabelRemoved.t list;
Labels removed from messages in this history record.
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.
messagesAdded : HistoryMessageAdded.t list;
Messages added to the mailbox in this history record.
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