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 poll_option.ex
Raw

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