GoogleApi.Gmail.V1.Model.History (google_api_gmail v0.13.3) View Source

A record of a change to the user's mailbox. Each history change may affect multiple messages in multiple ways.

Attributes

  • id (type: String.t, default: nil) - The mailbox sequence ID.
  • labelsAdded (type: list(GoogleApi.Gmail.V1.Model.HistoryLabelAdded.t), default: nil) - Labels added to messages in this history record.
  • labelsRemoved (type: list(GoogleApi.Gmail.V1.Model.HistoryLabelRemoved.t), default: nil) - Labels removed from messages in this history record.
  • messages (type: list(GoogleApi.Gmail.V1.Model.Message.t), default: nil) - List of messages changed in this history record. The fields for specific change types, such as messagesAdded may duplicate messages in this field. We recommend using the specific change-type fields instead of this.
  • messagesAdded (type: list(GoogleApi.Gmail.V1.Model.HistoryMessageAdded.t), default: nil) - Messages added to the mailbox in this history record.
  • messagesDeleted (type: list(GoogleApi.Gmail.V1.Model.HistoryMessageDeleted.t), default: nil) - Messages deleted (not Trashed) from the mailbox in this history record.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.