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

A draft email in the user's mailbox.

Attributes

  • id (type: String.t, default: nil) - The immutable ID of the draft.
  • message (type: GoogleApi.Gmail.V1.Model.Message.t, default: nil) - The message content of the draft.

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.Draft{
  id: String.t(),
  message: GoogleApi.Gmail.V1.Model.Message.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.