defmodule OpenAi.Response.Computer.ScreenshotImage do @moduledoc """ Provides struct and type for a Response.Computer.ScreenshotImage """ @type t :: %__MODULE__{file_id: String.t() | nil, image_url: String.t() | nil, type: String.t()} defstruct [:file_id, :image_url, :type] @doc false @spec __fields__(atom) :: keyword def __fields__(type \\ :t) def __fields__(:t) do [ file_id: {:string, :generic}, image_url: {:string, :generic}, type: {:const, "computer_screenshot"} ] end end