Current section

Files

Jump to
opencode_sdk lib opencode generated v2_sessions_response.ex
Raw

lib/opencode/generated/v2_sessions_response.ex

defmodule OpenCode.Generated.V2SessionsResponse do
@moduledoc """
Provides struct and type for a V2SessionsResponse
"""
@type t :: %__MODULE__{
cursor: OpenCode.Generated.V2SessionsResponseCursor.t(),
items: [OpenCode.Generated.SessionV2Info.t()]
}
defstruct [:cursor, :items]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[
cursor: {OpenCode.Generated.V2SessionsResponseCursor, :t},
items: [{OpenCode.Generated.SessionV2Info, :t}]
]
end
end