Current section

Files

Jump to
oapi_open_ai lib schemas realtime session create_response client_secret.ex
Raw

lib/schemas/realtime/session/create_response/client_secret.ex

defmodule OpenAi.Realtime.Session.CreateResponse.ClientSecret do
@moduledoc """
Provides struct and type for a Realtime.Session.CreateResponse.ClientSecret
"""
@type t :: %__MODULE__{expires_at: integer, value: String.t()}
defstruct [:expires_at, :value]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[expires_at: :integer, value: {:string, :generic}]
end
end