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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Gmail.V1.Model.Draft{
  id: String.t() | nil,
  message: GoogleApi.Gmail.V1.Model.Message.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.