Current section
Files
Jump to
Current section
Files
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