Current section

Files

Jump to
opencode_sdk lib opencode generated sync_event_session_next_step_failed.ex
Raw

lib/opencode/generated/sync_event_session_next_step_failed.ex

defmodule OpenCode.Generated.SyncEventSessionNextStepFailed do
@moduledoc """
Provides struct and type for a SyncEventSessionNextStepFailed
"""
@type t :: %__MODULE__{
id: String.t(),
sync_event: OpenCode.Generated.SyncEventSessionNextStepFailedSyncEvent.t(),
type: String.t()
}
defstruct [:id, :sync_event, :type]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[
id: :string,
sync_event: {OpenCode.Generated.SyncEventSessionNextStepFailedSyncEvent, :t},
type: {:const, "sync"}
]
end
end