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 : (tHistoryLabelAdded.t list) GapiLens.t
val labelsRemoved : (tHistoryLabelRemoved.t list) GapiLens.t
val messages : (tMessage.t list) GapiLens.t
val messagesAdded : (tHistoryMessageAdded.t list) GapiLens.t
val messagesDeleted : (tHistoryMessageDeleted.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