GoogleApi.Gmail.V1.Model.Draft (google_api_gmail v0.17.0)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.