Current section

Files

Jump to
oapi_open_ai lib schemas audit_log actor user.ex
Raw

lib/schemas/audit_log/actor/user.ex

defmodule OpenAi.AuditLog.Actor.User do
@moduledoc """
Provides struct and type for a AuditLog.Actor.User
"""
@type t :: %__MODULE__{email: String.t() | nil, id: String.t() | nil}
defstruct [:email, :id]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[email: {:string, :generic}, id: {:string, :generic}]
end
end