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

lib/ex_stream_client/model/query_channels_response.ex

defmodule ExStreamClient.Model.QueryChannelsResponse do
@moduledoc "Schema representing a QueryChannelsResponse"
use ExStreamClient.JSON
use ExStreamClient.TypeInterner
@enforce_keys [:channels, :duration]
defstruct [:channels, :duration]
@nested_components channels: ExStreamClient.Model.ChannelStateResponseFields
def nested_components do
@nested_components
end
@type t :: %__MODULE__{
channels: [ExStreamClient.Model.ChannelStateResponseFields.t()],
duration: String.t()
}
end