Current section

Files

Jump to
opencode_sdk lib opencode generated event_vcs_branch_updated.ex
Raw

lib/opencode/generated/event_vcs_branch_updated.ex

defmodule OpenCode.Generated.EventVcsBranchUpdated do
@moduledoc """
Provides struct and type for a EventVcsBranchUpdated
"""
@type t :: %__MODULE__{
properties: OpenCode.Generated.EventVcsBranchUpdatedProperties.t(),
type: String.t()
}
defstruct [:properties, :type]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[
properties: {OpenCode.Generated.EventVcsBranchUpdatedProperties, :t},
type: {:const, "vcs.branch.updated"}
]
end
end