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

View Source

A collection of messages representing a conversation.

Attributes

  • historyId (type: String.t, default: nil) - The ID of the last history record that modified this thread.
  • id (type: String.t, default: nil) - The unique ID of the thread.
  • messages (type: list(GoogleApi.Gmail.V1.Model.Message.t), default: nil) - The list of messages in the thread.
  • snippet (type: String.t, default: nil) - A short part of the message text.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Gmail.V1.Model.Thread{
  historyId: String.t() | nil,
  id: String.t() | nil,
  messages: [GoogleApi.Gmail.V1.Model.Message.t()] | nil,
  snippet: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.