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