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

View Source

Attributes

  • drafts (type: list(GoogleApi.Gmail.V1.Model.Draft.t), default: nil) - List of drafts. Note that the Message property in each Draft resource only contains an id and a threadId. The messages.get method can fetch additional message details.
  • nextPageToken (type: String.t, default: nil) - Token to retrieve the next page of results in the list.
  • resultSizeEstimate (type: integer(), default: nil) - Estimated total number of results.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Gmail.V1.Model.ListDraftsResponse{
  drafts: [GoogleApi.Gmail.V1.Model.Draft.t()] | nil,
  nextPageToken: String.t() | nil,
  resultSizeEstimate: integer() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.