google_api_gmail v0.1.0 GoogleApi.Gmail.V1.Model.MessagePartBody View Source

The body of a single MIME message part.

Attributes

  • attachmentId (String.t): 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. Defaults to: null.
  • data (binary()): 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. Defaults to: null.
  • size (integer()): Number of bytes for the message part data (encoding notwithstanding). Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Gmail.V1.Model.MessagePartBody{
  attachmentId: any(),
  data: any(),
  size: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.