Module GapiGmailV1Model.MessagePartBody

module MessagePartBody: sig .. end

type t = {
   attachmentId : string; (*
When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
*)
   data : string; (*
The body data of a MIME message part. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
*)
   size : int; (*
Total number of bytes in the body of the message part.
*)
}
val attachmentId : (t, string) GapiLens.t
val data : (t, string) GapiLens.t
val size : (t, int) 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