Lettermint.Types.AnalyticsSort (Lettermint v2.0.0)

Copy Markdown View Source

A breakdown sort order.

Fields

  • metric (required): Metric used to sort breakdown rows. Must also be selected in metrics.
  • direction (required): Ascending or descending order for the selected sort metric.

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.AnalyticsSort{
  direction: Lettermint.Types.AnalyticsSortDirection.t(),
  extra: %{optional(String.t()) => term()},
  metric: Lettermint.Types.AnalyticsMetric.t()
}