Current section

Files

Jump to
opencode_sdk lib opencode generated project_icon.ex
Raw

lib/opencode/generated/project_icon.ex

defmodule OpenCode.Generated.ProjectIcon do
@moduledoc """
Provides struct and type for a ProjectIcon
"""
@type t :: %__MODULE__{
color: String.t() | nil,
override: String.t() | nil,
url: String.t() | nil
}
defstruct [:color, :override, :url]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[color: :string, override: :string, url: :string]
end
end