defmodule OpenAi.Response.CodeInterpreter.Call.InterpretingEvent do @moduledoc """ Provides struct and type for a Response.CodeInterpreter.Call.InterpretingEvent """ @type t :: %__MODULE__{ code_interpreter_call: OpenAi.Response.CodeInterpreter.ToolCall.t(), output_index: integer, type: String.t() } defstruct [:code_interpreter_call, :output_index, :type] @doc false @spec __fields__(atom) :: keyword def __fields__(type \\ :t) def __fields__(:t) do [ code_interpreter_call: {OpenAi.Response.CodeInterpreter.ToolCall, :t}, output_index: :integer, type: {:const, "response.code_interpreter_call.interpreting"} ] end end