Current section
Files
Jump to
Current section
Files
lib/ex_stream_client/model/poll_option.ex
defmodule ExStreamClient.Model.PollOption do
@moduledoc "Schema representing a PollOption"
use ExStreamClient.JSON
use ExStreamClient.TypeInterner
@enforce_keys [:custom, :id, :text]
defstruct [:custom, :id, :text]
@nested_components []
def nested_components do
@nested_components
end
@type t :: %__MODULE__{
custom: %{optional(String.t()) => any()},
id: String.t(),
text: String.t()
}
end