lib/spatio/model/update_participant_state_request.ex
# NOTE: This file is auto generated by OpenAPI Generator 7.22.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule Spatio.Model.UpdateParticipantStateRequest do
@moduledoc """
Toggle audio/video/screen-share state.
"""
@derive JSON.Encoder
defstruct [
:audioEnabled,
:videoEnabled,
:screenShareEnabled
]
@type t :: %__MODULE__{
:audioEnabled => boolean() | nil,
:videoEnabled => boolean() | nil,
:screenShareEnabled => boolean() | nil
}
def decode(value) do
value
end
end