ExStreamClient.Model.Thresholds (ExStreamClient v0.1.7)

View Source

Schema representing a Thresholds

Summary

Functions

Components could just be enums that are typed - so we need to decode those as enums as they will just be stings

Types

t()

@type t() :: %ExStreamClient.Model.Thresholds{
  explicit: ExStreamClient.Model.LabelThresholds.t() | nil,
  spam: ExStreamClient.Model.LabelThresholds.t() | nil,
  toxic: ExStreamClient.Model.LabelThresholds.t() | nil
}

Functions

decode(map)

Components could just be enums that are typed - so we need to decode those as enums as they will just be stings

nested_components()