Lettermint.Types.AnalyticsFilter (Lettermint v2.0.0)

Copy Markdown View Source

A dimension filter.

Fields

  • dimension (required)
  • operator (required): eq requires one value; in and not_in require one or more values; is_null and is_not_null require no values.
  • values (optional): String values to match. Supply one for eq, one or more for in/not_in, and none for null checks.

Absent fields are :unset; nil is JSON null. extra holds response fields that this version of the SDK does not know.

Summary

Types

t()

@type t() :: %Lettermint.Types.AnalyticsFilter{
  dimension: Lettermint.Types.AnalyticsDimension.t(),
  extra: %{optional(String.t()) => term()},
  operator: Lettermint.Types.AnalyticsFilterOperator.t(),
  values: [String.t()] | :unset
}