Current section

Files

Jump to
oapi_open_ai lib schemas response code_interpreter file_output_file.ex
Raw

lib/schemas/response/code_interpreter/file_output_file.ex

defmodule OpenAi.Response.CodeInterpreter.FileOutputFile do
@moduledoc """
Provides struct and type for a Response.CodeInterpreter.FileOutputFile
"""
@type t :: %__MODULE__{file_id: String.t(), mime_type: String.t()}
defstruct [:file_id, :mime_type]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[file_id: {:string, :generic}, mime_type: {:string, :generic}]
end
end