Current section

Files

Jump to
opencode_sdk lib opencode generated event_session_status_properties_status.ex
Raw

lib/opencode/generated/event_session_status_properties_status.ex

defmodule OpenCode.Generated.EventSessionStatusPropertiesStatus do
@moduledoc """
Provides struct and types for a EventSessionStatusPropertiesStatus
"""
@type t :: %__MODULE__{attempt: number, message: String.t(), next: number, type: String.t()}
defstruct [:attempt, :message, :next, :type]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[attempt: :number, message: :string, next: :number, type: {:enum, ["busy", "idle", "retry"]}]
end
end