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

Resource definition for Gmail filters. Filters apply to specific messages instead of an entire email thread.

Attributes

  • action (type: GoogleApi.Gmail.V1.Model.FilterAction.t, default: nil) - Action that the filter performs.
  • criteria (type: GoogleApi.Gmail.V1.Model.FilterCriteria.t, default: nil) - Matching criteria for the filter.
  • id (type: String.t, default: nil) - The server assigned ID of the filter.

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.Filter{
  action: GoogleApi.Gmail.V1.Model.FilterAction.t(),
  criteria: GoogleApi.Gmail.V1.Model.FilterCriteria.t(),
  id: String.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.