Current section

Files

Jump to
opencode_sdk lib opencode generated event_question_v2_replied.ex
Raw

lib/opencode/generated/event_question_v2_replied.ex

defmodule OpenCode.Generated.EventQuestionV2Replied do
@moduledoc """
Provides struct and type for a EventQuestionV2Replied
"""
@type t :: %__MODULE__{
id: String.t(),
properties: OpenCode.Generated.EventQuestionV2RepliedProperties.t(),
type: String.t()
}
defstruct [:id, :properties, :type]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[
id: :string,
properties: {OpenCode.Generated.EventQuestionV2RepliedProperties, :t},
type: {:const, "question.v2.replied"}
]
end
end