Current section

Files

Jump to
opencode_sdk lib opencode generated event_session_status_properties_status_action.ex
Raw

lib/opencode/generated/event_session_status_properties_status_action.ex

defmodule OpenCode.Generated.EventSessionStatusPropertiesStatusAction do
@moduledoc """
Provides struct and type for a EventSessionStatusPropertiesStatusAction
"""
@type t :: %__MODULE__{
label: String.t(),
link: String.t() | nil,
message: String.t(),
provider: String.t(),
reason: String.t(),
title: String.t()
}
defstruct [:label, :link, :message, :provider, :reason, :title]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[
label: :string,
link: :string,
message: :string,
provider: :string,
reason: :string,
title: :string
]
end
end