Packages

A client for [Stream](https://getstream.io) REST APIs in Elixir - auto generated from their [OpenAPI specification](https://github.com/GetStream/protocol).

Current section

Files

Jump to
ex_stream_client lib ex_stream_client model thresholds.ex
Raw

lib/ex_stream_client/model/thresholds.ex

defmodule ExStreamClient.Model.Thresholds do
@moduledoc "Schema representing a Thresholds"
use ExStreamClient.JSON
use ExStreamClient.TypeInterner
defstruct [:explicit, :spam, :toxic]
@nested_components explicit: ExStreamClient.Model.LabelThresholds,
spam: ExStreamClient.Model.LabelThresholds,
toxic: ExStreamClient.Model.LabelThresholds
def nested_components do
@nested_components
end
@type t :: %__MODULE__{
explicit: ExStreamClient.Model.LabelThresholds.t() | nil,
spam: ExStreamClient.Model.LabelThresholds.t() | nil,
toxic: ExStreamClient.Model.LabelThresholds.t() | nil
}
end