Module GapiGmailV1Model.Label

type t = {
color : LabelColor.t;

The color to assign to the label. Color is only available for labels that have their type set to user.

id : string;

The immutable ID of the label.

labelListVisibility : string;

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

messageListVisibility : string;

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

messagesTotal : int;

The total number of messages with the label.

messagesUnread : int;

The number of unread messages with the label.

name : string;

The display name of the label.

threadsTotal : int;

The total number of threads with the label.

threadsUnread : int;

The number of unread threads with the label.

_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 color : (tLabelColor.t) GapiLens.t
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