Current section
Files
Jump to
Current section
Files
lib/schemas/audit_log/user/updated/changes_requested.ex
defmodule OpenAi.AuditLog.User.Updated.ChangesRequested do
@moduledoc """
Provides struct and type for a AuditLog.User.Updated.ChangesRequested
"""
@type t :: %__MODULE__{role: String.t() | nil}
defstruct [:role]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[role: {:string, :generic}]
end
end