package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module GapiGmailV1Model.MessagePartSource

Sourcetype t = {
  1. body : MessagePartBody.t;
    (*

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

    *)
  2. filename : string;
    (*

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

    *)
  3. 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.

    *)
  4. mimeType : string;
    (*

    The MIME type of the message part.

    *)
  5. partId : string;
    (*

    The immutable ID of the message part.

    *)
  6. 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.

    *)
}
Sourceval filename : (t, string) GapiLens.t
Sourceval headers : (t, MessagePartHeader.t list) GapiLens.t
Sourceval mimeType : (t, string) GapiLens.t
Sourceval partId : (t, string) GapiLens.t
Sourceval parts : (t, t list) GapiLens.t
Sourceval empty : t
Sourceval render : t -> GapiJson.json_data_model list
Sourceval to_data_model : t -> GapiJson.json_data_model
Sourceval of_data_model : GapiJson.json_data_model -> t