Module GapiGmailV1Model.MessagePart

type t = {
body : MessagePartBody.t;(*

The message part body for this part, which may be empty for container MIME message parts.

*)
filename : string;(*

The filename of the attachment. Only present if this message part represents an attachment.

*)
headers : MessagePartHeader.t list;(*

List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.

*)
mimeType : string;(*

The MIME type of the message part.

*)
partId : string;(*

The immutable ID of the message part.

*)
parts : t list;(*

The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.

*)
}
val filename : ( t, string ) GapiLens.t
val headers : ( t, MessagePartHeader.t list ) GapiLens.t
val mimeType : ( t, string ) GapiLens.t
val partId : ( t, string ) GapiLens.t
val parts : ( t, 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