# 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.WorkspaceInvitation do
@moduledoc """
"""
@derive JSON.Encoder
defstruct [
:id,
:workspaceId,
:email,
:role,
:expiresAt,
:createdAt,
:acceptedAt,
:revokedAt,
:status
]
@type t :: %__MODULE__{
:id => String.t,
:workspaceId => String.t | nil,
:email => String.t,
:role => String.t,
:expiresAt => DateTime.t | nil,
:createdAt => DateTime.t,
:acceptedAt => DateTime.t | nil,
:revokedAt => DateTime.t | nil,
:status => String.t | nil
}
def decode(value) do
value
end
end