GoogleApi.Gmail.V1.Model.MessagePartBody (google_api_gmail v0.13.3) View Source

The body of a single MIME message part.

Attributes

  • attachmentId (type: String.t, default: nil) - 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 (type: String.t, default: nil) - The body data of a MIME message part as a base64url encoded string. 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 (type: integer(), default: nil) - Number of bytes for the message part data (encoding notwithstanding).

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Gmail.V1.Model.MessagePartBody{
  attachmentId: String.t(),
  data: String.t(),
  size: integer()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.