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

lib/ex_stream_client/model/mute_channel_response.ex

defmodule ExStreamClient.Model.MuteChannelResponse do
@moduledoc "Schema representing a MuteChannelResponse"
use ExStreamClient.JSON
use ExStreamClient.TypeInterner
@enforce_keys [:duration]
defstruct [:channel_mute, :channel_mutes, :duration, :own_user]
@nested_components channel_mute: ExStreamClient.Model.ChannelMute,
channel_mutes: ExStreamClient.Model.ChannelMute,
own_user: ExStreamClient.Model.OwnUser
def nested_components do
@nested_components
end
@type t :: %__MODULE__{
channel_mute: ExStreamClient.Model.ChannelMute.t() | nil,
channel_mutes: [ExStreamClient.Model.ChannelMute.t()] | nil,
duration: String.t(),
own_user: ExStreamClient.Model.OwnUser.t() | nil
}
end