GoogleApi.Gmail.V1.Model.ListDraftsResponse (google_api_gmail v0.13.3) 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.

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.ListDraftsResponse{
  drafts: [GoogleApi.Gmail.V1.Model.Draft.t()],
  nextPageToken: String.t(),
  resultSizeEstimate: integer()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.