Current section
Files
Jump to
Current section
Files
lib/schemas/audit_log/service_account/created.ex
defmodule OpenAi.AuditLog.ServiceAccount.Created do
@moduledoc """
Provides struct and type for a AuditLog.ServiceAccount.Created
"""
@type t :: %__MODULE__{
data: OpenAi.AuditLog.ServiceAccount.CreatedData.t() | nil,
id: String.t() | nil
}
defstruct [:data, :id]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[data: {OpenAi.AuditLog.ServiceAccount.CreatedData, :t}, id: {:string, :generic}]
end
end