lib/spatio/model/spatio_call.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.SpatioCall do
  @moduledoc """
  
  """

  @derive JSON.Encoder
  defstruct [
    :id,
    :title,
    :status,
    :hostUserId,
    :workspaceId,
    :roomId,
    :participants,
    :metadata,
    :startedAt,
    :endedAt,
    :createdAt
  ]

  @type t :: %__MODULE__{
    :id => String.t,
    :title => String.t | nil,
    :status => String.t | nil,
    :hostUserId => String.t | nil,
    :workspaceId => String.t | nil,
    :roomId => String.t | nil,
    :participants => [%{optional(String.t) => any()}] | nil,
    :metadata => %{optional(String.t) => any()} | nil,
    :startedAt => DateTime.t | nil,
    :endedAt => DateTime.t | nil,
    :createdAt => DateTime.t | nil
  }

  def decode(value) do
    value
  end
end