Current section

Files

Jump to
oapi_open_ai lib schemas audit_log api_key created data.ex
Raw

lib/schemas/audit_log/api_key/created/data.ex

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