client

package
v0.0.0-...-c3eaf38 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Code generated by ogen, DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	Name        string            `json:"name"`
	Description OptString         `json:"description"`
	Mode        AgentMode         `json:"mode"`
	Native      OptBool           `json:"native"`
	Hidden      OptBool           `json:"hidden"`
	TopP        OptFloat64        `json:"topP"`
	Temperature OptFloat64        `json:"temperature"`
	Color       OptString         `json:"color"`
	Permission  PermissionRuleset `json:"permission"`
	Model       OptAgentModel     `json:"model"`
	Variant     OptString         `json:"variant"`
	Prompt      OptString         `json:"prompt"`
	Options     AgentOptions      `json:"options"`
	Steps       OptFloat64        `json:"steps"`
}

Ref: #/components/schemas/Agent

func (*Agent) Decode

func (s *Agent) Decode(d *jx.Decoder) error

Decode decodes Agent from json.

func (*Agent) Encode

func (s *Agent) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Agent) GetColor

func (s *Agent) GetColor() OptString

GetColor returns the value of Color.

func (*Agent) GetDescription

func (s *Agent) GetDescription() OptString

GetDescription returns the value of Description.

func (*Agent) GetHidden

func (s *Agent) GetHidden() OptBool

GetHidden returns the value of Hidden.

func (*Agent) GetMode

func (s *Agent) GetMode() AgentMode

GetMode returns the value of Mode.

func (*Agent) GetModel

func (s *Agent) GetModel() OptAgentModel

GetModel returns the value of Model.

func (*Agent) GetName

func (s *Agent) GetName() string

GetName returns the value of Name.

func (*Agent) GetNative

func (s *Agent) GetNative() OptBool

GetNative returns the value of Native.

func (*Agent) GetOptions

func (s *Agent) GetOptions() AgentOptions

GetOptions returns the value of Options.

func (*Agent) GetPermission

func (s *Agent) GetPermission() PermissionRuleset

GetPermission returns the value of Permission.

func (*Agent) GetPrompt

func (s *Agent) GetPrompt() OptString

GetPrompt returns the value of Prompt.

func (*Agent) GetSteps

func (s *Agent) GetSteps() OptFloat64

GetSteps returns the value of Steps.

func (*Agent) GetTemperature

func (s *Agent) GetTemperature() OptFloat64

GetTemperature returns the value of Temperature.

func (*Agent) GetTopP

func (s *Agent) GetTopP() OptFloat64

GetTopP returns the value of TopP.

func (*Agent) GetVariant

func (s *Agent) GetVariant() OptString

GetVariant returns the value of Variant.

func (*Agent) MarshalJSON

func (s *Agent) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Agent) SetColor

func (s *Agent) SetColor(val OptString)

SetColor sets the value of Color.

func (*Agent) SetDescription

func (s *Agent) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*Agent) SetHidden

func (s *Agent) SetHidden(val OptBool)

SetHidden sets the value of Hidden.

func (*Agent) SetMode

func (s *Agent) SetMode(val AgentMode)

SetMode sets the value of Mode.

func (*Agent) SetModel

func (s *Agent) SetModel(val OptAgentModel)

SetModel sets the value of Model.

func (*Agent) SetName

func (s *Agent) SetName(val string)

SetName sets the value of Name.

func (*Agent) SetNative

func (s *Agent) SetNative(val OptBool)

SetNative sets the value of Native.

func (*Agent) SetOptions

func (s *Agent) SetOptions(val AgentOptions)

SetOptions sets the value of Options.

func (*Agent) SetPermission

func (s *Agent) SetPermission(val PermissionRuleset)

SetPermission sets the value of Permission.

func (*Agent) SetPrompt

func (s *Agent) SetPrompt(val OptString)

SetPrompt sets the value of Prompt.

func (*Agent) SetSteps

func (s *Agent) SetSteps(val OptFloat64)

SetSteps sets the value of Steps.

func (*Agent) SetTemperature

func (s *Agent) SetTemperature(val OptFloat64)

SetTemperature sets the value of Temperature.

func (*Agent) SetTopP

func (s *Agent) SetTopP(val OptFloat64)

SetTopP sets the value of TopP.

func (*Agent) SetVariant

func (s *Agent) SetVariant(val OptString)

SetVariant sets the value of Variant.

func (*Agent) UnmarshalJSON

func (s *Agent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Agent) Validate

func (s *Agent) Validate() error

type AgentMode

type AgentMode string
const (
	AgentModeSubagent AgentMode = "subagent"
	AgentModePrimary  AgentMode = "primary"
	AgentModeAll      AgentMode = "all"
)

func (AgentMode) AllValues

func (AgentMode) AllValues() []AgentMode

AllValues returns all AgentMode values.

func (*AgentMode) Decode

func (s *AgentMode) Decode(d *jx.Decoder) error

Decode decodes AgentMode from json.

func (AgentMode) Encode

func (s AgentMode) Encode(e *jx.Encoder)

Encode encodes AgentMode as json.

func (AgentMode) MarshalJSON

func (s AgentMode) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (AgentMode) MarshalText

func (s AgentMode) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*AgentMode) UnmarshalJSON

func (s *AgentMode) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AgentMode) UnmarshalText

func (s *AgentMode) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (AgentMode) Validate

func (s AgentMode) Validate() error

type AgentModel

type AgentModel struct {
	ModelID    string `json:"modelID"`
	ProviderID string `json:"providerID"`
}

func (*AgentModel) Decode

func (s *AgentModel) Decode(d *jx.Decoder) error

Decode decodes AgentModel from json.

func (*AgentModel) Encode

func (s *AgentModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AgentModel) GetModelID

func (s *AgentModel) GetModelID() string

GetModelID returns the value of ModelID.

func (*AgentModel) GetProviderID

func (s *AgentModel) GetProviderID() string

GetProviderID returns the value of ProviderID.

func (*AgentModel) MarshalJSON

func (s *AgentModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AgentModel) SetModelID

func (s *AgentModel) SetModelID(val string)

SetModelID sets the value of ModelID.

func (*AgentModel) SetProviderID

func (s *AgentModel) SetProviderID(val string)

SetProviderID sets the value of ProviderID.

func (*AgentModel) UnmarshalJSON

func (s *AgentModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AgentOptions

type AgentOptions struct{}

func (*AgentOptions) Decode

func (s *AgentOptions) Decode(d *jx.Decoder) error

Decode decodes AgentOptions from json.

func (*AgentOptions) Encode

func (s *AgentOptions) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AgentOptions) MarshalJSON

func (s *AgentOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AgentOptions) UnmarshalJSON

func (s *AgentOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AppAgentsOKApplicationJSON

type AppAgentsOKApplicationJSON []Agent

func (*AppAgentsOKApplicationJSON) Decode

Decode decodes AppAgentsOKApplicationJSON from json.

func (AppAgentsOKApplicationJSON) Encode

func (s AppAgentsOKApplicationJSON) Encode(e *jx.Encoder)

Encode encodes AppAgentsOKApplicationJSON as json.

func (AppAgentsOKApplicationJSON) MarshalJSON

func (s AppAgentsOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AppAgentsOKApplicationJSON) UnmarshalJSON

func (s *AppAgentsOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (AppAgentsOKApplicationJSON) Validate

func (s AppAgentsOKApplicationJSON) Validate() error

type AppAgentsParams

type AppAgentsParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

AppAgentsParams is parameters of app.agents operation.

type AppAgentsRes

type AppAgentsRes interface {
	// contains filtered or unexported methods
}

type AppSkillsOKApplicationJSON

type AppSkillsOKApplicationJSON []AppSkillsOKItem

func (*AppSkillsOKApplicationJSON) Decode

Decode decodes AppSkillsOKApplicationJSON from json.

func (AppSkillsOKApplicationJSON) Encode

func (s AppSkillsOKApplicationJSON) Encode(e *jx.Encoder)

Encode encodes AppSkillsOKApplicationJSON as json.

func (AppSkillsOKApplicationJSON) MarshalJSON

func (s AppSkillsOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AppSkillsOKApplicationJSON) UnmarshalJSON

func (s *AppSkillsOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (AppSkillsOKApplicationJSON) Validate

func (s AppSkillsOKApplicationJSON) Validate() error

type AppSkillsOKItem

type AppSkillsOKItem struct {
	Name        string    `json:"name"`
	Description OptString `json:"description"`
	Location    string    `json:"location"`
	Content     string    `json:"content"`
}

func (*AppSkillsOKItem) Decode

func (s *AppSkillsOKItem) Decode(d *jx.Decoder) error

Decode decodes AppSkillsOKItem from json.

func (*AppSkillsOKItem) Encode

func (s *AppSkillsOKItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AppSkillsOKItem) GetContent

func (s *AppSkillsOKItem) GetContent() string

GetContent returns the value of Content.

func (*AppSkillsOKItem) GetDescription

func (s *AppSkillsOKItem) GetDescription() OptString

GetDescription returns the value of Description.

func (*AppSkillsOKItem) GetLocation

func (s *AppSkillsOKItem) GetLocation() string

GetLocation returns the value of Location.

func (*AppSkillsOKItem) GetName

func (s *AppSkillsOKItem) GetName() string

GetName returns the value of Name.

func (*AppSkillsOKItem) MarshalJSON

func (s *AppSkillsOKItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AppSkillsOKItem) SetContent

func (s *AppSkillsOKItem) SetContent(val string)

SetContent sets the value of Content.

func (*AppSkillsOKItem) SetDescription

func (s *AppSkillsOKItem) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*AppSkillsOKItem) SetLocation

func (s *AppSkillsOKItem) SetLocation(val string)

SetLocation sets the value of Location.

func (*AppSkillsOKItem) SetName

func (s *AppSkillsOKItem) SetName(val string)

SetName sets the value of Name.

func (*AppSkillsOKItem) UnmarshalJSON

func (s *AppSkillsOKItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AppSkillsParams

type AppSkillsParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

AppSkillsParams is parameters of app.skills operation.

type AppSkillsRes

type AppSkillsRes interface {
	// contains filtered or unexported methods
}

type BadRequestError

type BadRequestError struct {
	Name BadRequestErrorName `json:"name"`
	Data BadRequestErrorData `json:"data"`
}

Ref: #/components/schemas/BadRequestError

func (*BadRequestError) Decode

func (s *BadRequestError) Decode(d *jx.Decoder) error

Decode decodes BadRequestError from json.

func (*BadRequestError) Encode

func (s *BadRequestError) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*BadRequestError) GetData

func (s *BadRequestError) GetData() BadRequestErrorData

GetData returns the value of Data.

func (*BadRequestError) GetName

func (s *BadRequestError) GetName() BadRequestErrorName

GetName returns the value of Name.

func (*BadRequestError) MarshalJSON

func (s *BadRequestError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*BadRequestError) SetData

func (s *BadRequestError) SetData(val BadRequestErrorData)

SetData sets the value of Data.

func (*BadRequestError) SetName

func (s *BadRequestError) SetName(val BadRequestErrorName)

SetName sets the value of Name.

func (*BadRequestError) UnmarshalJSON

func (s *BadRequestError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BadRequestError) Validate

func (s *BadRequestError) Validate() error

type BadRequestErrorData

type BadRequestErrorData struct {
	Message string                     `json:"message"`
	Kind    OptBadRequestErrorDataKind `json:"kind"`
}

func (*BadRequestErrorData) Decode

func (s *BadRequestErrorData) Decode(d *jx.Decoder) error

Decode decodes BadRequestErrorData from json.

func (*BadRequestErrorData) Encode

func (s *BadRequestErrorData) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*BadRequestErrorData) GetKind

GetKind returns the value of Kind.

func (*BadRequestErrorData) GetMessage

func (s *BadRequestErrorData) GetMessage() string

GetMessage returns the value of Message.

func (*BadRequestErrorData) MarshalJSON

func (s *BadRequestErrorData) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*BadRequestErrorData) SetKind

SetKind sets the value of Kind.

func (*BadRequestErrorData) SetMessage

func (s *BadRequestErrorData) SetMessage(val string)

SetMessage sets the value of Message.

func (*BadRequestErrorData) UnmarshalJSON

func (s *BadRequestErrorData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BadRequestErrorData) Validate

func (s *BadRequestErrorData) Validate() error

type BadRequestErrorDataKind

type BadRequestErrorDataKind string
const (
	BadRequestErrorDataKindParams  BadRequestErrorDataKind = "Params"
	BadRequestErrorDataKindHeaders BadRequestErrorDataKind = "Headers"
	BadRequestErrorDataKindQuery   BadRequestErrorDataKind = "Query"
	BadRequestErrorDataKindBody    BadRequestErrorDataKind = "Body"
	BadRequestErrorDataKindPayload BadRequestErrorDataKind = "Payload"
)

func (BadRequestErrorDataKind) AllValues

AllValues returns all BadRequestErrorDataKind values.

func (*BadRequestErrorDataKind) Decode

func (s *BadRequestErrorDataKind) Decode(d *jx.Decoder) error

Decode decodes BadRequestErrorDataKind from json.

func (BadRequestErrorDataKind) Encode

func (s BadRequestErrorDataKind) Encode(e *jx.Encoder)

Encode encodes BadRequestErrorDataKind as json.

func (BadRequestErrorDataKind) MarshalJSON

func (s BadRequestErrorDataKind) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (BadRequestErrorDataKind) MarshalText

func (s BadRequestErrorDataKind) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*BadRequestErrorDataKind) UnmarshalJSON

func (s *BadRequestErrorDataKind) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BadRequestErrorDataKind) UnmarshalText

func (s *BadRequestErrorDataKind) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (BadRequestErrorDataKind) Validate

func (s BadRequestErrorDataKind) Validate() error

type BadRequestErrorName

type BadRequestErrorName string
const (
	BadRequestErrorNameBadRequest BadRequestErrorName = "BadRequest"
)

func (BadRequestErrorName) AllValues

AllValues returns all BadRequestErrorName values.

func (*BadRequestErrorName) Decode

func (s *BadRequestErrorName) Decode(d *jx.Decoder) error

Decode decodes BadRequestErrorName from json.

func (BadRequestErrorName) Encode

func (s BadRequestErrorName) Encode(e *jx.Encoder)

Encode encodes BadRequestErrorName as json.

func (BadRequestErrorName) MarshalJSON

func (s BadRequestErrorName) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (BadRequestErrorName) MarshalText

func (s BadRequestErrorName) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*BadRequestErrorName) UnmarshalJSON

func (s *BadRequestErrorName) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*BadRequestErrorName) UnmarshalText

func (s *BadRequestErrorName) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (BadRequestErrorName) Validate

func (s BadRequestErrorName) Validate() error

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client implements OAS client.

func NewClient

func NewClient(serverURL string, opts ...ClientOption) (*Client, error)

NewClient initializes new Client defined by OAS.

func (*Client) AppAgents

func (c *Client) AppAgents(ctx context.Context, params AppAgentsParams, options ...RequestOption) (AppAgentsRes, error)

AppAgents invokes app.agents operation.

Get a list of all available AI agents in the OpenCode system.

GET /agent

func (*Client) AppSkills

func (c *Client) AppSkills(ctx context.Context, params AppSkillsParams, options ...RequestOption) (AppSkillsRes, error)

AppSkills invokes app.skills operation.

Get a list of all available skills in the OpenCode system.

GET /skill

func (*Client) CommandList

func (c *Client) CommandList(ctx context.Context, params CommandListParams, options ...RequestOption) (CommandListRes, error)

CommandList invokes command.list operation.

Get a list of all available commands in the OpenCode system.

GET /command

func (*Client) ConfigProviders

func (c *Client) ConfigProviders(ctx context.Context, params ConfigProvidersParams, options ...RequestOption) (ConfigProvidersRes, error)

ConfigProviders invokes config.providers operation.

Get a list of all configured AI providers and their default models.

GET /config/providers

func (*Client) ExperimentalCapabilitiesGet

func (c *Client) ExperimentalCapabilitiesGet(ctx context.Context, params ExperimentalCapabilitiesGetParams, options ...RequestOption) (ExperimentalCapabilitiesGetRes, error)

ExperimentalCapabilitiesGet invokes experimental.capabilities.get operation.

Get experimental features enabled on the OpenCode server.

GET /experimental/capabilities

func (*Client) ExperimentalConsoleGet

func (c *Client) ExperimentalConsoleGet(ctx context.Context, params ExperimentalConsoleGetParams, options ...RequestOption) (ExperimentalConsoleGetRes, error)

ExperimentalConsoleGet invokes experimental.console.get operation.

Get the active Console org name and the set of provider IDs managed by that Console org.

GET /experimental/console

func (*Client) ExperimentalConsoleListOrgs

func (c *Client) ExperimentalConsoleListOrgs(ctx context.Context, params ExperimentalConsoleListOrgsParams, options ...RequestOption) (ExperimentalConsoleListOrgsRes, error)

ExperimentalConsoleListOrgs invokes experimental.console.listOrgs operation.

Get the available Console orgs across logged-in accounts, including the current active org.

GET /experimental/console/orgs

func (*Client) ExperimentalConsoleSwitchOrg

func (c *Client) ExperimentalConsoleSwitchOrg(ctx context.Context, request OptExperimentalConsoleSwitchOrgReq, params ExperimentalConsoleSwitchOrgParams, options ...RequestOption) (bool, error)

ExperimentalConsoleSwitchOrg invokes experimental.console.switchOrg operation.

Persist a new active Console account/org selection for the current local OpenCode state.

POST /experimental/console/switch

func (*Client) ExperimentalProjectCopyGenerateName

ExperimentalProjectCopyGenerateName invokes experimental.projectCopy.generateName operation.

Generate a short name for a project copy from task context.

POST /experimental/project/{projectID}/copy/generate-name

func (*Client) ExperimentalResourceList

func (c *Client) ExperimentalResourceList(ctx context.Context, params ExperimentalResourceListParams, options ...RequestOption) (ExperimentalResourceListRes, error)

ExperimentalResourceList invokes experimental.resource.list operation.

Get all available MCP resources from connected servers. Optionally filter by name.

GET /experimental/resource

func (*Client) ExperimentalSessionList

func (c *Client) ExperimentalSessionList(ctx context.Context, params ExperimentalSessionListParams, options ...RequestOption) (ExperimentalSessionListRes, error)

ExperimentalSessionList invokes experimental.session.list operation.

Get a list of all OpenCode sessions across projects, sorted by most recently updated. Archived sessions are excluded by default.

GET /experimental/session

func (*Client) ExperimentalWorkspaceAdapterList

func (c *Client) ExperimentalWorkspaceAdapterList(ctx context.Context, params ExperimentalWorkspaceAdapterListParams, options ...RequestOption) (ExperimentalWorkspaceAdapterListRes, error)

ExperimentalWorkspaceAdapterList invokes experimental.workspace.adapter.list operation.

List all available workspace adapters for the current project.

GET /experimental/workspace/adapter

func (*Client) ExperimentalWorkspaceStatus

func (c *Client) ExperimentalWorkspaceStatus(ctx context.Context, params ExperimentalWorkspaceStatusParams, options ...RequestOption) (ExperimentalWorkspaceStatusRes, error)

ExperimentalWorkspaceStatus invokes experimental.workspace.status operation.

Get connection status for workspaces in the current project.

GET /experimental/workspace/status

func (*Client) ExperimentalWorkspaceSyncList

func (c *Client) ExperimentalWorkspaceSyncList(ctx context.Context, params ExperimentalWorkspaceSyncListParams, options ...RequestOption) (ExperimentalWorkspaceSyncListRes, error)

ExperimentalWorkspaceSyncList invokes experimental.workspace.syncList operation.

Register missing workspaces returned by workspace adapters.

POST /experimental/workspace/sync-list

func (*Client) FileList

func (c *Client) FileList(ctx context.Context, params FileListParams, options ...RequestOption) (FileListRes, error)

FileList invokes file.list operation.

List files and directories in a specified path.

GET /file

func (*Client) FileRead

func (c *Client) FileRead(ctx context.Context, params FileReadParams, options ...RequestOption) (FileReadRes, error)

FileRead invokes file.read operation.

Read the content of a specified file.

GET /file/content

func (*Client) FileStatus

func (c *Client) FileStatus(ctx context.Context, params FileStatusParams, options ...RequestOption) (FileStatusRes, error)

FileStatus invokes file.status operation.

Get the git status of all files in the project.

GET /file/status

func (*Client) FindFiles

func (c *Client) FindFiles(ctx context.Context, params FindFilesParams, options ...RequestOption) (FindFilesRes, error)

FindFiles invokes find.files operation.

Search for files or directories by name or pattern in the project directory.

GET /find/file

func (*Client) FindSymbols

func (c *Client) FindSymbols(ctx context.Context, params FindSymbolsParams, options ...RequestOption) (FindSymbolsRes, error)

FindSymbols invokes find.symbols operation.

Search for workspace symbols like functions, classes, and variables using LSP.

GET /find/symbol

func (*Client) FindText

func (c *Client) FindText(ctx context.Context, params FindTextParams, options ...RequestOption) (FindTextRes, error)

FindText invokes find.text operation.

Search for text patterns across files in the project using ripgrep.

GET /find

func (*Client) FormatterStatus

func (c *Client) FormatterStatus(ctx context.Context, params FormatterStatusParams, options ...RequestOption) (FormatterStatusRes, error)

FormatterStatus invokes formatter.status operation.

Get formatter status.

GET /formatter

func (*Client) GlobalDispose

func (c *Client) GlobalDispose(ctx context.Context, options ...RequestOption) (GlobalDisposeRes, error)

GlobalDispose invokes global.dispose operation.

Clean up and dispose all OpenCode instances, releasing all resources.

POST /global/dispose

func (*Client) GlobalHealth

func (c *Client) GlobalHealth(ctx context.Context, options ...RequestOption) (GlobalHealthRes, error)

GlobalHealth invokes global.health operation.

Get health information about the OpenCode server.

GET /global/health

func (*Client) InstanceDispose

func (c *Client) InstanceDispose(ctx context.Context, params InstanceDisposeParams, options ...RequestOption) (InstanceDisposeRes, error)

InstanceDispose invokes instance.dispose operation.

Clean up and dispose the current OpenCode instance, releasing all resources.

POST /instance/dispose

func (*Client) LspStatus

func (c *Client) LspStatus(ctx context.Context, params LspStatusParams, options ...RequestOption) (LspStatusRes, error)

LspStatus invokes lsp.status operation.

Get LSP server status.

GET /lsp

func (*Client) McpAuthRemove

func (c *Client) McpAuthRemove(ctx context.Context, params McpAuthRemoveParams, options ...RequestOption) (McpAuthRemoveRes, error)

McpAuthRemove invokes mcp.auth.remove operation.

Remove OAuth credentials for an MCP server.

DELETE /mcp/{name}/auth

func (*Client) McpConnect

func (c *Client) McpConnect(ctx context.Context, params McpConnectParams, options ...RequestOption) (McpConnectRes, error)

McpConnect invokes mcp.connect operation.

Connect an MCP server.

POST /mcp/{name}/connect

func (*Client) McpDisconnect

func (c *Client) McpDisconnect(ctx context.Context, params McpDisconnectParams, options ...RequestOption) (McpDisconnectRes, error)

McpDisconnect invokes mcp.disconnect operation.

Disconnect an MCP server.

POST /mcp/{name}/disconnect

func (*Client) PathGet

func (c *Client) PathGet(ctx context.Context, params PathGetParams, options ...RequestOption) (PathGetRes, error)

PathGet invokes path.get operation.

Retrieve the current working directory and related path information for the OpenCode instance.

GET /path

func (*Client) PermissionList

func (c *Client) PermissionList(ctx context.Context, params PermissionListParams, options ...RequestOption) (PermissionListRes, error)

PermissionList invokes permission.list operation.

Get all pending permission requests across all sessions.

GET /permission

func (*Client) ProjectCurrent

func (c *Client) ProjectCurrent(ctx context.Context, params ProjectCurrentParams, options ...RequestOption) (ProjectCurrentRes, error)

ProjectCurrent invokes project.current operation.

Retrieve the currently active project that OpenCode is working with.

GET /project/current

func (*Client) ProjectDirectories

func (c *Client) ProjectDirectories(ctx context.Context, params ProjectDirectoriesParams, options ...RequestOption) (ProjectDirectoriesRes, error)

ProjectDirectories invokes project.directories operation.

List known local absolute directories for a project.

GET /project/{projectID}/directories

func (*Client) ProjectInitGit

func (c *Client) ProjectInitGit(ctx context.Context, params ProjectInitGitParams, options ...RequestOption) (ProjectInitGitRes, error)

ProjectInitGit invokes project.initGit operation.

Create a git repository for the current project and return the refreshed project info.

POST /project/git/init

func (*Client) ProjectList

func (c *Client) ProjectList(ctx context.Context, params ProjectListParams, options ...RequestOption) (ProjectListRes, error)

ProjectList invokes project.list operation.

Get a list of projects that have been opened with OpenCode.

GET /project

func (*Client) ProviderList

func (c *Client) ProviderList(ctx context.Context, params ProviderListParams, options ...RequestOption) (ProviderListRes, error)

ProviderList invokes provider.list operation.

Get a list of all available AI providers, including both available and connected ones.

GET /provider

func (*Client) PtyConnect

func (c *Client) PtyConnect(ctx context.Context, params PtyConnectParams, options ...RequestOption) (PtyConnectRes, error)

PtyConnect invokes pty.connect operation.

Establish a WebSocket connection to interact with a pseudo-terminal (PTY) session in real-time.

GET /pty/{ptyID}/connect

func (*Client) PtyConnectToken

func (c *Client) PtyConnectToken(ctx context.Context, params PtyConnectTokenParams, options ...RequestOption) (PtyConnectTokenRes, error)

PtyConnectToken invokes pty.connectToken operation.

Create a short-lived ticket for opening a PTY WebSocket connection.

POST /pty/{ptyID}/connect-token

func (*Client) PtyGet

func (c *Client) PtyGet(ctx context.Context, params PtyGetParams, options ...RequestOption) (PtyGetRes, error)

PtyGet invokes pty.get operation.

Retrieve detailed information about a specific pseudo-terminal (PTY) session.

GET /pty/{ptyID}

func (*Client) PtyList

func (c *Client) PtyList(ctx context.Context, params PtyListParams, options ...RequestOption) (PtyListRes, error)

PtyList invokes pty.list operation.

Get a list of all active pseudo-terminal (PTY) sessions managed by OpenCode.

GET /pty

func (*Client) PtyRemove

func (c *Client) PtyRemove(ctx context.Context, params PtyRemoveParams, options ...RequestOption) (PtyRemoveRes, error)

PtyRemove invokes pty.remove operation.

Remove and terminate a specific pseudo-terminal (PTY) session.

DELETE /pty/{ptyID}

func (*Client) PtyShells

func (c *Client) PtyShells(ctx context.Context, params PtyShellsParams, options ...RequestOption) (PtyShellsRes, error)

PtyShells invokes pty.shells operation.

Get a list of available shells on the system.

GET /pty/shells

func (*Client) QuestionList

func (c *Client) QuestionList(ctx context.Context, params QuestionListParams, options ...RequestOption) (QuestionListRes, error)

QuestionList invokes question.list operation.

Get all pending question requests across all sessions.

GET /question

func (*Client) SessionDiff

func (c *Client) SessionDiff(ctx context.Context, params SessionDiffParams, options ...RequestOption) (SessionDiffRes, error)

SessionDiff invokes session.diff operation.

Get the file changes (diff) that resulted from a specific user message in the session.

GET /session/{sessionID}/diff

func (*Client) SessionList

func (c *Client) SessionList(ctx context.Context, params SessionListParams, options ...RequestOption) (SessionListRes, error)

SessionList invokes session.list operation.

Get a list of all OpenCode sessions, sorted by most recently updated.

GET /session

func (*Client) SessionShare

func (c *Client) SessionShare(ctx context.Context, params SessionShareParams, options ...RequestOption) (SessionShareRes, error)

SessionShare invokes session.share operation.

Create a shareable link for a session, allowing others to view the conversation.

POST /session/{sessionID}/share

func (*Client) SessionUnshare

func (c *Client) SessionUnshare(ctx context.Context, params SessionUnshareParams, options ...RequestOption) (SessionUnshareRes, error)

SessionUnshare invokes session.unshare operation.

Remove the shareable link for a session, making it private again.

DELETE /session/{sessionID}/share

func (*Client) SyncStart

func (c *Client) SyncStart(ctx context.Context, params SyncStartParams, options ...RequestOption) (SyncStartRes, error)

SyncStart invokes sync.start operation.

Start sync loops for workspaces in the current project that have active sessions.

POST /sync/start

func (*Client) TuiClearPrompt

func (c *Client) TuiClearPrompt(ctx context.Context, params TuiClearPromptParams, options ...RequestOption) (TuiClearPromptRes, error)

TuiClearPrompt invokes tui.clearPrompt operation.

Clear the prompt.

POST /tui/clear-prompt

func (*Client) TuiControlNext

func (c *Client) TuiControlNext(ctx context.Context, params TuiControlNextParams, options ...RequestOption) (TuiControlNextRes, error)

TuiControlNext invokes tui.control.next operation.

Retrieve the next TUI request from the queue for processing.

GET /tui/control/next

func (*Client) TuiControlResponse

func (c *Client) TuiControlResponse(ctx context.Context, request jx.Raw, params TuiControlResponseParams, options ...RequestOption) (TuiControlResponseRes, error)

TuiControlResponse invokes tui.control.response operation.

Submit a response to the TUI request queue to complete a pending request.

POST /tui/control/response

func (*Client) TuiOpenHelp

func (c *Client) TuiOpenHelp(ctx context.Context, params TuiOpenHelpParams, options ...RequestOption) (TuiOpenHelpRes, error)

TuiOpenHelp invokes tui.openHelp operation.

Open the help dialog in the TUI to display user assistance information.

POST /tui/open-help

func (*Client) TuiOpenModels

func (c *Client) TuiOpenModels(ctx context.Context, params TuiOpenModelsParams, options ...RequestOption) (TuiOpenModelsRes, error)

TuiOpenModels invokes tui.openModels operation.

Open the model dialog.

POST /tui/open-models

func (*Client) TuiOpenSessions

func (c *Client) TuiOpenSessions(ctx context.Context, params TuiOpenSessionsParams, options ...RequestOption) (TuiOpenSessionsRes, error)

TuiOpenSessions invokes tui.openSessions operation.

Open the session dialog.

POST /tui/open-sessions

func (*Client) TuiOpenThemes

func (c *Client) TuiOpenThemes(ctx context.Context, params TuiOpenThemesParams, options ...RequestOption) (TuiOpenThemesRes, error)

TuiOpenThemes invokes tui.openThemes operation.

Open the theme dialog.

POST /tui/open-themes

func (*Client) TuiShowToast

func (c *Client) TuiShowToast(ctx context.Context, request OptTuiShowToastReq, params TuiShowToastParams, options ...RequestOption) (TuiShowToastRes, error)

TuiShowToast invokes tui.showToast operation.

Show a toast notification in the TUI.

POST /tui/show-toast

func (*Client) TuiSubmitPrompt

func (c *Client) TuiSubmitPrompt(ctx context.Context, params TuiSubmitPromptParams, options ...RequestOption) (TuiSubmitPromptRes, error)

TuiSubmitPrompt invokes tui.submitPrompt operation.

Submit the prompt.

POST /tui/submit-prompt

func (*Client) V2CommandList

func (c *Client) V2CommandList(ctx context.Context, params V2CommandListParams, options ...RequestOption) (V2CommandListRes, error)

V2CommandList invokes v2.command.list operation.

Retrieve currently registered commands.

GET /api/command

func (*Client) V2CredentialRemove

func (c *Client) V2CredentialRemove(ctx context.Context, params V2CredentialRemoveParams, options ...RequestOption) (V2CredentialRemoveRes, error)

V2CredentialRemove invokes v2.credential.remove operation.

Remove a stored integration credential.

DELETE /api/credential/{credentialID}

func (*Client) V2CredentialUpdate

func (c *Client) V2CredentialUpdate(ctx context.Context, request *V2CredentialUpdateReq, params V2CredentialUpdateParams, options ...RequestOption) (V2CredentialUpdateRes, error)

V2CredentialUpdate invokes v2.credential.update operation.

Update a stored credential label.

PATCH /api/credential/{credentialID}

func (*Client) V2FsFind

func (c *Client) V2FsFind(ctx context.Context, params V2FsFindParams, options ...RequestOption) (V2FsFindRes, error)

V2FsFind invokes v2.fs.find operation.

Find recursively ranked filesystem entries relative to the requested location.

GET /api/fs/find

func (*Client) V2FsList

func (c *Client) V2FsList(ctx context.Context, params V2FsListParams, options ...RequestOption) (V2FsListRes, error)

V2FsList invokes v2.fs.list operation.

List direct children of one directory relative to the requested location.

GET /api/fs/list

func (*Client) V2FsRead

func (c *Client) V2FsRead(ctx context.Context, params V2FsReadParams, options ...RequestOption) (V2FsReadRes, error)

V2FsRead invokes v2.fs.read operation.

Serve one file relative to the requested location.

GET /api/fs/read/*

func (*Client) V2HealthGet

func (c *Client) V2HealthGet(ctx context.Context, options ...RequestOption) (V2HealthGetRes, error)

V2HealthGet invokes v2.health.get operation.

Check whether the API server is ready to accept requests.

GET /api/health

func (*Client) V2IntegrationAttemptCancel

func (c *Client) V2IntegrationAttemptCancel(ctx context.Context, params V2IntegrationAttemptCancelParams, options ...RequestOption) (V2IntegrationAttemptCancelRes, error)

V2IntegrationAttemptCancel invokes v2.integration.attempt.cancel operation.

Cancel an OAuth attempt and release its resources.

DELETE /api/integration/attempt/{attemptID}

func (*Client) V2LocationGet

func (c *Client) V2LocationGet(ctx context.Context, params V2LocationGetParams, options ...RequestOption) (V2LocationGetRes, error)

V2LocationGet invokes v2.location.get operation.

Resolve the requested location or the server default location.

GET /api/location

func (*Client) V2PermissionRequestList

func (c *Client) V2PermissionRequestList(ctx context.Context, params V2PermissionRequestListParams, options ...RequestOption) (V2PermissionRequestListRes, error)

V2PermissionRequestList invokes v2.permission.request.list operation.

Retrieve pending permission requests for a location.

GET /api/permission/request

func (*Client) V2PermissionSavedList

func (c *Client) V2PermissionSavedList(ctx context.Context, params V2PermissionSavedListParams, options ...RequestOption) (V2PermissionSavedListRes, error)

V2PermissionSavedList invokes v2.permission.saved.list operation.

Retrieve saved permissions, optionally filtered by project.

GET /api/permission/saved

func (*Client) V2PermissionSavedRemove

func (c *Client) V2PermissionSavedRemove(ctx context.Context, params V2PermissionSavedRemoveParams, options ...RequestOption) (V2PermissionSavedRemoveRes, error)

V2PermissionSavedRemove invokes v2.permission.saved.remove operation.

Remove a saved permission by ID.

DELETE /api/permission/saved/{id}

func (*Client) V2PtyConnect

func (c *Client) V2PtyConnect(ctx context.Context, params V2PtyConnectParams, options ...RequestOption) (V2PtyConnectRes, error)

V2PtyConnect invokes v2.pty.connect operation.

Establish a WebSocket connection streaming PTY output and accepting terminal input.

GET /api/pty/{ptyID}/connect

func (*Client) V2PtyConnectToken

func (c *Client) V2PtyConnectToken(ctx context.Context, params V2PtyConnectTokenParams, options ...RequestOption) (V2PtyConnectTokenRes, error)

V2PtyConnectToken invokes v2.pty.connectToken operation.

Create a short-lived single-use ticket for opening a PTY WebSocket connection.

POST /api/pty/{ptyID}/connect-token

func (*Client) V2PtyCreate

func (c *Client) V2PtyCreate(ctx context.Context, request *V2PtyCreateReq, params V2PtyCreateParams, options ...RequestOption) (V2PtyCreateRes, error)

V2PtyCreate invokes v2.pty.create operation.

Create a pseudo-terminal session for a location.

POST /api/pty

func (*Client) V2PtyGet

func (c *Client) V2PtyGet(ctx context.Context, params V2PtyGetParams, options ...RequestOption) (V2PtyGetRes, error)

V2PtyGet invokes v2.pty.get operation.

Get one PTY session, including its exit code once exited.

GET /api/pty/{ptyID}

func (*Client) V2PtyList

func (c *Client) V2PtyList(ctx context.Context, params V2PtyListParams, options ...RequestOption) (V2PtyListRes, error)

V2PtyList invokes v2.pty.list operation.

List PTY sessions for a location, including exited sessions retained until removal.

GET /api/pty

func (*Client) V2PtyRemove

func (c *Client) V2PtyRemove(ctx context.Context, params V2PtyRemoveParams, options ...RequestOption) (V2PtyRemoveRes, error)

V2PtyRemove invokes v2.pty.remove operation.

Terminate and remove one PTY session.

DELETE /api/pty/{ptyID}

func (*Client) V2PtyUpdate

func (c *Client) V2PtyUpdate(ctx context.Context, request *V2PtyUpdateReq, params V2PtyUpdateParams, options ...RequestOption) (V2PtyUpdateRes, error)

V2PtyUpdate invokes v2.pty.update operation.

Update the title or viewport size of one PTY session.

PUT /api/pty/{ptyID}

func (*Client) V2QuestionRequestList

func (c *Client) V2QuestionRequestList(ctx context.Context, params V2QuestionRequestListParams, options ...RequestOption) (V2QuestionRequestListRes, error)

V2QuestionRequestList invokes v2.question.request.list operation.

Retrieve pending question requests for a location.

GET /api/question/request

func (*Client) V2SessionActive

func (c *Client) V2SessionActive(ctx context.Context, options ...RequestOption) (V2SessionActiveRes, error)

V2SessionActive invokes v2.session.active operation.

Retrieve foreground Session drains currently owned by this OpenCode process. Sessions absent from the result are inactive.

GET /api/session/active

func (*Client) V2SessionCreate

func (c *Client) V2SessionCreate(ctx context.Context, request *V2SessionCreateReq, options ...RequestOption) (V2SessionCreateRes, error)

V2SessionCreate invokes v2.session.create operation.

Create a session at the requested location.

POST /api/session

func (*Client) V2SkillList

func (c *Client) V2SkillList(ctx context.Context, params V2SkillListParams, options ...RequestOption) (V2SkillListRes, error)

V2SkillList invokes v2.skill.list operation.

Retrieve currently registered skills.

GET /api/skill

func (*Client) VcsDiff

func (c *Client) VcsDiff(ctx context.Context, params VcsDiffParams, options ...RequestOption) (VcsDiffRes, error)

VcsDiff invokes vcs.diff operation.

Retrieve the current git diff for the working tree or against the default branch.

GET /vcs/diff

func (*Client) VcsDiffRaw

func (c *Client) VcsDiffRaw(ctx context.Context, params VcsDiffRawParams, options ...RequestOption) (VcsDiffRawRes, error)

VcsDiffRaw invokes vcs.diff.raw operation.

Retrieve a raw patch for current uncommitted changes.

GET /vcs/diff/raw

func (*Client) VcsGet

func (c *Client) VcsGet(ctx context.Context, params VcsGetParams, options ...RequestOption) (VcsGetRes, error)

VcsGet invokes vcs.get operation.

Retrieve version control system (VCS) information for the current project, such as git branch.

GET /vcs

func (*Client) VcsStatus

func (c *Client) VcsStatus(ctx context.Context, params VcsStatusParams, options ...RequestOption) (VcsStatusRes, error)

VcsStatus invokes vcs.status operation.

Retrieve changed files in the current working tree without patches.

GET /vcs/status

type ClientOption

type ClientOption interface {
	// contains filtered or unexported methods
}

ClientOption is client config option.

func WithClient

func WithClient(client ht.Client) ClientOption

WithClient specifies http client to use.

func WithRequestEditor

func WithRequestEditor(fn RequestEditor) ClientOption

WithRequestEditor allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

func WithResponseEditor

func WithResponseEditor(fn ResponseEditor) ClientOption

WithResponseEditor allows setting up a callback function, which will be called right after receiving the response. This can be used to mutate the response.

type Command

type Command struct {
	Name        string           `json:"name"`
	Description OptString        `json:"description"`
	Agent       OptString        `json:"agent"`
	Model       OptString        `json:"model"`
	Source      OptCommandSource `json:"source"`
	Template    string           `json:"template"`
	Subtask     OptBool          `json:"subtask"`
	Hints       []string         `json:"hints"`
}

Ref: #/components/schemas/Command

func (*Command) Decode

func (s *Command) Decode(d *jx.Decoder) error

Decode decodes Command from json.

func (*Command) Encode

func (s *Command) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Command) GetAgent

func (s *Command) GetAgent() OptString

GetAgent returns the value of Agent.

func (*Command) GetDescription

func (s *Command) GetDescription() OptString

GetDescription returns the value of Description.

func (*Command) GetHints

func (s *Command) GetHints() []string

GetHints returns the value of Hints.

func (*Command) GetModel

func (s *Command) GetModel() OptString

GetModel returns the value of Model.

func (*Command) GetName

func (s *Command) GetName() string

GetName returns the value of Name.

func (*Command) GetSource

func (s *Command) GetSource() OptCommandSource

GetSource returns the value of Source.

func (*Command) GetSubtask

func (s *Command) GetSubtask() OptBool

GetSubtask returns the value of Subtask.

func (*Command) GetTemplate

func (s *Command) GetTemplate() string

GetTemplate returns the value of Template.

func (*Command) MarshalJSON

func (s *Command) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Command) SetAgent

func (s *Command) SetAgent(val OptString)

SetAgent sets the value of Agent.

func (*Command) SetDescription

func (s *Command) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*Command) SetHints

func (s *Command) SetHints(val []string)

SetHints sets the value of Hints.

func (*Command) SetModel

func (s *Command) SetModel(val OptString)

SetModel sets the value of Model.

func (*Command) SetName

func (s *Command) SetName(val string)

SetName sets the value of Name.

func (*Command) SetSource

func (s *Command) SetSource(val OptCommandSource)

SetSource sets the value of Source.

func (*Command) SetSubtask

func (s *Command) SetSubtask(val OptBool)

SetSubtask sets the value of Subtask.

func (*Command) SetTemplate

func (s *Command) SetTemplate(val string)

SetTemplate sets the value of Template.

func (*Command) UnmarshalJSON

func (s *Command) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Command) Validate

func (s *Command) Validate() error

type CommandListOKApplicationJSON

type CommandListOKApplicationJSON []Command

func (*CommandListOKApplicationJSON) Decode

Decode decodes CommandListOKApplicationJSON from json.

func (CommandListOKApplicationJSON) Encode

Encode encodes CommandListOKApplicationJSON as json.

func (CommandListOKApplicationJSON) MarshalJSON

func (s CommandListOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CommandListOKApplicationJSON) UnmarshalJSON

func (s *CommandListOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (CommandListOKApplicationJSON) Validate

func (s CommandListOKApplicationJSON) Validate() error

type CommandListParams

type CommandListParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

CommandListParams is parameters of command.list operation.

type CommandListRes

type CommandListRes interface {
	// contains filtered or unexported methods
}

type CommandSource

type CommandSource string
const (
	CommandSourceCommand CommandSource = "command"
	CommandSourceMcp     CommandSource = "mcp"
	CommandSourceSkill   CommandSource = "skill"
)

func (CommandSource) AllValues

func (CommandSource) AllValues() []CommandSource

AllValues returns all CommandSource values.

func (*CommandSource) Decode

func (s *CommandSource) Decode(d *jx.Decoder) error

Decode decodes CommandSource from json.

func (CommandSource) Encode

func (s CommandSource) Encode(e *jx.Encoder)

Encode encodes CommandSource as json.

func (CommandSource) MarshalJSON

func (s CommandSource) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (CommandSource) MarshalText

func (s CommandSource) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*CommandSource) UnmarshalJSON

func (s *CommandSource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CommandSource) UnmarshalText

func (s *CommandSource) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (CommandSource) Validate

func (s CommandSource) Validate() error

type CommandV2Info

type CommandV2Info struct {
	Name        string      `json:"name"`
	Template    string      `json:"template"`
	Description OptString   `json:"description"`
	Agent       OptString   `json:"agent"`
	Model       OptModelRef `json:"model"`
	Subtask     OptBool     `json:"subtask"`
}

Ref: #/components/schemas/CommandV2Info

func (*CommandV2Info) Decode

func (s *CommandV2Info) Decode(d *jx.Decoder) error

Decode decodes CommandV2Info from json.

func (*CommandV2Info) Encode

func (s *CommandV2Info) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CommandV2Info) GetAgent

func (s *CommandV2Info) GetAgent() OptString

GetAgent returns the value of Agent.

func (*CommandV2Info) GetDescription

func (s *CommandV2Info) GetDescription() OptString

GetDescription returns the value of Description.

func (*CommandV2Info) GetModel

func (s *CommandV2Info) GetModel() OptModelRef

GetModel returns the value of Model.

func (*CommandV2Info) GetName

func (s *CommandV2Info) GetName() string

GetName returns the value of Name.

func (*CommandV2Info) GetSubtask

func (s *CommandV2Info) GetSubtask() OptBool

GetSubtask returns the value of Subtask.

func (*CommandV2Info) GetTemplate

func (s *CommandV2Info) GetTemplate() string

GetTemplate returns the value of Template.

func (*CommandV2Info) MarshalJSON

func (s *CommandV2Info) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CommandV2Info) SetAgent

func (s *CommandV2Info) SetAgent(val OptString)

SetAgent sets the value of Agent.

func (*CommandV2Info) SetDescription

func (s *CommandV2Info) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*CommandV2Info) SetModel

func (s *CommandV2Info) SetModel(val OptModelRef)

SetModel sets the value of Model.

func (*CommandV2Info) SetName

func (s *CommandV2Info) SetName(val string)

SetName sets the value of Name.

func (*CommandV2Info) SetSubtask

func (s *CommandV2Info) SetSubtask(val OptBool)

SetSubtask sets the value of Subtask.

func (*CommandV2Info) SetTemplate

func (s *CommandV2Info) SetTemplate(val string)

SetTemplate sets the value of Template.

func (*CommandV2Info) UnmarshalJSON

func (s *CommandV2Info) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigProvidersOK

type ConfigProvidersOK struct {
	Providers []Provider               `json:"providers"`
	Default   ConfigProvidersOKDefault `json:"default"`
}

List of providers.

func (*ConfigProvidersOK) Decode

func (s *ConfigProvidersOK) Decode(d *jx.Decoder) error

Decode decodes ConfigProvidersOK from json.

func (*ConfigProvidersOK) Encode

func (s *ConfigProvidersOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ConfigProvidersOK) GetDefault

GetDefault returns the value of Default.

func (*ConfigProvidersOK) GetProviders

func (s *ConfigProvidersOK) GetProviders() []Provider

GetProviders returns the value of Providers.

func (*ConfigProvidersOK) MarshalJSON

func (s *ConfigProvidersOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigProvidersOK) SetDefault

func (s *ConfigProvidersOK) SetDefault(val ConfigProvidersOKDefault)

SetDefault sets the value of Default.

func (*ConfigProvidersOK) SetProviders

func (s *ConfigProvidersOK) SetProviders(val []Provider)

SetProviders sets the value of Providers.

func (*ConfigProvidersOK) UnmarshalJSON

func (s *ConfigProvidersOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConfigProvidersOK) Validate

func (s *ConfigProvidersOK) Validate() error

type ConfigProvidersOKDefault

type ConfigProvidersOKDefault map[string]string

func (*ConfigProvidersOKDefault) Decode

func (s *ConfigProvidersOKDefault) Decode(d *jx.Decoder) error

Decode decodes ConfigProvidersOKDefault from json.

func (ConfigProvidersOKDefault) Encode

func (s ConfigProvidersOKDefault) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (ConfigProvidersOKDefault) MarshalJSON

func (s ConfigProvidersOKDefault) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigProvidersOKDefault) UnmarshalJSON

func (s *ConfigProvidersOKDefault) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigProvidersParams

type ConfigProvidersParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

ConfigProvidersParams is parameters of config.providers operation.

type ConfigProvidersRes

type ConfigProvidersRes interface {
	// contains filtered or unexported methods
}

type ConsoleState

type ConsoleState struct {
	ConsoleManagedProviders []string  `json:"consoleManagedProviders"`
	ActiveOrgName           OptString `json:"activeOrgName"`
	SwitchableOrgCount      int       `json:"switchableOrgCount"`
}

Ref: #/components/schemas/ConsoleState

func (*ConsoleState) Decode

func (s *ConsoleState) Decode(d *jx.Decoder) error

Decode decodes ConsoleState from json.

func (*ConsoleState) Encode

func (s *ConsoleState) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ConsoleState) GetActiveOrgName

func (s *ConsoleState) GetActiveOrgName() OptString

GetActiveOrgName returns the value of ActiveOrgName.

func (*ConsoleState) GetConsoleManagedProviders

func (s *ConsoleState) GetConsoleManagedProviders() []string

GetConsoleManagedProviders returns the value of ConsoleManagedProviders.

func (*ConsoleState) GetSwitchableOrgCount

func (s *ConsoleState) GetSwitchableOrgCount() int

GetSwitchableOrgCount returns the value of SwitchableOrgCount.

func (*ConsoleState) MarshalJSON

func (s *ConsoleState) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConsoleState) SetActiveOrgName

func (s *ConsoleState) SetActiveOrgName(val OptString)

SetActiveOrgName sets the value of ActiveOrgName.

func (*ConsoleState) SetConsoleManagedProviders

func (s *ConsoleState) SetConsoleManagedProviders(val []string)

SetConsoleManagedProviders sets the value of ConsoleManagedProviders.

func (*ConsoleState) SetSwitchableOrgCount

func (s *ConsoleState) SetSwitchableOrgCount(val int)

SetSwitchableOrgCount sets the value of SwitchableOrgCount.

func (*ConsoleState) UnmarshalJSON

func (s *ConsoleState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ConsoleState) Validate

func (s *ConsoleState) Validate() error

type EffectHttpApiErrorForbidden

type EffectHttpApiErrorForbidden struct {
	Tag EffectHttpApiErrorForbiddenTag `json:"_tag"`
}

Ref: #/components/schemas/effect_HttpApiError_Forbidden

func (*EffectHttpApiErrorForbidden) Decode

Decode decodes EffectHttpApiErrorForbidden from json.

func (*EffectHttpApiErrorForbidden) Encode

func (s *EffectHttpApiErrorForbidden) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EffectHttpApiErrorForbidden) GetTag

GetTag returns the value of Tag.

func (*EffectHttpApiErrorForbidden) MarshalJSON

func (s *EffectHttpApiErrorForbidden) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EffectHttpApiErrorForbidden) SetTag

SetTag sets the value of Tag.

func (*EffectHttpApiErrorForbidden) UnmarshalJSON

func (s *EffectHttpApiErrorForbidden) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EffectHttpApiErrorForbidden) Validate

func (s *EffectHttpApiErrorForbidden) Validate() error

type EffectHttpApiErrorForbiddenTag

type EffectHttpApiErrorForbiddenTag string
const (
	EffectHttpApiErrorForbiddenTagForbidden EffectHttpApiErrorForbiddenTag = "Forbidden"
)

func (EffectHttpApiErrorForbiddenTag) AllValues

AllValues returns all EffectHttpApiErrorForbiddenTag values.

func (*EffectHttpApiErrorForbiddenTag) Decode

Decode decodes EffectHttpApiErrorForbiddenTag from json.

func (EffectHttpApiErrorForbiddenTag) Encode

Encode encodes EffectHttpApiErrorForbiddenTag as json.

func (EffectHttpApiErrorForbiddenTag) MarshalJSON

func (s EffectHttpApiErrorForbiddenTag) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (EffectHttpApiErrorForbiddenTag) MarshalText

func (s EffectHttpApiErrorForbiddenTag) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*EffectHttpApiErrorForbiddenTag) UnmarshalJSON

func (s *EffectHttpApiErrorForbiddenTag) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EffectHttpApiErrorForbiddenTag) UnmarshalText

func (s *EffectHttpApiErrorForbiddenTag) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (EffectHttpApiErrorForbiddenTag) Validate

type EffectHttpApiErrorInternalServerError

type EffectHttpApiErrorInternalServerError struct {
	Tag EffectHttpApiErrorInternalServerErrorTag `json:"_tag"`
}

Ref: #/components/schemas/effect_HttpApiError_InternalServerError

func (*EffectHttpApiErrorInternalServerError) Decode

Decode decodes EffectHttpApiErrorInternalServerError from json.

func (*EffectHttpApiErrorInternalServerError) Encode

Encode implements json.Marshaler.

func (*EffectHttpApiErrorInternalServerError) GetTag

GetTag returns the value of Tag.

func (*EffectHttpApiErrorInternalServerError) MarshalJSON

func (s *EffectHttpApiErrorInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EffectHttpApiErrorInternalServerError) SetTag

SetTag sets the value of Tag.

func (*EffectHttpApiErrorInternalServerError) UnmarshalJSON

func (s *EffectHttpApiErrorInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EffectHttpApiErrorInternalServerError) Validate

type EffectHttpApiErrorInternalServerErrorTag

type EffectHttpApiErrorInternalServerErrorTag string
const (
	EffectHttpApiErrorInternalServerErrorTagInternalServerError EffectHttpApiErrorInternalServerErrorTag = "InternalServerError"
)

func (EffectHttpApiErrorInternalServerErrorTag) AllValues

AllValues returns all EffectHttpApiErrorInternalServerErrorTag values.

func (*EffectHttpApiErrorInternalServerErrorTag) Decode

Decode decodes EffectHttpApiErrorInternalServerErrorTag from json.

func (EffectHttpApiErrorInternalServerErrorTag) Encode

Encode encodes EffectHttpApiErrorInternalServerErrorTag as json.

func (EffectHttpApiErrorInternalServerErrorTag) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (EffectHttpApiErrorInternalServerErrorTag) MarshalText

MarshalText implements encoding.TextMarshaler.

func (*EffectHttpApiErrorInternalServerErrorTag) UnmarshalJSON

func (s *EffectHttpApiErrorInternalServerErrorTag) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EffectHttpApiErrorInternalServerErrorTag) UnmarshalText

func (s *EffectHttpApiErrorInternalServerErrorTag) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (EffectHttpApiErrorInternalServerErrorTag) Validate

type ExperimentalCapabilities

type ExperimentalCapabilities struct {
	BackgroundSubagents bool `json:"backgroundSubagents"`
}

Ref: #/components/schemas/ExperimentalCapabilities

func (*ExperimentalCapabilities) Decode

func (s *ExperimentalCapabilities) Decode(d *jx.Decoder) error

Decode decodes ExperimentalCapabilities from json.

func (*ExperimentalCapabilities) Encode

func (s *ExperimentalCapabilities) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ExperimentalCapabilities) GetBackgroundSubagents

func (s *ExperimentalCapabilities) GetBackgroundSubagents() bool

GetBackgroundSubagents returns the value of BackgroundSubagents.

func (*ExperimentalCapabilities) MarshalJSON

func (s *ExperimentalCapabilities) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ExperimentalCapabilities) SetBackgroundSubagents

func (s *ExperimentalCapabilities) SetBackgroundSubagents(val bool)

SetBackgroundSubagents sets the value of BackgroundSubagents.

func (*ExperimentalCapabilities) UnmarshalJSON

func (s *ExperimentalCapabilities) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ExperimentalCapabilitiesGetParams

type ExperimentalCapabilitiesGetParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

ExperimentalCapabilitiesGetParams is parameters of experimental.capabilities.get operation.

type ExperimentalCapabilitiesGetRes

type ExperimentalCapabilitiesGetRes interface {
	// contains filtered or unexported methods
}

type ExperimentalConsoleGetParams

type ExperimentalConsoleGetParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

ExperimentalConsoleGetParams is parameters of experimental.console.get operation.

type ExperimentalConsoleGetRes

type ExperimentalConsoleGetRes interface {
	// contains filtered or unexported methods
}

type ExperimentalConsoleListOrgsOK

type ExperimentalConsoleListOrgsOK struct {
	Orgs []ExperimentalConsoleListOrgsOKOrgsItem `json:"orgs"`
}

Switchable Console orgs.

func (*ExperimentalConsoleListOrgsOK) Decode

Decode decodes ExperimentalConsoleListOrgsOK from json.

func (*ExperimentalConsoleListOrgsOK) Encode

Encode implements json.Marshaler.

func (*ExperimentalConsoleListOrgsOK) GetOrgs

GetOrgs returns the value of Orgs.

func (*ExperimentalConsoleListOrgsOK) MarshalJSON

func (s *ExperimentalConsoleListOrgsOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ExperimentalConsoleListOrgsOK) SetOrgs

SetOrgs sets the value of Orgs.

func (*ExperimentalConsoleListOrgsOK) UnmarshalJSON

func (s *ExperimentalConsoleListOrgsOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ExperimentalConsoleListOrgsOK) Validate

func (s *ExperimentalConsoleListOrgsOK) Validate() error

type ExperimentalConsoleListOrgsOKOrgsItem

type ExperimentalConsoleListOrgsOKOrgsItem struct {
	AccountID    string `json:"accountID"`
	AccountEmail string `json:"accountEmail"`
	AccountUrl   string `json:"accountUrl"`
	OrgID        string `json:"orgID"`
	OrgName      string `json:"orgName"`
	Active       bool   `json:"active"`
}

func (*ExperimentalConsoleListOrgsOKOrgsItem) Decode

Decode decodes ExperimentalConsoleListOrgsOKOrgsItem from json.

func (*ExperimentalConsoleListOrgsOKOrgsItem) Encode

Encode implements json.Marshaler.

func (*ExperimentalConsoleListOrgsOKOrgsItem) GetAccountEmail

func (s *ExperimentalConsoleListOrgsOKOrgsItem) GetAccountEmail() string

GetAccountEmail returns the value of AccountEmail.

func (*ExperimentalConsoleListOrgsOKOrgsItem) GetAccountID

GetAccountID returns the value of AccountID.

func (*ExperimentalConsoleListOrgsOKOrgsItem) GetAccountUrl

func (s *ExperimentalConsoleListOrgsOKOrgsItem) GetAccountUrl() string

GetAccountUrl returns the value of AccountUrl.

func (*ExperimentalConsoleListOrgsOKOrgsItem) GetActive

GetActive returns the value of Active.

func (*ExperimentalConsoleListOrgsOKOrgsItem) GetOrgID

GetOrgID returns the value of OrgID.

func (*ExperimentalConsoleListOrgsOKOrgsItem) GetOrgName

GetOrgName returns the value of OrgName.

func (*ExperimentalConsoleListOrgsOKOrgsItem) MarshalJSON

func (s *ExperimentalConsoleListOrgsOKOrgsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ExperimentalConsoleListOrgsOKOrgsItem) SetAccountEmail

func (s *ExperimentalConsoleListOrgsOKOrgsItem) SetAccountEmail(val string)

SetAccountEmail sets the value of AccountEmail.

func (*ExperimentalConsoleListOrgsOKOrgsItem) SetAccountID

func (s *ExperimentalConsoleListOrgsOKOrgsItem) SetAccountID(val string)

SetAccountID sets the value of AccountID.

func (*ExperimentalConsoleListOrgsOKOrgsItem) SetAccountUrl

func (s *ExperimentalConsoleListOrgsOKOrgsItem) SetAccountUrl(val string)

SetAccountUrl sets the value of AccountUrl.

func (*ExperimentalConsoleListOrgsOKOrgsItem) SetActive

func (s *ExperimentalConsoleListOrgsOKOrgsItem) SetActive(val bool)

SetActive sets the value of Active.

func (*ExperimentalConsoleListOrgsOKOrgsItem) SetOrgID

SetOrgID sets the value of OrgID.

func (*ExperimentalConsoleListOrgsOKOrgsItem) SetOrgName

func (s *ExperimentalConsoleListOrgsOKOrgsItem) SetOrgName(val string)

SetOrgName sets the value of OrgName.

func (*ExperimentalConsoleListOrgsOKOrgsItem) UnmarshalJSON

func (s *ExperimentalConsoleListOrgsOKOrgsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ExperimentalConsoleListOrgsParams

type ExperimentalConsoleListOrgsParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

ExperimentalConsoleListOrgsParams is parameters of experimental.console.listOrgs operation.

type ExperimentalConsoleListOrgsRes

type ExperimentalConsoleListOrgsRes interface {
	// contains filtered or unexported methods
}

type ExperimentalConsoleSwitchOrgParams

type ExperimentalConsoleSwitchOrgParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

ExperimentalConsoleSwitchOrgParams is parameters of experimental.console.switchOrg operation.

type ExperimentalConsoleSwitchOrgReq

type ExperimentalConsoleSwitchOrgReq struct {
	AccountID string `json:"accountID"`
	OrgID     string `json:"orgID"`
}

func (*ExperimentalConsoleSwitchOrgReq) Decode

Decode decodes ExperimentalConsoleSwitchOrgReq from json.

func (*ExperimentalConsoleSwitchOrgReq) Encode

Encode implements json.Marshaler.

func (*ExperimentalConsoleSwitchOrgReq) GetAccountID

func (s *ExperimentalConsoleSwitchOrgReq) GetAccountID() string

GetAccountID returns the value of AccountID.

func (*ExperimentalConsoleSwitchOrgReq) GetOrgID

GetOrgID returns the value of OrgID.

func (*ExperimentalConsoleSwitchOrgReq) MarshalJSON

func (s *ExperimentalConsoleSwitchOrgReq) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ExperimentalConsoleSwitchOrgReq) SetAccountID

func (s *ExperimentalConsoleSwitchOrgReq) SetAccountID(val string)

SetAccountID sets the value of AccountID.

func (*ExperimentalConsoleSwitchOrgReq) SetOrgID

func (s *ExperimentalConsoleSwitchOrgReq) SetOrgID(val string)

SetOrgID sets the value of OrgID.

func (*ExperimentalConsoleSwitchOrgReq) UnmarshalJSON

func (s *ExperimentalConsoleSwitchOrgReq) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ExperimentalProjectCopyGenerateNameOK

type ExperimentalProjectCopyGenerateNameOK struct {
	Name string `json:"name"`
}

func (*ExperimentalProjectCopyGenerateNameOK) Decode

Decode decodes ExperimentalProjectCopyGenerateNameOK from json.

func (*ExperimentalProjectCopyGenerateNameOK) Encode

Encode implements json.Marshaler.

func (*ExperimentalProjectCopyGenerateNameOK) GetName

GetName returns the value of Name.

func (*ExperimentalProjectCopyGenerateNameOK) MarshalJSON

func (s *ExperimentalProjectCopyGenerateNameOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ExperimentalProjectCopyGenerateNameOK) SetName

SetName sets the value of Name.

func (*ExperimentalProjectCopyGenerateNameOK) UnmarshalJSON

func (s *ExperimentalProjectCopyGenerateNameOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ExperimentalProjectCopyGenerateNameParams

type ExperimentalProjectCopyGenerateNameParams struct {
	ProjectID string
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

ExperimentalProjectCopyGenerateNameParams is parameters of experimental.projectCopy.generateName operation.

type ExperimentalProjectCopyGenerateNameReq

type ExperimentalProjectCopyGenerateNameReq struct {
	Context OptString `json:"context"`
}

func (*ExperimentalProjectCopyGenerateNameReq) Decode

Decode decodes ExperimentalProjectCopyGenerateNameReq from json.

func (*ExperimentalProjectCopyGenerateNameReq) Encode

Encode implements json.Marshaler.

func (*ExperimentalProjectCopyGenerateNameReq) GetContext

GetContext returns the value of Context.

func (*ExperimentalProjectCopyGenerateNameReq) MarshalJSON

func (s *ExperimentalProjectCopyGenerateNameReq) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ExperimentalProjectCopyGenerateNameReq) SetContext

SetContext sets the value of Context.

func (*ExperimentalProjectCopyGenerateNameReq) UnmarshalJSON

func (s *ExperimentalProjectCopyGenerateNameReq) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ExperimentalProjectCopyGenerateNameRes

type ExperimentalProjectCopyGenerateNameRes interface {
	// contains filtered or unexported methods
}

type ExperimentalResourceListOK

type ExperimentalResourceListOK map[string]McpResource

MCP resources.

func (*ExperimentalResourceListOK) Decode

Decode decodes ExperimentalResourceListOK from json.

func (ExperimentalResourceListOK) Encode

func (s ExperimentalResourceListOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (ExperimentalResourceListOK) MarshalJSON

func (s ExperimentalResourceListOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ExperimentalResourceListOK) UnmarshalJSON

func (s *ExperimentalResourceListOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ExperimentalResourceListParams

type ExperimentalResourceListParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

ExperimentalResourceListParams is parameters of experimental.resource.list operation.

type ExperimentalResourceListRes

type ExperimentalResourceListRes interface {
	// contains filtered or unexported methods
}

type ExperimentalSessionListArchived

type ExperimentalSessionListArchived struct {
	// Type selects the active sum variant, switch on this field.
	Type                             ExperimentalSessionListArchivedType
	Bool                             bool
	ExperimentalSessionListArchived1 ExperimentalSessionListArchived1
}

ExperimentalSessionListArchived represents sum type.

func NewBoolExperimentalSessionListArchived

func NewBoolExperimentalSessionListArchived(v bool) ExperimentalSessionListArchived

NewBoolExperimentalSessionListArchived returns new ExperimentalSessionListArchived from bool.

func NewExperimentalSessionListArchived1ExperimentalSessionListArchived

func NewExperimentalSessionListArchived1ExperimentalSessionListArchived(v ExperimentalSessionListArchived1) ExperimentalSessionListArchived

NewExperimentalSessionListArchived1ExperimentalSessionListArchived returns new ExperimentalSessionListArchived from ExperimentalSessionListArchived1.

func (ExperimentalSessionListArchived) GetBool

func (s ExperimentalSessionListArchived) GetBool() (v bool, ok bool)

GetBool returns bool and true boolean if ExperimentalSessionListArchived is bool.

func (ExperimentalSessionListArchived) GetExperimentalSessionListArchived1

func (s ExperimentalSessionListArchived) GetExperimentalSessionListArchived1() (v ExperimentalSessionListArchived1, ok bool)

GetExperimentalSessionListArchived1 returns ExperimentalSessionListArchived1 and true boolean if ExperimentalSessionListArchived is ExperimentalSessionListArchived1.

func (ExperimentalSessionListArchived) IsBool

IsBool reports whether ExperimentalSessionListArchived is bool.

func (ExperimentalSessionListArchived) IsExperimentalSessionListArchived1

func (s ExperimentalSessionListArchived) IsExperimentalSessionListArchived1() bool

IsExperimentalSessionListArchived1 reports whether ExperimentalSessionListArchived is ExperimentalSessionListArchived1.

func (*ExperimentalSessionListArchived) SetBool

func (s *ExperimentalSessionListArchived) SetBool(v bool)

SetBool sets ExperimentalSessionListArchived to bool.

func (*ExperimentalSessionListArchived) SetExperimentalSessionListArchived1

func (s *ExperimentalSessionListArchived) SetExperimentalSessionListArchived1(v ExperimentalSessionListArchived1)

SetExperimentalSessionListArchived1 sets ExperimentalSessionListArchived to ExperimentalSessionListArchived1.

func (ExperimentalSessionListArchived) Validate

type ExperimentalSessionListArchived1

type ExperimentalSessionListArchived1 string
const (
	ExperimentalSessionListArchived1True  ExperimentalSessionListArchived1 = "true"
	ExperimentalSessionListArchived1False ExperimentalSessionListArchived1 = "false"
)

func (ExperimentalSessionListArchived1) AllValues

AllValues returns all ExperimentalSessionListArchived1 values.

func (ExperimentalSessionListArchived1) MarshalText

func (s ExperimentalSessionListArchived1) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ExperimentalSessionListArchived1) UnmarshalText

func (s *ExperimentalSessionListArchived1) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ExperimentalSessionListArchived1) Validate

type ExperimentalSessionListArchivedType

type ExperimentalSessionListArchivedType string

ExperimentalSessionListArchivedType is oneOf type of ExperimentalSessionListArchived.

const (
	BoolExperimentalSessionListArchived                             ExperimentalSessionListArchivedType = "bool"
	ExperimentalSessionListArchived1ExperimentalSessionListArchived ExperimentalSessionListArchivedType = "ExperimentalSessionListArchived1"
)

Possible values for ExperimentalSessionListArchivedType.

type ExperimentalSessionListOKApplicationJSON

type ExperimentalSessionListOKApplicationJSON []GlobalSession

func (*ExperimentalSessionListOKApplicationJSON) Decode

Decode decodes ExperimentalSessionListOKApplicationJSON from json.

func (ExperimentalSessionListOKApplicationJSON) Encode

Encode encodes ExperimentalSessionListOKApplicationJSON as json.

func (ExperimentalSessionListOKApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ExperimentalSessionListOKApplicationJSON) UnmarshalJSON

func (s *ExperimentalSessionListOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (ExperimentalSessionListOKApplicationJSON) Validate

type ExperimentalSessionListParams

type ExperimentalSessionListParams struct {
	Directory OptString                          `json:",omitempty,omitzero"`
	Workspace OptString                          `json:",omitempty,omitzero"`
	Roots     OptExperimentalSessionListRoots    `json:",omitempty,omitzero"`
	Start     OptFloat64                         `json:",omitempty,omitzero"`
	Cursor    OptFloat64                         `json:",omitempty,omitzero"`
	Search    OptString                          `json:",omitempty,omitzero"`
	Limit     OptFloat64                         `json:",omitempty,omitzero"`
	Archived  OptExperimentalSessionListArchived `json:",omitempty,omitzero"`
}

ExperimentalSessionListParams is parameters of experimental.session.list operation.

type ExperimentalSessionListRes

type ExperimentalSessionListRes interface {
	// contains filtered or unexported methods
}

type ExperimentalSessionListRoots

type ExperimentalSessionListRoots struct {
	// Type selects the active sum variant, switch on this field.
	Type                          ExperimentalSessionListRootsType
	Bool                          bool
	ExperimentalSessionListRoots1 ExperimentalSessionListRoots1
}

ExperimentalSessionListRoots represents sum type.

func NewBoolExperimentalSessionListRoots

func NewBoolExperimentalSessionListRoots(v bool) ExperimentalSessionListRoots

NewBoolExperimentalSessionListRoots returns new ExperimentalSessionListRoots from bool.

func NewExperimentalSessionListRoots1ExperimentalSessionListRoots

func NewExperimentalSessionListRoots1ExperimentalSessionListRoots(v ExperimentalSessionListRoots1) ExperimentalSessionListRoots

NewExperimentalSessionListRoots1ExperimentalSessionListRoots returns new ExperimentalSessionListRoots from ExperimentalSessionListRoots1.

func (ExperimentalSessionListRoots) GetBool

func (s ExperimentalSessionListRoots) GetBool() (v bool, ok bool)

GetBool returns bool and true boolean if ExperimentalSessionListRoots is bool.

func (ExperimentalSessionListRoots) GetExperimentalSessionListRoots1

func (s ExperimentalSessionListRoots) GetExperimentalSessionListRoots1() (v ExperimentalSessionListRoots1, ok bool)

GetExperimentalSessionListRoots1 returns ExperimentalSessionListRoots1 and true boolean if ExperimentalSessionListRoots is ExperimentalSessionListRoots1.

func (ExperimentalSessionListRoots) IsBool

IsBool reports whether ExperimentalSessionListRoots is bool.

func (ExperimentalSessionListRoots) IsExperimentalSessionListRoots1

func (s ExperimentalSessionListRoots) IsExperimentalSessionListRoots1() bool

IsExperimentalSessionListRoots1 reports whether ExperimentalSessionListRoots is ExperimentalSessionListRoots1.

func (*ExperimentalSessionListRoots) SetBool

func (s *ExperimentalSessionListRoots) SetBool(v bool)

SetBool sets ExperimentalSessionListRoots to bool.

func (*ExperimentalSessionListRoots) SetExperimentalSessionListRoots1

func (s *ExperimentalSessionListRoots) SetExperimentalSessionListRoots1(v ExperimentalSessionListRoots1)

SetExperimentalSessionListRoots1 sets ExperimentalSessionListRoots to ExperimentalSessionListRoots1.

func (ExperimentalSessionListRoots) Validate

func (s ExperimentalSessionListRoots) Validate() error

type ExperimentalSessionListRoots1

type ExperimentalSessionListRoots1 string
const (
	ExperimentalSessionListRoots1True  ExperimentalSessionListRoots1 = "true"
	ExperimentalSessionListRoots1False ExperimentalSessionListRoots1 = "false"
)

func (ExperimentalSessionListRoots1) AllValues

AllValues returns all ExperimentalSessionListRoots1 values.

func (ExperimentalSessionListRoots1) MarshalText

func (s ExperimentalSessionListRoots1) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ExperimentalSessionListRoots1) UnmarshalText

func (s *ExperimentalSessionListRoots1) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ExperimentalSessionListRoots1) Validate

func (s ExperimentalSessionListRoots1) Validate() error

type ExperimentalSessionListRootsType

type ExperimentalSessionListRootsType string

ExperimentalSessionListRootsType is oneOf type of ExperimentalSessionListRoots.

const (
	BoolExperimentalSessionListRoots                          ExperimentalSessionListRootsType = "bool"
	ExperimentalSessionListRoots1ExperimentalSessionListRoots ExperimentalSessionListRootsType = "ExperimentalSessionListRoots1"
)

Possible values for ExperimentalSessionListRootsType.

type ExperimentalWorkspaceAdapterListOKApplicationJSON

type ExperimentalWorkspaceAdapterListOKApplicationJSON []ExperimentalWorkspaceAdapterListOKItem

func (*ExperimentalWorkspaceAdapterListOKApplicationJSON) Decode

Decode decodes ExperimentalWorkspaceAdapterListOKApplicationJSON from json.

func (ExperimentalWorkspaceAdapterListOKApplicationJSON) Encode

Encode encodes ExperimentalWorkspaceAdapterListOKApplicationJSON as json.

func (ExperimentalWorkspaceAdapterListOKApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ExperimentalWorkspaceAdapterListOKApplicationJSON) UnmarshalJSON

UnmarshalJSON implements stdjson.Unmarshaler.

func (ExperimentalWorkspaceAdapterListOKApplicationJSON) Validate

type ExperimentalWorkspaceAdapterListOKItem

type ExperimentalWorkspaceAdapterListOKItem struct {
	Type        string `json:"type"`
	Name        string `json:"name"`
	Description string `json:"description"`
}

func (*ExperimentalWorkspaceAdapterListOKItem) Decode

Decode decodes ExperimentalWorkspaceAdapterListOKItem from json.

func (*ExperimentalWorkspaceAdapterListOKItem) Encode

Encode implements json.Marshaler.

func (*ExperimentalWorkspaceAdapterListOKItem) GetDescription

func (s *ExperimentalWorkspaceAdapterListOKItem) GetDescription() string

GetDescription returns the value of Description.

func (*ExperimentalWorkspaceAdapterListOKItem) GetName

GetName returns the value of Name.

func (*ExperimentalWorkspaceAdapterListOKItem) GetType

GetType returns the value of Type.

func (*ExperimentalWorkspaceAdapterListOKItem) MarshalJSON

func (s *ExperimentalWorkspaceAdapterListOKItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ExperimentalWorkspaceAdapterListOKItem) SetDescription

func (s *ExperimentalWorkspaceAdapterListOKItem) SetDescription(val string)

SetDescription sets the value of Description.

func (*ExperimentalWorkspaceAdapterListOKItem) SetName

SetName sets the value of Name.

func (*ExperimentalWorkspaceAdapterListOKItem) SetType

SetType sets the value of Type.

func (*ExperimentalWorkspaceAdapterListOKItem) UnmarshalJSON

func (s *ExperimentalWorkspaceAdapterListOKItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ExperimentalWorkspaceAdapterListParams

type ExperimentalWorkspaceAdapterListParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

ExperimentalWorkspaceAdapterListParams is parameters of experimental.workspace.adapter.list operation.

type ExperimentalWorkspaceAdapterListRes

type ExperimentalWorkspaceAdapterListRes interface {
	// contains filtered or unexported methods
}

type ExperimentalWorkspaceStatusOKApplicationJSON

type ExperimentalWorkspaceStatusOKApplicationJSON []WorkspaceEventConnectionStatus

func (*ExperimentalWorkspaceStatusOKApplicationJSON) Decode

Decode decodes ExperimentalWorkspaceStatusOKApplicationJSON from json.

func (ExperimentalWorkspaceStatusOKApplicationJSON) Encode

Encode encodes ExperimentalWorkspaceStatusOKApplicationJSON as json.

func (ExperimentalWorkspaceStatusOKApplicationJSON) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (*ExperimentalWorkspaceStatusOKApplicationJSON) UnmarshalJSON

func (s *ExperimentalWorkspaceStatusOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (ExperimentalWorkspaceStatusOKApplicationJSON) Validate

type ExperimentalWorkspaceStatusParams

type ExperimentalWorkspaceStatusParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

ExperimentalWorkspaceStatusParams is parameters of experimental.workspace.status operation.

type ExperimentalWorkspaceStatusRes

type ExperimentalWorkspaceStatusRes interface {
	// contains filtered or unexported methods
}

type ExperimentalWorkspaceSyncListNoContent

type ExperimentalWorkspaceSyncListNoContent struct{}

ExperimentalWorkspaceSyncListNoContent is response for ExperimentalWorkspaceSyncList operation.

type ExperimentalWorkspaceSyncListParams

type ExperimentalWorkspaceSyncListParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

ExperimentalWorkspaceSyncListParams is parameters of experimental.workspace.syncList operation.

type ExperimentalWorkspaceSyncListRes

type ExperimentalWorkspaceSyncListRes interface {
	// contains filtered or unexported methods
}

type File

type File struct {
	Path    string     `json:"path"`
	Added   int        `json:"added"`
	Removed int        `json:"removed"`
	Status  FileStatus `json:"status"`
}

Ref: #/components/schemas/File

func (*File) Decode

func (s *File) Decode(d *jx.Decoder) error

Decode decodes File from json.

func (*File) Encode

func (s *File) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*File) GetAdded

func (s *File) GetAdded() int

GetAdded returns the value of Added.

func (*File) GetPath

func (s *File) GetPath() string

GetPath returns the value of Path.

func (*File) GetRemoved

func (s *File) GetRemoved() int

GetRemoved returns the value of Removed.

func (*File) GetStatus

func (s *File) GetStatus() FileStatus

GetStatus returns the value of Status.

func (*File) MarshalJSON

func (s *File) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*File) SetAdded

func (s *File) SetAdded(val int)

SetAdded sets the value of Added.

func (*File) SetPath

func (s *File) SetPath(val string)

SetPath sets the value of Path.

func (*File) SetRemoved

func (s *File) SetRemoved(val int)

SetRemoved sets the value of Removed.

func (*File) SetStatus

func (s *File) SetStatus(val FileStatus)

SetStatus sets the value of Status.

func (*File) UnmarshalJSON

func (s *File) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*File) Validate

func (s *File) Validate() error

type FileContent

type FileContent struct {
	Type     FileContentType        `json:"type"`
	Content  string                 `json:"content"`
	Diff     OptString              `json:"diff"`
	Patch    OptFileContentPatch    `json:"patch"`
	Encoding OptFileContentEncoding `json:"encoding"`
	MimeType OptString              `json:"mimeType"`
}

Ref: #/components/schemas/FileContent

func (*FileContent) Decode

func (s *FileContent) Decode(d *jx.Decoder) error

Decode decodes FileContent from json.

func (*FileContent) Encode

func (s *FileContent) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FileContent) GetContent

func (s *FileContent) GetContent() string

GetContent returns the value of Content.

func (*FileContent) GetDiff

func (s *FileContent) GetDiff() OptString

GetDiff returns the value of Diff.

func (*FileContent) GetEncoding

func (s *FileContent) GetEncoding() OptFileContentEncoding

GetEncoding returns the value of Encoding.

func (*FileContent) GetMimeType

func (s *FileContent) GetMimeType() OptString

GetMimeType returns the value of MimeType.

func (*FileContent) GetPatch

func (s *FileContent) GetPatch() OptFileContentPatch

GetPatch returns the value of Patch.

func (*FileContent) GetType

func (s *FileContent) GetType() FileContentType

GetType returns the value of Type.

func (*FileContent) MarshalJSON

func (s *FileContent) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FileContent) SetContent

func (s *FileContent) SetContent(val string)

SetContent sets the value of Content.

func (*FileContent) SetDiff

func (s *FileContent) SetDiff(val OptString)

SetDiff sets the value of Diff.

func (*FileContent) SetEncoding

func (s *FileContent) SetEncoding(val OptFileContentEncoding)

SetEncoding sets the value of Encoding.

func (*FileContent) SetMimeType

func (s *FileContent) SetMimeType(val OptString)

SetMimeType sets the value of MimeType.

func (*FileContent) SetPatch

func (s *FileContent) SetPatch(val OptFileContentPatch)

SetPatch sets the value of Patch.

func (*FileContent) SetType

func (s *FileContent) SetType(val FileContentType)

SetType sets the value of Type.

func (*FileContent) UnmarshalJSON

func (s *FileContent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FileContent) Validate

func (s *FileContent) Validate() error

type FileContentEncoding

type FileContentEncoding string
const (
	FileContentEncodingBase64 FileContentEncoding = "base64"
)

func (FileContentEncoding) AllValues

AllValues returns all FileContentEncoding values.

func (*FileContentEncoding) Decode

func (s *FileContentEncoding) Decode(d *jx.Decoder) error

Decode decodes FileContentEncoding from json.

func (FileContentEncoding) Encode

func (s FileContentEncoding) Encode(e *jx.Encoder)

Encode encodes FileContentEncoding as json.

func (FileContentEncoding) MarshalJSON

func (s FileContentEncoding) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (FileContentEncoding) MarshalText

func (s FileContentEncoding) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*FileContentEncoding) UnmarshalJSON

func (s *FileContentEncoding) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FileContentEncoding) UnmarshalText

func (s *FileContentEncoding) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (FileContentEncoding) Validate

func (s FileContentEncoding) Validate() error

type FileContentPatch

type FileContentPatch struct {
	OldFileName string                      `json:"oldFileName"`
	NewFileName string                      `json:"newFileName"`
	OldHeader   OptString                   `json:"oldHeader"`
	NewHeader   OptString                   `json:"newHeader"`
	Hunks       []FileContentPatchHunksItem `json:"hunks"`
	Index       OptString                   `json:"index"`
}

func (*FileContentPatch) Decode

func (s *FileContentPatch) Decode(d *jx.Decoder) error

Decode decodes FileContentPatch from json.

func (*FileContentPatch) Encode

func (s *FileContentPatch) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FileContentPatch) GetHunks

GetHunks returns the value of Hunks.

func (*FileContentPatch) GetIndex

func (s *FileContentPatch) GetIndex() OptString

GetIndex returns the value of Index.

func (*FileContentPatch) GetNewFileName

func (s *FileContentPatch) GetNewFileName() string

GetNewFileName returns the value of NewFileName.

func (*FileContentPatch) GetNewHeader

func (s *FileContentPatch) GetNewHeader() OptString

GetNewHeader returns the value of NewHeader.

func (*FileContentPatch) GetOldFileName

func (s *FileContentPatch) GetOldFileName() string

GetOldFileName returns the value of OldFileName.

func (*FileContentPatch) GetOldHeader

func (s *FileContentPatch) GetOldHeader() OptString

GetOldHeader returns the value of OldHeader.

func (*FileContentPatch) MarshalJSON

func (s *FileContentPatch) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FileContentPatch) SetHunks

func (s *FileContentPatch) SetHunks(val []FileContentPatchHunksItem)

SetHunks sets the value of Hunks.

func (*FileContentPatch) SetIndex

func (s *FileContentPatch) SetIndex(val OptString)

SetIndex sets the value of Index.

func (*FileContentPatch) SetNewFileName

func (s *FileContentPatch) SetNewFileName(val string)

SetNewFileName sets the value of NewFileName.

func (*FileContentPatch) SetNewHeader

func (s *FileContentPatch) SetNewHeader(val OptString)

SetNewHeader sets the value of NewHeader.

func (*FileContentPatch) SetOldFileName

func (s *FileContentPatch) SetOldFileName(val string)

SetOldFileName sets the value of OldFileName.

func (*FileContentPatch) SetOldHeader

func (s *FileContentPatch) SetOldHeader(val OptString)

SetOldHeader sets the value of OldHeader.

func (*FileContentPatch) UnmarshalJSON

func (s *FileContentPatch) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FileContentPatch) Validate

func (s *FileContentPatch) Validate() error

type FileContentPatchHunksItem

type FileContentPatchHunksItem struct {
	OldStart int      `json:"oldStart"`
	OldLines int      `json:"oldLines"`
	NewStart int      `json:"newStart"`
	NewLines int      `json:"newLines"`
	Lines    []string `json:"lines"`
}

func (*FileContentPatchHunksItem) Decode

func (s *FileContentPatchHunksItem) Decode(d *jx.Decoder) error

Decode decodes FileContentPatchHunksItem from json.

func (*FileContentPatchHunksItem) Encode

func (s *FileContentPatchHunksItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FileContentPatchHunksItem) GetLines

func (s *FileContentPatchHunksItem) GetLines() []string

GetLines returns the value of Lines.

func (*FileContentPatchHunksItem) GetNewLines

func (s *FileContentPatchHunksItem) GetNewLines() int

GetNewLines returns the value of NewLines.

func (*FileContentPatchHunksItem) GetNewStart

func (s *FileContentPatchHunksItem) GetNewStart() int

GetNewStart returns the value of NewStart.

func (*FileContentPatchHunksItem) GetOldLines

func (s *FileContentPatchHunksItem) GetOldLines() int

GetOldLines returns the value of OldLines.

func (*FileContentPatchHunksItem) GetOldStart

func (s *FileContentPatchHunksItem) GetOldStart() int

GetOldStart returns the value of OldStart.

func (*FileContentPatchHunksItem) MarshalJSON

func (s *FileContentPatchHunksItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FileContentPatchHunksItem) SetLines

func (s *FileContentPatchHunksItem) SetLines(val []string)

SetLines sets the value of Lines.

func (*FileContentPatchHunksItem) SetNewLines

func (s *FileContentPatchHunksItem) SetNewLines(val int)

SetNewLines sets the value of NewLines.

func (*FileContentPatchHunksItem) SetNewStart

func (s *FileContentPatchHunksItem) SetNewStart(val int)

SetNewStart sets the value of NewStart.

func (*FileContentPatchHunksItem) SetOldLines

func (s *FileContentPatchHunksItem) SetOldLines(val int)

SetOldLines sets the value of OldLines.

func (*FileContentPatchHunksItem) SetOldStart

func (s *FileContentPatchHunksItem) SetOldStart(val int)

SetOldStart sets the value of OldStart.

func (*FileContentPatchHunksItem) UnmarshalJSON

func (s *FileContentPatchHunksItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FileContentPatchHunksItem) Validate

func (s *FileContentPatchHunksItem) Validate() error

type FileContentType

type FileContentType string
const (
	FileContentTypeText   FileContentType = "text"
	FileContentTypeBinary FileContentType = "binary"
)

func (FileContentType) AllValues

func (FileContentType) AllValues() []FileContentType

AllValues returns all FileContentType values.

func (*FileContentType) Decode

func (s *FileContentType) Decode(d *jx.Decoder) error

Decode decodes FileContentType from json.

func (FileContentType) Encode

func (s FileContentType) Encode(e *jx.Encoder)

Encode encodes FileContentType as json.

func (FileContentType) MarshalJSON

func (s FileContentType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (FileContentType) MarshalText

func (s FileContentType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*FileContentType) UnmarshalJSON

func (s *FileContentType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FileContentType) UnmarshalText

func (s *FileContentType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (FileContentType) Validate

func (s FileContentType) Validate() error

type FileDiff

type FileDiff struct {
	Path      string         `json:"path"`
	Status    FileDiffStatus `json:"status"`
	Additions int            `json:"additions"`
	Deletions int            `json:"deletions"`
	Patch     string         `json:"patch"`
}

Ref: #/components/schemas/FileDiff

func (*FileDiff) Decode

func (s *FileDiff) Decode(d *jx.Decoder) error

Decode decodes FileDiff from json.

func (*FileDiff) Encode

func (s *FileDiff) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FileDiff) GetAdditions

func (s *FileDiff) GetAdditions() int

GetAdditions returns the value of Additions.

func (*FileDiff) GetDeletions

func (s *FileDiff) GetDeletions() int

GetDeletions returns the value of Deletions.

func (*FileDiff) GetPatch

func (s *FileDiff) GetPatch() string

GetPatch returns the value of Patch.

func (*FileDiff) GetPath

func (s *FileDiff) GetPath() string

GetPath returns the value of Path.

func (*FileDiff) GetStatus

func (s *FileDiff) GetStatus() FileDiffStatus

GetStatus returns the value of Status.

func (*FileDiff) MarshalJSON

func (s *FileDiff) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FileDiff) SetAdditions

func (s *FileDiff) SetAdditions(val int)

SetAdditions sets the value of Additions.

func (*FileDiff) SetDeletions

func (s *FileDiff) SetDeletions(val int)

SetDeletions sets the value of Deletions.

func (*FileDiff) SetPatch

func (s *FileDiff) SetPatch(val string)

SetPatch sets the value of Patch.

func (*FileDiff) SetPath

func (s *FileDiff) SetPath(val string)

SetPath sets the value of Path.

func (*FileDiff) SetStatus

func (s *FileDiff) SetStatus(val FileDiffStatus)

SetStatus sets the value of Status.

func (*FileDiff) UnmarshalJSON

func (s *FileDiff) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FileDiff) Validate

func (s *FileDiff) Validate() error

type FileDiffStatus

type FileDiffStatus string
const (
	FileDiffStatusAdded    FileDiffStatus = "added"
	FileDiffStatusModified FileDiffStatus = "modified"
	FileDiffStatusDeleted  FileDiffStatus = "deleted"
)

func (FileDiffStatus) AllValues

func (FileDiffStatus) AllValues() []FileDiffStatus

AllValues returns all FileDiffStatus values.

func (*FileDiffStatus) Decode

func (s *FileDiffStatus) Decode(d *jx.Decoder) error

Decode decodes FileDiffStatus from json.

func (FileDiffStatus) Encode

func (s FileDiffStatus) Encode(e *jx.Encoder)

Encode encodes FileDiffStatus as json.

func (FileDiffStatus) MarshalJSON

func (s FileDiffStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (FileDiffStatus) MarshalText

func (s FileDiffStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*FileDiffStatus) UnmarshalJSON

func (s *FileDiffStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FileDiffStatus) UnmarshalText

func (s *FileDiffStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (FileDiffStatus) Validate

func (s FileDiffStatus) Validate() error

type FileListOKApplicationJSON

type FileListOKApplicationJSON []FileNode

func (*FileListOKApplicationJSON) Decode

func (s *FileListOKApplicationJSON) Decode(d *jx.Decoder) error

Decode decodes FileListOKApplicationJSON from json.

func (FileListOKApplicationJSON) Encode

func (s FileListOKApplicationJSON) Encode(e *jx.Encoder)

Encode encodes FileListOKApplicationJSON as json.

func (FileListOKApplicationJSON) MarshalJSON

func (s FileListOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FileListOKApplicationJSON) UnmarshalJSON

func (s *FileListOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (FileListOKApplicationJSON) Validate

func (s FileListOKApplicationJSON) Validate() error

type FileListParams

type FileListParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
	Path      string
}

FileListParams is parameters of file.list operation.

type FileListRes

type FileListRes interface {
	// contains filtered or unexported methods
}

type FileNode

type FileNode struct {
	Name     string       `json:"name"`
	Path     string       `json:"path"`
	Absolute string       `json:"absolute"`
	Type     FileNodeType `json:"type"`
	Ignored  bool         `json:"ignored"`
}

Ref: #/components/schemas/FileNode

func (*FileNode) Decode

func (s *FileNode) Decode(d *jx.Decoder) error

Decode decodes FileNode from json.

func (*FileNode) Encode

func (s *FileNode) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FileNode) GetAbsolute

func (s *FileNode) GetAbsolute() string

GetAbsolute returns the value of Absolute.

func (*FileNode) GetIgnored

func (s *FileNode) GetIgnored() bool

GetIgnored returns the value of Ignored.

func (*FileNode) GetName

func (s *FileNode) GetName() string

GetName returns the value of Name.

func (*FileNode) GetPath

func (s *FileNode) GetPath() string

GetPath returns the value of Path.

func (*FileNode) GetType

func (s *FileNode) GetType() FileNodeType

GetType returns the value of Type.

func (*FileNode) MarshalJSON

func (s *FileNode) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FileNode) SetAbsolute

func (s *FileNode) SetAbsolute(val string)

SetAbsolute sets the value of Absolute.

func (*FileNode) SetIgnored

func (s *FileNode) SetIgnored(val bool)

SetIgnored sets the value of Ignored.

func (*FileNode) SetName

func (s *FileNode) SetName(val string)

SetName sets the value of Name.

func (*FileNode) SetPath

func (s *FileNode) SetPath(val string)

SetPath sets the value of Path.

func (*FileNode) SetType

func (s *FileNode) SetType(val FileNodeType)

SetType sets the value of Type.

func (*FileNode) UnmarshalJSON

func (s *FileNode) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FileNode) Validate

func (s *FileNode) Validate() error

type FileNodeType

type FileNodeType string
const (
	FileNodeTypeFile      FileNodeType = "file"
	FileNodeTypeDirectory FileNodeType = "directory"
)

func (FileNodeType) AllValues

func (FileNodeType) AllValues() []FileNodeType

AllValues returns all FileNodeType values.

func (*FileNodeType) Decode

func (s *FileNodeType) Decode(d *jx.Decoder) error

Decode decodes FileNodeType from json.

func (FileNodeType) Encode

func (s FileNodeType) Encode(e *jx.Encoder)

Encode encodes FileNodeType as json.

func (FileNodeType) MarshalJSON

func (s FileNodeType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (FileNodeType) MarshalText

func (s FileNodeType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*FileNodeType) UnmarshalJSON

func (s *FileNodeType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FileNodeType) UnmarshalText

func (s *FileNodeType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (FileNodeType) Validate

func (s FileNodeType) Validate() error

type FileReadParams

type FileReadParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
	Path      string
}

FileReadParams is parameters of file.read operation.

type FileReadRes

type FileReadRes interface {
	// contains filtered or unexported methods
}

type FileStatus

type FileStatus string
const (
	FileStatusAdded    FileStatus = "added"
	FileStatusDeleted  FileStatus = "deleted"
	FileStatusModified FileStatus = "modified"
)

func (FileStatus) AllValues

func (FileStatus) AllValues() []FileStatus

AllValues returns all FileStatus values.

func (*FileStatus) Decode

func (s *FileStatus) Decode(d *jx.Decoder) error

Decode decodes FileStatus from json.

func (FileStatus) Encode

func (s FileStatus) Encode(e *jx.Encoder)

Encode encodes FileStatus as json.

func (FileStatus) MarshalJSON

func (s FileStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (FileStatus) MarshalText

func (s FileStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*FileStatus) UnmarshalJSON

func (s *FileStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FileStatus) UnmarshalText

func (s *FileStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (FileStatus) Validate

func (s FileStatus) Validate() error

type FileStatusOKApplicationJSON

type FileStatusOKApplicationJSON []File

func (*FileStatusOKApplicationJSON) Decode

Decode decodes FileStatusOKApplicationJSON from json.

func (FileStatusOKApplicationJSON) Encode

func (s FileStatusOKApplicationJSON) Encode(e *jx.Encoder)

Encode encodes FileStatusOKApplicationJSON as json.

func (FileStatusOKApplicationJSON) MarshalJSON

func (s FileStatusOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FileStatusOKApplicationJSON) UnmarshalJSON

func (s *FileStatusOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (FileStatusOKApplicationJSON) Validate

func (s FileStatusOKApplicationJSON) Validate() error

type FileStatusParams

type FileStatusParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

FileStatusParams is parameters of file.status operation.

type FileStatusRes

type FileStatusRes interface {
	// contains filtered or unexported methods
}

type FileSystemEntry

type FileSystemEntry struct {
	Path string              `json:"path"`
	Type FileSystemEntryType `json:"type"`
}

Ref: #/components/schemas/FileSystemEntry

func (*FileSystemEntry) Decode

func (s *FileSystemEntry) Decode(d *jx.Decoder) error

Decode decodes FileSystemEntry from json.

func (*FileSystemEntry) Encode

func (s *FileSystemEntry) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FileSystemEntry) GetPath

func (s *FileSystemEntry) GetPath() string

GetPath returns the value of Path.

func (*FileSystemEntry) GetType

func (s *FileSystemEntry) GetType() FileSystemEntryType

GetType returns the value of Type.

func (*FileSystemEntry) MarshalJSON

func (s *FileSystemEntry) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FileSystemEntry) SetPath

func (s *FileSystemEntry) SetPath(val string)

SetPath sets the value of Path.

func (*FileSystemEntry) SetType

func (s *FileSystemEntry) SetType(val FileSystemEntryType)

SetType sets the value of Type.

func (*FileSystemEntry) UnmarshalJSON

func (s *FileSystemEntry) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FileSystemEntry) Validate

func (s *FileSystemEntry) Validate() error

type FileSystemEntryType

type FileSystemEntryType string
const (
	FileSystemEntryTypeFile      FileSystemEntryType = "file"
	FileSystemEntryTypeDirectory FileSystemEntryType = "directory"
)

func (FileSystemEntryType) AllValues

AllValues returns all FileSystemEntryType values.

func (*FileSystemEntryType) Decode

func (s *FileSystemEntryType) Decode(d *jx.Decoder) error

Decode decodes FileSystemEntryType from json.

func (FileSystemEntryType) Encode

func (s FileSystemEntryType) Encode(e *jx.Encoder)

Encode encodes FileSystemEntryType as json.

func (FileSystemEntryType) MarshalJSON

func (s FileSystemEntryType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (FileSystemEntryType) MarshalText

func (s FileSystemEntryType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*FileSystemEntryType) UnmarshalJSON

func (s *FileSystemEntryType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FileSystemEntryType) UnmarshalText

func (s *FileSystemEntryType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (FileSystemEntryType) Validate

func (s FileSystemEntryType) Validate() error

type FindFilesDirs

type FindFilesDirs string
const (
	FindFilesDirsTrue  FindFilesDirs = "true"
	FindFilesDirsFalse FindFilesDirs = "false"
)

func (FindFilesDirs) AllValues

func (FindFilesDirs) AllValues() []FindFilesDirs

AllValues returns all FindFilesDirs values.

func (FindFilesDirs) MarshalText

func (s FindFilesDirs) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*FindFilesDirs) UnmarshalText

func (s *FindFilesDirs) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (FindFilesDirs) Validate

func (s FindFilesDirs) Validate() error

type FindFilesOKApplicationJSON

type FindFilesOKApplicationJSON []string

func (*FindFilesOKApplicationJSON) Decode

Decode decodes FindFilesOKApplicationJSON from json.

func (FindFilesOKApplicationJSON) Encode

func (s FindFilesOKApplicationJSON) Encode(e *jx.Encoder)

Encode encodes FindFilesOKApplicationJSON as json.

func (FindFilesOKApplicationJSON) MarshalJSON

func (s FindFilesOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FindFilesOKApplicationJSON) UnmarshalJSON

func (s *FindFilesOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (FindFilesOKApplicationJSON) Validate

func (s FindFilesOKApplicationJSON) Validate() error

type FindFilesParams

type FindFilesParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
	Query     string
	Dirs      OptFindFilesDirs `json:",omitempty,omitzero"`
	Type      OptFindFilesType `json:",omitempty,omitzero"`
	Limit     OptInt           `json:",omitempty,omitzero"`
}

FindFilesParams is parameters of find.files operation.

type FindFilesRes

type FindFilesRes interface {
	// contains filtered or unexported methods
}

type FindFilesType

type FindFilesType string
const (
	FindFilesTypeFile      FindFilesType = "file"
	FindFilesTypeDirectory FindFilesType = "directory"
)

func (FindFilesType) AllValues

func (FindFilesType) AllValues() []FindFilesType

AllValues returns all FindFilesType values.

func (FindFilesType) MarshalText

func (s FindFilesType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*FindFilesType) UnmarshalText

func (s *FindFilesType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (FindFilesType) Validate

func (s FindFilesType) Validate() error

type FindSymbolsOKApplicationJSON

type FindSymbolsOKApplicationJSON []Symbol

func (*FindSymbolsOKApplicationJSON) Decode

Decode decodes FindSymbolsOKApplicationJSON from json.

func (FindSymbolsOKApplicationJSON) Encode

Encode encodes FindSymbolsOKApplicationJSON as json.

func (FindSymbolsOKApplicationJSON) MarshalJSON

func (s FindSymbolsOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FindSymbolsOKApplicationJSON) UnmarshalJSON

func (s *FindSymbolsOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (FindSymbolsOKApplicationJSON) Validate

func (s FindSymbolsOKApplicationJSON) Validate() error

type FindSymbolsParams

type FindSymbolsParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
	Query     string
}

FindSymbolsParams is parameters of find.symbols operation.

type FindSymbolsRes

type FindSymbolsRes interface {
	// contains filtered or unexported methods
}

type FindTextOKApplicationJSON

type FindTextOKApplicationJSON []FindTextOKItem

func (*FindTextOKApplicationJSON) Decode

func (s *FindTextOKApplicationJSON) Decode(d *jx.Decoder) error

Decode decodes FindTextOKApplicationJSON from json.

func (FindTextOKApplicationJSON) Encode

func (s FindTextOKApplicationJSON) Encode(e *jx.Encoder)

Encode encodes FindTextOKApplicationJSON as json.

func (FindTextOKApplicationJSON) MarshalJSON

func (s FindTextOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FindTextOKApplicationJSON) UnmarshalJSON

func (s *FindTextOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (FindTextOKApplicationJSON) Validate

func (s FindTextOKApplicationJSON) Validate() error

type FindTextOKItem

type FindTextOKItem struct {
	Path           FindTextOKItemPath             `json:"path"`
	Lines          FindTextOKItemLines            `json:"lines"`
	LineNumber     int                            `json:"line_number"`
	AbsoluteOffset int                            `json:"absolute_offset"`
	Submatches     []FindTextOKItemSubmatchesItem `json:"submatches"`
}

func (*FindTextOKItem) Decode

func (s *FindTextOKItem) Decode(d *jx.Decoder) error

Decode decodes FindTextOKItem from json.

func (*FindTextOKItem) Encode

func (s *FindTextOKItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FindTextOKItem) GetAbsoluteOffset

func (s *FindTextOKItem) GetAbsoluteOffset() int

GetAbsoluteOffset returns the value of AbsoluteOffset.

func (*FindTextOKItem) GetLineNumber

func (s *FindTextOKItem) GetLineNumber() int

GetLineNumber returns the value of LineNumber.

func (*FindTextOKItem) GetLines

func (s *FindTextOKItem) GetLines() FindTextOKItemLines

GetLines returns the value of Lines.

func (*FindTextOKItem) GetPath

func (s *FindTextOKItem) GetPath() FindTextOKItemPath

GetPath returns the value of Path.

func (*FindTextOKItem) GetSubmatches

func (s *FindTextOKItem) GetSubmatches() []FindTextOKItemSubmatchesItem

GetSubmatches returns the value of Submatches.

func (*FindTextOKItem) MarshalJSON

func (s *FindTextOKItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FindTextOKItem) SetAbsoluteOffset

func (s *FindTextOKItem) SetAbsoluteOffset(val int)

SetAbsoluteOffset sets the value of AbsoluteOffset.

func (*FindTextOKItem) SetLineNumber

func (s *FindTextOKItem) SetLineNumber(val int)

SetLineNumber sets the value of LineNumber.

func (*FindTextOKItem) SetLines

func (s *FindTextOKItem) SetLines(val FindTextOKItemLines)

SetLines sets the value of Lines.

func (*FindTextOKItem) SetPath

func (s *FindTextOKItem) SetPath(val FindTextOKItemPath)

SetPath sets the value of Path.

func (*FindTextOKItem) SetSubmatches

func (s *FindTextOKItem) SetSubmatches(val []FindTextOKItemSubmatchesItem)

SetSubmatches sets the value of Submatches.

func (*FindTextOKItem) UnmarshalJSON

func (s *FindTextOKItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FindTextOKItem) Validate

func (s *FindTextOKItem) Validate() error

type FindTextOKItemLines

type FindTextOKItemLines struct {
	Text string `json:"text"`
}

func (*FindTextOKItemLines) Decode

func (s *FindTextOKItemLines) Decode(d *jx.Decoder) error

Decode decodes FindTextOKItemLines from json.

func (*FindTextOKItemLines) Encode

func (s *FindTextOKItemLines) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FindTextOKItemLines) GetText

func (s *FindTextOKItemLines) GetText() string

GetText returns the value of Text.

func (*FindTextOKItemLines) MarshalJSON

func (s *FindTextOKItemLines) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FindTextOKItemLines) SetText

func (s *FindTextOKItemLines) SetText(val string)

SetText sets the value of Text.

func (*FindTextOKItemLines) UnmarshalJSON

func (s *FindTextOKItemLines) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type FindTextOKItemPath

type FindTextOKItemPath struct {
	Text string `json:"text"`
}

func (*FindTextOKItemPath) Decode

func (s *FindTextOKItemPath) Decode(d *jx.Decoder) error

Decode decodes FindTextOKItemPath from json.

func (*FindTextOKItemPath) Encode

func (s *FindTextOKItemPath) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FindTextOKItemPath) GetText

func (s *FindTextOKItemPath) GetText() string

GetText returns the value of Text.

func (*FindTextOKItemPath) MarshalJSON

func (s *FindTextOKItemPath) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FindTextOKItemPath) SetText

func (s *FindTextOKItemPath) SetText(val string)

SetText sets the value of Text.

func (*FindTextOKItemPath) UnmarshalJSON

func (s *FindTextOKItemPath) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type FindTextOKItemSubmatchesItem

type FindTextOKItemSubmatchesItem struct {
	Match FindTextOKItemSubmatchesItemMatch `json:"match"`
	Start int                               `json:"start"`
	End   int                               `json:"end"`
}

func (*FindTextOKItemSubmatchesItem) Decode

Decode decodes FindTextOKItemSubmatchesItem from json.

func (*FindTextOKItemSubmatchesItem) Encode

func (s *FindTextOKItemSubmatchesItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FindTextOKItemSubmatchesItem) GetEnd

func (s *FindTextOKItemSubmatchesItem) GetEnd() int

GetEnd returns the value of End.

func (*FindTextOKItemSubmatchesItem) GetMatch

GetMatch returns the value of Match.

func (*FindTextOKItemSubmatchesItem) GetStart

func (s *FindTextOKItemSubmatchesItem) GetStart() int

GetStart returns the value of Start.

func (*FindTextOKItemSubmatchesItem) MarshalJSON

func (s *FindTextOKItemSubmatchesItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FindTextOKItemSubmatchesItem) SetEnd

func (s *FindTextOKItemSubmatchesItem) SetEnd(val int)

SetEnd sets the value of End.

func (*FindTextOKItemSubmatchesItem) SetMatch

SetMatch sets the value of Match.

func (*FindTextOKItemSubmatchesItem) SetStart

func (s *FindTextOKItemSubmatchesItem) SetStart(val int)

SetStart sets the value of Start.

func (*FindTextOKItemSubmatchesItem) UnmarshalJSON

func (s *FindTextOKItemSubmatchesItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FindTextOKItemSubmatchesItem) Validate

func (s *FindTextOKItemSubmatchesItem) Validate() error

type FindTextOKItemSubmatchesItemMatch

type FindTextOKItemSubmatchesItemMatch struct {
	Text string `json:"text"`
}

func (*FindTextOKItemSubmatchesItemMatch) Decode

Decode decodes FindTextOKItemSubmatchesItemMatch from json.

func (*FindTextOKItemSubmatchesItemMatch) Encode

Encode implements json.Marshaler.

func (*FindTextOKItemSubmatchesItemMatch) GetText

GetText returns the value of Text.

func (*FindTextOKItemSubmatchesItemMatch) MarshalJSON

func (s *FindTextOKItemSubmatchesItemMatch) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FindTextOKItemSubmatchesItemMatch) SetText

func (s *FindTextOKItemSubmatchesItemMatch) SetText(val string)

SetText sets the value of Text.

func (*FindTextOKItemSubmatchesItemMatch) UnmarshalJSON

func (s *FindTextOKItemSubmatchesItemMatch) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type FindTextParams

type FindTextParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
	Pattern   string
}

FindTextParams is parameters of find.text operation.

type FindTextRes

type FindTextRes interface {
	// contains filtered or unexported methods
}

type ForbiddenError

type ForbiddenError struct {
	Tag     ForbiddenErrorTag `json:"_tag"`
	Message string            `json:"message"`
}

Ref: #/components/schemas/ForbiddenError

func (*ForbiddenError) Decode

func (s *ForbiddenError) Decode(d *jx.Decoder) error

Decode decodes ForbiddenError from json.

func (*ForbiddenError) Encode

func (s *ForbiddenError) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ForbiddenError) GetMessage

func (s *ForbiddenError) GetMessage() string

GetMessage returns the value of Message.

func (*ForbiddenError) GetTag

func (s *ForbiddenError) GetTag() ForbiddenErrorTag

GetTag returns the value of Tag.

func (*ForbiddenError) MarshalJSON

func (s *ForbiddenError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ForbiddenError) SetMessage

func (s *ForbiddenError) SetMessage(val string)

SetMessage sets the value of Message.

func (*ForbiddenError) SetTag

func (s *ForbiddenError) SetTag(val ForbiddenErrorTag)

SetTag sets the value of Tag.

func (*ForbiddenError) UnmarshalJSON

func (s *ForbiddenError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ForbiddenError) Validate

func (s *ForbiddenError) Validate() error

type ForbiddenErrorTag

type ForbiddenErrorTag string
const (
	ForbiddenErrorTagForbiddenError ForbiddenErrorTag = "ForbiddenError"
)

func (ForbiddenErrorTag) AllValues

func (ForbiddenErrorTag) AllValues() []ForbiddenErrorTag

AllValues returns all ForbiddenErrorTag values.

func (*ForbiddenErrorTag) Decode

func (s *ForbiddenErrorTag) Decode(d *jx.Decoder) error

Decode decodes ForbiddenErrorTag from json.

func (ForbiddenErrorTag) Encode

func (s ForbiddenErrorTag) Encode(e *jx.Encoder)

Encode encodes ForbiddenErrorTag as json.

func (ForbiddenErrorTag) MarshalJSON

func (s ForbiddenErrorTag) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ForbiddenErrorTag) MarshalText

func (s ForbiddenErrorTag) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ForbiddenErrorTag) UnmarshalJSON

func (s *ForbiddenErrorTag) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ForbiddenErrorTag) UnmarshalText

func (s *ForbiddenErrorTag) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ForbiddenErrorTag) Validate

func (s ForbiddenErrorTag) Validate() error

type FormatterStatus

type FormatterStatus struct {
	Name       string   `json:"name"`
	Extensions []string `json:"extensions"`
	Enabled    bool     `json:"enabled"`
}

Ref: #/components/schemas/FormatterStatus

func (*FormatterStatus) Decode

func (s *FormatterStatus) Decode(d *jx.Decoder) error

Decode decodes FormatterStatus from json.

func (*FormatterStatus) Encode

func (s *FormatterStatus) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FormatterStatus) GetEnabled

func (s *FormatterStatus) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*FormatterStatus) GetExtensions

func (s *FormatterStatus) GetExtensions() []string

GetExtensions returns the value of Extensions.

func (*FormatterStatus) GetName

func (s *FormatterStatus) GetName() string

GetName returns the value of Name.

func (*FormatterStatus) MarshalJSON

func (s *FormatterStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FormatterStatus) SetEnabled

func (s *FormatterStatus) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*FormatterStatus) SetExtensions

func (s *FormatterStatus) SetExtensions(val []string)

SetExtensions sets the value of Extensions.

func (*FormatterStatus) SetName

func (s *FormatterStatus) SetName(val string)

SetName sets the value of Name.

func (*FormatterStatus) UnmarshalJSON

func (s *FormatterStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FormatterStatus) Validate

func (s *FormatterStatus) Validate() error

type FormatterStatusOKApplicationJSON

type FormatterStatusOKApplicationJSON []FormatterStatus

func (*FormatterStatusOKApplicationJSON) Decode

Decode decodes FormatterStatusOKApplicationJSON from json.

func (FormatterStatusOKApplicationJSON) Encode

Encode encodes FormatterStatusOKApplicationJSON as json.

func (FormatterStatusOKApplicationJSON) MarshalJSON

func (s FormatterStatusOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FormatterStatusOKApplicationJSON) UnmarshalJSON

func (s *FormatterStatusOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (FormatterStatusOKApplicationJSON) Validate

type FormatterStatusParams

type FormatterStatusParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

FormatterStatusParams is parameters of formatter.status operation.

type FormatterStatusRes

type FormatterStatusRes interface {
	// contains filtered or unexported methods
}

type GlobalDisposeOKApplicationJSON

type GlobalDisposeOKApplicationJSON bool

func (*GlobalDisposeOKApplicationJSON) Decode

Decode decodes GlobalDisposeOKApplicationJSON from json.

func (GlobalDisposeOKApplicationJSON) Encode

Encode encodes GlobalDisposeOKApplicationJSON as json.

func (GlobalDisposeOKApplicationJSON) MarshalJSON

func (s GlobalDisposeOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GlobalDisposeOKApplicationJSON) UnmarshalJSON

func (s *GlobalDisposeOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GlobalDisposeRes

type GlobalDisposeRes interface {
	// contains filtered or unexported methods
}

type GlobalHealthOK

type GlobalHealthOK struct {
	Healthy GlobalHealthOKHealthy `json:"healthy"`
	Version string                `json:"version"`
}

Health information.

func (*GlobalHealthOK) Decode

func (s *GlobalHealthOK) Decode(d *jx.Decoder) error

Decode decodes GlobalHealthOK from json.

func (*GlobalHealthOK) Encode

func (s *GlobalHealthOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GlobalHealthOK) GetHealthy

func (s *GlobalHealthOK) GetHealthy() GlobalHealthOKHealthy

GetHealthy returns the value of Healthy.

func (*GlobalHealthOK) GetVersion

func (s *GlobalHealthOK) GetVersion() string

GetVersion returns the value of Version.

func (*GlobalHealthOK) MarshalJSON

func (s *GlobalHealthOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GlobalHealthOK) SetHealthy

func (s *GlobalHealthOK) SetHealthy(val GlobalHealthOKHealthy)

SetHealthy sets the value of Healthy.

func (*GlobalHealthOK) SetVersion

func (s *GlobalHealthOK) SetVersion(val string)

SetVersion sets the value of Version.

func (*GlobalHealthOK) UnmarshalJSON

func (s *GlobalHealthOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GlobalHealthOK) Validate

func (s *GlobalHealthOK) Validate() error

type GlobalHealthOKHealthy

type GlobalHealthOKHealthy bool
const (
	GlobalHealthOKHealthyTrue GlobalHealthOKHealthy = true
)

func (GlobalHealthOKHealthy) AllValues

AllValues returns all GlobalHealthOKHealthy values.

func (*GlobalHealthOKHealthy) Decode

func (s *GlobalHealthOKHealthy) Decode(d *jx.Decoder) error

Decode decodes GlobalHealthOKHealthy from json.

func (GlobalHealthOKHealthy) Encode

func (s GlobalHealthOKHealthy) Encode(e *jx.Encoder)

Encode encodes GlobalHealthOKHealthy as json.

func (GlobalHealthOKHealthy) MarshalJSON

func (s GlobalHealthOKHealthy) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GlobalHealthOKHealthy) UnmarshalJSON

func (s *GlobalHealthOKHealthy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (GlobalHealthOKHealthy) Validate

func (s GlobalHealthOKHealthy) Validate() error

type GlobalHealthRes

type GlobalHealthRes interface {
	// contains filtered or unexported methods
}

type GlobalSession

type GlobalSession struct {
	ID          string                  `json:"id"`
	Slug        string                  `json:"slug"`
	ProjectID   string                  `json:"projectID"`
	WorkspaceID OptString               `json:"workspaceID"`
	Directory   string                  `json:"directory"`
	Path        OptString               `json:"path"`
	ParentID    OptString               `json:"parentID"`
	Summary     OptGlobalSessionSummary `json:"summary"`
	Cost        OptFloat64              `json:"cost"`
	Tokens      OptGlobalSessionTokens  `json:"tokens"`
	Share       OptGlobalSessionShare   `json:"share"`
	Title       string                  `json:"title"`
	Agent       OptString               `json:"agent"`
	Model       OptGlobalSessionModel   `json:"model"`
	Version     string                  `json:"version"`
	Metadata    *GlobalSessionMetadata  `json:"metadata"`
	Time        GlobalSessionTime       `json:"time"`
	Permission  PermissionRuleset       `json:"permission"`
	Revert      OptGlobalSessionRevert  `json:"revert"`
	Project     NilProjectSummary       `json:"project"`
}

Ref: #/components/schemas/GlobalSession

func (*GlobalSession) Decode

func (s *GlobalSession) Decode(d *jx.Decoder) error

Decode decodes GlobalSession from json.

func (*GlobalSession) Encode

func (s *GlobalSession) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GlobalSession) GetAgent

func (s *GlobalSession) GetAgent() OptString

GetAgent returns the value of Agent.

func (*GlobalSession) GetCost

func (s *GlobalSession) GetCost() OptFloat64

GetCost returns the value of Cost.

func (*GlobalSession) GetDirectory

func (s *GlobalSession) GetDirectory() string

GetDirectory returns the value of Directory.

func (*GlobalSession) GetID

func (s *GlobalSession) GetID() string

GetID returns the value of ID.

func (*GlobalSession) GetMetadata

func (s *GlobalSession) GetMetadata() *GlobalSessionMetadata

GetMetadata returns the value of Metadata.

func (*GlobalSession) GetModel

func (s *GlobalSession) GetModel() OptGlobalSessionModel

GetModel returns the value of Model.

func (*GlobalSession) GetParentID

func (s *GlobalSession) GetParentID() OptString

GetParentID returns the value of ParentID.

func (*GlobalSession) GetPath

func (s *GlobalSession) GetPath() OptString

GetPath returns the value of Path.

func (*GlobalSession) GetPermission

func (s *GlobalSession) GetPermission() PermissionRuleset

GetPermission returns the value of Permission.

func (*GlobalSession) GetProject

func (s *GlobalSession) GetProject() NilProjectSummary

GetProject returns the value of Project.

func (*GlobalSession) GetProjectID

func (s *GlobalSession) GetProjectID() string

GetProjectID returns the value of ProjectID.

func (*GlobalSession) GetRevert

func (s *GlobalSession) GetRevert() OptGlobalSessionRevert

GetRevert returns the value of Revert.

func (*GlobalSession) GetShare

func (s *GlobalSession) GetShare() OptGlobalSessionShare

GetShare returns the value of Share.

func (*GlobalSession) GetSlug

func (s *GlobalSession) GetSlug() string

GetSlug returns the value of Slug.

func (*GlobalSession) GetSummary

func (s *GlobalSession) GetSummary() OptGlobalSessionSummary

GetSummary returns the value of Summary.

func (*GlobalSession) GetTime

func (s *GlobalSession) GetTime() GlobalSessionTime

GetTime returns the value of Time.

func (*GlobalSession) GetTitle

func (s *GlobalSession) GetTitle() string

GetTitle returns the value of Title.

func (*GlobalSession) GetTokens

func (s *GlobalSession) GetTokens() OptGlobalSessionTokens

GetTokens returns the value of Tokens.

func (*GlobalSession) GetVersion

func (s *GlobalSession) GetVersion() string

GetVersion returns the value of Version.

func (*GlobalSession) GetWorkspaceID

func (s *GlobalSession) GetWorkspaceID() OptString

GetWorkspaceID returns the value of WorkspaceID.

func (*GlobalSession) MarshalJSON

func (s *GlobalSession) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GlobalSession) SetAgent

func (s *GlobalSession) SetAgent(val OptString)

SetAgent sets the value of Agent.

func (*GlobalSession) SetCost

func (s *GlobalSession) SetCost(val OptFloat64)

SetCost sets the value of Cost.

func (*GlobalSession) SetDirectory

func (s *GlobalSession) SetDirectory(val string)

SetDirectory sets the value of Directory.

func (*GlobalSession) SetID

func (s *GlobalSession) SetID(val string)

SetID sets the value of ID.

func (*GlobalSession) SetMetadata

func (s *GlobalSession) SetMetadata(val *GlobalSessionMetadata)

SetMetadata sets the value of Metadata.

func (*GlobalSession) SetModel

func (s *GlobalSession) SetModel(val OptGlobalSessionModel)

SetModel sets the value of Model.

func (*GlobalSession) SetParentID

func (s *GlobalSession) SetParentID(val OptString)

SetParentID sets the value of ParentID.

func (*GlobalSession) SetPath

func (s *GlobalSession) SetPath(val OptString)

SetPath sets the value of Path.

func (*GlobalSession) SetPermission

func (s *GlobalSession) SetPermission(val PermissionRuleset)

SetPermission sets the value of Permission.

func (*GlobalSession) SetProject

func (s *GlobalSession) SetProject(val NilProjectSummary)

SetProject sets the value of Project.

func (*GlobalSession) SetProjectID

func (s *GlobalSession) SetProjectID(val string)

SetProjectID sets the value of ProjectID.

func (*GlobalSession) SetRevert

func (s *GlobalSession) SetRevert(val OptGlobalSessionRevert)

SetRevert sets the value of Revert.

func (*GlobalSession) SetShare

func (s *GlobalSession) SetShare(val OptGlobalSessionShare)

SetShare sets the value of Share.

func (*GlobalSession) SetSlug

func (s *GlobalSession) SetSlug(val string)

SetSlug sets the value of Slug.

func (*GlobalSession) SetSummary

func (s *GlobalSession) SetSummary(val OptGlobalSessionSummary)

SetSummary sets the value of Summary.

func (*GlobalSession) SetTime

func (s *GlobalSession) SetTime(val GlobalSessionTime)

SetTime sets the value of Time.

func (*GlobalSession) SetTitle

func (s *GlobalSession) SetTitle(val string)

SetTitle sets the value of Title.

func (*GlobalSession) SetTokens

func (s *GlobalSession) SetTokens(val OptGlobalSessionTokens)

SetTokens sets the value of Tokens.

func (*GlobalSession) SetVersion

func (s *GlobalSession) SetVersion(val string)

SetVersion sets the value of Version.

func (*GlobalSession) SetWorkspaceID

func (s *GlobalSession) SetWorkspaceID(val OptString)

SetWorkspaceID sets the value of WorkspaceID.

func (*GlobalSession) UnmarshalJSON

func (s *GlobalSession) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GlobalSession) Validate

func (s *GlobalSession) Validate() error

type GlobalSessionMetadata

type GlobalSessionMetadata struct{}

func (*GlobalSessionMetadata) Decode

func (s *GlobalSessionMetadata) Decode(d *jx.Decoder) error

Decode decodes GlobalSessionMetadata from json.

func (*GlobalSessionMetadata) Encode

func (s *GlobalSessionMetadata) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GlobalSessionMetadata) MarshalJSON

func (s *GlobalSessionMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GlobalSessionMetadata) UnmarshalJSON

func (s *GlobalSessionMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GlobalSessionModel

type GlobalSessionModel struct {
	ID         string    `json:"id"`
	ProviderID string    `json:"providerID"`
	Variant    OptString `json:"variant"`
}

func (*GlobalSessionModel) Decode

func (s *GlobalSessionModel) Decode(d *jx.Decoder) error

Decode decodes GlobalSessionModel from json.

func (*GlobalSessionModel) Encode

func (s *GlobalSessionModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GlobalSessionModel) GetID

func (s *GlobalSessionModel) GetID() string

GetID returns the value of ID.

func (*GlobalSessionModel) GetProviderID

func (s *GlobalSessionModel) GetProviderID() string

GetProviderID returns the value of ProviderID.

func (*GlobalSessionModel) GetVariant

func (s *GlobalSessionModel) GetVariant() OptString

GetVariant returns the value of Variant.

func (*GlobalSessionModel) MarshalJSON

func (s *GlobalSessionModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GlobalSessionModel) SetID

func (s *GlobalSessionModel) SetID(val string)

SetID sets the value of ID.

func (*GlobalSessionModel) SetProviderID

func (s *GlobalSessionModel) SetProviderID(val string)

SetProviderID sets the value of ProviderID.

func (*GlobalSessionModel) SetVariant

func (s *GlobalSessionModel) SetVariant(val OptString)

SetVariant sets the value of Variant.

func (*GlobalSessionModel) UnmarshalJSON

func (s *GlobalSessionModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GlobalSessionRevert

type GlobalSessionRevert struct {
	MessageID string    `json:"messageID"`
	PartID    OptString `json:"partID"`
	Snapshot  OptString `json:"snapshot"`
	Diff      OptString `json:"diff"`
}

func (*GlobalSessionRevert) Decode

func (s *GlobalSessionRevert) Decode(d *jx.Decoder) error

Decode decodes GlobalSessionRevert from json.

func (*GlobalSessionRevert) Encode

func (s *GlobalSessionRevert) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GlobalSessionRevert) GetDiff

func (s *GlobalSessionRevert) GetDiff() OptString

GetDiff returns the value of Diff.

func (*GlobalSessionRevert) GetMessageID

func (s *GlobalSessionRevert) GetMessageID() string

GetMessageID returns the value of MessageID.

func (*GlobalSessionRevert) GetPartID

func (s *GlobalSessionRevert) GetPartID() OptString

GetPartID returns the value of PartID.

func (*GlobalSessionRevert) GetSnapshot

func (s *GlobalSessionRevert) GetSnapshot() OptString

GetSnapshot returns the value of Snapshot.

func (*GlobalSessionRevert) MarshalJSON

func (s *GlobalSessionRevert) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GlobalSessionRevert) SetDiff

func (s *GlobalSessionRevert) SetDiff(val OptString)

SetDiff sets the value of Diff.

func (*GlobalSessionRevert) SetMessageID

func (s *GlobalSessionRevert) SetMessageID(val string)

SetMessageID sets the value of MessageID.

func (*GlobalSessionRevert) SetPartID

func (s *GlobalSessionRevert) SetPartID(val OptString)

SetPartID sets the value of PartID.

func (*GlobalSessionRevert) SetSnapshot

func (s *GlobalSessionRevert) SetSnapshot(val OptString)

SetSnapshot sets the value of Snapshot.

func (*GlobalSessionRevert) UnmarshalJSON

func (s *GlobalSessionRevert) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GlobalSessionRevert) Validate

func (s *GlobalSessionRevert) Validate() error

type GlobalSessionShare

type GlobalSessionShare struct {
	URL string `json:"url"`
}

func (*GlobalSessionShare) Decode

func (s *GlobalSessionShare) Decode(d *jx.Decoder) error

Decode decodes GlobalSessionShare from json.

func (*GlobalSessionShare) Encode

func (s *GlobalSessionShare) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GlobalSessionShare) GetURL

func (s *GlobalSessionShare) GetURL() string

GetURL returns the value of URL.

func (*GlobalSessionShare) MarshalJSON

func (s *GlobalSessionShare) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GlobalSessionShare) SetURL

func (s *GlobalSessionShare) SetURL(val string)

SetURL sets the value of URL.

func (*GlobalSessionShare) UnmarshalJSON

func (s *GlobalSessionShare) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GlobalSessionSummary

type GlobalSessionSummary struct {
	Additions float64            `json:"additions"`
	Deletions float64            `json:"deletions"`
	Files     float64            `json:"files"`
	Diffs     []SnapshotFileDiff `json:"diffs"`
}

func (*GlobalSessionSummary) Decode

func (s *GlobalSessionSummary) Decode(d *jx.Decoder) error

Decode decodes GlobalSessionSummary from json.

func (*GlobalSessionSummary) Encode

func (s *GlobalSessionSummary) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GlobalSessionSummary) GetAdditions

func (s *GlobalSessionSummary) GetAdditions() float64

GetAdditions returns the value of Additions.

func (*GlobalSessionSummary) GetDeletions

func (s *GlobalSessionSummary) GetDeletions() float64

GetDeletions returns the value of Deletions.

func (*GlobalSessionSummary) GetDiffs

func (s *GlobalSessionSummary) GetDiffs() []SnapshotFileDiff

GetDiffs returns the value of Diffs.

func (*GlobalSessionSummary) GetFiles

func (s *GlobalSessionSummary) GetFiles() float64

GetFiles returns the value of Files.

func (*GlobalSessionSummary) MarshalJSON

func (s *GlobalSessionSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GlobalSessionSummary) SetAdditions

func (s *GlobalSessionSummary) SetAdditions(val float64)

SetAdditions sets the value of Additions.

func (*GlobalSessionSummary) SetDeletions

func (s *GlobalSessionSummary) SetDeletions(val float64)

SetDeletions sets the value of Deletions.

func (*GlobalSessionSummary) SetDiffs

func (s *GlobalSessionSummary) SetDiffs(val []SnapshotFileDiff)

SetDiffs sets the value of Diffs.

func (*GlobalSessionSummary) SetFiles

func (s *GlobalSessionSummary) SetFiles(val float64)

SetFiles sets the value of Files.

func (*GlobalSessionSummary) UnmarshalJSON

func (s *GlobalSessionSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GlobalSessionSummary) Validate

func (s *GlobalSessionSummary) Validate() error

type GlobalSessionTime

type GlobalSessionTime struct {
	Created    int        `json:"created"`
	Updated    int        `json:"updated"`
	Compacting OptInt     `json:"compacting"`
	Archived   OptFloat64 `json:"archived"`
}

func (*GlobalSessionTime) Decode

func (s *GlobalSessionTime) Decode(d *jx.Decoder) error

Decode decodes GlobalSessionTime from json.

func (*GlobalSessionTime) Encode

func (s *GlobalSessionTime) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GlobalSessionTime) GetArchived

func (s *GlobalSessionTime) GetArchived() OptFloat64

GetArchived returns the value of Archived.

func (*GlobalSessionTime) GetCompacting

func (s *GlobalSessionTime) GetCompacting() OptInt

GetCompacting returns the value of Compacting.

func (*GlobalSessionTime) GetCreated

func (s *GlobalSessionTime) GetCreated() int

GetCreated returns the value of Created.

func (*GlobalSessionTime) GetUpdated

func (s *GlobalSessionTime) GetUpdated() int

GetUpdated returns the value of Updated.

func (*GlobalSessionTime) MarshalJSON

func (s *GlobalSessionTime) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GlobalSessionTime) SetArchived

func (s *GlobalSessionTime) SetArchived(val OptFloat64)

SetArchived sets the value of Archived.

func (*GlobalSessionTime) SetCompacting

func (s *GlobalSessionTime) SetCompacting(val OptInt)

SetCompacting sets the value of Compacting.

func (*GlobalSessionTime) SetCreated

func (s *GlobalSessionTime) SetCreated(val int)

SetCreated sets the value of Created.

func (*GlobalSessionTime) SetUpdated

func (s *GlobalSessionTime) SetUpdated(val int)

SetUpdated sets the value of Updated.

func (*GlobalSessionTime) UnmarshalJSON

func (s *GlobalSessionTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GlobalSessionTime) Validate

func (s *GlobalSessionTime) Validate() error

type GlobalSessionTokens

type GlobalSessionTokens struct {
	Input     float64                  `json:"input"`
	Output    float64                  `json:"output"`
	Reasoning float64                  `json:"reasoning"`
	Cache     GlobalSessionTokensCache `json:"cache"`
}

func (*GlobalSessionTokens) Decode

func (s *GlobalSessionTokens) Decode(d *jx.Decoder) error

Decode decodes GlobalSessionTokens from json.

func (*GlobalSessionTokens) Encode

func (s *GlobalSessionTokens) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GlobalSessionTokens) GetCache

GetCache returns the value of Cache.

func (*GlobalSessionTokens) GetInput

func (s *GlobalSessionTokens) GetInput() float64

GetInput returns the value of Input.

func (*GlobalSessionTokens) GetOutput

func (s *GlobalSessionTokens) GetOutput() float64

GetOutput returns the value of Output.

func (*GlobalSessionTokens) GetReasoning

func (s *GlobalSessionTokens) GetReasoning() float64

GetReasoning returns the value of Reasoning.

func (*GlobalSessionTokens) MarshalJSON

func (s *GlobalSessionTokens) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GlobalSessionTokens) SetCache

SetCache sets the value of Cache.

func (*GlobalSessionTokens) SetInput

func (s *GlobalSessionTokens) SetInput(val float64)

SetInput sets the value of Input.

func (*GlobalSessionTokens) SetOutput

func (s *GlobalSessionTokens) SetOutput(val float64)

SetOutput sets the value of Output.

func (*GlobalSessionTokens) SetReasoning

func (s *GlobalSessionTokens) SetReasoning(val float64)

SetReasoning sets the value of Reasoning.

func (*GlobalSessionTokens) UnmarshalJSON

func (s *GlobalSessionTokens) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GlobalSessionTokens) Validate

func (s *GlobalSessionTokens) Validate() error

type GlobalSessionTokensCache

type GlobalSessionTokensCache struct {
	Read  float64 `json:"read"`
	Write float64 `json:"write"`
}

func (*GlobalSessionTokensCache) Decode

func (s *GlobalSessionTokensCache) Decode(d *jx.Decoder) error

Decode decodes GlobalSessionTokensCache from json.

func (*GlobalSessionTokensCache) Encode

func (s *GlobalSessionTokensCache) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GlobalSessionTokensCache) GetRead

func (s *GlobalSessionTokensCache) GetRead() float64

GetRead returns the value of Read.

func (*GlobalSessionTokensCache) GetWrite

func (s *GlobalSessionTokensCache) GetWrite() float64

GetWrite returns the value of Write.

func (*GlobalSessionTokensCache) MarshalJSON

func (s *GlobalSessionTokensCache) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GlobalSessionTokensCache) SetRead

func (s *GlobalSessionTokensCache) SetRead(val float64)

SetRead sets the value of Read.

func (*GlobalSessionTokensCache) SetWrite

func (s *GlobalSessionTokensCache) SetWrite(val float64)

SetWrite sets the value of Write.

func (*GlobalSessionTokensCache) UnmarshalJSON

func (s *GlobalSessionTokensCache) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GlobalSessionTokensCache) Validate

func (s *GlobalSessionTokensCache) Validate() error

type InstanceDisposeOKApplicationJSON

type InstanceDisposeOKApplicationJSON bool

func (*InstanceDisposeOKApplicationJSON) Decode

Decode decodes InstanceDisposeOKApplicationJSON from json.

func (InstanceDisposeOKApplicationJSON) Encode

Encode encodes InstanceDisposeOKApplicationJSON as json.

func (InstanceDisposeOKApplicationJSON) MarshalJSON

func (s InstanceDisposeOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*InstanceDisposeOKApplicationJSON) UnmarshalJSON

func (s *InstanceDisposeOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type InstanceDisposeParams

type InstanceDisposeParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

InstanceDisposeParams is parameters of instance.dispose operation.

type InstanceDisposeRes

type InstanceDisposeRes interface {
	// contains filtered or unexported methods
}

type InvalidRequestError

type InvalidRequestError struct {
	Tag     InvalidRequestErrorTag `json:"_tag"`
	Message string                 `json:"message"`
	Kind    OptString              `json:"kind"`
	Field   OptString              `json:"field"`
}

Ref: #/components/schemas/InvalidRequestError

func (*InvalidRequestError) Decode

func (s *InvalidRequestError) Decode(d *jx.Decoder) error

Decode decodes InvalidRequestError from json.

func (*InvalidRequestError) Encode

func (s *InvalidRequestError) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*InvalidRequestError) GetField

func (s *InvalidRequestError) GetField() OptString

GetField returns the value of Field.

func (*InvalidRequestError) GetKind

func (s *InvalidRequestError) GetKind() OptString

GetKind returns the value of Kind.

func (*InvalidRequestError) GetMessage

func (s *InvalidRequestError) GetMessage() string

GetMessage returns the value of Message.

func (*InvalidRequestError) GetTag

GetTag returns the value of Tag.

func (*InvalidRequestError) MarshalJSON

func (s *InvalidRequestError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*InvalidRequestError) SetField

func (s *InvalidRequestError) SetField(val OptString)

SetField sets the value of Field.

func (*InvalidRequestError) SetKind

func (s *InvalidRequestError) SetKind(val OptString)

SetKind sets the value of Kind.

func (*InvalidRequestError) SetMessage

func (s *InvalidRequestError) SetMessage(val string)

SetMessage sets the value of Message.

func (*InvalidRequestError) SetTag

SetTag sets the value of Tag.

func (*InvalidRequestError) UnmarshalJSON

func (s *InvalidRequestError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InvalidRequestError) Validate

func (s *InvalidRequestError) Validate() error

type InvalidRequestErrorTag

type InvalidRequestErrorTag string
const (
	InvalidRequestErrorTagInvalidRequestError InvalidRequestErrorTag = "InvalidRequestError"
)

func (InvalidRequestErrorTag) AllValues

AllValues returns all InvalidRequestErrorTag values.

func (*InvalidRequestErrorTag) Decode

func (s *InvalidRequestErrorTag) Decode(d *jx.Decoder) error

Decode decodes InvalidRequestErrorTag from json.

func (InvalidRequestErrorTag) Encode

func (s InvalidRequestErrorTag) Encode(e *jx.Encoder)

Encode encodes InvalidRequestErrorTag as json.

func (InvalidRequestErrorTag) MarshalJSON

func (s InvalidRequestErrorTag) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (InvalidRequestErrorTag) MarshalText

func (s InvalidRequestErrorTag) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*InvalidRequestErrorTag) UnmarshalJSON

func (s *InvalidRequestErrorTag) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InvalidRequestErrorTag) UnmarshalText

func (s *InvalidRequestErrorTag) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (InvalidRequestErrorTag) Validate

func (s InvalidRequestErrorTag) Validate() error

type Invoker

type Invoker interface {
	// AppAgents invokes app.agents operation.
	//
	// Get a list of all available AI agents in the OpenCode system.
	//
	// GET /agent
	AppAgents(ctx context.Context, params AppAgentsParams, options ...RequestOption) (AppAgentsRes, error)
	// AppSkills invokes app.skills operation.
	//
	// Get a list of all available skills in the OpenCode system.
	//
	// GET /skill
	AppSkills(ctx context.Context, params AppSkillsParams, options ...RequestOption) (AppSkillsRes, error)
	// CommandList invokes command.list operation.
	//
	// Get a list of all available commands in the OpenCode system.
	//
	// GET /command
	CommandList(ctx context.Context, params CommandListParams, options ...RequestOption) (CommandListRes, error)
	// ConfigProviders invokes config.providers operation.
	//
	// Get a list of all configured AI providers and their default models.
	//
	// GET /config/providers
	ConfigProviders(ctx context.Context, params ConfigProvidersParams, options ...RequestOption) (ConfigProvidersRes, error)
	// ExperimentalCapabilitiesGet invokes experimental.capabilities.get operation.
	//
	// Get experimental features enabled on the OpenCode server.
	//
	// GET /experimental/capabilities
	ExperimentalCapabilitiesGet(ctx context.Context, params ExperimentalCapabilitiesGetParams, options ...RequestOption) (ExperimentalCapabilitiesGetRes, error)
	// ExperimentalConsoleGet invokes experimental.console.get operation.
	//
	// Get the active Console org name and the set of provider IDs managed by that Console org.
	//
	// GET /experimental/console
	ExperimentalConsoleGet(ctx context.Context, params ExperimentalConsoleGetParams, options ...RequestOption) (ExperimentalConsoleGetRes, error)
	// ExperimentalConsoleListOrgs invokes experimental.console.listOrgs operation.
	//
	// Get the available Console orgs across logged-in accounts, including the current active org.
	//
	// GET /experimental/console/orgs
	ExperimentalConsoleListOrgs(ctx context.Context, params ExperimentalConsoleListOrgsParams, options ...RequestOption) (ExperimentalConsoleListOrgsRes, error)
	// ExperimentalConsoleSwitchOrg invokes experimental.console.switchOrg operation.
	//
	// Persist a new active Console account/org selection for the current local OpenCode state.
	//
	// POST /experimental/console/switch
	ExperimentalConsoleSwitchOrg(ctx context.Context, request OptExperimentalConsoleSwitchOrgReq, params ExperimentalConsoleSwitchOrgParams, options ...RequestOption) (bool, error)
	// ExperimentalProjectCopyGenerateName invokes experimental.projectCopy.generateName operation.
	//
	// Generate a short name for a project copy from task context.
	//
	// POST /experimental/project/{projectID}/copy/generate-name
	ExperimentalProjectCopyGenerateName(ctx context.Context, request OptExperimentalProjectCopyGenerateNameReq, params ExperimentalProjectCopyGenerateNameParams, options ...RequestOption) (ExperimentalProjectCopyGenerateNameRes, error)
	// ExperimentalResourceList invokes experimental.resource.list operation.
	//
	// Get all available MCP resources from connected servers. Optionally filter by name.
	//
	// GET /experimental/resource
	ExperimentalResourceList(ctx context.Context, params ExperimentalResourceListParams, options ...RequestOption) (ExperimentalResourceListRes, error)
	// ExperimentalSessionList invokes experimental.session.list operation.
	//
	// Get a list of all OpenCode sessions across projects, sorted by most recently updated. Archived
	// sessions are excluded by default.
	//
	// GET /experimental/session
	ExperimentalSessionList(ctx context.Context, params ExperimentalSessionListParams, options ...RequestOption) (ExperimentalSessionListRes, error)
	// ExperimentalWorkspaceAdapterList invokes experimental.workspace.adapter.list operation.
	//
	// List all available workspace adapters for the current project.
	//
	// GET /experimental/workspace/adapter
	ExperimentalWorkspaceAdapterList(ctx context.Context, params ExperimentalWorkspaceAdapterListParams, options ...RequestOption) (ExperimentalWorkspaceAdapterListRes, error)
	// ExperimentalWorkspaceStatus invokes experimental.workspace.status operation.
	//
	// Get connection status for workspaces in the current project.
	//
	// GET /experimental/workspace/status
	ExperimentalWorkspaceStatus(ctx context.Context, params ExperimentalWorkspaceStatusParams, options ...RequestOption) (ExperimentalWorkspaceStatusRes, error)
	// ExperimentalWorkspaceSyncList invokes experimental.workspace.syncList operation.
	//
	// Register missing workspaces returned by workspace adapters.
	//
	// POST /experimental/workspace/sync-list
	ExperimentalWorkspaceSyncList(ctx context.Context, params ExperimentalWorkspaceSyncListParams, options ...RequestOption) (ExperimentalWorkspaceSyncListRes, error)
	// FileList invokes file.list operation.
	//
	// List files and directories in a specified path.
	//
	// GET /file
	FileList(ctx context.Context, params FileListParams, options ...RequestOption) (FileListRes, error)
	// FileRead invokes file.read operation.
	//
	// Read the content of a specified file.
	//
	// GET /file/content
	FileRead(ctx context.Context, params FileReadParams, options ...RequestOption) (FileReadRes, error)
	// FileStatus invokes file.status operation.
	//
	// Get the git status of all files in the project.
	//
	// GET /file/status
	FileStatus(ctx context.Context, params FileStatusParams, options ...RequestOption) (FileStatusRes, error)
	// FindFiles invokes find.files operation.
	//
	// Search for files or directories by name or pattern in the project directory.
	//
	// GET /find/file
	FindFiles(ctx context.Context, params FindFilesParams, options ...RequestOption) (FindFilesRes, error)
	// FindSymbols invokes find.symbols operation.
	//
	// Search for workspace symbols like functions, classes, and variables using LSP.
	//
	// GET /find/symbol
	FindSymbols(ctx context.Context, params FindSymbolsParams, options ...RequestOption) (FindSymbolsRes, error)
	// FindText invokes find.text operation.
	//
	// Search for text patterns across files in the project using ripgrep.
	//
	// GET /find
	FindText(ctx context.Context, params FindTextParams, options ...RequestOption) (FindTextRes, error)
	// FormatterStatus invokes formatter.status operation.
	//
	// Get formatter status.
	//
	// GET /formatter
	FormatterStatus(ctx context.Context, params FormatterStatusParams, options ...RequestOption) (FormatterStatusRes, error)
	// GlobalDispose invokes global.dispose operation.
	//
	// Clean up and dispose all OpenCode instances, releasing all resources.
	//
	// POST /global/dispose
	GlobalDispose(ctx context.Context, options ...RequestOption) (GlobalDisposeRes, error)
	// GlobalHealth invokes global.health operation.
	//
	// Get health information about the OpenCode server.
	//
	// GET /global/health
	GlobalHealth(ctx context.Context, options ...RequestOption) (GlobalHealthRes, error)
	// InstanceDispose invokes instance.dispose operation.
	//
	// Clean up and dispose the current OpenCode instance, releasing all resources.
	//
	// POST /instance/dispose
	InstanceDispose(ctx context.Context, params InstanceDisposeParams, options ...RequestOption) (InstanceDisposeRes, error)
	// LspStatus invokes lsp.status operation.
	//
	// Get LSP server status.
	//
	// GET /lsp
	LspStatus(ctx context.Context, params LspStatusParams, options ...RequestOption) (LspStatusRes, error)
	// McpAuthRemove invokes mcp.auth.remove operation.
	//
	// Remove OAuth credentials for an MCP server.
	//
	// DELETE /mcp/{name}/auth
	McpAuthRemove(ctx context.Context, params McpAuthRemoveParams, options ...RequestOption) (McpAuthRemoveRes, error)
	// McpConnect invokes mcp.connect operation.
	//
	// Connect an MCP server.
	//
	// POST /mcp/{name}/connect
	McpConnect(ctx context.Context, params McpConnectParams, options ...RequestOption) (McpConnectRes, error)
	// McpDisconnect invokes mcp.disconnect operation.
	//
	// Disconnect an MCP server.
	//
	// POST /mcp/{name}/disconnect
	McpDisconnect(ctx context.Context, params McpDisconnectParams, options ...RequestOption) (McpDisconnectRes, error)
	// PathGet invokes path.get operation.
	//
	// Retrieve the current working directory and related path information for the OpenCode instance.
	//
	// GET /path
	PathGet(ctx context.Context, params PathGetParams, options ...RequestOption) (PathGetRes, error)
	// PermissionList invokes permission.list operation.
	//
	// Get all pending permission requests across all sessions.
	//
	// GET /permission
	PermissionList(ctx context.Context, params PermissionListParams, options ...RequestOption) (PermissionListRes, error)
	// ProjectCurrent invokes project.current operation.
	//
	// Retrieve the currently active project that OpenCode is working with.
	//
	// GET /project/current
	ProjectCurrent(ctx context.Context, params ProjectCurrentParams, options ...RequestOption) (ProjectCurrentRes, error)
	// ProjectDirectories invokes project.directories operation.
	//
	// List known local absolute directories for a project.
	//
	// GET /project/{projectID}/directories
	ProjectDirectories(ctx context.Context, params ProjectDirectoriesParams, options ...RequestOption) (ProjectDirectoriesRes, error)
	// ProjectInitGit invokes project.initGit operation.
	//
	// Create a git repository for the current project and return the refreshed project info.
	//
	// POST /project/git/init
	ProjectInitGit(ctx context.Context, params ProjectInitGitParams, options ...RequestOption) (ProjectInitGitRes, error)
	// ProjectList invokes project.list operation.
	//
	// Get a list of projects that have been opened with OpenCode.
	//
	// GET /project
	ProjectList(ctx context.Context, params ProjectListParams, options ...RequestOption) (ProjectListRes, error)
	// ProviderList invokes provider.list operation.
	//
	// Get a list of all available AI providers, including both available and connected ones.
	//
	// GET /provider
	ProviderList(ctx context.Context, params ProviderListParams, options ...RequestOption) (ProviderListRes, error)
	// PtyConnect invokes pty.connect operation.
	//
	// Establish a WebSocket connection to interact with a pseudo-terminal (PTY) session in real-time.
	//
	// GET /pty/{ptyID}/connect
	PtyConnect(ctx context.Context, params PtyConnectParams, options ...RequestOption) (PtyConnectRes, error)
	// PtyConnectToken invokes pty.connectToken operation.
	//
	// Create a short-lived ticket for opening a PTY WebSocket connection.
	//
	// POST /pty/{ptyID}/connect-token
	PtyConnectToken(ctx context.Context, params PtyConnectTokenParams, options ...RequestOption) (PtyConnectTokenRes, error)
	// PtyGet invokes pty.get operation.
	//
	// Retrieve detailed information about a specific pseudo-terminal (PTY) session.
	//
	// GET /pty/{ptyID}
	PtyGet(ctx context.Context, params PtyGetParams, options ...RequestOption) (PtyGetRes, error)
	// PtyList invokes pty.list operation.
	//
	// Get a list of all active pseudo-terminal (PTY) sessions managed by OpenCode.
	//
	// GET /pty
	PtyList(ctx context.Context, params PtyListParams, options ...RequestOption) (PtyListRes, error)
	// PtyRemove invokes pty.remove operation.
	//
	// Remove and terminate a specific pseudo-terminal (PTY) session.
	//
	// DELETE /pty/{ptyID}
	PtyRemove(ctx context.Context, params PtyRemoveParams, options ...RequestOption) (PtyRemoveRes, error)
	// PtyShells invokes pty.shells operation.
	//
	// Get a list of available shells on the system.
	//
	// GET /pty/shells
	PtyShells(ctx context.Context, params PtyShellsParams, options ...RequestOption) (PtyShellsRes, error)
	// QuestionList invokes question.list operation.
	//
	// Get all pending question requests across all sessions.
	//
	// GET /question
	QuestionList(ctx context.Context, params QuestionListParams, options ...RequestOption) (QuestionListRes, error)
	// SessionDiff invokes session.diff operation.
	//
	// Get the file changes (diff) that resulted from a specific user message in the session.
	//
	// GET /session/{sessionID}/diff
	SessionDiff(ctx context.Context, params SessionDiffParams, options ...RequestOption) (SessionDiffRes, error)
	// SessionList invokes session.list operation.
	//
	// Get a list of all OpenCode sessions, sorted by most recently updated.
	//
	// GET /session
	SessionList(ctx context.Context, params SessionListParams, options ...RequestOption) (SessionListRes, error)
	// SessionShare invokes session.share operation.
	//
	// Create a shareable link for a session, allowing others to view the conversation.
	//
	// POST /session/{sessionID}/share
	SessionShare(ctx context.Context, params SessionShareParams, options ...RequestOption) (SessionShareRes, error)
	// SessionUnshare invokes session.unshare operation.
	//
	// Remove the shareable link for a session, making it private again.
	//
	// DELETE /session/{sessionID}/share
	SessionUnshare(ctx context.Context, params SessionUnshareParams, options ...RequestOption) (SessionUnshareRes, error)
	// SyncStart invokes sync.start operation.
	//
	// Start sync loops for workspaces in the current project that have active sessions.
	//
	// POST /sync/start
	SyncStart(ctx context.Context, params SyncStartParams, options ...RequestOption) (SyncStartRes, error)
	// TuiClearPrompt invokes tui.clearPrompt operation.
	//
	// Clear the prompt.
	//
	// POST /tui/clear-prompt
	TuiClearPrompt(ctx context.Context, params TuiClearPromptParams, options ...RequestOption) (TuiClearPromptRes, error)
	// TuiControlNext invokes tui.control.next operation.
	//
	// Retrieve the next TUI request from the queue for processing.
	//
	// GET /tui/control/next
	TuiControlNext(ctx context.Context, params TuiControlNextParams, options ...RequestOption) (TuiControlNextRes, error)
	// TuiControlResponse invokes tui.control.response operation.
	//
	// Submit a response to the TUI request queue to complete a pending request.
	//
	// POST /tui/control/response
	TuiControlResponse(ctx context.Context, request jx.Raw, params TuiControlResponseParams, options ...RequestOption) (TuiControlResponseRes, error)
	// TuiOpenHelp invokes tui.openHelp operation.
	//
	// Open the help dialog in the TUI to display user assistance information.
	//
	// POST /tui/open-help
	TuiOpenHelp(ctx context.Context, params TuiOpenHelpParams, options ...RequestOption) (TuiOpenHelpRes, error)
	// TuiOpenModels invokes tui.openModels operation.
	//
	// Open the model dialog.
	//
	// POST /tui/open-models
	TuiOpenModels(ctx context.Context, params TuiOpenModelsParams, options ...RequestOption) (TuiOpenModelsRes, error)
	// TuiOpenSessions invokes tui.openSessions operation.
	//
	// Open the session dialog.
	//
	// POST /tui/open-sessions
	TuiOpenSessions(ctx context.Context, params TuiOpenSessionsParams, options ...RequestOption) (TuiOpenSessionsRes, error)
	// TuiOpenThemes invokes tui.openThemes operation.
	//
	// Open the theme dialog.
	//
	// POST /tui/open-themes
	TuiOpenThemes(ctx context.Context, params TuiOpenThemesParams, options ...RequestOption) (TuiOpenThemesRes, error)
	// TuiShowToast invokes tui.showToast operation.
	//
	// Show a toast notification in the TUI.
	//
	// POST /tui/show-toast
	TuiShowToast(ctx context.Context, request OptTuiShowToastReq, params TuiShowToastParams, options ...RequestOption) (TuiShowToastRes, error)
	// TuiSubmitPrompt invokes tui.submitPrompt operation.
	//
	// Submit the prompt.
	//
	// POST /tui/submit-prompt
	TuiSubmitPrompt(ctx context.Context, params TuiSubmitPromptParams, options ...RequestOption) (TuiSubmitPromptRes, error)
	// V2CommandList invokes v2.command.list operation.
	//
	// Retrieve currently registered commands.
	//
	// GET /api/command
	V2CommandList(ctx context.Context, params V2CommandListParams, options ...RequestOption) (V2CommandListRes, error)
	// V2CredentialRemove invokes v2.credential.remove operation.
	//
	// Remove a stored integration credential.
	//
	// DELETE /api/credential/{credentialID}
	V2CredentialRemove(ctx context.Context, params V2CredentialRemoveParams, options ...RequestOption) (V2CredentialRemoveRes, error)
	// V2CredentialUpdate invokes v2.credential.update operation.
	//
	// Update a stored credential label.
	//
	// PATCH /api/credential/{credentialID}
	V2CredentialUpdate(ctx context.Context, request *V2CredentialUpdateReq, params V2CredentialUpdateParams, options ...RequestOption) (V2CredentialUpdateRes, error)
	// V2FsFind invokes v2.fs.find operation.
	//
	// Find recursively ranked filesystem entries relative to the requested location.
	//
	// GET /api/fs/find
	V2FsFind(ctx context.Context, params V2FsFindParams, options ...RequestOption) (V2FsFindRes, error)
	// V2FsList invokes v2.fs.list operation.
	//
	// List direct children of one directory relative to the requested location.
	//
	// GET /api/fs/list
	V2FsList(ctx context.Context, params V2FsListParams, options ...RequestOption) (V2FsListRes, error)
	// V2FsRead invokes v2.fs.read operation.
	//
	// Serve one file relative to the requested location.
	//
	// GET /api/fs/read/*
	V2FsRead(ctx context.Context, params V2FsReadParams, options ...RequestOption) (V2FsReadRes, error)
	// V2HealthGet invokes v2.health.get operation.
	//
	// Check whether the API server is ready to accept requests.
	//
	// GET /api/health
	V2HealthGet(ctx context.Context, options ...RequestOption) (V2HealthGetRes, error)
	// V2IntegrationAttemptCancel invokes v2.integration.attempt.cancel operation.
	//
	// Cancel an OAuth attempt and release its resources.
	//
	// DELETE /api/integration/attempt/{attemptID}
	V2IntegrationAttemptCancel(ctx context.Context, params V2IntegrationAttemptCancelParams, options ...RequestOption) (V2IntegrationAttemptCancelRes, error)
	// V2LocationGet invokes v2.location.get operation.
	//
	// Resolve the requested location or the server default location.
	//
	// GET /api/location
	V2LocationGet(ctx context.Context, params V2LocationGetParams, options ...RequestOption) (V2LocationGetRes, error)
	// V2PermissionRequestList invokes v2.permission.request.list operation.
	//
	// Retrieve pending permission requests for a location.
	//
	// GET /api/permission/request
	V2PermissionRequestList(ctx context.Context, params V2PermissionRequestListParams, options ...RequestOption) (V2PermissionRequestListRes, error)
	// V2PermissionSavedList invokes v2.permission.saved.list operation.
	//
	// Retrieve saved permissions, optionally filtered by project.
	//
	// GET /api/permission/saved
	V2PermissionSavedList(ctx context.Context, params V2PermissionSavedListParams, options ...RequestOption) (V2PermissionSavedListRes, error)
	// V2PermissionSavedRemove invokes v2.permission.saved.remove operation.
	//
	// Remove a saved permission by ID.
	//
	// DELETE /api/permission/saved/{id}
	V2PermissionSavedRemove(ctx context.Context, params V2PermissionSavedRemoveParams, options ...RequestOption) (V2PermissionSavedRemoveRes, error)
	// V2PtyConnect invokes v2.pty.connect operation.
	//
	// Establish a WebSocket connection streaming PTY output and accepting terminal input.
	//
	// GET /api/pty/{ptyID}/connect
	V2PtyConnect(ctx context.Context, params V2PtyConnectParams, options ...RequestOption) (V2PtyConnectRes, error)
	// V2PtyConnectToken invokes v2.pty.connectToken operation.
	//
	// Create a short-lived single-use ticket for opening a PTY WebSocket connection.
	//
	// POST /api/pty/{ptyID}/connect-token
	V2PtyConnectToken(ctx context.Context, params V2PtyConnectTokenParams, options ...RequestOption) (V2PtyConnectTokenRes, error)
	// V2PtyCreate invokes v2.pty.create operation.
	//
	// Create a pseudo-terminal session for a location.
	//
	// POST /api/pty
	V2PtyCreate(ctx context.Context, request *V2PtyCreateReq, params V2PtyCreateParams, options ...RequestOption) (V2PtyCreateRes, error)
	// V2PtyGet invokes v2.pty.get operation.
	//
	// Get one PTY session, including its exit code once exited.
	//
	// GET /api/pty/{ptyID}
	V2PtyGet(ctx context.Context, params V2PtyGetParams, options ...RequestOption) (V2PtyGetRes, error)
	// V2PtyList invokes v2.pty.list operation.
	//
	// List PTY sessions for a location, including exited sessions retained until removal.
	//
	// GET /api/pty
	V2PtyList(ctx context.Context, params V2PtyListParams, options ...RequestOption) (V2PtyListRes, error)
	// V2PtyRemove invokes v2.pty.remove operation.
	//
	// Terminate and remove one PTY session.
	//
	// DELETE /api/pty/{ptyID}
	V2PtyRemove(ctx context.Context, params V2PtyRemoveParams, options ...RequestOption) (V2PtyRemoveRes, error)
	// V2PtyUpdate invokes v2.pty.update operation.
	//
	// Update the title or viewport size of one PTY session.
	//
	// PUT /api/pty/{ptyID}
	V2PtyUpdate(ctx context.Context, request *V2PtyUpdateReq, params V2PtyUpdateParams, options ...RequestOption) (V2PtyUpdateRes, error)
	// V2QuestionRequestList invokes v2.question.request.list operation.
	//
	// Retrieve pending question requests for a location.
	//
	// GET /api/question/request
	V2QuestionRequestList(ctx context.Context, params V2QuestionRequestListParams, options ...RequestOption) (V2QuestionRequestListRes, error)
	// V2SessionActive invokes v2.session.active operation.
	//
	// Retrieve foreground Session drains currently owned by this OpenCode process. Sessions absent from
	// the result are inactive.
	//
	// GET /api/session/active
	V2SessionActive(ctx context.Context, options ...RequestOption) (V2SessionActiveRes, error)
	// V2SessionCreate invokes v2.session.create operation.
	//
	// Create a session at the requested location.
	//
	// POST /api/session
	V2SessionCreate(ctx context.Context, request *V2SessionCreateReq, options ...RequestOption) (V2SessionCreateRes, error)
	// V2SkillList invokes v2.skill.list operation.
	//
	// Retrieve currently registered skills.
	//
	// GET /api/skill
	V2SkillList(ctx context.Context, params V2SkillListParams, options ...RequestOption) (V2SkillListRes, error)
	// VcsDiff invokes vcs.diff operation.
	//
	// Retrieve the current git diff for the working tree or against the default branch.
	//
	// GET /vcs/diff
	VcsDiff(ctx context.Context, params VcsDiffParams, options ...RequestOption) (VcsDiffRes, error)
	// VcsDiffRaw invokes vcs.diff.raw operation.
	//
	// Retrieve a raw patch for current uncommitted changes.
	//
	// GET /vcs/diff/raw
	VcsDiffRaw(ctx context.Context, params VcsDiffRawParams, options ...RequestOption) (VcsDiffRawRes, error)
	// VcsGet invokes vcs.get operation.
	//
	// Retrieve version control system (VCS) information for the current project, such as git branch.
	//
	// GET /vcs
	VcsGet(ctx context.Context, params VcsGetParams, options ...RequestOption) (VcsGetRes, error)
	// VcsStatus invokes vcs.status operation.
	//
	// Retrieve changed files in the current working tree without patches.
	//
	// GET /vcs/status
	VcsStatus(ctx context.Context, params VcsStatusParams, options ...RequestOption) (VcsStatusRes, error)
}

Invoker invokes operations described by OpenAPI v3 specification.

type LSPStatus

type LSPStatus struct {
	ID     string          `json:"id"`
	Name   string          `json:"name"`
	Root   string          `json:"root"`
	Status LSPStatusStatus `json:"status"`
}

Ref: #/components/schemas/LSPStatus

func (*LSPStatus) Decode

func (s *LSPStatus) Decode(d *jx.Decoder) error

Decode decodes LSPStatus from json.

func (*LSPStatus) Encode

func (s *LSPStatus) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*LSPStatus) GetID

func (s *LSPStatus) GetID() string

GetID returns the value of ID.

func (*LSPStatus) GetName

func (s *LSPStatus) GetName() string

GetName returns the value of Name.

func (*LSPStatus) GetRoot

func (s *LSPStatus) GetRoot() string

GetRoot returns the value of Root.

func (*LSPStatus) GetStatus

func (s *LSPStatus) GetStatus() LSPStatusStatus

GetStatus returns the value of Status.

func (*LSPStatus) MarshalJSON

func (s *LSPStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LSPStatus) SetID

func (s *LSPStatus) SetID(val string)

SetID sets the value of ID.

func (*LSPStatus) SetName

func (s *LSPStatus) SetName(val string)

SetName sets the value of Name.

func (*LSPStatus) SetRoot

func (s *LSPStatus) SetRoot(val string)

SetRoot sets the value of Root.

func (*LSPStatus) SetStatus

func (s *LSPStatus) SetStatus(val LSPStatusStatus)

SetStatus sets the value of Status.

func (*LSPStatus) UnmarshalJSON

func (s *LSPStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LSPStatus) Validate

func (s *LSPStatus) Validate() error

type LSPStatusStatus

type LSPStatusStatus string
const (
	LSPStatusStatusConnected LSPStatusStatus = "connected"
	LSPStatusStatusError     LSPStatusStatus = "error"
)

func (LSPStatusStatus) AllValues

func (LSPStatusStatus) AllValues() []LSPStatusStatus

AllValues returns all LSPStatusStatus values.

func (*LSPStatusStatus) Decode

func (s *LSPStatusStatus) Decode(d *jx.Decoder) error

Decode decodes LSPStatusStatus from json.

func (LSPStatusStatus) Encode

func (s LSPStatusStatus) Encode(e *jx.Encoder)

Encode encodes LSPStatusStatus as json.

func (LSPStatusStatus) MarshalJSON

func (s LSPStatusStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (LSPStatusStatus) MarshalText

func (s LSPStatusStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*LSPStatusStatus) UnmarshalJSON

func (s *LSPStatusStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LSPStatusStatus) UnmarshalText

func (s *LSPStatusStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (LSPStatusStatus) Validate

func (s LSPStatusStatus) Validate() error

type LocationInfo

type LocationInfo struct {
	Directory   string              `json:"directory"`
	WorkspaceID OptString           `json:"workspaceID"`
	Project     LocationInfoProject `json:"project"`
}

Ref: #/components/schemas/LocationInfo

func (*LocationInfo) Decode

func (s *LocationInfo) Decode(d *jx.Decoder) error

Decode decodes LocationInfo from json.

func (*LocationInfo) Encode

func (s *LocationInfo) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*LocationInfo) GetDirectory

func (s *LocationInfo) GetDirectory() string

GetDirectory returns the value of Directory.

func (*LocationInfo) GetProject

func (s *LocationInfo) GetProject() LocationInfoProject

GetProject returns the value of Project.

func (*LocationInfo) GetWorkspaceID

func (s *LocationInfo) GetWorkspaceID() OptString

GetWorkspaceID returns the value of WorkspaceID.

func (*LocationInfo) MarshalJSON

func (s *LocationInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LocationInfo) SetDirectory

func (s *LocationInfo) SetDirectory(val string)

SetDirectory sets the value of Directory.

func (*LocationInfo) SetProject

func (s *LocationInfo) SetProject(val LocationInfoProject)

SetProject sets the value of Project.

func (*LocationInfo) SetWorkspaceID

func (s *LocationInfo) SetWorkspaceID(val OptString)

SetWorkspaceID sets the value of WorkspaceID.

func (*LocationInfo) UnmarshalJSON

func (s *LocationInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LocationInfo) Validate

func (s *LocationInfo) Validate() error

type LocationInfoProject

type LocationInfoProject struct {
	ID        string `json:"id"`
	Directory string `json:"directory"`
}

func (*LocationInfoProject) Decode

func (s *LocationInfoProject) Decode(d *jx.Decoder) error

Decode decodes LocationInfoProject from json.

func (*LocationInfoProject) Encode

func (s *LocationInfoProject) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*LocationInfoProject) GetDirectory

func (s *LocationInfoProject) GetDirectory() string

GetDirectory returns the value of Directory.

func (*LocationInfoProject) GetID

func (s *LocationInfoProject) GetID() string

GetID returns the value of ID.

func (*LocationInfoProject) MarshalJSON

func (s *LocationInfoProject) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LocationInfoProject) SetDirectory

func (s *LocationInfoProject) SetDirectory(val string)

SetDirectory sets the value of Directory.

func (*LocationInfoProject) SetID

func (s *LocationInfoProject) SetID(val string)

SetID sets the value of ID.

func (*LocationInfoProject) UnmarshalJSON

func (s *LocationInfoProject) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type LocationRef

type LocationRef struct {
	Directory   string    `json:"directory"`
	WorkspaceID OptString `json:"workspaceID"`
}

Ref: #/components/schemas/LocationRef

func (*LocationRef) Decode

func (s *LocationRef) Decode(d *jx.Decoder) error

Decode decodes LocationRef from json.

func (*LocationRef) Encode

func (s *LocationRef) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*LocationRef) GetDirectory

func (s *LocationRef) GetDirectory() string

GetDirectory returns the value of Directory.

func (*LocationRef) GetWorkspaceID

func (s *LocationRef) GetWorkspaceID() OptString

GetWorkspaceID returns the value of WorkspaceID.

func (*LocationRef) MarshalJSON

func (s *LocationRef) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LocationRef) SetDirectory

func (s *LocationRef) SetDirectory(val string)

SetDirectory sets the value of Directory.

func (*LocationRef) SetWorkspaceID

func (s *LocationRef) SetWorkspaceID(val OptString)

SetWorkspaceID sets the value of WorkspaceID.

func (*LocationRef) UnmarshalJSON

func (s *LocationRef) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*LocationRef) Validate

func (s *LocationRef) Validate() error

type LspStatusOKApplicationJSON

type LspStatusOKApplicationJSON []LSPStatus

func (*LspStatusOKApplicationJSON) Decode

Decode decodes LspStatusOKApplicationJSON from json.

func (LspStatusOKApplicationJSON) Encode

func (s LspStatusOKApplicationJSON) Encode(e *jx.Encoder)

Encode encodes LspStatusOKApplicationJSON as json.

func (LspStatusOKApplicationJSON) MarshalJSON

func (s LspStatusOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LspStatusOKApplicationJSON) UnmarshalJSON

func (s *LspStatusOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (LspStatusOKApplicationJSON) Validate

func (s LspStatusOKApplicationJSON) Validate() error

type LspStatusParams

type LspStatusParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

LspStatusParams is parameters of lsp.status operation.

type LspStatusRes

type LspStatusRes interface {
	// contains filtered or unexported methods
}

type McpAuthRemoveOK

type McpAuthRemoveOK struct {
	Success McpAuthRemoveOKSuccess `json:"success"`
}

OAuth credentials removed.

func (*McpAuthRemoveOK) Decode

func (s *McpAuthRemoveOK) Decode(d *jx.Decoder) error

Decode decodes McpAuthRemoveOK from json.

func (*McpAuthRemoveOK) Encode

func (s *McpAuthRemoveOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*McpAuthRemoveOK) GetSuccess

func (s *McpAuthRemoveOK) GetSuccess() McpAuthRemoveOKSuccess

GetSuccess returns the value of Success.

func (*McpAuthRemoveOK) MarshalJSON

func (s *McpAuthRemoveOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*McpAuthRemoveOK) SetSuccess

func (s *McpAuthRemoveOK) SetSuccess(val McpAuthRemoveOKSuccess)

SetSuccess sets the value of Success.

func (*McpAuthRemoveOK) UnmarshalJSON

func (s *McpAuthRemoveOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*McpAuthRemoveOK) Validate

func (s *McpAuthRemoveOK) Validate() error

type McpAuthRemoveOKSuccess

type McpAuthRemoveOKSuccess bool
const (
	McpAuthRemoveOKSuccessTrue McpAuthRemoveOKSuccess = true
)

func (McpAuthRemoveOKSuccess) AllValues

AllValues returns all McpAuthRemoveOKSuccess values.

func (*McpAuthRemoveOKSuccess) Decode

func (s *McpAuthRemoveOKSuccess) Decode(d *jx.Decoder) error

Decode decodes McpAuthRemoveOKSuccess from json.

func (McpAuthRemoveOKSuccess) Encode

func (s McpAuthRemoveOKSuccess) Encode(e *jx.Encoder)

Encode encodes McpAuthRemoveOKSuccess as json.

func (McpAuthRemoveOKSuccess) MarshalJSON

func (s McpAuthRemoveOKSuccess) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*McpAuthRemoveOKSuccess) UnmarshalJSON

func (s *McpAuthRemoveOKSuccess) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (McpAuthRemoveOKSuccess) Validate

func (s McpAuthRemoveOKSuccess) Validate() error

type McpAuthRemoveParams

type McpAuthRemoveParams struct {
	Name      string
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

McpAuthRemoveParams is parameters of mcp.auth.remove operation.

type McpAuthRemoveRes

type McpAuthRemoveRes interface {
	// contains filtered or unexported methods
}

type McpConnectOKApplicationJSON

type McpConnectOKApplicationJSON bool

func (*McpConnectOKApplicationJSON) Decode

Decode decodes McpConnectOKApplicationJSON from json.

func (McpConnectOKApplicationJSON) Encode

func (s McpConnectOKApplicationJSON) Encode(e *jx.Encoder)

Encode encodes McpConnectOKApplicationJSON as json.

func (McpConnectOKApplicationJSON) MarshalJSON

func (s McpConnectOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*McpConnectOKApplicationJSON) UnmarshalJSON

func (s *McpConnectOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type McpConnectParams

type McpConnectParams struct {
	Name      string
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

McpConnectParams is parameters of mcp.connect operation.

type McpConnectRes

type McpConnectRes interface {
	// contains filtered or unexported methods
}

type McpDisconnectOKApplicationJSON

type McpDisconnectOKApplicationJSON bool

func (*McpDisconnectOKApplicationJSON) Decode

Decode decodes McpDisconnectOKApplicationJSON from json.

func (McpDisconnectOKApplicationJSON) Encode

Encode encodes McpDisconnectOKApplicationJSON as json.

func (McpDisconnectOKApplicationJSON) MarshalJSON

func (s McpDisconnectOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*McpDisconnectOKApplicationJSON) UnmarshalJSON

func (s *McpDisconnectOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type McpDisconnectParams

type McpDisconnectParams struct {
	Name      string
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

McpDisconnectParams is parameters of mcp.disconnect operation.

type McpDisconnectRes

type McpDisconnectRes interface {
	// contains filtered or unexported methods
}

type McpResource

type McpResource struct {
	Name        string    `json:"name"`
	URI         string    `json:"uri"`
	Description OptString `json:"description"`
	MimeType    OptString `json:"mimeType"`
	Client      string    `json:"client"`
}

Ref: #/components/schemas/McpResource

func (*McpResource) Decode

func (s *McpResource) Decode(d *jx.Decoder) error

Decode decodes McpResource from json.

func (*McpResource) Encode

func (s *McpResource) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*McpResource) GetClient

func (s *McpResource) GetClient() string

GetClient returns the value of Client.

func (*McpResource) GetDescription

func (s *McpResource) GetDescription() OptString

GetDescription returns the value of Description.

func (*McpResource) GetMimeType

func (s *McpResource) GetMimeType() OptString

GetMimeType returns the value of MimeType.

func (*McpResource) GetName

func (s *McpResource) GetName() string

GetName returns the value of Name.

func (*McpResource) GetURI

func (s *McpResource) GetURI() string

GetURI returns the value of URI.

func (*McpResource) MarshalJSON

func (s *McpResource) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*McpResource) SetClient

func (s *McpResource) SetClient(val string)

SetClient sets the value of Client.

func (*McpResource) SetDescription

func (s *McpResource) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*McpResource) SetMimeType

func (s *McpResource) SetMimeType(val OptString)

SetMimeType sets the value of MimeType.

func (*McpResource) SetName

func (s *McpResource) SetName(val string)

SetName sets the value of Name.

func (*McpResource) SetURI

func (s *McpResource) SetURI(val string)

SetURI sets the value of URI.

func (*McpResource) UnmarshalJSON

func (s *McpResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type McpServerNotFoundError

type McpServerNotFoundError struct {
	Tag     McpServerNotFoundErrorTag `json:"_tag"`
	Name    string                    `json:"name"`
	Message string                    `json:"message"`
}

Ref: #/components/schemas/McpServerNotFoundError

func (*McpServerNotFoundError) Decode

func (s *McpServerNotFoundError) Decode(d *jx.Decoder) error

Decode decodes McpServerNotFoundError from json.

func (*McpServerNotFoundError) Encode

func (s *McpServerNotFoundError) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*McpServerNotFoundError) GetMessage

func (s *McpServerNotFoundError) GetMessage() string

GetMessage returns the value of Message.

func (*McpServerNotFoundError) GetName

func (s *McpServerNotFoundError) GetName() string

GetName returns the value of Name.

func (*McpServerNotFoundError) GetTag

GetTag returns the value of Tag.

func (*McpServerNotFoundError) MarshalJSON

func (s *McpServerNotFoundError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*McpServerNotFoundError) SetMessage

func (s *McpServerNotFoundError) SetMessage(val string)

SetMessage sets the value of Message.

func (*McpServerNotFoundError) SetName

func (s *McpServerNotFoundError) SetName(val string)

SetName sets the value of Name.

func (*McpServerNotFoundError) SetTag

SetTag sets the value of Tag.

func (*McpServerNotFoundError) UnmarshalJSON

func (s *McpServerNotFoundError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*McpServerNotFoundError) Validate

func (s *McpServerNotFoundError) Validate() error

type McpServerNotFoundErrorTag

type McpServerNotFoundErrorTag string
const (
	McpServerNotFoundErrorTagMcpServerNotFoundError McpServerNotFoundErrorTag = "McpServerNotFoundError"
)

func (McpServerNotFoundErrorTag) AllValues

AllValues returns all McpServerNotFoundErrorTag values.

func (*McpServerNotFoundErrorTag) Decode

func (s *McpServerNotFoundErrorTag) Decode(d *jx.Decoder) error

Decode decodes McpServerNotFoundErrorTag from json.

func (McpServerNotFoundErrorTag) Encode

func (s McpServerNotFoundErrorTag) Encode(e *jx.Encoder)

Encode encodes McpServerNotFoundErrorTag as json.

func (McpServerNotFoundErrorTag) MarshalJSON

func (s McpServerNotFoundErrorTag) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (McpServerNotFoundErrorTag) MarshalText

func (s McpServerNotFoundErrorTag) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*McpServerNotFoundErrorTag) UnmarshalJSON

func (s *McpServerNotFoundErrorTag) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*McpServerNotFoundErrorTag) UnmarshalText

func (s *McpServerNotFoundErrorTag) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (McpServerNotFoundErrorTag) Validate

func (s McpServerNotFoundErrorTag) Validate() error

type Model

type Model struct {
	ID           string            `json:"id"`
	ProviderID   string            `json:"providerID"`
	API          ModelAPI          `json:"api"`
	Name         string            `json:"name"`
	Family       OptString         `json:"family"`
	Capabilities ModelCapabilities `json:"capabilities"`
	Cost         ModelCost         `json:"cost"`
	Limit        ModelLimit        `json:"limit"`
	Status       ModelStatus       `json:"status"`
	Options      ModelOptions      `json:"options"`
	Headers      ModelHeaders      `json:"headers"`
	ReleaseDate  string            `json:"release_date"`
	Variants     OptModelVariants  `json:"variants"`
}

Ref: #/components/schemas/Model

func (*Model) Decode

func (s *Model) Decode(d *jx.Decoder) error

Decode decodes Model from json.

func (*Model) Encode

func (s *Model) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Model) GetAPI

func (s *Model) GetAPI() ModelAPI

GetAPI returns the value of API.

func (*Model) GetCapabilities

func (s *Model) GetCapabilities() ModelCapabilities

GetCapabilities returns the value of Capabilities.

func (*Model) GetCost

func (s *Model) GetCost() ModelCost

GetCost returns the value of Cost.

func (*Model) GetFamily

func (s *Model) GetFamily() OptString

GetFamily returns the value of Family.

func (*Model) GetHeaders

func (s *Model) GetHeaders() ModelHeaders

GetHeaders returns the value of Headers.

func (*Model) GetID

func (s *Model) GetID() string

GetID returns the value of ID.

func (*Model) GetLimit

func (s *Model) GetLimit() ModelLimit

GetLimit returns the value of Limit.

func (*Model) GetName

func (s *Model) GetName() string

GetName returns the value of Name.

func (*Model) GetOptions

func (s *Model) GetOptions() ModelOptions

GetOptions returns the value of Options.

func (*Model) GetProviderID

func (s *Model) GetProviderID() string

GetProviderID returns the value of ProviderID.

func (*Model) GetReleaseDate

func (s *Model) GetReleaseDate() string

GetReleaseDate returns the value of ReleaseDate.

func (*Model) GetStatus

func (s *Model) GetStatus() ModelStatus

GetStatus returns the value of Status.

func (*Model) GetVariants

func (s *Model) GetVariants() OptModelVariants

GetVariants returns the value of Variants.

func (*Model) MarshalJSON

func (s *Model) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Model) SetAPI

func (s *Model) SetAPI(val ModelAPI)

SetAPI sets the value of API.

func (*Model) SetCapabilities

func (s *Model) SetCapabilities(val ModelCapabilities)

SetCapabilities sets the value of Capabilities.

func (*Model) SetCost

func (s *Model) SetCost(val ModelCost)

SetCost sets the value of Cost.

func (*Model) SetFamily

func (s *Model) SetFamily(val OptString)

SetFamily sets the value of Family.

func (*Model) SetHeaders

func (s *Model) SetHeaders(val ModelHeaders)

SetHeaders sets the value of Headers.

func (*Model) SetID

func (s *Model) SetID(val string)

SetID sets the value of ID.

func (*Model) SetLimit

func (s *Model) SetLimit(val ModelLimit)

SetLimit sets the value of Limit.

func (*Model) SetName

func (s *Model) SetName(val string)

SetName sets the value of Name.

func (*Model) SetOptions

func (s *Model) SetOptions(val ModelOptions)

SetOptions sets the value of Options.

func (*Model) SetProviderID

func (s *Model) SetProviderID(val string)

SetProviderID sets the value of ProviderID.

func (*Model) SetReleaseDate

func (s *Model) SetReleaseDate(val string)

SetReleaseDate sets the value of ReleaseDate.

func (*Model) SetStatus

func (s *Model) SetStatus(val ModelStatus)

SetStatus sets the value of Status.

func (*Model) SetVariants

func (s *Model) SetVariants(val OptModelVariants)

SetVariants sets the value of Variants.

func (*Model) UnmarshalJSON

func (s *Model) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Model) Validate

func (s *Model) Validate() error

type ModelAPI

type ModelAPI struct {
	ID  string `json:"id"`
	URL string `json:"url"`
	Npm string `json:"npm"`
}

func (*ModelAPI) Decode

func (s *ModelAPI) Decode(d *jx.Decoder) error

Decode decodes ModelAPI from json.

func (*ModelAPI) Encode

func (s *ModelAPI) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ModelAPI) GetID

func (s *ModelAPI) GetID() string

GetID returns the value of ID.

func (*ModelAPI) GetNpm

func (s *ModelAPI) GetNpm() string

GetNpm returns the value of Npm.

func (*ModelAPI) GetURL

func (s *ModelAPI) GetURL() string

GetURL returns the value of URL.

func (*ModelAPI) MarshalJSON

func (s *ModelAPI) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelAPI) SetID

func (s *ModelAPI) SetID(val string)

SetID sets the value of ID.

func (*ModelAPI) SetNpm

func (s *ModelAPI) SetNpm(val string)

SetNpm sets the value of Npm.

func (*ModelAPI) SetURL

func (s *ModelAPI) SetURL(val string)

SetURL sets the value of URL.

func (*ModelAPI) UnmarshalJSON

func (s *ModelAPI) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ModelCapabilities

type ModelCapabilities struct {
	Temperature bool                         `json:"temperature"`
	Reasoning   bool                         `json:"reasoning"`
	Attachment  bool                         `json:"attachment"`
	Toolcall    bool                         `json:"toolcall"`
	Input       ModelCapabilitiesInput       `json:"input"`
	Output      ModelCapabilitiesOutput      `json:"output"`
	Interleaved ModelCapabilitiesInterleaved `json:"interleaved"`
}

func (*ModelCapabilities) Decode

func (s *ModelCapabilities) Decode(d *jx.Decoder) error

Decode decodes ModelCapabilities from json.

func (*ModelCapabilities) Encode

func (s *ModelCapabilities) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ModelCapabilities) GetAttachment

func (s *ModelCapabilities) GetAttachment() bool

GetAttachment returns the value of Attachment.

func (*ModelCapabilities) GetInput

GetInput returns the value of Input.

func (*ModelCapabilities) GetInterleaved

func (s *ModelCapabilities) GetInterleaved() ModelCapabilitiesInterleaved

GetInterleaved returns the value of Interleaved.

func (*ModelCapabilities) GetOutput

GetOutput returns the value of Output.

func (*ModelCapabilities) GetReasoning

func (s *ModelCapabilities) GetReasoning() bool

GetReasoning returns the value of Reasoning.

func (*ModelCapabilities) GetTemperature

func (s *ModelCapabilities) GetTemperature() bool

GetTemperature returns the value of Temperature.

func (*ModelCapabilities) GetToolcall

func (s *ModelCapabilities) GetToolcall() bool

GetToolcall returns the value of Toolcall.

func (*ModelCapabilities) MarshalJSON

func (s *ModelCapabilities) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelCapabilities) SetAttachment

func (s *ModelCapabilities) SetAttachment(val bool)

SetAttachment sets the value of Attachment.

func (*ModelCapabilities) SetInput

func (s *ModelCapabilities) SetInput(val ModelCapabilitiesInput)

SetInput sets the value of Input.

func (*ModelCapabilities) SetInterleaved

func (s *ModelCapabilities) SetInterleaved(val ModelCapabilitiesInterleaved)

SetInterleaved sets the value of Interleaved.

func (*ModelCapabilities) SetOutput

func (s *ModelCapabilities) SetOutput(val ModelCapabilitiesOutput)

SetOutput sets the value of Output.

func (*ModelCapabilities) SetReasoning

func (s *ModelCapabilities) SetReasoning(val bool)

SetReasoning sets the value of Reasoning.

func (*ModelCapabilities) SetTemperature

func (s *ModelCapabilities) SetTemperature(val bool)

SetTemperature sets the value of Temperature.

func (*ModelCapabilities) SetToolcall

func (s *ModelCapabilities) SetToolcall(val bool)

SetToolcall sets the value of Toolcall.

func (*ModelCapabilities) UnmarshalJSON

func (s *ModelCapabilities) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ModelCapabilities) Validate

func (s *ModelCapabilities) Validate() error

type ModelCapabilitiesInput

type ModelCapabilitiesInput struct {
	Text  bool `json:"text"`
	Audio bool `json:"audio"`
	Image bool `json:"image"`
	Video bool `json:"video"`
	Pdf   bool `json:"pdf"`
}

func (*ModelCapabilitiesInput) Decode

func (s *ModelCapabilitiesInput) Decode(d *jx.Decoder) error

Decode decodes ModelCapabilitiesInput from json.

func (*ModelCapabilitiesInput) Encode

func (s *ModelCapabilitiesInput) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ModelCapabilitiesInput) GetAudio

func (s *ModelCapabilitiesInput) GetAudio() bool

GetAudio returns the value of Audio.

func (*ModelCapabilitiesInput) GetImage

func (s *ModelCapabilitiesInput) GetImage() bool

GetImage returns the value of Image.

func (*ModelCapabilitiesInput) GetPdf

func (s *ModelCapabilitiesInput) GetPdf() bool

GetPdf returns the value of Pdf.

func (*ModelCapabilitiesInput) GetText

func (s *ModelCapabilitiesInput) GetText() bool

GetText returns the value of Text.

func (*ModelCapabilitiesInput) GetVideo

func (s *ModelCapabilitiesInput) GetVideo() bool

GetVideo returns the value of Video.

func (*ModelCapabilitiesInput) MarshalJSON

func (s *ModelCapabilitiesInput) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelCapabilitiesInput) SetAudio

func (s *ModelCapabilitiesInput) SetAudio(val bool)

SetAudio sets the value of Audio.

func (*ModelCapabilitiesInput) SetImage

func (s *ModelCapabilitiesInput) SetImage(val bool)

SetImage sets the value of Image.

func (*ModelCapabilitiesInput) SetPdf

func (s *ModelCapabilitiesInput) SetPdf(val bool)

SetPdf sets the value of Pdf.

func (*ModelCapabilitiesInput) SetText

func (s *ModelCapabilitiesInput) SetText(val bool)

SetText sets the value of Text.

func (*ModelCapabilitiesInput) SetVideo

func (s *ModelCapabilitiesInput) SetVideo(val bool)

SetVideo sets the value of Video.

func (*ModelCapabilitiesInput) UnmarshalJSON

func (s *ModelCapabilitiesInput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ModelCapabilitiesInterleaved

type ModelCapabilitiesInterleaved struct {
	// Type selects the active sum variant, switch on this field.
	Type                          ModelCapabilitiesInterleavedType
	Bool                          bool
	ModelCapabilitiesInterleaved1 ModelCapabilitiesInterleaved1
}

ModelCapabilitiesInterleaved represents sum type.

func NewBoolModelCapabilitiesInterleaved

func NewBoolModelCapabilitiesInterleaved(v bool) ModelCapabilitiesInterleaved

NewBoolModelCapabilitiesInterleaved returns new ModelCapabilitiesInterleaved from bool.

func NewModelCapabilitiesInterleaved1ModelCapabilitiesInterleaved

func NewModelCapabilitiesInterleaved1ModelCapabilitiesInterleaved(v ModelCapabilitiesInterleaved1) ModelCapabilitiesInterleaved

NewModelCapabilitiesInterleaved1ModelCapabilitiesInterleaved returns new ModelCapabilitiesInterleaved from ModelCapabilitiesInterleaved1.

func (*ModelCapabilitiesInterleaved) Decode

Decode decodes ModelCapabilitiesInterleaved from json.

func (ModelCapabilitiesInterleaved) Encode

Encode encodes ModelCapabilitiesInterleaved as json.

func (ModelCapabilitiesInterleaved) GetBool

func (s ModelCapabilitiesInterleaved) GetBool() (v bool, ok bool)

GetBool returns bool and true boolean if ModelCapabilitiesInterleaved is bool.

func (ModelCapabilitiesInterleaved) GetModelCapabilitiesInterleaved1

func (s ModelCapabilitiesInterleaved) GetModelCapabilitiesInterleaved1() (v ModelCapabilitiesInterleaved1, ok bool)

GetModelCapabilitiesInterleaved1 returns ModelCapabilitiesInterleaved1 and true boolean if ModelCapabilitiesInterleaved is ModelCapabilitiesInterleaved1.

func (ModelCapabilitiesInterleaved) IsBool

IsBool reports whether ModelCapabilitiesInterleaved is bool.

func (ModelCapabilitiesInterleaved) IsModelCapabilitiesInterleaved1

func (s ModelCapabilitiesInterleaved) IsModelCapabilitiesInterleaved1() bool

IsModelCapabilitiesInterleaved1 reports whether ModelCapabilitiesInterleaved is ModelCapabilitiesInterleaved1.

func (ModelCapabilitiesInterleaved) MarshalJSON

func (s ModelCapabilitiesInterleaved) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelCapabilitiesInterleaved) SetBool

func (s *ModelCapabilitiesInterleaved) SetBool(v bool)

SetBool sets ModelCapabilitiesInterleaved to bool.

func (*ModelCapabilitiesInterleaved) SetModelCapabilitiesInterleaved1

func (s *ModelCapabilitiesInterleaved) SetModelCapabilitiesInterleaved1(v ModelCapabilitiesInterleaved1)

SetModelCapabilitiesInterleaved1 sets ModelCapabilitiesInterleaved to ModelCapabilitiesInterleaved1.

func (*ModelCapabilitiesInterleaved) UnmarshalJSON

func (s *ModelCapabilitiesInterleaved) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (ModelCapabilitiesInterleaved) Validate

func (s ModelCapabilitiesInterleaved) Validate() error

type ModelCapabilitiesInterleaved1

type ModelCapabilitiesInterleaved1 struct {
	Field ModelCapabilitiesInterleaved1Field `json:"field"`
}

func (*ModelCapabilitiesInterleaved1) Decode

Decode decodes ModelCapabilitiesInterleaved1 from json.

func (*ModelCapabilitiesInterleaved1) Encode

Encode implements json.Marshaler.

func (*ModelCapabilitiesInterleaved1) GetField

GetField returns the value of Field.

func (*ModelCapabilitiesInterleaved1) MarshalJSON

func (s *ModelCapabilitiesInterleaved1) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelCapabilitiesInterleaved1) SetField

SetField sets the value of Field.

func (*ModelCapabilitiesInterleaved1) UnmarshalJSON

func (s *ModelCapabilitiesInterleaved1) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ModelCapabilitiesInterleaved1) Validate

func (s *ModelCapabilitiesInterleaved1) Validate() error

type ModelCapabilitiesInterleaved1Field

type ModelCapabilitiesInterleaved1Field string
const (
	ModelCapabilitiesInterleaved1FieldReasoning        ModelCapabilitiesInterleaved1Field = "reasoning"
	ModelCapabilitiesInterleaved1FieldReasoningContent ModelCapabilitiesInterleaved1Field = "reasoning_content"
	ModelCapabilitiesInterleaved1FieldReasoningDetails ModelCapabilitiesInterleaved1Field = "reasoning_details"
)

func (ModelCapabilitiesInterleaved1Field) AllValues

AllValues returns all ModelCapabilitiesInterleaved1Field values.

func (*ModelCapabilitiesInterleaved1Field) Decode

Decode decodes ModelCapabilitiesInterleaved1Field from json.

func (ModelCapabilitiesInterleaved1Field) Encode

Encode encodes ModelCapabilitiesInterleaved1Field as json.

func (ModelCapabilitiesInterleaved1Field) MarshalJSON

func (s ModelCapabilitiesInterleaved1Field) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ModelCapabilitiesInterleaved1Field) MarshalText

func (s ModelCapabilitiesInterleaved1Field) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ModelCapabilitiesInterleaved1Field) UnmarshalJSON

func (s *ModelCapabilitiesInterleaved1Field) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ModelCapabilitiesInterleaved1Field) UnmarshalText

func (s *ModelCapabilitiesInterleaved1Field) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ModelCapabilitiesInterleaved1Field) Validate

type ModelCapabilitiesInterleavedType

type ModelCapabilitiesInterleavedType string

ModelCapabilitiesInterleavedType is oneOf type of ModelCapabilitiesInterleaved.

const (
	BoolModelCapabilitiesInterleaved                          ModelCapabilitiesInterleavedType = "bool"
	ModelCapabilitiesInterleaved1ModelCapabilitiesInterleaved ModelCapabilitiesInterleavedType = "ModelCapabilitiesInterleaved1"
)

Possible values for ModelCapabilitiesInterleavedType.

type ModelCapabilitiesOutput

type ModelCapabilitiesOutput struct {
	Text  bool `json:"text"`
	Audio bool `json:"audio"`
	Image bool `json:"image"`
	Video bool `json:"video"`
	Pdf   bool `json:"pdf"`
}

func (*ModelCapabilitiesOutput) Decode

func (s *ModelCapabilitiesOutput) Decode(d *jx.Decoder) error

Decode decodes ModelCapabilitiesOutput from json.

func (*ModelCapabilitiesOutput) Encode

func (s *ModelCapabilitiesOutput) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ModelCapabilitiesOutput) GetAudio

func (s *ModelCapabilitiesOutput) GetAudio() bool

GetAudio returns the value of Audio.

func (*ModelCapabilitiesOutput) GetImage

func (s *ModelCapabilitiesOutput) GetImage() bool

GetImage returns the value of Image.

func (*ModelCapabilitiesOutput) GetPdf

func (s *ModelCapabilitiesOutput) GetPdf() bool

GetPdf returns the value of Pdf.

func (*ModelCapabilitiesOutput) GetText

func (s *ModelCapabilitiesOutput) GetText() bool

GetText returns the value of Text.

func (*ModelCapabilitiesOutput) GetVideo

func (s *ModelCapabilitiesOutput) GetVideo() bool

GetVideo returns the value of Video.

func (*ModelCapabilitiesOutput) MarshalJSON

func (s *ModelCapabilitiesOutput) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelCapabilitiesOutput) SetAudio

func (s *ModelCapabilitiesOutput) SetAudio(val bool)

SetAudio sets the value of Audio.

func (*ModelCapabilitiesOutput) SetImage

func (s *ModelCapabilitiesOutput) SetImage(val bool)

SetImage sets the value of Image.

func (*ModelCapabilitiesOutput) SetPdf

func (s *ModelCapabilitiesOutput) SetPdf(val bool)

SetPdf sets the value of Pdf.

func (*ModelCapabilitiesOutput) SetText

func (s *ModelCapabilitiesOutput) SetText(val bool)

SetText sets the value of Text.

func (*ModelCapabilitiesOutput) SetVideo

func (s *ModelCapabilitiesOutput) SetVideo(val bool)

SetVideo sets the value of Video.

func (*ModelCapabilitiesOutput) UnmarshalJSON

func (s *ModelCapabilitiesOutput) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ModelCost

type ModelCost struct {
	Input                float64                          `json:"input"`
	Output               float64                          `json:"output"`
	Cache                ModelCostCache                   `json:"cache"`
	Tiers                []ModelCostTiersItem             `json:"tiers"`
	ExperimentalOver200K OptModelCostExperimentalOver200K `json:"experimentalOver200K"`
}

func (*ModelCost) Decode

func (s *ModelCost) Decode(d *jx.Decoder) error

Decode decodes ModelCost from json.

func (*ModelCost) Encode

func (s *ModelCost) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ModelCost) GetCache

func (s *ModelCost) GetCache() ModelCostCache

GetCache returns the value of Cache.

func (*ModelCost) GetExperimentalOver200K

func (s *ModelCost) GetExperimentalOver200K() OptModelCostExperimentalOver200K

GetExperimentalOver200K returns the value of ExperimentalOver200K.

func (*ModelCost) GetInput

func (s *ModelCost) GetInput() float64

GetInput returns the value of Input.

func (*ModelCost) GetOutput

func (s *ModelCost) GetOutput() float64

GetOutput returns the value of Output.

func (*ModelCost) GetTiers

func (s *ModelCost) GetTiers() []ModelCostTiersItem

GetTiers returns the value of Tiers.

func (*ModelCost) MarshalJSON

func (s *ModelCost) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelCost) SetCache

func (s *ModelCost) SetCache(val ModelCostCache)

SetCache sets the value of Cache.

func (*ModelCost) SetExperimentalOver200K

func (s *ModelCost) SetExperimentalOver200K(val OptModelCostExperimentalOver200K)

SetExperimentalOver200K sets the value of ExperimentalOver200K.

func (*ModelCost) SetInput

func (s *ModelCost) SetInput(val float64)

SetInput sets the value of Input.

func (*ModelCost) SetOutput

func (s *ModelCost) SetOutput(val float64)

SetOutput sets the value of Output.

func (*ModelCost) SetTiers

func (s *ModelCost) SetTiers(val []ModelCostTiersItem)

SetTiers sets the value of Tiers.

func (*ModelCost) UnmarshalJSON

func (s *ModelCost) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ModelCost) Validate

func (s *ModelCost) Validate() error

type ModelCostCache

type ModelCostCache struct {
	Read  float64 `json:"read"`
	Write float64 `json:"write"`
}

func (*ModelCostCache) Decode

func (s *ModelCostCache) Decode(d *jx.Decoder) error

Decode decodes ModelCostCache from json.

func (*ModelCostCache) Encode

func (s *ModelCostCache) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ModelCostCache) GetRead

func (s *ModelCostCache) GetRead() float64

GetRead returns the value of Read.

func (*ModelCostCache) GetWrite

func (s *ModelCostCache) GetWrite() float64

GetWrite returns the value of Write.

func (*ModelCostCache) MarshalJSON

func (s *ModelCostCache) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelCostCache) SetRead

func (s *ModelCostCache) SetRead(val float64)

SetRead sets the value of Read.

func (*ModelCostCache) SetWrite

func (s *ModelCostCache) SetWrite(val float64)

SetWrite sets the value of Write.

func (*ModelCostCache) UnmarshalJSON

func (s *ModelCostCache) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ModelCostCache) Validate

func (s *ModelCostCache) Validate() error

type ModelCostExperimentalOver200K

type ModelCostExperimentalOver200K struct {
	Input  float64                            `json:"input"`
	Output float64                            `json:"output"`
	Cache  ModelCostExperimentalOver200KCache `json:"cache"`
}

func (*ModelCostExperimentalOver200K) Decode

Decode decodes ModelCostExperimentalOver200K from json.

func (*ModelCostExperimentalOver200K) Encode

Encode implements json.Marshaler.

func (*ModelCostExperimentalOver200K) GetCache

GetCache returns the value of Cache.

func (*ModelCostExperimentalOver200K) GetInput

func (s *ModelCostExperimentalOver200K) GetInput() float64

GetInput returns the value of Input.

func (*ModelCostExperimentalOver200K) GetOutput

func (s *ModelCostExperimentalOver200K) GetOutput() float64

GetOutput returns the value of Output.

func (*ModelCostExperimentalOver200K) MarshalJSON

func (s *ModelCostExperimentalOver200K) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelCostExperimentalOver200K) SetCache

SetCache sets the value of Cache.

func (*ModelCostExperimentalOver200K) SetInput

func (s *ModelCostExperimentalOver200K) SetInput(val float64)

SetInput sets the value of Input.

func (*ModelCostExperimentalOver200K) SetOutput

func (s *ModelCostExperimentalOver200K) SetOutput(val float64)

SetOutput sets the value of Output.

func (*ModelCostExperimentalOver200K) UnmarshalJSON

func (s *ModelCostExperimentalOver200K) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ModelCostExperimentalOver200K) Validate

func (s *ModelCostExperimentalOver200K) Validate() error

type ModelCostExperimentalOver200KCache

type ModelCostExperimentalOver200KCache struct {
	Read  float64 `json:"read"`
	Write float64 `json:"write"`
}

func (*ModelCostExperimentalOver200KCache) Decode

Decode decodes ModelCostExperimentalOver200KCache from json.

func (*ModelCostExperimentalOver200KCache) Encode

Encode implements json.Marshaler.

func (*ModelCostExperimentalOver200KCache) GetRead

GetRead returns the value of Read.

func (*ModelCostExperimentalOver200KCache) GetWrite

GetWrite returns the value of Write.

func (*ModelCostExperimentalOver200KCache) MarshalJSON

func (s *ModelCostExperimentalOver200KCache) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelCostExperimentalOver200KCache) SetRead

SetRead sets the value of Read.

func (*ModelCostExperimentalOver200KCache) SetWrite

SetWrite sets the value of Write.

func (*ModelCostExperimentalOver200KCache) UnmarshalJSON

func (s *ModelCostExperimentalOver200KCache) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ModelCostExperimentalOver200KCache) Validate

type ModelCostTiersItem

type ModelCostTiersItem struct {
	Input  float64                 `json:"input"`
	Output float64                 `json:"output"`
	Cache  ModelCostTiersItemCache `json:"cache"`
	Tier   ModelCostTiersItemTier  `json:"tier"`
}

func (*ModelCostTiersItem) Decode

func (s *ModelCostTiersItem) Decode(d *jx.Decoder) error

Decode decodes ModelCostTiersItem from json.

func (*ModelCostTiersItem) Encode

func (s *ModelCostTiersItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ModelCostTiersItem) GetCache

GetCache returns the value of Cache.

func (*ModelCostTiersItem) GetInput

func (s *ModelCostTiersItem) GetInput() float64

GetInput returns the value of Input.

func (*ModelCostTiersItem) GetOutput

func (s *ModelCostTiersItem) GetOutput() float64

GetOutput returns the value of Output.

func (*ModelCostTiersItem) GetTier

GetTier returns the value of Tier.

func (*ModelCostTiersItem) MarshalJSON

func (s *ModelCostTiersItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelCostTiersItem) SetCache

SetCache sets the value of Cache.

func (*ModelCostTiersItem) SetInput

func (s *ModelCostTiersItem) SetInput(val float64)

SetInput sets the value of Input.

func (*ModelCostTiersItem) SetOutput

func (s *ModelCostTiersItem) SetOutput(val float64)

SetOutput sets the value of Output.

func (*ModelCostTiersItem) SetTier

SetTier sets the value of Tier.

func (*ModelCostTiersItem) UnmarshalJSON

func (s *ModelCostTiersItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ModelCostTiersItem) Validate

func (s *ModelCostTiersItem) Validate() error

type ModelCostTiersItemCache

type ModelCostTiersItemCache struct {
	Read  float64 `json:"read"`
	Write float64 `json:"write"`
}

func (*ModelCostTiersItemCache) Decode

func (s *ModelCostTiersItemCache) Decode(d *jx.Decoder) error

Decode decodes ModelCostTiersItemCache from json.

func (*ModelCostTiersItemCache) Encode

func (s *ModelCostTiersItemCache) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ModelCostTiersItemCache) GetRead

func (s *ModelCostTiersItemCache) GetRead() float64

GetRead returns the value of Read.

func (*ModelCostTiersItemCache) GetWrite

func (s *ModelCostTiersItemCache) GetWrite() float64

GetWrite returns the value of Write.

func (*ModelCostTiersItemCache) MarshalJSON

func (s *ModelCostTiersItemCache) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelCostTiersItemCache) SetRead

func (s *ModelCostTiersItemCache) SetRead(val float64)

SetRead sets the value of Read.

func (*ModelCostTiersItemCache) SetWrite

func (s *ModelCostTiersItemCache) SetWrite(val float64)

SetWrite sets the value of Write.

func (*ModelCostTiersItemCache) UnmarshalJSON

func (s *ModelCostTiersItemCache) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ModelCostTiersItemCache) Validate

func (s *ModelCostTiersItemCache) Validate() error

type ModelCostTiersItemTier

type ModelCostTiersItemTier struct {
	Type ModelCostTiersItemTierType `json:"type"`
	Size float64                    `json:"size"`
}

func (*ModelCostTiersItemTier) Decode

func (s *ModelCostTiersItemTier) Decode(d *jx.Decoder) error

Decode decodes ModelCostTiersItemTier from json.

func (*ModelCostTiersItemTier) Encode

func (s *ModelCostTiersItemTier) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ModelCostTiersItemTier) GetSize

func (s *ModelCostTiersItemTier) GetSize() float64

GetSize returns the value of Size.

func (*ModelCostTiersItemTier) GetType

GetType returns the value of Type.

func (*ModelCostTiersItemTier) MarshalJSON

func (s *ModelCostTiersItemTier) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelCostTiersItemTier) SetSize

func (s *ModelCostTiersItemTier) SetSize(val float64)

SetSize sets the value of Size.

func (*ModelCostTiersItemTier) SetType

SetType sets the value of Type.

func (*ModelCostTiersItemTier) UnmarshalJSON

func (s *ModelCostTiersItemTier) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ModelCostTiersItemTier) Validate

func (s *ModelCostTiersItemTier) Validate() error

type ModelCostTiersItemTierType

type ModelCostTiersItemTierType string
const (
	ModelCostTiersItemTierTypeContext ModelCostTiersItemTierType = "context"
)

func (ModelCostTiersItemTierType) AllValues

AllValues returns all ModelCostTiersItemTierType values.

func (*ModelCostTiersItemTierType) Decode

Decode decodes ModelCostTiersItemTierType from json.

func (ModelCostTiersItemTierType) Encode

func (s ModelCostTiersItemTierType) Encode(e *jx.Encoder)

Encode encodes ModelCostTiersItemTierType as json.

func (ModelCostTiersItemTierType) MarshalJSON

func (s ModelCostTiersItemTierType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ModelCostTiersItemTierType) MarshalText

func (s ModelCostTiersItemTierType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ModelCostTiersItemTierType) UnmarshalJSON

func (s *ModelCostTiersItemTierType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ModelCostTiersItemTierType) UnmarshalText

func (s *ModelCostTiersItemTierType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ModelCostTiersItemTierType) Validate

func (s ModelCostTiersItemTierType) Validate() error

type ModelHeaders

type ModelHeaders map[string]string

func (*ModelHeaders) Decode

func (s *ModelHeaders) Decode(d *jx.Decoder) error

Decode decodes ModelHeaders from json.

func (ModelHeaders) Encode

func (s ModelHeaders) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (ModelHeaders) MarshalJSON

func (s ModelHeaders) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelHeaders) UnmarshalJSON

func (s *ModelHeaders) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ModelLimit

type ModelLimit struct {
	Context float64    `json:"context"`
	Input   OptFloat64 `json:"input"`
	Output  float64    `json:"output"`
}

func (*ModelLimit) Decode

func (s *ModelLimit) Decode(d *jx.Decoder) error

Decode decodes ModelLimit from json.

func (*ModelLimit) Encode

func (s *ModelLimit) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ModelLimit) GetContext

func (s *ModelLimit) GetContext() float64

GetContext returns the value of Context.

func (*ModelLimit) GetInput

func (s *ModelLimit) GetInput() OptFloat64

GetInput returns the value of Input.

func (*ModelLimit) GetOutput

func (s *ModelLimit) GetOutput() float64

GetOutput returns the value of Output.

func (*ModelLimit) MarshalJSON

func (s *ModelLimit) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelLimit) SetContext

func (s *ModelLimit) SetContext(val float64)

SetContext sets the value of Context.

func (*ModelLimit) SetInput

func (s *ModelLimit) SetInput(val OptFloat64)

SetInput sets the value of Input.

func (*ModelLimit) SetOutput

func (s *ModelLimit) SetOutput(val float64)

SetOutput sets the value of Output.

func (*ModelLimit) UnmarshalJSON

func (s *ModelLimit) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ModelLimit) Validate

func (s *ModelLimit) Validate() error

type ModelOptions

type ModelOptions struct{}

func (*ModelOptions) Decode

func (s *ModelOptions) Decode(d *jx.Decoder) error

Decode decodes ModelOptions from json.

func (*ModelOptions) Encode

func (s *ModelOptions) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ModelOptions) MarshalJSON

func (s *ModelOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelOptions) UnmarshalJSON

func (s *ModelOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ModelRef

type ModelRef struct {
	ID         string    `json:"id"`
	ProviderID string    `json:"providerID"`
	Variant    OptString `json:"variant"`
}

Ref: #/components/schemas/ModelRef

func (*ModelRef) Decode

func (s *ModelRef) Decode(d *jx.Decoder) error

Decode decodes ModelRef from json.

func (*ModelRef) Encode

func (s *ModelRef) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ModelRef) GetID

func (s *ModelRef) GetID() string

GetID returns the value of ID.

func (*ModelRef) GetProviderID

func (s *ModelRef) GetProviderID() string

GetProviderID returns the value of ProviderID.

func (*ModelRef) GetVariant

func (s *ModelRef) GetVariant() OptString

GetVariant returns the value of Variant.

func (*ModelRef) MarshalJSON

func (s *ModelRef) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelRef) SetID

func (s *ModelRef) SetID(val string)

SetID sets the value of ID.

func (*ModelRef) SetProviderID

func (s *ModelRef) SetProviderID(val string)

SetProviderID sets the value of ProviderID.

func (*ModelRef) SetVariant

func (s *ModelRef) SetVariant(val OptString)

SetVariant sets the value of Variant.

func (*ModelRef) UnmarshalJSON

func (s *ModelRef) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ModelStatus

type ModelStatus string
const (
	ModelStatusAlpha      ModelStatus = "alpha"
	ModelStatusBeta       ModelStatus = "beta"
	ModelStatusDeprecated ModelStatus = "deprecated"
	ModelStatusActive     ModelStatus = "active"
)

func (ModelStatus) AllValues

func (ModelStatus) AllValues() []ModelStatus

AllValues returns all ModelStatus values.

func (*ModelStatus) Decode

func (s *ModelStatus) Decode(d *jx.Decoder) error

Decode decodes ModelStatus from json.

func (ModelStatus) Encode

func (s ModelStatus) Encode(e *jx.Encoder)

Encode encodes ModelStatus as json.

func (ModelStatus) MarshalJSON

func (s ModelStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ModelStatus) MarshalText

func (s ModelStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ModelStatus) UnmarshalJSON

func (s *ModelStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ModelStatus) UnmarshalText

func (s *ModelStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ModelStatus) Validate

func (s ModelStatus) Validate() error

type ModelVariants

type ModelVariants map[string]ModelVariantsItem

func (*ModelVariants) Decode

func (s *ModelVariants) Decode(d *jx.Decoder) error

Decode decodes ModelVariants from json.

func (ModelVariants) Encode

func (s ModelVariants) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (ModelVariants) MarshalJSON

func (s ModelVariants) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelVariants) UnmarshalJSON

func (s *ModelVariants) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ModelVariantsItem

type ModelVariantsItem struct{}

func (*ModelVariantsItem) Decode

func (s *ModelVariantsItem) Decode(d *jx.Decoder) error

Decode decodes ModelVariantsItem from json.

func (*ModelVariantsItem) Encode

func (s *ModelVariantsItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ModelVariantsItem) MarshalJSON

func (s *ModelVariantsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ModelVariantsItem) UnmarshalJSON

func (s *ModelVariantsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type NilProjectSummary

type NilProjectSummary struct {
	Value ProjectSummary
	Null  bool
}

NilProjectSummary is nullable ProjectSummary.

func NewNilProjectSummary

func NewNilProjectSummary(v ProjectSummary) NilProjectSummary

NewNilProjectSummary returns new NilProjectSummary with value set to v.

func (*NilProjectSummary) Decode

func (o *NilProjectSummary) Decode(d *jx.Decoder) error

Decode decodes ProjectSummary from json.

func (NilProjectSummary) Encode

func (o NilProjectSummary) Encode(e *jx.Encoder)

Encode encodes ProjectSummary as json.

func (NilProjectSummary) Get

func (o NilProjectSummary) Get() (v ProjectSummary, ok bool)

Get returns value and boolean that denotes whether value was set.

func (NilProjectSummary) IsNull

func (o NilProjectSummary) IsNull() bool

IsNull returns true if value is Null.

func (NilProjectSummary) MarshalJSON

func (s NilProjectSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (NilProjectSummary) Or

Or returns value if set, or given parameter if does not.

func (*NilProjectSummary) SetTo

func (o *NilProjectSummary) SetTo(v ProjectSummary)

SetTo sets value to v.

func (*NilProjectSummary) SetToNull

func (o *NilProjectSummary) SetToNull()

SetToNull sets value to null.

func (*NilProjectSummary) UnmarshalJSON

func (s *NilProjectSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type NotFoundError

type NotFoundError struct {
	Name NotFoundErrorName `json:"name"`
	Data NotFoundErrorData `json:"data"`
}

Ref: #/components/schemas/NotFoundError

func (*NotFoundError) Decode

func (s *NotFoundError) Decode(d *jx.Decoder) error

Decode decodes NotFoundError from json.

func (*NotFoundError) Encode

func (s *NotFoundError) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*NotFoundError) GetData

func (s *NotFoundError) GetData() NotFoundErrorData

GetData returns the value of Data.

func (*NotFoundError) GetName

func (s *NotFoundError) GetName() NotFoundErrorName

GetName returns the value of Name.

func (*NotFoundError) MarshalJSON

func (s *NotFoundError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*NotFoundError) SetData

func (s *NotFoundError) SetData(val NotFoundErrorData)

SetData sets the value of Data.

func (*NotFoundError) SetName

func (s *NotFoundError) SetName(val NotFoundErrorName)

SetName sets the value of Name.

func (*NotFoundError) UnmarshalJSON

func (s *NotFoundError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*NotFoundError) Validate

func (s *NotFoundError) Validate() error

type NotFoundErrorData

type NotFoundErrorData struct {
	Message string `json:"message"`
}

func (*NotFoundErrorData) Decode

func (s *NotFoundErrorData) Decode(d *jx.Decoder) error

Decode decodes NotFoundErrorData from json.

func (*NotFoundErrorData) Encode

func (s *NotFoundErrorData) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*NotFoundErrorData) GetMessage

func (s *NotFoundErrorData) GetMessage() string

GetMessage returns the value of Message.

func (*NotFoundErrorData) MarshalJSON

func (s *NotFoundErrorData) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*NotFoundErrorData) SetMessage

func (s *NotFoundErrorData) SetMessage(val string)

SetMessage sets the value of Message.

func (*NotFoundErrorData) UnmarshalJSON

func (s *NotFoundErrorData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type NotFoundErrorName

type NotFoundErrorName string
const (
	NotFoundErrorNameNotFoundError NotFoundErrorName = "NotFoundError"
)

func (NotFoundErrorName) AllValues

func (NotFoundErrorName) AllValues() []NotFoundErrorName

AllValues returns all NotFoundErrorName values.

func (*NotFoundErrorName) Decode

func (s *NotFoundErrorName) Decode(d *jx.Decoder) error

Decode decodes NotFoundErrorName from json.

func (NotFoundErrorName) Encode

func (s NotFoundErrorName) Encode(e *jx.Encoder)

Encode encodes NotFoundErrorName as json.

func (NotFoundErrorName) MarshalJSON

func (s NotFoundErrorName) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (NotFoundErrorName) MarshalText

func (s NotFoundErrorName) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*NotFoundErrorName) UnmarshalJSON

func (s *NotFoundErrorName) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*NotFoundErrorName) UnmarshalText

func (s *NotFoundErrorName) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (NotFoundErrorName) Validate

func (s NotFoundErrorName) Validate() error

type OperationName

type OperationName = string

OperationName is the ogen operation name

const (
	AppAgentsOperation                           OperationName = "AppAgents"
	AppSkillsOperation                           OperationName = "AppSkills"
	CommandListOperation                         OperationName = "CommandList"
	ConfigProvidersOperation                     OperationName = "ConfigProviders"
	ExperimentalCapabilitiesGetOperation         OperationName = "ExperimentalCapabilitiesGet"
	ExperimentalConsoleGetOperation              OperationName = "ExperimentalConsoleGet"
	ExperimentalConsoleListOrgsOperation         OperationName = "ExperimentalConsoleListOrgs"
	ExperimentalConsoleSwitchOrgOperation        OperationName = "ExperimentalConsoleSwitchOrg"
	ExperimentalProjectCopyGenerateNameOperation OperationName = "ExperimentalProjectCopyGenerateName"
	ExperimentalResourceListOperation            OperationName = "ExperimentalResourceList"
	ExperimentalSessionListOperation             OperationName = "ExperimentalSessionList"
	ExperimentalWorkspaceAdapterListOperation    OperationName = "ExperimentalWorkspaceAdapterList"
	ExperimentalWorkspaceStatusOperation         OperationName = "ExperimentalWorkspaceStatus"
	ExperimentalWorkspaceSyncListOperation       OperationName = "ExperimentalWorkspaceSyncList"
	FileListOperation                            OperationName = "FileList"
	FileReadOperation                            OperationName = "FileRead"
	FileStatusOperation                          OperationName = "FileStatus"
	FindFilesOperation                           OperationName = "FindFiles"
	FindSymbolsOperation                         OperationName = "FindSymbols"
	FindTextOperation                            OperationName = "FindText"
	FormatterStatusOperation                     OperationName = "FormatterStatus"
	GlobalDisposeOperation                       OperationName = "GlobalDispose"
	GlobalHealthOperation                        OperationName = "GlobalHealth"
	InstanceDisposeOperation                     OperationName = "InstanceDispose"
	LspStatusOperation                           OperationName = "LspStatus"
	McpAuthRemoveOperation                       OperationName = "McpAuthRemove"
	McpConnectOperation                          OperationName = "McpConnect"
	McpDisconnectOperation                       OperationName = "McpDisconnect"
	PathGetOperation                             OperationName = "PathGet"
	PermissionListOperation                      OperationName = "PermissionList"
	ProjectCurrentOperation                      OperationName = "ProjectCurrent"
	ProjectDirectoriesOperation                  OperationName = "ProjectDirectories"
	ProjectInitGitOperation                      OperationName = "ProjectInitGit"
	ProjectListOperation                         OperationName = "ProjectList"
	ProviderListOperation                        OperationName = "ProviderList"
	PtyConnectOperation                          OperationName = "PtyConnect"
	PtyConnectTokenOperation                     OperationName = "PtyConnectToken"
	PtyGetOperation                              OperationName = "PtyGet"
	PtyListOperation                             OperationName = "PtyList"
	PtyRemoveOperation                           OperationName = "PtyRemove"
	PtyShellsOperation                           OperationName = "PtyShells"
	QuestionListOperation                        OperationName = "QuestionList"
	SessionDiffOperation                         OperationName = "SessionDiff"
	SessionListOperation                         OperationName = "SessionList"
	SessionShareOperation                        OperationName = "SessionShare"
	SessionUnshareOperation                      OperationName = "SessionUnshare"
	SyncStartOperation                           OperationName = "SyncStart"
	TuiClearPromptOperation                      OperationName = "TuiClearPrompt"
	TuiControlNextOperation                      OperationName = "TuiControlNext"
	TuiControlResponseOperation                  OperationName = "TuiControlResponse"
	TuiOpenHelpOperation                         OperationName = "TuiOpenHelp"
	TuiOpenModelsOperation                       OperationName = "TuiOpenModels"
	TuiOpenSessionsOperation                     OperationName = "TuiOpenSessions"
	TuiOpenThemesOperation                       OperationName = "TuiOpenThemes"
	TuiShowToastOperation                        OperationName = "TuiShowToast"
	TuiSubmitPromptOperation                     OperationName = "TuiSubmitPrompt"
	V2CommandListOperation                       OperationName = "V2CommandList"
	V2CredentialRemoveOperation                  OperationName = "V2CredentialRemove"
	V2CredentialUpdateOperation                  OperationName = "V2CredentialUpdate"
	V2FsFindOperation                            OperationName = "V2FsFind"
	V2FsListOperation                            OperationName = "V2FsList"
	V2FsReadOperation                            OperationName = "V2FsRead"
	V2HealthGetOperation                         OperationName = "V2HealthGet"
	V2IntegrationAttemptCancelOperation          OperationName = "V2IntegrationAttemptCancel"
	V2LocationGetOperation                       OperationName = "V2LocationGet"
	V2PermissionRequestListOperation             OperationName = "V2PermissionRequestList"
	V2PermissionSavedListOperation               OperationName = "V2PermissionSavedList"
	V2PermissionSavedRemoveOperation             OperationName = "V2PermissionSavedRemove"
	V2PtyConnectOperation                        OperationName = "V2PtyConnect"
	V2PtyConnectTokenOperation                   OperationName = "V2PtyConnectToken"
	V2PtyCreateOperation                         OperationName = "V2PtyCreate"
	V2PtyGetOperation                            OperationName = "V2PtyGet"
	V2PtyListOperation                           OperationName = "V2PtyList"
	V2PtyRemoveOperation                         OperationName = "V2PtyRemove"
	V2PtyUpdateOperation                         OperationName = "V2PtyUpdate"
	V2QuestionRequestListOperation               OperationName = "V2QuestionRequestList"
	V2SessionActiveOperation                     OperationName = "V2SessionActive"
	V2SessionCreateOperation                     OperationName = "V2SessionCreate"
	V2SkillListOperation                         OperationName = "V2SkillList"
	VcsDiffOperation                             OperationName = "VcsDiff"
	VcsDiffRawOperation                          OperationName = "VcsDiffRaw"
	VcsGetOperation                              OperationName = "VcsGet"
	VcsStatusOperation                           OperationName = "VcsStatus"
)

type OptAgentModel

type OptAgentModel struct {
	Value AgentModel
	Set   bool
}

OptAgentModel is optional AgentModel.

func NewOptAgentModel

func NewOptAgentModel(v AgentModel) OptAgentModel

NewOptAgentModel returns new OptAgentModel with value set to v.

func (*OptAgentModel) Decode

func (o *OptAgentModel) Decode(d *jx.Decoder) error

Decode decodes AgentModel from json.

func (OptAgentModel) Encode

func (o OptAgentModel) Encode(e *jx.Encoder)

Encode encodes AgentModel as json.

func (OptAgentModel) Get

func (o OptAgentModel) Get() (v AgentModel, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptAgentModel) IsSet

func (o OptAgentModel) IsSet() bool

IsSet returns true if OptAgentModel was set.

func (OptAgentModel) MarshalJSON

func (s OptAgentModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptAgentModel) Or

Or returns value if set, or given parameter if does not.

func (*OptAgentModel) Reset

func (o *OptAgentModel) Reset()

Reset unsets value.

func (*OptAgentModel) SetTo

func (o *OptAgentModel) SetTo(v AgentModel)

SetTo sets value to v.

func (*OptAgentModel) UnmarshalJSON

func (s *OptAgentModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBadRequestErrorDataKind

type OptBadRequestErrorDataKind struct {
	Value BadRequestErrorDataKind
	Set   bool
}

OptBadRequestErrorDataKind is optional BadRequestErrorDataKind.

func NewOptBadRequestErrorDataKind

func NewOptBadRequestErrorDataKind(v BadRequestErrorDataKind) OptBadRequestErrorDataKind

NewOptBadRequestErrorDataKind returns new OptBadRequestErrorDataKind with value set to v.

func (*OptBadRequestErrorDataKind) Decode

Decode decodes BadRequestErrorDataKind from json.

func (OptBadRequestErrorDataKind) Encode

func (o OptBadRequestErrorDataKind) Encode(e *jx.Encoder)

Encode encodes BadRequestErrorDataKind as json.

func (OptBadRequestErrorDataKind) Get

Get returns value and boolean that denotes whether value was set.

func (OptBadRequestErrorDataKind) IsSet

func (o OptBadRequestErrorDataKind) IsSet() bool

IsSet returns true if OptBadRequestErrorDataKind was set.

func (OptBadRequestErrorDataKind) MarshalJSON

func (s OptBadRequestErrorDataKind) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptBadRequestErrorDataKind) Or

Or returns value if set, or given parameter if does not.

func (*OptBadRequestErrorDataKind) Reset

func (o *OptBadRequestErrorDataKind) Reset()

Reset unsets value.

func (*OptBadRequestErrorDataKind) SetTo

SetTo sets value to v.

func (*OptBadRequestErrorDataKind) UnmarshalJSON

func (s *OptBadRequestErrorDataKind) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBool

type OptBool struct {
	Value bool
	Set   bool
}

OptBool is optional bool.

func NewOptBool

func NewOptBool(v bool) OptBool

NewOptBool returns new OptBool with value set to v.

func (*OptBool) Decode

func (o *OptBool) Decode(d *jx.Decoder) error

Decode decodes bool from json.

func (OptBool) Encode

func (o OptBool) Encode(e *jx.Encoder)

Encode encodes bool as json.

func (OptBool) Get

func (o OptBool) Get() (v bool, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptBool) IsSet

func (o OptBool) IsSet() bool

IsSet returns true if OptBool was set.

func (OptBool) MarshalJSON

func (s OptBool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptBool) Or

func (o OptBool) Or(d bool) bool

Or returns value if set, or given parameter if does not.

func (*OptBool) Reset

func (o *OptBool) Reset()

Reset unsets value.

func (*OptBool) SetTo

func (o *OptBool) SetTo(v bool)

SetTo sets value to v.

func (*OptBool) UnmarshalJSON

func (s *OptBool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCommandSource

type OptCommandSource struct {
	Value CommandSource
	Set   bool
}

OptCommandSource is optional CommandSource.

func NewOptCommandSource

func NewOptCommandSource(v CommandSource) OptCommandSource

NewOptCommandSource returns new OptCommandSource with value set to v.

func (*OptCommandSource) Decode

func (o *OptCommandSource) Decode(d *jx.Decoder) error

Decode decodes CommandSource from json.

func (OptCommandSource) Encode

func (o OptCommandSource) Encode(e *jx.Encoder)

Encode encodes CommandSource as json.

func (OptCommandSource) Get

func (o OptCommandSource) Get() (v CommandSource, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptCommandSource) IsSet

func (o OptCommandSource) IsSet() bool

IsSet returns true if OptCommandSource was set.

func (OptCommandSource) MarshalJSON

func (s OptCommandSource) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptCommandSource) Or

Or returns value if set, or given parameter if does not.

func (*OptCommandSource) Reset

func (o *OptCommandSource) Reset()

Reset unsets value.

func (*OptCommandSource) SetTo

func (o *OptCommandSource) SetTo(v CommandSource)

SetTo sets value to v.

func (*OptCommandSource) UnmarshalJSON

func (s *OptCommandSource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptExperimentalConsoleSwitchOrgReq

type OptExperimentalConsoleSwitchOrgReq struct {
	Value ExperimentalConsoleSwitchOrgReq
	Set   bool
}

OptExperimentalConsoleSwitchOrgReq is optional ExperimentalConsoleSwitchOrgReq.

func NewOptExperimentalConsoleSwitchOrgReq

func NewOptExperimentalConsoleSwitchOrgReq(v ExperimentalConsoleSwitchOrgReq) OptExperimentalConsoleSwitchOrgReq

NewOptExperimentalConsoleSwitchOrgReq returns new OptExperimentalConsoleSwitchOrgReq with value set to v.

func (*OptExperimentalConsoleSwitchOrgReq) Decode

Decode decodes ExperimentalConsoleSwitchOrgReq from json.

func (OptExperimentalConsoleSwitchOrgReq) Encode

Encode encodes ExperimentalConsoleSwitchOrgReq as json.

func (OptExperimentalConsoleSwitchOrgReq) Get

Get returns value and boolean that denotes whether value was set.

func (OptExperimentalConsoleSwitchOrgReq) IsSet

IsSet returns true if OptExperimentalConsoleSwitchOrgReq was set.

func (OptExperimentalConsoleSwitchOrgReq) MarshalJSON

func (s OptExperimentalConsoleSwitchOrgReq) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptExperimentalConsoleSwitchOrgReq) Or

Or returns value if set, or given parameter if does not.

func (*OptExperimentalConsoleSwitchOrgReq) Reset

Reset unsets value.

func (*OptExperimentalConsoleSwitchOrgReq) SetTo

SetTo sets value to v.

func (*OptExperimentalConsoleSwitchOrgReq) UnmarshalJSON

func (s *OptExperimentalConsoleSwitchOrgReq) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptExperimentalProjectCopyGenerateNameReq

type OptExperimentalProjectCopyGenerateNameReq struct {
	Value ExperimentalProjectCopyGenerateNameReq
	Set   bool
}

OptExperimentalProjectCopyGenerateNameReq is optional ExperimentalProjectCopyGenerateNameReq.

func NewOptExperimentalProjectCopyGenerateNameReq

func NewOptExperimentalProjectCopyGenerateNameReq(v ExperimentalProjectCopyGenerateNameReq) OptExperimentalProjectCopyGenerateNameReq

NewOptExperimentalProjectCopyGenerateNameReq returns new OptExperimentalProjectCopyGenerateNameReq with value set to v.

func (*OptExperimentalProjectCopyGenerateNameReq) Decode

Decode decodes ExperimentalProjectCopyGenerateNameReq from json.

func (OptExperimentalProjectCopyGenerateNameReq) Encode

Encode encodes ExperimentalProjectCopyGenerateNameReq as json.

func (OptExperimentalProjectCopyGenerateNameReq) Get

Get returns value and boolean that denotes whether value was set.

func (OptExperimentalProjectCopyGenerateNameReq) IsSet

IsSet returns true if OptExperimentalProjectCopyGenerateNameReq was set.

func (OptExperimentalProjectCopyGenerateNameReq) MarshalJSON

MarshalJSON implements stdjson.Marshaler.

func (OptExperimentalProjectCopyGenerateNameReq) Or

Or returns value if set, or given parameter if does not.

func (*OptExperimentalProjectCopyGenerateNameReq) Reset

Reset unsets value.

func (*OptExperimentalProjectCopyGenerateNameReq) SetTo

SetTo sets value to v.

func (*OptExperimentalProjectCopyGenerateNameReq) UnmarshalJSON

func (s *OptExperimentalProjectCopyGenerateNameReq) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptExperimentalSessionListArchived

type OptExperimentalSessionListArchived struct {
	Value ExperimentalSessionListArchived
	Set   bool
}

OptExperimentalSessionListArchived is optional ExperimentalSessionListArchived.

func NewOptExperimentalSessionListArchived

func NewOptExperimentalSessionListArchived(v ExperimentalSessionListArchived) OptExperimentalSessionListArchived

NewOptExperimentalSessionListArchived returns new OptExperimentalSessionListArchived with value set to v.

func (OptExperimentalSessionListArchived) Get

Get returns value and boolean that denotes whether value was set.

func (OptExperimentalSessionListArchived) IsSet

IsSet returns true if OptExperimentalSessionListArchived was set.

func (OptExperimentalSessionListArchived) Or

Or returns value if set, or given parameter if does not.

func (*OptExperimentalSessionListArchived) Reset

Reset unsets value.

func (*OptExperimentalSessionListArchived) SetTo

SetTo sets value to v.

type OptExperimentalSessionListRoots

type OptExperimentalSessionListRoots struct {
	Value ExperimentalSessionListRoots
	Set   bool
}

OptExperimentalSessionListRoots is optional ExperimentalSessionListRoots.

func NewOptExperimentalSessionListRoots

func NewOptExperimentalSessionListRoots(v ExperimentalSessionListRoots) OptExperimentalSessionListRoots

NewOptExperimentalSessionListRoots returns new OptExperimentalSessionListRoots with value set to v.

func (OptExperimentalSessionListRoots) Get

Get returns value and boolean that denotes whether value was set.

func (OptExperimentalSessionListRoots) IsSet

IsSet returns true if OptExperimentalSessionListRoots was set.

func (OptExperimentalSessionListRoots) Or

Or returns value if set, or given parameter if does not.

func (*OptExperimentalSessionListRoots) Reset

Reset unsets value.

func (*OptExperimentalSessionListRoots) SetTo

SetTo sets value to v.

type OptFileContentEncoding

type OptFileContentEncoding struct {
	Value FileContentEncoding
	Set   bool
}

OptFileContentEncoding is optional FileContentEncoding.

func NewOptFileContentEncoding

func NewOptFileContentEncoding(v FileContentEncoding) OptFileContentEncoding

NewOptFileContentEncoding returns new OptFileContentEncoding with value set to v.

func (*OptFileContentEncoding) Decode

func (o *OptFileContentEncoding) Decode(d *jx.Decoder) error

Decode decodes FileContentEncoding from json.

func (OptFileContentEncoding) Encode

func (o OptFileContentEncoding) Encode(e *jx.Encoder)

Encode encodes FileContentEncoding as json.

func (OptFileContentEncoding) Get

Get returns value and boolean that denotes whether value was set.

func (OptFileContentEncoding) IsSet

func (o OptFileContentEncoding) IsSet() bool

IsSet returns true if OptFileContentEncoding was set.

func (OptFileContentEncoding) MarshalJSON

func (s OptFileContentEncoding) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFileContentEncoding) Or

Or returns value if set, or given parameter if does not.

func (*OptFileContentEncoding) Reset

func (o *OptFileContentEncoding) Reset()

Reset unsets value.

func (*OptFileContentEncoding) SetTo

SetTo sets value to v.

func (*OptFileContentEncoding) UnmarshalJSON

func (s *OptFileContentEncoding) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFileContentPatch

type OptFileContentPatch struct {
	Value FileContentPatch
	Set   bool
}

OptFileContentPatch is optional FileContentPatch.

func NewOptFileContentPatch

func NewOptFileContentPatch(v FileContentPatch) OptFileContentPatch

NewOptFileContentPatch returns new OptFileContentPatch with value set to v.

func (*OptFileContentPatch) Decode

func (o *OptFileContentPatch) Decode(d *jx.Decoder) error

Decode decodes FileContentPatch from json.

func (OptFileContentPatch) Encode

func (o OptFileContentPatch) Encode(e *jx.Encoder)

Encode encodes FileContentPatch as json.

func (OptFileContentPatch) Get

func (o OptFileContentPatch) Get() (v FileContentPatch, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptFileContentPatch) IsSet

func (o OptFileContentPatch) IsSet() bool

IsSet returns true if OptFileContentPatch was set.

func (OptFileContentPatch) MarshalJSON

func (s OptFileContentPatch) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFileContentPatch) Or

Or returns value if set, or given parameter if does not.

func (*OptFileContentPatch) Reset

func (o *OptFileContentPatch) Reset()

Reset unsets value.

func (*OptFileContentPatch) SetTo

SetTo sets value to v.

func (*OptFileContentPatch) UnmarshalJSON

func (s *OptFileContentPatch) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFindFilesDirs

type OptFindFilesDirs struct {
	Value FindFilesDirs
	Set   bool
}

OptFindFilesDirs is optional FindFilesDirs.

func NewOptFindFilesDirs

func NewOptFindFilesDirs(v FindFilesDirs) OptFindFilesDirs

NewOptFindFilesDirs returns new OptFindFilesDirs with value set to v.

func (OptFindFilesDirs) Get

func (o OptFindFilesDirs) Get() (v FindFilesDirs, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptFindFilesDirs) IsSet

func (o OptFindFilesDirs) IsSet() bool

IsSet returns true if OptFindFilesDirs was set.

func (OptFindFilesDirs) Or

Or returns value if set, or given parameter if does not.

func (*OptFindFilesDirs) Reset

func (o *OptFindFilesDirs) Reset()

Reset unsets value.

func (*OptFindFilesDirs) SetTo

func (o *OptFindFilesDirs) SetTo(v FindFilesDirs)

SetTo sets value to v.

type OptFindFilesType

type OptFindFilesType struct {
	Value FindFilesType
	Set   bool
}

OptFindFilesType is optional FindFilesType.

func NewOptFindFilesType

func NewOptFindFilesType(v FindFilesType) OptFindFilesType

NewOptFindFilesType returns new OptFindFilesType with value set to v.

func (OptFindFilesType) Get

func (o OptFindFilesType) Get() (v FindFilesType, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptFindFilesType) IsSet

func (o OptFindFilesType) IsSet() bool

IsSet returns true if OptFindFilesType was set.

func (OptFindFilesType) Or

Or returns value if set, or given parameter if does not.

func (*OptFindFilesType) Reset

func (o *OptFindFilesType) Reset()

Reset unsets value.

func (*OptFindFilesType) SetTo

func (o *OptFindFilesType) SetTo(v FindFilesType)

SetTo sets value to v.

type OptFloat64

type OptFloat64 struct {
	Value float64
	Set   bool
}

OptFloat64 is optional float64.

func NewOptFloat64

func NewOptFloat64(v float64) OptFloat64

NewOptFloat64 returns new OptFloat64 with value set to v.

func (*OptFloat64) Decode

func (o *OptFloat64) Decode(d *jx.Decoder) error

Decode decodes float64 from json.

func (OptFloat64) Encode

func (o OptFloat64) Encode(e *jx.Encoder)

Encode encodes float64 as json.

func (OptFloat64) Get

func (o OptFloat64) Get() (v float64, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptFloat64) IsSet

func (o OptFloat64) IsSet() bool

IsSet returns true if OptFloat64 was set.

func (OptFloat64) MarshalJSON

func (s OptFloat64) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFloat64) Or

func (o OptFloat64) Or(d float64) float64

Or returns value if set, or given parameter if does not.

func (*OptFloat64) Reset

func (o *OptFloat64) Reset()

Reset unsets value.

func (*OptFloat64) SetTo

func (o *OptFloat64) SetTo(v float64)

SetTo sets value to v.

func (*OptFloat64) UnmarshalJSON

func (s *OptFloat64) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGlobalSessionModel

type OptGlobalSessionModel struct {
	Value GlobalSessionModel
	Set   bool
}

OptGlobalSessionModel is optional GlobalSessionModel.

func NewOptGlobalSessionModel

func NewOptGlobalSessionModel(v GlobalSessionModel) OptGlobalSessionModel

NewOptGlobalSessionModel returns new OptGlobalSessionModel with value set to v.

func (*OptGlobalSessionModel) Decode

func (o *OptGlobalSessionModel) Decode(d *jx.Decoder) error

Decode decodes GlobalSessionModel from json.

func (OptGlobalSessionModel) Encode

func (o OptGlobalSessionModel) Encode(e *jx.Encoder)

Encode encodes GlobalSessionModel as json.

func (OptGlobalSessionModel) Get

Get returns value and boolean that denotes whether value was set.

func (OptGlobalSessionModel) IsSet

func (o OptGlobalSessionModel) IsSet() bool

IsSet returns true if OptGlobalSessionModel was set.

func (OptGlobalSessionModel) MarshalJSON

func (s OptGlobalSessionModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptGlobalSessionModel) Or

Or returns value if set, or given parameter if does not.

func (*OptGlobalSessionModel) Reset

func (o *OptGlobalSessionModel) Reset()

Reset unsets value.

func (*OptGlobalSessionModel) SetTo

SetTo sets value to v.

func (*OptGlobalSessionModel) UnmarshalJSON

func (s *OptGlobalSessionModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGlobalSessionRevert

type OptGlobalSessionRevert struct {
	Value GlobalSessionRevert
	Set   bool
}

OptGlobalSessionRevert is optional GlobalSessionRevert.

func NewOptGlobalSessionRevert

func NewOptGlobalSessionRevert(v GlobalSessionRevert) OptGlobalSessionRevert

NewOptGlobalSessionRevert returns new OptGlobalSessionRevert with value set to v.

func (*OptGlobalSessionRevert) Decode

func (o *OptGlobalSessionRevert) Decode(d *jx.Decoder) error

Decode decodes GlobalSessionRevert from json.

func (OptGlobalSessionRevert) Encode

func (o OptGlobalSessionRevert) Encode(e *jx.Encoder)

Encode encodes GlobalSessionRevert as json.

func (OptGlobalSessionRevert) Get

Get returns value and boolean that denotes whether value was set.

func (OptGlobalSessionRevert) IsSet

func (o OptGlobalSessionRevert) IsSet() bool

IsSet returns true if OptGlobalSessionRevert was set.

func (OptGlobalSessionRevert) MarshalJSON

func (s OptGlobalSessionRevert) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptGlobalSessionRevert) Or

Or returns value if set, or given parameter if does not.

func (*OptGlobalSessionRevert) Reset

func (o *OptGlobalSessionRevert) Reset()

Reset unsets value.

func (*OptGlobalSessionRevert) SetTo

SetTo sets value to v.

func (*OptGlobalSessionRevert) UnmarshalJSON

func (s *OptGlobalSessionRevert) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGlobalSessionShare

type OptGlobalSessionShare struct {
	Value GlobalSessionShare
	Set   bool
}

OptGlobalSessionShare is optional GlobalSessionShare.

func NewOptGlobalSessionShare

func NewOptGlobalSessionShare(v GlobalSessionShare) OptGlobalSessionShare

NewOptGlobalSessionShare returns new OptGlobalSessionShare with value set to v.

func (*OptGlobalSessionShare) Decode

func (o *OptGlobalSessionShare) Decode(d *jx.Decoder) error

Decode decodes GlobalSessionShare from json.

func (OptGlobalSessionShare) Encode

func (o OptGlobalSessionShare) Encode(e *jx.Encoder)

Encode encodes GlobalSessionShare as json.

func (OptGlobalSessionShare) Get

Get returns value and boolean that denotes whether value was set.

func (OptGlobalSessionShare) IsSet

func (o OptGlobalSessionShare) IsSet() bool

IsSet returns true if OptGlobalSessionShare was set.

func (OptGlobalSessionShare) MarshalJSON

func (s OptGlobalSessionShare) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptGlobalSessionShare) Or

Or returns value if set, or given parameter if does not.

func (*OptGlobalSessionShare) Reset

func (o *OptGlobalSessionShare) Reset()

Reset unsets value.

func (*OptGlobalSessionShare) SetTo

SetTo sets value to v.

func (*OptGlobalSessionShare) UnmarshalJSON

func (s *OptGlobalSessionShare) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGlobalSessionSummary

type OptGlobalSessionSummary struct {
	Value GlobalSessionSummary
	Set   bool
}

OptGlobalSessionSummary is optional GlobalSessionSummary.

func NewOptGlobalSessionSummary

func NewOptGlobalSessionSummary(v GlobalSessionSummary) OptGlobalSessionSummary

NewOptGlobalSessionSummary returns new OptGlobalSessionSummary with value set to v.

func (*OptGlobalSessionSummary) Decode

func (o *OptGlobalSessionSummary) Decode(d *jx.Decoder) error

Decode decodes GlobalSessionSummary from json.

func (OptGlobalSessionSummary) Encode

func (o OptGlobalSessionSummary) Encode(e *jx.Encoder)

Encode encodes GlobalSessionSummary as json.

func (OptGlobalSessionSummary) Get

Get returns value and boolean that denotes whether value was set.

func (OptGlobalSessionSummary) IsSet

func (o OptGlobalSessionSummary) IsSet() bool

IsSet returns true if OptGlobalSessionSummary was set.

func (OptGlobalSessionSummary) MarshalJSON

func (s OptGlobalSessionSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptGlobalSessionSummary) Or

Or returns value if set, or given parameter if does not.

func (*OptGlobalSessionSummary) Reset

func (o *OptGlobalSessionSummary) Reset()

Reset unsets value.

func (*OptGlobalSessionSummary) SetTo

SetTo sets value to v.

func (*OptGlobalSessionSummary) UnmarshalJSON

func (s *OptGlobalSessionSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGlobalSessionTokens

type OptGlobalSessionTokens struct {
	Value GlobalSessionTokens
	Set   bool
}

OptGlobalSessionTokens is optional GlobalSessionTokens.

func NewOptGlobalSessionTokens

func NewOptGlobalSessionTokens(v GlobalSessionTokens) OptGlobalSessionTokens

NewOptGlobalSessionTokens returns new OptGlobalSessionTokens with value set to v.

func (*OptGlobalSessionTokens) Decode

func (o *OptGlobalSessionTokens) Decode(d *jx.Decoder) error

Decode decodes GlobalSessionTokens from json.

func (OptGlobalSessionTokens) Encode

func (o OptGlobalSessionTokens) Encode(e *jx.Encoder)

Encode encodes GlobalSessionTokens as json.

func (OptGlobalSessionTokens) Get

Get returns value and boolean that denotes whether value was set.

func (OptGlobalSessionTokens) IsSet

func (o OptGlobalSessionTokens) IsSet() bool

IsSet returns true if OptGlobalSessionTokens was set.

func (OptGlobalSessionTokens) MarshalJSON

func (s OptGlobalSessionTokens) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptGlobalSessionTokens) Or

Or returns value if set, or given parameter if does not.

func (*OptGlobalSessionTokens) Reset

func (o *OptGlobalSessionTokens) Reset()

Reset unsets value.

func (*OptGlobalSessionTokens) SetTo

SetTo sets value to v.

func (*OptGlobalSessionTokens) UnmarshalJSON

func (s *OptGlobalSessionTokens) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptInt

type OptInt struct {
	Value int
	Set   bool
}

OptInt is optional int.

func NewOptInt

func NewOptInt(v int) OptInt

NewOptInt returns new OptInt with value set to v.

func (*OptInt) Decode

func (o *OptInt) Decode(d *jx.Decoder) error

Decode decodes int from json.

func (OptInt) Encode

func (o OptInt) Encode(e *jx.Encoder)

Encode encodes int as json.

func (OptInt) Get

func (o OptInt) Get() (v int, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptInt) IsSet

func (o OptInt) IsSet() bool

IsSet returns true if OptInt was set.

func (OptInt) MarshalJSON

func (s OptInt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptInt) Or

func (o OptInt) Or(d int) int

Or returns value if set, or given parameter if does not.

func (*OptInt) Reset

func (o *OptInt) Reset()

Reset unsets value.

func (*OptInt) SetTo

func (o *OptInt) SetTo(v int)

SetTo sets value to v.

func (*OptInt) UnmarshalJSON

func (s *OptInt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptLocationRef

type OptLocationRef struct {
	Value LocationRef
	Set   bool
}

OptLocationRef is optional LocationRef.

func NewOptLocationRef

func NewOptLocationRef(v LocationRef) OptLocationRef

NewOptLocationRef returns new OptLocationRef with value set to v.

func (*OptLocationRef) Decode

func (o *OptLocationRef) Decode(d *jx.Decoder) error

Decode decodes LocationRef from json.

func (OptLocationRef) Encode

func (o OptLocationRef) Encode(e *jx.Encoder)

Encode encodes LocationRef as json.

func (OptLocationRef) Get

func (o OptLocationRef) Get() (v LocationRef, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptLocationRef) IsSet

func (o OptLocationRef) IsSet() bool

IsSet returns true if OptLocationRef was set.

func (OptLocationRef) MarshalJSON

func (s OptLocationRef) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptLocationRef) Or

Or returns value if set, or given parameter if does not.

func (*OptLocationRef) Reset

func (o *OptLocationRef) Reset()

Reset unsets value.

func (*OptLocationRef) SetTo

func (o *OptLocationRef) SetTo(v LocationRef)

SetTo sets value to v.

func (*OptLocationRef) UnmarshalJSON

func (s *OptLocationRef) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptModelCostExperimentalOver200K

type OptModelCostExperimentalOver200K struct {
	Value ModelCostExperimentalOver200K
	Set   bool
}

OptModelCostExperimentalOver200K is optional ModelCostExperimentalOver200K.

func NewOptModelCostExperimentalOver200K

func NewOptModelCostExperimentalOver200K(v ModelCostExperimentalOver200K) OptModelCostExperimentalOver200K

NewOptModelCostExperimentalOver200K returns new OptModelCostExperimentalOver200K with value set to v.

func (*OptModelCostExperimentalOver200K) Decode

Decode decodes ModelCostExperimentalOver200K from json.

func (OptModelCostExperimentalOver200K) Encode

Encode encodes ModelCostExperimentalOver200K as json.

func (OptModelCostExperimentalOver200K) Get

Get returns value and boolean that denotes whether value was set.

func (OptModelCostExperimentalOver200K) IsSet

IsSet returns true if OptModelCostExperimentalOver200K was set.

func (OptModelCostExperimentalOver200K) MarshalJSON

func (s OptModelCostExperimentalOver200K) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptModelCostExperimentalOver200K) Or

Or returns value if set, or given parameter if does not.

func (*OptModelCostExperimentalOver200K) Reset

Reset unsets value.

func (*OptModelCostExperimentalOver200K) SetTo

SetTo sets value to v.

func (*OptModelCostExperimentalOver200K) UnmarshalJSON

func (s *OptModelCostExperimentalOver200K) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptModelRef

type OptModelRef struct {
	Value ModelRef
	Set   bool
}

OptModelRef is optional ModelRef.

func NewOptModelRef

func NewOptModelRef(v ModelRef) OptModelRef

NewOptModelRef returns new OptModelRef with value set to v.

func (*OptModelRef) Decode

func (o *OptModelRef) Decode(d *jx.Decoder) error

Decode decodes ModelRef from json.

func (OptModelRef) Encode

func (o OptModelRef) Encode(e *jx.Encoder)

Encode encodes ModelRef as json.

func (OptModelRef) Get

func (o OptModelRef) Get() (v ModelRef, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptModelRef) IsSet

func (o OptModelRef) IsSet() bool

IsSet returns true if OptModelRef was set.

func (OptModelRef) MarshalJSON

func (s OptModelRef) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptModelRef) Or

func (o OptModelRef) Or(d ModelRef) ModelRef

Or returns value if set, or given parameter if does not.

func (*OptModelRef) Reset

func (o *OptModelRef) Reset()

Reset unsets value.

func (*OptModelRef) SetTo

func (o *OptModelRef) SetTo(v ModelRef)

SetTo sets value to v.

func (*OptModelRef) UnmarshalJSON

func (s *OptModelRef) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptModelVariants

type OptModelVariants struct {
	Value ModelVariants
	Set   bool
}

OptModelVariants is optional ModelVariants.

func NewOptModelVariants

func NewOptModelVariants(v ModelVariants) OptModelVariants

NewOptModelVariants returns new OptModelVariants with value set to v.

func (*OptModelVariants) Decode

func (o *OptModelVariants) Decode(d *jx.Decoder) error

Decode decodes ModelVariants from json.

func (OptModelVariants) Encode

func (o OptModelVariants) Encode(e *jx.Encoder)

Encode encodes ModelVariants as json.

func (OptModelVariants) Get

func (o OptModelVariants) Get() (v ModelVariants, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptModelVariants) IsSet

func (o OptModelVariants) IsSet() bool

IsSet returns true if OptModelVariants was set.

func (OptModelVariants) MarshalJSON

func (s OptModelVariants) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptModelVariants) Or

Or returns value if set, or given parameter if does not.

func (*OptModelVariants) Reset

func (o *OptModelVariants) Reset()

Reset unsets value.

func (*OptModelVariants) SetTo

func (o *OptModelVariants) SetTo(v ModelVariants)

SetTo sets value to v.

func (*OptModelVariants) UnmarshalJSON

func (s *OptModelVariants) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptPermissionRequestTool

type OptPermissionRequestTool struct {
	Value PermissionRequestTool
	Set   bool
}

OptPermissionRequestTool is optional PermissionRequestTool.

func NewOptPermissionRequestTool

func NewOptPermissionRequestTool(v PermissionRequestTool) OptPermissionRequestTool

NewOptPermissionRequestTool returns new OptPermissionRequestTool with value set to v.

func (*OptPermissionRequestTool) Decode

func (o *OptPermissionRequestTool) Decode(d *jx.Decoder) error

Decode decodes PermissionRequestTool from json.

func (OptPermissionRequestTool) Encode

func (o OptPermissionRequestTool) Encode(e *jx.Encoder)

Encode encodes PermissionRequestTool as json.

func (OptPermissionRequestTool) Get

Get returns value and boolean that denotes whether value was set.

func (OptPermissionRequestTool) IsSet

func (o OptPermissionRequestTool) IsSet() bool

IsSet returns true if OptPermissionRequestTool was set.

func (OptPermissionRequestTool) MarshalJSON

func (s OptPermissionRequestTool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptPermissionRequestTool) Or

Or returns value if set, or given parameter if does not.

func (*OptPermissionRequestTool) Reset

func (o *OptPermissionRequestTool) Reset()

Reset unsets value.

func (*OptPermissionRequestTool) SetTo

SetTo sets value to v.

func (*OptPermissionRequestTool) UnmarshalJSON

func (s *OptPermissionRequestTool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptPermissionV2Source

type OptPermissionV2Source struct {
	Value PermissionV2Source
	Set   bool
}

OptPermissionV2Source is optional PermissionV2Source.

func NewOptPermissionV2Source

func NewOptPermissionV2Source(v PermissionV2Source) OptPermissionV2Source

NewOptPermissionV2Source returns new OptPermissionV2Source with value set to v.

func (*OptPermissionV2Source) Decode

func (o *OptPermissionV2Source) Decode(d *jx.Decoder) error

Decode decodes PermissionV2Source from json.

func (OptPermissionV2Source) Encode

func (o OptPermissionV2Source) Encode(e *jx.Encoder)

Encode encodes PermissionV2Source as json.

func (OptPermissionV2Source) Get

Get returns value and boolean that denotes whether value was set.

func (OptPermissionV2Source) IsSet

func (o OptPermissionV2Source) IsSet() bool

IsSet returns true if OptPermissionV2Source was set.

func (OptPermissionV2Source) MarshalJSON

func (s OptPermissionV2Source) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptPermissionV2Source) Or

Or returns value if set, or given parameter if does not.

func (*OptPermissionV2Source) Reset

func (o *OptPermissionV2Source) Reset()

Reset unsets value.

func (*OptPermissionV2Source) SetTo

SetTo sets value to v.

func (*OptPermissionV2Source) UnmarshalJSON

func (s *OptPermissionV2Source) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptProjectCommands

type OptProjectCommands struct {
	Value ProjectCommands
	Set   bool
}

OptProjectCommands is optional ProjectCommands.

func NewOptProjectCommands

func NewOptProjectCommands(v ProjectCommands) OptProjectCommands

NewOptProjectCommands returns new OptProjectCommands with value set to v.

func (*OptProjectCommands) Decode

func (o *OptProjectCommands) Decode(d *jx.Decoder) error

Decode decodes ProjectCommands from json.

func (OptProjectCommands) Encode

func (o OptProjectCommands) Encode(e *jx.Encoder)

Encode encodes ProjectCommands as json.

func (OptProjectCommands) Get

func (o OptProjectCommands) Get() (v ProjectCommands, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptProjectCommands) IsSet

func (o OptProjectCommands) IsSet() bool

IsSet returns true if OptProjectCommands was set.

func (OptProjectCommands) MarshalJSON

func (s OptProjectCommands) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptProjectCommands) Or

Or returns value if set, or given parameter if does not.

func (*OptProjectCommands) Reset

func (o *OptProjectCommands) Reset()

Reset unsets value.

func (*OptProjectCommands) SetTo

func (o *OptProjectCommands) SetTo(v ProjectCommands)

SetTo sets value to v.

func (*OptProjectCommands) UnmarshalJSON

func (s *OptProjectCommands) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptProjectIcon

type OptProjectIcon struct {
	Value ProjectIcon
	Set   bool
}

OptProjectIcon is optional ProjectIcon.

func NewOptProjectIcon

func NewOptProjectIcon(v ProjectIcon) OptProjectIcon

NewOptProjectIcon returns new OptProjectIcon with value set to v.

func (*OptProjectIcon) Decode

func (o *OptProjectIcon) Decode(d *jx.Decoder) error

Decode decodes ProjectIcon from json.

func (OptProjectIcon) Encode

func (o OptProjectIcon) Encode(e *jx.Encoder)

Encode encodes ProjectIcon as json.

func (OptProjectIcon) Get

func (o OptProjectIcon) Get() (v ProjectIcon, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptProjectIcon) IsSet

func (o OptProjectIcon) IsSet() bool

IsSet returns true if OptProjectIcon was set.

func (OptProjectIcon) MarshalJSON

func (s OptProjectIcon) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptProjectIcon) Or

Or returns value if set, or given parameter if does not.

func (*OptProjectIcon) Reset

func (o *OptProjectIcon) Reset()

Reset unsets value.

func (*OptProjectIcon) SetTo

func (o *OptProjectIcon) SetTo(v ProjectIcon)

SetTo sets value to v.

func (*OptProjectIcon) UnmarshalJSON

func (s *OptProjectIcon) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptProjectVcs

type OptProjectVcs struct {
	Value ProjectVcs
	Set   bool
}

OptProjectVcs is optional ProjectVcs.

func NewOptProjectVcs

func NewOptProjectVcs(v ProjectVcs) OptProjectVcs

NewOptProjectVcs returns new OptProjectVcs with value set to v.

func (*OptProjectVcs) Decode

func (o *OptProjectVcs) Decode(d *jx.Decoder) error

Decode decodes ProjectVcs from json.

func (OptProjectVcs) Encode

func (o OptProjectVcs) Encode(e *jx.Encoder)

Encode encodes ProjectVcs as json.

func (OptProjectVcs) Get

func (o OptProjectVcs) Get() (v ProjectVcs, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptProjectVcs) IsSet

func (o OptProjectVcs) IsSet() bool

IsSet returns true if OptProjectVcs was set.

func (OptProjectVcs) MarshalJSON

func (s OptProjectVcs) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptProjectVcs) Or

Or returns value if set, or given parameter if does not.

func (*OptProjectVcs) Reset

func (o *OptProjectVcs) Reset()

Reset unsets value.

func (*OptProjectVcs) SetTo

func (o *OptProjectVcs) SetTo(v ProjectVcs)

SetTo sets value to v.

func (*OptProjectVcs) UnmarshalJSON

func (s *OptProjectVcs) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptQuestionTool

type OptQuestionTool struct {
	Value QuestionTool
	Set   bool
}

OptQuestionTool is optional QuestionTool.

func NewOptQuestionTool

func NewOptQuestionTool(v QuestionTool) OptQuestionTool

NewOptQuestionTool returns new OptQuestionTool with value set to v.

func (*OptQuestionTool) Decode

func (o *OptQuestionTool) Decode(d *jx.Decoder) error

Decode decodes QuestionTool from json.

func (OptQuestionTool) Encode

func (o OptQuestionTool) Encode(e *jx.Encoder)

Encode encodes QuestionTool as json.

func (OptQuestionTool) Get

func (o OptQuestionTool) Get() (v QuestionTool, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptQuestionTool) IsSet

func (o OptQuestionTool) IsSet() bool

IsSet returns true if OptQuestionTool was set.

func (OptQuestionTool) MarshalJSON

func (s OptQuestionTool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptQuestionTool) Or

Or returns value if set, or given parameter if does not.

func (*OptQuestionTool) Reset

func (o *OptQuestionTool) Reset()

Reset unsets value.

func (*OptQuestionTool) SetTo

func (o *OptQuestionTool) SetTo(v QuestionTool)

SetTo sets value to v.

func (*OptQuestionTool) UnmarshalJSON

func (s *OptQuestionTool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptQuestionV2Tool

type OptQuestionV2Tool struct {
	Value QuestionV2Tool
	Set   bool
}

OptQuestionV2Tool is optional QuestionV2Tool.

func NewOptQuestionV2Tool

func NewOptQuestionV2Tool(v QuestionV2Tool) OptQuestionV2Tool

NewOptQuestionV2Tool returns new OptQuestionV2Tool with value set to v.

func (*OptQuestionV2Tool) Decode

func (o *OptQuestionV2Tool) Decode(d *jx.Decoder) error

Decode decodes QuestionV2Tool from json.

func (OptQuestionV2Tool) Encode

func (o OptQuestionV2Tool) Encode(e *jx.Encoder)

Encode encodes QuestionV2Tool as json.

func (OptQuestionV2Tool) Get

func (o OptQuestionV2Tool) Get() (v QuestionV2Tool, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptQuestionV2Tool) IsSet

func (o OptQuestionV2Tool) IsSet() bool

IsSet returns true if OptQuestionV2Tool was set.

func (OptQuestionV2Tool) MarshalJSON

func (s OptQuestionV2Tool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptQuestionV2Tool) Or

Or returns value if set, or given parameter if does not.

func (*OptQuestionV2Tool) Reset

func (o *OptQuestionV2Tool) Reset()

Reset unsets value.

func (*OptQuestionV2Tool) SetTo

func (o *OptQuestionV2Tool) SetTo(v QuestionV2Tool)

SetTo sets value to v.

func (*OptQuestionV2Tool) UnmarshalJSON

func (s *OptQuestionV2Tool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptRevertState

type OptRevertState struct {
	Value RevertState
	Set   bool
}

OptRevertState is optional RevertState.

func NewOptRevertState

func NewOptRevertState(v RevertState) OptRevertState

NewOptRevertState returns new OptRevertState with value set to v.

func (*OptRevertState) Decode

func (o *OptRevertState) Decode(d *jx.Decoder) error

Decode decodes RevertState from json.

func (OptRevertState) Encode

func (o OptRevertState) Encode(e *jx.Encoder)

Encode encodes RevertState as json.

func (OptRevertState) Get

func (o OptRevertState) Get() (v RevertState, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptRevertState) IsSet

func (o OptRevertState) IsSet() bool

IsSet returns true if OptRevertState was set.

func (OptRevertState) MarshalJSON

func (s OptRevertState) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptRevertState) Or

Or returns value if set, or given parameter if does not.

func (*OptRevertState) Reset

func (o *OptRevertState) Reset()

Reset unsets value.

func (*OptRevertState) SetTo

func (o *OptRevertState) SetTo(v RevertState)

SetTo sets value to v.

func (*OptRevertState) UnmarshalJSON

func (s *OptRevertState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSessionListRoots

type OptSessionListRoots struct {
	Value SessionListRoots
	Set   bool
}

OptSessionListRoots is optional SessionListRoots.

func NewOptSessionListRoots

func NewOptSessionListRoots(v SessionListRoots) OptSessionListRoots

NewOptSessionListRoots returns new OptSessionListRoots with value set to v.

func (OptSessionListRoots) Get

func (o OptSessionListRoots) Get() (v SessionListRoots, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptSessionListRoots) IsSet

func (o OptSessionListRoots) IsSet() bool

IsSet returns true if OptSessionListRoots was set.

func (OptSessionListRoots) Or

Or returns value if set, or given parameter if does not.

func (*OptSessionListRoots) Reset

func (o *OptSessionListRoots) Reset()

Reset unsets value.

func (*OptSessionListRoots) SetTo

SetTo sets value to v.

type OptSessionListScope

type OptSessionListScope struct {
	Value SessionListScope
	Set   bool
}

OptSessionListScope is optional SessionListScope.

func NewOptSessionListScope

func NewOptSessionListScope(v SessionListScope) OptSessionListScope

NewOptSessionListScope returns new OptSessionListScope with value set to v.

func (OptSessionListScope) Get

func (o OptSessionListScope) Get() (v SessionListScope, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptSessionListScope) IsSet

func (o OptSessionListScope) IsSet() bool

IsSet returns true if OptSessionListScope was set.

func (OptSessionListScope) Or

Or returns value if set, or given parameter if does not.

func (*OptSessionListScope) Reset

func (o *OptSessionListScope) Reset()

Reset unsets value.

func (*OptSessionListScope) SetTo

SetTo sets value to v.

type OptSessionModel

type OptSessionModel struct {
	Value SessionModel
	Set   bool
}

OptSessionModel is optional SessionModel.

func NewOptSessionModel

func NewOptSessionModel(v SessionModel) OptSessionModel

NewOptSessionModel returns new OptSessionModel with value set to v.

func (*OptSessionModel) Decode

func (o *OptSessionModel) Decode(d *jx.Decoder) error

Decode decodes SessionModel from json.

func (OptSessionModel) Encode

func (o OptSessionModel) Encode(e *jx.Encoder)

Encode encodes SessionModel as json.

func (OptSessionModel) Get

func (o OptSessionModel) Get() (v SessionModel, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptSessionModel) IsSet

func (o OptSessionModel) IsSet() bool

IsSet returns true if OptSessionModel was set.

func (OptSessionModel) MarshalJSON

func (s OptSessionModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSessionModel) Or

Or returns value if set, or given parameter if does not.

func (*OptSessionModel) Reset

func (o *OptSessionModel) Reset()

Reset unsets value.

func (*OptSessionModel) SetTo

func (o *OptSessionModel) SetTo(v SessionModel)

SetTo sets value to v.

func (*OptSessionModel) UnmarshalJSON

func (s *OptSessionModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSessionRevert

type OptSessionRevert struct {
	Value SessionRevert
	Set   bool
}

OptSessionRevert is optional SessionRevert.

func NewOptSessionRevert

func NewOptSessionRevert(v SessionRevert) OptSessionRevert

NewOptSessionRevert returns new OptSessionRevert with value set to v.

func (*OptSessionRevert) Decode

func (o *OptSessionRevert) Decode(d *jx.Decoder) error

Decode decodes SessionRevert from json.

func (OptSessionRevert) Encode

func (o OptSessionRevert) Encode(e *jx.Encoder)

Encode encodes SessionRevert as json.

func (OptSessionRevert) Get

func (o OptSessionRevert) Get() (v SessionRevert, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptSessionRevert) IsSet

func (o OptSessionRevert) IsSet() bool

IsSet returns true if OptSessionRevert was set.

func (OptSessionRevert) MarshalJSON

func (s OptSessionRevert) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSessionRevert) Or

Or returns value if set, or given parameter if does not.

func (*OptSessionRevert) Reset

func (o *OptSessionRevert) Reset()

Reset unsets value.

func (*OptSessionRevert) SetTo

func (o *OptSessionRevert) SetTo(v SessionRevert)

SetTo sets value to v.

func (*OptSessionRevert) UnmarshalJSON

func (s *OptSessionRevert) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSessionShare

type OptSessionShare struct {
	Value SessionShare
	Set   bool
}

OptSessionShare is optional SessionShare.

func NewOptSessionShare

func NewOptSessionShare(v SessionShare) OptSessionShare

NewOptSessionShare returns new OptSessionShare with value set to v.

func (*OptSessionShare) Decode

func (o *OptSessionShare) Decode(d *jx.Decoder) error

Decode decodes SessionShare from json.

func (OptSessionShare) Encode

func (o OptSessionShare) Encode(e *jx.Encoder)

Encode encodes SessionShare as json.

func (OptSessionShare) Get

func (o OptSessionShare) Get() (v SessionShare, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptSessionShare) IsSet

func (o OptSessionShare) IsSet() bool

IsSet returns true if OptSessionShare was set.

func (OptSessionShare) MarshalJSON

func (s OptSessionShare) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSessionShare) Or

Or returns value if set, or given parameter if does not.

func (*OptSessionShare) Reset

func (o *OptSessionShare) Reset()

Reset unsets value.

func (*OptSessionShare) SetTo

func (o *OptSessionShare) SetTo(v SessionShare)

SetTo sets value to v.

func (*OptSessionShare) UnmarshalJSON

func (s *OptSessionShare) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSessionSummary

type OptSessionSummary struct {
	Value SessionSummary
	Set   bool
}

OptSessionSummary is optional SessionSummary.

func NewOptSessionSummary

func NewOptSessionSummary(v SessionSummary) OptSessionSummary

NewOptSessionSummary returns new OptSessionSummary with value set to v.

func (*OptSessionSummary) Decode

func (o *OptSessionSummary) Decode(d *jx.Decoder) error

Decode decodes SessionSummary from json.

func (OptSessionSummary) Encode

func (o OptSessionSummary) Encode(e *jx.Encoder)

Encode encodes SessionSummary as json.

func (OptSessionSummary) Get

func (o OptSessionSummary) Get() (v SessionSummary, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptSessionSummary) IsSet

func (o OptSessionSummary) IsSet() bool

IsSet returns true if OptSessionSummary was set.

func (OptSessionSummary) MarshalJSON

func (s OptSessionSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSessionSummary) Or

Or returns value if set, or given parameter if does not.

func (*OptSessionSummary) Reset

func (o *OptSessionSummary) Reset()

Reset unsets value.

func (*OptSessionSummary) SetTo

func (o *OptSessionSummary) SetTo(v SessionSummary)

SetTo sets value to v.

func (*OptSessionSummary) UnmarshalJSON

func (s *OptSessionSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSessionTokens

type OptSessionTokens struct {
	Value SessionTokens
	Set   bool
}

OptSessionTokens is optional SessionTokens.

func NewOptSessionTokens

func NewOptSessionTokens(v SessionTokens) OptSessionTokens

NewOptSessionTokens returns new OptSessionTokens with value set to v.

func (*OptSessionTokens) Decode

func (o *OptSessionTokens) Decode(d *jx.Decoder) error

Decode decodes SessionTokens from json.

func (OptSessionTokens) Encode

func (o OptSessionTokens) Encode(e *jx.Encoder)

Encode encodes SessionTokens as json.

func (OptSessionTokens) Get

func (o OptSessionTokens) Get() (v SessionTokens, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptSessionTokens) IsSet

func (o OptSessionTokens) IsSet() bool

IsSet returns true if OptSessionTokens was set.

func (OptSessionTokens) MarshalJSON

func (s OptSessionTokens) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSessionTokens) Or

Or returns value if set, or given parameter if does not.

func (*OptSessionTokens) Reset

func (o *OptSessionTokens) Reset()

Reset unsets value.

func (*OptSessionTokens) SetTo

func (o *OptSessionTokens) SetTo(v SessionTokens)

SetTo sets value to v.

func (*OptSessionTokens) UnmarshalJSON

func (s *OptSessionTokens) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSnapshotFileDiffStatus

type OptSnapshotFileDiffStatus struct {
	Value SnapshotFileDiffStatus
	Set   bool
}

OptSnapshotFileDiffStatus is optional SnapshotFileDiffStatus.

func NewOptSnapshotFileDiffStatus

func NewOptSnapshotFileDiffStatus(v SnapshotFileDiffStatus) OptSnapshotFileDiffStatus

NewOptSnapshotFileDiffStatus returns new OptSnapshotFileDiffStatus with value set to v.

func (*OptSnapshotFileDiffStatus) Decode

func (o *OptSnapshotFileDiffStatus) Decode(d *jx.Decoder) error

Decode decodes SnapshotFileDiffStatus from json.

func (OptSnapshotFileDiffStatus) Encode

func (o OptSnapshotFileDiffStatus) Encode(e *jx.Encoder)

Encode encodes SnapshotFileDiffStatus as json.

func (OptSnapshotFileDiffStatus) Get

Get returns value and boolean that denotes whether value was set.

func (OptSnapshotFileDiffStatus) IsSet

func (o OptSnapshotFileDiffStatus) IsSet() bool

IsSet returns true if OptSnapshotFileDiffStatus was set.

func (OptSnapshotFileDiffStatus) MarshalJSON

func (s OptSnapshotFileDiffStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSnapshotFileDiffStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptSnapshotFileDiffStatus) Reset

func (o *OptSnapshotFileDiffStatus) Reset()

Reset unsets value.

func (*OptSnapshotFileDiffStatus) SetTo

SetTo sets value to v.

func (*OptSnapshotFileDiffStatus) UnmarshalJSON

func (s *OptSnapshotFileDiffStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptString

type OptString struct {
	Value string
	Set   bool
}

OptString is optional string.

func NewOptString

func NewOptString(v string) OptString

NewOptString returns new OptString with value set to v.

func (*OptString) Decode

func (o *OptString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (OptString) Encode

func (o OptString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (OptString) Get

func (o OptString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptString) IsSet

func (o OptString) IsSet() bool

IsSet returns true if OptString was set.

func (OptString) MarshalJSON

func (s OptString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptString) Or

func (o OptString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*OptString) Reset

func (o *OptString) Reset()

Reset unsets value.

func (*OptString) SetTo

func (o *OptString) SetTo(v string)

SetTo sets value to v.

func (*OptString) UnmarshalJSON

func (s *OptString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTuiShowToastReq

type OptTuiShowToastReq struct {
	Value TuiShowToastReq
	Set   bool
}

OptTuiShowToastReq is optional TuiShowToastReq.

func NewOptTuiShowToastReq

func NewOptTuiShowToastReq(v TuiShowToastReq) OptTuiShowToastReq

NewOptTuiShowToastReq returns new OptTuiShowToastReq with value set to v.

func (*OptTuiShowToastReq) Decode

func (o *OptTuiShowToastReq) Decode(d *jx.Decoder) error

Decode decodes TuiShowToastReq from json.

func (OptTuiShowToastReq) Encode

func (o OptTuiShowToastReq) Encode(e *jx.Encoder)

Encode encodes TuiShowToastReq as json.

func (OptTuiShowToastReq) Get

func (o OptTuiShowToastReq) Get() (v TuiShowToastReq, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptTuiShowToastReq) IsSet

func (o OptTuiShowToastReq) IsSet() bool

IsSet returns true if OptTuiShowToastReq was set.

func (OptTuiShowToastReq) MarshalJSON

func (s OptTuiShowToastReq) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptTuiShowToastReq) Or

Or returns value if set, or given parameter if does not.

func (*OptTuiShowToastReq) Reset

func (o *OptTuiShowToastReq) Reset()

Reset unsets value.

func (*OptTuiShowToastReq) SetTo

func (o *OptTuiShowToastReq) SetTo(v TuiShowToastReq)

SetTo sets value to v.

func (*OptTuiShowToastReq) UnmarshalJSON

func (s *OptTuiShowToastReq) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptV2CommandListLocation

type OptV2CommandListLocation struct {
	Value V2CommandListLocation
	Set   bool
}

OptV2CommandListLocation is optional V2CommandListLocation.

func NewOptV2CommandListLocation

func NewOptV2CommandListLocation(v V2CommandListLocation) OptV2CommandListLocation

NewOptV2CommandListLocation returns new OptV2CommandListLocation with value set to v.

func (OptV2CommandListLocation) Get

Get returns value and boolean that denotes whether value was set.

func (OptV2CommandListLocation) IsSet

func (o OptV2CommandListLocation) IsSet() bool

IsSet returns true if OptV2CommandListLocation was set.

func (OptV2CommandListLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptV2CommandListLocation) Reset

func (o *OptV2CommandListLocation) Reset()

Reset unsets value.

func (*OptV2CommandListLocation) SetTo

SetTo sets value to v.

type OptV2CredentialRemoveLocation

type OptV2CredentialRemoveLocation struct {
	Value V2CredentialRemoveLocation
	Set   bool
}

OptV2CredentialRemoveLocation is optional V2CredentialRemoveLocation.

func NewOptV2CredentialRemoveLocation

func NewOptV2CredentialRemoveLocation(v V2CredentialRemoveLocation) OptV2CredentialRemoveLocation

NewOptV2CredentialRemoveLocation returns new OptV2CredentialRemoveLocation with value set to v.

func (OptV2CredentialRemoveLocation) Get

Get returns value and boolean that denotes whether value was set.

func (OptV2CredentialRemoveLocation) IsSet

IsSet returns true if OptV2CredentialRemoveLocation was set.

func (OptV2CredentialRemoveLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptV2CredentialRemoveLocation) Reset

func (o *OptV2CredentialRemoveLocation) Reset()

Reset unsets value.

func (*OptV2CredentialRemoveLocation) SetTo

SetTo sets value to v.

type OptV2CredentialUpdateLocation

type OptV2CredentialUpdateLocation struct {
	Value V2CredentialUpdateLocation
	Set   bool
}

OptV2CredentialUpdateLocation is optional V2CredentialUpdateLocation.

func NewOptV2CredentialUpdateLocation

func NewOptV2CredentialUpdateLocation(v V2CredentialUpdateLocation) OptV2CredentialUpdateLocation

NewOptV2CredentialUpdateLocation returns new OptV2CredentialUpdateLocation with value set to v.

func (OptV2CredentialUpdateLocation) Get

Get returns value and boolean that denotes whether value was set.

func (OptV2CredentialUpdateLocation) IsSet

IsSet returns true if OptV2CredentialUpdateLocation was set.

func (OptV2CredentialUpdateLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptV2CredentialUpdateLocation) Reset

func (o *OptV2CredentialUpdateLocation) Reset()

Reset unsets value.

func (*OptV2CredentialUpdateLocation) SetTo

SetTo sets value to v.

type OptV2FsFindLocation

type OptV2FsFindLocation struct {
	Value V2FsFindLocation
	Set   bool
}

OptV2FsFindLocation is optional V2FsFindLocation.

func NewOptV2FsFindLocation

func NewOptV2FsFindLocation(v V2FsFindLocation) OptV2FsFindLocation

NewOptV2FsFindLocation returns new OptV2FsFindLocation with value set to v.

func (OptV2FsFindLocation) Get

func (o OptV2FsFindLocation) Get() (v V2FsFindLocation, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptV2FsFindLocation) IsSet

func (o OptV2FsFindLocation) IsSet() bool

IsSet returns true if OptV2FsFindLocation was set.

func (OptV2FsFindLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptV2FsFindLocation) Reset

func (o *OptV2FsFindLocation) Reset()

Reset unsets value.

func (*OptV2FsFindLocation) SetTo

SetTo sets value to v.

type OptV2FsFindType

type OptV2FsFindType struct {
	Value V2FsFindType
	Set   bool
}

OptV2FsFindType is optional V2FsFindType.

func NewOptV2FsFindType

func NewOptV2FsFindType(v V2FsFindType) OptV2FsFindType

NewOptV2FsFindType returns new OptV2FsFindType with value set to v.

func (OptV2FsFindType) Get

func (o OptV2FsFindType) Get() (v V2FsFindType, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptV2FsFindType) IsSet

func (o OptV2FsFindType) IsSet() bool

IsSet returns true if OptV2FsFindType was set.

func (OptV2FsFindType) Or

Or returns value if set, or given parameter if does not.

func (*OptV2FsFindType) Reset

func (o *OptV2FsFindType) Reset()

Reset unsets value.

func (*OptV2FsFindType) SetTo

func (o *OptV2FsFindType) SetTo(v V2FsFindType)

SetTo sets value to v.

type OptV2FsListLocation

type OptV2FsListLocation struct {
	Value V2FsListLocation
	Set   bool
}

OptV2FsListLocation is optional V2FsListLocation.

func NewOptV2FsListLocation

func NewOptV2FsListLocation(v V2FsListLocation) OptV2FsListLocation

NewOptV2FsListLocation returns new OptV2FsListLocation with value set to v.

func (OptV2FsListLocation) Get

func (o OptV2FsListLocation) Get() (v V2FsListLocation, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptV2FsListLocation) IsSet

func (o OptV2FsListLocation) IsSet() bool

IsSet returns true if OptV2FsListLocation was set.

func (OptV2FsListLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptV2FsListLocation) Reset

func (o *OptV2FsListLocation) Reset()

Reset unsets value.

func (*OptV2FsListLocation) SetTo

SetTo sets value to v.

type OptV2FsReadLocation

type OptV2FsReadLocation struct {
	Value V2FsReadLocation
	Set   bool
}

OptV2FsReadLocation is optional V2FsReadLocation.

func NewOptV2FsReadLocation

func NewOptV2FsReadLocation(v V2FsReadLocation) OptV2FsReadLocation

NewOptV2FsReadLocation returns new OptV2FsReadLocation with value set to v.

func (OptV2FsReadLocation) Get

func (o OptV2FsReadLocation) Get() (v V2FsReadLocation, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptV2FsReadLocation) IsSet

func (o OptV2FsReadLocation) IsSet() bool

IsSet returns true if OptV2FsReadLocation was set.

func (OptV2FsReadLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptV2FsReadLocation) Reset

func (o *OptV2FsReadLocation) Reset()

Reset unsets value.

func (*OptV2FsReadLocation) SetTo

SetTo sets value to v.

type OptV2IntegrationAttemptCancelLocation

type OptV2IntegrationAttemptCancelLocation struct {
	Value V2IntegrationAttemptCancelLocation
	Set   bool
}

OptV2IntegrationAttemptCancelLocation is optional V2IntegrationAttemptCancelLocation.

func NewOptV2IntegrationAttemptCancelLocation

func NewOptV2IntegrationAttemptCancelLocation(v V2IntegrationAttemptCancelLocation) OptV2IntegrationAttemptCancelLocation

NewOptV2IntegrationAttemptCancelLocation returns new OptV2IntegrationAttemptCancelLocation with value set to v.

func (OptV2IntegrationAttemptCancelLocation) Get

Get returns value and boolean that denotes whether value was set.

func (OptV2IntegrationAttemptCancelLocation) IsSet

IsSet returns true if OptV2IntegrationAttemptCancelLocation was set.

func (OptV2IntegrationAttemptCancelLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptV2IntegrationAttemptCancelLocation) Reset

Reset unsets value.

func (*OptV2IntegrationAttemptCancelLocation) SetTo

SetTo sets value to v.

type OptV2LocationGetLocation

type OptV2LocationGetLocation struct {
	Value V2LocationGetLocation
	Set   bool
}

OptV2LocationGetLocation is optional V2LocationGetLocation.

func NewOptV2LocationGetLocation

func NewOptV2LocationGetLocation(v V2LocationGetLocation) OptV2LocationGetLocation

NewOptV2LocationGetLocation returns new OptV2LocationGetLocation with value set to v.

func (OptV2LocationGetLocation) Get

Get returns value and boolean that denotes whether value was set.

func (OptV2LocationGetLocation) IsSet

func (o OptV2LocationGetLocation) IsSet() bool

IsSet returns true if OptV2LocationGetLocation was set.

func (OptV2LocationGetLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptV2LocationGetLocation) Reset

func (o *OptV2LocationGetLocation) Reset()

Reset unsets value.

func (*OptV2LocationGetLocation) SetTo

SetTo sets value to v.

type OptV2PermissionRequestListLocation

type OptV2PermissionRequestListLocation struct {
	Value V2PermissionRequestListLocation
	Set   bool
}

OptV2PermissionRequestListLocation is optional V2PermissionRequestListLocation.

func NewOptV2PermissionRequestListLocation

func NewOptV2PermissionRequestListLocation(v V2PermissionRequestListLocation) OptV2PermissionRequestListLocation

NewOptV2PermissionRequestListLocation returns new OptV2PermissionRequestListLocation with value set to v.

func (OptV2PermissionRequestListLocation) Get

Get returns value and boolean that denotes whether value was set.

func (OptV2PermissionRequestListLocation) IsSet

IsSet returns true if OptV2PermissionRequestListLocation was set.

func (OptV2PermissionRequestListLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptV2PermissionRequestListLocation) Reset

Reset unsets value.

func (*OptV2PermissionRequestListLocation) SetTo

SetTo sets value to v.

type OptV2PtyConnectTokenLocation

type OptV2PtyConnectTokenLocation struct {
	Value V2PtyConnectTokenLocation
	Set   bool
}

OptV2PtyConnectTokenLocation is optional V2PtyConnectTokenLocation.

func NewOptV2PtyConnectTokenLocation

func NewOptV2PtyConnectTokenLocation(v V2PtyConnectTokenLocation) OptV2PtyConnectTokenLocation

NewOptV2PtyConnectTokenLocation returns new OptV2PtyConnectTokenLocation with value set to v.

func (OptV2PtyConnectTokenLocation) Get

Get returns value and boolean that denotes whether value was set.

func (OptV2PtyConnectTokenLocation) IsSet

IsSet returns true if OptV2PtyConnectTokenLocation was set.

func (OptV2PtyConnectTokenLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptV2PtyConnectTokenLocation) Reset

func (o *OptV2PtyConnectTokenLocation) Reset()

Reset unsets value.

func (*OptV2PtyConnectTokenLocation) SetTo

SetTo sets value to v.

type OptV2PtyCreateLocation

type OptV2PtyCreateLocation struct {
	Value V2PtyCreateLocation
	Set   bool
}

OptV2PtyCreateLocation is optional V2PtyCreateLocation.

func NewOptV2PtyCreateLocation

func NewOptV2PtyCreateLocation(v V2PtyCreateLocation) OptV2PtyCreateLocation

NewOptV2PtyCreateLocation returns new OptV2PtyCreateLocation with value set to v.

func (OptV2PtyCreateLocation) Get

Get returns value and boolean that denotes whether value was set.

func (OptV2PtyCreateLocation) IsSet

func (o OptV2PtyCreateLocation) IsSet() bool

IsSet returns true if OptV2PtyCreateLocation was set.

func (OptV2PtyCreateLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptV2PtyCreateLocation) Reset

func (o *OptV2PtyCreateLocation) Reset()

Reset unsets value.

func (*OptV2PtyCreateLocation) SetTo

SetTo sets value to v.

type OptV2PtyCreateReqEnv

type OptV2PtyCreateReqEnv struct {
	Value V2PtyCreateReqEnv
	Set   bool
}

OptV2PtyCreateReqEnv is optional V2PtyCreateReqEnv.

func NewOptV2PtyCreateReqEnv

func NewOptV2PtyCreateReqEnv(v V2PtyCreateReqEnv) OptV2PtyCreateReqEnv

NewOptV2PtyCreateReqEnv returns new OptV2PtyCreateReqEnv with value set to v.

func (*OptV2PtyCreateReqEnv) Decode

func (o *OptV2PtyCreateReqEnv) Decode(d *jx.Decoder) error

Decode decodes V2PtyCreateReqEnv from json.

func (OptV2PtyCreateReqEnv) Encode

func (o OptV2PtyCreateReqEnv) Encode(e *jx.Encoder)

Encode encodes V2PtyCreateReqEnv as json.

func (OptV2PtyCreateReqEnv) Get

Get returns value and boolean that denotes whether value was set.

func (OptV2PtyCreateReqEnv) IsSet

func (o OptV2PtyCreateReqEnv) IsSet() bool

IsSet returns true if OptV2PtyCreateReqEnv was set.

func (OptV2PtyCreateReqEnv) MarshalJSON

func (s OptV2PtyCreateReqEnv) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptV2PtyCreateReqEnv) Or

Or returns value if set, or given parameter if does not.

func (*OptV2PtyCreateReqEnv) Reset

func (o *OptV2PtyCreateReqEnv) Reset()

Reset unsets value.

func (*OptV2PtyCreateReqEnv) SetTo

SetTo sets value to v.

func (*OptV2PtyCreateReqEnv) UnmarshalJSON

func (s *OptV2PtyCreateReqEnv) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptV2PtyGetLocation

type OptV2PtyGetLocation struct {
	Value V2PtyGetLocation
	Set   bool
}

OptV2PtyGetLocation is optional V2PtyGetLocation.

func NewOptV2PtyGetLocation

func NewOptV2PtyGetLocation(v V2PtyGetLocation) OptV2PtyGetLocation

NewOptV2PtyGetLocation returns new OptV2PtyGetLocation with value set to v.

func (OptV2PtyGetLocation) Get

func (o OptV2PtyGetLocation) Get() (v V2PtyGetLocation, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptV2PtyGetLocation) IsSet

func (o OptV2PtyGetLocation) IsSet() bool

IsSet returns true if OptV2PtyGetLocation was set.

func (OptV2PtyGetLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptV2PtyGetLocation) Reset

func (o *OptV2PtyGetLocation) Reset()

Reset unsets value.

func (*OptV2PtyGetLocation) SetTo

SetTo sets value to v.

type OptV2PtyListLocation

type OptV2PtyListLocation struct {
	Value V2PtyListLocation
	Set   bool
}

OptV2PtyListLocation is optional V2PtyListLocation.

func NewOptV2PtyListLocation

func NewOptV2PtyListLocation(v V2PtyListLocation) OptV2PtyListLocation

NewOptV2PtyListLocation returns new OptV2PtyListLocation with value set to v.

func (OptV2PtyListLocation) Get

Get returns value and boolean that denotes whether value was set.

func (OptV2PtyListLocation) IsSet

func (o OptV2PtyListLocation) IsSet() bool

IsSet returns true if OptV2PtyListLocation was set.

func (OptV2PtyListLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptV2PtyListLocation) Reset

func (o *OptV2PtyListLocation) Reset()

Reset unsets value.

func (*OptV2PtyListLocation) SetTo

SetTo sets value to v.

type OptV2PtyRemoveLocation

type OptV2PtyRemoveLocation struct {
	Value V2PtyRemoveLocation
	Set   bool
}

OptV2PtyRemoveLocation is optional V2PtyRemoveLocation.

func NewOptV2PtyRemoveLocation

func NewOptV2PtyRemoveLocation(v V2PtyRemoveLocation) OptV2PtyRemoveLocation

NewOptV2PtyRemoveLocation returns new OptV2PtyRemoveLocation with value set to v.

func (OptV2PtyRemoveLocation) Get

Get returns value and boolean that denotes whether value was set.

func (OptV2PtyRemoveLocation) IsSet

func (o OptV2PtyRemoveLocation) IsSet() bool

IsSet returns true if OptV2PtyRemoveLocation was set.

func (OptV2PtyRemoveLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptV2PtyRemoveLocation) Reset

func (o *OptV2PtyRemoveLocation) Reset()

Reset unsets value.

func (*OptV2PtyRemoveLocation) SetTo

SetTo sets value to v.

type OptV2PtyUpdateLocation

type OptV2PtyUpdateLocation struct {
	Value V2PtyUpdateLocation
	Set   bool
}

OptV2PtyUpdateLocation is optional V2PtyUpdateLocation.

func NewOptV2PtyUpdateLocation

func NewOptV2PtyUpdateLocation(v V2PtyUpdateLocation) OptV2PtyUpdateLocation

NewOptV2PtyUpdateLocation returns new OptV2PtyUpdateLocation with value set to v.

func (OptV2PtyUpdateLocation) Get

Get returns value and boolean that denotes whether value was set.

func (OptV2PtyUpdateLocation) IsSet

func (o OptV2PtyUpdateLocation) IsSet() bool

IsSet returns true if OptV2PtyUpdateLocation was set.

func (OptV2PtyUpdateLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptV2PtyUpdateLocation) Reset

func (o *OptV2PtyUpdateLocation) Reset()

Reset unsets value.

func (*OptV2PtyUpdateLocation) SetTo

SetTo sets value to v.

type OptV2PtyUpdateReqSize

type OptV2PtyUpdateReqSize struct {
	Value V2PtyUpdateReqSize
	Set   bool
}

OptV2PtyUpdateReqSize is optional V2PtyUpdateReqSize.

func NewOptV2PtyUpdateReqSize

func NewOptV2PtyUpdateReqSize(v V2PtyUpdateReqSize) OptV2PtyUpdateReqSize

NewOptV2PtyUpdateReqSize returns new OptV2PtyUpdateReqSize with value set to v.

func (*OptV2PtyUpdateReqSize) Decode

func (o *OptV2PtyUpdateReqSize) Decode(d *jx.Decoder) error

Decode decodes V2PtyUpdateReqSize from json.

func (OptV2PtyUpdateReqSize) Encode

func (o OptV2PtyUpdateReqSize) Encode(e *jx.Encoder)

Encode encodes V2PtyUpdateReqSize as json.

func (OptV2PtyUpdateReqSize) Get

Get returns value and boolean that denotes whether value was set.

func (OptV2PtyUpdateReqSize) IsSet

func (o OptV2PtyUpdateReqSize) IsSet() bool

IsSet returns true if OptV2PtyUpdateReqSize was set.

func (OptV2PtyUpdateReqSize) MarshalJSON

func (s OptV2PtyUpdateReqSize) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptV2PtyUpdateReqSize) Or

Or returns value if set, or given parameter if does not.

func (*OptV2PtyUpdateReqSize) Reset

func (o *OptV2PtyUpdateReqSize) Reset()

Reset unsets value.

func (*OptV2PtyUpdateReqSize) SetTo

SetTo sets value to v.

func (*OptV2PtyUpdateReqSize) UnmarshalJSON

func (s *OptV2PtyUpdateReqSize) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptV2QuestionRequestListLocation

type OptV2QuestionRequestListLocation struct {
	Value V2QuestionRequestListLocation
	Set   bool
}

OptV2QuestionRequestListLocation is optional V2QuestionRequestListLocation.

func NewOptV2QuestionRequestListLocation

func NewOptV2QuestionRequestListLocation(v V2QuestionRequestListLocation) OptV2QuestionRequestListLocation

NewOptV2QuestionRequestListLocation returns new OptV2QuestionRequestListLocation with value set to v.

func (OptV2QuestionRequestListLocation) Get

Get returns value and boolean that denotes whether value was set.

func (OptV2QuestionRequestListLocation) IsSet

IsSet returns true if OptV2QuestionRequestListLocation was set.

func (OptV2QuestionRequestListLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptV2QuestionRequestListLocation) Reset

Reset unsets value.

func (*OptV2QuestionRequestListLocation) SetTo

SetTo sets value to v.

type OptV2SkillListLocation

type OptV2SkillListLocation struct {
	Value V2SkillListLocation
	Set   bool
}

OptV2SkillListLocation is optional V2SkillListLocation.

func NewOptV2SkillListLocation

func NewOptV2SkillListLocation(v V2SkillListLocation) OptV2SkillListLocation

NewOptV2SkillListLocation returns new OptV2SkillListLocation with value set to v.

func (OptV2SkillListLocation) Get

Get returns value and boolean that denotes whether value was set.

func (OptV2SkillListLocation) IsSet

func (o OptV2SkillListLocation) IsSet() bool

IsSet returns true if OptV2SkillListLocation was set.

func (OptV2SkillListLocation) Or

Or returns value if set, or given parameter if does not.

func (*OptV2SkillListLocation) Reset

func (o *OptV2SkillListLocation) Reset()

Reset unsets value.

func (*OptV2SkillListLocation) SetTo

SetTo sets value to v.

type OptVcsFileDiffStatus

type OptVcsFileDiffStatus struct {
	Value VcsFileDiffStatus
	Set   bool
}

OptVcsFileDiffStatus is optional VcsFileDiffStatus.

func NewOptVcsFileDiffStatus

func NewOptVcsFileDiffStatus(v VcsFileDiffStatus) OptVcsFileDiffStatus

NewOptVcsFileDiffStatus returns new OptVcsFileDiffStatus with value set to v.

func (*OptVcsFileDiffStatus) Decode

func (o *OptVcsFileDiffStatus) Decode(d *jx.Decoder) error

Decode decodes VcsFileDiffStatus from json.

func (OptVcsFileDiffStatus) Encode

func (o OptVcsFileDiffStatus) Encode(e *jx.Encoder)

Encode encodes VcsFileDiffStatus as json.

func (OptVcsFileDiffStatus) Get

Get returns value and boolean that denotes whether value was set.

func (OptVcsFileDiffStatus) IsSet

func (o OptVcsFileDiffStatus) IsSet() bool

IsSet returns true if OptVcsFileDiffStatus was set.

func (OptVcsFileDiffStatus) MarshalJSON

func (s OptVcsFileDiffStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptVcsFileDiffStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptVcsFileDiffStatus) Reset

func (o *OptVcsFileDiffStatus) Reset()

Reset unsets value.

func (*OptVcsFileDiffStatus) SetTo

SetTo sets value to v.

func (*OptVcsFileDiffStatus) UnmarshalJSON

func (s *OptVcsFileDiffStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Option

type Option interface {
	ClientOption
}

Option is config option.

type Path

type Path struct {
	Home      string `json:"home"`
	State     string `json:"state"`
	Config    string `json:"config"`
	Worktree  string `json:"worktree"`
	Directory string `json:"directory"`
}

Ref: #/components/schemas/Path

func (*Path) Decode

func (s *Path) Decode(d *jx.Decoder) error

Decode decodes Path from json.

func (*Path) Encode

func (s *Path) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Path) GetConfig

func (s *Path) GetConfig() string

GetConfig returns the value of Config.

func (*Path) GetDirectory

func (s *Path) GetDirectory() string

GetDirectory returns the value of Directory.

func (*Path) GetHome

func (s *Path) GetHome() string

GetHome returns the value of Home.

func (*Path) GetState

func (s *Path) GetState() string

GetState returns the value of State.

func (*Path) GetWorktree

func (s *Path) GetWorktree() string

GetWorktree returns the value of Worktree.

func (*Path) MarshalJSON

func (s *Path) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Path) SetConfig

func (s *Path) SetConfig(val string)

SetConfig sets the value of Config.

func (*Path) SetDirectory

func (s *Path) SetDirectory(val string)

SetDirectory sets the value of Directory.

func (*Path) SetHome

func (s *Path) SetHome(val string)

SetHome sets the value of Home.

func (*Path) SetState

func (s *Path) SetState(val string)

SetState sets the value of State.

func (*Path) SetWorktree

func (s *Path) SetWorktree(val string)

SetWorktree sets the value of Worktree.

func (*Path) UnmarshalJSON

func (s *Path) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PathGetParams

type PathGetParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

PathGetParams is parameters of path.get operation.

type PathGetRes

type PathGetRes interface {
	// contains filtered or unexported methods
}

type PermissionAction

type PermissionAction string

Ref: #/components/schemas/PermissionAction

const (
	PermissionActionAllow PermissionAction = "allow"
	PermissionActionDeny  PermissionAction = "deny"
	PermissionActionAsk   PermissionAction = "ask"
)

func (PermissionAction) AllValues

func (PermissionAction) AllValues() []PermissionAction

AllValues returns all PermissionAction values.

func (*PermissionAction) Decode

func (s *PermissionAction) Decode(d *jx.Decoder) error

Decode decodes PermissionAction from json.

func (PermissionAction) Encode

func (s PermissionAction) Encode(e *jx.Encoder)

Encode encodes PermissionAction as json.

func (PermissionAction) MarshalJSON

func (s PermissionAction) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (PermissionAction) MarshalText

func (s PermissionAction) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*PermissionAction) UnmarshalJSON

func (s *PermissionAction) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PermissionAction) UnmarshalText

func (s *PermissionAction) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (PermissionAction) Validate

func (s PermissionAction) Validate() error

type PermissionListOKApplicationJSON

type PermissionListOKApplicationJSON []PermissionRequest

func (*PermissionListOKApplicationJSON) Decode

Decode decodes PermissionListOKApplicationJSON from json.

func (PermissionListOKApplicationJSON) Encode

Encode encodes PermissionListOKApplicationJSON as json.

func (PermissionListOKApplicationJSON) MarshalJSON

func (s PermissionListOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PermissionListOKApplicationJSON) UnmarshalJSON

func (s *PermissionListOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (PermissionListOKApplicationJSON) Validate

type PermissionListParams

type PermissionListParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

PermissionListParams is parameters of permission.list operation.

type PermissionListRes

type PermissionListRes interface {
	// contains filtered or unexported methods
}

type PermissionRequest

type PermissionRequest struct {
	ID         string                    `json:"id"`
	SessionID  string                    `json:"sessionID"`
	Permission string                    `json:"permission"`
	Patterns   []string                  `json:"patterns"`
	Metadata   PermissionRequestMetadata `json:"metadata"`
	Always     []string                  `json:"always"`
	Tool       OptPermissionRequestTool  `json:"tool"`
}

Ref: #/components/schemas/PermissionRequest

func (*PermissionRequest) Decode

func (s *PermissionRequest) Decode(d *jx.Decoder) error

Decode decodes PermissionRequest from json.

func (*PermissionRequest) Encode

func (s *PermissionRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PermissionRequest) GetAlways

func (s *PermissionRequest) GetAlways() []string

GetAlways returns the value of Always.

func (*PermissionRequest) GetID

func (s *PermissionRequest) GetID() string

GetID returns the value of ID.

func (*PermissionRequest) GetMetadata

GetMetadata returns the value of Metadata.

func (*PermissionRequest) GetPatterns

func (s *PermissionRequest) GetPatterns() []string

GetPatterns returns the value of Patterns.

func (*PermissionRequest) GetPermission

func (s *PermissionRequest) GetPermission() string

GetPermission returns the value of Permission.

func (*PermissionRequest) GetSessionID

func (s *PermissionRequest) GetSessionID() string

GetSessionID returns the value of SessionID.

func (*PermissionRequest) GetTool

GetTool returns the value of Tool.

func (*PermissionRequest) MarshalJSON

func (s *PermissionRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PermissionRequest) SetAlways

func (s *PermissionRequest) SetAlways(val []string)

SetAlways sets the value of Always.

func (*PermissionRequest) SetID

func (s *PermissionRequest) SetID(val string)

SetID sets the value of ID.

func (*PermissionRequest) SetMetadata

func (s *PermissionRequest) SetMetadata(val PermissionRequestMetadata)

SetMetadata sets the value of Metadata.

func (*PermissionRequest) SetPatterns

func (s *PermissionRequest) SetPatterns(val []string)

SetPatterns sets the value of Patterns.

func (*PermissionRequest) SetPermission

func (s *PermissionRequest) SetPermission(val string)

SetPermission sets the value of Permission.

func (*PermissionRequest) SetSessionID

func (s *PermissionRequest) SetSessionID(val string)

SetSessionID sets the value of SessionID.

func (*PermissionRequest) SetTool

SetTool sets the value of Tool.

func (*PermissionRequest) UnmarshalJSON

func (s *PermissionRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PermissionRequest) Validate

func (s *PermissionRequest) Validate() error

type PermissionRequestMetadata

type PermissionRequestMetadata struct{}

func (*PermissionRequestMetadata) Decode

func (s *PermissionRequestMetadata) Decode(d *jx.Decoder) error

Decode decodes PermissionRequestMetadata from json.

func (*PermissionRequestMetadata) Encode

func (s *PermissionRequestMetadata) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PermissionRequestMetadata) MarshalJSON

func (s *PermissionRequestMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PermissionRequestMetadata) UnmarshalJSON

func (s *PermissionRequestMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PermissionRequestTool

type PermissionRequestTool struct {
	MessageID string `json:"messageID"`
	CallID    string `json:"callID"`
}

func (*PermissionRequestTool) Decode

func (s *PermissionRequestTool) Decode(d *jx.Decoder) error

Decode decodes PermissionRequestTool from json.

func (*PermissionRequestTool) Encode

func (s *PermissionRequestTool) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PermissionRequestTool) GetCallID

func (s *PermissionRequestTool) GetCallID() string

GetCallID returns the value of CallID.

func (*PermissionRequestTool) GetMessageID

func (s *PermissionRequestTool) GetMessageID() string

GetMessageID returns the value of MessageID.

func (*PermissionRequestTool) MarshalJSON

func (s *PermissionRequestTool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PermissionRequestTool) SetCallID

func (s *PermissionRequestTool) SetCallID(val string)

SetCallID sets the value of CallID.

func (*PermissionRequestTool) SetMessageID

func (s *PermissionRequestTool) SetMessageID(val string)

SetMessageID sets the value of MessageID.

func (*PermissionRequestTool) UnmarshalJSON

func (s *PermissionRequestTool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PermissionRule

type PermissionRule struct {
	Permission string           `json:"permission"`
	Pattern    string           `json:"pattern"`
	Action     PermissionAction `json:"action"`
}

Ref: #/components/schemas/PermissionRule

func (*PermissionRule) Decode

func (s *PermissionRule) Decode(d *jx.Decoder) error

Decode decodes PermissionRule from json.

func (*PermissionRule) Encode

func (s *PermissionRule) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PermissionRule) GetAction

func (s *PermissionRule) GetAction() PermissionAction

GetAction returns the value of Action.

func (*PermissionRule) GetPattern

func (s *PermissionRule) GetPattern() string

GetPattern returns the value of Pattern.

func (*PermissionRule) GetPermission

func (s *PermissionRule) GetPermission() string

GetPermission returns the value of Permission.

func (*PermissionRule) MarshalJSON

func (s *PermissionRule) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PermissionRule) SetAction

func (s *PermissionRule) SetAction(val PermissionAction)

SetAction sets the value of Action.

func (*PermissionRule) SetPattern

func (s *PermissionRule) SetPattern(val string)

SetPattern sets the value of Pattern.

func (*PermissionRule) SetPermission

func (s *PermissionRule) SetPermission(val string)

SetPermission sets the value of Permission.

func (*PermissionRule) UnmarshalJSON

func (s *PermissionRule) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PermissionRule) Validate

func (s *PermissionRule) Validate() error

type PermissionRuleset

type PermissionRuleset []PermissionRule

func (*PermissionRuleset) Decode

func (s *PermissionRuleset) Decode(d *jx.Decoder) error

Decode decodes PermissionRuleset from json.

func (PermissionRuleset) Encode

func (s PermissionRuleset) Encode(e *jx.Encoder)

Encode encodes PermissionRuleset as json.

func (PermissionRuleset) MarshalJSON

func (s PermissionRuleset) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PermissionRuleset) UnmarshalJSON

func (s *PermissionRuleset) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (PermissionRuleset) Validate

func (s PermissionRuleset) Validate() error

type PermissionSavedInfo

type PermissionSavedInfo struct {
	ID        string `json:"id"`
	ProjectID string `json:"projectID"`
	Action    string `json:"action"`
	Resource  string `json:"resource"`
}

Ref: #/components/schemas/PermissionSavedInfo

func (*PermissionSavedInfo) Decode

func (s *PermissionSavedInfo) Decode(d *jx.Decoder) error

Decode decodes PermissionSavedInfo from json.

func (*PermissionSavedInfo) Encode

func (s *PermissionSavedInfo) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PermissionSavedInfo) GetAction

func (s *PermissionSavedInfo) GetAction() string

GetAction returns the value of Action.

func (*PermissionSavedInfo) GetID

func (s *PermissionSavedInfo) GetID() string

GetID returns the value of ID.

func (*PermissionSavedInfo) GetProjectID

func (s *PermissionSavedInfo) GetProjectID() string

GetProjectID returns the value of ProjectID.

func (*PermissionSavedInfo) GetResource

func (s *PermissionSavedInfo) GetResource() string

GetResource returns the value of Resource.

func (*PermissionSavedInfo) MarshalJSON

func (s *PermissionSavedInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PermissionSavedInfo) SetAction

func (s *PermissionSavedInfo) SetAction(val string)

SetAction sets the value of Action.

func (*PermissionSavedInfo) SetID

func (s *PermissionSavedInfo) SetID(val string)

SetID sets the value of ID.

func (*PermissionSavedInfo) SetProjectID

func (s *PermissionSavedInfo) SetProjectID(val string)

SetProjectID sets the value of ProjectID.

func (*PermissionSavedInfo) SetResource

func (s *PermissionSavedInfo) SetResource(val string)

SetResource sets the value of Resource.

func (*PermissionSavedInfo) UnmarshalJSON

func (s *PermissionSavedInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PermissionV2Request

type PermissionV2Request struct {
	ID        string                       `json:"id"`
	SessionID string                       `json:"sessionID"`
	Action    string                       `json:"action"`
	Resources []string                     `json:"resources"`
	Save      []string                     `json:"save"`
	Metadata  *PermissionV2RequestMetadata `json:"metadata"`
	Source    OptPermissionV2Source        `json:"source"`
}

Ref: #/components/schemas/PermissionV2Request

func (*PermissionV2Request) Decode

func (s *PermissionV2Request) Decode(d *jx.Decoder) error

Decode decodes PermissionV2Request from json.

func (*PermissionV2Request) Encode

func (s *PermissionV2Request) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PermissionV2Request) GetAction

func (s *PermissionV2Request) GetAction() string

GetAction returns the value of Action.

func (*PermissionV2Request) GetID

func (s *PermissionV2Request) GetID() string

GetID returns the value of ID.

func (*PermissionV2Request) GetMetadata

GetMetadata returns the value of Metadata.

func (*PermissionV2Request) GetResources

func (s *PermissionV2Request) GetResources() []string

GetResources returns the value of Resources.

func (*PermissionV2Request) GetSave

func (s *PermissionV2Request) GetSave() []string

GetSave returns the value of Save.

func (*PermissionV2Request) GetSessionID

func (s *PermissionV2Request) GetSessionID() string

GetSessionID returns the value of SessionID.

func (*PermissionV2Request) GetSource

GetSource returns the value of Source.

func (*PermissionV2Request) MarshalJSON

func (s *PermissionV2Request) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PermissionV2Request) SetAction

func (s *PermissionV2Request) SetAction(val string)

SetAction sets the value of Action.

func (*PermissionV2Request) SetID

func (s *PermissionV2Request) SetID(val string)

SetID sets the value of ID.

func (*PermissionV2Request) SetMetadata

func (s *PermissionV2Request) SetMetadata(val *PermissionV2RequestMetadata)

SetMetadata sets the value of Metadata.

func (*PermissionV2Request) SetResources

func (s *PermissionV2Request) SetResources(val []string)

SetResources sets the value of Resources.

func (*PermissionV2Request) SetSave

func (s *PermissionV2Request) SetSave(val []string)

SetSave sets the value of Save.

func (*PermissionV2Request) SetSessionID

func (s *PermissionV2Request) SetSessionID(val string)

SetSessionID sets the value of SessionID.

func (*PermissionV2Request) SetSource

func (s *PermissionV2Request) SetSource(val OptPermissionV2Source)

SetSource sets the value of Source.

func (*PermissionV2Request) UnmarshalJSON

func (s *PermissionV2Request) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PermissionV2Request) Validate

func (s *PermissionV2Request) Validate() error

type PermissionV2RequestMetadata

type PermissionV2RequestMetadata struct{}

func (*PermissionV2RequestMetadata) Decode

Decode decodes PermissionV2RequestMetadata from json.

func (*PermissionV2RequestMetadata) Encode

func (s *PermissionV2RequestMetadata) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PermissionV2RequestMetadata) MarshalJSON

func (s *PermissionV2RequestMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PermissionV2RequestMetadata) UnmarshalJSON

func (s *PermissionV2RequestMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PermissionV2Source

type PermissionV2Source struct {
	Type      PermissionV2SourceType `json:"type"`
	MessageID string                 `json:"messageID"`
	CallID    string                 `json:"callID"`
}

Ref: #/components/schemas/PermissionV2Source

func (*PermissionV2Source) Decode

func (s *PermissionV2Source) Decode(d *jx.Decoder) error

Decode decodes PermissionV2Source from json.

func (*PermissionV2Source) Encode

func (s *PermissionV2Source) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PermissionV2Source) GetCallID

func (s *PermissionV2Source) GetCallID() string

GetCallID returns the value of CallID.

func (*PermissionV2Source) GetMessageID

func (s *PermissionV2Source) GetMessageID() string

GetMessageID returns the value of MessageID.

func (*PermissionV2Source) GetType

GetType returns the value of Type.

func (*PermissionV2Source) MarshalJSON

func (s *PermissionV2Source) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PermissionV2Source) SetCallID

func (s *PermissionV2Source) SetCallID(val string)

SetCallID sets the value of CallID.

func (*PermissionV2Source) SetMessageID

func (s *PermissionV2Source) SetMessageID(val string)

SetMessageID sets the value of MessageID.

func (*PermissionV2Source) SetType

SetType sets the value of Type.

func (*PermissionV2Source) UnmarshalJSON

func (s *PermissionV2Source) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PermissionV2Source) Validate

func (s *PermissionV2Source) Validate() error

type PermissionV2SourceType

type PermissionV2SourceType string
const (
	PermissionV2SourceTypeTool PermissionV2SourceType = "tool"
)

func (PermissionV2SourceType) AllValues

AllValues returns all PermissionV2SourceType values.

func (*PermissionV2SourceType) Decode

func (s *PermissionV2SourceType) Decode(d *jx.Decoder) error

Decode decodes PermissionV2SourceType from json.

func (PermissionV2SourceType) Encode

func (s PermissionV2SourceType) Encode(e *jx.Encoder)

Encode encodes PermissionV2SourceType as json.

func (PermissionV2SourceType) MarshalJSON

func (s PermissionV2SourceType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (PermissionV2SourceType) MarshalText

func (s PermissionV2SourceType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*PermissionV2SourceType) UnmarshalJSON

func (s *PermissionV2SourceType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PermissionV2SourceType) UnmarshalText

func (s *PermissionV2SourceType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (PermissionV2SourceType) Validate

func (s PermissionV2SourceType) Validate() error

type Project

type Project struct {
	ID        string             `json:"id"`
	Worktree  string             `json:"worktree"`
	Vcs       OptProjectVcs      `json:"vcs"`
	Name      OptString          `json:"name"`
	Icon      OptProjectIcon     `json:"icon"`
	Commands  OptProjectCommands `json:"commands"`
	Time      ProjectTime        `json:"time"`
	Sandboxes []string           `json:"sandboxes"`
}

Ref: #/components/schemas/Project

func (*Project) Decode

func (s *Project) Decode(d *jx.Decoder) error

Decode decodes Project from json.

func (*Project) Encode

func (s *Project) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Project) GetCommands

func (s *Project) GetCommands() OptProjectCommands

GetCommands returns the value of Commands.

func (*Project) GetID

func (s *Project) GetID() string

GetID returns the value of ID.

func (*Project) GetIcon

func (s *Project) GetIcon() OptProjectIcon

GetIcon returns the value of Icon.

func (*Project) GetName

func (s *Project) GetName() OptString

GetName returns the value of Name.

func (*Project) GetSandboxes

func (s *Project) GetSandboxes() []string

GetSandboxes returns the value of Sandboxes.

func (*Project) GetTime

func (s *Project) GetTime() ProjectTime

GetTime returns the value of Time.

func (*Project) GetVcs

func (s *Project) GetVcs() OptProjectVcs

GetVcs returns the value of Vcs.

func (*Project) GetWorktree

func (s *Project) GetWorktree() string

GetWorktree returns the value of Worktree.

func (*Project) MarshalJSON

func (s *Project) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Project) SetCommands

func (s *Project) SetCommands(val OptProjectCommands)

SetCommands sets the value of Commands.

func (*Project) SetID

func (s *Project) SetID(val string)

SetID sets the value of ID.

func (*Project) SetIcon

func (s *Project) SetIcon(val OptProjectIcon)

SetIcon sets the value of Icon.

func (*Project) SetName

func (s *Project) SetName(val OptString)

SetName sets the value of Name.

func (*Project) SetSandboxes

func (s *Project) SetSandboxes(val []string)

SetSandboxes sets the value of Sandboxes.

func (*Project) SetTime

func (s *Project) SetTime(val ProjectTime)

SetTime sets the value of Time.

func (*Project) SetVcs

func (s *Project) SetVcs(val OptProjectVcs)

SetVcs sets the value of Vcs.

func (*Project) SetWorktree

func (s *Project) SetWorktree(val string)

SetWorktree sets the value of Worktree.

func (*Project) UnmarshalJSON

func (s *Project) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Project) Validate

func (s *Project) Validate() error

type ProjectCommands

type ProjectCommands struct {
	// Startup script to run when creating a new workspace (worktree).
	Start OptString `json:"start"`
}

Ref: #/components/schemas/ProjectCommands

func (*ProjectCommands) Decode

func (s *ProjectCommands) Decode(d *jx.Decoder) error

Decode decodes ProjectCommands from json.

func (*ProjectCommands) Encode

func (s *ProjectCommands) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ProjectCommands) GetStart

func (s *ProjectCommands) GetStart() OptString

GetStart returns the value of Start.

func (*ProjectCommands) MarshalJSON

func (s *ProjectCommands) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProjectCommands) SetStart

func (s *ProjectCommands) SetStart(val OptString)

SetStart sets the value of Start.

func (*ProjectCommands) UnmarshalJSON

func (s *ProjectCommands) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ProjectCurrentParams

type ProjectCurrentParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

ProjectCurrentParams is parameters of project.current operation.

type ProjectCurrentRes

type ProjectCurrentRes interface {
	// contains filtered or unexported methods
}

type ProjectDirectories

type ProjectDirectories []ProjectDirectoriesItem

func (*ProjectDirectories) Decode

func (s *ProjectDirectories) Decode(d *jx.Decoder) error

Decode decodes ProjectDirectories from json.

func (ProjectDirectories) Encode

func (s ProjectDirectories) Encode(e *jx.Encoder)

Encode encodes ProjectDirectories as json.

func (ProjectDirectories) MarshalJSON

func (s ProjectDirectories) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProjectDirectories) UnmarshalJSON

func (s *ProjectDirectories) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (ProjectDirectories) Validate

func (s ProjectDirectories) Validate() error

type ProjectDirectoriesItem

type ProjectDirectoriesItem struct {
	Directory string    `json:"directory"`
	Strategy  OptString `json:"strategy"`
}

func (*ProjectDirectoriesItem) Decode

func (s *ProjectDirectoriesItem) Decode(d *jx.Decoder) error

Decode decodes ProjectDirectoriesItem from json.

func (*ProjectDirectoriesItem) Encode

func (s *ProjectDirectoriesItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ProjectDirectoriesItem) GetDirectory

func (s *ProjectDirectoriesItem) GetDirectory() string

GetDirectory returns the value of Directory.

func (*ProjectDirectoriesItem) GetStrategy

func (s *ProjectDirectoriesItem) GetStrategy() OptString

GetStrategy returns the value of Strategy.

func (*ProjectDirectoriesItem) MarshalJSON

func (s *ProjectDirectoriesItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProjectDirectoriesItem) SetDirectory

func (s *ProjectDirectoriesItem) SetDirectory(val string)

SetDirectory sets the value of Directory.

func (*ProjectDirectoriesItem) SetStrategy

func (s *ProjectDirectoriesItem) SetStrategy(val OptString)

SetStrategy sets the value of Strategy.

func (*ProjectDirectoriesItem) UnmarshalJSON

func (s *ProjectDirectoriesItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ProjectDirectoriesParams

type ProjectDirectoriesParams struct {
	ProjectID string
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

ProjectDirectoriesParams is parameters of project.directories operation.

type ProjectDirectoriesRes

type ProjectDirectoriesRes interface {
	// contains filtered or unexported methods
}

type ProjectIcon

type ProjectIcon struct {
	URL      OptString `json:"url"`
	Override OptString `json:"override"`
	Color    OptString `json:"color"`
}

Ref: #/components/schemas/ProjectIcon

func (*ProjectIcon) Decode

func (s *ProjectIcon) Decode(d *jx.Decoder) error

Decode decodes ProjectIcon from json.

func (*ProjectIcon) Encode

func (s *ProjectIcon) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ProjectIcon) GetColor

func (s *ProjectIcon) GetColor() OptString

GetColor returns the value of Color.

func (*ProjectIcon) GetOverride

func (s *ProjectIcon) GetOverride() OptString

GetOverride returns the value of Override.

func (*ProjectIcon) GetURL

func (s *ProjectIcon) GetURL() OptString

GetURL returns the value of URL.

func (*ProjectIcon) MarshalJSON

func (s *ProjectIcon) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProjectIcon) SetColor

func (s *ProjectIcon) SetColor(val OptString)

SetColor sets the value of Color.

func (*ProjectIcon) SetOverride

func (s *ProjectIcon) SetOverride(val OptString)

SetOverride sets the value of Override.

func (*ProjectIcon) SetURL

func (s *ProjectIcon) SetURL(val OptString)

SetURL sets the value of URL.

func (*ProjectIcon) UnmarshalJSON

func (s *ProjectIcon) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ProjectInitGitParams

type ProjectInitGitParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

ProjectInitGitParams is parameters of project.initGit operation.

type ProjectInitGitRes

type ProjectInitGitRes interface {
	// contains filtered or unexported methods
}

type ProjectListOKApplicationJSON

type ProjectListOKApplicationJSON []Project

func (*ProjectListOKApplicationJSON) Decode

Decode decodes ProjectListOKApplicationJSON from json.

func (ProjectListOKApplicationJSON) Encode

Encode encodes ProjectListOKApplicationJSON as json.

func (ProjectListOKApplicationJSON) MarshalJSON

func (s ProjectListOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProjectListOKApplicationJSON) UnmarshalJSON

func (s *ProjectListOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (ProjectListOKApplicationJSON) Validate

func (s ProjectListOKApplicationJSON) Validate() error

type ProjectListParams

type ProjectListParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

ProjectListParams is parameters of project.list operation.

type ProjectListRes

type ProjectListRes interface {
	// contains filtered or unexported methods
}

type ProjectSummary

type ProjectSummary struct {
	ID       string    `json:"id"`
	Name     OptString `json:"name"`
	Worktree string    `json:"worktree"`
}

Ref: #/components/schemas/ProjectSummary

func (*ProjectSummary) Decode

func (s *ProjectSummary) Decode(d *jx.Decoder) error

Decode decodes ProjectSummary from json.

func (*ProjectSummary) Encode

func (s *ProjectSummary) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ProjectSummary) GetID

func (s *ProjectSummary) GetID() string

GetID returns the value of ID.

func (*ProjectSummary) GetName

func (s *ProjectSummary) GetName() OptString

GetName returns the value of Name.

func (*ProjectSummary) GetWorktree

func (s *ProjectSummary) GetWorktree() string

GetWorktree returns the value of Worktree.

func (*ProjectSummary) MarshalJSON

func (s *ProjectSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProjectSummary) SetID

func (s *ProjectSummary) SetID(val string)

SetID sets the value of ID.

func (*ProjectSummary) SetName

func (s *ProjectSummary) SetName(val OptString)

SetName sets the value of Name.

func (*ProjectSummary) SetWorktree

func (s *ProjectSummary) SetWorktree(val string)

SetWorktree sets the value of Worktree.

func (*ProjectSummary) UnmarshalJSON

func (s *ProjectSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ProjectTime

type ProjectTime struct {
	Created     int    `json:"created"`
	Updated     int    `json:"updated"`
	Initialized OptInt `json:"initialized"`
}

Ref: #/components/schemas/ProjectTime

func (*ProjectTime) Decode

func (s *ProjectTime) Decode(d *jx.Decoder) error

Decode decodes ProjectTime from json.

func (*ProjectTime) Encode

func (s *ProjectTime) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ProjectTime) GetCreated

func (s *ProjectTime) GetCreated() int

GetCreated returns the value of Created.

func (*ProjectTime) GetInitialized

func (s *ProjectTime) GetInitialized() OptInt

GetInitialized returns the value of Initialized.

func (*ProjectTime) GetUpdated

func (s *ProjectTime) GetUpdated() int

GetUpdated returns the value of Updated.

func (*ProjectTime) MarshalJSON

func (s *ProjectTime) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProjectTime) SetCreated

func (s *ProjectTime) SetCreated(val int)

SetCreated sets the value of Created.

func (*ProjectTime) SetInitialized

func (s *ProjectTime) SetInitialized(val OptInt)

SetInitialized sets the value of Initialized.

func (*ProjectTime) SetUpdated

func (s *ProjectTime) SetUpdated(val int)

SetUpdated sets the value of Updated.

func (*ProjectTime) UnmarshalJSON

func (s *ProjectTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProjectTime) Validate

func (s *ProjectTime) Validate() error

type ProjectVcs

type ProjectVcs string

Ref: #/components/schemas/ProjectVcs

const (
	ProjectVcsGit ProjectVcs = "git"
)

func (ProjectVcs) AllValues

func (ProjectVcs) AllValues() []ProjectVcs

AllValues returns all ProjectVcs values.

func (*ProjectVcs) Decode

func (s *ProjectVcs) Decode(d *jx.Decoder) error

Decode decodes ProjectVcs from json.

func (ProjectVcs) Encode

func (s ProjectVcs) Encode(e *jx.Encoder)

Encode encodes ProjectVcs as json.

func (ProjectVcs) MarshalJSON

func (s ProjectVcs) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ProjectVcs) MarshalText

func (s ProjectVcs) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ProjectVcs) UnmarshalJSON

func (s *ProjectVcs) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProjectVcs) UnmarshalText

func (s *ProjectVcs) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ProjectVcs) Validate

func (s ProjectVcs) Validate() error

type Provider

type Provider struct {
	ID      string          `json:"id"`
	Name    string          `json:"name"`
	Source  ProviderSource  `json:"source"`
	Env     []string        `json:"env"`
	Key     OptString       `json:"key"`
	Options ProviderOptions `json:"options"`
	Models  ProviderModels  `json:"models"`
}

Ref: #/components/schemas/Provider

func (*Provider) Decode

func (s *Provider) Decode(d *jx.Decoder) error

Decode decodes Provider from json.

func (*Provider) Encode

func (s *Provider) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Provider) GetEnv

func (s *Provider) GetEnv() []string

GetEnv returns the value of Env.

func (*Provider) GetID

func (s *Provider) GetID() string

GetID returns the value of ID.

func (*Provider) GetKey

func (s *Provider) GetKey() OptString

GetKey returns the value of Key.

func (*Provider) GetModels

func (s *Provider) GetModels() ProviderModels

GetModels returns the value of Models.

func (*Provider) GetName

func (s *Provider) GetName() string

GetName returns the value of Name.

func (*Provider) GetOptions

func (s *Provider) GetOptions() ProviderOptions

GetOptions returns the value of Options.

func (*Provider) GetSource

func (s *Provider) GetSource() ProviderSource

GetSource returns the value of Source.

func (*Provider) MarshalJSON

func (s *Provider) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Provider) SetEnv

func (s *Provider) SetEnv(val []string)

SetEnv sets the value of Env.

func (*Provider) SetID

func (s *Provider) SetID(val string)

SetID sets the value of ID.

func (*Provider) SetKey

func (s *Provider) SetKey(val OptString)

SetKey sets the value of Key.

func (*Provider) SetModels

func (s *Provider) SetModels(val ProviderModels)

SetModels sets the value of Models.

func (*Provider) SetName

func (s *Provider) SetName(val string)

SetName sets the value of Name.

func (*Provider) SetOptions

func (s *Provider) SetOptions(val ProviderOptions)

SetOptions sets the value of Options.

func (*Provider) SetSource

func (s *Provider) SetSource(val ProviderSource)

SetSource sets the value of Source.

func (*Provider) UnmarshalJSON

func (s *Provider) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Provider) Validate

func (s *Provider) Validate() error

type ProviderListOK

type ProviderListOK struct {
	All       []Provider            `json:"all"`
	Default   ProviderListOKDefault `json:"default"`
	Connected []string              `json:"connected"`
}

List of providers.

func (*ProviderListOK) Decode

func (s *ProviderListOK) Decode(d *jx.Decoder) error

Decode decodes ProviderListOK from json.

func (*ProviderListOK) Encode

func (s *ProviderListOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ProviderListOK) GetAll

func (s *ProviderListOK) GetAll() []Provider

GetAll returns the value of All.

func (*ProviderListOK) GetConnected

func (s *ProviderListOK) GetConnected() []string

GetConnected returns the value of Connected.

func (*ProviderListOK) GetDefault

func (s *ProviderListOK) GetDefault() ProviderListOKDefault

GetDefault returns the value of Default.

func (*ProviderListOK) MarshalJSON

func (s *ProviderListOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProviderListOK) SetAll

func (s *ProviderListOK) SetAll(val []Provider)

SetAll sets the value of All.

func (*ProviderListOK) SetConnected

func (s *ProviderListOK) SetConnected(val []string)

SetConnected sets the value of Connected.

func (*ProviderListOK) SetDefault

func (s *ProviderListOK) SetDefault(val ProviderListOKDefault)

SetDefault sets the value of Default.

func (*ProviderListOK) UnmarshalJSON

func (s *ProviderListOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProviderListOK) Validate

func (s *ProviderListOK) Validate() error

type ProviderListOKDefault

type ProviderListOKDefault map[string]string

func (*ProviderListOKDefault) Decode

func (s *ProviderListOKDefault) Decode(d *jx.Decoder) error

Decode decodes ProviderListOKDefault from json.

func (ProviderListOKDefault) Encode

func (s ProviderListOKDefault) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (ProviderListOKDefault) MarshalJSON

func (s ProviderListOKDefault) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProviderListOKDefault) UnmarshalJSON

func (s *ProviderListOKDefault) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ProviderListParams

type ProviderListParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

ProviderListParams is parameters of provider.list operation.

type ProviderListRes

type ProviderListRes interface {
	// contains filtered or unexported methods
}

type ProviderModels

type ProviderModels map[string]Model

func (*ProviderModels) Decode

func (s *ProviderModels) Decode(d *jx.Decoder) error

Decode decodes ProviderModels from json.

func (ProviderModels) Encode

func (s ProviderModels) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (ProviderModels) MarshalJSON

func (s ProviderModels) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProviderModels) UnmarshalJSON

func (s *ProviderModels) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (ProviderModels) Validate

func (s ProviderModels) Validate() error

type ProviderOptions

type ProviderOptions struct{}

func (*ProviderOptions) Decode

func (s *ProviderOptions) Decode(d *jx.Decoder) error

Decode decodes ProviderOptions from json.

func (*ProviderOptions) Encode

func (s *ProviderOptions) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ProviderOptions) MarshalJSON

func (s *ProviderOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProviderOptions) UnmarshalJSON

func (s *ProviderOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ProviderSource

type ProviderSource string
const (
	ProviderSourceEnv    ProviderSource = "env"
	ProviderSourceConfig ProviderSource = "config"
	ProviderSourceCustom ProviderSource = "custom"
	ProviderSourceAPI    ProviderSource = "api"
)

func (ProviderSource) AllValues

func (ProviderSource) AllValues() []ProviderSource

AllValues returns all ProviderSource values.

func (*ProviderSource) Decode

func (s *ProviderSource) Decode(d *jx.Decoder) error

Decode decodes ProviderSource from json.

func (ProviderSource) Encode

func (s ProviderSource) Encode(e *jx.Encoder)

Encode encodes ProviderSource as json.

func (ProviderSource) MarshalJSON

func (s ProviderSource) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ProviderSource) MarshalText

func (s ProviderSource) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ProviderSource) UnmarshalJSON

func (s *ProviderSource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ProviderSource) UnmarshalText

func (s *ProviderSource) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ProviderSource) Validate

func (s ProviderSource) Validate() error

type Pty

type Pty struct {
	ID       string    `json:"id"`
	Title    string    `json:"title"`
	Command  string    `json:"command"`
	Args     []string  `json:"args"`
	Cwd      string    `json:"cwd"`
	Status   PtyStatus `json:"status"`
	Pid      int       `json:"pid"`
	ExitCode OptInt    `json:"exitCode"`
}

Ref: #/components/schemas/Pty

func (*Pty) Decode

func (s *Pty) Decode(d *jx.Decoder) error

Decode decodes Pty from json.

func (*Pty) Encode

func (s *Pty) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Pty) GetArgs

func (s *Pty) GetArgs() []string

GetArgs returns the value of Args.

func (*Pty) GetCommand

func (s *Pty) GetCommand() string

GetCommand returns the value of Command.

func (*Pty) GetCwd

func (s *Pty) GetCwd() string

GetCwd returns the value of Cwd.

func (*Pty) GetExitCode

func (s *Pty) GetExitCode() OptInt

GetExitCode returns the value of ExitCode.

func (*Pty) GetID

func (s *Pty) GetID() string

GetID returns the value of ID.

func (*Pty) GetPid

func (s *Pty) GetPid() int

GetPid returns the value of Pid.

func (*Pty) GetStatus

func (s *Pty) GetStatus() PtyStatus

GetStatus returns the value of Status.

func (*Pty) GetTitle

func (s *Pty) GetTitle() string

GetTitle returns the value of Title.

func (*Pty) MarshalJSON

func (s *Pty) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Pty) SetArgs

func (s *Pty) SetArgs(val []string)

SetArgs sets the value of Args.

func (*Pty) SetCommand

func (s *Pty) SetCommand(val string)

SetCommand sets the value of Command.

func (*Pty) SetCwd

func (s *Pty) SetCwd(val string)

SetCwd sets the value of Cwd.

func (*Pty) SetExitCode

func (s *Pty) SetExitCode(val OptInt)

SetExitCode sets the value of ExitCode.

func (*Pty) SetID

func (s *Pty) SetID(val string)

SetID sets the value of ID.

func (*Pty) SetPid

func (s *Pty) SetPid(val int)

SetPid sets the value of Pid.

func (*Pty) SetStatus

func (s *Pty) SetStatus(val PtyStatus)

SetStatus sets the value of Status.

func (*Pty) SetTitle

func (s *Pty) SetTitle(val string)

SetTitle sets the value of Title.

func (*Pty) UnmarshalJSON

func (s *Pty) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Pty) Validate

func (s *Pty) Validate() error

type PtyConnectOKApplicationJSON

type PtyConnectOKApplicationJSON bool

func (*PtyConnectOKApplicationJSON) Decode

Decode decodes PtyConnectOKApplicationJSON from json.

func (PtyConnectOKApplicationJSON) Encode

func (s PtyConnectOKApplicationJSON) Encode(e *jx.Encoder)

Encode encodes PtyConnectOKApplicationJSON as json.

func (PtyConnectOKApplicationJSON) MarshalJSON

func (s PtyConnectOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PtyConnectOKApplicationJSON) UnmarshalJSON

func (s *PtyConnectOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PtyConnectParams

type PtyConnectParams struct {
	PtyID     string
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
	Cursor    OptString `json:",omitempty,omitzero"`
	Ticket    OptString `json:",omitempty,omitzero"`
}

PtyConnectParams is parameters of pty.connect operation.

type PtyConnectRes

type PtyConnectRes interface {
	// contains filtered or unexported methods
}

type PtyConnectTokenParams

type PtyConnectTokenParams struct {
	PtyID     string
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

PtyConnectTokenParams is parameters of pty.connectToken operation.

type PtyConnectTokenRes

type PtyConnectTokenRes interface {
	// contains filtered or unexported methods
}

type PtyForbiddenError

type PtyForbiddenError struct {
	Tag     PtyForbiddenErrorTag `json:"_tag"`
	Message string               `json:"message"`
}

Ref: #/components/schemas/PtyForbiddenError

func (*PtyForbiddenError) Decode

func (s *PtyForbiddenError) Decode(d *jx.Decoder) error

Decode decodes PtyForbiddenError from json.

func (*PtyForbiddenError) Encode

func (s *PtyForbiddenError) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PtyForbiddenError) GetMessage

func (s *PtyForbiddenError) GetMessage() string

GetMessage returns the value of Message.

func (*PtyForbiddenError) GetTag

GetTag returns the value of Tag.

func (*PtyForbiddenError) MarshalJSON

func (s *PtyForbiddenError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PtyForbiddenError) SetMessage

func (s *PtyForbiddenError) SetMessage(val string)

SetMessage sets the value of Message.

func (*PtyForbiddenError) SetTag

func (s *PtyForbiddenError) SetTag(val PtyForbiddenErrorTag)

SetTag sets the value of Tag.

func (*PtyForbiddenError) UnmarshalJSON

func (s *PtyForbiddenError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PtyForbiddenError) Validate

func (s *PtyForbiddenError) Validate() error

type PtyForbiddenErrorTag

type PtyForbiddenErrorTag string
const (
	PtyForbiddenErrorTagPtyForbiddenError PtyForbiddenErrorTag = "PtyForbiddenError"
)

func (PtyForbiddenErrorTag) AllValues

AllValues returns all PtyForbiddenErrorTag values.

func (*PtyForbiddenErrorTag) Decode

func (s *PtyForbiddenErrorTag) Decode(d *jx.Decoder) error

Decode decodes PtyForbiddenErrorTag from json.

func (PtyForbiddenErrorTag) Encode

func (s PtyForbiddenErrorTag) Encode(e *jx.Encoder)

Encode encodes PtyForbiddenErrorTag as json.

func (PtyForbiddenErrorTag) MarshalJSON

func (s PtyForbiddenErrorTag) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (PtyForbiddenErrorTag) MarshalText

func (s PtyForbiddenErrorTag) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*PtyForbiddenErrorTag) UnmarshalJSON

func (s *PtyForbiddenErrorTag) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PtyForbiddenErrorTag) UnmarshalText

func (s *PtyForbiddenErrorTag) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (PtyForbiddenErrorTag) Validate

func (s PtyForbiddenErrorTag) Validate() error

type PtyGetParams

type PtyGetParams struct {
	PtyID     string
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

PtyGetParams is parameters of pty.get operation.

type PtyGetRes

type PtyGetRes interface {
	// contains filtered or unexported methods
}

type PtyListOKApplicationJSON

type PtyListOKApplicationJSON []Pty

func (*PtyListOKApplicationJSON) Decode

func (s *PtyListOKApplicationJSON) Decode(d *jx.Decoder) error

Decode decodes PtyListOKApplicationJSON from json.

func (PtyListOKApplicationJSON) Encode

func (s PtyListOKApplicationJSON) Encode(e *jx.Encoder)

Encode encodes PtyListOKApplicationJSON as json.

func (PtyListOKApplicationJSON) MarshalJSON

func (s PtyListOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PtyListOKApplicationJSON) UnmarshalJSON

func (s *PtyListOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (PtyListOKApplicationJSON) Validate

func (s PtyListOKApplicationJSON) Validate() error

type PtyListParams

type PtyListParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

PtyListParams is parameters of pty.list operation.

type PtyListRes

type PtyListRes interface {
	// contains filtered or unexported methods
}

type PtyNotFoundError

type PtyNotFoundError struct {
	Tag     PtyNotFoundErrorTag `json:"_tag"`
	PtyID   string              `json:"ptyID"`
	Message string              `json:"message"`
}

Ref: #/components/schemas/PtyNotFoundError

func (*PtyNotFoundError) Decode

func (s *PtyNotFoundError) Decode(d *jx.Decoder) error

Decode decodes PtyNotFoundError from json.

func (*PtyNotFoundError) Encode

func (s *PtyNotFoundError) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PtyNotFoundError) GetMessage

func (s *PtyNotFoundError) GetMessage() string

GetMessage returns the value of Message.

func (*PtyNotFoundError) GetPtyID

func (s *PtyNotFoundError) GetPtyID() string

GetPtyID returns the value of PtyID.

func (*PtyNotFoundError) GetTag

GetTag returns the value of Tag.

func (*PtyNotFoundError) MarshalJSON

func (s *PtyNotFoundError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PtyNotFoundError) SetMessage

func (s *PtyNotFoundError) SetMessage(val string)

SetMessage sets the value of Message.

func (*PtyNotFoundError) SetPtyID

func (s *PtyNotFoundError) SetPtyID(val string)

SetPtyID sets the value of PtyID.

func (*PtyNotFoundError) SetTag

func (s *PtyNotFoundError) SetTag(val PtyNotFoundErrorTag)

SetTag sets the value of Tag.

func (*PtyNotFoundError) UnmarshalJSON

func (s *PtyNotFoundError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PtyNotFoundError) Validate

func (s *PtyNotFoundError) Validate() error

type PtyNotFoundErrorTag

type PtyNotFoundErrorTag string
const (
	PtyNotFoundErrorTagPtyNotFoundError PtyNotFoundErrorTag = "PtyNotFoundError"
)

func (PtyNotFoundErrorTag) AllValues

AllValues returns all PtyNotFoundErrorTag values.

func (*PtyNotFoundErrorTag) Decode

func (s *PtyNotFoundErrorTag) Decode(d *jx.Decoder) error

Decode decodes PtyNotFoundErrorTag from json.

func (PtyNotFoundErrorTag) Encode

func (s PtyNotFoundErrorTag) Encode(e *jx.Encoder)

Encode encodes PtyNotFoundErrorTag as json.

func (PtyNotFoundErrorTag) MarshalJSON

func (s PtyNotFoundErrorTag) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (PtyNotFoundErrorTag) MarshalText

func (s PtyNotFoundErrorTag) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*PtyNotFoundErrorTag) UnmarshalJSON

func (s *PtyNotFoundErrorTag) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PtyNotFoundErrorTag) UnmarshalText

func (s *PtyNotFoundErrorTag) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (PtyNotFoundErrorTag) Validate

func (s PtyNotFoundErrorTag) Validate() error

type PtyRemoveOKApplicationJSON

type PtyRemoveOKApplicationJSON bool

func (*PtyRemoveOKApplicationJSON) Decode

Decode decodes PtyRemoveOKApplicationJSON from json.

func (PtyRemoveOKApplicationJSON) Encode

func (s PtyRemoveOKApplicationJSON) Encode(e *jx.Encoder)

Encode encodes PtyRemoveOKApplicationJSON as json.

func (PtyRemoveOKApplicationJSON) MarshalJSON

func (s PtyRemoveOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PtyRemoveOKApplicationJSON) UnmarshalJSON

func (s *PtyRemoveOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PtyRemoveParams

type PtyRemoveParams struct {
	PtyID     string
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

PtyRemoveParams is parameters of pty.remove operation.

type PtyRemoveRes

type PtyRemoveRes interface {
	// contains filtered or unexported methods
}

type PtyShellsOKApplicationJSON

type PtyShellsOKApplicationJSON []PtyShellsOKItem

func (*PtyShellsOKApplicationJSON) Decode

Decode decodes PtyShellsOKApplicationJSON from json.

func (PtyShellsOKApplicationJSON) Encode

func (s PtyShellsOKApplicationJSON) Encode(e *jx.Encoder)

Encode encodes PtyShellsOKApplicationJSON as json.

func (PtyShellsOKApplicationJSON) MarshalJSON

func (s PtyShellsOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PtyShellsOKApplicationJSON) UnmarshalJSON

func (s *PtyShellsOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (PtyShellsOKApplicationJSON) Validate

func (s PtyShellsOKApplicationJSON) Validate() error

type PtyShellsOKItem

type PtyShellsOKItem struct {
	Path       string `json:"path"`
	Name       string `json:"name"`
	Acceptable bool   `json:"acceptable"`
}

func (*PtyShellsOKItem) Decode

func (s *PtyShellsOKItem) Decode(d *jx.Decoder) error

Decode decodes PtyShellsOKItem from json.

func (*PtyShellsOKItem) Encode

func (s *PtyShellsOKItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PtyShellsOKItem) GetAcceptable

func (s *PtyShellsOKItem) GetAcceptable() bool

GetAcceptable returns the value of Acceptable.

func (*PtyShellsOKItem) GetName

func (s *PtyShellsOKItem) GetName() string

GetName returns the value of Name.

func (*PtyShellsOKItem) GetPath

func (s *PtyShellsOKItem) GetPath() string

GetPath returns the value of Path.

func (*PtyShellsOKItem) MarshalJSON

func (s *PtyShellsOKItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PtyShellsOKItem) SetAcceptable

func (s *PtyShellsOKItem) SetAcceptable(val bool)

SetAcceptable sets the value of Acceptable.

func (*PtyShellsOKItem) SetName

func (s *PtyShellsOKItem) SetName(val string)

SetName sets the value of Name.

func (*PtyShellsOKItem) SetPath

func (s *PtyShellsOKItem) SetPath(val string)

SetPath sets the value of Path.

func (*PtyShellsOKItem) UnmarshalJSON

func (s *PtyShellsOKItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PtyShellsParams

type PtyShellsParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

PtyShellsParams is parameters of pty.shells operation.

type PtyShellsRes

type PtyShellsRes interface {
	// contains filtered or unexported methods
}

type PtyStatus

type PtyStatus string
const (
	PtyStatusRunning PtyStatus = "running"
	PtyStatusExited  PtyStatus = "exited"
)

func (PtyStatus) AllValues

func (PtyStatus) AllValues() []PtyStatus

AllValues returns all PtyStatus values.

func (*PtyStatus) Decode

func (s *PtyStatus) Decode(d *jx.Decoder) error

Decode decodes PtyStatus from json.

func (PtyStatus) Encode

func (s PtyStatus) Encode(e *jx.Encoder)

Encode encodes PtyStatus as json.

func (PtyStatus) MarshalJSON

func (s PtyStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (PtyStatus) MarshalText

func (s PtyStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*PtyStatus) UnmarshalJSON

func (s *PtyStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PtyStatus) UnmarshalText

func (s *PtyStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (PtyStatus) Validate

func (s PtyStatus) Validate() error

type PtyTicketConnectToken

type PtyTicketConnectToken struct {
	Ticket    string `json:"ticket"`
	ExpiresIn int    `json:"expires_in"`
}

Ref: #/components/schemas/PtyTicketConnectToken

func (*PtyTicketConnectToken) Decode

func (s *PtyTicketConnectToken) Decode(d *jx.Decoder) error

Decode decodes PtyTicketConnectToken from json.

func (*PtyTicketConnectToken) Encode

func (s *PtyTicketConnectToken) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PtyTicketConnectToken) GetExpiresIn

func (s *PtyTicketConnectToken) GetExpiresIn() int

GetExpiresIn returns the value of ExpiresIn.

func (*PtyTicketConnectToken) GetTicket

func (s *PtyTicketConnectToken) GetTicket() string

GetTicket returns the value of Ticket.

func (*PtyTicketConnectToken) MarshalJSON

func (s *PtyTicketConnectToken) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PtyTicketConnectToken) SetExpiresIn

func (s *PtyTicketConnectToken) SetExpiresIn(val int)

SetExpiresIn sets the value of ExpiresIn.

func (*PtyTicketConnectToken) SetTicket

func (s *PtyTicketConnectToken) SetTicket(val string)

SetTicket sets the value of Ticket.

func (*PtyTicketConnectToken) UnmarshalJSON

func (s *PtyTicketConnectToken) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PtyTicketConnectToken) Validate

func (s *PtyTicketConnectToken) Validate() error

type QuestionInfo

type QuestionInfo struct {
	// Complete question.
	Question string `json:"question"`
	// Very short label (max 30 chars).
	Header string `json:"header"`
	// Available choices.
	Options  []QuestionOption `json:"options"`
	Multiple OptBool          `json:"multiple"`
	Custom   OptBool          `json:"custom"`
}

Ref: #/components/schemas/QuestionInfo

func (*QuestionInfo) Decode

func (s *QuestionInfo) Decode(d *jx.Decoder) error

Decode decodes QuestionInfo from json.

func (*QuestionInfo) Encode

func (s *QuestionInfo) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*QuestionInfo) GetCustom

func (s *QuestionInfo) GetCustom() OptBool

GetCustom returns the value of Custom.

func (*QuestionInfo) GetHeader

func (s *QuestionInfo) GetHeader() string

GetHeader returns the value of Header.

func (*QuestionInfo) GetMultiple

func (s *QuestionInfo) GetMultiple() OptBool

GetMultiple returns the value of Multiple.

func (*QuestionInfo) GetOptions

func (s *QuestionInfo) GetOptions() []QuestionOption

GetOptions returns the value of Options.

func (*QuestionInfo) GetQuestion

func (s *QuestionInfo) GetQuestion() string

GetQuestion returns the value of Question.

func (*QuestionInfo) MarshalJSON

func (s *QuestionInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*QuestionInfo) SetCustom

func (s *QuestionInfo) SetCustom(val OptBool)

SetCustom sets the value of Custom.

func (*QuestionInfo) SetHeader

func (s *QuestionInfo) SetHeader(val string)

SetHeader sets the value of Header.

func (*QuestionInfo) SetMultiple

func (s *QuestionInfo) SetMultiple(val OptBool)

SetMultiple sets the value of Multiple.

func (*QuestionInfo) SetOptions

func (s *QuestionInfo) SetOptions(val []QuestionOption)

SetOptions sets the value of Options.

func (*QuestionInfo) SetQuestion

func (s *QuestionInfo) SetQuestion(val string)

SetQuestion sets the value of Question.

func (*QuestionInfo) UnmarshalJSON

func (s *QuestionInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*QuestionInfo) Validate

func (s *QuestionInfo) Validate() error

type QuestionListOKApplicationJSON

type QuestionListOKApplicationJSON []QuestionRequest

func (*QuestionListOKApplicationJSON) Decode

Decode decodes QuestionListOKApplicationJSON from json.

func (QuestionListOKApplicationJSON) Encode

Encode encodes QuestionListOKApplicationJSON as json.

func (QuestionListOKApplicationJSON) MarshalJSON

func (s QuestionListOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*QuestionListOKApplicationJSON) UnmarshalJSON

func (s *QuestionListOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (QuestionListOKApplicationJSON) Validate

func (s QuestionListOKApplicationJSON) Validate() error

type QuestionListParams

type QuestionListParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

QuestionListParams is parameters of question.list operation.

type QuestionListRes

type QuestionListRes interface {
	// contains filtered or unexported methods
}

type QuestionOption

type QuestionOption struct {
	// Display text (1-5 words, concise).
	Label string `json:"label"`
	// Explanation of choice.
	Description string `json:"description"`
}

Ref: #/components/schemas/QuestionOption

func (*QuestionOption) Decode

func (s *QuestionOption) Decode(d *jx.Decoder) error

Decode decodes QuestionOption from json.

func (*QuestionOption) Encode

func (s *QuestionOption) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*QuestionOption) GetDescription

func (s *QuestionOption) GetDescription() string

GetDescription returns the value of Description.

func (*QuestionOption) GetLabel

func (s *QuestionOption) GetLabel() string

GetLabel returns the value of Label.

func (*QuestionOption) MarshalJSON

func (s *QuestionOption) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*QuestionOption) SetDescription

func (s *QuestionOption) SetDescription(val string)

SetDescription sets the value of Description.

func (*QuestionOption) SetLabel

func (s *QuestionOption) SetLabel(val string)

SetLabel sets the value of Label.

func (*QuestionOption) UnmarshalJSON

func (s *QuestionOption) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type QuestionRequest

type QuestionRequest struct {
	ID        string `json:"id"`
	SessionID string `json:"sessionID"`
	// Questions to ask.
	Questions []QuestionInfo  `json:"questions"`
	Tool      OptQuestionTool `json:"tool"`
}

Ref: #/components/schemas/QuestionRequest

func (*QuestionRequest) Decode

func (s *QuestionRequest) Decode(d *jx.Decoder) error

Decode decodes QuestionRequest from json.

func (*QuestionRequest) Encode

func (s *QuestionRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*QuestionRequest) GetID

func (s *QuestionRequest) GetID() string

GetID returns the value of ID.

func (*QuestionRequest) GetQuestions

func (s *QuestionRequest) GetQuestions() []QuestionInfo

GetQuestions returns the value of Questions.

func (*QuestionRequest) GetSessionID

func (s *QuestionRequest) GetSessionID() string

GetSessionID returns the value of SessionID.

func (*QuestionRequest) GetTool

func (s *QuestionRequest) GetTool() OptQuestionTool

GetTool returns the value of Tool.

func (*QuestionRequest) MarshalJSON

func (s *QuestionRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*QuestionRequest) SetID

func (s *QuestionRequest) SetID(val string)

SetID sets the value of ID.

func (*QuestionRequest) SetQuestions

func (s *QuestionRequest) SetQuestions(val []QuestionInfo)

SetQuestions sets the value of Questions.

func (*QuestionRequest) SetSessionID

func (s *QuestionRequest) SetSessionID(val string)

SetSessionID sets the value of SessionID.

func (*QuestionRequest) SetTool

func (s *QuestionRequest) SetTool(val OptQuestionTool)

SetTool sets the value of Tool.

func (*QuestionRequest) UnmarshalJSON

func (s *QuestionRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*QuestionRequest) Validate

func (s *QuestionRequest) Validate() error

type QuestionTool

type QuestionTool struct {
	MessageID string `json:"messageID"`
	CallID    string `json:"callID"`
}

Ref: #/components/schemas/QuestionTool

func (*QuestionTool) Decode

func (s *QuestionTool) Decode(d *jx.Decoder) error

Decode decodes QuestionTool from json.

func (*QuestionTool) Encode

func (s *QuestionTool) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*QuestionTool) GetCallID

func (s *QuestionTool) GetCallID() string

GetCallID returns the value of CallID.

func (*QuestionTool) GetMessageID

func (s *QuestionTool) GetMessageID() string

GetMessageID returns the value of MessageID.

func (*QuestionTool) MarshalJSON

func (s *QuestionTool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*QuestionTool) SetCallID

func (s *QuestionTool) SetCallID(val string)

SetCallID sets the value of CallID.

func (*QuestionTool) SetMessageID

func (s *QuestionTool) SetMessageID(val string)

SetMessageID sets the value of MessageID.

func (*QuestionTool) UnmarshalJSON

func (s *QuestionTool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*QuestionTool) Validate

func (s *QuestionTool) Validate() error

type QuestionV2Info

type QuestionV2Info struct {
	// Complete question.
	Question string `json:"question"`
	// Very short label (max 30 chars).
	Header string `json:"header"`
	// Available choices.
	Options  []QuestionV2Option `json:"options"`
	Multiple OptBool            `json:"multiple"`
	Custom   OptBool            `json:"custom"`
}

Ref: #/components/schemas/QuestionV2Info

func (*QuestionV2Info) Decode

func (s *QuestionV2Info) Decode(d *jx.Decoder) error

Decode decodes QuestionV2Info from json.

func (*QuestionV2Info) Encode

func (s *QuestionV2Info) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*QuestionV2Info) GetCustom

func (s *QuestionV2Info) GetCustom() OptBool

GetCustom returns the value of Custom.

func (*QuestionV2Info) GetHeader

func (s *QuestionV2Info) GetHeader() string

GetHeader returns the value of Header.

func (*QuestionV2Info) GetMultiple

func (s *QuestionV2Info) GetMultiple() OptBool

GetMultiple returns the value of Multiple.

func (*QuestionV2Info) GetOptions

func (s *QuestionV2Info) GetOptions() []QuestionV2Option

GetOptions returns the value of Options.

func (*QuestionV2Info) GetQuestion

func (s *QuestionV2Info) GetQuestion() string

GetQuestion returns the value of Question.

func (*QuestionV2Info) MarshalJSON

func (s *QuestionV2Info) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*QuestionV2Info) SetCustom

func (s *QuestionV2Info) SetCustom(val OptBool)

SetCustom sets the value of Custom.

func (*QuestionV2Info) SetHeader

func (s *QuestionV2Info) SetHeader(val string)

SetHeader sets the value of Header.

func (*QuestionV2Info) SetMultiple

func (s *QuestionV2Info) SetMultiple(val OptBool)

SetMultiple sets the value of Multiple.

func (*QuestionV2Info) SetOptions

func (s *QuestionV2Info) SetOptions(val []QuestionV2Option)

SetOptions sets the value of Options.

func (*QuestionV2Info) SetQuestion

func (s *QuestionV2Info) SetQuestion(val string)

SetQuestion sets the value of Question.

func (*QuestionV2Info) UnmarshalJSON

func (s *QuestionV2Info) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*QuestionV2Info) Validate

func (s *QuestionV2Info) Validate() error

type QuestionV2Option

type QuestionV2Option struct {
	// Display text (1-5 words, concise).
	Label string `json:"label"`
	// Explanation of choice.
	Description string `json:"description"`
}

Ref: #/components/schemas/QuestionV2Option

func (*QuestionV2Option) Decode

func (s *QuestionV2Option) Decode(d *jx.Decoder) error

Decode decodes QuestionV2Option from json.

func (*QuestionV2Option) Encode

func (s *QuestionV2Option) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*QuestionV2Option) GetDescription

func (s *QuestionV2Option) GetDescription() string

GetDescription returns the value of Description.

func (*QuestionV2Option) GetLabel

func (s *QuestionV2Option) GetLabel() string

GetLabel returns the value of Label.

func (*QuestionV2Option) MarshalJSON

func (s *QuestionV2Option) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*QuestionV2Option) SetDescription

func (s *QuestionV2Option) SetDescription(val string)

SetDescription sets the value of Description.

func (*QuestionV2Option) SetLabel

func (s *QuestionV2Option) SetLabel(val string)

SetLabel sets the value of Label.

func (*QuestionV2Option) UnmarshalJSON

func (s *QuestionV2Option) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type QuestionV2Request

type QuestionV2Request struct {
	ID        string `json:"id"`
	SessionID string `json:"sessionID"`
	// Questions to ask.
	Questions []QuestionV2Info  `json:"questions"`
	Tool      OptQuestionV2Tool `json:"tool"`
}

Ref: #/components/schemas/QuestionV2Request

func (*QuestionV2Request) Decode

func (s *QuestionV2Request) Decode(d *jx.Decoder) error

Decode decodes QuestionV2Request from json.

func (*QuestionV2Request) Encode

func (s *QuestionV2Request) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*QuestionV2Request) GetID

func (s *QuestionV2Request) GetID() string

GetID returns the value of ID.

func (*QuestionV2Request) GetQuestions

func (s *QuestionV2Request) GetQuestions() []QuestionV2Info

GetQuestions returns the value of Questions.

func (*QuestionV2Request) GetSessionID

func (s *QuestionV2Request) GetSessionID() string

GetSessionID returns the value of SessionID.

func (*QuestionV2Request) GetTool

func (s *QuestionV2Request) GetTool() OptQuestionV2Tool

GetTool returns the value of Tool.

func (*QuestionV2Request) MarshalJSON

func (s *QuestionV2Request) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*QuestionV2Request) SetID

func (s *QuestionV2Request) SetID(val string)

SetID sets the value of ID.

func (*QuestionV2Request) SetQuestions

func (s *QuestionV2Request) SetQuestions(val []QuestionV2Info)

SetQuestions sets the value of Questions.

func (*QuestionV2Request) SetSessionID

func (s *QuestionV2Request) SetSessionID(val string)

SetSessionID sets the value of SessionID.

func (*QuestionV2Request) SetTool

func (s *QuestionV2Request) SetTool(val OptQuestionV2Tool)

SetTool sets the value of Tool.

func (*QuestionV2Request) UnmarshalJSON

func (s *QuestionV2Request) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*QuestionV2Request) Validate

func (s *QuestionV2Request) Validate() error

type QuestionV2Tool

type QuestionV2Tool struct {
	MessageID string `json:"messageID"`
	CallID    string `json:"callID"`
}

Ref: #/components/schemas/QuestionV2Tool

func (*QuestionV2Tool) Decode

func (s *QuestionV2Tool) Decode(d *jx.Decoder) error

Decode decodes QuestionV2Tool from json.

func (*QuestionV2Tool) Encode

func (s *QuestionV2Tool) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*QuestionV2Tool) GetCallID

func (s *QuestionV2Tool) GetCallID() string

GetCallID returns the value of CallID.

func (*QuestionV2Tool) GetMessageID

func (s *QuestionV2Tool) GetMessageID() string

GetMessageID returns the value of MessageID.

func (*QuestionV2Tool) MarshalJSON

func (s *QuestionV2Tool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*QuestionV2Tool) SetCallID

func (s *QuestionV2Tool) SetCallID(val string)

SetCallID sets the value of CallID.

func (*QuestionV2Tool) SetMessageID

func (s *QuestionV2Tool) SetMessageID(val string)

SetMessageID sets the value of MessageID.

func (*QuestionV2Tool) UnmarshalJSON

func (s *QuestionV2Tool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Range

type Range struct {
	Start RangeStart `json:"start"`
	End   RangeEnd   `json:"end"`
}

Ref: #/components/schemas/Range

func (*Range) Decode

func (s *Range) Decode(d *jx.Decoder) error

Decode decodes Range from json.

func (*Range) Encode

func (s *Range) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Range) GetEnd

func (s *Range) GetEnd() RangeEnd

GetEnd returns the value of End.

func (*Range) GetStart

func (s *Range) GetStart() RangeStart

GetStart returns the value of Start.

func (*Range) MarshalJSON

func (s *Range) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Range) SetEnd

func (s *Range) SetEnd(val RangeEnd)

SetEnd sets the value of End.

func (*Range) SetStart

func (s *Range) SetStart(val RangeStart)

SetStart sets the value of Start.

func (*Range) UnmarshalJSON

func (s *Range) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Range) Validate

func (s *Range) Validate() error

type RangeEnd

type RangeEnd struct {
	Line      int `json:"line"`
	Character int `json:"character"`
}

func (*RangeEnd) Decode

func (s *RangeEnd) Decode(d *jx.Decoder) error

Decode decodes RangeEnd from json.

func (*RangeEnd) Encode

func (s *RangeEnd) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RangeEnd) GetCharacter

func (s *RangeEnd) GetCharacter() int

GetCharacter returns the value of Character.

func (*RangeEnd) GetLine

func (s *RangeEnd) GetLine() int

GetLine returns the value of Line.

func (*RangeEnd) MarshalJSON

func (s *RangeEnd) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RangeEnd) SetCharacter

func (s *RangeEnd) SetCharacter(val int)

SetCharacter sets the value of Character.

func (*RangeEnd) SetLine

func (s *RangeEnd) SetLine(val int)

SetLine sets the value of Line.

func (*RangeEnd) UnmarshalJSON

func (s *RangeEnd) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RangeEnd) Validate

func (s *RangeEnd) Validate() error

type RangeStart

type RangeStart struct {
	Line      int `json:"line"`
	Character int `json:"character"`
}

func (*RangeStart) Decode

func (s *RangeStart) Decode(d *jx.Decoder) error

Decode decodes RangeStart from json.

func (*RangeStart) Encode

func (s *RangeStart) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RangeStart) GetCharacter

func (s *RangeStart) GetCharacter() int

GetCharacter returns the value of Character.

func (*RangeStart) GetLine

func (s *RangeStart) GetLine() int

GetLine returns the value of Line.

func (*RangeStart) MarshalJSON

func (s *RangeStart) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RangeStart) SetCharacter

func (s *RangeStart) SetCharacter(val int)

SetCharacter sets the value of Character.

func (*RangeStart) SetLine

func (s *RangeStart) SetLine(val int)

SetLine sets the value of Line.

func (*RangeStart) UnmarshalJSON

func (s *RangeStart) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RangeStart) Validate

func (s *RangeStart) Validate() error

type RequestEditor

type RequestEditor func(ctx context.Context, req *http.Request) error

RequestEditor is the function signature for the RequestEditor callback function

type RequestOption

type RequestOption func(cfg *requestConfig)

RequestOption defines options for request.

func WithEditRequest

func WithEditRequest(fn func(req *http.Request) error) RequestOption

WithEditRequest sets function to edit request.

func WithEditResponse

func WithEditResponse(fn func(resp *http.Response) error) RequestOption

WithEditResponse sets function to edit response.

func WithRequestClient

func WithRequestClient(client ht.Client) RequestOption

WithRequestClient sets client for request.

func WithServerURL

func WithServerURL(u *url.URL) RequestOption

WithServerURL sets client for request.

type ResponseEditor

type ResponseEditor func(ctx context.Context, resp *http.Response) error

ResponseEditor is the function signature for the ResponseEditor callback function

type RevertState

type RevertState struct {
	MessageID string     `json:"messageID"`
	PartID    OptString  `json:"partID"`
	Snapshot  OptString  `json:"snapshot"`
	Diff      OptString  `json:"diff"`
	Files     []FileDiff `json:"files"`
}

Ref: #/components/schemas/RevertState

func (*RevertState) Decode

func (s *RevertState) Decode(d *jx.Decoder) error

Decode decodes RevertState from json.

func (*RevertState) Encode

func (s *RevertState) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RevertState) GetDiff

func (s *RevertState) GetDiff() OptString

GetDiff returns the value of Diff.

func (*RevertState) GetFiles

func (s *RevertState) GetFiles() []FileDiff

GetFiles returns the value of Files.

func (*RevertState) GetMessageID

func (s *RevertState) GetMessageID() string

GetMessageID returns the value of MessageID.

func (*RevertState) GetPartID

func (s *RevertState) GetPartID() OptString

GetPartID returns the value of PartID.

func (*RevertState) GetSnapshot

func (s *RevertState) GetSnapshot() OptString

GetSnapshot returns the value of Snapshot.

func (*RevertState) MarshalJSON

func (s *RevertState) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RevertState) SetDiff

func (s *RevertState) SetDiff(val OptString)

SetDiff sets the value of Diff.

func (*RevertState) SetFiles

func (s *RevertState) SetFiles(val []FileDiff)

SetFiles sets the value of Files.

func (*RevertState) SetMessageID

func (s *RevertState) SetMessageID(val string)

SetMessageID sets the value of MessageID.

func (*RevertState) SetPartID

func (s *RevertState) SetPartID(val OptString)

SetPartID sets the value of PartID.

func (*RevertState) SetSnapshot

func (s *RevertState) SetSnapshot(val OptString)

SetSnapshot sets the value of Snapshot.

func (*RevertState) UnmarshalJSON

func (s *RevertState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RevertState) Validate

func (s *RevertState) Validate() error

type Session

type Session struct {
	ID          string            `json:"id"`
	Slug        string            `json:"slug"`
	ProjectID   string            `json:"projectID"`
	WorkspaceID OptString         `json:"workspaceID"`
	Directory   string            `json:"directory"`
	Path        OptString         `json:"path"`
	ParentID    OptString         `json:"parentID"`
	Summary     OptSessionSummary `json:"summary"`
	Cost        OptFloat64        `json:"cost"`
	Tokens      OptSessionTokens  `json:"tokens"`
	Share       OptSessionShare   `json:"share"`
	Title       string            `json:"title"`
	Agent       OptString         `json:"agent"`
	Model       OptSessionModel   `json:"model"`
	Version     string            `json:"version"`
	Metadata    *SessionMetadata  `json:"metadata"`
	Time        SessionTime       `json:"time"`
	Permission  PermissionRuleset `json:"permission"`
	Revert      OptSessionRevert  `json:"revert"`
}

Ref: #/components/schemas/Session

func (*Session) Decode

func (s *Session) Decode(d *jx.Decoder) error

Decode decodes Session from json.

func (*Session) Encode

func (s *Session) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Session) GetAgent

func (s *Session) GetAgent() OptString

GetAgent returns the value of Agent.

func (*Session) GetCost

func (s *Session) GetCost() OptFloat64

GetCost returns the value of Cost.

func (*Session) GetDirectory

func (s *Session) GetDirectory() string

GetDirectory returns the value of Directory.

func (*Session) GetID

func (s *Session) GetID() string

GetID returns the value of ID.

func (*Session) GetMetadata

func (s *Session) GetMetadata() *SessionMetadata

GetMetadata returns the value of Metadata.

func (*Session) GetModel

func (s *Session) GetModel() OptSessionModel

GetModel returns the value of Model.

func (*Session) GetParentID

func (s *Session) GetParentID() OptString

GetParentID returns the value of ParentID.

func (*Session) GetPath

func (s *Session) GetPath() OptString

GetPath returns the value of Path.

func (*Session) GetPermission

func (s *Session) GetPermission() PermissionRuleset

GetPermission returns the value of Permission.

func (*Session) GetProjectID

func (s *Session) GetProjectID() string

GetProjectID returns the value of ProjectID.

func (*Session) GetRevert

func (s *Session) GetRevert() OptSessionRevert

GetRevert returns the value of Revert.

func (*Session) GetShare

func (s *Session) GetShare() OptSessionShare

GetShare returns the value of Share.

func (*Session) GetSlug

func (s *Session) GetSlug() string

GetSlug returns the value of Slug.

func (*Session) GetSummary

func (s *Session) GetSummary() OptSessionSummary

GetSummary returns the value of Summary.

func (*Session) GetTime

func (s *Session) GetTime() SessionTime

GetTime returns the value of Time.

func (*Session) GetTitle

func (s *Session) GetTitle() string

GetTitle returns the value of Title.

func (*Session) GetTokens

func (s *Session) GetTokens() OptSessionTokens

GetTokens returns the value of Tokens.

func (*Session) GetVersion

func (s *Session) GetVersion() string

GetVersion returns the value of Version.

func (*Session) GetWorkspaceID

func (s *Session) GetWorkspaceID() OptString

GetWorkspaceID returns the value of WorkspaceID.

func (*Session) MarshalJSON

func (s *Session) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Session) SetAgent

func (s *Session) SetAgent(val OptString)

SetAgent sets the value of Agent.

func (*Session) SetCost

func (s *Session) SetCost(val OptFloat64)

SetCost sets the value of Cost.

func (*Session) SetDirectory

func (s *Session) SetDirectory(val string)

SetDirectory sets the value of Directory.

func (*Session) SetID

func (s *Session) SetID(val string)

SetID sets the value of ID.

func (*Session) SetMetadata

func (s *Session) SetMetadata(val *SessionMetadata)

SetMetadata sets the value of Metadata.

func (*Session) SetModel

func (s *Session) SetModel(val OptSessionModel)

SetModel sets the value of Model.

func (*Session) SetParentID

func (s *Session) SetParentID(val OptString)

SetParentID sets the value of ParentID.

func (*Session) SetPath

func (s *Session) SetPath(val OptString)

SetPath sets the value of Path.

func (*Session) SetPermission

func (s *Session) SetPermission(val PermissionRuleset)

SetPermission sets the value of Permission.

func (*Session) SetProjectID

func (s *Session) SetProjectID(val string)

SetProjectID sets the value of ProjectID.

func (*Session) SetRevert

func (s *Session) SetRevert(val OptSessionRevert)

SetRevert sets the value of Revert.

func (*Session) SetShare

func (s *Session) SetShare(val OptSessionShare)

SetShare sets the value of Share.

func (*Session) SetSlug

func (s *Session) SetSlug(val string)

SetSlug sets the value of Slug.

func (*Session) SetSummary

func (s *Session) SetSummary(val OptSessionSummary)

SetSummary sets the value of Summary.

func (*Session) SetTime

func (s *Session) SetTime(val SessionTime)

SetTime sets the value of Time.

func (*Session) SetTitle

func (s *Session) SetTitle(val string)

SetTitle sets the value of Title.

func (*Session) SetTokens

func (s *Session) SetTokens(val OptSessionTokens)

SetTokens sets the value of Tokens.

func (*Session) SetVersion

func (s *Session) SetVersion(val string)

SetVersion sets the value of Version.

func (*Session) SetWorkspaceID

func (s *Session) SetWorkspaceID(val OptString)

SetWorkspaceID sets the value of WorkspaceID.

func (*Session) UnmarshalJSON

func (s *Session) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Session) Validate

func (s *Session) Validate() error

type SessionActive

type SessionActive struct {
	Type SessionActiveType `json:"type"`
}

Ref: #/components/schemas/SessionActive

func (*SessionActive) Decode

func (s *SessionActive) Decode(d *jx.Decoder) error

Decode decodes SessionActive from json.

func (*SessionActive) Encode

func (s *SessionActive) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionActive) GetType

func (s *SessionActive) GetType() SessionActiveType

GetType returns the value of Type.

func (*SessionActive) MarshalJSON

func (s *SessionActive) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionActive) SetType

func (s *SessionActive) SetType(val SessionActiveType)

SetType sets the value of Type.

func (*SessionActive) UnmarshalJSON

func (s *SessionActive) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionActive) Validate

func (s *SessionActive) Validate() error

type SessionActiveType

type SessionActiveType string
const (
	SessionActiveTypeRunning SessionActiveType = "running"
)

func (SessionActiveType) AllValues

func (SessionActiveType) AllValues() []SessionActiveType

AllValues returns all SessionActiveType values.

func (*SessionActiveType) Decode

func (s *SessionActiveType) Decode(d *jx.Decoder) error

Decode decodes SessionActiveType from json.

func (SessionActiveType) Encode

func (s SessionActiveType) Encode(e *jx.Encoder)

Encode encodes SessionActiveType as json.

func (SessionActiveType) MarshalJSON

func (s SessionActiveType) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SessionActiveType) MarshalText

func (s SessionActiveType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SessionActiveType) UnmarshalJSON

func (s *SessionActiveType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionActiveType) UnmarshalText

func (s *SessionActiveType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SessionActiveType) Validate

func (s SessionActiveType) Validate() error

type SessionDiffOKApplicationJSON

type SessionDiffOKApplicationJSON []SnapshotFileDiff

func (*SessionDiffOKApplicationJSON) Decode

Decode decodes SessionDiffOKApplicationJSON from json.

func (SessionDiffOKApplicationJSON) Encode

Encode encodes SessionDiffOKApplicationJSON as json.

func (SessionDiffOKApplicationJSON) MarshalJSON

func (s SessionDiffOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionDiffOKApplicationJSON) UnmarshalJSON

func (s *SessionDiffOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (SessionDiffOKApplicationJSON) Validate

func (s SessionDiffOKApplicationJSON) Validate() error

type SessionDiffParams

type SessionDiffParams struct {
	SessionID string
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
	MessageID OptString `json:",omitempty,omitzero"`
}

SessionDiffParams is parameters of session.diff operation.

type SessionDiffRes

type SessionDiffRes interface {
	// contains filtered or unexported methods
}

type SessionListOKApplicationJSON

type SessionListOKApplicationJSON []Session

func (*SessionListOKApplicationJSON) Decode

Decode decodes SessionListOKApplicationJSON from json.

func (SessionListOKApplicationJSON) Encode

Encode encodes SessionListOKApplicationJSON as json.

func (SessionListOKApplicationJSON) MarshalJSON

func (s SessionListOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionListOKApplicationJSON) UnmarshalJSON

func (s *SessionListOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (SessionListOKApplicationJSON) Validate

func (s SessionListOKApplicationJSON) Validate() error

type SessionListParams

type SessionListParams struct {
	Directory OptString           `json:",omitempty,omitzero"`
	Workspace OptString           `json:",omitempty,omitzero"`
	Scope     OptSessionListScope `json:",omitempty,omitzero"`
	Path      OptString           `json:",omitempty,omitzero"`
	Roots     OptSessionListRoots `json:",omitempty,omitzero"`
	Start     OptFloat64          `json:",omitempty,omitzero"`
	Search    OptString           `json:",omitempty,omitzero"`
	Limit     OptFloat64          `json:",omitempty,omitzero"`
}

SessionListParams is parameters of session.list operation.

type SessionListRes

type SessionListRes interface {
	// contains filtered or unexported methods
}

type SessionListRoots

type SessionListRoots struct {
	// Type selects the active sum variant, switch on this field.
	Type              SessionListRootsType
	Bool              bool
	SessionListRoots1 SessionListRoots1
}

SessionListRoots represents sum type.

func NewBoolSessionListRoots

func NewBoolSessionListRoots(v bool) SessionListRoots

NewBoolSessionListRoots returns new SessionListRoots from bool.

func NewSessionListRoots1SessionListRoots

func NewSessionListRoots1SessionListRoots(v SessionListRoots1) SessionListRoots

NewSessionListRoots1SessionListRoots returns new SessionListRoots from SessionListRoots1.

func (SessionListRoots) GetBool

func (s SessionListRoots) GetBool() (v bool, ok bool)

GetBool returns bool and true boolean if SessionListRoots is bool.

func (SessionListRoots) GetSessionListRoots1

func (s SessionListRoots) GetSessionListRoots1() (v SessionListRoots1, ok bool)

GetSessionListRoots1 returns SessionListRoots1 and true boolean if SessionListRoots is SessionListRoots1.

func (SessionListRoots) IsBool

func (s SessionListRoots) IsBool() bool

IsBool reports whether SessionListRoots is bool.

func (SessionListRoots) IsSessionListRoots1

func (s SessionListRoots) IsSessionListRoots1() bool

IsSessionListRoots1 reports whether SessionListRoots is SessionListRoots1.

func (*SessionListRoots) SetBool

func (s *SessionListRoots) SetBool(v bool)

SetBool sets SessionListRoots to bool.

func (*SessionListRoots) SetSessionListRoots1

func (s *SessionListRoots) SetSessionListRoots1(v SessionListRoots1)

SetSessionListRoots1 sets SessionListRoots to SessionListRoots1.

func (SessionListRoots) Validate

func (s SessionListRoots) Validate() error

type SessionListRoots1

type SessionListRoots1 string
const (
	SessionListRoots1True  SessionListRoots1 = "true"
	SessionListRoots1False SessionListRoots1 = "false"
)

func (SessionListRoots1) AllValues

func (SessionListRoots1) AllValues() []SessionListRoots1

AllValues returns all SessionListRoots1 values.

func (SessionListRoots1) MarshalText

func (s SessionListRoots1) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SessionListRoots1) UnmarshalText

func (s *SessionListRoots1) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SessionListRoots1) Validate

func (s SessionListRoots1) Validate() error

type SessionListRootsType

type SessionListRootsType string

SessionListRootsType is oneOf type of SessionListRoots.

const (
	BoolSessionListRoots              SessionListRootsType = "bool"
	SessionListRoots1SessionListRoots SessionListRootsType = "SessionListRoots1"
)

Possible values for SessionListRootsType.

type SessionListScope

type SessionListScope string
const (
	SessionListScopeProject SessionListScope = "project"
)

func (SessionListScope) AllValues

func (SessionListScope) AllValues() []SessionListScope

AllValues returns all SessionListScope values.

func (SessionListScope) MarshalText

func (s SessionListScope) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SessionListScope) UnmarshalText

func (s *SessionListScope) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SessionListScope) Validate

func (s SessionListScope) Validate() error

type SessionMetadata

type SessionMetadata struct{}

func (*SessionMetadata) Decode

func (s *SessionMetadata) Decode(d *jx.Decoder) error

Decode decodes SessionMetadata from json.

func (*SessionMetadata) Encode

func (s *SessionMetadata) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionMetadata) MarshalJSON

func (s *SessionMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionMetadata) UnmarshalJSON

func (s *SessionMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SessionModel

type SessionModel struct {
	ID         string    `json:"id"`
	ProviderID string    `json:"providerID"`
	Variant    OptString `json:"variant"`
}

func (*SessionModel) Decode

func (s *SessionModel) Decode(d *jx.Decoder) error

Decode decodes SessionModel from json.

func (*SessionModel) Encode

func (s *SessionModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionModel) GetID

func (s *SessionModel) GetID() string

GetID returns the value of ID.

func (*SessionModel) GetProviderID

func (s *SessionModel) GetProviderID() string

GetProviderID returns the value of ProviderID.

func (*SessionModel) GetVariant

func (s *SessionModel) GetVariant() OptString

GetVariant returns the value of Variant.

func (*SessionModel) MarshalJSON

func (s *SessionModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionModel) SetID

func (s *SessionModel) SetID(val string)

SetID sets the value of ID.

func (*SessionModel) SetProviderID

func (s *SessionModel) SetProviderID(val string)

SetProviderID sets the value of ProviderID.

func (*SessionModel) SetVariant

func (s *SessionModel) SetVariant(val OptString)

SetVariant sets the value of Variant.

func (*SessionModel) UnmarshalJSON

func (s *SessionModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SessionRevert

type SessionRevert struct {
	MessageID string    `json:"messageID"`
	PartID    OptString `json:"partID"`
	Snapshot  OptString `json:"snapshot"`
	Diff      OptString `json:"diff"`
}

func (*SessionRevert) Decode

func (s *SessionRevert) Decode(d *jx.Decoder) error

Decode decodes SessionRevert from json.

func (*SessionRevert) Encode

func (s *SessionRevert) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionRevert) GetDiff

func (s *SessionRevert) GetDiff() OptString

GetDiff returns the value of Diff.

func (*SessionRevert) GetMessageID

func (s *SessionRevert) GetMessageID() string

GetMessageID returns the value of MessageID.

func (*SessionRevert) GetPartID

func (s *SessionRevert) GetPartID() OptString

GetPartID returns the value of PartID.

func (*SessionRevert) GetSnapshot

func (s *SessionRevert) GetSnapshot() OptString

GetSnapshot returns the value of Snapshot.

func (*SessionRevert) MarshalJSON

func (s *SessionRevert) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionRevert) SetDiff

func (s *SessionRevert) SetDiff(val OptString)

SetDiff sets the value of Diff.

func (*SessionRevert) SetMessageID

func (s *SessionRevert) SetMessageID(val string)

SetMessageID sets the value of MessageID.

func (*SessionRevert) SetPartID

func (s *SessionRevert) SetPartID(val OptString)

SetPartID sets the value of PartID.

func (*SessionRevert) SetSnapshot

func (s *SessionRevert) SetSnapshot(val OptString)

SetSnapshot sets the value of Snapshot.

func (*SessionRevert) UnmarshalJSON

func (s *SessionRevert) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionRevert) Validate

func (s *SessionRevert) Validate() error

type SessionShare

type SessionShare struct {
	URL string `json:"url"`
}

func (*SessionShare) Decode

func (s *SessionShare) Decode(d *jx.Decoder) error

Decode decodes SessionShare from json.

func (*SessionShare) Encode

func (s *SessionShare) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionShare) GetURL

func (s *SessionShare) GetURL() string

GetURL returns the value of URL.

func (*SessionShare) MarshalJSON

func (s *SessionShare) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionShare) SetURL

func (s *SessionShare) SetURL(val string)

SetURL sets the value of URL.

func (*SessionShare) UnmarshalJSON

func (s *SessionShare) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SessionShareParams

type SessionShareParams struct {
	SessionID string
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

SessionShareParams is parameters of session.share operation.

type SessionShareRes

type SessionShareRes interface {
	// contains filtered or unexported methods
}

type SessionSummary

type SessionSummary struct {
	Additions float64            `json:"additions"`
	Deletions float64            `json:"deletions"`
	Files     float64            `json:"files"`
	Diffs     []SnapshotFileDiff `json:"diffs"`
}

func (*SessionSummary) Decode

func (s *SessionSummary) Decode(d *jx.Decoder) error

Decode decodes SessionSummary from json.

func (*SessionSummary) Encode

func (s *SessionSummary) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionSummary) GetAdditions

func (s *SessionSummary) GetAdditions() float64

GetAdditions returns the value of Additions.

func (*SessionSummary) GetDeletions

func (s *SessionSummary) GetDeletions() float64

GetDeletions returns the value of Deletions.

func (*SessionSummary) GetDiffs

func (s *SessionSummary) GetDiffs() []SnapshotFileDiff

GetDiffs returns the value of Diffs.

func (*SessionSummary) GetFiles

func (s *SessionSummary) GetFiles() float64

GetFiles returns the value of Files.

func (*SessionSummary) MarshalJSON

func (s *SessionSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionSummary) SetAdditions

func (s *SessionSummary) SetAdditions(val float64)

SetAdditions sets the value of Additions.

func (*SessionSummary) SetDeletions

func (s *SessionSummary) SetDeletions(val float64)

SetDeletions sets the value of Deletions.

func (*SessionSummary) SetDiffs

func (s *SessionSummary) SetDiffs(val []SnapshotFileDiff)

SetDiffs sets the value of Diffs.

func (*SessionSummary) SetFiles

func (s *SessionSummary) SetFiles(val float64)

SetFiles sets the value of Files.

func (*SessionSummary) UnmarshalJSON

func (s *SessionSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionSummary) Validate

func (s *SessionSummary) Validate() error

type SessionTime

type SessionTime struct {
	Created    int        `json:"created"`
	Updated    int        `json:"updated"`
	Compacting OptInt     `json:"compacting"`
	Archived   OptFloat64 `json:"archived"`
}

func (*SessionTime) Decode

func (s *SessionTime) Decode(d *jx.Decoder) error

Decode decodes SessionTime from json.

func (*SessionTime) Encode

func (s *SessionTime) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionTime) GetArchived

func (s *SessionTime) GetArchived() OptFloat64

GetArchived returns the value of Archived.

func (*SessionTime) GetCompacting

func (s *SessionTime) GetCompacting() OptInt

GetCompacting returns the value of Compacting.

func (*SessionTime) GetCreated

func (s *SessionTime) GetCreated() int

GetCreated returns the value of Created.

func (*SessionTime) GetUpdated

func (s *SessionTime) GetUpdated() int

GetUpdated returns the value of Updated.

func (*SessionTime) MarshalJSON

func (s *SessionTime) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionTime) SetArchived

func (s *SessionTime) SetArchived(val OptFloat64)

SetArchived sets the value of Archived.

func (*SessionTime) SetCompacting

func (s *SessionTime) SetCompacting(val OptInt)

SetCompacting sets the value of Compacting.

func (*SessionTime) SetCreated

func (s *SessionTime) SetCreated(val int)

SetCreated sets the value of Created.

func (*SessionTime) SetUpdated

func (s *SessionTime) SetUpdated(val int)

SetUpdated sets the value of Updated.

func (*SessionTime) UnmarshalJSON

func (s *SessionTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionTime) Validate

func (s *SessionTime) Validate() error

type SessionTokens

type SessionTokens struct {
	Input     float64            `json:"input"`
	Output    float64            `json:"output"`
	Reasoning float64            `json:"reasoning"`
	Cache     SessionTokensCache `json:"cache"`
}

func (*SessionTokens) Decode

func (s *SessionTokens) Decode(d *jx.Decoder) error

Decode decodes SessionTokens from json.

func (*SessionTokens) Encode

func (s *SessionTokens) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionTokens) GetCache

func (s *SessionTokens) GetCache() SessionTokensCache

GetCache returns the value of Cache.

func (*SessionTokens) GetInput

func (s *SessionTokens) GetInput() float64

GetInput returns the value of Input.

func (*SessionTokens) GetOutput

func (s *SessionTokens) GetOutput() float64

GetOutput returns the value of Output.

func (*SessionTokens) GetReasoning

func (s *SessionTokens) GetReasoning() float64

GetReasoning returns the value of Reasoning.

func (*SessionTokens) MarshalJSON

func (s *SessionTokens) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionTokens) SetCache

func (s *SessionTokens) SetCache(val SessionTokensCache)

SetCache sets the value of Cache.

func (*SessionTokens) SetInput

func (s *SessionTokens) SetInput(val float64)

SetInput sets the value of Input.

func (*SessionTokens) SetOutput

func (s *SessionTokens) SetOutput(val float64)

SetOutput sets the value of Output.

func (*SessionTokens) SetReasoning

func (s *SessionTokens) SetReasoning(val float64)

SetReasoning sets the value of Reasoning.

func (*SessionTokens) UnmarshalJSON

func (s *SessionTokens) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionTokens) Validate

func (s *SessionTokens) Validate() error

type SessionTokensCache

type SessionTokensCache struct {
	Read  float64 `json:"read"`
	Write float64 `json:"write"`
}

func (*SessionTokensCache) Decode

func (s *SessionTokensCache) Decode(d *jx.Decoder) error

Decode decodes SessionTokensCache from json.

func (*SessionTokensCache) Encode

func (s *SessionTokensCache) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionTokensCache) GetRead

func (s *SessionTokensCache) GetRead() float64

GetRead returns the value of Read.

func (*SessionTokensCache) GetWrite

func (s *SessionTokensCache) GetWrite() float64

GetWrite returns the value of Write.

func (*SessionTokensCache) MarshalJSON

func (s *SessionTokensCache) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionTokensCache) SetRead

func (s *SessionTokensCache) SetRead(val float64)

SetRead sets the value of Read.

func (*SessionTokensCache) SetWrite

func (s *SessionTokensCache) SetWrite(val float64)

SetWrite sets the value of Write.

func (*SessionTokensCache) UnmarshalJSON

func (s *SessionTokensCache) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionTokensCache) Validate

func (s *SessionTokensCache) Validate() error

type SessionUnshareParams

type SessionUnshareParams struct {
	SessionID string
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

SessionUnshareParams is parameters of session.unshare operation.

type SessionUnshareRes

type SessionUnshareRes interface {
	// contains filtered or unexported methods
}

type SessionV2Info

type SessionV2Info struct {
	ID        string              `json:"id"`
	ParentID  OptString           `json:"parentID"`
	ProjectID string              `json:"projectID"`
	Agent     OptString           `json:"agent"`
	Model     OptModelRef         `json:"model"`
	Cost      float64             `json:"cost"`
	Tokens    SessionV2InfoTokens `json:"tokens"`
	Time      SessionV2InfoTime   `json:"time"`
	Title     string              `json:"title"`
	Location  LocationRef         `json:"location"`
	Subpath   OptString           `json:"subpath"`
	Revert    OptRevertState      `json:"revert"`
}

Ref: #/components/schemas/SessionV2Info

func (*SessionV2Info) Decode

func (s *SessionV2Info) Decode(d *jx.Decoder) error

Decode decodes SessionV2Info from json.

func (*SessionV2Info) Encode

func (s *SessionV2Info) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionV2Info) GetAgent

func (s *SessionV2Info) GetAgent() OptString

GetAgent returns the value of Agent.

func (*SessionV2Info) GetCost

func (s *SessionV2Info) GetCost() float64

GetCost returns the value of Cost.

func (*SessionV2Info) GetID

func (s *SessionV2Info) GetID() string

GetID returns the value of ID.

func (*SessionV2Info) GetLocation

func (s *SessionV2Info) GetLocation() LocationRef

GetLocation returns the value of Location.

func (*SessionV2Info) GetModel

func (s *SessionV2Info) GetModel() OptModelRef

GetModel returns the value of Model.

func (*SessionV2Info) GetParentID

func (s *SessionV2Info) GetParentID() OptString

GetParentID returns the value of ParentID.

func (*SessionV2Info) GetProjectID

func (s *SessionV2Info) GetProjectID() string

GetProjectID returns the value of ProjectID.

func (*SessionV2Info) GetRevert

func (s *SessionV2Info) GetRevert() OptRevertState

GetRevert returns the value of Revert.

func (*SessionV2Info) GetSubpath

func (s *SessionV2Info) GetSubpath() OptString

GetSubpath returns the value of Subpath.

func (*SessionV2Info) GetTime

func (s *SessionV2Info) GetTime() SessionV2InfoTime

GetTime returns the value of Time.

func (*SessionV2Info) GetTitle

func (s *SessionV2Info) GetTitle() string

GetTitle returns the value of Title.

func (*SessionV2Info) GetTokens

func (s *SessionV2Info) GetTokens() SessionV2InfoTokens

GetTokens returns the value of Tokens.

func (*SessionV2Info) MarshalJSON

func (s *SessionV2Info) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionV2Info) SetAgent

func (s *SessionV2Info) SetAgent(val OptString)

SetAgent sets the value of Agent.

func (*SessionV2Info) SetCost

func (s *SessionV2Info) SetCost(val float64)

SetCost sets the value of Cost.

func (*SessionV2Info) SetID

func (s *SessionV2Info) SetID(val string)

SetID sets the value of ID.

func (*SessionV2Info) SetLocation

func (s *SessionV2Info) SetLocation(val LocationRef)

SetLocation sets the value of Location.

func (*SessionV2Info) SetModel

func (s *SessionV2Info) SetModel(val OptModelRef)

SetModel sets the value of Model.

func (*SessionV2Info) SetParentID

func (s *SessionV2Info) SetParentID(val OptString)

SetParentID sets the value of ParentID.

func (*SessionV2Info) SetProjectID

func (s *SessionV2Info) SetProjectID(val string)

SetProjectID sets the value of ProjectID.

func (*SessionV2Info) SetRevert

func (s *SessionV2Info) SetRevert(val OptRevertState)

SetRevert sets the value of Revert.

func (*SessionV2Info) SetSubpath

func (s *SessionV2Info) SetSubpath(val OptString)

SetSubpath sets the value of Subpath.

func (*SessionV2Info) SetTime

func (s *SessionV2Info) SetTime(val SessionV2InfoTime)

SetTime sets the value of Time.

func (*SessionV2Info) SetTitle

func (s *SessionV2Info) SetTitle(val string)

SetTitle sets the value of Title.

func (*SessionV2Info) SetTokens

func (s *SessionV2Info) SetTokens(val SessionV2InfoTokens)

SetTokens sets the value of Tokens.

func (*SessionV2Info) UnmarshalJSON

func (s *SessionV2Info) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionV2Info) Validate

func (s *SessionV2Info) Validate() error

type SessionV2InfoTime

type SessionV2InfoTime struct {
	Created  float64    `json:"created"`
	Updated  float64    `json:"updated"`
	Archived OptFloat64 `json:"archived"`
}

func (*SessionV2InfoTime) Decode

func (s *SessionV2InfoTime) Decode(d *jx.Decoder) error

Decode decodes SessionV2InfoTime from json.

func (*SessionV2InfoTime) Encode

func (s *SessionV2InfoTime) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionV2InfoTime) GetArchived

func (s *SessionV2InfoTime) GetArchived() OptFloat64

GetArchived returns the value of Archived.

func (*SessionV2InfoTime) GetCreated

func (s *SessionV2InfoTime) GetCreated() float64

GetCreated returns the value of Created.

func (*SessionV2InfoTime) GetUpdated

func (s *SessionV2InfoTime) GetUpdated() float64

GetUpdated returns the value of Updated.

func (*SessionV2InfoTime) MarshalJSON

func (s *SessionV2InfoTime) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionV2InfoTime) SetArchived

func (s *SessionV2InfoTime) SetArchived(val OptFloat64)

SetArchived sets the value of Archived.

func (*SessionV2InfoTime) SetCreated

func (s *SessionV2InfoTime) SetCreated(val float64)

SetCreated sets the value of Created.

func (*SessionV2InfoTime) SetUpdated

func (s *SessionV2InfoTime) SetUpdated(val float64)

SetUpdated sets the value of Updated.

func (*SessionV2InfoTime) UnmarshalJSON

func (s *SessionV2InfoTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionV2InfoTime) Validate

func (s *SessionV2InfoTime) Validate() error

type SessionV2InfoTokens

type SessionV2InfoTokens struct {
	Input     float64                  `json:"input"`
	Output    float64                  `json:"output"`
	Reasoning float64                  `json:"reasoning"`
	Cache     SessionV2InfoTokensCache `json:"cache"`
}

func (*SessionV2InfoTokens) Decode

func (s *SessionV2InfoTokens) Decode(d *jx.Decoder) error

Decode decodes SessionV2InfoTokens from json.

func (*SessionV2InfoTokens) Encode

func (s *SessionV2InfoTokens) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionV2InfoTokens) GetCache

GetCache returns the value of Cache.

func (*SessionV2InfoTokens) GetInput

func (s *SessionV2InfoTokens) GetInput() float64

GetInput returns the value of Input.

func (*SessionV2InfoTokens) GetOutput

func (s *SessionV2InfoTokens) GetOutput() float64

GetOutput returns the value of Output.

func (*SessionV2InfoTokens) GetReasoning

func (s *SessionV2InfoTokens) GetReasoning() float64

GetReasoning returns the value of Reasoning.

func (*SessionV2InfoTokens) MarshalJSON

func (s *SessionV2InfoTokens) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionV2InfoTokens) SetCache

SetCache sets the value of Cache.

func (*SessionV2InfoTokens) SetInput

func (s *SessionV2InfoTokens) SetInput(val float64)

SetInput sets the value of Input.

func (*SessionV2InfoTokens) SetOutput

func (s *SessionV2InfoTokens) SetOutput(val float64)

SetOutput sets the value of Output.

func (*SessionV2InfoTokens) SetReasoning

func (s *SessionV2InfoTokens) SetReasoning(val float64)

SetReasoning sets the value of Reasoning.

func (*SessionV2InfoTokens) UnmarshalJSON

func (s *SessionV2InfoTokens) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionV2InfoTokens) Validate

func (s *SessionV2InfoTokens) Validate() error

type SessionV2InfoTokensCache

type SessionV2InfoTokensCache struct {
	Read  float64 `json:"read"`
	Write float64 `json:"write"`
}

func (*SessionV2InfoTokensCache) Decode

func (s *SessionV2InfoTokensCache) Decode(d *jx.Decoder) error

Decode decodes SessionV2InfoTokensCache from json.

func (*SessionV2InfoTokensCache) Encode

func (s *SessionV2InfoTokensCache) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SessionV2InfoTokensCache) GetRead

func (s *SessionV2InfoTokensCache) GetRead() float64

GetRead returns the value of Read.

func (*SessionV2InfoTokensCache) GetWrite

func (s *SessionV2InfoTokensCache) GetWrite() float64

GetWrite returns the value of Write.

func (*SessionV2InfoTokensCache) MarshalJSON

func (s *SessionV2InfoTokensCache) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SessionV2InfoTokensCache) SetRead

func (s *SessionV2InfoTokensCache) SetRead(val float64)

SetRead sets the value of Read.

func (*SessionV2InfoTokensCache) SetWrite

func (s *SessionV2InfoTokensCache) SetWrite(val float64)

SetWrite sets the value of Write.

func (*SessionV2InfoTokensCache) UnmarshalJSON

func (s *SessionV2InfoTokensCache) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SessionV2InfoTokensCache) Validate

func (s *SessionV2InfoTokensCache) Validate() error

type SkillV2Info

type SkillV2Info struct {
	Name        string    `json:"name"`
	Description OptString `json:"description"`
	Slash       OptBool   `json:"slash"`
	Location    string    `json:"location"`
	Content     string    `json:"content"`
}

Ref: #/components/schemas/SkillV2Info

func (*SkillV2Info) Decode

func (s *SkillV2Info) Decode(d *jx.Decoder) error

Decode decodes SkillV2Info from json.

func (*SkillV2Info) Encode

func (s *SkillV2Info) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SkillV2Info) GetContent

func (s *SkillV2Info) GetContent() string

GetContent returns the value of Content.

func (*SkillV2Info) GetDescription

func (s *SkillV2Info) GetDescription() OptString

GetDescription returns the value of Description.

func (*SkillV2Info) GetLocation

func (s *SkillV2Info) GetLocation() string

GetLocation returns the value of Location.

func (*SkillV2Info) GetName

func (s *SkillV2Info) GetName() string

GetName returns the value of Name.

func (*SkillV2Info) GetSlash

func (s *SkillV2Info) GetSlash() OptBool

GetSlash returns the value of Slash.

func (*SkillV2Info) MarshalJSON

func (s *SkillV2Info) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SkillV2Info) SetContent

func (s *SkillV2Info) SetContent(val string)

SetContent sets the value of Content.

func (*SkillV2Info) SetDescription

func (s *SkillV2Info) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*SkillV2Info) SetLocation

func (s *SkillV2Info) SetLocation(val string)

SetLocation sets the value of Location.

func (*SkillV2Info) SetName

func (s *SkillV2Info) SetName(val string)

SetName sets the value of Name.

func (*SkillV2Info) SetSlash

func (s *SkillV2Info) SetSlash(val OptBool)

SetSlash sets the value of Slash.

func (*SkillV2Info) UnmarshalJSON

func (s *SkillV2Info) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SnapshotFileDiff

type SnapshotFileDiff struct {
	File      OptString                 `json:"file"`
	Patch     OptString                 `json:"patch"`
	Additions float64                   `json:"additions"`
	Deletions float64                   `json:"deletions"`
	Status    OptSnapshotFileDiffStatus `json:"status"`
}

Ref: #/components/schemas/SnapshotFileDiff

func (*SnapshotFileDiff) Decode

func (s *SnapshotFileDiff) Decode(d *jx.Decoder) error

Decode decodes SnapshotFileDiff from json.

func (*SnapshotFileDiff) Encode

func (s *SnapshotFileDiff) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SnapshotFileDiff) GetAdditions

func (s *SnapshotFileDiff) GetAdditions() float64

GetAdditions returns the value of Additions.

func (*SnapshotFileDiff) GetDeletions

func (s *SnapshotFileDiff) GetDeletions() float64

GetDeletions returns the value of Deletions.

func (*SnapshotFileDiff) GetFile

func (s *SnapshotFileDiff) GetFile() OptString

GetFile returns the value of File.

func (*SnapshotFileDiff) GetPatch

func (s *SnapshotFileDiff) GetPatch() OptString

GetPatch returns the value of Patch.

func (*SnapshotFileDiff) GetStatus

GetStatus returns the value of Status.

func (*SnapshotFileDiff) MarshalJSON

func (s *SnapshotFileDiff) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SnapshotFileDiff) SetAdditions

func (s *SnapshotFileDiff) SetAdditions(val float64)

SetAdditions sets the value of Additions.

func (*SnapshotFileDiff) SetDeletions

func (s *SnapshotFileDiff) SetDeletions(val float64)

SetDeletions sets the value of Deletions.

func (*SnapshotFileDiff) SetFile

func (s *SnapshotFileDiff) SetFile(val OptString)

SetFile sets the value of File.

func (*SnapshotFileDiff) SetPatch

func (s *SnapshotFileDiff) SetPatch(val OptString)

SetPatch sets the value of Patch.

func (*SnapshotFileDiff) SetStatus

func (s *SnapshotFileDiff) SetStatus(val OptSnapshotFileDiffStatus)

SetStatus sets the value of Status.

func (*SnapshotFileDiff) UnmarshalJSON

func (s *SnapshotFileDiff) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SnapshotFileDiff) Validate

func (s *SnapshotFileDiff) Validate() error

type SnapshotFileDiffStatus

type SnapshotFileDiffStatus string
const (
	SnapshotFileDiffStatusAdded    SnapshotFileDiffStatus = "added"
	SnapshotFileDiffStatusDeleted  SnapshotFileDiffStatus = "deleted"
	SnapshotFileDiffStatusModified SnapshotFileDiffStatus = "modified"
)

func (SnapshotFileDiffStatus) AllValues

AllValues returns all SnapshotFileDiffStatus values.

func (*SnapshotFileDiffStatus) Decode

func (s *SnapshotFileDiffStatus) Decode(d *jx.Decoder) error

Decode decodes SnapshotFileDiffStatus from json.

func (SnapshotFileDiffStatus) Encode

func (s SnapshotFileDiffStatus) Encode(e *jx.Encoder)

Encode encodes SnapshotFileDiffStatus as json.

func (SnapshotFileDiffStatus) MarshalJSON

func (s SnapshotFileDiffStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SnapshotFileDiffStatus) MarshalText

func (s SnapshotFileDiffStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SnapshotFileDiffStatus) UnmarshalJSON

func (s *SnapshotFileDiffStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SnapshotFileDiffStatus) UnmarshalText

func (s *SnapshotFileDiffStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SnapshotFileDiffStatus) Validate

func (s SnapshotFileDiffStatus) Validate() error

type Symbol

type Symbol struct {
	Name     string         `json:"name"`
	Kind     int            `json:"kind"`
	Location SymbolLocation `json:"location"`
}

Ref: #/components/schemas/Symbol

func (*Symbol) Decode

func (s *Symbol) Decode(d *jx.Decoder) error

Decode decodes Symbol from json.

func (*Symbol) Encode

func (s *Symbol) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Symbol) GetKind

func (s *Symbol) GetKind() int

GetKind returns the value of Kind.

func (*Symbol) GetLocation

func (s *Symbol) GetLocation() SymbolLocation

GetLocation returns the value of Location.

func (*Symbol) GetName

func (s *Symbol) GetName() string

GetName returns the value of Name.

func (*Symbol) MarshalJSON

func (s *Symbol) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Symbol) SetKind

func (s *Symbol) SetKind(val int)

SetKind sets the value of Kind.

func (*Symbol) SetLocation

func (s *Symbol) SetLocation(val SymbolLocation)

SetLocation sets the value of Location.

func (*Symbol) SetName

func (s *Symbol) SetName(val string)

SetName sets the value of Name.

func (*Symbol) UnmarshalJSON

func (s *Symbol) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Symbol) Validate

func (s *Symbol) Validate() error

type SymbolLocation

type SymbolLocation struct {
	URI   string `json:"uri"`
	Range Range  `json:"range"`
}

func (*SymbolLocation) Decode

func (s *SymbolLocation) Decode(d *jx.Decoder) error

Decode decodes SymbolLocation from json.

func (*SymbolLocation) Encode

func (s *SymbolLocation) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SymbolLocation) GetRange

func (s *SymbolLocation) GetRange() Range

GetRange returns the value of Range.

func (*SymbolLocation) GetURI

func (s *SymbolLocation) GetURI() string

GetURI returns the value of URI.

func (*SymbolLocation) MarshalJSON

func (s *SymbolLocation) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SymbolLocation) SetRange

func (s *SymbolLocation) SetRange(val Range)

SetRange sets the value of Range.

func (*SymbolLocation) SetURI

func (s *SymbolLocation) SetURI(val string)

SetURI sets the value of URI.

func (*SymbolLocation) UnmarshalJSON

func (s *SymbolLocation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SymbolLocation) Validate

func (s *SymbolLocation) Validate() error

type SyncStartOKApplicationJSON

type SyncStartOKApplicationJSON bool

func (*SyncStartOKApplicationJSON) Decode

Decode decodes SyncStartOKApplicationJSON from json.

func (SyncStartOKApplicationJSON) Encode

func (s SyncStartOKApplicationJSON) Encode(e *jx.Encoder)

Encode encodes SyncStartOKApplicationJSON as json.

func (SyncStartOKApplicationJSON) MarshalJSON

func (s SyncStartOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SyncStartOKApplicationJSON) UnmarshalJSON

func (s *SyncStartOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SyncStartParams

type SyncStartParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

SyncStartParams is parameters of sync.start operation.

type SyncStartRes

type SyncStartRes interface {
	// contains filtered or unexported methods
}

type TuiClearPromptOKApplicationJSON

type TuiClearPromptOKApplicationJSON bool

func (*TuiClearPromptOKApplicationJSON) Decode

Decode decodes TuiClearPromptOKApplicationJSON from json.

func (TuiClearPromptOKApplicationJSON) Encode

Encode encodes TuiClearPromptOKApplicationJSON as json.

func (TuiClearPromptOKApplicationJSON) MarshalJSON

func (s TuiClearPromptOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TuiClearPromptOKApplicationJSON) UnmarshalJSON

func (s *TuiClearPromptOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TuiClearPromptParams

type TuiClearPromptParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

TuiClearPromptParams is parameters of tui.clearPrompt operation.

type TuiClearPromptRes

type TuiClearPromptRes interface {
	// contains filtered or unexported methods
}

type TuiControlNextOK

type TuiControlNextOK struct {
	Path string `json:"path"`
	Body jx.Raw `json:"body"`
}

Next TUI request.

func (*TuiControlNextOK) Decode

func (s *TuiControlNextOK) Decode(d *jx.Decoder) error

Decode decodes TuiControlNextOK from json.

func (*TuiControlNextOK) Encode

func (s *TuiControlNextOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TuiControlNextOK) GetBody

func (s *TuiControlNextOK) GetBody() jx.Raw

GetBody returns the value of Body.

func (*TuiControlNextOK) GetPath

func (s *TuiControlNextOK) GetPath() string

GetPath returns the value of Path.

func (*TuiControlNextOK) MarshalJSON

func (s *TuiControlNextOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TuiControlNextOK) SetBody

func (s *TuiControlNextOK) SetBody(val jx.Raw)

SetBody sets the value of Body.

func (*TuiControlNextOK) SetPath

func (s *TuiControlNextOK) SetPath(val string)

SetPath sets the value of Path.

func (*TuiControlNextOK) UnmarshalJSON

func (s *TuiControlNextOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TuiControlNextParams

type TuiControlNextParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

TuiControlNextParams is parameters of tui.control.next operation.

type TuiControlNextRes

type TuiControlNextRes interface {
	// contains filtered or unexported methods
}

type TuiControlResponseOKApplicationJSON

type TuiControlResponseOKApplicationJSON bool

func (*TuiControlResponseOKApplicationJSON) Decode

Decode decodes TuiControlResponseOKApplicationJSON from json.

func (TuiControlResponseOKApplicationJSON) Encode

Encode encodes TuiControlResponseOKApplicationJSON as json.

func (TuiControlResponseOKApplicationJSON) MarshalJSON

func (s TuiControlResponseOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TuiControlResponseOKApplicationJSON) UnmarshalJSON

func (s *TuiControlResponseOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TuiControlResponseParams

type TuiControlResponseParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

TuiControlResponseParams is parameters of tui.control.response operation.

type TuiControlResponseRes

type TuiControlResponseRes interface {
	// contains filtered or unexported methods
}

type TuiOpenHelpOKApplicationJSON

type TuiOpenHelpOKApplicationJSON bool

func (*TuiOpenHelpOKApplicationJSON) Decode

Decode decodes TuiOpenHelpOKApplicationJSON from json.

func (TuiOpenHelpOKApplicationJSON) Encode

Encode encodes TuiOpenHelpOKApplicationJSON as json.

func (TuiOpenHelpOKApplicationJSON) MarshalJSON

func (s TuiOpenHelpOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TuiOpenHelpOKApplicationJSON) UnmarshalJSON

func (s *TuiOpenHelpOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TuiOpenHelpParams

type TuiOpenHelpParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

TuiOpenHelpParams is parameters of tui.openHelp operation.

type TuiOpenHelpRes

type TuiOpenHelpRes interface {
	// contains filtered or unexported methods
}

type TuiOpenModelsOKApplicationJSON

type TuiOpenModelsOKApplicationJSON bool

func (*TuiOpenModelsOKApplicationJSON) Decode

Decode decodes TuiOpenModelsOKApplicationJSON from json.

func (TuiOpenModelsOKApplicationJSON) Encode

Encode encodes TuiOpenModelsOKApplicationJSON as json.

func (TuiOpenModelsOKApplicationJSON) MarshalJSON

func (s TuiOpenModelsOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TuiOpenModelsOKApplicationJSON) UnmarshalJSON

func (s *TuiOpenModelsOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TuiOpenModelsParams

type TuiOpenModelsParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

TuiOpenModelsParams is parameters of tui.openModels operation.

type TuiOpenModelsRes

type TuiOpenModelsRes interface {
	// contains filtered or unexported methods
}

type TuiOpenSessionsOKApplicationJSON

type TuiOpenSessionsOKApplicationJSON bool

func (*TuiOpenSessionsOKApplicationJSON) Decode

Decode decodes TuiOpenSessionsOKApplicationJSON from json.

func (TuiOpenSessionsOKApplicationJSON) Encode

Encode encodes TuiOpenSessionsOKApplicationJSON as json.

func (TuiOpenSessionsOKApplicationJSON) MarshalJSON

func (s TuiOpenSessionsOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TuiOpenSessionsOKApplicationJSON) UnmarshalJSON

func (s *TuiOpenSessionsOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TuiOpenSessionsParams

type TuiOpenSessionsParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

TuiOpenSessionsParams is parameters of tui.openSessions operation.

type TuiOpenSessionsRes

type TuiOpenSessionsRes interface {
	// contains filtered or unexported methods
}

type TuiOpenThemesOKApplicationJSON

type TuiOpenThemesOKApplicationJSON bool

func (*TuiOpenThemesOKApplicationJSON) Decode

Decode decodes TuiOpenThemesOKApplicationJSON from json.

func (TuiOpenThemesOKApplicationJSON) Encode

Encode encodes TuiOpenThemesOKApplicationJSON as json.

func (TuiOpenThemesOKApplicationJSON) MarshalJSON

func (s TuiOpenThemesOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TuiOpenThemesOKApplicationJSON) UnmarshalJSON

func (s *TuiOpenThemesOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TuiOpenThemesParams

type TuiOpenThemesParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

TuiOpenThemesParams is parameters of tui.openThemes operation.

type TuiOpenThemesRes

type TuiOpenThemesRes interface {
	// contains filtered or unexported methods
}

type TuiShowToastOKApplicationJSON

type TuiShowToastOKApplicationJSON bool

func (*TuiShowToastOKApplicationJSON) Decode

Decode decodes TuiShowToastOKApplicationJSON from json.

func (TuiShowToastOKApplicationJSON) Encode

Encode encodes TuiShowToastOKApplicationJSON as json.

func (TuiShowToastOKApplicationJSON) MarshalJSON

func (s TuiShowToastOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TuiShowToastOKApplicationJSON) UnmarshalJSON

func (s *TuiShowToastOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TuiShowToastParams

type TuiShowToastParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

TuiShowToastParams is parameters of tui.showToast operation.

type TuiShowToastReq

type TuiShowToastReq struct {
	Title    OptString              `json:"title"`
	Message  string                 `json:"message"`
	Variant  TuiShowToastReqVariant `json:"variant"`
	Duration OptInt                 `json:"duration"`
}

func (*TuiShowToastReq) Decode

func (s *TuiShowToastReq) Decode(d *jx.Decoder) error

Decode decodes TuiShowToastReq from json.

func (*TuiShowToastReq) Encode

func (s *TuiShowToastReq) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TuiShowToastReq) GetDuration

func (s *TuiShowToastReq) GetDuration() OptInt

GetDuration returns the value of Duration.

func (*TuiShowToastReq) GetMessage

func (s *TuiShowToastReq) GetMessage() string

GetMessage returns the value of Message.

func (*TuiShowToastReq) GetTitle

func (s *TuiShowToastReq) GetTitle() OptString

GetTitle returns the value of Title.

func (*TuiShowToastReq) GetVariant

func (s *TuiShowToastReq) GetVariant() TuiShowToastReqVariant

GetVariant returns the value of Variant.

func (*TuiShowToastReq) MarshalJSON

func (s *TuiShowToastReq) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TuiShowToastReq) SetDuration

func (s *TuiShowToastReq) SetDuration(val OptInt)

SetDuration sets the value of Duration.

func (*TuiShowToastReq) SetMessage

func (s *TuiShowToastReq) SetMessage(val string)

SetMessage sets the value of Message.

func (*TuiShowToastReq) SetTitle

func (s *TuiShowToastReq) SetTitle(val OptString)

SetTitle sets the value of Title.

func (*TuiShowToastReq) SetVariant

func (s *TuiShowToastReq) SetVariant(val TuiShowToastReqVariant)

SetVariant sets the value of Variant.

func (*TuiShowToastReq) UnmarshalJSON

func (s *TuiShowToastReq) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TuiShowToastReq) Validate

func (s *TuiShowToastReq) Validate() error

type TuiShowToastReqVariant

type TuiShowToastReqVariant string
const (
	TuiShowToastReqVariantInfo    TuiShowToastReqVariant = "info"
	TuiShowToastReqVariantSuccess TuiShowToastReqVariant = "success"
	TuiShowToastReqVariantWarning TuiShowToastReqVariant = "warning"
	TuiShowToastReqVariantError   TuiShowToastReqVariant = "error"
)

func (TuiShowToastReqVariant) AllValues

AllValues returns all TuiShowToastReqVariant values.

func (*TuiShowToastReqVariant) Decode

func (s *TuiShowToastReqVariant) Decode(d *jx.Decoder) error

Decode decodes TuiShowToastReqVariant from json.

func (TuiShowToastReqVariant) Encode

func (s TuiShowToastReqVariant) Encode(e *jx.Encoder)

Encode encodes TuiShowToastReqVariant as json.

func (TuiShowToastReqVariant) MarshalJSON

func (s TuiShowToastReqVariant) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TuiShowToastReqVariant) MarshalText

func (s TuiShowToastReqVariant) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TuiShowToastReqVariant) UnmarshalJSON

func (s *TuiShowToastReqVariant) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TuiShowToastReqVariant) UnmarshalText

func (s *TuiShowToastReqVariant) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TuiShowToastReqVariant) Validate

func (s TuiShowToastReqVariant) Validate() error

type TuiShowToastRes

type TuiShowToastRes interface {
	// contains filtered or unexported methods
}

type TuiSubmitPromptOKApplicationJSON

type TuiSubmitPromptOKApplicationJSON bool

func (*TuiSubmitPromptOKApplicationJSON) Decode

Decode decodes TuiSubmitPromptOKApplicationJSON from json.

func (TuiSubmitPromptOKApplicationJSON) Encode

Encode encodes TuiSubmitPromptOKApplicationJSON as json.

func (TuiSubmitPromptOKApplicationJSON) MarshalJSON

func (s TuiSubmitPromptOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TuiSubmitPromptOKApplicationJSON) UnmarshalJSON

func (s *TuiSubmitPromptOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TuiSubmitPromptParams

type TuiSubmitPromptParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

TuiSubmitPromptParams is parameters of tui.submitPrompt operation.

type TuiSubmitPromptRes

type TuiSubmitPromptRes interface {
	// contains filtered or unexported methods
}

type UnauthorizedError

type UnauthorizedError struct {
	Tag     UnauthorizedErrorTag `json:"_tag"`
	Message string               `json:"message"`
}

Ref: #/components/schemas/UnauthorizedError

func (*UnauthorizedError) Decode

func (s *UnauthorizedError) Decode(d *jx.Decoder) error

Decode decodes UnauthorizedError from json.

func (*UnauthorizedError) Encode

func (s *UnauthorizedError) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UnauthorizedError) GetMessage

func (s *UnauthorizedError) GetMessage() string

GetMessage returns the value of Message.

func (*UnauthorizedError) GetTag

GetTag returns the value of Tag.

func (*UnauthorizedError) MarshalJSON

func (s *UnauthorizedError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UnauthorizedError) SetMessage

func (s *UnauthorizedError) SetMessage(val string)

SetMessage sets the value of Message.

func (*UnauthorizedError) SetTag

func (s *UnauthorizedError) SetTag(val UnauthorizedErrorTag)

SetTag sets the value of Tag.

func (*UnauthorizedError) UnmarshalJSON

func (s *UnauthorizedError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UnauthorizedError) Validate

func (s *UnauthorizedError) Validate() error

type UnauthorizedErrorTag

type UnauthorizedErrorTag string
const (
	UnauthorizedErrorTagUnauthorizedError UnauthorizedErrorTag = "UnauthorizedError"
)

func (UnauthorizedErrorTag) AllValues

AllValues returns all UnauthorizedErrorTag values.

func (*UnauthorizedErrorTag) Decode

func (s *UnauthorizedErrorTag) Decode(d *jx.Decoder) error

Decode decodes UnauthorizedErrorTag from json.

func (UnauthorizedErrorTag) Encode

func (s UnauthorizedErrorTag) Encode(e *jx.Encoder)

Encode encodes UnauthorizedErrorTag as json.

func (UnauthorizedErrorTag) MarshalJSON

func (s UnauthorizedErrorTag) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (UnauthorizedErrorTag) MarshalText

func (s UnauthorizedErrorTag) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*UnauthorizedErrorTag) UnmarshalJSON

func (s *UnauthorizedErrorTag) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UnauthorizedErrorTag) UnmarshalText

func (s *UnauthorizedErrorTag) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (UnauthorizedErrorTag) Validate

func (s UnauthorizedErrorTag) Validate() error

type V2CommandListLocation

type V2CommandListLocation struct {
	Directory OptString `json:"directory"`
	Workspace OptString `json:"workspace"`
}

func (*V2CommandListLocation) DecodeURI

func (s *V2CommandListLocation) DecodeURI(d uri.Decoder) error

DecodeURI decodes V2CommandListLocation from URI form.

func (*V2CommandListLocation) EncodeURI

func (s *V2CommandListLocation) EncodeURI(e uri.Encoder) error

EncodeURI encodes V2CommandListLocation as URI form.

func (*V2CommandListLocation) GetDirectory

func (s *V2CommandListLocation) GetDirectory() OptString

GetDirectory returns the value of Directory.

func (*V2CommandListLocation) GetWorkspace

func (s *V2CommandListLocation) GetWorkspace() OptString

GetWorkspace returns the value of Workspace.

func (*V2CommandListLocation) SetDirectory

func (s *V2CommandListLocation) SetDirectory(val OptString)

SetDirectory sets the value of Directory.

func (*V2CommandListLocation) SetWorkspace

func (s *V2CommandListLocation) SetWorkspace(val OptString)

SetWorkspace sets the value of Workspace.

type V2CommandListOK

type V2CommandListOK struct {
	Location LocationInfo    `json:"location"`
	Data     []CommandV2Info `json:"data"`
}

func (*V2CommandListOK) Decode

func (s *V2CommandListOK) Decode(d *jx.Decoder) error

Decode decodes V2CommandListOK from json.

func (*V2CommandListOK) Encode

func (s *V2CommandListOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*V2CommandListOK) GetData

func (s *V2CommandListOK) GetData() []CommandV2Info

GetData returns the value of Data.

func (*V2CommandListOK) GetLocation

func (s *V2CommandListOK) GetLocation() LocationInfo

GetLocation returns the value of Location.

func (*V2CommandListOK) MarshalJSON

func (s *V2CommandListOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2CommandListOK) SetData

func (s *V2CommandListOK) SetData(val []CommandV2Info)

SetData sets the value of Data.

func (*V2CommandListOK) SetLocation

func (s *V2CommandListOK) SetLocation(val LocationInfo)

SetLocation sets the value of Location.

func (*V2CommandListOK) UnmarshalJSON

func (s *V2CommandListOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*V2CommandListOK) Validate

func (s *V2CommandListOK) Validate() error

type V2CommandListParams

type V2CommandListParams struct {
	Location OptV2CommandListLocation `json:",omitempty,omitzero"`
}

V2CommandListParams is parameters of v2.command.list operation.

type V2CommandListRes

type V2CommandListRes interface {
	// contains filtered or unexported methods
}

type V2CredentialRemoveLocation

type V2CredentialRemoveLocation struct {
	Directory OptString `json:"directory"`
	Workspace OptString `json:"workspace"`
}

func (*V2CredentialRemoveLocation) DecodeURI

func (s *V2CredentialRemoveLocation) DecodeURI(d uri.Decoder) error

DecodeURI decodes V2CredentialRemoveLocation from URI form.

func (*V2CredentialRemoveLocation) EncodeURI

func (s *V2CredentialRemoveLocation) EncodeURI(e uri.Encoder) error

EncodeURI encodes V2CredentialRemoveLocation as URI form.

func (*V2CredentialRemoveLocation) GetDirectory

func (s *V2CredentialRemoveLocation) GetDirectory() OptString

GetDirectory returns the value of Directory.

func (*V2CredentialRemoveLocation) GetWorkspace

func (s *V2CredentialRemoveLocation) GetWorkspace() OptString

GetWorkspace returns the value of Workspace.

func (*V2CredentialRemoveLocation) SetDirectory

func (s *V2CredentialRemoveLocation) SetDirectory(val OptString)

SetDirectory sets the value of Directory.

func (*V2CredentialRemoveLocation) SetWorkspace

func (s *V2CredentialRemoveLocation) SetWorkspace(val OptString)

SetWorkspace sets the value of Workspace.

type V2CredentialRemoveNoContent

type V2CredentialRemoveNoContent struct{}

V2CredentialRemoveNoContent is response for V2CredentialRemove operation.

type V2CredentialRemoveParams

type V2CredentialRemoveParams struct {
	CredentialID string
	Location     OptV2CredentialRemoveLocation `json:",omitempty,omitzero"`
}

V2CredentialRemoveParams is parameters of v2.credential.remove operation.

type V2CredentialRemoveRes

type V2CredentialRemoveRes interface {
	// contains filtered or unexported methods
}

type V2CredentialUpdateLocation

type V2CredentialUpdateLocation struct {
	Directory OptString `json:"directory"`
	Workspace OptString `json:"workspace"`
}

func (*V2CredentialUpdateLocation) DecodeURI

func (s *V2CredentialUpdateLocation) DecodeURI(d uri.Decoder) error

DecodeURI decodes V2CredentialUpdateLocation from URI form.

func (*V2CredentialUpdateLocation) EncodeURI

func (s *V2CredentialUpdateLocation) EncodeURI(e uri.Encoder) error

EncodeURI encodes V2CredentialUpdateLocation as URI form.

func (*V2CredentialUpdateLocation) GetDirectory

func (s *V2CredentialUpdateLocation) GetDirectory() OptString

GetDirectory returns the value of Directory.

func (*V2CredentialUpdateLocation) GetWorkspace

func (s *V2CredentialUpdateLocation) GetWorkspace() OptString

GetWorkspace returns the value of Workspace.

func (*V2CredentialUpdateLocation) SetDirectory

func (s *V2CredentialUpdateLocation) SetDirectory(val OptString)

SetDirectory sets the value of Directory.

func (*V2CredentialUpdateLocation) SetWorkspace

func (s *V2CredentialUpdateLocation) SetWorkspace(val OptString)

SetWorkspace sets the value of Workspace.

type V2CredentialUpdateNoContent

type V2CredentialUpdateNoContent struct{}

V2CredentialUpdateNoContent is response for V2CredentialUpdate operation.

type V2CredentialUpdateParams

type V2CredentialUpdateParams struct {
	CredentialID string
	Location     OptV2CredentialUpdateLocation `json:",omitempty,omitzero"`
}

V2CredentialUpdateParams is parameters of v2.credential.update operation.

type V2CredentialUpdateReq

type V2CredentialUpdateReq struct {
	Label string `json:"label"`
}

func (*V2CredentialUpdateReq) Decode

func (s *V2CredentialUpdateReq) Decode(d *jx.Decoder) error

Decode decodes V2CredentialUpdateReq from json.

func (*V2CredentialUpdateReq) Encode

func (s *V2CredentialUpdateReq) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*V2CredentialUpdateReq) GetLabel

func (s *V2CredentialUpdateReq) GetLabel() string

GetLabel returns the value of Label.

func (*V2CredentialUpdateReq) MarshalJSON

func (s *V2CredentialUpdateReq) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2CredentialUpdateReq) SetLabel

func (s *V2CredentialUpdateReq) SetLabel(val string)

SetLabel sets the value of Label.

func (*V2CredentialUpdateReq) UnmarshalJSON

func (s *V2CredentialUpdateReq) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type V2CredentialUpdateRes

type V2CredentialUpdateRes interface {
	// contains filtered or unexported methods
}

type V2FsFindLocation

type V2FsFindLocation struct {
	Directory OptString `json:"directory"`
	Workspace OptString `json:"workspace"`
}

func (*V2FsFindLocation) DecodeURI

func (s *V2FsFindLocation) DecodeURI(d uri.Decoder) error

DecodeURI decodes V2FsFindLocation from URI form.

func (*V2FsFindLocation) EncodeURI

func (s *V2FsFindLocation) EncodeURI(e uri.Encoder) error

EncodeURI encodes V2FsFindLocation as URI form.

func (*V2FsFindLocation) GetDirectory

func (s *V2FsFindLocation) GetDirectory() OptString

GetDirectory returns the value of Directory.

func (*V2FsFindLocation) GetWorkspace

func (s *V2FsFindLocation) GetWorkspace() OptString

GetWorkspace returns the value of Workspace.

func (*V2FsFindLocation) SetDirectory

func (s *V2FsFindLocation) SetDirectory(val OptString)

SetDirectory sets the value of Directory.

func (*V2FsFindLocation) SetWorkspace

func (s *V2FsFindLocation) SetWorkspace(val OptString)

SetWorkspace sets the value of Workspace.

type V2FsFindOK

type V2FsFindOK struct {
	Location LocationInfo      `json:"location"`
	Data     []FileSystemEntry `json:"data"`
}

func (*V2FsFindOK) Decode

func (s *V2FsFindOK) Decode(d *jx.Decoder) error

Decode decodes V2FsFindOK from json.

func (*V2FsFindOK) Encode

func (s *V2FsFindOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*V2FsFindOK) GetData

func (s *V2FsFindOK) GetData() []FileSystemEntry

GetData returns the value of Data.

func (*V2FsFindOK) GetLocation

func (s *V2FsFindOK) GetLocation() LocationInfo

GetLocation returns the value of Location.

func (*V2FsFindOK) MarshalJSON

func (s *V2FsFindOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2FsFindOK) SetData

func (s *V2FsFindOK) SetData(val []FileSystemEntry)

SetData sets the value of Data.

func (*V2FsFindOK) SetLocation

func (s *V2FsFindOK) SetLocation(val LocationInfo)

SetLocation sets the value of Location.

func (*V2FsFindOK) UnmarshalJSON

func (s *V2FsFindOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*V2FsFindOK) Validate

func (s *V2FsFindOK) Validate() error

type V2FsFindParams

type V2FsFindParams struct {
	Location OptV2FsFindLocation `json:",omitempty,omitzero"`
	Query    string
	Type     OptV2FsFindType `json:",omitempty,omitzero"`
	Limit    OptString       `json:",omitempty,omitzero"`
}

V2FsFindParams is parameters of v2.fs.find operation.

type V2FsFindRes

type V2FsFindRes interface {
	// contains filtered or unexported methods
}

type V2FsFindType

type V2FsFindType string
const (
	V2FsFindTypeFile      V2FsFindType = "file"
	V2FsFindTypeDirectory V2FsFindType = "directory"
)

func (V2FsFindType) AllValues

func (V2FsFindType) AllValues() []V2FsFindType

AllValues returns all V2FsFindType values.

func (V2FsFindType) MarshalText

func (s V2FsFindType) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*V2FsFindType) UnmarshalText

func (s *V2FsFindType) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (V2FsFindType) Validate

func (s V2FsFindType) Validate() error

type V2FsListLocation

type V2FsListLocation struct {
	Directory OptString `json:"directory"`
	Workspace OptString `json:"workspace"`
}

func (*V2FsListLocation) DecodeURI

func (s *V2FsListLocation) DecodeURI(d uri.Decoder) error

DecodeURI decodes V2FsListLocation from URI form.

func (*V2FsListLocation) EncodeURI

func (s *V2FsListLocation) EncodeURI(e uri.Encoder) error

EncodeURI encodes V2FsListLocation as URI form.

func (*V2FsListLocation) GetDirectory

func (s *V2FsListLocation) GetDirectory() OptString

GetDirectory returns the value of Directory.

func (*V2FsListLocation) GetWorkspace

func (s *V2FsListLocation) GetWorkspace() OptString

GetWorkspace returns the value of Workspace.

func (*V2FsListLocation) SetDirectory

func (s *V2FsListLocation) SetDirectory(val OptString)

SetDirectory sets the value of Directory.

func (*V2FsListLocation) SetWorkspace

func (s *V2FsListLocation) SetWorkspace(val OptString)

SetWorkspace sets the value of Workspace.

type V2FsListOK

type V2FsListOK struct {
	Location LocationInfo      `json:"location"`
	Data     []FileSystemEntry `json:"data"`
}

func (*V2FsListOK) Decode

func (s *V2FsListOK) Decode(d *jx.Decoder) error

Decode decodes V2FsListOK from json.

func (*V2FsListOK) Encode

func (s *V2FsListOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*V2FsListOK) GetData

func (s *V2FsListOK) GetData() []FileSystemEntry

GetData returns the value of Data.

func (*V2FsListOK) GetLocation

func (s *V2FsListOK) GetLocation() LocationInfo

GetLocation returns the value of Location.

func (*V2FsListOK) MarshalJSON

func (s *V2FsListOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2FsListOK) SetData

func (s *V2FsListOK) SetData(val []FileSystemEntry)

SetData sets the value of Data.

func (*V2FsListOK) SetLocation

func (s *V2FsListOK) SetLocation(val LocationInfo)

SetLocation sets the value of Location.

func (*V2FsListOK) UnmarshalJSON

func (s *V2FsListOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*V2FsListOK) Validate

func (s *V2FsListOK) Validate() error

type V2FsListParams

type V2FsListParams struct {
	Location OptV2FsListLocation `json:",omitempty,omitzero"`
	Path     OptString           `json:",omitempty,omitzero"`
}

V2FsListParams is parameters of v2.fs.list operation.

type V2FsListRes

type V2FsListRes interface {
	// contains filtered or unexported methods
}

type V2FsReadLocation

type V2FsReadLocation struct {
	Directory OptString `json:"directory"`
	Workspace OptString `json:"workspace"`
}

func (*V2FsReadLocation) DecodeURI

func (s *V2FsReadLocation) DecodeURI(d uri.Decoder) error

DecodeURI decodes V2FsReadLocation from URI form.

func (*V2FsReadLocation) EncodeURI

func (s *V2FsReadLocation) EncodeURI(e uri.Encoder) error

EncodeURI encodes V2FsReadLocation as URI form.

func (*V2FsReadLocation) GetDirectory

func (s *V2FsReadLocation) GetDirectory() OptString

GetDirectory returns the value of Directory.

func (*V2FsReadLocation) GetWorkspace

func (s *V2FsReadLocation) GetWorkspace() OptString

GetWorkspace returns the value of Workspace.

func (*V2FsReadLocation) SetDirectory

func (s *V2FsReadLocation) SetDirectory(val OptString)

SetDirectory sets the value of Directory.

func (*V2FsReadLocation) SetWorkspace

func (s *V2FsReadLocation) SetWorkspace(val OptString)

SetWorkspace sets the value of Workspace.

type V2FsReadOK

type V2FsReadOK struct {
	Data io.Reader
}

func (V2FsReadOK) Read

func (s V2FsReadOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type V2FsReadParams

type V2FsReadParams struct {
	Location OptV2FsReadLocation `json:",omitempty,omitzero"`
}

V2FsReadParams is parameters of v2.fs.read operation.

type V2FsReadRes

type V2FsReadRes interface {
	// contains filtered or unexported methods
}

type V2HealthGetOK

type V2HealthGetOK struct {
	Healthy V2HealthGetOKHealthy `json:"healthy"`
}

func (*V2HealthGetOK) Decode

func (s *V2HealthGetOK) Decode(d *jx.Decoder) error

Decode decodes V2HealthGetOK from json.

func (*V2HealthGetOK) Encode

func (s *V2HealthGetOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*V2HealthGetOK) GetHealthy

func (s *V2HealthGetOK) GetHealthy() V2HealthGetOKHealthy

GetHealthy returns the value of Healthy.

func (*V2HealthGetOK) MarshalJSON

func (s *V2HealthGetOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2HealthGetOK) SetHealthy

func (s *V2HealthGetOK) SetHealthy(val V2HealthGetOKHealthy)

SetHealthy sets the value of Healthy.

func (*V2HealthGetOK) UnmarshalJSON

func (s *V2HealthGetOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*V2HealthGetOK) Validate

func (s *V2HealthGetOK) Validate() error

type V2HealthGetOKHealthy

type V2HealthGetOKHealthy bool
const (
	V2HealthGetOKHealthyTrue V2HealthGetOKHealthy = true
)

func (V2HealthGetOKHealthy) AllValues

AllValues returns all V2HealthGetOKHealthy values.

func (*V2HealthGetOKHealthy) Decode

func (s *V2HealthGetOKHealthy) Decode(d *jx.Decoder) error

Decode decodes V2HealthGetOKHealthy from json.

func (V2HealthGetOKHealthy) Encode

func (s V2HealthGetOKHealthy) Encode(e *jx.Encoder)

Encode encodes V2HealthGetOKHealthy as json.

func (V2HealthGetOKHealthy) MarshalJSON

func (s V2HealthGetOKHealthy) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2HealthGetOKHealthy) UnmarshalJSON

func (s *V2HealthGetOKHealthy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (V2HealthGetOKHealthy) Validate

func (s V2HealthGetOKHealthy) Validate() error

type V2HealthGetRes

type V2HealthGetRes interface {
	// contains filtered or unexported methods
}

type V2IntegrationAttemptCancelLocation

type V2IntegrationAttemptCancelLocation struct {
	Directory OptString `json:"directory"`
	Workspace OptString `json:"workspace"`
}

func (*V2IntegrationAttemptCancelLocation) DecodeURI

DecodeURI decodes V2IntegrationAttemptCancelLocation from URI form.

func (*V2IntegrationAttemptCancelLocation) EncodeURI

EncodeURI encodes V2IntegrationAttemptCancelLocation as URI form.

func (*V2IntegrationAttemptCancelLocation) GetDirectory

GetDirectory returns the value of Directory.

func (*V2IntegrationAttemptCancelLocation) GetWorkspace

GetWorkspace returns the value of Workspace.

func (*V2IntegrationAttemptCancelLocation) SetDirectory

func (s *V2IntegrationAttemptCancelLocation) SetDirectory(val OptString)

SetDirectory sets the value of Directory.

func (*V2IntegrationAttemptCancelLocation) SetWorkspace

func (s *V2IntegrationAttemptCancelLocation) SetWorkspace(val OptString)

SetWorkspace sets the value of Workspace.

type V2IntegrationAttemptCancelNoContent

type V2IntegrationAttemptCancelNoContent struct{}

V2IntegrationAttemptCancelNoContent is response for V2IntegrationAttemptCancel operation.

type V2IntegrationAttemptCancelParams

type V2IntegrationAttemptCancelParams struct {
	AttemptID string
	Location  OptV2IntegrationAttemptCancelLocation `json:",omitempty,omitzero"`
}

V2IntegrationAttemptCancelParams is parameters of v2.integration.attempt.cancel operation.

type V2IntegrationAttemptCancelRes

type V2IntegrationAttemptCancelRes interface {
	// contains filtered or unexported methods
}

type V2LocationGetLocation

type V2LocationGetLocation struct {
	Directory OptString `json:"directory"`
	Workspace OptString `json:"workspace"`
}

func (*V2LocationGetLocation) DecodeURI

func (s *V2LocationGetLocation) DecodeURI(d uri.Decoder) error

DecodeURI decodes V2LocationGetLocation from URI form.

func (*V2LocationGetLocation) EncodeURI

func (s *V2LocationGetLocation) EncodeURI(e uri.Encoder) error

EncodeURI encodes V2LocationGetLocation as URI form.

func (*V2LocationGetLocation) GetDirectory

func (s *V2LocationGetLocation) GetDirectory() OptString

GetDirectory returns the value of Directory.

func (*V2LocationGetLocation) GetWorkspace

func (s *V2LocationGetLocation) GetWorkspace() OptString

GetWorkspace returns the value of Workspace.

func (*V2LocationGetLocation) SetDirectory

func (s *V2LocationGetLocation) SetDirectory(val OptString)

SetDirectory sets the value of Directory.

func (*V2LocationGetLocation) SetWorkspace

func (s *V2LocationGetLocation) SetWorkspace(val OptString)

SetWorkspace sets the value of Workspace.

type V2LocationGetParams

type V2LocationGetParams struct {
	Location OptV2LocationGetLocation `json:",omitempty,omitzero"`
}

V2LocationGetParams is parameters of v2.location.get operation.

type V2LocationGetRes

type V2LocationGetRes interface {
	// contains filtered or unexported methods
}

type V2PermissionRequestListLocation

type V2PermissionRequestListLocation struct {
	Directory OptString `json:"directory"`
	Workspace OptString `json:"workspace"`
}

func (*V2PermissionRequestListLocation) DecodeURI

DecodeURI decodes V2PermissionRequestListLocation from URI form.

func (*V2PermissionRequestListLocation) EncodeURI

EncodeURI encodes V2PermissionRequestListLocation as URI form.

func (*V2PermissionRequestListLocation) GetDirectory

func (s *V2PermissionRequestListLocation) GetDirectory() OptString

GetDirectory returns the value of Directory.

func (*V2PermissionRequestListLocation) GetWorkspace

func (s *V2PermissionRequestListLocation) GetWorkspace() OptString

GetWorkspace returns the value of Workspace.

func (*V2PermissionRequestListLocation) SetDirectory

func (s *V2PermissionRequestListLocation) SetDirectory(val OptString)

SetDirectory sets the value of Directory.

func (*V2PermissionRequestListLocation) SetWorkspace

func (s *V2PermissionRequestListLocation) SetWorkspace(val OptString)

SetWorkspace sets the value of Workspace.

type V2PermissionRequestListOK

type V2PermissionRequestListOK struct {
	Location LocationInfo          `json:"location"`
	Data     []PermissionV2Request `json:"data"`
}

func (*V2PermissionRequestListOK) Decode

func (s *V2PermissionRequestListOK) Decode(d *jx.Decoder) error

Decode decodes V2PermissionRequestListOK from json.

func (*V2PermissionRequestListOK) Encode

func (s *V2PermissionRequestListOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*V2PermissionRequestListOK) GetData

GetData returns the value of Data.

func (*V2PermissionRequestListOK) GetLocation

func (s *V2PermissionRequestListOK) GetLocation() LocationInfo

GetLocation returns the value of Location.

func (*V2PermissionRequestListOK) MarshalJSON

func (s *V2PermissionRequestListOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2PermissionRequestListOK) SetData

SetData sets the value of Data.

func (*V2PermissionRequestListOK) SetLocation

func (s *V2PermissionRequestListOK) SetLocation(val LocationInfo)

SetLocation sets the value of Location.

func (*V2PermissionRequestListOK) UnmarshalJSON

func (s *V2PermissionRequestListOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*V2PermissionRequestListOK) Validate

func (s *V2PermissionRequestListOK) Validate() error

type V2PermissionRequestListParams

type V2PermissionRequestListParams struct {
	Location OptV2PermissionRequestListLocation `json:",omitempty,omitzero"`
}

V2PermissionRequestListParams is parameters of v2.permission.request.list operation.

type V2PermissionRequestListRes

type V2PermissionRequestListRes interface {
	// contains filtered or unexported methods
}

type V2PermissionSavedListOK

type V2PermissionSavedListOK struct {
	Data []PermissionSavedInfo `json:"data"`
}

func (*V2PermissionSavedListOK) Decode

func (s *V2PermissionSavedListOK) Decode(d *jx.Decoder) error

Decode decodes V2PermissionSavedListOK from json.

func (*V2PermissionSavedListOK) Encode

func (s *V2PermissionSavedListOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*V2PermissionSavedListOK) GetData

GetData returns the value of Data.

func (*V2PermissionSavedListOK) MarshalJSON

func (s *V2PermissionSavedListOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2PermissionSavedListOK) SetData

func (s *V2PermissionSavedListOK) SetData(val []PermissionSavedInfo)

SetData sets the value of Data.

func (*V2PermissionSavedListOK) UnmarshalJSON

func (s *V2PermissionSavedListOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*V2PermissionSavedListOK) Validate

func (s *V2PermissionSavedListOK) Validate() error

type V2PermissionSavedListParams

type V2PermissionSavedListParams struct {
	ProjectID OptString `json:",omitempty,omitzero"`
}

V2PermissionSavedListParams is parameters of v2.permission.saved.list operation.

type V2PermissionSavedListRes

type V2PermissionSavedListRes interface {
	// contains filtered or unexported methods
}

type V2PermissionSavedRemoveNoContent

type V2PermissionSavedRemoveNoContent struct{}

V2PermissionSavedRemoveNoContent is response for V2PermissionSavedRemove operation.

type V2PermissionSavedRemoveParams

type V2PermissionSavedRemoveParams struct {
	ID string
}

V2PermissionSavedRemoveParams is parameters of v2.permission.saved.remove operation.

type V2PermissionSavedRemoveRes

type V2PermissionSavedRemoveRes interface {
	// contains filtered or unexported methods
}

type V2PtyConnectOKApplicationJSON

type V2PtyConnectOKApplicationJSON bool

func (*V2PtyConnectOKApplicationJSON) Decode

Decode decodes V2PtyConnectOKApplicationJSON from json.

func (V2PtyConnectOKApplicationJSON) Encode

Encode encodes V2PtyConnectOKApplicationJSON as json.

func (V2PtyConnectOKApplicationJSON) MarshalJSON

func (s V2PtyConnectOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2PtyConnectOKApplicationJSON) UnmarshalJSON

func (s *V2PtyConnectOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type V2PtyConnectParams

type V2PtyConnectParams struct {
	PtyID             string
	LocationDirectory OptString `json:",omitempty,omitzero"`
	LocationWorkspace OptString `json:",omitempty,omitzero"`
	Cursor            OptString `json:",omitempty,omitzero"`
	Ticket            OptString `json:",omitempty,omitzero"`
}

V2PtyConnectParams is parameters of v2.pty.connect operation.

type V2PtyConnectRes

type V2PtyConnectRes interface {
	// contains filtered or unexported methods
}

type V2PtyConnectTokenLocation

type V2PtyConnectTokenLocation struct {
	Directory OptString `json:"directory"`
	Workspace OptString `json:"workspace"`
}

func (*V2PtyConnectTokenLocation) DecodeURI

func (s *V2PtyConnectTokenLocation) DecodeURI(d uri.Decoder) error

DecodeURI decodes V2PtyConnectTokenLocation from URI form.

func (*V2PtyConnectTokenLocation) EncodeURI

func (s *V2PtyConnectTokenLocation) EncodeURI(e uri.Encoder) error

EncodeURI encodes V2PtyConnectTokenLocation as URI form.

func (*V2PtyConnectTokenLocation) GetDirectory

func (s *V2PtyConnectTokenLocation) GetDirectory() OptString

GetDirectory returns the value of Directory.

func (*V2PtyConnectTokenLocation) GetWorkspace

func (s *V2PtyConnectTokenLocation) GetWorkspace() OptString

GetWorkspace returns the value of Workspace.

func (*V2PtyConnectTokenLocation) SetDirectory

func (s *V2PtyConnectTokenLocation) SetDirectory(val OptString)

SetDirectory sets the value of Directory.

func (*V2PtyConnectTokenLocation) SetWorkspace

func (s *V2PtyConnectTokenLocation) SetWorkspace(val OptString)

SetWorkspace sets the value of Workspace.

type V2PtyConnectTokenOK

type V2PtyConnectTokenOK struct {
	Location LocationInfo          `json:"location"`
	Data     PtyTicketConnectToken `json:"data"`
}

func (*V2PtyConnectTokenOK) Decode

func (s *V2PtyConnectTokenOK) Decode(d *jx.Decoder) error

Decode decodes V2PtyConnectTokenOK from json.

func (*V2PtyConnectTokenOK) Encode

func (s *V2PtyConnectTokenOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*V2PtyConnectTokenOK) GetData

GetData returns the value of Data.

func (*V2PtyConnectTokenOK) GetLocation

func (s *V2PtyConnectTokenOK) GetLocation() LocationInfo

GetLocation returns the value of Location.

func (*V2PtyConnectTokenOK) MarshalJSON

func (s *V2PtyConnectTokenOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2PtyConnectTokenOK) SetData

SetData sets the value of Data.

func (*V2PtyConnectTokenOK) SetLocation

func (s *V2PtyConnectTokenOK) SetLocation(val LocationInfo)

SetLocation sets the value of Location.

func (*V2PtyConnectTokenOK) UnmarshalJSON

func (s *V2PtyConnectTokenOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*V2PtyConnectTokenOK) Validate

func (s *V2PtyConnectTokenOK) Validate() error

type V2PtyConnectTokenParams

type V2PtyConnectTokenParams struct {
	PtyID    string
	Location OptV2PtyConnectTokenLocation `json:",omitempty,omitzero"`
}

V2PtyConnectTokenParams is parameters of v2.pty.connectToken operation.

type V2PtyConnectTokenRes

type V2PtyConnectTokenRes interface {
	// contains filtered or unexported methods
}

type V2PtyCreateLocation

type V2PtyCreateLocation struct {
	Directory OptString `json:"directory"`
	Workspace OptString `json:"workspace"`
}

func (*V2PtyCreateLocation) DecodeURI

func (s *V2PtyCreateLocation) DecodeURI(d uri.Decoder) error

DecodeURI decodes V2PtyCreateLocation from URI form.

func (*V2PtyCreateLocation) EncodeURI

func (s *V2PtyCreateLocation) EncodeURI(e uri.Encoder) error

EncodeURI encodes V2PtyCreateLocation as URI form.

func (*V2PtyCreateLocation) GetDirectory

func (s *V2PtyCreateLocation) GetDirectory() OptString

GetDirectory returns the value of Directory.

func (*V2PtyCreateLocation) GetWorkspace

func (s *V2PtyCreateLocation) GetWorkspace() OptString

GetWorkspace returns the value of Workspace.

func (*V2PtyCreateLocation) SetDirectory

func (s *V2PtyCreateLocation) SetDirectory(val OptString)

SetDirectory sets the value of Directory.

func (*V2PtyCreateLocation) SetWorkspace

func (s *V2PtyCreateLocation) SetWorkspace(val OptString)

SetWorkspace sets the value of Workspace.

type V2PtyCreateOK

type V2PtyCreateOK struct {
	Location LocationInfo `json:"location"`
	Data     Pty          `json:"data"`
}

func (*V2PtyCreateOK) Decode

func (s *V2PtyCreateOK) Decode(d *jx.Decoder) error

Decode decodes V2PtyCreateOK from json.

func (*V2PtyCreateOK) Encode

func (s *V2PtyCreateOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*V2PtyCreateOK) GetData

func (s *V2PtyCreateOK) GetData() Pty

GetData returns the value of Data.

func (*V2PtyCreateOK) GetLocation

func (s *V2PtyCreateOK) GetLocation() LocationInfo

GetLocation returns the value of Location.

func (*V2PtyCreateOK) MarshalJSON

func (s *V2PtyCreateOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2PtyCreateOK) SetData

func (s *V2PtyCreateOK) SetData(val Pty)

SetData sets the value of Data.

func (*V2PtyCreateOK) SetLocation

func (s *V2PtyCreateOK) SetLocation(val LocationInfo)

SetLocation sets the value of Location.

func (*V2PtyCreateOK) UnmarshalJSON

func (s *V2PtyCreateOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*V2PtyCreateOK) Validate

func (s *V2PtyCreateOK) Validate() error

type V2PtyCreateParams

type V2PtyCreateParams struct {
	Location OptV2PtyCreateLocation `json:",omitempty,omitzero"`
}

V2PtyCreateParams is parameters of v2.pty.create operation.

type V2PtyCreateReq

type V2PtyCreateReq struct {
	Command OptString            `json:"command"`
	Args    []string             `json:"args"`
	Cwd     OptString            `json:"cwd"`
	Title   OptString            `json:"title"`
	Env     OptV2PtyCreateReqEnv `json:"env"`
}

func (*V2PtyCreateReq) Decode

func (s *V2PtyCreateReq) Decode(d *jx.Decoder) error

Decode decodes V2PtyCreateReq from json.

func (*V2PtyCreateReq) Encode

func (s *V2PtyCreateReq) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*V2PtyCreateReq) GetArgs

func (s *V2PtyCreateReq) GetArgs() []string

GetArgs returns the value of Args.

func (*V2PtyCreateReq) GetCommand

func (s *V2PtyCreateReq) GetCommand() OptString

GetCommand returns the value of Command.

func (*V2PtyCreateReq) GetCwd

func (s *V2PtyCreateReq) GetCwd() OptString

GetCwd returns the value of Cwd.

func (*V2PtyCreateReq) GetEnv

GetEnv returns the value of Env.

func (*V2PtyCreateReq) GetTitle

func (s *V2PtyCreateReq) GetTitle() OptString

GetTitle returns the value of Title.

func (*V2PtyCreateReq) MarshalJSON

func (s *V2PtyCreateReq) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2PtyCreateReq) SetArgs

func (s *V2PtyCreateReq) SetArgs(val []string)

SetArgs sets the value of Args.

func (*V2PtyCreateReq) SetCommand

func (s *V2PtyCreateReq) SetCommand(val OptString)

SetCommand sets the value of Command.

func (*V2PtyCreateReq) SetCwd

func (s *V2PtyCreateReq) SetCwd(val OptString)

SetCwd sets the value of Cwd.

func (*V2PtyCreateReq) SetEnv

func (s *V2PtyCreateReq) SetEnv(val OptV2PtyCreateReqEnv)

SetEnv sets the value of Env.

func (*V2PtyCreateReq) SetTitle

func (s *V2PtyCreateReq) SetTitle(val OptString)

SetTitle sets the value of Title.

func (*V2PtyCreateReq) UnmarshalJSON

func (s *V2PtyCreateReq) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type V2PtyCreateReqEnv

type V2PtyCreateReqEnv map[string]string

func (*V2PtyCreateReqEnv) Decode

func (s *V2PtyCreateReqEnv) Decode(d *jx.Decoder) error

Decode decodes V2PtyCreateReqEnv from json.

func (V2PtyCreateReqEnv) Encode

func (s V2PtyCreateReqEnv) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (V2PtyCreateReqEnv) MarshalJSON

func (s V2PtyCreateReqEnv) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2PtyCreateReqEnv) UnmarshalJSON

func (s *V2PtyCreateReqEnv) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type V2PtyCreateRes

type V2PtyCreateRes interface {
	// contains filtered or unexported methods
}

type V2PtyGetLocation

type V2PtyGetLocation struct {
	Directory OptString `json:"directory"`
	Workspace OptString `json:"workspace"`
}

func (*V2PtyGetLocation) DecodeURI

func (s *V2PtyGetLocation) DecodeURI(d uri.Decoder) error

DecodeURI decodes V2PtyGetLocation from URI form.

func (*V2PtyGetLocation) EncodeURI

func (s *V2PtyGetLocation) EncodeURI(e uri.Encoder) error

EncodeURI encodes V2PtyGetLocation as URI form.

func (*V2PtyGetLocation) GetDirectory

func (s *V2PtyGetLocation) GetDirectory() OptString

GetDirectory returns the value of Directory.

func (*V2PtyGetLocation) GetWorkspace

func (s *V2PtyGetLocation) GetWorkspace() OptString

GetWorkspace returns the value of Workspace.

func (*V2PtyGetLocation) SetDirectory

func (s *V2PtyGetLocation) SetDirectory(val OptString)

SetDirectory sets the value of Directory.

func (*V2PtyGetLocation) SetWorkspace

func (s *V2PtyGetLocation) SetWorkspace(val OptString)

SetWorkspace sets the value of Workspace.

type V2PtyGetOK

type V2PtyGetOK struct {
	Location LocationInfo `json:"location"`
	Data     Pty          `json:"data"`
}

func (*V2PtyGetOK) Decode

func (s *V2PtyGetOK) Decode(d *jx.Decoder) error

Decode decodes V2PtyGetOK from json.

func (*V2PtyGetOK) Encode

func (s *V2PtyGetOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*V2PtyGetOK) GetData

func (s *V2PtyGetOK) GetData() Pty

GetData returns the value of Data.

func (*V2PtyGetOK) GetLocation

func (s *V2PtyGetOK) GetLocation() LocationInfo

GetLocation returns the value of Location.

func (*V2PtyGetOK) MarshalJSON

func (s *V2PtyGetOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2PtyGetOK) SetData

func (s *V2PtyGetOK) SetData(val Pty)

SetData sets the value of Data.

func (*V2PtyGetOK) SetLocation

func (s *V2PtyGetOK) SetLocation(val LocationInfo)

SetLocation sets the value of Location.

func (*V2PtyGetOK) UnmarshalJSON

func (s *V2PtyGetOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*V2PtyGetOK) Validate

func (s *V2PtyGetOK) Validate() error

type V2PtyGetParams

type V2PtyGetParams struct {
	PtyID    string
	Location OptV2PtyGetLocation `json:",omitempty,omitzero"`
}

V2PtyGetParams is parameters of v2.pty.get operation.

type V2PtyGetRes

type V2PtyGetRes interface {
	// contains filtered or unexported methods
}

type V2PtyListLocation

type V2PtyListLocation struct {
	Directory OptString `json:"directory"`
	Workspace OptString `json:"workspace"`
}

func (*V2PtyListLocation) DecodeURI

func (s *V2PtyListLocation) DecodeURI(d uri.Decoder) error

DecodeURI decodes V2PtyListLocation from URI form.

func (*V2PtyListLocation) EncodeURI

func (s *V2PtyListLocation) EncodeURI(e uri.Encoder) error

EncodeURI encodes V2PtyListLocation as URI form.

func (*V2PtyListLocation) GetDirectory

func (s *V2PtyListLocation) GetDirectory() OptString

GetDirectory returns the value of Directory.

func (*V2PtyListLocation) GetWorkspace

func (s *V2PtyListLocation) GetWorkspace() OptString

GetWorkspace returns the value of Workspace.

func (*V2PtyListLocation) SetDirectory

func (s *V2PtyListLocation) SetDirectory(val OptString)

SetDirectory sets the value of Directory.

func (*V2PtyListLocation) SetWorkspace

func (s *V2PtyListLocation) SetWorkspace(val OptString)

SetWorkspace sets the value of Workspace.

type V2PtyListOK

type V2PtyListOK struct {
	Location LocationInfo `json:"location"`
	Data     []Pty        `json:"data"`
}

func (*V2PtyListOK) Decode

func (s *V2PtyListOK) Decode(d *jx.Decoder) error

Decode decodes V2PtyListOK from json.

func (*V2PtyListOK) Encode

func (s *V2PtyListOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*V2PtyListOK) GetData

func (s *V2PtyListOK) GetData() []Pty

GetData returns the value of Data.

func (*V2PtyListOK) GetLocation

func (s *V2PtyListOK) GetLocation() LocationInfo

GetLocation returns the value of Location.

func (*V2PtyListOK) MarshalJSON

func (s *V2PtyListOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2PtyListOK) SetData

func (s *V2PtyListOK) SetData(val []Pty)

SetData sets the value of Data.

func (*V2PtyListOK) SetLocation

func (s *V2PtyListOK) SetLocation(val LocationInfo)

SetLocation sets the value of Location.

func (*V2PtyListOK) UnmarshalJSON

func (s *V2PtyListOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*V2PtyListOK) Validate

func (s *V2PtyListOK) Validate() error

type V2PtyListParams

type V2PtyListParams struct {
	Location OptV2PtyListLocation `json:",omitempty,omitzero"`
}

V2PtyListParams is parameters of v2.pty.list operation.

type V2PtyListRes

type V2PtyListRes interface {
	// contains filtered or unexported methods
}

type V2PtyRemoveLocation

type V2PtyRemoveLocation struct {
	Directory OptString `json:"directory"`
	Workspace OptString `json:"workspace"`
}

func (*V2PtyRemoveLocation) DecodeURI

func (s *V2PtyRemoveLocation) DecodeURI(d uri.Decoder) error

DecodeURI decodes V2PtyRemoveLocation from URI form.

func (*V2PtyRemoveLocation) EncodeURI

func (s *V2PtyRemoveLocation) EncodeURI(e uri.Encoder) error

EncodeURI encodes V2PtyRemoveLocation as URI form.

func (*V2PtyRemoveLocation) GetDirectory

func (s *V2PtyRemoveLocation) GetDirectory() OptString

GetDirectory returns the value of Directory.

func (*V2PtyRemoveLocation) GetWorkspace

func (s *V2PtyRemoveLocation) GetWorkspace() OptString

GetWorkspace returns the value of Workspace.

func (*V2PtyRemoveLocation) SetDirectory

func (s *V2PtyRemoveLocation) SetDirectory(val OptString)

SetDirectory sets the value of Directory.

func (*V2PtyRemoveLocation) SetWorkspace

func (s *V2PtyRemoveLocation) SetWorkspace(val OptString)

SetWorkspace sets the value of Workspace.

type V2PtyRemoveNoContent

type V2PtyRemoveNoContent struct{}

V2PtyRemoveNoContent is response for V2PtyRemove operation.

type V2PtyRemoveParams

type V2PtyRemoveParams struct {
	PtyID    string
	Location OptV2PtyRemoveLocation `json:",omitempty,omitzero"`
}

V2PtyRemoveParams is parameters of v2.pty.remove operation.

type V2PtyRemoveRes

type V2PtyRemoveRes interface {
	// contains filtered or unexported methods
}

type V2PtyUpdateLocation

type V2PtyUpdateLocation struct {
	Directory OptString `json:"directory"`
	Workspace OptString `json:"workspace"`
}

func (*V2PtyUpdateLocation) DecodeURI

func (s *V2PtyUpdateLocation) DecodeURI(d uri.Decoder) error

DecodeURI decodes V2PtyUpdateLocation from URI form.

func (*V2PtyUpdateLocation) EncodeURI

func (s *V2PtyUpdateLocation) EncodeURI(e uri.Encoder) error

EncodeURI encodes V2PtyUpdateLocation as URI form.

func (*V2PtyUpdateLocation) GetDirectory

func (s *V2PtyUpdateLocation) GetDirectory() OptString

GetDirectory returns the value of Directory.

func (*V2PtyUpdateLocation) GetWorkspace

func (s *V2PtyUpdateLocation) GetWorkspace() OptString

GetWorkspace returns the value of Workspace.

func (*V2PtyUpdateLocation) SetDirectory

func (s *V2PtyUpdateLocation) SetDirectory(val OptString)

SetDirectory sets the value of Directory.

func (*V2PtyUpdateLocation) SetWorkspace

func (s *V2PtyUpdateLocation) SetWorkspace(val OptString)

SetWorkspace sets the value of Workspace.

type V2PtyUpdateOK

type V2PtyUpdateOK struct {
	Location LocationInfo `json:"location"`
	Data     Pty          `json:"data"`
}

func (*V2PtyUpdateOK) Decode

func (s *V2PtyUpdateOK) Decode(d *jx.Decoder) error

Decode decodes V2PtyUpdateOK from json.

func (*V2PtyUpdateOK) Encode

func (s *V2PtyUpdateOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*V2PtyUpdateOK) GetData

func (s *V2PtyUpdateOK) GetData() Pty

GetData returns the value of Data.

func (*V2PtyUpdateOK) GetLocation

func (s *V2PtyUpdateOK) GetLocation() LocationInfo

GetLocation returns the value of Location.

func (*V2PtyUpdateOK) MarshalJSON

func (s *V2PtyUpdateOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2PtyUpdateOK) SetData

func (s *V2PtyUpdateOK) SetData(val Pty)

SetData sets the value of Data.

func (*V2PtyUpdateOK) SetLocation

func (s *V2PtyUpdateOK) SetLocation(val LocationInfo)

SetLocation sets the value of Location.

func (*V2PtyUpdateOK) UnmarshalJSON

func (s *V2PtyUpdateOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*V2PtyUpdateOK) Validate

func (s *V2PtyUpdateOK) Validate() error

type V2PtyUpdateParams

type V2PtyUpdateParams struct {
	PtyID    string
	Location OptV2PtyUpdateLocation `json:",omitempty,omitzero"`
}

V2PtyUpdateParams is parameters of v2.pty.update operation.

type V2PtyUpdateReq

type V2PtyUpdateReq struct {
	Title OptString             `json:"title"`
	Size  OptV2PtyUpdateReqSize `json:"size"`
}

func (*V2PtyUpdateReq) Decode

func (s *V2PtyUpdateReq) Decode(d *jx.Decoder) error

Decode decodes V2PtyUpdateReq from json.

func (*V2PtyUpdateReq) Encode

func (s *V2PtyUpdateReq) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*V2PtyUpdateReq) GetSize

GetSize returns the value of Size.

func (*V2PtyUpdateReq) GetTitle

func (s *V2PtyUpdateReq) GetTitle() OptString

GetTitle returns the value of Title.

func (*V2PtyUpdateReq) MarshalJSON

func (s *V2PtyUpdateReq) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2PtyUpdateReq) SetSize

func (s *V2PtyUpdateReq) SetSize(val OptV2PtyUpdateReqSize)

SetSize sets the value of Size.

func (*V2PtyUpdateReq) SetTitle

func (s *V2PtyUpdateReq) SetTitle(val OptString)

SetTitle sets the value of Title.

func (*V2PtyUpdateReq) UnmarshalJSON

func (s *V2PtyUpdateReq) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*V2PtyUpdateReq) Validate

func (s *V2PtyUpdateReq) Validate() error

type V2PtyUpdateReqSize

type V2PtyUpdateReqSize struct {
	Rows int `json:"rows"`
	Cols int `json:"cols"`
}

func (*V2PtyUpdateReqSize) Decode

func (s *V2PtyUpdateReqSize) Decode(d *jx.Decoder) error

Decode decodes V2PtyUpdateReqSize from json.

func (*V2PtyUpdateReqSize) Encode

func (s *V2PtyUpdateReqSize) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*V2PtyUpdateReqSize) GetCols

func (s *V2PtyUpdateReqSize) GetCols() int

GetCols returns the value of Cols.

func (*V2PtyUpdateReqSize) GetRows

func (s *V2PtyUpdateReqSize) GetRows() int

GetRows returns the value of Rows.

func (*V2PtyUpdateReqSize) MarshalJSON

func (s *V2PtyUpdateReqSize) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2PtyUpdateReqSize) SetCols

func (s *V2PtyUpdateReqSize) SetCols(val int)

SetCols sets the value of Cols.

func (*V2PtyUpdateReqSize) SetRows

func (s *V2PtyUpdateReqSize) SetRows(val int)

SetRows sets the value of Rows.

func (*V2PtyUpdateReqSize) UnmarshalJSON

func (s *V2PtyUpdateReqSize) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*V2PtyUpdateReqSize) Validate

func (s *V2PtyUpdateReqSize) Validate() error

type V2PtyUpdateRes

type V2PtyUpdateRes interface {
	// contains filtered or unexported methods
}

type V2QuestionRequestListLocation

type V2QuestionRequestListLocation struct {
	Directory OptString `json:"directory"`
	Workspace OptString `json:"workspace"`
}

func (*V2QuestionRequestListLocation) DecodeURI

DecodeURI decodes V2QuestionRequestListLocation from URI form.

func (*V2QuestionRequestListLocation) EncodeURI

EncodeURI encodes V2QuestionRequestListLocation as URI form.

func (*V2QuestionRequestListLocation) GetDirectory

func (s *V2QuestionRequestListLocation) GetDirectory() OptString

GetDirectory returns the value of Directory.

func (*V2QuestionRequestListLocation) GetWorkspace

func (s *V2QuestionRequestListLocation) GetWorkspace() OptString

GetWorkspace returns the value of Workspace.

func (*V2QuestionRequestListLocation) SetDirectory

func (s *V2QuestionRequestListLocation) SetDirectory(val OptString)

SetDirectory sets the value of Directory.

func (*V2QuestionRequestListLocation) SetWorkspace

func (s *V2QuestionRequestListLocation) SetWorkspace(val OptString)

SetWorkspace sets the value of Workspace.

type V2QuestionRequestListOK

type V2QuestionRequestListOK struct {
	Location LocationInfo        `json:"location"`
	Data     []QuestionV2Request `json:"data"`
}

func (*V2QuestionRequestListOK) Decode

func (s *V2QuestionRequestListOK) Decode(d *jx.Decoder) error

Decode decodes V2QuestionRequestListOK from json.

func (*V2QuestionRequestListOK) Encode

func (s *V2QuestionRequestListOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*V2QuestionRequestListOK) GetData

GetData returns the value of Data.

func (*V2QuestionRequestListOK) GetLocation

func (s *V2QuestionRequestListOK) GetLocation() LocationInfo

GetLocation returns the value of Location.

func (*V2QuestionRequestListOK) MarshalJSON

func (s *V2QuestionRequestListOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2QuestionRequestListOK) SetData

func (s *V2QuestionRequestListOK) SetData(val []QuestionV2Request)

SetData sets the value of Data.

func (*V2QuestionRequestListOK) SetLocation

func (s *V2QuestionRequestListOK) SetLocation(val LocationInfo)

SetLocation sets the value of Location.

func (*V2QuestionRequestListOK) UnmarshalJSON

func (s *V2QuestionRequestListOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*V2QuestionRequestListOK) Validate

func (s *V2QuestionRequestListOK) Validate() error

type V2QuestionRequestListParams

type V2QuestionRequestListParams struct {
	Location OptV2QuestionRequestListLocation `json:",omitempty,omitzero"`
}

V2QuestionRequestListParams is parameters of v2.question.request.list operation.

type V2QuestionRequestListRes

type V2QuestionRequestListRes interface {
	// contains filtered or unexported methods
}

type V2SessionActiveOK

type V2SessionActiveOK struct {
	Data V2SessionActiveOKData `json:"data"`
}

func (*V2SessionActiveOK) Decode

func (s *V2SessionActiveOK) Decode(d *jx.Decoder) error

Decode decodes V2SessionActiveOK from json.

func (*V2SessionActiveOK) Encode

func (s *V2SessionActiveOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*V2SessionActiveOK) GetData

GetData returns the value of Data.

func (*V2SessionActiveOK) MarshalJSON

func (s *V2SessionActiveOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2SessionActiveOK) SetData

func (s *V2SessionActiveOK) SetData(val V2SessionActiveOKData)

SetData sets the value of Data.

func (*V2SessionActiveOK) UnmarshalJSON

func (s *V2SessionActiveOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*V2SessionActiveOK) Validate

func (s *V2SessionActiveOK) Validate() error

type V2SessionActiveOKData

type V2SessionActiveOKData map[string]SessionActive

func (*V2SessionActiveOKData) Decode

func (s *V2SessionActiveOKData) Decode(d *jx.Decoder) error

Decode decodes V2SessionActiveOKData from json.

func (V2SessionActiveOKData) Encode

func (s V2SessionActiveOKData) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (V2SessionActiveOKData) MarshalJSON

func (s V2SessionActiveOKData) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2SessionActiveOKData) UnmarshalJSON

func (s *V2SessionActiveOKData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (V2SessionActiveOKData) Validate

func (s V2SessionActiveOKData) Validate() error

type V2SessionActiveRes

type V2SessionActiveRes interface {
	// contains filtered or unexported methods
}

type V2SessionCreateOK

type V2SessionCreateOK struct {
	Data SessionV2Info `json:"data"`
}

func (*V2SessionCreateOK) Decode

func (s *V2SessionCreateOK) Decode(d *jx.Decoder) error

Decode decodes V2SessionCreateOK from json.

func (*V2SessionCreateOK) Encode

func (s *V2SessionCreateOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*V2SessionCreateOK) GetData

func (s *V2SessionCreateOK) GetData() SessionV2Info

GetData returns the value of Data.

func (*V2SessionCreateOK) MarshalJSON

func (s *V2SessionCreateOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2SessionCreateOK) SetData

func (s *V2SessionCreateOK) SetData(val SessionV2Info)

SetData sets the value of Data.

func (*V2SessionCreateOK) UnmarshalJSON

func (s *V2SessionCreateOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*V2SessionCreateOK) Validate

func (s *V2SessionCreateOK) Validate() error

type V2SessionCreateReq

type V2SessionCreateReq struct {
	ID       OptString      `json:"id"`
	Agent    OptString      `json:"agent"`
	Model    OptModelRef    `json:"model"`
	Location OptLocationRef `json:"location"`
}

func (*V2SessionCreateReq) Decode

func (s *V2SessionCreateReq) Decode(d *jx.Decoder) error

Decode decodes V2SessionCreateReq from json.

func (*V2SessionCreateReq) Encode

func (s *V2SessionCreateReq) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*V2SessionCreateReq) GetAgent

func (s *V2SessionCreateReq) GetAgent() OptString

GetAgent returns the value of Agent.

func (*V2SessionCreateReq) GetID

func (s *V2SessionCreateReq) GetID() OptString

GetID returns the value of ID.

func (*V2SessionCreateReq) GetLocation

func (s *V2SessionCreateReq) GetLocation() OptLocationRef

GetLocation returns the value of Location.

func (*V2SessionCreateReq) GetModel

func (s *V2SessionCreateReq) GetModel() OptModelRef

GetModel returns the value of Model.

func (*V2SessionCreateReq) MarshalJSON

func (s *V2SessionCreateReq) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2SessionCreateReq) SetAgent

func (s *V2SessionCreateReq) SetAgent(val OptString)

SetAgent sets the value of Agent.

func (*V2SessionCreateReq) SetID

func (s *V2SessionCreateReq) SetID(val OptString)

SetID sets the value of ID.

func (*V2SessionCreateReq) SetLocation

func (s *V2SessionCreateReq) SetLocation(val OptLocationRef)

SetLocation sets the value of Location.

func (*V2SessionCreateReq) SetModel

func (s *V2SessionCreateReq) SetModel(val OptModelRef)

SetModel sets the value of Model.

func (*V2SessionCreateReq) UnmarshalJSON

func (s *V2SessionCreateReq) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*V2SessionCreateReq) Validate

func (s *V2SessionCreateReq) Validate() error

type V2SessionCreateRes

type V2SessionCreateRes interface {
	// contains filtered or unexported methods
}

type V2SkillListLocation

type V2SkillListLocation struct {
	Directory OptString `json:"directory"`
	Workspace OptString `json:"workspace"`
}

func (*V2SkillListLocation) DecodeURI

func (s *V2SkillListLocation) DecodeURI(d uri.Decoder) error

DecodeURI decodes V2SkillListLocation from URI form.

func (*V2SkillListLocation) EncodeURI

func (s *V2SkillListLocation) EncodeURI(e uri.Encoder) error

EncodeURI encodes V2SkillListLocation as URI form.

func (*V2SkillListLocation) GetDirectory

func (s *V2SkillListLocation) GetDirectory() OptString

GetDirectory returns the value of Directory.

func (*V2SkillListLocation) GetWorkspace

func (s *V2SkillListLocation) GetWorkspace() OptString

GetWorkspace returns the value of Workspace.

func (*V2SkillListLocation) SetDirectory

func (s *V2SkillListLocation) SetDirectory(val OptString)

SetDirectory sets the value of Directory.

func (*V2SkillListLocation) SetWorkspace

func (s *V2SkillListLocation) SetWorkspace(val OptString)

SetWorkspace sets the value of Workspace.

type V2SkillListOK

type V2SkillListOK struct {
	Location LocationInfo  `json:"location"`
	Data     []SkillV2Info `json:"data"`
}

func (*V2SkillListOK) Decode

func (s *V2SkillListOK) Decode(d *jx.Decoder) error

Decode decodes V2SkillListOK from json.

func (*V2SkillListOK) Encode

func (s *V2SkillListOK) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*V2SkillListOK) GetData

func (s *V2SkillListOK) GetData() []SkillV2Info

GetData returns the value of Data.

func (*V2SkillListOK) GetLocation

func (s *V2SkillListOK) GetLocation() LocationInfo

GetLocation returns the value of Location.

func (*V2SkillListOK) MarshalJSON

func (s *V2SkillListOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*V2SkillListOK) SetData

func (s *V2SkillListOK) SetData(val []SkillV2Info)

SetData sets the value of Data.

func (*V2SkillListOK) SetLocation

func (s *V2SkillListOK) SetLocation(val LocationInfo)

SetLocation sets the value of Location.

func (*V2SkillListOK) UnmarshalJSON

func (s *V2SkillListOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*V2SkillListOK) Validate

func (s *V2SkillListOK) Validate() error

type V2SkillListParams

type V2SkillListParams struct {
	Location OptV2SkillListLocation `json:",omitempty,omitzero"`
}

V2SkillListParams is parameters of v2.skill.list operation.

type V2SkillListRes

type V2SkillListRes interface {
	// contains filtered or unexported methods
}

type VcsDiffMode

type VcsDiffMode string
const (
	VcsDiffModeGit    VcsDiffMode = "git"
	VcsDiffModeBranch VcsDiffMode = "branch"
)

func (VcsDiffMode) AllValues

func (VcsDiffMode) AllValues() []VcsDiffMode

AllValues returns all VcsDiffMode values.

func (VcsDiffMode) MarshalText

func (s VcsDiffMode) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*VcsDiffMode) UnmarshalText

func (s *VcsDiffMode) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (VcsDiffMode) Validate

func (s VcsDiffMode) Validate() error

type VcsDiffOKApplicationJSON

type VcsDiffOKApplicationJSON []VcsFileDiff

func (*VcsDiffOKApplicationJSON) Decode

func (s *VcsDiffOKApplicationJSON) Decode(d *jx.Decoder) error

Decode decodes VcsDiffOKApplicationJSON from json.

func (VcsDiffOKApplicationJSON) Encode

func (s VcsDiffOKApplicationJSON) Encode(e *jx.Encoder)

Encode encodes VcsDiffOKApplicationJSON as json.

func (VcsDiffOKApplicationJSON) MarshalJSON

func (s VcsDiffOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VcsDiffOKApplicationJSON) UnmarshalJSON

func (s *VcsDiffOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (VcsDiffOKApplicationJSON) Validate

func (s VcsDiffOKApplicationJSON) Validate() error

type VcsDiffParams

type VcsDiffParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
	Mode      VcsDiffMode
	Context   OptInt `json:",omitempty,omitzero"`
}

VcsDiffParams is parameters of vcs.diff operation.

type VcsDiffRawOK

type VcsDiffRawOK struct {
	Data io.Reader
}

func (VcsDiffRawOK) Read

func (s VcsDiffRawOK) Read(p []byte) (n int, err error)

Read reads data from the Data reader.

Kept to satisfy the io.Reader interface.

type VcsDiffRawParams

type VcsDiffRawParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

VcsDiffRawParams is parameters of vcs.diff.raw operation.

type VcsDiffRawRes

type VcsDiffRawRes interface {
	// contains filtered or unexported methods
}

type VcsDiffRes

type VcsDiffRes interface {
	// contains filtered or unexported methods
}

type VcsFileDiff

type VcsFileDiff struct {
	File      string               `json:"file"`
	Patch     OptString            `json:"patch"`
	Additions float64              `json:"additions"`
	Deletions float64              `json:"deletions"`
	Status    OptVcsFileDiffStatus `json:"status"`
}

Ref: #/components/schemas/VcsFileDiff

func (*VcsFileDiff) Decode

func (s *VcsFileDiff) Decode(d *jx.Decoder) error

Decode decodes VcsFileDiff from json.

func (*VcsFileDiff) Encode

func (s *VcsFileDiff) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*VcsFileDiff) GetAdditions

func (s *VcsFileDiff) GetAdditions() float64

GetAdditions returns the value of Additions.

func (*VcsFileDiff) GetDeletions

func (s *VcsFileDiff) GetDeletions() float64

GetDeletions returns the value of Deletions.

func (*VcsFileDiff) GetFile

func (s *VcsFileDiff) GetFile() string

GetFile returns the value of File.

func (*VcsFileDiff) GetPatch

func (s *VcsFileDiff) GetPatch() OptString

GetPatch returns the value of Patch.

func (*VcsFileDiff) GetStatus

func (s *VcsFileDiff) GetStatus() OptVcsFileDiffStatus

GetStatus returns the value of Status.

func (*VcsFileDiff) MarshalJSON

func (s *VcsFileDiff) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VcsFileDiff) SetAdditions

func (s *VcsFileDiff) SetAdditions(val float64)

SetAdditions sets the value of Additions.

func (*VcsFileDiff) SetDeletions

func (s *VcsFileDiff) SetDeletions(val float64)

SetDeletions sets the value of Deletions.

func (*VcsFileDiff) SetFile

func (s *VcsFileDiff) SetFile(val string)

SetFile sets the value of File.

func (*VcsFileDiff) SetPatch

func (s *VcsFileDiff) SetPatch(val OptString)

SetPatch sets the value of Patch.

func (*VcsFileDiff) SetStatus

func (s *VcsFileDiff) SetStatus(val OptVcsFileDiffStatus)

SetStatus sets the value of Status.

func (*VcsFileDiff) UnmarshalJSON

func (s *VcsFileDiff) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VcsFileDiff) Validate

func (s *VcsFileDiff) Validate() error

type VcsFileDiffStatus

type VcsFileDiffStatus string
const (
	VcsFileDiffStatusAdded    VcsFileDiffStatus = "added"
	VcsFileDiffStatusDeleted  VcsFileDiffStatus = "deleted"
	VcsFileDiffStatusModified VcsFileDiffStatus = "modified"
)

func (VcsFileDiffStatus) AllValues

func (VcsFileDiffStatus) AllValues() []VcsFileDiffStatus

AllValues returns all VcsFileDiffStatus values.

func (*VcsFileDiffStatus) Decode

func (s *VcsFileDiffStatus) Decode(d *jx.Decoder) error

Decode decodes VcsFileDiffStatus from json.

func (VcsFileDiffStatus) Encode

func (s VcsFileDiffStatus) Encode(e *jx.Encoder)

Encode encodes VcsFileDiffStatus as json.

func (VcsFileDiffStatus) MarshalJSON

func (s VcsFileDiffStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (VcsFileDiffStatus) MarshalText

func (s VcsFileDiffStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*VcsFileDiffStatus) UnmarshalJSON

func (s *VcsFileDiffStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VcsFileDiffStatus) UnmarshalText

func (s *VcsFileDiffStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (VcsFileDiffStatus) Validate

func (s VcsFileDiffStatus) Validate() error

type VcsFileStatus

type VcsFileStatus struct {
	File      string              `json:"file"`
	Additions float64             `json:"additions"`
	Deletions float64             `json:"deletions"`
	Status    VcsFileStatusStatus `json:"status"`
}

Ref: #/components/schemas/VcsFileStatus

func (*VcsFileStatus) Decode

func (s *VcsFileStatus) Decode(d *jx.Decoder) error

Decode decodes VcsFileStatus from json.

func (*VcsFileStatus) Encode

func (s *VcsFileStatus) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*VcsFileStatus) GetAdditions

func (s *VcsFileStatus) GetAdditions() float64

GetAdditions returns the value of Additions.

func (*VcsFileStatus) GetDeletions

func (s *VcsFileStatus) GetDeletions() float64

GetDeletions returns the value of Deletions.

func (*VcsFileStatus) GetFile

func (s *VcsFileStatus) GetFile() string

GetFile returns the value of File.

func (*VcsFileStatus) GetStatus

func (s *VcsFileStatus) GetStatus() VcsFileStatusStatus

GetStatus returns the value of Status.

func (*VcsFileStatus) MarshalJSON

func (s *VcsFileStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VcsFileStatus) SetAdditions

func (s *VcsFileStatus) SetAdditions(val float64)

SetAdditions sets the value of Additions.

func (*VcsFileStatus) SetDeletions

func (s *VcsFileStatus) SetDeletions(val float64)

SetDeletions sets the value of Deletions.

func (*VcsFileStatus) SetFile

func (s *VcsFileStatus) SetFile(val string)

SetFile sets the value of File.

func (*VcsFileStatus) SetStatus

func (s *VcsFileStatus) SetStatus(val VcsFileStatusStatus)

SetStatus sets the value of Status.

func (*VcsFileStatus) UnmarshalJSON

func (s *VcsFileStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VcsFileStatus) Validate

func (s *VcsFileStatus) Validate() error

type VcsFileStatusStatus

type VcsFileStatusStatus string
const (
	VcsFileStatusStatusAdded    VcsFileStatusStatus = "added"
	VcsFileStatusStatusDeleted  VcsFileStatusStatus = "deleted"
	VcsFileStatusStatusModified VcsFileStatusStatus = "modified"
)

func (VcsFileStatusStatus) AllValues

AllValues returns all VcsFileStatusStatus values.

func (*VcsFileStatusStatus) Decode

func (s *VcsFileStatusStatus) Decode(d *jx.Decoder) error

Decode decodes VcsFileStatusStatus from json.

func (VcsFileStatusStatus) Encode

func (s VcsFileStatusStatus) Encode(e *jx.Encoder)

Encode encodes VcsFileStatusStatus as json.

func (VcsFileStatusStatus) MarshalJSON

func (s VcsFileStatusStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (VcsFileStatusStatus) MarshalText

func (s VcsFileStatusStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*VcsFileStatusStatus) UnmarshalJSON

func (s *VcsFileStatusStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VcsFileStatusStatus) UnmarshalText

func (s *VcsFileStatusStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (VcsFileStatusStatus) Validate

func (s VcsFileStatusStatus) Validate() error

type VcsGetParams

type VcsGetParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

VcsGetParams is parameters of vcs.get operation.

type VcsGetRes

type VcsGetRes interface {
	// contains filtered or unexported methods
}

type VcsInfo

type VcsInfo struct {
	Branch        OptString `json:"branch"`
	DefaultBranch OptString `json:"default_branch"`
}

Ref: #/components/schemas/VcsInfo

func (*VcsInfo) Decode

func (s *VcsInfo) Decode(d *jx.Decoder) error

Decode decodes VcsInfo from json.

func (*VcsInfo) Encode

func (s *VcsInfo) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*VcsInfo) GetBranch

func (s *VcsInfo) GetBranch() OptString

GetBranch returns the value of Branch.

func (*VcsInfo) GetDefaultBranch

func (s *VcsInfo) GetDefaultBranch() OptString

GetDefaultBranch returns the value of DefaultBranch.

func (*VcsInfo) MarshalJSON

func (s *VcsInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VcsInfo) SetBranch

func (s *VcsInfo) SetBranch(val OptString)

SetBranch sets the value of Branch.

func (*VcsInfo) SetDefaultBranch

func (s *VcsInfo) SetDefaultBranch(val OptString)

SetDefaultBranch sets the value of DefaultBranch.

func (*VcsInfo) UnmarshalJSON

func (s *VcsInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type VcsStatusOKApplicationJSON

type VcsStatusOKApplicationJSON []VcsFileStatus

func (*VcsStatusOKApplicationJSON) Decode

Decode decodes VcsStatusOKApplicationJSON from json.

func (VcsStatusOKApplicationJSON) Encode

func (s VcsStatusOKApplicationJSON) Encode(e *jx.Encoder)

Encode encodes VcsStatusOKApplicationJSON as json.

func (VcsStatusOKApplicationJSON) MarshalJSON

func (s VcsStatusOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VcsStatusOKApplicationJSON) UnmarshalJSON

func (s *VcsStatusOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (VcsStatusOKApplicationJSON) Validate

func (s VcsStatusOKApplicationJSON) Validate() error

type VcsStatusParams

type VcsStatusParams struct {
	Directory OptString `json:",omitempty,omitzero"`
	Workspace OptString `json:",omitempty,omitzero"`
}

VcsStatusParams is parameters of vcs.status operation.

type VcsStatusRes

type VcsStatusRes interface {
	// contains filtered or unexported methods
}

type WorkspaceEventConnectionStatus

type WorkspaceEventConnectionStatus struct {
	WorkspaceID string                               `json:"workspaceID"`
	Status      WorkspaceEventConnectionStatusStatus `json:"status"`
}

Ref: #/components/schemas/WorkspaceEventConnectionStatus

func (*WorkspaceEventConnectionStatus) Decode

Decode decodes WorkspaceEventConnectionStatus from json.

func (*WorkspaceEventConnectionStatus) Encode

Encode implements json.Marshaler.

func (*WorkspaceEventConnectionStatus) GetStatus

GetStatus returns the value of Status.

func (*WorkspaceEventConnectionStatus) GetWorkspaceID

func (s *WorkspaceEventConnectionStatus) GetWorkspaceID() string

GetWorkspaceID returns the value of WorkspaceID.

func (*WorkspaceEventConnectionStatus) MarshalJSON

func (s *WorkspaceEventConnectionStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkspaceEventConnectionStatus) SetStatus

SetStatus sets the value of Status.

func (*WorkspaceEventConnectionStatus) SetWorkspaceID

func (s *WorkspaceEventConnectionStatus) SetWorkspaceID(val string)

SetWorkspaceID sets the value of WorkspaceID.

func (*WorkspaceEventConnectionStatus) UnmarshalJSON

func (s *WorkspaceEventConnectionStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkspaceEventConnectionStatus) Validate

func (s *WorkspaceEventConnectionStatus) Validate() error

type WorkspaceEventConnectionStatusStatus

type WorkspaceEventConnectionStatusStatus string
const (
	WorkspaceEventConnectionStatusStatusConnected    WorkspaceEventConnectionStatusStatus = "connected"
	WorkspaceEventConnectionStatusStatusConnecting   WorkspaceEventConnectionStatusStatus = "connecting"
	WorkspaceEventConnectionStatusStatusDisconnected WorkspaceEventConnectionStatusStatus = "disconnected"
	WorkspaceEventConnectionStatusStatusError        WorkspaceEventConnectionStatusStatus = "error"
)

func (WorkspaceEventConnectionStatusStatus) AllValues

AllValues returns all WorkspaceEventConnectionStatusStatus values.

func (*WorkspaceEventConnectionStatusStatus) Decode

Decode decodes WorkspaceEventConnectionStatusStatus from json.

func (WorkspaceEventConnectionStatusStatus) Encode

Encode encodes WorkspaceEventConnectionStatusStatus as json.

func (WorkspaceEventConnectionStatusStatus) MarshalJSON

func (s WorkspaceEventConnectionStatusStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (WorkspaceEventConnectionStatusStatus) MarshalText

func (s WorkspaceEventConnectionStatusStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*WorkspaceEventConnectionStatusStatus) UnmarshalJSON

func (s *WorkspaceEventConnectionStatusStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*WorkspaceEventConnectionStatusStatus) UnmarshalText

func (s *WorkspaceEventConnectionStatusStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (WorkspaceEventConnectionStatusStatus) Validate

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL