Documentation
¶
Overview ¶
Code generated by ogen, DO NOT EDIT.
Index ¶
- type Agent
- func (s *Agent) Decode(d *jx.Decoder) error
- func (s *Agent) Encode(e *jx.Encoder)
- func (s *Agent) GetColor() OptString
- func (s *Agent) GetDescription() OptString
- func (s *Agent) GetHidden() OptBool
- func (s *Agent) GetMode() AgentMode
- func (s *Agent) GetModel() OptAgentModel
- func (s *Agent) GetName() string
- func (s *Agent) GetNative() OptBool
- func (s *Agent) GetOptions() AgentOptions
- func (s *Agent) GetPermission() PermissionRuleset
- func (s *Agent) GetPrompt() OptString
- func (s *Agent) GetSteps() OptFloat64
- func (s *Agent) GetTemperature() OptFloat64
- func (s *Agent) GetTopP() OptFloat64
- func (s *Agent) GetVariant() OptString
- func (s *Agent) MarshalJSON() ([]byte, error)
- func (s *Agent) SetColor(val OptString)
- func (s *Agent) SetDescription(val OptString)
- func (s *Agent) SetHidden(val OptBool)
- func (s *Agent) SetMode(val AgentMode)
- func (s *Agent) SetModel(val OptAgentModel)
- func (s *Agent) SetName(val string)
- func (s *Agent) SetNative(val OptBool)
- func (s *Agent) SetOptions(val AgentOptions)
- func (s *Agent) SetPermission(val PermissionRuleset)
- func (s *Agent) SetPrompt(val OptString)
- func (s *Agent) SetSteps(val OptFloat64)
- func (s *Agent) SetTemperature(val OptFloat64)
- func (s *Agent) SetTopP(val OptFloat64)
- func (s *Agent) SetVariant(val OptString)
- func (s *Agent) UnmarshalJSON(data []byte) error
- func (s *Agent) Validate() error
- type AgentMode
- func (AgentMode) AllValues() []AgentMode
- func (s *AgentMode) Decode(d *jx.Decoder) error
- func (s AgentMode) Encode(e *jx.Encoder)
- func (s AgentMode) MarshalJSON() ([]byte, error)
- func (s AgentMode) MarshalText() ([]byte, error)
- func (s *AgentMode) UnmarshalJSON(data []byte) error
- func (s *AgentMode) UnmarshalText(data []byte) error
- func (s AgentMode) Validate() error
- type AgentModel
- func (s *AgentModel) Decode(d *jx.Decoder) error
- func (s *AgentModel) Encode(e *jx.Encoder)
- func (s *AgentModel) GetModelID() string
- func (s *AgentModel) GetProviderID() string
- func (s *AgentModel) MarshalJSON() ([]byte, error)
- func (s *AgentModel) SetModelID(val string)
- func (s *AgentModel) SetProviderID(val string)
- func (s *AgentModel) UnmarshalJSON(data []byte) error
- type AgentOptions
- type AppAgentsOKApplicationJSON
- func (s *AppAgentsOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s AppAgentsOKApplicationJSON) Encode(e *jx.Encoder)
- func (s AppAgentsOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *AppAgentsOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s AppAgentsOKApplicationJSON) Validate() error
- type AppAgentsParams
- type AppAgentsRes
- type AppSkillsOKApplicationJSON
- func (s *AppSkillsOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s AppSkillsOKApplicationJSON) Encode(e *jx.Encoder)
- func (s AppSkillsOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *AppSkillsOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s AppSkillsOKApplicationJSON) Validate() error
- type AppSkillsOKItem
- func (s *AppSkillsOKItem) Decode(d *jx.Decoder) error
- func (s *AppSkillsOKItem) Encode(e *jx.Encoder)
- func (s *AppSkillsOKItem) GetContent() string
- func (s *AppSkillsOKItem) GetDescription() OptString
- func (s *AppSkillsOKItem) GetLocation() string
- func (s *AppSkillsOKItem) GetName() string
- func (s *AppSkillsOKItem) MarshalJSON() ([]byte, error)
- func (s *AppSkillsOKItem) SetContent(val string)
- func (s *AppSkillsOKItem) SetDescription(val OptString)
- func (s *AppSkillsOKItem) SetLocation(val string)
- func (s *AppSkillsOKItem) SetName(val string)
- func (s *AppSkillsOKItem) UnmarshalJSON(data []byte) error
- type AppSkillsParams
- type AppSkillsRes
- type BadRequestError
- func (s *BadRequestError) Decode(d *jx.Decoder) error
- func (s *BadRequestError) Encode(e *jx.Encoder)
- func (s *BadRequestError) GetData() BadRequestErrorData
- func (s *BadRequestError) GetName() BadRequestErrorName
- func (s *BadRequestError) MarshalJSON() ([]byte, error)
- func (s *BadRequestError) SetData(val BadRequestErrorData)
- func (s *BadRequestError) SetName(val BadRequestErrorName)
- func (s *BadRequestError) UnmarshalJSON(data []byte) error
- func (s *BadRequestError) Validate() error
- type BadRequestErrorData
- func (s *BadRequestErrorData) Decode(d *jx.Decoder) error
- func (s *BadRequestErrorData) Encode(e *jx.Encoder)
- func (s *BadRequestErrorData) GetKind() OptBadRequestErrorDataKind
- func (s *BadRequestErrorData) GetMessage() string
- func (s *BadRequestErrorData) MarshalJSON() ([]byte, error)
- func (s *BadRequestErrorData) SetKind(val OptBadRequestErrorDataKind)
- func (s *BadRequestErrorData) SetMessage(val string)
- func (s *BadRequestErrorData) UnmarshalJSON(data []byte) error
- func (s *BadRequestErrorData) Validate() error
- type BadRequestErrorDataKind
- func (BadRequestErrorDataKind) AllValues() []BadRequestErrorDataKind
- func (s *BadRequestErrorDataKind) Decode(d *jx.Decoder) error
- func (s BadRequestErrorDataKind) Encode(e *jx.Encoder)
- func (s BadRequestErrorDataKind) MarshalJSON() ([]byte, error)
- func (s BadRequestErrorDataKind) MarshalText() ([]byte, error)
- func (s *BadRequestErrorDataKind) UnmarshalJSON(data []byte) error
- func (s *BadRequestErrorDataKind) UnmarshalText(data []byte) error
- func (s BadRequestErrorDataKind) Validate() error
- type BadRequestErrorName
- func (BadRequestErrorName) AllValues() []BadRequestErrorName
- func (s *BadRequestErrorName) Decode(d *jx.Decoder) error
- func (s BadRequestErrorName) Encode(e *jx.Encoder)
- func (s BadRequestErrorName) MarshalJSON() ([]byte, error)
- func (s BadRequestErrorName) MarshalText() ([]byte, error)
- func (s *BadRequestErrorName) UnmarshalJSON(data []byte) error
- func (s *BadRequestErrorName) UnmarshalText(data []byte) error
- func (s BadRequestErrorName) Validate() error
- type Client
- func (c *Client) AppAgents(ctx context.Context, params AppAgentsParams, options ...RequestOption) (AppAgentsRes, error)
- func (c *Client) AppSkills(ctx context.Context, params AppSkillsParams, options ...RequestOption) (AppSkillsRes, error)
- func (c *Client) CommandList(ctx context.Context, params CommandListParams, options ...RequestOption) (CommandListRes, error)
- func (c *Client) ConfigProviders(ctx context.Context, params ConfigProvidersParams, options ...RequestOption) (ConfigProvidersRes, error)
- func (c *Client) ExperimentalCapabilitiesGet(ctx context.Context, params ExperimentalCapabilitiesGetParams, ...) (ExperimentalCapabilitiesGetRes, error)
- func (c *Client) ExperimentalConsoleGet(ctx context.Context, params ExperimentalConsoleGetParams, ...) (ExperimentalConsoleGetRes, error)
- func (c *Client) ExperimentalConsoleListOrgs(ctx context.Context, params ExperimentalConsoleListOrgsParams, ...) (ExperimentalConsoleListOrgsRes, error)
- func (c *Client) ExperimentalConsoleSwitchOrg(ctx context.Context, request OptExperimentalConsoleSwitchOrgReq, ...) (bool, error)
- func (c *Client) ExperimentalProjectCopyGenerateName(ctx context.Context, request OptExperimentalProjectCopyGenerateNameReq, ...) (ExperimentalProjectCopyGenerateNameRes, error)
- func (c *Client) ExperimentalResourceList(ctx context.Context, params ExperimentalResourceListParams, ...) (ExperimentalResourceListRes, error)
- func (c *Client) ExperimentalSessionList(ctx context.Context, params ExperimentalSessionListParams, ...) (ExperimentalSessionListRes, error)
- func (c *Client) ExperimentalWorkspaceAdapterList(ctx context.Context, params ExperimentalWorkspaceAdapterListParams, ...) (ExperimentalWorkspaceAdapterListRes, error)
- func (c *Client) ExperimentalWorkspaceStatus(ctx context.Context, params ExperimentalWorkspaceStatusParams, ...) (ExperimentalWorkspaceStatusRes, error)
- func (c *Client) ExperimentalWorkspaceSyncList(ctx context.Context, params ExperimentalWorkspaceSyncListParams, ...) (ExperimentalWorkspaceSyncListRes, error)
- func (c *Client) FileList(ctx context.Context, params FileListParams, options ...RequestOption) (FileListRes, error)
- func (c *Client) FileRead(ctx context.Context, params FileReadParams, options ...RequestOption) (FileReadRes, error)
- func (c *Client) FileStatus(ctx context.Context, params FileStatusParams, options ...RequestOption) (FileStatusRes, error)
- func (c *Client) FindFiles(ctx context.Context, params FindFilesParams, options ...RequestOption) (FindFilesRes, error)
- func (c *Client) FindSymbols(ctx context.Context, params FindSymbolsParams, options ...RequestOption) (FindSymbolsRes, error)
- func (c *Client) FindText(ctx context.Context, params FindTextParams, options ...RequestOption) (FindTextRes, error)
- func (c *Client) FormatterStatus(ctx context.Context, params FormatterStatusParams, options ...RequestOption) (FormatterStatusRes, error)
- func (c *Client) GlobalDispose(ctx context.Context, options ...RequestOption) (GlobalDisposeRes, error)
- func (c *Client) GlobalHealth(ctx context.Context, options ...RequestOption) (GlobalHealthRes, error)
- func (c *Client) InstanceDispose(ctx context.Context, params InstanceDisposeParams, options ...RequestOption) (InstanceDisposeRes, error)
- func (c *Client) LspStatus(ctx context.Context, params LspStatusParams, options ...RequestOption) (LspStatusRes, error)
- func (c *Client) McpAuthRemove(ctx context.Context, params McpAuthRemoveParams, options ...RequestOption) (McpAuthRemoveRes, error)
- func (c *Client) McpConnect(ctx context.Context, params McpConnectParams, options ...RequestOption) (McpConnectRes, error)
- func (c *Client) McpDisconnect(ctx context.Context, params McpDisconnectParams, options ...RequestOption) (McpDisconnectRes, error)
- func (c *Client) PathGet(ctx context.Context, params PathGetParams, options ...RequestOption) (PathGetRes, error)
- func (c *Client) PermissionList(ctx context.Context, params PermissionListParams, options ...RequestOption) (PermissionListRes, error)
- func (c *Client) ProjectCurrent(ctx context.Context, params ProjectCurrentParams, options ...RequestOption) (ProjectCurrentRes, error)
- func (c *Client) ProjectDirectories(ctx context.Context, params ProjectDirectoriesParams, options ...RequestOption) (ProjectDirectoriesRes, error)
- func (c *Client) ProjectInitGit(ctx context.Context, params ProjectInitGitParams, options ...RequestOption) (ProjectInitGitRes, error)
- func (c *Client) ProjectList(ctx context.Context, params ProjectListParams, options ...RequestOption) (ProjectListRes, error)
- func (c *Client) ProviderList(ctx context.Context, params ProviderListParams, options ...RequestOption) (ProviderListRes, error)
- func (c *Client) PtyConnect(ctx context.Context, params PtyConnectParams, options ...RequestOption) (PtyConnectRes, error)
- func (c *Client) PtyConnectToken(ctx context.Context, params PtyConnectTokenParams, options ...RequestOption) (PtyConnectTokenRes, error)
- func (c *Client) PtyGet(ctx context.Context, params PtyGetParams, options ...RequestOption) (PtyGetRes, error)
- func (c *Client) PtyList(ctx context.Context, params PtyListParams, options ...RequestOption) (PtyListRes, error)
- func (c *Client) PtyRemove(ctx context.Context, params PtyRemoveParams, options ...RequestOption) (PtyRemoveRes, error)
- func (c *Client) PtyShells(ctx context.Context, params PtyShellsParams, options ...RequestOption) (PtyShellsRes, error)
- func (c *Client) QuestionList(ctx context.Context, params QuestionListParams, options ...RequestOption) (QuestionListRes, error)
- func (c *Client) SessionDiff(ctx context.Context, params SessionDiffParams, options ...RequestOption) (SessionDiffRes, error)
- func (c *Client) SessionList(ctx context.Context, params SessionListParams, options ...RequestOption) (SessionListRes, error)
- func (c *Client) SessionShare(ctx context.Context, params SessionShareParams, options ...RequestOption) (SessionShareRes, error)
- func (c *Client) SessionUnshare(ctx context.Context, params SessionUnshareParams, options ...RequestOption) (SessionUnshareRes, error)
- func (c *Client) SyncStart(ctx context.Context, params SyncStartParams, options ...RequestOption) (SyncStartRes, error)
- func (c *Client) TuiClearPrompt(ctx context.Context, params TuiClearPromptParams, options ...RequestOption) (TuiClearPromptRes, error)
- func (c *Client) TuiControlNext(ctx context.Context, params TuiControlNextParams, options ...RequestOption) (TuiControlNextRes, error)
- func (c *Client) TuiControlResponse(ctx context.Context, request jx.Raw, params TuiControlResponseParams, ...) (TuiControlResponseRes, error)
- func (c *Client) TuiOpenHelp(ctx context.Context, params TuiOpenHelpParams, options ...RequestOption) (TuiOpenHelpRes, error)
- func (c *Client) TuiOpenModels(ctx context.Context, params TuiOpenModelsParams, options ...RequestOption) (TuiOpenModelsRes, error)
- func (c *Client) TuiOpenSessions(ctx context.Context, params TuiOpenSessionsParams, options ...RequestOption) (TuiOpenSessionsRes, error)
- func (c *Client) TuiOpenThemes(ctx context.Context, params TuiOpenThemesParams, options ...RequestOption) (TuiOpenThemesRes, error)
- func (c *Client) TuiShowToast(ctx context.Context, request OptTuiShowToastReq, params TuiShowToastParams, ...) (TuiShowToastRes, error)
- func (c *Client) TuiSubmitPrompt(ctx context.Context, params TuiSubmitPromptParams, options ...RequestOption) (TuiSubmitPromptRes, error)
- func (c *Client) V2CommandList(ctx context.Context, params V2CommandListParams, options ...RequestOption) (V2CommandListRes, error)
- func (c *Client) V2CredentialRemove(ctx context.Context, params V2CredentialRemoveParams, options ...RequestOption) (V2CredentialRemoveRes, error)
- func (c *Client) V2CredentialUpdate(ctx context.Context, request *V2CredentialUpdateReq, ...) (V2CredentialUpdateRes, error)
- func (c *Client) V2FsFind(ctx context.Context, params V2FsFindParams, options ...RequestOption) (V2FsFindRes, error)
- func (c *Client) V2FsList(ctx context.Context, params V2FsListParams, options ...RequestOption) (V2FsListRes, error)
- func (c *Client) V2FsRead(ctx context.Context, params V2FsReadParams, options ...RequestOption) (V2FsReadRes, error)
- func (c *Client) V2HealthGet(ctx context.Context, options ...RequestOption) (V2HealthGetRes, error)
- func (c *Client) V2IntegrationAttemptCancel(ctx context.Context, params V2IntegrationAttemptCancelParams, ...) (V2IntegrationAttemptCancelRes, error)
- func (c *Client) V2LocationGet(ctx context.Context, params V2LocationGetParams, options ...RequestOption) (V2LocationGetRes, error)
- func (c *Client) V2PermissionRequestList(ctx context.Context, params V2PermissionRequestListParams, ...) (V2PermissionRequestListRes, error)
- func (c *Client) V2PermissionSavedList(ctx context.Context, params V2PermissionSavedListParams, ...) (V2PermissionSavedListRes, error)
- func (c *Client) V2PermissionSavedRemove(ctx context.Context, params V2PermissionSavedRemoveParams, ...) (V2PermissionSavedRemoveRes, error)
- func (c *Client) V2PtyConnect(ctx context.Context, params V2PtyConnectParams, options ...RequestOption) (V2PtyConnectRes, error)
- func (c *Client) V2PtyConnectToken(ctx context.Context, params V2PtyConnectTokenParams, options ...RequestOption) (V2PtyConnectTokenRes, error)
- func (c *Client) V2PtyCreate(ctx context.Context, request *V2PtyCreateReq, params V2PtyCreateParams, ...) (V2PtyCreateRes, error)
- func (c *Client) V2PtyGet(ctx context.Context, params V2PtyGetParams, options ...RequestOption) (V2PtyGetRes, error)
- func (c *Client) V2PtyList(ctx context.Context, params V2PtyListParams, options ...RequestOption) (V2PtyListRes, error)
- func (c *Client) V2PtyRemove(ctx context.Context, params V2PtyRemoveParams, options ...RequestOption) (V2PtyRemoveRes, error)
- func (c *Client) V2PtyUpdate(ctx context.Context, request *V2PtyUpdateReq, params V2PtyUpdateParams, ...) (V2PtyUpdateRes, error)
- func (c *Client) V2QuestionRequestList(ctx context.Context, params V2QuestionRequestListParams, ...) (V2QuestionRequestListRes, error)
- func (c *Client) V2SessionActive(ctx context.Context, options ...RequestOption) (V2SessionActiveRes, error)
- func (c *Client) V2SessionCreate(ctx context.Context, request *V2SessionCreateReq, options ...RequestOption) (V2SessionCreateRes, error)
- func (c *Client) V2SkillList(ctx context.Context, params V2SkillListParams, options ...RequestOption) (V2SkillListRes, error)
- func (c *Client) VcsDiff(ctx context.Context, params VcsDiffParams, options ...RequestOption) (VcsDiffRes, error)
- func (c *Client) VcsDiffRaw(ctx context.Context, params VcsDiffRawParams, options ...RequestOption) (VcsDiffRawRes, error)
- func (c *Client) VcsGet(ctx context.Context, params VcsGetParams, options ...RequestOption) (VcsGetRes, error)
- func (c *Client) VcsStatus(ctx context.Context, params VcsStatusParams, options ...RequestOption) (VcsStatusRes, error)
- type ClientOption
- type Command
- func (s *Command) Decode(d *jx.Decoder) error
- func (s *Command) Encode(e *jx.Encoder)
- func (s *Command) GetAgent() OptString
- func (s *Command) GetDescription() OptString
- func (s *Command) GetHints() []string
- func (s *Command) GetModel() OptString
- func (s *Command) GetName() string
- func (s *Command) GetSource() OptCommandSource
- func (s *Command) GetSubtask() OptBool
- func (s *Command) GetTemplate() string
- func (s *Command) MarshalJSON() ([]byte, error)
- func (s *Command) SetAgent(val OptString)
- func (s *Command) SetDescription(val OptString)
- func (s *Command) SetHints(val []string)
- func (s *Command) SetModel(val OptString)
- func (s *Command) SetName(val string)
- func (s *Command) SetSource(val OptCommandSource)
- func (s *Command) SetSubtask(val OptBool)
- func (s *Command) SetTemplate(val string)
- func (s *Command) UnmarshalJSON(data []byte) error
- func (s *Command) Validate() error
- type CommandListOKApplicationJSON
- func (s *CommandListOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s CommandListOKApplicationJSON) Encode(e *jx.Encoder)
- func (s CommandListOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *CommandListOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s CommandListOKApplicationJSON) Validate() error
- type CommandListParams
- type CommandListRes
- type CommandSource
- func (CommandSource) AllValues() []CommandSource
- func (s *CommandSource) Decode(d *jx.Decoder) error
- func (s CommandSource) Encode(e *jx.Encoder)
- func (s CommandSource) MarshalJSON() ([]byte, error)
- func (s CommandSource) MarshalText() ([]byte, error)
- func (s *CommandSource) UnmarshalJSON(data []byte) error
- func (s *CommandSource) UnmarshalText(data []byte) error
- func (s CommandSource) Validate() error
- type CommandV2Info
- func (s *CommandV2Info) Decode(d *jx.Decoder) error
- func (s *CommandV2Info) Encode(e *jx.Encoder)
- func (s *CommandV2Info) GetAgent() OptString
- func (s *CommandV2Info) GetDescription() OptString
- func (s *CommandV2Info) GetModel() OptModelRef
- func (s *CommandV2Info) GetName() string
- func (s *CommandV2Info) GetSubtask() OptBool
- func (s *CommandV2Info) GetTemplate() string
- func (s *CommandV2Info) MarshalJSON() ([]byte, error)
- func (s *CommandV2Info) SetAgent(val OptString)
- func (s *CommandV2Info) SetDescription(val OptString)
- func (s *CommandV2Info) SetModel(val OptModelRef)
- func (s *CommandV2Info) SetName(val string)
- func (s *CommandV2Info) SetSubtask(val OptBool)
- func (s *CommandV2Info) SetTemplate(val string)
- func (s *CommandV2Info) UnmarshalJSON(data []byte) error
- type ConfigProvidersOK
- func (s *ConfigProvidersOK) Decode(d *jx.Decoder) error
- func (s *ConfigProvidersOK) Encode(e *jx.Encoder)
- func (s *ConfigProvidersOK) GetDefault() ConfigProvidersOKDefault
- func (s *ConfigProvidersOK) GetProviders() []Provider
- func (s *ConfigProvidersOK) MarshalJSON() ([]byte, error)
- func (s *ConfigProvidersOK) SetDefault(val ConfigProvidersOKDefault)
- func (s *ConfigProvidersOK) SetProviders(val []Provider)
- func (s *ConfigProvidersOK) UnmarshalJSON(data []byte) error
- func (s *ConfigProvidersOK) Validate() error
- type ConfigProvidersOKDefault
- type ConfigProvidersParams
- type ConfigProvidersRes
- type ConsoleState
- func (s *ConsoleState) Decode(d *jx.Decoder) error
- func (s *ConsoleState) Encode(e *jx.Encoder)
- func (s *ConsoleState) GetActiveOrgName() OptString
- func (s *ConsoleState) GetConsoleManagedProviders() []string
- func (s *ConsoleState) GetSwitchableOrgCount() int
- func (s *ConsoleState) MarshalJSON() ([]byte, error)
- func (s *ConsoleState) SetActiveOrgName(val OptString)
- func (s *ConsoleState) SetConsoleManagedProviders(val []string)
- func (s *ConsoleState) SetSwitchableOrgCount(val int)
- func (s *ConsoleState) UnmarshalJSON(data []byte) error
- func (s *ConsoleState) Validate() error
- type EffectHttpApiErrorForbidden
- func (s *EffectHttpApiErrorForbidden) Decode(d *jx.Decoder) error
- func (s *EffectHttpApiErrorForbidden) Encode(e *jx.Encoder)
- func (s *EffectHttpApiErrorForbidden) GetTag() EffectHttpApiErrorForbiddenTag
- func (s *EffectHttpApiErrorForbidden) MarshalJSON() ([]byte, error)
- func (s *EffectHttpApiErrorForbidden) SetTag(val EffectHttpApiErrorForbiddenTag)
- func (s *EffectHttpApiErrorForbidden) UnmarshalJSON(data []byte) error
- func (s *EffectHttpApiErrorForbidden) Validate() error
- type EffectHttpApiErrorForbiddenTag
- func (EffectHttpApiErrorForbiddenTag) AllValues() []EffectHttpApiErrorForbiddenTag
- func (s *EffectHttpApiErrorForbiddenTag) Decode(d *jx.Decoder) error
- func (s EffectHttpApiErrorForbiddenTag) Encode(e *jx.Encoder)
- func (s EffectHttpApiErrorForbiddenTag) MarshalJSON() ([]byte, error)
- func (s EffectHttpApiErrorForbiddenTag) MarshalText() ([]byte, error)
- func (s *EffectHttpApiErrorForbiddenTag) UnmarshalJSON(data []byte) error
- func (s *EffectHttpApiErrorForbiddenTag) UnmarshalText(data []byte) error
- func (s EffectHttpApiErrorForbiddenTag) Validate() error
- type EffectHttpApiErrorInternalServerError
- func (s *EffectHttpApiErrorInternalServerError) Decode(d *jx.Decoder) error
- func (s *EffectHttpApiErrorInternalServerError) Encode(e *jx.Encoder)
- func (s *EffectHttpApiErrorInternalServerError) GetTag() EffectHttpApiErrorInternalServerErrorTag
- func (s *EffectHttpApiErrorInternalServerError) MarshalJSON() ([]byte, error)
- func (s *EffectHttpApiErrorInternalServerError) SetTag(val EffectHttpApiErrorInternalServerErrorTag)
- func (s *EffectHttpApiErrorInternalServerError) UnmarshalJSON(data []byte) error
- func (s *EffectHttpApiErrorInternalServerError) Validate() error
- type EffectHttpApiErrorInternalServerErrorTag
- func (EffectHttpApiErrorInternalServerErrorTag) AllValues() []EffectHttpApiErrorInternalServerErrorTag
- func (s *EffectHttpApiErrorInternalServerErrorTag) Decode(d *jx.Decoder) error
- func (s EffectHttpApiErrorInternalServerErrorTag) Encode(e *jx.Encoder)
- func (s EffectHttpApiErrorInternalServerErrorTag) MarshalJSON() ([]byte, error)
- func (s EffectHttpApiErrorInternalServerErrorTag) MarshalText() ([]byte, error)
- func (s *EffectHttpApiErrorInternalServerErrorTag) UnmarshalJSON(data []byte) error
- func (s *EffectHttpApiErrorInternalServerErrorTag) UnmarshalText(data []byte) error
- func (s EffectHttpApiErrorInternalServerErrorTag) Validate() error
- type ExperimentalCapabilities
- func (s *ExperimentalCapabilities) Decode(d *jx.Decoder) error
- func (s *ExperimentalCapabilities) Encode(e *jx.Encoder)
- func (s *ExperimentalCapabilities) GetBackgroundSubagents() bool
- func (s *ExperimentalCapabilities) MarshalJSON() ([]byte, error)
- func (s *ExperimentalCapabilities) SetBackgroundSubagents(val bool)
- func (s *ExperimentalCapabilities) UnmarshalJSON(data []byte) error
- type ExperimentalCapabilitiesGetParams
- type ExperimentalCapabilitiesGetRes
- type ExperimentalConsoleGetParams
- type ExperimentalConsoleGetRes
- type ExperimentalConsoleListOrgsOK
- func (s *ExperimentalConsoleListOrgsOK) Decode(d *jx.Decoder) error
- func (s *ExperimentalConsoleListOrgsOK) Encode(e *jx.Encoder)
- func (s *ExperimentalConsoleListOrgsOK) GetOrgs() []ExperimentalConsoleListOrgsOKOrgsItem
- func (s *ExperimentalConsoleListOrgsOK) MarshalJSON() ([]byte, error)
- func (s *ExperimentalConsoleListOrgsOK) SetOrgs(val []ExperimentalConsoleListOrgsOKOrgsItem)
- func (s *ExperimentalConsoleListOrgsOK) UnmarshalJSON(data []byte) error
- func (s *ExperimentalConsoleListOrgsOK) Validate() error
- type ExperimentalConsoleListOrgsOKOrgsItem
- func (s *ExperimentalConsoleListOrgsOKOrgsItem) Decode(d *jx.Decoder) error
- func (s *ExperimentalConsoleListOrgsOKOrgsItem) Encode(e *jx.Encoder)
- func (s *ExperimentalConsoleListOrgsOKOrgsItem) GetAccountEmail() string
- func (s *ExperimentalConsoleListOrgsOKOrgsItem) GetAccountID() string
- func (s *ExperimentalConsoleListOrgsOKOrgsItem) GetAccountUrl() string
- func (s *ExperimentalConsoleListOrgsOKOrgsItem) GetActive() bool
- func (s *ExperimentalConsoleListOrgsOKOrgsItem) GetOrgID() string
- func (s *ExperimentalConsoleListOrgsOKOrgsItem) GetOrgName() string
- func (s *ExperimentalConsoleListOrgsOKOrgsItem) MarshalJSON() ([]byte, error)
- func (s *ExperimentalConsoleListOrgsOKOrgsItem) SetAccountEmail(val string)
- func (s *ExperimentalConsoleListOrgsOKOrgsItem) SetAccountID(val string)
- func (s *ExperimentalConsoleListOrgsOKOrgsItem) SetAccountUrl(val string)
- func (s *ExperimentalConsoleListOrgsOKOrgsItem) SetActive(val bool)
- func (s *ExperimentalConsoleListOrgsOKOrgsItem) SetOrgID(val string)
- func (s *ExperimentalConsoleListOrgsOKOrgsItem) SetOrgName(val string)
- func (s *ExperimentalConsoleListOrgsOKOrgsItem) UnmarshalJSON(data []byte) error
- type ExperimentalConsoleListOrgsParams
- type ExperimentalConsoleListOrgsRes
- type ExperimentalConsoleSwitchOrgParams
- type ExperimentalConsoleSwitchOrgReq
- func (s *ExperimentalConsoleSwitchOrgReq) Decode(d *jx.Decoder) error
- func (s *ExperimentalConsoleSwitchOrgReq) Encode(e *jx.Encoder)
- func (s *ExperimentalConsoleSwitchOrgReq) GetAccountID() string
- func (s *ExperimentalConsoleSwitchOrgReq) GetOrgID() string
- func (s *ExperimentalConsoleSwitchOrgReq) MarshalJSON() ([]byte, error)
- func (s *ExperimentalConsoleSwitchOrgReq) SetAccountID(val string)
- func (s *ExperimentalConsoleSwitchOrgReq) SetOrgID(val string)
- func (s *ExperimentalConsoleSwitchOrgReq) UnmarshalJSON(data []byte) error
- type ExperimentalProjectCopyGenerateNameOK
- func (s *ExperimentalProjectCopyGenerateNameOK) Decode(d *jx.Decoder) error
- func (s *ExperimentalProjectCopyGenerateNameOK) Encode(e *jx.Encoder)
- func (s *ExperimentalProjectCopyGenerateNameOK) GetName() string
- func (s *ExperimentalProjectCopyGenerateNameOK) MarshalJSON() ([]byte, error)
- func (s *ExperimentalProjectCopyGenerateNameOK) SetName(val string)
- func (s *ExperimentalProjectCopyGenerateNameOK) UnmarshalJSON(data []byte) error
- type ExperimentalProjectCopyGenerateNameParams
- type ExperimentalProjectCopyGenerateNameReq
- func (s *ExperimentalProjectCopyGenerateNameReq) Decode(d *jx.Decoder) error
- func (s *ExperimentalProjectCopyGenerateNameReq) Encode(e *jx.Encoder)
- func (s *ExperimentalProjectCopyGenerateNameReq) GetContext() OptString
- func (s *ExperimentalProjectCopyGenerateNameReq) MarshalJSON() ([]byte, error)
- func (s *ExperimentalProjectCopyGenerateNameReq) SetContext(val OptString)
- func (s *ExperimentalProjectCopyGenerateNameReq) UnmarshalJSON(data []byte) error
- type ExperimentalProjectCopyGenerateNameRes
- type ExperimentalResourceListOK
- type ExperimentalResourceListParams
- type ExperimentalResourceListRes
- type ExperimentalSessionListArchived
- func (s ExperimentalSessionListArchived) GetBool() (v bool, ok bool)
- func (s ExperimentalSessionListArchived) GetExperimentalSessionListArchived1() (v ExperimentalSessionListArchived1, ok bool)
- func (s ExperimentalSessionListArchived) IsBool() bool
- func (s ExperimentalSessionListArchived) IsExperimentalSessionListArchived1() bool
- func (s *ExperimentalSessionListArchived) SetBool(v bool)
- func (s *ExperimentalSessionListArchived) SetExperimentalSessionListArchived1(v ExperimentalSessionListArchived1)
- func (s ExperimentalSessionListArchived) Validate() error
- type ExperimentalSessionListArchived1
- type ExperimentalSessionListArchivedType
- type ExperimentalSessionListOKApplicationJSON
- func (s *ExperimentalSessionListOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ExperimentalSessionListOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ExperimentalSessionListOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ExperimentalSessionListOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ExperimentalSessionListOKApplicationJSON) Validate() error
- type ExperimentalSessionListParams
- type ExperimentalSessionListRes
- type ExperimentalSessionListRoots
- func (s ExperimentalSessionListRoots) GetBool() (v bool, ok bool)
- func (s ExperimentalSessionListRoots) GetExperimentalSessionListRoots1() (v ExperimentalSessionListRoots1, ok bool)
- func (s ExperimentalSessionListRoots) IsBool() bool
- func (s ExperimentalSessionListRoots) IsExperimentalSessionListRoots1() bool
- func (s *ExperimentalSessionListRoots) SetBool(v bool)
- func (s *ExperimentalSessionListRoots) SetExperimentalSessionListRoots1(v ExperimentalSessionListRoots1)
- func (s ExperimentalSessionListRoots) Validate() error
- type ExperimentalSessionListRoots1
- type ExperimentalSessionListRootsType
- type ExperimentalWorkspaceAdapterListOKApplicationJSON
- func (s *ExperimentalWorkspaceAdapterListOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ExperimentalWorkspaceAdapterListOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ExperimentalWorkspaceAdapterListOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ExperimentalWorkspaceAdapterListOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ExperimentalWorkspaceAdapterListOKApplicationJSON) Validate() error
- type ExperimentalWorkspaceAdapterListOKItem
- func (s *ExperimentalWorkspaceAdapterListOKItem) Decode(d *jx.Decoder) error
- func (s *ExperimentalWorkspaceAdapterListOKItem) Encode(e *jx.Encoder)
- func (s *ExperimentalWorkspaceAdapterListOKItem) GetDescription() string
- func (s *ExperimentalWorkspaceAdapterListOKItem) GetName() string
- func (s *ExperimentalWorkspaceAdapterListOKItem) GetType() string
- func (s *ExperimentalWorkspaceAdapterListOKItem) MarshalJSON() ([]byte, error)
- func (s *ExperimentalWorkspaceAdapterListOKItem) SetDescription(val string)
- func (s *ExperimentalWorkspaceAdapterListOKItem) SetName(val string)
- func (s *ExperimentalWorkspaceAdapterListOKItem) SetType(val string)
- func (s *ExperimentalWorkspaceAdapterListOKItem) UnmarshalJSON(data []byte) error
- type ExperimentalWorkspaceAdapterListParams
- type ExperimentalWorkspaceAdapterListRes
- type ExperimentalWorkspaceStatusOKApplicationJSON
- func (s *ExperimentalWorkspaceStatusOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ExperimentalWorkspaceStatusOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ExperimentalWorkspaceStatusOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ExperimentalWorkspaceStatusOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ExperimentalWorkspaceStatusOKApplicationJSON) Validate() error
- type ExperimentalWorkspaceStatusParams
- type ExperimentalWorkspaceStatusRes
- type ExperimentalWorkspaceSyncListNoContent
- type ExperimentalWorkspaceSyncListParams
- type ExperimentalWorkspaceSyncListRes
- type File
- func (s *File) Decode(d *jx.Decoder) error
- func (s *File) Encode(e *jx.Encoder)
- func (s *File) GetAdded() int
- func (s *File) GetPath() string
- func (s *File) GetRemoved() int
- func (s *File) GetStatus() FileStatus
- func (s *File) MarshalJSON() ([]byte, error)
- func (s *File) SetAdded(val int)
- func (s *File) SetPath(val string)
- func (s *File) SetRemoved(val int)
- func (s *File) SetStatus(val FileStatus)
- func (s *File) UnmarshalJSON(data []byte) error
- func (s *File) Validate() error
- type FileContent
- func (s *FileContent) Decode(d *jx.Decoder) error
- func (s *FileContent) Encode(e *jx.Encoder)
- func (s *FileContent) GetContent() string
- func (s *FileContent) GetDiff() OptString
- func (s *FileContent) GetEncoding() OptFileContentEncoding
- func (s *FileContent) GetMimeType() OptString
- func (s *FileContent) GetPatch() OptFileContentPatch
- func (s *FileContent) GetType() FileContentType
- func (s *FileContent) MarshalJSON() ([]byte, error)
- func (s *FileContent) SetContent(val string)
- func (s *FileContent) SetDiff(val OptString)
- func (s *FileContent) SetEncoding(val OptFileContentEncoding)
- func (s *FileContent) SetMimeType(val OptString)
- func (s *FileContent) SetPatch(val OptFileContentPatch)
- func (s *FileContent) SetType(val FileContentType)
- func (s *FileContent) UnmarshalJSON(data []byte) error
- func (s *FileContent) Validate() error
- type FileContentEncoding
- func (FileContentEncoding) AllValues() []FileContentEncoding
- func (s *FileContentEncoding) Decode(d *jx.Decoder) error
- func (s FileContentEncoding) Encode(e *jx.Encoder)
- func (s FileContentEncoding) MarshalJSON() ([]byte, error)
- func (s FileContentEncoding) MarshalText() ([]byte, error)
- func (s *FileContentEncoding) UnmarshalJSON(data []byte) error
- func (s *FileContentEncoding) UnmarshalText(data []byte) error
- func (s FileContentEncoding) Validate() error
- type FileContentPatch
- func (s *FileContentPatch) Decode(d *jx.Decoder) error
- func (s *FileContentPatch) Encode(e *jx.Encoder)
- func (s *FileContentPatch) GetHunks() []FileContentPatchHunksItem
- func (s *FileContentPatch) GetIndex() OptString
- func (s *FileContentPatch) GetNewFileName() string
- func (s *FileContentPatch) GetNewHeader() OptString
- func (s *FileContentPatch) GetOldFileName() string
- func (s *FileContentPatch) GetOldHeader() OptString
- func (s *FileContentPatch) MarshalJSON() ([]byte, error)
- func (s *FileContentPatch) SetHunks(val []FileContentPatchHunksItem)
- func (s *FileContentPatch) SetIndex(val OptString)
- func (s *FileContentPatch) SetNewFileName(val string)
- func (s *FileContentPatch) SetNewHeader(val OptString)
- func (s *FileContentPatch) SetOldFileName(val string)
- func (s *FileContentPatch) SetOldHeader(val OptString)
- func (s *FileContentPatch) UnmarshalJSON(data []byte) error
- func (s *FileContentPatch) Validate() error
- type FileContentPatchHunksItem
- func (s *FileContentPatchHunksItem) Decode(d *jx.Decoder) error
- func (s *FileContentPatchHunksItem) Encode(e *jx.Encoder)
- func (s *FileContentPatchHunksItem) GetLines() []string
- func (s *FileContentPatchHunksItem) GetNewLines() int
- func (s *FileContentPatchHunksItem) GetNewStart() int
- func (s *FileContentPatchHunksItem) GetOldLines() int
- func (s *FileContentPatchHunksItem) GetOldStart() int
- func (s *FileContentPatchHunksItem) MarshalJSON() ([]byte, error)
- func (s *FileContentPatchHunksItem) SetLines(val []string)
- func (s *FileContentPatchHunksItem) SetNewLines(val int)
- func (s *FileContentPatchHunksItem) SetNewStart(val int)
- func (s *FileContentPatchHunksItem) SetOldLines(val int)
- func (s *FileContentPatchHunksItem) SetOldStart(val int)
- func (s *FileContentPatchHunksItem) UnmarshalJSON(data []byte) error
- func (s *FileContentPatchHunksItem) Validate() error
- type FileContentType
- func (FileContentType) AllValues() []FileContentType
- func (s *FileContentType) Decode(d *jx.Decoder) error
- func (s FileContentType) Encode(e *jx.Encoder)
- func (s FileContentType) MarshalJSON() ([]byte, error)
- func (s FileContentType) MarshalText() ([]byte, error)
- func (s *FileContentType) UnmarshalJSON(data []byte) error
- func (s *FileContentType) UnmarshalText(data []byte) error
- func (s FileContentType) Validate() error
- type FileDiff
- func (s *FileDiff) Decode(d *jx.Decoder) error
- func (s *FileDiff) Encode(e *jx.Encoder)
- func (s *FileDiff) GetAdditions() int
- func (s *FileDiff) GetDeletions() int
- func (s *FileDiff) GetPatch() string
- func (s *FileDiff) GetPath() string
- func (s *FileDiff) GetStatus() FileDiffStatus
- func (s *FileDiff) MarshalJSON() ([]byte, error)
- func (s *FileDiff) SetAdditions(val int)
- func (s *FileDiff) SetDeletions(val int)
- func (s *FileDiff) SetPatch(val string)
- func (s *FileDiff) SetPath(val string)
- func (s *FileDiff) SetStatus(val FileDiffStatus)
- func (s *FileDiff) UnmarshalJSON(data []byte) error
- func (s *FileDiff) Validate() error
- type FileDiffStatus
- func (FileDiffStatus) AllValues() []FileDiffStatus
- func (s *FileDiffStatus) Decode(d *jx.Decoder) error
- func (s FileDiffStatus) Encode(e *jx.Encoder)
- func (s FileDiffStatus) MarshalJSON() ([]byte, error)
- func (s FileDiffStatus) MarshalText() ([]byte, error)
- func (s *FileDiffStatus) UnmarshalJSON(data []byte) error
- func (s *FileDiffStatus) UnmarshalText(data []byte) error
- func (s FileDiffStatus) Validate() error
- type FileListOKApplicationJSON
- func (s *FileListOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s FileListOKApplicationJSON) Encode(e *jx.Encoder)
- func (s FileListOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *FileListOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s FileListOKApplicationJSON) Validate() error
- type FileListParams
- type FileListRes
- type FileNode
- func (s *FileNode) Decode(d *jx.Decoder) error
- func (s *FileNode) Encode(e *jx.Encoder)
- func (s *FileNode) GetAbsolute() string
- func (s *FileNode) GetIgnored() bool
- func (s *FileNode) GetName() string
- func (s *FileNode) GetPath() string
- func (s *FileNode) GetType() FileNodeType
- func (s *FileNode) MarshalJSON() ([]byte, error)
- func (s *FileNode) SetAbsolute(val string)
- func (s *FileNode) SetIgnored(val bool)
- func (s *FileNode) SetName(val string)
- func (s *FileNode) SetPath(val string)
- func (s *FileNode) SetType(val FileNodeType)
- func (s *FileNode) UnmarshalJSON(data []byte) error
- func (s *FileNode) Validate() error
- type FileNodeType
- func (FileNodeType) AllValues() []FileNodeType
- func (s *FileNodeType) Decode(d *jx.Decoder) error
- func (s FileNodeType) Encode(e *jx.Encoder)
- func (s FileNodeType) MarshalJSON() ([]byte, error)
- func (s FileNodeType) MarshalText() ([]byte, error)
- func (s *FileNodeType) UnmarshalJSON(data []byte) error
- func (s *FileNodeType) UnmarshalText(data []byte) error
- func (s FileNodeType) Validate() error
- type FileReadParams
- type FileReadRes
- type FileStatus
- func (FileStatus) AllValues() []FileStatus
- func (s *FileStatus) Decode(d *jx.Decoder) error
- func (s FileStatus) Encode(e *jx.Encoder)
- func (s FileStatus) MarshalJSON() ([]byte, error)
- func (s FileStatus) MarshalText() ([]byte, error)
- func (s *FileStatus) UnmarshalJSON(data []byte) error
- func (s *FileStatus) UnmarshalText(data []byte) error
- func (s FileStatus) Validate() error
- type FileStatusOKApplicationJSON
- func (s *FileStatusOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s FileStatusOKApplicationJSON) Encode(e *jx.Encoder)
- func (s FileStatusOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *FileStatusOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s FileStatusOKApplicationJSON) Validate() error
- type FileStatusParams
- type FileStatusRes
- type FileSystemEntry
- func (s *FileSystemEntry) Decode(d *jx.Decoder) error
- func (s *FileSystemEntry) Encode(e *jx.Encoder)
- func (s *FileSystemEntry) GetPath() string
- func (s *FileSystemEntry) GetType() FileSystemEntryType
- func (s *FileSystemEntry) MarshalJSON() ([]byte, error)
- func (s *FileSystemEntry) SetPath(val string)
- func (s *FileSystemEntry) SetType(val FileSystemEntryType)
- func (s *FileSystemEntry) UnmarshalJSON(data []byte) error
- func (s *FileSystemEntry) Validate() error
- type FileSystemEntryType
- func (FileSystemEntryType) AllValues() []FileSystemEntryType
- func (s *FileSystemEntryType) Decode(d *jx.Decoder) error
- func (s FileSystemEntryType) Encode(e *jx.Encoder)
- func (s FileSystemEntryType) MarshalJSON() ([]byte, error)
- func (s FileSystemEntryType) MarshalText() ([]byte, error)
- func (s *FileSystemEntryType) UnmarshalJSON(data []byte) error
- func (s *FileSystemEntryType) UnmarshalText(data []byte) error
- func (s FileSystemEntryType) Validate() error
- type FindFilesDirs
- type FindFilesOKApplicationJSON
- func (s *FindFilesOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s FindFilesOKApplicationJSON) Encode(e *jx.Encoder)
- func (s FindFilesOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *FindFilesOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s FindFilesOKApplicationJSON) Validate() error
- type FindFilesParams
- type FindFilesRes
- type FindFilesType
- type FindSymbolsOKApplicationJSON
- func (s *FindSymbolsOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s FindSymbolsOKApplicationJSON) Encode(e *jx.Encoder)
- func (s FindSymbolsOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *FindSymbolsOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s FindSymbolsOKApplicationJSON) Validate() error
- type FindSymbolsParams
- type FindSymbolsRes
- type FindTextOKApplicationJSON
- func (s *FindTextOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s FindTextOKApplicationJSON) Encode(e *jx.Encoder)
- func (s FindTextOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *FindTextOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s FindTextOKApplicationJSON) Validate() error
- type FindTextOKItem
- func (s *FindTextOKItem) Decode(d *jx.Decoder) error
- func (s *FindTextOKItem) Encode(e *jx.Encoder)
- func (s *FindTextOKItem) GetAbsoluteOffset() int
- func (s *FindTextOKItem) GetLineNumber() int
- func (s *FindTextOKItem) GetLines() FindTextOKItemLines
- func (s *FindTextOKItem) GetPath() FindTextOKItemPath
- func (s *FindTextOKItem) GetSubmatches() []FindTextOKItemSubmatchesItem
- func (s *FindTextOKItem) MarshalJSON() ([]byte, error)
- func (s *FindTextOKItem) SetAbsoluteOffset(val int)
- func (s *FindTextOKItem) SetLineNumber(val int)
- func (s *FindTextOKItem) SetLines(val FindTextOKItemLines)
- func (s *FindTextOKItem) SetPath(val FindTextOKItemPath)
- func (s *FindTextOKItem) SetSubmatches(val []FindTextOKItemSubmatchesItem)
- func (s *FindTextOKItem) UnmarshalJSON(data []byte) error
- func (s *FindTextOKItem) Validate() error
- type FindTextOKItemLines
- func (s *FindTextOKItemLines) Decode(d *jx.Decoder) error
- func (s *FindTextOKItemLines) Encode(e *jx.Encoder)
- func (s *FindTextOKItemLines) GetText() string
- func (s *FindTextOKItemLines) MarshalJSON() ([]byte, error)
- func (s *FindTextOKItemLines) SetText(val string)
- func (s *FindTextOKItemLines) UnmarshalJSON(data []byte) error
- type FindTextOKItemPath
- func (s *FindTextOKItemPath) Decode(d *jx.Decoder) error
- func (s *FindTextOKItemPath) Encode(e *jx.Encoder)
- func (s *FindTextOKItemPath) GetText() string
- func (s *FindTextOKItemPath) MarshalJSON() ([]byte, error)
- func (s *FindTextOKItemPath) SetText(val string)
- func (s *FindTextOKItemPath) UnmarshalJSON(data []byte) error
- type FindTextOKItemSubmatchesItem
- func (s *FindTextOKItemSubmatchesItem) Decode(d *jx.Decoder) error
- func (s *FindTextOKItemSubmatchesItem) Encode(e *jx.Encoder)
- func (s *FindTextOKItemSubmatchesItem) GetEnd() int
- func (s *FindTextOKItemSubmatchesItem) GetMatch() FindTextOKItemSubmatchesItemMatch
- func (s *FindTextOKItemSubmatchesItem) GetStart() int
- func (s *FindTextOKItemSubmatchesItem) MarshalJSON() ([]byte, error)
- func (s *FindTextOKItemSubmatchesItem) SetEnd(val int)
- func (s *FindTextOKItemSubmatchesItem) SetMatch(val FindTextOKItemSubmatchesItemMatch)
- func (s *FindTextOKItemSubmatchesItem) SetStart(val int)
- func (s *FindTextOKItemSubmatchesItem) UnmarshalJSON(data []byte) error
- func (s *FindTextOKItemSubmatchesItem) Validate() error
- type FindTextOKItemSubmatchesItemMatch
- func (s *FindTextOKItemSubmatchesItemMatch) Decode(d *jx.Decoder) error
- func (s *FindTextOKItemSubmatchesItemMatch) Encode(e *jx.Encoder)
- func (s *FindTextOKItemSubmatchesItemMatch) GetText() string
- func (s *FindTextOKItemSubmatchesItemMatch) MarshalJSON() ([]byte, error)
- func (s *FindTextOKItemSubmatchesItemMatch) SetText(val string)
- func (s *FindTextOKItemSubmatchesItemMatch) UnmarshalJSON(data []byte) error
- type FindTextParams
- type FindTextRes
- type ForbiddenError
- func (s *ForbiddenError) Decode(d *jx.Decoder) error
- func (s *ForbiddenError) Encode(e *jx.Encoder)
- func (s *ForbiddenError) GetMessage() string
- func (s *ForbiddenError) GetTag() ForbiddenErrorTag
- func (s *ForbiddenError) MarshalJSON() ([]byte, error)
- func (s *ForbiddenError) SetMessage(val string)
- func (s *ForbiddenError) SetTag(val ForbiddenErrorTag)
- func (s *ForbiddenError) UnmarshalJSON(data []byte) error
- func (s *ForbiddenError) Validate() error
- type ForbiddenErrorTag
- func (ForbiddenErrorTag) AllValues() []ForbiddenErrorTag
- func (s *ForbiddenErrorTag) Decode(d *jx.Decoder) error
- func (s ForbiddenErrorTag) Encode(e *jx.Encoder)
- func (s ForbiddenErrorTag) MarshalJSON() ([]byte, error)
- func (s ForbiddenErrorTag) MarshalText() ([]byte, error)
- func (s *ForbiddenErrorTag) UnmarshalJSON(data []byte) error
- func (s *ForbiddenErrorTag) UnmarshalText(data []byte) error
- func (s ForbiddenErrorTag) Validate() error
- type FormatterStatus
- func (s *FormatterStatus) Decode(d *jx.Decoder) error
- func (s *FormatterStatus) Encode(e *jx.Encoder)
- func (s *FormatterStatus) GetEnabled() bool
- func (s *FormatterStatus) GetExtensions() []string
- func (s *FormatterStatus) GetName() string
- func (s *FormatterStatus) MarshalJSON() ([]byte, error)
- func (s *FormatterStatus) SetEnabled(val bool)
- func (s *FormatterStatus) SetExtensions(val []string)
- func (s *FormatterStatus) SetName(val string)
- func (s *FormatterStatus) UnmarshalJSON(data []byte) error
- func (s *FormatterStatus) Validate() error
- type FormatterStatusOKApplicationJSON
- func (s *FormatterStatusOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s FormatterStatusOKApplicationJSON) Encode(e *jx.Encoder)
- func (s FormatterStatusOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *FormatterStatusOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s FormatterStatusOKApplicationJSON) Validate() error
- type FormatterStatusParams
- type FormatterStatusRes
- type GlobalDisposeOKApplicationJSON
- type GlobalDisposeRes
- type GlobalHealthOK
- func (s *GlobalHealthOK) Decode(d *jx.Decoder) error
- func (s *GlobalHealthOK) Encode(e *jx.Encoder)
- func (s *GlobalHealthOK) GetHealthy() GlobalHealthOKHealthy
- func (s *GlobalHealthOK) GetVersion() string
- func (s *GlobalHealthOK) MarshalJSON() ([]byte, error)
- func (s *GlobalHealthOK) SetHealthy(val GlobalHealthOKHealthy)
- func (s *GlobalHealthOK) SetVersion(val string)
- func (s *GlobalHealthOK) UnmarshalJSON(data []byte) error
- func (s *GlobalHealthOK) Validate() error
- type GlobalHealthOKHealthy
- func (GlobalHealthOKHealthy) AllValues() []GlobalHealthOKHealthy
- func (s *GlobalHealthOKHealthy) Decode(d *jx.Decoder) error
- func (s GlobalHealthOKHealthy) Encode(e *jx.Encoder)
- func (s GlobalHealthOKHealthy) MarshalJSON() ([]byte, error)
- func (s *GlobalHealthOKHealthy) UnmarshalJSON(data []byte) error
- func (s GlobalHealthOKHealthy) Validate() error
- type GlobalHealthRes
- type GlobalSession
- func (s *GlobalSession) Decode(d *jx.Decoder) error
- func (s *GlobalSession) Encode(e *jx.Encoder)
- func (s *GlobalSession) GetAgent() OptString
- func (s *GlobalSession) GetCost() OptFloat64
- func (s *GlobalSession) GetDirectory() string
- func (s *GlobalSession) GetID() string
- func (s *GlobalSession) GetMetadata() *GlobalSessionMetadata
- func (s *GlobalSession) GetModel() OptGlobalSessionModel
- func (s *GlobalSession) GetParentID() OptString
- func (s *GlobalSession) GetPath() OptString
- func (s *GlobalSession) GetPermission() PermissionRuleset
- func (s *GlobalSession) GetProject() NilProjectSummary
- func (s *GlobalSession) GetProjectID() string
- func (s *GlobalSession) GetRevert() OptGlobalSessionRevert
- func (s *GlobalSession) GetShare() OptGlobalSessionShare
- func (s *GlobalSession) GetSlug() string
- func (s *GlobalSession) GetSummary() OptGlobalSessionSummary
- func (s *GlobalSession) GetTime() GlobalSessionTime
- func (s *GlobalSession) GetTitle() string
- func (s *GlobalSession) GetTokens() OptGlobalSessionTokens
- func (s *GlobalSession) GetVersion() string
- func (s *GlobalSession) GetWorkspaceID() OptString
- func (s *GlobalSession) MarshalJSON() ([]byte, error)
- func (s *GlobalSession) SetAgent(val OptString)
- func (s *GlobalSession) SetCost(val OptFloat64)
- func (s *GlobalSession) SetDirectory(val string)
- func (s *GlobalSession) SetID(val string)
- func (s *GlobalSession) SetMetadata(val *GlobalSessionMetadata)
- func (s *GlobalSession) SetModel(val OptGlobalSessionModel)
- func (s *GlobalSession) SetParentID(val OptString)
- func (s *GlobalSession) SetPath(val OptString)
- func (s *GlobalSession) SetPermission(val PermissionRuleset)
- func (s *GlobalSession) SetProject(val NilProjectSummary)
- func (s *GlobalSession) SetProjectID(val string)
- func (s *GlobalSession) SetRevert(val OptGlobalSessionRevert)
- func (s *GlobalSession) SetShare(val OptGlobalSessionShare)
- func (s *GlobalSession) SetSlug(val string)
- func (s *GlobalSession) SetSummary(val OptGlobalSessionSummary)
- func (s *GlobalSession) SetTime(val GlobalSessionTime)
- func (s *GlobalSession) SetTitle(val string)
- func (s *GlobalSession) SetTokens(val OptGlobalSessionTokens)
- func (s *GlobalSession) SetVersion(val string)
- func (s *GlobalSession) SetWorkspaceID(val OptString)
- func (s *GlobalSession) UnmarshalJSON(data []byte) error
- func (s *GlobalSession) Validate() error
- type GlobalSessionMetadata
- type GlobalSessionModel
- func (s *GlobalSessionModel) Decode(d *jx.Decoder) error
- func (s *GlobalSessionModel) Encode(e *jx.Encoder)
- func (s *GlobalSessionModel) GetID() string
- func (s *GlobalSessionModel) GetProviderID() string
- func (s *GlobalSessionModel) GetVariant() OptString
- func (s *GlobalSessionModel) MarshalJSON() ([]byte, error)
- func (s *GlobalSessionModel) SetID(val string)
- func (s *GlobalSessionModel) SetProviderID(val string)
- func (s *GlobalSessionModel) SetVariant(val OptString)
- func (s *GlobalSessionModel) UnmarshalJSON(data []byte) error
- type GlobalSessionRevert
- func (s *GlobalSessionRevert) Decode(d *jx.Decoder) error
- func (s *GlobalSessionRevert) Encode(e *jx.Encoder)
- func (s *GlobalSessionRevert) GetDiff() OptString
- func (s *GlobalSessionRevert) GetMessageID() string
- func (s *GlobalSessionRevert) GetPartID() OptString
- func (s *GlobalSessionRevert) GetSnapshot() OptString
- func (s *GlobalSessionRevert) MarshalJSON() ([]byte, error)
- func (s *GlobalSessionRevert) SetDiff(val OptString)
- func (s *GlobalSessionRevert) SetMessageID(val string)
- func (s *GlobalSessionRevert) SetPartID(val OptString)
- func (s *GlobalSessionRevert) SetSnapshot(val OptString)
- func (s *GlobalSessionRevert) UnmarshalJSON(data []byte) error
- func (s *GlobalSessionRevert) Validate() error
- type GlobalSessionShare
- func (s *GlobalSessionShare) Decode(d *jx.Decoder) error
- func (s *GlobalSessionShare) Encode(e *jx.Encoder)
- func (s *GlobalSessionShare) GetURL() string
- func (s *GlobalSessionShare) MarshalJSON() ([]byte, error)
- func (s *GlobalSessionShare) SetURL(val string)
- func (s *GlobalSessionShare) UnmarshalJSON(data []byte) error
- type GlobalSessionSummary
- func (s *GlobalSessionSummary) Decode(d *jx.Decoder) error
- func (s *GlobalSessionSummary) Encode(e *jx.Encoder)
- func (s *GlobalSessionSummary) GetAdditions() float64
- func (s *GlobalSessionSummary) GetDeletions() float64
- func (s *GlobalSessionSummary) GetDiffs() []SnapshotFileDiff
- func (s *GlobalSessionSummary) GetFiles() float64
- func (s *GlobalSessionSummary) MarshalJSON() ([]byte, error)
- func (s *GlobalSessionSummary) SetAdditions(val float64)
- func (s *GlobalSessionSummary) SetDeletions(val float64)
- func (s *GlobalSessionSummary) SetDiffs(val []SnapshotFileDiff)
- func (s *GlobalSessionSummary) SetFiles(val float64)
- func (s *GlobalSessionSummary) UnmarshalJSON(data []byte) error
- func (s *GlobalSessionSummary) Validate() error
- type GlobalSessionTime
- func (s *GlobalSessionTime) Decode(d *jx.Decoder) error
- func (s *GlobalSessionTime) Encode(e *jx.Encoder)
- func (s *GlobalSessionTime) GetArchived() OptFloat64
- func (s *GlobalSessionTime) GetCompacting() OptInt
- func (s *GlobalSessionTime) GetCreated() int
- func (s *GlobalSessionTime) GetUpdated() int
- func (s *GlobalSessionTime) MarshalJSON() ([]byte, error)
- func (s *GlobalSessionTime) SetArchived(val OptFloat64)
- func (s *GlobalSessionTime) SetCompacting(val OptInt)
- func (s *GlobalSessionTime) SetCreated(val int)
- func (s *GlobalSessionTime) SetUpdated(val int)
- func (s *GlobalSessionTime) UnmarshalJSON(data []byte) error
- func (s *GlobalSessionTime) Validate() error
- type GlobalSessionTokens
- func (s *GlobalSessionTokens) Decode(d *jx.Decoder) error
- func (s *GlobalSessionTokens) Encode(e *jx.Encoder)
- func (s *GlobalSessionTokens) GetCache() GlobalSessionTokensCache
- func (s *GlobalSessionTokens) GetInput() float64
- func (s *GlobalSessionTokens) GetOutput() float64
- func (s *GlobalSessionTokens) GetReasoning() float64
- func (s *GlobalSessionTokens) MarshalJSON() ([]byte, error)
- func (s *GlobalSessionTokens) SetCache(val GlobalSessionTokensCache)
- func (s *GlobalSessionTokens) SetInput(val float64)
- func (s *GlobalSessionTokens) SetOutput(val float64)
- func (s *GlobalSessionTokens) SetReasoning(val float64)
- func (s *GlobalSessionTokens) UnmarshalJSON(data []byte) error
- func (s *GlobalSessionTokens) Validate() error
- type GlobalSessionTokensCache
- func (s *GlobalSessionTokensCache) Decode(d *jx.Decoder) error
- func (s *GlobalSessionTokensCache) Encode(e *jx.Encoder)
- func (s *GlobalSessionTokensCache) GetRead() float64
- func (s *GlobalSessionTokensCache) GetWrite() float64
- func (s *GlobalSessionTokensCache) MarshalJSON() ([]byte, error)
- func (s *GlobalSessionTokensCache) SetRead(val float64)
- func (s *GlobalSessionTokensCache) SetWrite(val float64)
- func (s *GlobalSessionTokensCache) UnmarshalJSON(data []byte) error
- func (s *GlobalSessionTokensCache) Validate() error
- type InstanceDisposeOKApplicationJSON
- type InstanceDisposeParams
- type InstanceDisposeRes
- type InvalidRequestError
- func (s *InvalidRequestError) Decode(d *jx.Decoder) error
- func (s *InvalidRequestError) Encode(e *jx.Encoder)
- func (s *InvalidRequestError) GetField() OptString
- func (s *InvalidRequestError) GetKind() OptString
- func (s *InvalidRequestError) GetMessage() string
- func (s *InvalidRequestError) GetTag() InvalidRequestErrorTag
- func (s *InvalidRequestError) MarshalJSON() ([]byte, error)
- func (s *InvalidRequestError) SetField(val OptString)
- func (s *InvalidRequestError) SetKind(val OptString)
- func (s *InvalidRequestError) SetMessage(val string)
- func (s *InvalidRequestError) SetTag(val InvalidRequestErrorTag)
- func (s *InvalidRequestError) UnmarshalJSON(data []byte) error
- func (s *InvalidRequestError) Validate() error
- type InvalidRequestErrorTag
- func (InvalidRequestErrorTag) AllValues() []InvalidRequestErrorTag
- func (s *InvalidRequestErrorTag) Decode(d *jx.Decoder) error
- func (s InvalidRequestErrorTag) Encode(e *jx.Encoder)
- func (s InvalidRequestErrorTag) MarshalJSON() ([]byte, error)
- func (s InvalidRequestErrorTag) MarshalText() ([]byte, error)
- func (s *InvalidRequestErrorTag) UnmarshalJSON(data []byte) error
- func (s *InvalidRequestErrorTag) UnmarshalText(data []byte) error
- func (s InvalidRequestErrorTag) Validate() error
- type Invoker
- type LSPStatus
- func (s *LSPStatus) Decode(d *jx.Decoder) error
- func (s *LSPStatus) Encode(e *jx.Encoder)
- func (s *LSPStatus) GetID() string
- func (s *LSPStatus) GetName() string
- func (s *LSPStatus) GetRoot() string
- func (s *LSPStatus) GetStatus() LSPStatusStatus
- func (s *LSPStatus) MarshalJSON() ([]byte, error)
- func (s *LSPStatus) SetID(val string)
- func (s *LSPStatus) SetName(val string)
- func (s *LSPStatus) SetRoot(val string)
- func (s *LSPStatus) SetStatus(val LSPStatusStatus)
- func (s *LSPStatus) UnmarshalJSON(data []byte) error
- func (s *LSPStatus) Validate() error
- type LSPStatusStatus
- func (LSPStatusStatus) AllValues() []LSPStatusStatus
- func (s *LSPStatusStatus) Decode(d *jx.Decoder) error
- func (s LSPStatusStatus) Encode(e *jx.Encoder)
- func (s LSPStatusStatus) MarshalJSON() ([]byte, error)
- func (s LSPStatusStatus) MarshalText() ([]byte, error)
- func (s *LSPStatusStatus) UnmarshalJSON(data []byte) error
- func (s *LSPStatusStatus) UnmarshalText(data []byte) error
- func (s LSPStatusStatus) Validate() error
- type LocationInfo
- func (s *LocationInfo) Decode(d *jx.Decoder) error
- func (s *LocationInfo) Encode(e *jx.Encoder)
- func (s *LocationInfo) GetDirectory() string
- func (s *LocationInfo) GetProject() LocationInfoProject
- func (s *LocationInfo) GetWorkspaceID() OptString
- func (s *LocationInfo) MarshalJSON() ([]byte, error)
- func (s *LocationInfo) SetDirectory(val string)
- func (s *LocationInfo) SetProject(val LocationInfoProject)
- func (s *LocationInfo) SetWorkspaceID(val OptString)
- func (s *LocationInfo) UnmarshalJSON(data []byte) error
- func (s *LocationInfo) Validate() error
- type LocationInfoProject
- func (s *LocationInfoProject) Decode(d *jx.Decoder) error
- func (s *LocationInfoProject) Encode(e *jx.Encoder)
- func (s *LocationInfoProject) GetDirectory() string
- func (s *LocationInfoProject) GetID() string
- func (s *LocationInfoProject) MarshalJSON() ([]byte, error)
- func (s *LocationInfoProject) SetDirectory(val string)
- func (s *LocationInfoProject) SetID(val string)
- func (s *LocationInfoProject) UnmarshalJSON(data []byte) error
- type LocationRef
- func (s *LocationRef) Decode(d *jx.Decoder) error
- func (s *LocationRef) Encode(e *jx.Encoder)
- func (s *LocationRef) GetDirectory() string
- func (s *LocationRef) GetWorkspaceID() OptString
- func (s *LocationRef) MarshalJSON() ([]byte, error)
- func (s *LocationRef) SetDirectory(val string)
- func (s *LocationRef) SetWorkspaceID(val OptString)
- func (s *LocationRef) UnmarshalJSON(data []byte) error
- func (s *LocationRef) Validate() error
- type LspStatusOKApplicationJSON
- func (s *LspStatusOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s LspStatusOKApplicationJSON) Encode(e *jx.Encoder)
- func (s LspStatusOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *LspStatusOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s LspStatusOKApplicationJSON) Validate() error
- type LspStatusParams
- type LspStatusRes
- type McpAuthRemoveOK
- func (s *McpAuthRemoveOK) Decode(d *jx.Decoder) error
- func (s *McpAuthRemoveOK) Encode(e *jx.Encoder)
- func (s *McpAuthRemoveOK) GetSuccess() McpAuthRemoveOKSuccess
- func (s *McpAuthRemoveOK) MarshalJSON() ([]byte, error)
- func (s *McpAuthRemoveOK) SetSuccess(val McpAuthRemoveOKSuccess)
- func (s *McpAuthRemoveOK) UnmarshalJSON(data []byte) error
- func (s *McpAuthRemoveOK) Validate() error
- type McpAuthRemoveOKSuccess
- func (McpAuthRemoveOKSuccess) AllValues() []McpAuthRemoveOKSuccess
- func (s *McpAuthRemoveOKSuccess) Decode(d *jx.Decoder) error
- func (s McpAuthRemoveOKSuccess) Encode(e *jx.Encoder)
- func (s McpAuthRemoveOKSuccess) MarshalJSON() ([]byte, error)
- func (s *McpAuthRemoveOKSuccess) UnmarshalJSON(data []byte) error
- func (s McpAuthRemoveOKSuccess) Validate() error
- type McpAuthRemoveParams
- type McpAuthRemoveRes
- type McpConnectOKApplicationJSON
- type McpConnectParams
- type McpConnectRes
- type McpDisconnectOKApplicationJSON
- type McpDisconnectParams
- type McpDisconnectRes
- type McpResource
- func (s *McpResource) Decode(d *jx.Decoder) error
- func (s *McpResource) Encode(e *jx.Encoder)
- func (s *McpResource) GetClient() string
- func (s *McpResource) GetDescription() OptString
- func (s *McpResource) GetMimeType() OptString
- func (s *McpResource) GetName() string
- func (s *McpResource) GetURI() string
- func (s *McpResource) MarshalJSON() ([]byte, error)
- func (s *McpResource) SetClient(val string)
- func (s *McpResource) SetDescription(val OptString)
- func (s *McpResource) SetMimeType(val OptString)
- func (s *McpResource) SetName(val string)
- func (s *McpResource) SetURI(val string)
- func (s *McpResource) UnmarshalJSON(data []byte) error
- type McpServerNotFoundError
- func (s *McpServerNotFoundError) Decode(d *jx.Decoder) error
- func (s *McpServerNotFoundError) Encode(e *jx.Encoder)
- func (s *McpServerNotFoundError) GetMessage() string
- func (s *McpServerNotFoundError) GetName() string
- func (s *McpServerNotFoundError) GetTag() McpServerNotFoundErrorTag
- func (s *McpServerNotFoundError) MarshalJSON() ([]byte, error)
- func (s *McpServerNotFoundError) SetMessage(val string)
- func (s *McpServerNotFoundError) SetName(val string)
- func (s *McpServerNotFoundError) SetTag(val McpServerNotFoundErrorTag)
- func (s *McpServerNotFoundError) UnmarshalJSON(data []byte) error
- func (s *McpServerNotFoundError) Validate() error
- type McpServerNotFoundErrorTag
- func (McpServerNotFoundErrorTag) AllValues() []McpServerNotFoundErrorTag
- func (s *McpServerNotFoundErrorTag) Decode(d *jx.Decoder) error
- func (s McpServerNotFoundErrorTag) Encode(e *jx.Encoder)
- func (s McpServerNotFoundErrorTag) MarshalJSON() ([]byte, error)
- func (s McpServerNotFoundErrorTag) MarshalText() ([]byte, error)
- func (s *McpServerNotFoundErrorTag) UnmarshalJSON(data []byte) error
- func (s *McpServerNotFoundErrorTag) UnmarshalText(data []byte) error
- func (s McpServerNotFoundErrorTag) Validate() error
- type Model
- func (s *Model) Decode(d *jx.Decoder) error
- func (s *Model) Encode(e *jx.Encoder)
- func (s *Model) GetAPI() ModelAPI
- func (s *Model) GetCapabilities() ModelCapabilities
- func (s *Model) GetCost() ModelCost
- func (s *Model) GetFamily() OptString
- func (s *Model) GetHeaders() ModelHeaders
- func (s *Model) GetID() string
- func (s *Model) GetLimit() ModelLimit
- func (s *Model) GetName() string
- func (s *Model) GetOptions() ModelOptions
- func (s *Model) GetProviderID() string
- func (s *Model) GetReleaseDate() string
- func (s *Model) GetStatus() ModelStatus
- func (s *Model) GetVariants() OptModelVariants
- func (s *Model) MarshalJSON() ([]byte, error)
- func (s *Model) SetAPI(val ModelAPI)
- func (s *Model) SetCapabilities(val ModelCapabilities)
- func (s *Model) SetCost(val ModelCost)
- func (s *Model) SetFamily(val OptString)
- func (s *Model) SetHeaders(val ModelHeaders)
- func (s *Model) SetID(val string)
- func (s *Model) SetLimit(val ModelLimit)
- func (s *Model) SetName(val string)
- func (s *Model) SetOptions(val ModelOptions)
- func (s *Model) SetProviderID(val string)
- func (s *Model) SetReleaseDate(val string)
- func (s *Model) SetStatus(val ModelStatus)
- func (s *Model) SetVariants(val OptModelVariants)
- func (s *Model) UnmarshalJSON(data []byte) error
- func (s *Model) Validate() error
- type ModelAPI
- func (s *ModelAPI) Decode(d *jx.Decoder) error
- func (s *ModelAPI) Encode(e *jx.Encoder)
- func (s *ModelAPI) GetID() string
- func (s *ModelAPI) GetNpm() string
- func (s *ModelAPI) GetURL() string
- func (s *ModelAPI) MarshalJSON() ([]byte, error)
- func (s *ModelAPI) SetID(val string)
- func (s *ModelAPI) SetNpm(val string)
- func (s *ModelAPI) SetURL(val string)
- func (s *ModelAPI) UnmarshalJSON(data []byte) error
- type ModelCapabilities
- func (s *ModelCapabilities) Decode(d *jx.Decoder) error
- func (s *ModelCapabilities) Encode(e *jx.Encoder)
- func (s *ModelCapabilities) GetAttachment() bool
- func (s *ModelCapabilities) GetInput() ModelCapabilitiesInput
- func (s *ModelCapabilities) GetInterleaved() ModelCapabilitiesInterleaved
- func (s *ModelCapabilities) GetOutput() ModelCapabilitiesOutput
- func (s *ModelCapabilities) GetReasoning() bool
- func (s *ModelCapabilities) GetTemperature() bool
- func (s *ModelCapabilities) GetToolcall() bool
- func (s *ModelCapabilities) MarshalJSON() ([]byte, error)
- func (s *ModelCapabilities) SetAttachment(val bool)
- func (s *ModelCapabilities) SetInput(val ModelCapabilitiesInput)
- func (s *ModelCapabilities) SetInterleaved(val ModelCapabilitiesInterleaved)
- func (s *ModelCapabilities) SetOutput(val ModelCapabilitiesOutput)
- func (s *ModelCapabilities) SetReasoning(val bool)
- func (s *ModelCapabilities) SetTemperature(val bool)
- func (s *ModelCapabilities) SetToolcall(val bool)
- func (s *ModelCapabilities) UnmarshalJSON(data []byte) error
- func (s *ModelCapabilities) Validate() error
- type ModelCapabilitiesInput
- func (s *ModelCapabilitiesInput) Decode(d *jx.Decoder) error
- func (s *ModelCapabilitiesInput) Encode(e *jx.Encoder)
- func (s *ModelCapabilitiesInput) GetAudio() bool
- func (s *ModelCapabilitiesInput) GetImage() bool
- func (s *ModelCapabilitiesInput) GetPdf() bool
- func (s *ModelCapabilitiesInput) GetText() bool
- func (s *ModelCapabilitiesInput) GetVideo() bool
- func (s *ModelCapabilitiesInput) MarshalJSON() ([]byte, error)
- func (s *ModelCapabilitiesInput) SetAudio(val bool)
- func (s *ModelCapabilitiesInput) SetImage(val bool)
- func (s *ModelCapabilitiesInput) SetPdf(val bool)
- func (s *ModelCapabilitiesInput) SetText(val bool)
- func (s *ModelCapabilitiesInput) SetVideo(val bool)
- func (s *ModelCapabilitiesInput) UnmarshalJSON(data []byte) error
- type ModelCapabilitiesInterleaved
- func (s *ModelCapabilitiesInterleaved) Decode(d *jx.Decoder) error
- func (s ModelCapabilitiesInterleaved) Encode(e *jx.Encoder)
- func (s ModelCapabilitiesInterleaved) GetBool() (v bool, ok bool)
- func (s ModelCapabilitiesInterleaved) GetModelCapabilitiesInterleaved1() (v ModelCapabilitiesInterleaved1, ok bool)
- func (s ModelCapabilitiesInterleaved) IsBool() bool
- func (s ModelCapabilitiesInterleaved) IsModelCapabilitiesInterleaved1() bool
- func (s ModelCapabilitiesInterleaved) MarshalJSON() ([]byte, error)
- func (s *ModelCapabilitiesInterleaved) SetBool(v bool)
- func (s *ModelCapabilitiesInterleaved) SetModelCapabilitiesInterleaved1(v ModelCapabilitiesInterleaved1)
- func (s *ModelCapabilitiesInterleaved) UnmarshalJSON(data []byte) error
- func (s ModelCapabilitiesInterleaved) Validate() error
- type ModelCapabilitiesInterleaved1
- func (s *ModelCapabilitiesInterleaved1) Decode(d *jx.Decoder) error
- func (s *ModelCapabilitiesInterleaved1) Encode(e *jx.Encoder)
- func (s *ModelCapabilitiesInterleaved1) GetField() ModelCapabilitiesInterleaved1Field
- func (s *ModelCapabilitiesInterleaved1) MarshalJSON() ([]byte, error)
- func (s *ModelCapabilitiesInterleaved1) SetField(val ModelCapabilitiesInterleaved1Field)
- func (s *ModelCapabilitiesInterleaved1) UnmarshalJSON(data []byte) error
- func (s *ModelCapabilitiesInterleaved1) Validate() error
- type ModelCapabilitiesInterleaved1Field
- func (ModelCapabilitiesInterleaved1Field) AllValues() []ModelCapabilitiesInterleaved1Field
- func (s *ModelCapabilitiesInterleaved1Field) Decode(d *jx.Decoder) error
- func (s ModelCapabilitiesInterleaved1Field) Encode(e *jx.Encoder)
- func (s ModelCapabilitiesInterleaved1Field) MarshalJSON() ([]byte, error)
- func (s ModelCapabilitiesInterleaved1Field) MarshalText() ([]byte, error)
- func (s *ModelCapabilitiesInterleaved1Field) UnmarshalJSON(data []byte) error
- func (s *ModelCapabilitiesInterleaved1Field) UnmarshalText(data []byte) error
- func (s ModelCapabilitiesInterleaved1Field) Validate() error
- type ModelCapabilitiesInterleavedType
- type ModelCapabilitiesOutput
- func (s *ModelCapabilitiesOutput) Decode(d *jx.Decoder) error
- func (s *ModelCapabilitiesOutput) Encode(e *jx.Encoder)
- func (s *ModelCapabilitiesOutput) GetAudio() bool
- func (s *ModelCapabilitiesOutput) GetImage() bool
- func (s *ModelCapabilitiesOutput) GetPdf() bool
- func (s *ModelCapabilitiesOutput) GetText() bool
- func (s *ModelCapabilitiesOutput) GetVideo() bool
- func (s *ModelCapabilitiesOutput) MarshalJSON() ([]byte, error)
- func (s *ModelCapabilitiesOutput) SetAudio(val bool)
- func (s *ModelCapabilitiesOutput) SetImage(val bool)
- func (s *ModelCapabilitiesOutput) SetPdf(val bool)
- func (s *ModelCapabilitiesOutput) SetText(val bool)
- func (s *ModelCapabilitiesOutput) SetVideo(val bool)
- func (s *ModelCapabilitiesOutput) UnmarshalJSON(data []byte) error
- type ModelCost
- func (s *ModelCost) Decode(d *jx.Decoder) error
- func (s *ModelCost) Encode(e *jx.Encoder)
- func (s *ModelCost) GetCache() ModelCostCache
- func (s *ModelCost) GetExperimentalOver200K() OptModelCostExperimentalOver200K
- func (s *ModelCost) GetInput() float64
- func (s *ModelCost) GetOutput() float64
- func (s *ModelCost) GetTiers() []ModelCostTiersItem
- func (s *ModelCost) MarshalJSON() ([]byte, error)
- func (s *ModelCost) SetCache(val ModelCostCache)
- func (s *ModelCost) SetExperimentalOver200K(val OptModelCostExperimentalOver200K)
- func (s *ModelCost) SetInput(val float64)
- func (s *ModelCost) SetOutput(val float64)
- func (s *ModelCost) SetTiers(val []ModelCostTiersItem)
- func (s *ModelCost) UnmarshalJSON(data []byte) error
- func (s *ModelCost) Validate() error
- type ModelCostCache
- func (s *ModelCostCache) Decode(d *jx.Decoder) error
- func (s *ModelCostCache) Encode(e *jx.Encoder)
- func (s *ModelCostCache) GetRead() float64
- func (s *ModelCostCache) GetWrite() float64
- func (s *ModelCostCache) MarshalJSON() ([]byte, error)
- func (s *ModelCostCache) SetRead(val float64)
- func (s *ModelCostCache) SetWrite(val float64)
- func (s *ModelCostCache) UnmarshalJSON(data []byte) error
- func (s *ModelCostCache) Validate() error
- type ModelCostExperimentalOver200K
- func (s *ModelCostExperimentalOver200K) Decode(d *jx.Decoder) error
- func (s *ModelCostExperimentalOver200K) Encode(e *jx.Encoder)
- func (s *ModelCostExperimentalOver200K) GetCache() ModelCostExperimentalOver200KCache
- func (s *ModelCostExperimentalOver200K) GetInput() float64
- func (s *ModelCostExperimentalOver200K) GetOutput() float64
- func (s *ModelCostExperimentalOver200K) MarshalJSON() ([]byte, error)
- func (s *ModelCostExperimentalOver200K) SetCache(val ModelCostExperimentalOver200KCache)
- func (s *ModelCostExperimentalOver200K) SetInput(val float64)
- func (s *ModelCostExperimentalOver200K) SetOutput(val float64)
- func (s *ModelCostExperimentalOver200K) UnmarshalJSON(data []byte) error
- func (s *ModelCostExperimentalOver200K) Validate() error
- type ModelCostExperimentalOver200KCache
- func (s *ModelCostExperimentalOver200KCache) Decode(d *jx.Decoder) error
- func (s *ModelCostExperimentalOver200KCache) Encode(e *jx.Encoder)
- func (s *ModelCostExperimentalOver200KCache) GetRead() float64
- func (s *ModelCostExperimentalOver200KCache) GetWrite() float64
- func (s *ModelCostExperimentalOver200KCache) MarshalJSON() ([]byte, error)
- func (s *ModelCostExperimentalOver200KCache) SetRead(val float64)
- func (s *ModelCostExperimentalOver200KCache) SetWrite(val float64)
- func (s *ModelCostExperimentalOver200KCache) UnmarshalJSON(data []byte) error
- func (s *ModelCostExperimentalOver200KCache) Validate() error
- type ModelCostTiersItem
- func (s *ModelCostTiersItem) Decode(d *jx.Decoder) error
- func (s *ModelCostTiersItem) Encode(e *jx.Encoder)
- func (s *ModelCostTiersItem) GetCache() ModelCostTiersItemCache
- func (s *ModelCostTiersItem) GetInput() float64
- func (s *ModelCostTiersItem) GetOutput() float64
- func (s *ModelCostTiersItem) GetTier() ModelCostTiersItemTier
- func (s *ModelCostTiersItem) MarshalJSON() ([]byte, error)
- func (s *ModelCostTiersItem) SetCache(val ModelCostTiersItemCache)
- func (s *ModelCostTiersItem) SetInput(val float64)
- func (s *ModelCostTiersItem) SetOutput(val float64)
- func (s *ModelCostTiersItem) SetTier(val ModelCostTiersItemTier)
- func (s *ModelCostTiersItem) UnmarshalJSON(data []byte) error
- func (s *ModelCostTiersItem) Validate() error
- type ModelCostTiersItemCache
- func (s *ModelCostTiersItemCache) Decode(d *jx.Decoder) error
- func (s *ModelCostTiersItemCache) Encode(e *jx.Encoder)
- func (s *ModelCostTiersItemCache) GetRead() float64
- func (s *ModelCostTiersItemCache) GetWrite() float64
- func (s *ModelCostTiersItemCache) MarshalJSON() ([]byte, error)
- func (s *ModelCostTiersItemCache) SetRead(val float64)
- func (s *ModelCostTiersItemCache) SetWrite(val float64)
- func (s *ModelCostTiersItemCache) UnmarshalJSON(data []byte) error
- func (s *ModelCostTiersItemCache) Validate() error
- type ModelCostTiersItemTier
- func (s *ModelCostTiersItemTier) Decode(d *jx.Decoder) error
- func (s *ModelCostTiersItemTier) Encode(e *jx.Encoder)
- func (s *ModelCostTiersItemTier) GetSize() float64
- func (s *ModelCostTiersItemTier) GetType() ModelCostTiersItemTierType
- func (s *ModelCostTiersItemTier) MarshalJSON() ([]byte, error)
- func (s *ModelCostTiersItemTier) SetSize(val float64)
- func (s *ModelCostTiersItemTier) SetType(val ModelCostTiersItemTierType)
- func (s *ModelCostTiersItemTier) UnmarshalJSON(data []byte) error
- func (s *ModelCostTiersItemTier) Validate() error
- type ModelCostTiersItemTierType
- func (ModelCostTiersItemTierType) AllValues() []ModelCostTiersItemTierType
- func (s *ModelCostTiersItemTierType) Decode(d *jx.Decoder) error
- func (s ModelCostTiersItemTierType) Encode(e *jx.Encoder)
- func (s ModelCostTiersItemTierType) MarshalJSON() ([]byte, error)
- func (s ModelCostTiersItemTierType) MarshalText() ([]byte, error)
- func (s *ModelCostTiersItemTierType) UnmarshalJSON(data []byte) error
- func (s *ModelCostTiersItemTierType) UnmarshalText(data []byte) error
- func (s ModelCostTiersItemTierType) Validate() error
- type ModelHeaders
- type ModelLimit
- func (s *ModelLimit) Decode(d *jx.Decoder) error
- func (s *ModelLimit) Encode(e *jx.Encoder)
- func (s *ModelLimit) GetContext() float64
- func (s *ModelLimit) GetInput() OptFloat64
- func (s *ModelLimit) GetOutput() float64
- func (s *ModelLimit) MarshalJSON() ([]byte, error)
- func (s *ModelLimit) SetContext(val float64)
- func (s *ModelLimit) SetInput(val OptFloat64)
- func (s *ModelLimit) SetOutput(val float64)
- func (s *ModelLimit) UnmarshalJSON(data []byte) error
- func (s *ModelLimit) Validate() error
- type ModelOptions
- type ModelRef
- func (s *ModelRef) Decode(d *jx.Decoder) error
- func (s *ModelRef) Encode(e *jx.Encoder)
- func (s *ModelRef) GetID() string
- func (s *ModelRef) GetProviderID() string
- func (s *ModelRef) GetVariant() OptString
- func (s *ModelRef) MarshalJSON() ([]byte, error)
- func (s *ModelRef) SetID(val string)
- func (s *ModelRef) SetProviderID(val string)
- func (s *ModelRef) SetVariant(val OptString)
- func (s *ModelRef) UnmarshalJSON(data []byte) error
- type ModelStatus
- func (ModelStatus) AllValues() []ModelStatus
- func (s *ModelStatus) Decode(d *jx.Decoder) error
- func (s ModelStatus) Encode(e *jx.Encoder)
- func (s ModelStatus) MarshalJSON() ([]byte, error)
- func (s ModelStatus) MarshalText() ([]byte, error)
- func (s *ModelStatus) UnmarshalJSON(data []byte) error
- func (s *ModelStatus) UnmarshalText(data []byte) error
- func (s ModelStatus) Validate() error
- type ModelVariants
- type ModelVariantsItem
- type NilProjectSummary
- func (o *NilProjectSummary) Decode(d *jx.Decoder) error
- func (o NilProjectSummary) Encode(e *jx.Encoder)
- func (o NilProjectSummary) Get() (v ProjectSummary, ok bool)
- func (o NilProjectSummary) IsNull() bool
- func (s NilProjectSummary) MarshalJSON() ([]byte, error)
- func (o NilProjectSummary) Or(d ProjectSummary) ProjectSummary
- func (o *NilProjectSummary) SetTo(v ProjectSummary)
- func (o *NilProjectSummary) SetToNull()
- func (s *NilProjectSummary) UnmarshalJSON(data []byte) error
- type NotFoundError
- func (s *NotFoundError) Decode(d *jx.Decoder) error
- func (s *NotFoundError) Encode(e *jx.Encoder)
- func (s *NotFoundError) GetData() NotFoundErrorData
- func (s *NotFoundError) GetName() NotFoundErrorName
- func (s *NotFoundError) MarshalJSON() ([]byte, error)
- func (s *NotFoundError) SetData(val NotFoundErrorData)
- func (s *NotFoundError) SetName(val NotFoundErrorName)
- func (s *NotFoundError) UnmarshalJSON(data []byte) error
- func (s *NotFoundError) Validate() error
- type NotFoundErrorData
- func (s *NotFoundErrorData) Decode(d *jx.Decoder) error
- func (s *NotFoundErrorData) Encode(e *jx.Encoder)
- func (s *NotFoundErrorData) GetMessage() string
- func (s *NotFoundErrorData) MarshalJSON() ([]byte, error)
- func (s *NotFoundErrorData) SetMessage(val string)
- func (s *NotFoundErrorData) UnmarshalJSON(data []byte) error
- type NotFoundErrorName
- func (NotFoundErrorName) AllValues() []NotFoundErrorName
- func (s *NotFoundErrorName) Decode(d *jx.Decoder) error
- func (s NotFoundErrorName) Encode(e *jx.Encoder)
- func (s NotFoundErrorName) MarshalJSON() ([]byte, error)
- func (s NotFoundErrorName) MarshalText() ([]byte, error)
- func (s *NotFoundErrorName) UnmarshalJSON(data []byte) error
- func (s *NotFoundErrorName) UnmarshalText(data []byte) error
- func (s NotFoundErrorName) Validate() error
- type OperationName
- type OptAgentModel
- func (o *OptAgentModel) Decode(d *jx.Decoder) error
- func (o OptAgentModel) Encode(e *jx.Encoder)
- func (o OptAgentModel) Get() (v AgentModel, ok bool)
- func (o OptAgentModel) IsSet() bool
- func (s OptAgentModel) MarshalJSON() ([]byte, error)
- func (o OptAgentModel) Or(d AgentModel) AgentModel
- func (o *OptAgentModel) Reset()
- func (o *OptAgentModel) SetTo(v AgentModel)
- func (s *OptAgentModel) UnmarshalJSON(data []byte) error
- type OptBadRequestErrorDataKind
- func (o *OptBadRequestErrorDataKind) Decode(d *jx.Decoder) error
- func (o OptBadRequestErrorDataKind) Encode(e *jx.Encoder)
- func (o OptBadRequestErrorDataKind) Get() (v BadRequestErrorDataKind, ok bool)
- func (o OptBadRequestErrorDataKind) IsSet() bool
- func (s OptBadRequestErrorDataKind) MarshalJSON() ([]byte, error)
- func (o OptBadRequestErrorDataKind) Or(d BadRequestErrorDataKind) BadRequestErrorDataKind
- func (o *OptBadRequestErrorDataKind) Reset()
- func (o *OptBadRequestErrorDataKind) SetTo(v BadRequestErrorDataKind)
- func (s *OptBadRequestErrorDataKind) UnmarshalJSON(data []byte) error
- type OptBool
- func (o *OptBool) Decode(d *jx.Decoder) error
- func (o OptBool) Encode(e *jx.Encoder)
- func (o OptBool) Get() (v bool, ok bool)
- func (o OptBool) IsSet() bool
- func (s OptBool) MarshalJSON() ([]byte, error)
- func (o OptBool) Or(d bool) bool
- func (o *OptBool) Reset()
- func (o *OptBool) SetTo(v bool)
- func (s *OptBool) UnmarshalJSON(data []byte) error
- type OptCommandSource
- func (o *OptCommandSource) Decode(d *jx.Decoder) error
- func (o OptCommandSource) Encode(e *jx.Encoder)
- func (o OptCommandSource) Get() (v CommandSource, ok bool)
- func (o OptCommandSource) IsSet() bool
- func (s OptCommandSource) MarshalJSON() ([]byte, error)
- func (o OptCommandSource) Or(d CommandSource) CommandSource
- func (o *OptCommandSource) Reset()
- func (o *OptCommandSource) SetTo(v CommandSource)
- func (s *OptCommandSource) UnmarshalJSON(data []byte) error
- type OptExperimentalConsoleSwitchOrgReq
- func (o *OptExperimentalConsoleSwitchOrgReq) Decode(d *jx.Decoder) error
- func (o OptExperimentalConsoleSwitchOrgReq) Encode(e *jx.Encoder)
- func (o OptExperimentalConsoleSwitchOrgReq) Get() (v ExperimentalConsoleSwitchOrgReq, ok bool)
- func (o OptExperimentalConsoleSwitchOrgReq) IsSet() bool
- func (s OptExperimentalConsoleSwitchOrgReq) MarshalJSON() ([]byte, error)
- func (o OptExperimentalConsoleSwitchOrgReq) Or(d ExperimentalConsoleSwitchOrgReq) ExperimentalConsoleSwitchOrgReq
- func (o *OptExperimentalConsoleSwitchOrgReq) Reset()
- func (o *OptExperimentalConsoleSwitchOrgReq) SetTo(v ExperimentalConsoleSwitchOrgReq)
- func (s *OptExperimentalConsoleSwitchOrgReq) UnmarshalJSON(data []byte) error
- type OptExperimentalProjectCopyGenerateNameReq
- func (o *OptExperimentalProjectCopyGenerateNameReq) Decode(d *jx.Decoder) error
- func (o OptExperimentalProjectCopyGenerateNameReq) Encode(e *jx.Encoder)
- func (o OptExperimentalProjectCopyGenerateNameReq) Get() (v ExperimentalProjectCopyGenerateNameReq, ok bool)
- func (o OptExperimentalProjectCopyGenerateNameReq) IsSet() bool
- func (s OptExperimentalProjectCopyGenerateNameReq) MarshalJSON() ([]byte, error)
- func (o OptExperimentalProjectCopyGenerateNameReq) Or(d ExperimentalProjectCopyGenerateNameReq) ExperimentalProjectCopyGenerateNameReq
- func (o *OptExperimentalProjectCopyGenerateNameReq) Reset()
- func (o *OptExperimentalProjectCopyGenerateNameReq) SetTo(v ExperimentalProjectCopyGenerateNameReq)
- func (s *OptExperimentalProjectCopyGenerateNameReq) UnmarshalJSON(data []byte) error
- type OptExperimentalSessionListArchived
- func (o OptExperimentalSessionListArchived) Get() (v ExperimentalSessionListArchived, ok bool)
- func (o OptExperimentalSessionListArchived) IsSet() bool
- func (o OptExperimentalSessionListArchived) Or(d ExperimentalSessionListArchived) ExperimentalSessionListArchived
- func (o *OptExperimentalSessionListArchived) Reset()
- func (o *OptExperimentalSessionListArchived) SetTo(v ExperimentalSessionListArchived)
- type OptExperimentalSessionListRoots
- func (o OptExperimentalSessionListRoots) Get() (v ExperimentalSessionListRoots, ok bool)
- func (o OptExperimentalSessionListRoots) IsSet() bool
- func (o OptExperimentalSessionListRoots) Or(d ExperimentalSessionListRoots) ExperimentalSessionListRoots
- func (o *OptExperimentalSessionListRoots) Reset()
- func (o *OptExperimentalSessionListRoots) SetTo(v ExperimentalSessionListRoots)
- type OptFileContentEncoding
- func (o *OptFileContentEncoding) Decode(d *jx.Decoder) error
- func (o OptFileContentEncoding) Encode(e *jx.Encoder)
- func (o OptFileContentEncoding) Get() (v FileContentEncoding, ok bool)
- func (o OptFileContentEncoding) IsSet() bool
- func (s OptFileContentEncoding) MarshalJSON() ([]byte, error)
- func (o OptFileContentEncoding) Or(d FileContentEncoding) FileContentEncoding
- func (o *OptFileContentEncoding) Reset()
- func (o *OptFileContentEncoding) SetTo(v FileContentEncoding)
- func (s *OptFileContentEncoding) UnmarshalJSON(data []byte) error
- type OptFileContentPatch
- func (o *OptFileContentPatch) Decode(d *jx.Decoder) error
- func (o OptFileContentPatch) Encode(e *jx.Encoder)
- func (o OptFileContentPatch) Get() (v FileContentPatch, ok bool)
- func (o OptFileContentPatch) IsSet() bool
- func (s OptFileContentPatch) MarshalJSON() ([]byte, error)
- func (o OptFileContentPatch) Or(d FileContentPatch) FileContentPatch
- func (o *OptFileContentPatch) Reset()
- func (o *OptFileContentPatch) SetTo(v FileContentPatch)
- func (s *OptFileContentPatch) UnmarshalJSON(data []byte) error
- type OptFindFilesDirs
- type OptFindFilesType
- type OptFloat64
- func (o *OptFloat64) Decode(d *jx.Decoder) error
- func (o OptFloat64) Encode(e *jx.Encoder)
- func (o OptFloat64) Get() (v float64, ok bool)
- func (o OptFloat64) IsSet() bool
- func (s OptFloat64) MarshalJSON() ([]byte, error)
- func (o OptFloat64) Or(d float64) float64
- func (o *OptFloat64) Reset()
- func (o *OptFloat64) SetTo(v float64)
- func (s *OptFloat64) UnmarshalJSON(data []byte) error
- type OptGlobalSessionModel
- func (o *OptGlobalSessionModel) Decode(d *jx.Decoder) error
- func (o OptGlobalSessionModel) Encode(e *jx.Encoder)
- func (o OptGlobalSessionModel) Get() (v GlobalSessionModel, ok bool)
- func (o OptGlobalSessionModel) IsSet() bool
- func (s OptGlobalSessionModel) MarshalJSON() ([]byte, error)
- func (o OptGlobalSessionModel) Or(d GlobalSessionModel) GlobalSessionModel
- func (o *OptGlobalSessionModel) Reset()
- func (o *OptGlobalSessionModel) SetTo(v GlobalSessionModel)
- func (s *OptGlobalSessionModel) UnmarshalJSON(data []byte) error
- type OptGlobalSessionRevert
- func (o *OptGlobalSessionRevert) Decode(d *jx.Decoder) error
- func (o OptGlobalSessionRevert) Encode(e *jx.Encoder)
- func (o OptGlobalSessionRevert) Get() (v GlobalSessionRevert, ok bool)
- func (o OptGlobalSessionRevert) IsSet() bool
- func (s OptGlobalSessionRevert) MarshalJSON() ([]byte, error)
- func (o OptGlobalSessionRevert) Or(d GlobalSessionRevert) GlobalSessionRevert
- func (o *OptGlobalSessionRevert) Reset()
- func (o *OptGlobalSessionRevert) SetTo(v GlobalSessionRevert)
- func (s *OptGlobalSessionRevert) UnmarshalJSON(data []byte) error
- type OptGlobalSessionShare
- func (o *OptGlobalSessionShare) Decode(d *jx.Decoder) error
- func (o OptGlobalSessionShare) Encode(e *jx.Encoder)
- func (o OptGlobalSessionShare) Get() (v GlobalSessionShare, ok bool)
- func (o OptGlobalSessionShare) IsSet() bool
- func (s OptGlobalSessionShare) MarshalJSON() ([]byte, error)
- func (o OptGlobalSessionShare) Or(d GlobalSessionShare) GlobalSessionShare
- func (o *OptGlobalSessionShare) Reset()
- func (o *OptGlobalSessionShare) SetTo(v GlobalSessionShare)
- func (s *OptGlobalSessionShare) UnmarshalJSON(data []byte) error
- type OptGlobalSessionSummary
- func (o *OptGlobalSessionSummary) Decode(d *jx.Decoder) error
- func (o OptGlobalSessionSummary) Encode(e *jx.Encoder)
- func (o OptGlobalSessionSummary) Get() (v GlobalSessionSummary, ok bool)
- func (o OptGlobalSessionSummary) IsSet() bool
- func (s OptGlobalSessionSummary) MarshalJSON() ([]byte, error)
- func (o OptGlobalSessionSummary) Or(d GlobalSessionSummary) GlobalSessionSummary
- func (o *OptGlobalSessionSummary) Reset()
- func (o *OptGlobalSessionSummary) SetTo(v GlobalSessionSummary)
- func (s *OptGlobalSessionSummary) UnmarshalJSON(data []byte) error
- type OptGlobalSessionTokens
- func (o *OptGlobalSessionTokens) Decode(d *jx.Decoder) error
- func (o OptGlobalSessionTokens) Encode(e *jx.Encoder)
- func (o OptGlobalSessionTokens) Get() (v GlobalSessionTokens, ok bool)
- func (o OptGlobalSessionTokens) IsSet() bool
- func (s OptGlobalSessionTokens) MarshalJSON() ([]byte, error)
- func (o OptGlobalSessionTokens) Or(d GlobalSessionTokens) GlobalSessionTokens
- func (o *OptGlobalSessionTokens) Reset()
- func (o *OptGlobalSessionTokens) SetTo(v GlobalSessionTokens)
- func (s *OptGlobalSessionTokens) UnmarshalJSON(data []byte) error
- type OptInt
- func (o *OptInt) Decode(d *jx.Decoder) error
- func (o OptInt) Encode(e *jx.Encoder)
- func (o OptInt) Get() (v int, ok bool)
- func (o OptInt) IsSet() bool
- func (s OptInt) MarshalJSON() ([]byte, error)
- func (o OptInt) Or(d int) int
- func (o *OptInt) Reset()
- func (o *OptInt) SetTo(v int)
- func (s *OptInt) UnmarshalJSON(data []byte) error
- type OptLocationRef
- func (o *OptLocationRef) Decode(d *jx.Decoder) error
- func (o OptLocationRef) Encode(e *jx.Encoder)
- func (o OptLocationRef) Get() (v LocationRef, ok bool)
- func (o OptLocationRef) IsSet() bool
- func (s OptLocationRef) MarshalJSON() ([]byte, error)
- func (o OptLocationRef) Or(d LocationRef) LocationRef
- func (o *OptLocationRef) Reset()
- func (o *OptLocationRef) SetTo(v LocationRef)
- func (s *OptLocationRef) UnmarshalJSON(data []byte) error
- type OptModelCostExperimentalOver200K
- func (o *OptModelCostExperimentalOver200K) Decode(d *jx.Decoder) error
- func (o OptModelCostExperimentalOver200K) Encode(e *jx.Encoder)
- func (o OptModelCostExperimentalOver200K) Get() (v ModelCostExperimentalOver200K, ok bool)
- func (o OptModelCostExperimentalOver200K) IsSet() bool
- func (s OptModelCostExperimentalOver200K) MarshalJSON() ([]byte, error)
- func (o OptModelCostExperimentalOver200K) Or(d ModelCostExperimentalOver200K) ModelCostExperimentalOver200K
- func (o *OptModelCostExperimentalOver200K) Reset()
- func (o *OptModelCostExperimentalOver200K) SetTo(v ModelCostExperimentalOver200K)
- func (s *OptModelCostExperimentalOver200K) UnmarshalJSON(data []byte) error
- type OptModelRef
- func (o *OptModelRef) Decode(d *jx.Decoder) error
- func (o OptModelRef) Encode(e *jx.Encoder)
- func (o OptModelRef) Get() (v ModelRef, ok bool)
- func (o OptModelRef) IsSet() bool
- func (s OptModelRef) MarshalJSON() ([]byte, error)
- func (o OptModelRef) Or(d ModelRef) ModelRef
- func (o *OptModelRef) Reset()
- func (o *OptModelRef) SetTo(v ModelRef)
- func (s *OptModelRef) UnmarshalJSON(data []byte) error
- type OptModelVariants
- func (o *OptModelVariants) Decode(d *jx.Decoder) error
- func (o OptModelVariants) Encode(e *jx.Encoder)
- func (o OptModelVariants) Get() (v ModelVariants, ok bool)
- func (o OptModelVariants) IsSet() bool
- func (s OptModelVariants) MarshalJSON() ([]byte, error)
- func (o OptModelVariants) Or(d ModelVariants) ModelVariants
- func (o *OptModelVariants) Reset()
- func (o *OptModelVariants) SetTo(v ModelVariants)
- func (s *OptModelVariants) UnmarshalJSON(data []byte) error
- type OptPermissionRequestTool
- func (o *OptPermissionRequestTool) Decode(d *jx.Decoder) error
- func (o OptPermissionRequestTool) Encode(e *jx.Encoder)
- func (o OptPermissionRequestTool) Get() (v PermissionRequestTool, ok bool)
- func (o OptPermissionRequestTool) IsSet() bool
- func (s OptPermissionRequestTool) MarshalJSON() ([]byte, error)
- func (o OptPermissionRequestTool) Or(d PermissionRequestTool) PermissionRequestTool
- func (o *OptPermissionRequestTool) Reset()
- func (o *OptPermissionRequestTool) SetTo(v PermissionRequestTool)
- func (s *OptPermissionRequestTool) UnmarshalJSON(data []byte) error
- type OptPermissionV2Source
- func (o *OptPermissionV2Source) Decode(d *jx.Decoder) error
- func (o OptPermissionV2Source) Encode(e *jx.Encoder)
- func (o OptPermissionV2Source) Get() (v PermissionV2Source, ok bool)
- func (o OptPermissionV2Source) IsSet() bool
- func (s OptPermissionV2Source) MarshalJSON() ([]byte, error)
- func (o OptPermissionV2Source) Or(d PermissionV2Source) PermissionV2Source
- func (o *OptPermissionV2Source) Reset()
- func (o *OptPermissionV2Source) SetTo(v PermissionV2Source)
- func (s *OptPermissionV2Source) UnmarshalJSON(data []byte) error
- type OptProjectCommands
- func (o *OptProjectCommands) Decode(d *jx.Decoder) error
- func (o OptProjectCommands) Encode(e *jx.Encoder)
- func (o OptProjectCommands) Get() (v ProjectCommands, ok bool)
- func (o OptProjectCommands) IsSet() bool
- func (s OptProjectCommands) MarshalJSON() ([]byte, error)
- func (o OptProjectCommands) Or(d ProjectCommands) ProjectCommands
- func (o *OptProjectCommands) Reset()
- func (o *OptProjectCommands) SetTo(v ProjectCommands)
- func (s *OptProjectCommands) UnmarshalJSON(data []byte) error
- type OptProjectIcon
- func (o *OptProjectIcon) Decode(d *jx.Decoder) error
- func (o OptProjectIcon) Encode(e *jx.Encoder)
- func (o OptProjectIcon) Get() (v ProjectIcon, ok bool)
- func (o OptProjectIcon) IsSet() bool
- func (s OptProjectIcon) MarshalJSON() ([]byte, error)
- func (o OptProjectIcon) Or(d ProjectIcon) ProjectIcon
- func (o *OptProjectIcon) Reset()
- func (o *OptProjectIcon) SetTo(v ProjectIcon)
- func (s *OptProjectIcon) UnmarshalJSON(data []byte) error
- type OptProjectVcs
- func (o *OptProjectVcs) Decode(d *jx.Decoder) error
- func (o OptProjectVcs) Encode(e *jx.Encoder)
- func (o OptProjectVcs) Get() (v ProjectVcs, ok bool)
- func (o OptProjectVcs) IsSet() bool
- func (s OptProjectVcs) MarshalJSON() ([]byte, error)
- func (o OptProjectVcs) Or(d ProjectVcs) ProjectVcs
- func (o *OptProjectVcs) Reset()
- func (o *OptProjectVcs) SetTo(v ProjectVcs)
- func (s *OptProjectVcs) UnmarshalJSON(data []byte) error
- type OptQuestionTool
- func (o *OptQuestionTool) Decode(d *jx.Decoder) error
- func (o OptQuestionTool) Encode(e *jx.Encoder)
- func (o OptQuestionTool) Get() (v QuestionTool, ok bool)
- func (o OptQuestionTool) IsSet() bool
- func (s OptQuestionTool) MarshalJSON() ([]byte, error)
- func (o OptQuestionTool) Or(d QuestionTool) QuestionTool
- func (o *OptQuestionTool) Reset()
- func (o *OptQuestionTool) SetTo(v QuestionTool)
- func (s *OptQuestionTool) UnmarshalJSON(data []byte) error
- type OptQuestionV2Tool
- func (o *OptQuestionV2Tool) Decode(d *jx.Decoder) error
- func (o OptQuestionV2Tool) Encode(e *jx.Encoder)
- func (o OptQuestionV2Tool) Get() (v QuestionV2Tool, ok bool)
- func (o OptQuestionV2Tool) IsSet() bool
- func (s OptQuestionV2Tool) MarshalJSON() ([]byte, error)
- func (o OptQuestionV2Tool) Or(d QuestionV2Tool) QuestionV2Tool
- func (o *OptQuestionV2Tool) Reset()
- func (o *OptQuestionV2Tool) SetTo(v QuestionV2Tool)
- func (s *OptQuestionV2Tool) UnmarshalJSON(data []byte) error
- type OptRevertState
- func (o *OptRevertState) Decode(d *jx.Decoder) error
- func (o OptRevertState) Encode(e *jx.Encoder)
- func (o OptRevertState) Get() (v RevertState, ok bool)
- func (o OptRevertState) IsSet() bool
- func (s OptRevertState) MarshalJSON() ([]byte, error)
- func (o OptRevertState) Or(d RevertState) RevertState
- func (o *OptRevertState) Reset()
- func (o *OptRevertState) SetTo(v RevertState)
- func (s *OptRevertState) UnmarshalJSON(data []byte) error
- type OptSessionListRoots
- type OptSessionListScope
- type OptSessionModel
- func (o *OptSessionModel) Decode(d *jx.Decoder) error
- func (o OptSessionModel) Encode(e *jx.Encoder)
- func (o OptSessionModel) Get() (v SessionModel, ok bool)
- func (o OptSessionModel) IsSet() bool
- func (s OptSessionModel) MarshalJSON() ([]byte, error)
- func (o OptSessionModel) Or(d SessionModel) SessionModel
- func (o *OptSessionModel) Reset()
- func (o *OptSessionModel) SetTo(v SessionModel)
- func (s *OptSessionModel) UnmarshalJSON(data []byte) error
- type OptSessionRevert
- func (o *OptSessionRevert) Decode(d *jx.Decoder) error
- func (o OptSessionRevert) Encode(e *jx.Encoder)
- func (o OptSessionRevert) Get() (v SessionRevert, ok bool)
- func (o OptSessionRevert) IsSet() bool
- func (s OptSessionRevert) MarshalJSON() ([]byte, error)
- func (o OptSessionRevert) Or(d SessionRevert) SessionRevert
- func (o *OptSessionRevert) Reset()
- func (o *OptSessionRevert) SetTo(v SessionRevert)
- func (s *OptSessionRevert) UnmarshalJSON(data []byte) error
- type OptSessionShare
- func (o *OptSessionShare) Decode(d *jx.Decoder) error
- func (o OptSessionShare) Encode(e *jx.Encoder)
- func (o OptSessionShare) Get() (v SessionShare, ok bool)
- func (o OptSessionShare) IsSet() bool
- func (s OptSessionShare) MarshalJSON() ([]byte, error)
- func (o OptSessionShare) Or(d SessionShare) SessionShare
- func (o *OptSessionShare) Reset()
- func (o *OptSessionShare) SetTo(v SessionShare)
- func (s *OptSessionShare) UnmarshalJSON(data []byte) error
- type OptSessionSummary
- func (o *OptSessionSummary) Decode(d *jx.Decoder) error
- func (o OptSessionSummary) Encode(e *jx.Encoder)
- func (o OptSessionSummary) Get() (v SessionSummary, ok bool)
- func (o OptSessionSummary) IsSet() bool
- func (s OptSessionSummary) MarshalJSON() ([]byte, error)
- func (o OptSessionSummary) Or(d SessionSummary) SessionSummary
- func (o *OptSessionSummary) Reset()
- func (o *OptSessionSummary) SetTo(v SessionSummary)
- func (s *OptSessionSummary) UnmarshalJSON(data []byte) error
- type OptSessionTokens
- func (o *OptSessionTokens) Decode(d *jx.Decoder) error
- func (o OptSessionTokens) Encode(e *jx.Encoder)
- func (o OptSessionTokens) Get() (v SessionTokens, ok bool)
- func (o OptSessionTokens) IsSet() bool
- func (s OptSessionTokens) MarshalJSON() ([]byte, error)
- func (o OptSessionTokens) Or(d SessionTokens) SessionTokens
- func (o *OptSessionTokens) Reset()
- func (o *OptSessionTokens) SetTo(v SessionTokens)
- func (s *OptSessionTokens) UnmarshalJSON(data []byte) error
- type OptSnapshotFileDiffStatus
- func (o *OptSnapshotFileDiffStatus) Decode(d *jx.Decoder) error
- func (o OptSnapshotFileDiffStatus) Encode(e *jx.Encoder)
- func (o OptSnapshotFileDiffStatus) Get() (v SnapshotFileDiffStatus, ok bool)
- func (o OptSnapshotFileDiffStatus) IsSet() bool
- func (s OptSnapshotFileDiffStatus) MarshalJSON() ([]byte, error)
- func (o OptSnapshotFileDiffStatus) Or(d SnapshotFileDiffStatus) SnapshotFileDiffStatus
- func (o *OptSnapshotFileDiffStatus) Reset()
- func (o *OptSnapshotFileDiffStatus) SetTo(v SnapshotFileDiffStatus)
- func (s *OptSnapshotFileDiffStatus) UnmarshalJSON(data []byte) error
- type OptString
- func (o *OptString) Decode(d *jx.Decoder) error
- func (o OptString) Encode(e *jx.Encoder)
- func (o OptString) Get() (v string, ok bool)
- func (o OptString) IsSet() bool
- func (s OptString) MarshalJSON() ([]byte, error)
- func (o OptString) Or(d string) string
- func (o *OptString) Reset()
- func (o *OptString) SetTo(v string)
- func (s *OptString) UnmarshalJSON(data []byte) error
- type OptTuiShowToastReq
- func (o *OptTuiShowToastReq) Decode(d *jx.Decoder) error
- func (o OptTuiShowToastReq) Encode(e *jx.Encoder)
- func (o OptTuiShowToastReq) Get() (v TuiShowToastReq, ok bool)
- func (o OptTuiShowToastReq) IsSet() bool
- func (s OptTuiShowToastReq) MarshalJSON() ([]byte, error)
- func (o OptTuiShowToastReq) Or(d TuiShowToastReq) TuiShowToastReq
- func (o *OptTuiShowToastReq) Reset()
- func (o *OptTuiShowToastReq) SetTo(v TuiShowToastReq)
- func (s *OptTuiShowToastReq) UnmarshalJSON(data []byte) error
- type OptV2CommandListLocation
- func (o OptV2CommandListLocation) Get() (v V2CommandListLocation, ok bool)
- func (o OptV2CommandListLocation) IsSet() bool
- func (o OptV2CommandListLocation) Or(d V2CommandListLocation) V2CommandListLocation
- func (o *OptV2CommandListLocation) Reset()
- func (o *OptV2CommandListLocation) SetTo(v V2CommandListLocation)
- type OptV2CredentialRemoveLocation
- func (o OptV2CredentialRemoveLocation) Get() (v V2CredentialRemoveLocation, ok bool)
- func (o OptV2CredentialRemoveLocation) IsSet() bool
- func (o OptV2CredentialRemoveLocation) Or(d V2CredentialRemoveLocation) V2CredentialRemoveLocation
- func (o *OptV2CredentialRemoveLocation) Reset()
- func (o *OptV2CredentialRemoveLocation) SetTo(v V2CredentialRemoveLocation)
- type OptV2CredentialUpdateLocation
- func (o OptV2CredentialUpdateLocation) Get() (v V2CredentialUpdateLocation, ok bool)
- func (o OptV2CredentialUpdateLocation) IsSet() bool
- func (o OptV2CredentialUpdateLocation) Or(d V2CredentialUpdateLocation) V2CredentialUpdateLocation
- func (o *OptV2CredentialUpdateLocation) Reset()
- func (o *OptV2CredentialUpdateLocation) SetTo(v V2CredentialUpdateLocation)
- type OptV2FsFindLocation
- type OptV2FsFindType
- type OptV2FsListLocation
- type OptV2FsReadLocation
- type OptV2IntegrationAttemptCancelLocation
- func (o OptV2IntegrationAttemptCancelLocation) Get() (v V2IntegrationAttemptCancelLocation, ok bool)
- func (o OptV2IntegrationAttemptCancelLocation) IsSet() bool
- func (o OptV2IntegrationAttemptCancelLocation) Or(d V2IntegrationAttemptCancelLocation) V2IntegrationAttemptCancelLocation
- func (o *OptV2IntegrationAttemptCancelLocation) Reset()
- func (o *OptV2IntegrationAttemptCancelLocation) SetTo(v V2IntegrationAttemptCancelLocation)
- type OptV2LocationGetLocation
- func (o OptV2LocationGetLocation) Get() (v V2LocationGetLocation, ok bool)
- func (o OptV2LocationGetLocation) IsSet() bool
- func (o OptV2LocationGetLocation) Or(d V2LocationGetLocation) V2LocationGetLocation
- func (o *OptV2LocationGetLocation) Reset()
- func (o *OptV2LocationGetLocation) SetTo(v V2LocationGetLocation)
- type OptV2PermissionRequestListLocation
- func (o OptV2PermissionRequestListLocation) Get() (v V2PermissionRequestListLocation, ok bool)
- func (o OptV2PermissionRequestListLocation) IsSet() bool
- func (o OptV2PermissionRequestListLocation) Or(d V2PermissionRequestListLocation) V2PermissionRequestListLocation
- func (o *OptV2PermissionRequestListLocation) Reset()
- func (o *OptV2PermissionRequestListLocation) SetTo(v V2PermissionRequestListLocation)
- type OptV2PtyConnectTokenLocation
- func (o OptV2PtyConnectTokenLocation) Get() (v V2PtyConnectTokenLocation, ok bool)
- func (o OptV2PtyConnectTokenLocation) IsSet() bool
- func (o OptV2PtyConnectTokenLocation) Or(d V2PtyConnectTokenLocation) V2PtyConnectTokenLocation
- func (o *OptV2PtyConnectTokenLocation) Reset()
- func (o *OptV2PtyConnectTokenLocation) SetTo(v V2PtyConnectTokenLocation)
- type OptV2PtyCreateLocation
- type OptV2PtyCreateReqEnv
- func (o *OptV2PtyCreateReqEnv) Decode(d *jx.Decoder) error
- func (o OptV2PtyCreateReqEnv) Encode(e *jx.Encoder)
- func (o OptV2PtyCreateReqEnv) Get() (v V2PtyCreateReqEnv, ok bool)
- func (o OptV2PtyCreateReqEnv) IsSet() bool
- func (s OptV2PtyCreateReqEnv) MarshalJSON() ([]byte, error)
- func (o OptV2PtyCreateReqEnv) Or(d V2PtyCreateReqEnv) V2PtyCreateReqEnv
- func (o *OptV2PtyCreateReqEnv) Reset()
- func (o *OptV2PtyCreateReqEnv) SetTo(v V2PtyCreateReqEnv)
- func (s *OptV2PtyCreateReqEnv) UnmarshalJSON(data []byte) error
- type OptV2PtyGetLocation
- type OptV2PtyListLocation
- type OptV2PtyRemoveLocation
- type OptV2PtyUpdateLocation
- type OptV2PtyUpdateReqSize
- func (o *OptV2PtyUpdateReqSize) Decode(d *jx.Decoder) error
- func (o OptV2PtyUpdateReqSize) Encode(e *jx.Encoder)
- func (o OptV2PtyUpdateReqSize) Get() (v V2PtyUpdateReqSize, ok bool)
- func (o OptV2PtyUpdateReqSize) IsSet() bool
- func (s OptV2PtyUpdateReqSize) MarshalJSON() ([]byte, error)
- func (o OptV2PtyUpdateReqSize) Or(d V2PtyUpdateReqSize) V2PtyUpdateReqSize
- func (o *OptV2PtyUpdateReqSize) Reset()
- func (o *OptV2PtyUpdateReqSize) SetTo(v V2PtyUpdateReqSize)
- func (s *OptV2PtyUpdateReqSize) UnmarshalJSON(data []byte) error
- type OptV2QuestionRequestListLocation
- func (o OptV2QuestionRequestListLocation) Get() (v V2QuestionRequestListLocation, ok bool)
- func (o OptV2QuestionRequestListLocation) IsSet() bool
- func (o OptV2QuestionRequestListLocation) Or(d V2QuestionRequestListLocation) V2QuestionRequestListLocation
- func (o *OptV2QuestionRequestListLocation) Reset()
- func (o *OptV2QuestionRequestListLocation) SetTo(v V2QuestionRequestListLocation)
- type OptV2SkillListLocation
- type OptVcsFileDiffStatus
- func (o *OptVcsFileDiffStatus) Decode(d *jx.Decoder) error
- func (o OptVcsFileDiffStatus) Encode(e *jx.Encoder)
- func (o OptVcsFileDiffStatus) Get() (v VcsFileDiffStatus, ok bool)
- func (o OptVcsFileDiffStatus) IsSet() bool
- func (s OptVcsFileDiffStatus) MarshalJSON() ([]byte, error)
- func (o OptVcsFileDiffStatus) Or(d VcsFileDiffStatus) VcsFileDiffStatus
- func (o *OptVcsFileDiffStatus) Reset()
- func (o *OptVcsFileDiffStatus) SetTo(v VcsFileDiffStatus)
- func (s *OptVcsFileDiffStatus) UnmarshalJSON(data []byte) error
- type Option
- type Path
- func (s *Path) Decode(d *jx.Decoder) error
- func (s *Path) Encode(e *jx.Encoder)
- func (s *Path) GetConfig() string
- func (s *Path) GetDirectory() string
- func (s *Path) GetHome() string
- func (s *Path) GetState() string
- func (s *Path) GetWorktree() string
- func (s *Path) MarshalJSON() ([]byte, error)
- func (s *Path) SetConfig(val string)
- func (s *Path) SetDirectory(val string)
- func (s *Path) SetHome(val string)
- func (s *Path) SetState(val string)
- func (s *Path) SetWorktree(val string)
- func (s *Path) UnmarshalJSON(data []byte) error
- type PathGetParams
- type PathGetRes
- type PermissionAction
- func (PermissionAction) AllValues() []PermissionAction
- func (s *PermissionAction) Decode(d *jx.Decoder) error
- func (s PermissionAction) Encode(e *jx.Encoder)
- func (s PermissionAction) MarshalJSON() ([]byte, error)
- func (s PermissionAction) MarshalText() ([]byte, error)
- func (s *PermissionAction) UnmarshalJSON(data []byte) error
- func (s *PermissionAction) UnmarshalText(data []byte) error
- func (s PermissionAction) Validate() error
- type PermissionListOKApplicationJSON
- func (s *PermissionListOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s PermissionListOKApplicationJSON) Encode(e *jx.Encoder)
- func (s PermissionListOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *PermissionListOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s PermissionListOKApplicationJSON) Validate() error
- type PermissionListParams
- type PermissionListRes
- type PermissionRequest
- func (s *PermissionRequest) Decode(d *jx.Decoder) error
- func (s *PermissionRequest) Encode(e *jx.Encoder)
- func (s *PermissionRequest) GetAlways() []string
- func (s *PermissionRequest) GetID() string
- func (s *PermissionRequest) GetMetadata() PermissionRequestMetadata
- func (s *PermissionRequest) GetPatterns() []string
- func (s *PermissionRequest) GetPermission() string
- func (s *PermissionRequest) GetSessionID() string
- func (s *PermissionRequest) GetTool() OptPermissionRequestTool
- func (s *PermissionRequest) MarshalJSON() ([]byte, error)
- func (s *PermissionRequest) SetAlways(val []string)
- func (s *PermissionRequest) SetID(val string)
- func (s *PermissionRequest) SetMetadata(val PermissionRequestMetadata)
- func (s *PermissionRequest) SetPatterns(val []string)
- func (s *PermissionRequest) SetPermission(val string)
- func (s *PermissionRequest) SetSessionID(val string)
- func (s *PermissionRequest) SetTool(val OptPermissionRequestTool)
- func (s *PermissionRequest) UnmarshalJSON(data []byte) error
- func (s *PermissionRequest) Validate() error
- type PermissionRequestMetadata
- type PermissionRequestTool
- func (s *PermissionRequestTool) Decode(d *jx.Decoder) error
- func (s *PermissionRequestTool) Encode(e *jx.Encoder)
- func (s *PermissionRequestTool) GetCallID() string
- func (s *PermissionRequestTool) GetMessageID() string
- func (s *PermissionRequestTool) MarshalJSON() ([]byte, error)
- func (s *PermissionRequestTool) SetCallID(val string)
- func (s *PermissionRequestTool) SetMessageID(val string)
- func (s *PermissionRequestTool) UnmarshalJSON(data []byte) error
- type PermissionRule
- func (s *PermissionRule) Decode(d *jx.Decoder) error
- func (s *PermissionRule) Encode(e *jx.Encoder)
- func (s *PermissionRule) GetAction() PermissionAction
- func (s *PermissionRule) GetPattern() string
- func (s *PermissionRule) GetPermission() string
- func (s *PermissionRule) MarshalJSON() ([]byte, error)
- func (s *PermissionRule) SetAction(val PermissionAction)
- func (s *PermissionRule) SetPattern(val string)
- func (s *PermissionRule) SetPermission(val string)
- func (s *PermissionRule) UnmarshalJSON(data []byte) error
- func (s *PermissionRule) Validate() error
- type PermissionRuleset
- type PermissionSavedInfo
- func (s *PermissionSavedInfo) Decode(d *jx.Decoder) error
- func (s *PermissionSavedInfo) Encode(e *jx.Encoder)
- func (s *PermissionSavedInfo) GetAction() string
- func (s *PermissionSavedInfo) GetID() string
- func (s *PermissionSavedInfo) GetProjectID() string
- func (s *PermissionSavedInfo) GetResource() string
- func (s *PermissionSavedInfo) MarshalJSON() ([]byte, error)
- func (s *PermissionSavedInfo) SetAction(val string)
- func (s *PermissionSavedInfo) SetID(val string)
- func (s *PermissionSavedInfo) SetProjectID(val string)
- func (s *PermissionSavedInfo) SetResource(val string)
- func (s *PermissionSavedInfo) UnmarshalJSON(data []byte) error
- type PermissionV2Request
- func (s *PermissionV2Request) Decode(d *jx.Decoder) error
- func (s *PermissionV2Request) Encode(e *jx.Encoder)
- func (s *PermissionV2Request) GetAction() string
- func (s *PermissionV2Request) GetID() string
- func (s *PermissionV2Request) GetMetadata() *PermissionV2RequestMetadata
- func (s *PermissionV2Request) GetResources() []string
- func (s *PermissionV2Request) GetSave() []string
- func (s *PermissionV2Request) GetSessionID() string
- func (s *PermissionV2Request) GetSource() OptPermissionV2Source
- func (s *PermissionV2Request) MarshalJSON() ([]byte, error)
- func (s *PermissionV2Request) SetAction(val string)
- func (s *PermissionV2Request) SetID(val string)
- func (s *PermissionV2Request) SetMetadata(val *PermissionV2RequestMetadata)
- func (s *PermissionV2Request) SetResources(val []string)
- func (s *PermissionV2Request) SetSave(val []string)
- func (s *PermissionV2Request) SetSessionID(val string)
- func (s *PermissionV2Request) SetSource(val OptPermissionV2Source)
- func (s *PermissionV2Request) UnmarshalJSON(data []byte) error
- func (s *PermissionV2Request) Validate() error
- type PermissionV2RequestMetadata
- type PermissionV2Source
- func (s *PermissionV2Source) Decode(d *jx.Decoder) error
- func (s *PermissionV2Source) Encode(e *jx.Encoder)
- func (s *PermissionV2Source) GetCallID() string
- func (s *PermissionV2Source) GetMessageID() string
- func (s *PermissionV2Source) GetType() PermissionV2SourceType
- func (s *PermissionV2Source) MarshalJSON() ([]byte, error)
- func (s *PermissionV2Source) SetCallID(val string)
- func (s *PermissionV2Source) SetMessageID(val string)
- func (s *PermissionV2Source) SetType(val PermissionV2SourceType)
- func (s *PermissionV2Source) UnmarshalJSON(data []byte) error
- func (s *PermissionV2Source) Validate() error
- type PermissionV2SourceType
- func (PermissionV2SourceType) AllValues() []PermissionV2SourceType
- func (s *PermissionV2SourceType) Decode(d *jx.Decoder) error
- func (s PermissionV2SourceType) Encode(e *jx.Encoder)
- func (s PermissionV2SourceType) MarshalJSON() ([]byte, error)
- func (s PermissionV2SourceType) MarshalText() ([]byte, error)
- func (s *PermissionV2SourceType) UnmarshalJSON(data []byte) error
- func (s *PermissionV2SourceType) UnmarshalText(data []byte) error
- func (s PermissionV2SourceType) Validate() error
- type Project
- func (s *Project) Decode(d *jx.Decoder) error
- func (s *Project) Encode(e *jx.Encoder)
- func (s *Project) GetCommands() OptProjectCommands
- func (s *Project) GetID() string
- func (s *Project) GetIcon() OptProjectIcon
- func (s *Project) GetName() OptString
- func (s *Project) GetSandboxes() []string
- func (s *Project) GetTime() ProjectTime
- func (s *Project) GetVcs() OptProjectVcs
- func (s *Project) GetWorktree() string
- func (s *Project) MarshalJSON() ([]byte, error)
- func (s *Project) SetCommands(val OptProjectCommands)
- func (s *Project) SetID(val string)
- func (s *Project) SetIcon(val OptProjectIcon)
- func (s *Project) SetName(val OptString)
- func (s *Project) SetSandboxes(val []string)
- func (s *Project) SetTime(val ProjectTime)
- func (s *Project) SetVcs(val OptProjectVcs)
- func (s *Project) SetWorktree(val string)
- func (s *Project) UnmarshalJSON(data []byte) error
- func (s *Project) Validate() error
- type ProjectCommands
- func (s *ProjectCommands) Decode(d *jx.Decoder) error
- func (s *ProjectCommands) Encode(e *jx.Encoder)
- func (s *ProjectCommands) GetStart() OptString
- func (s *ProjectCommands) MarshalJSON() ([]byte, error)
- func (s *ProjectCommands) SetStart(val OptString)
- func (s *ProjectCommands) UnmarshalJSON(data []byte) error
- type ProjectCurrentParams
- type ProjectCurrentRes
- type ProjectDirectories
- type ProjectDirectoriesItem
- func (s *ProjectDirectoriesItem) Decode(d *jx.Decoder) error
- func (s *ProjectDirectoriesItem) Encode(e *jx.Encoder)
- func (s *ProjectDirectoriesItem) GetDirectory() string
- func (s *ProjectDirectoriesItem) GetStrategy() OptString
- func (s *ProjectDirectoriesItem) MarshalJSON() ([]byte, error)
- func (s *ProjectDirectoriesItem) SetDirectory(val string)
- func (s *ProjectDirectoriesItem) SetStrategy(val OptString)
- func (s *ProjectDirectoriesItem) UnmarshalJSON(data []byte) error
- type ProjectDirectoriesParams
- type ProjectDirectoriesRes
- type ProjectIcon
- func (s *ProjectIcon) Decode(d *jx.Decoder) error
- func (s *ProjectIcon) Encode(e *jx.Encoder)
- func (s *ProjectIcon) GetColor() OptString
- func (s *ProjectIcon) GetOverride() OptString
- func (s *ProjectIcon) GetURL() OptString
- func (s *ProjectIcon) MarshalJSON() ([]byte, error)
- func (s *ProjectIcon) SetColor(val OptString)
- func (s *ProjectIcon) SetOverride(val OptString)
- func (s *ProjectIcon) SetURL(val OptString)
- func (s *ProjectIcon) UnmarshalJSON(data []byte) error
- type ProjectInitGitParams
- type ProjectInitGitRes
- type ProjectListOKApplicationJSON
- func (s *ProjectListOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ProjectListOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ProjectListOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ProjectListOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ProjectListOKApplicationJSON) Validate() error
- type ProjectListParams
- type ProjectListRes
- type ProjectSummary
- func (s *ProjectSummary) Decode(d *jx.Decoder) error
- func (s *ProjectSummary) Encode(e *jx.Encoder)
- func (s *ProjectSummary) GetID() string
- func (s *ProjectSummary) GetName() OptString
- func (s *ProjectSummary) GetWorktree() string
- func (s *ProjectSummary) MarshalJSON() ([]byte, error)
- func (s *ProjectSummary) SetID(val string)
- func (s *ProjectSummary) SetName(val OptString)
- func (s *ProjectSummary) SetWorktree(val string)
- func (s *ProjectSummary) UnmarshalJSON(data []byte) error
- type ProjectTime
- func (s *ProjectTime) Decode(d *jx.Decoder) error
- func (s *ProjectTime) Encode(e *jx.Encoder)
- func (s *ProjectTime) GetCreated() int
- func (s *ProjectTime) GetInitialized() OptInt
- func (s *ProjectTime) GetUpdated() int
- func (s *ProjectTime) MarshalJSON() ([]byte, error)
- func (s *ProjectTime) SetCreated(val int)
- func (s *ProjectTime) SetInitialized(val OptInt)
- func (s *ProjectTime) SetUpdated(val int)
- func (s *ProjectTime) UnmarshalJSON(data []byte) error
- func (s *ProjectTime) Validate() error
- type ProjectVcs
- func (ProjectVcs) AllValues() []ProjectVcs
- func (s *ProjectVcs) Decode(d *jx.Decoder) error
- func (s ProjectVcs) Encode(e *jx.Encoder)
- func (s ProjectVcs) MarshalJSON() ([]byte, error)
- func (s ProjectVcs) MarshalText() ([]byte, error)
- func (s *ProjectVcs) UnmarshalJSON(data []byte) error
- func (s *ProjectVcs) UnmarshalText(data []byte) error
- func (s ProjectVcs) Validate() error
- type Provider
- func (s *Provider) Decode(d *jx.Decoder) error
- func (s *Provider) Encode(e *jx.Encoder)
- func (s *Provider) GetEnv() []string
- func (s *Provider) GetID() string
- func (s *Provider) GetKey() OptString
- func (s *Provider) GetModels() ProviderModels
- func (s *Provider) GetName() string
- func (s *Provider) GetOptions() ProviderOptions
- func (s *Provider) GetSource() ProviderSource
- func (s *Provider) MarshalJSON() ([]byte, error)
- func (s *Provider) SetEnv(val []string)
- func (s *Provider) SetID(val string)
- func (s *Provider) SetKey(val OptString)
- func (s *Provider) SetModels(val ProviderModels)
- func (s *Provider) SetName(val string)
- func (s *Provider) SetOptions(val ProviderOptions)
- func (s *Provider) SetSource(val ProviderSource)
- func (s *Provider) UnmarshalJSON(data []byte) error
- func (s *Provider) Validate() error
- type ProviderListOK
- func (s *ProviderListOK) Decode(d *jx.Decoder) error
- func (s *ProviderListOK) Encode(e *jx.Encoder)
- func (s *ProviderListOK) GetAll() []Provider
- func (s *ProviderListOK) GetConnected() []string
- func (s *ProviderListOK) GetDefault() ProviderListOKDefault
- func (s *ProviderListOK) MarshalJSON() ([]byte, error)
- func (s *ProviderListOK) SetAll(val []Provider)
- func (s *ProviderListOK) SetConnected(val []string)
- func (s *ProviderListOK) SetDefault(val ProviderListOKDefault)
- func (s *ProviderListOK) UnmarshalJSON(data []byte) error
- func (s *ProviderListOK) Validate() error
- type ProviderListOKDefault
- type ProviderListParams
- type ProviderListRes
- type ProviderModels
- type ProviderOptions
- type ProviderSource
- func (ProviderSource) AllValues() []ProviderSource
- func (s *ProviderSource) Decode(d *jx.Decoder) error
- func (s ProviderSource) Encode(e *jx.Encoder)
- func (s ProviderSource) MarshalJSON() ([]byte, error)
- func (s ProviderSource) MarshalText() ([]byte, error)
- func (s *ProviderSource) UnmarshalJSON(data []byte) error
- func (s *ProviderSource) UnmarshalText(data []byte) error
- func (s ProviderSource) Validate() error
- type Pty
- func (s *Pty) Decode(d *jx.Decoder) error
- func (s *Pty) Encode(e *jx.Encoder)
- func (s *Pty) GetArgs() []string
- func (s *Pty) GetCommand() string
- func (s *Pty) GetCwd() string
- func (s *Pty) GetExitCode() OptInt
- func (s *Pty) GetID() string
- func (s *Pty) GetPid() int
- func (s *Pty) GetStatus() PtyStatus
- func (s *Pty) GetTitle() string
- func (s *Pty) MarshalJSON() ([]byte, error)
- func (s *Pty) SetArgs(val []string)
- func (s *Pty) SetCommand(val string)
- func (s *Pty) SetCwd(val string)
- func (s *Pty) SetExitCode(val OptInt)
- func (s *Pty) SetID(val string)
- func (s *Pty) SetPid(val int)
- func (s *Pty) SetStatus(val PtyStatus)
- func (s *Pty) SetTitle(val string)
- func (s *Pty) UnmarshalJSON(data []byte) error
- func (s *Pty) Validate() error
- type PtyConnectOKApplicationJSON
- type PtyConnectParams
- type PtyConnectRes
- type PtyConnectTokenParams
- type PtyConnectTokenRes
- type PtyForbiddenError
- func (s *PtyForbiddenError) Decode(d *jx.Decoder) error
- func (s *PtyForbiddenError) Encode(e *jx.Encoder)
- func (s *PtyForbiddenError) GetMessage() string
- func (s *PtyForbiddenError) GetTag() PtyForbiddenErrorTag
- func (s *PtyForbiddenError) MarshalJSON() ([]byte, error)
- func (s *PtyForbiddenError) SetMessage(val string)
- func (s *PtyForbiddenError) SetTag(val PtyForbiddenErrorTag)
- func (s *PtyForbiddenError) UnmarshalJSON(data []byte) error
- func (s *PtyForbiddenError) Validate() error
- type PtyForbiddenErrorTag
- func (PtyForbiddenErrorTag) AllValues() []PtyForbiddenErrorTag
- func (s *PtyForbiddenErrorTag) Decode(d *jx.Decoder) error
- func (s PtyForbiddenErrorTag) Encode(e *jx.Encoder)
- func (s PtyForbiddenErrorTag) MarshalJSON() ([]byte, error)
- func (s PtyForbiddenErrorTag) MarshalText() ([]byte, error)
- func (s *PtyForbiddenErrorTag) UnmarshalJSON(data []byte) error
- func (s *PtyForbiddenErrorTag) UnmarshalText(data []byte) error
- func (s PtyForbiddenErrorTag) Validate() error
- type PtyGetParams
- type PtyGetRes
- type PtyListOKApplicationJSON
- func (s *PtyListOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s PtyListOKApplicationJSON) Encode(e *jx.Encoder)
- func (s PtyListOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *PtyListOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s PtyListOKApplicationJSON) Validate() error
- type PtyListParams
- type PtyListRes
- type PtyNotFoundError
- func (s *PtyNotFoundError) Decode(d *jx.Decoder) error
- func (s *PtyNotFoundError) Encode(e *jx.Encoder)
- func (s *PtyNotFoundError) GetMessage() string
- func (s *PtyNotFoundError) GetPtyID() string
- func (s *PtyNotFoundError) GetTag() PtyNotFoundErrorTag
- func (s *PtyNotFoundError) MarshalJSON() ([]byte, error)
- func (s *PtyNotFoundError) SetMessage(val string)
- func (s *PtyNotFoundError) SetPtyID(val string)
- func (s *PtyNotFoundError) SetTag(val PtyNotFoundErrorTag)
- func (s *PtyNotFoundError) UnmarshalJSON(data []byte) error
- func (s *PtyNotFoundError) Validate() error
- type PtyNotFoundErrorTag
- func (PtyNotFoundErrorTag) AllValues() []PtyNotFoundErrorTag
- func (s *PtyNotFoundErrorTag) Decode(d *jx.Decoder) error
- func (s PtyNotFoundErrorTag) Encode(e *jx.Encoder)
- func (s PtyNotFoundErrorTag) MarshalJSON() ([]byte, error)
- func (s PtyNotFoundErrorTag) MarshalText() ([]byte, error)
- func (s *PtyNotFoundErrorTag) UnmarshalJSON(data []byte) error
- func (s *PtyNotFoundErrorTag) UnmarshalText(data []byte) error
- func (s PtyNotFoundErrorTag) Validate() error
- type PtyRemoveOKApplicationJSON
- type PtyRemoveParams
- type PtyRemoveRes
- type PtyShellsOKApplicationJSON
- func (s *PtyShellsOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s PtyShellsOKApplicationJSON) Encode(e *jx.Encoder)
- func (s PtyShellsOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *PtyShellsOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s PtyShellsOKApplicationJSON) Validate() error
- type PtyShellsOKItem
- func (s *PtyShellsOKItem) Decode(d *jx.Decoder) error
- func (s *PtyShellsOKItem) Encode(e *jx.Encoder)
- func (s *PtyShellsOKItem) GetAcceptable() bool
- func (s *PtyShellsOKItem) GetName() string
- func (s *PtyShellsOKItem) GetPath() string
- func (s *PtyShellsOKItem) MarshalJSON() ([]byte, error)
- func (s *PtyShellsOKItem) SetAcceptable(val bool)
- func (s *PtyShellsOKItem) SetName(val string)
- func (s *PtyShellsOKItem) SetPath(val string)
- func (s *PtyShellsOKItem) UnmarshalJSON(data []byte) error
- type PtyShellsParams
- type PtyShellsRes
- type PtyStatus
- func (PtyStatus) AllValues() []PtyStatus
- func (s *PtyStatus) Decode(d *jx.Decoder) error
- func (s PtyStatus) Encode(e *jx.Encoder)
- func (s PtyStatus) MarshalJSON() ([]byte, error)
- func (s PtyStatus) MarshalText() ([]byte, error)
- func (s *PtyStatus) UnmarshalJSON(data []byte) error
- func (s *PtyStatus) UnmarshalText(data []byte) error
- func (s PtyStatus) Validate() error
- type PtyTicketConnectToken
- func (s *PtyTicketConnectToken) Decode(d *jx.Decoder) error
- func (s *PtyTicketConnectToken) Encode(e *jx.Encoder)
- func (s *PtyTicketConnectToken) GetExpiresIn() int
- func (s *PtyTicketConnectToken) GetTicket() string
- func (s *PtyTicketConnectToken) MarshalJSON() ([]byte, error)
- func (s *PtyTicketConnectToken) SetExpiresIn(val int)
- func (s *PtyTicketConnectToken) SetTicket(val string)
- func (s *PtyTicketConnectToken) UnmarshalJSON(data []byte) error
- func (s *PtyTicketConnectToken) Validate() error
- type QuestionInfo
- func (s *QuestionInfo) Decode(d *jx.Decoder) error
- func (s *QuestionInfo) Encode(e *jx.Encoder)
- func (s *QuestionInfo) GetCustom() OptBool
- func (s *QuestionInfo) GetHeader() string
- func (s *QuestionInfo) GetMultiple() OptBool
- func (s *QuestionInfo) GetOptions() []QuestionOption
- func (s *QuestionInfo) GetQuestion() string
- func (s *QuestionInfo) MarshalJSON() ([]byte, error)
- func (s *QuestionInfo) SetCustom(val OptBool)
- func (s *QuestionInfo) SetHeader(val string)
- func (s *QuestionInfo) SetMultiple(val OptBool)
- func (s *QuestionInfo) SetOptions(val []QuestionOption)
- func (s *QuestionInfo) SetQuestion(val string)
- func (s *QuestionInfo) UnmarshalJSON(data []byte) error
- func (s *QuestionInfo) Validate() error
- type QuestionListOKApplicationJSON
- func (s *QuestionListOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s QuestionListOKApplicationJSON) Encode(e *jx.Encoder)
- func (s QuestionListOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *QuestionListOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s QuestionListOKApplicationJSON) Validate() error
- type QuestionListParams
- type QuestionListRes
- type QuestionOption
- func (s *QuestionOption) Decode(d *jx.Decoder) error
- func (s *QuestionOption) Encode(e *jx.Encoder)
- func (s *QuestionOption) GetDescription() string
- func (s *QuestionOption) GetLabel() string
- func (s *QuestionOption) MarshalJSON() ([]byte, error)
- func (s *QuestionOption) SetDescription(val string)
- func (s *QuestionOption) SetLabel(val string)
- func (s *QuestionOption) UnmarshalJSON(data []byte) error
- type QuestionRequest
- func (s *QuestionRequest) Decode(d *jx.Decoder) error
- func (s *QuestionRequest) Encode(e *jx.Encoder)
- func (s *QuestionRequest) GetID() string
- func (s *QuestionRequest) GetQuestions() []QuestionInfo
- func (s *QuestionRequest) GetSessionID() string
- func (s *QuestionRequest) GetTool() OptQuestionTool
- func (s *QuestionRequest) MarshalJSON() ([]byte, error)
- func (s *QuestionRequest) SetID(val string)
- func (s *QuestionRequest) SetQuestions(val []QuestionInfo)
- func (s *QuestionRequest) SetSessionID(val string)
- func (s *QuestionRequest) SetTool(val OptQuestionTool)
- func (s *QuestionRequest) UnmarshalJSON(data []byte) error
- func (s *QuestionRequest) Validate() error
- type QuestionTool
- func (s *QuestionTool) Decode(d *jx.Decoder) error
- func (s *QuestionTool) Encode(e *jx.Encoder)
- func (s *QuestionTool) GetCallID() string
- func (s *QuestionTool) GetMessageID() string
- func (s *QuestionTool) MarshalJSON() ([]byte, error)
- func (s *QuestionTool) SetCallID(val string)
- func (s *QuestionTool) SetMessageID(val string)
- func (s *QuestionTool) UnmarshalJSON(data []byte) error
- func (s *QuestionTool) Validate() error
- type QuestionV2Info
- func (s *QuestionV2Info) Decode(d *jx.Decoder) error
- func (s *QuestionV2Info) Encode(e *jx.Encoder)
- func (s *QuestionV2Info) GetCustom() OptBool
- func (s *QuestionV2Info) GetHeader() string
- func (s *QuestionV2Info) GetMultiple() OptBool
- func (s *QuestionV2Info) GetOptions() []QuestionV2Option
- func (s *QuestionV2Info) GetQuestion() string
- func (s *QuestionV2Info) MarshalJSON() ([]byte, error)
- func (s *QuestionV2Info) SetCustom(val OptBool)
- func (s *QuestionV2Info) SetHeader(val string)
- func (s *QuestionV2Info) SetMultiple(val OptBool)
- func (s *QuestionV2Info) SetOptions(val []QuestionV2Option)
- func (s *QuestionV2Info) SetQuestion(val string)
- func (s *QuestionV2Info) UnmarshalJSON(data []byte) error
- func (s *QuestionV2Info) Validate() error
- type QuestionV2Option
- func (s *QuestionV2Option) Decode(d *jx.Decoder) error
- func (s *QuestionV2Option) Encode(e *jx.Encoder)
- func (s *QuestionV2Option) GetDescription() string
- func (s *QuestionV2Option) GetLabel() string
- func (s *QuestionV2Option) MarshalJSON() ([]byte, error)
- func (s *QuestionV2Option) SetDescription(val string)
- func (s *QuestionV2Option) SetLabel(val string)
- func (s *QuestionV2Option) UnmarshalJSON(data []byte) error
- type QuestionV2Request
- func (s *QuestionV2Request) Decode(d *jx.Decoder) error
- func (s *QuestionV2Request) Encode(e *jx.Encoder)
- func (s *QuestionV2Request) GetID() string
- func (s *QuestionV2Request) GetQuestions() []QuestionV2Info
- func (s *QuestionV2Request) GetSessionID() string
- func (s *QuestionV2Request) GetTool() OptQuestionV2Tool
- func (s *QuestionV2Request) MarshalJSON() ([]byte, error)
- func (s *QuestionV2Request) SetID(val string)
- func (s *QuestionV2Request) SetQuestions(val []QuestionV2Info)
- func (s *QuestionV2Request) SetSessionID(val string)
- func (s *QuestionV2Request) SetTool(val OptQuestionV2Tool)
- func (s *QuestionV2Request) UnmarshalJSON(data []byte) error
- func (s *QuestionV2Request) Validate() error
- type QuestionV2Tool
- func (s *QuestionV2Tool) Decode(d *jx.Decoder) error
- func (s *QuestionV2Tool) Encode(e *jx.Encoder)
- func (s *QuestionV2Tool) GetCallID() string
- func (s *QuestionV2Tool) GetMessageID() string
- func (s *QuestionV2Tool) MarshalJSON() ([]byte, error)
- func (s *QuestionV2Tool) SetCallID(val string)
- func (s *QuestionV2Tool) SetMessageID(val string)
- func (s *QuestionV2Tool) UnmarshalJSON(data []byte) error
- type Range
- func (s *Range) Decode(d *jx.Decoder) error
- func (s *Range) Encode(e *jx.Encoder)
- func (s *Range) GetEnd() RangeEnd
- func (s *Range) GetStart() RangeStart
- func (s *Range) MarshalJSON() ([]byte, error)
- func (s *Range) SetEnd(val RangeEnd)
- func (s *Range) SetStart(val RangeStart)
- func (s *Range) UnmarshalJSON(data []byte) error
- func (s *Range) Validate() error
- type RangeEnd
- func (s *RangeEnd) Decode(d *jx.Decoder) error
- func (s *RangeEnd) Encode(e *jx.Encoder)
- func (s *RangeEnd) GetCharacter() int
- func (s *RangeEnd) GetLine() int
- func (s *RangeEnd) MarshalJSON() ([]byte, error)
- func (s *RangeEnd) SetCharacter(val int)
- func (s *RangeEnd) SetLine(val int)
- func (s *RangeEnd) UnmarshalJSON(data []byte) error
- func (s *RangeEnd) Validate() error
- type RangeStart
- func (s *RangeStart) Decode(d *jx.Decoder) error
- func (s *RangeStart) Encode(e *jx.Encoder)
- func (s *RangeStart) GetCharacter() int
- func (s *RangeStart) GetLine() int
- func (s *RangeStart) MarshalJSON() ([]byte, error)
- func (s *RangeStart) SetCharacter(val int)
- func (s *RangeStart) SetLine(val int)
- func (s *RangeStart) UnmarshalJSON(data []byte) error
- func (s *RangeStart) Validate() error
- type RequestEditor
- type RequestOption
- type ResponseEditor
- type RevertState
- func (s *RevertState) Decode(d *jx.Decoder) error
- func (s *RevertState) Encode(e *jx.Encoder)
- func (s *RevertState) GetDiff() OptString
- func (s *RevertState) GetFiles() []FileDiff
- func (s *RevertState) GetMessageID() string
- func (s *RevertState) GetPartID() OptString
- func (s *RevertState) GetSnapshot() OptString
- func (s *RevertState) MarshalJSON() ([]byte, error)
- func (s *RevertState) SetDiff(val OptString)
- func (s *RevertState) SetFiles(val []FileDiff)
- func (s *RevertState) SetMessageID(val string)
- func (s *RevertState) SetPartID(val OptString)
- func (s *RevertState) SetSnapshot(val OptString)
- func (s *RevertState) UnmarshalJSON(data []byte) error
- func (s *RevertState) Validate() error
- type Session
- func (s *Session) Decode(d *jx.Decoder) error
- func (s *Session) Encode(e *jx.Encoder)
- func (s *Session) GetAgent() OptString
- func (s *Session) GetCost() OptFloat64
- func (s *Session) GetDirectory() string
- func (s *Session) GetID() string
- func (s *Session) GetMetadata() *SessionMetadata
- func (s *Session) GetModel() OptSessionModel
- func (s *Session) GetParentID() OptString
- func (s *Session) GetPath() OptString
- func (s *Session) GetPermission() PermissionRuleset
- func (s *Session) GetProjectID() string
- func (s *Session) GetRevert() OptSessionRevert
- func (s *Session) GetShare() OptSessionShare
- func (s *Session) GetSlug() string
- func (s *Session) GetSummary() OptSessionSummary
- func (s *Session) GetTime() SessionTime
- func (s *Session) GetTitle() string
- func (s *Session) GetTokens() OptSessionTokens
- func (s *Session) GetVersion() string
- func (s *Session) GetWorkspaceID() OptString
- func (s *Session) MarshalJSON() ([]byte, error)
- func (s *Session) SetAgent(val OptString)
- func (s *Session) SetCost(val OptFloat64)
- func (s *Session) SetDirectory(val string)
- func (s *Session) SetID(val string)
- func (s *Session) SetMetadata(val *SessionMetadata)
- func (s *Session) SetModel(val OptSessionModel)
- func (s *Session) SetParentID(val OptString)
- func (s *Session) SetPath(val OptString)
- func (s *Session) SetPermission(val PermissionRuleset)
- func (s *Session) SetProjectID(val string)
- func (s *Session) SetRevert(val OptSessionRevert)
- func (s *Session) SetShare(val OptSessionShare)
- func (s *Session) SetSlug(val string)
- func (s *Session) SetSummary(val OptSessionSummary)
- func (s *Session) SetTime(val SessionTime)
- func (s *Session) SetTitle(val string)
- func (s *Session) SetTokens(val OptSessionTokens)
- func (s *Session) SetVersion(val string)
- func (s *Session) SetWorkspaceID(val OptString)
- func (s *Session) UnmarshalJSON(data []byte) error
- func (s *Session) Validate() error
- type SessionActive
- func (s *SessionActive) Decode(d *jx.Decoder) error
- func (s *SessionActive) Encode(e *jx.Encoder)
- func (s *SessionActive) GetType() SessionActiveType
- func (s *SessionActive) MarshalJSON() ([]byte, error)
- func (s *SessionActive) SetType(val SessionActiveType)
- func (s *SessionActive) UnmarshalJSON(data []byte) error
- func (s *SessionActive) Validate() error
- type SessionActiveType
- func (SessionActiveType) AllValues() []SessionActiveType
- func (s *SessionActiveType) Decode(d *jx.Decoder) error
- func (s SessionActiveType) Encode(e *jx.Encoder)
- func (s SessionActiveType) MarshalJSON() ([]byte, error)
- func (s SessionActiveType) MarshalText() ([]byte, error)
- func (s *SessionActiveType) UnmarshalJSON(data []byte) error
- func (s *SessionActiveType) UnmarshalText(data []byte) error
- func (s SessionActiveType) Validate() error
- type SessionDiffOKApplicationJSON
- func (s *SessionDiffOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s SessionDiffOKApplicationJSON) Encode(e *jx.Encoder)
- func (s SessionDiffOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *SessionDiffOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s SessionDiffOKApplicationJSON) Validate() error
- type SessionDiffParams
- type SessionDiffRes
- type SessionListOKApplicationJSON
- func (s *SessionListOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s SessionListOKApplicationJSON) Encode(e *jx.Encoder)
- func (s SessionListOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *SessionListOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s SessionListOKApplicationJSON) Validate() error
- type SessionListParams
- type SessionListRes
- type SessionListRoots
- func (s SessionListRoots) GetBool() (v bool, ok bool)
- func (s SessionListRoots) GetSessionListRoots1() (v SessionListRoots1, ok bool)
- func (s SessionListRoots) IsBool() bool
- func (s SessionListRoots) IsSessionListRoots1() bool
- func (s *SessionListRoots) SetBool(v bool)
- func (s *SessionListRoots) SetSessionListRoots1(v SessionListRoots1)
- func (s SessionListRoots) Validate() error
- type SessionListRoots1
- type SessionListRootsType
- type SessionListScope
- type SessionMetadata
- type SessionModel
- func (s *SessionModel) Decode(d *jx.Decoder) error
- func (s *SessionModel) Encode(e *jx.Encoder)
- func (s *SessionModel) GetID() string
- func (s *SessionModel) GetProviderID() string
- func (s *SessionModel) GetVariant() OptString
- func (s *SessionModel) MarshalJSON() ([]byte, error)
- func (s *SessionModel) SetID(val string)
- func (s *SessionModel) SetProviderID(val string)
- func (s *SessionModel) SetVariant(val OptString)
- func (s *SessionModel) UnmarshalJSON(data []byte) error
- type SessionRevert
- func (s *SessionRevert) Decode(d *jx.Decoder) error
- func (s *SessionRevert) Encode(e *jx.Encoder)
- func (s *SessionRevert) GetDiff() OptString
- func (s *SessionRevert) GetMessageID() string
- func (s *SessionRevert) GetPartID() OptString
- func (s *SessionRevert) GetSnapshot() OptString
- func (s *SessionRevert) MarshalJSON() ([]byte, error)
- func (s *SessionRevert) SetDiff(val OptString)
- func (s *SessionRevert) SetMessageID(val string)
- func (s *SessionRevert) SetPartID(val OptString)
- func (s *SessionRevert) SetSnapshot(val OptString)
- func (s *SessionRevert) UnmarshalJSON(data []byte) error
- func (s *SessionRevert) Validate() error
- type SessionShare
- type SessionShareParams
- type SessionShareRes
- type SessionSummary
- func (s *SessionSummary) Decode(d *jx.Decoder) error
- func (s *SessionSummary) Encode(e *jx.Encoder)
- func (s *SessionSummary) GetAdditions() float64
- func (s *SessionSummary) GetDeletions() float64
- func (s *SessionSummary) GetDiffs() []SnapshotFileDiff
- func (s *SessionSummary) GetFiles() float64
- func (s *SessionSummary) MarshalJSON() ([]byte, error)
- func (s *SessionSummary) SetAdditions(val float64)
- func (s *SessionSummary) SetDeletions(val float64)
- func (s *SessionSummary) SetDiffs(val []SnapshotFileDiff)
- func (s *SessionSummary) SetFiles(val float64)
- func (s *SessionSummary) UnmarshalJSON(data []byte) error
- func (s *SessionSummary) Validate() error
- type SessionTime
- func (s *SessionTime) Decode(d *jx.Decoder) error
- func (s *SessionTime) Encode(e *jx.Encoder)
- func (s *SessionTime) GetArchived() OptFloat64
- func (s *SessionTime) GetCompacting() OptInt
- func (s *SessionTime) GetCreated() int
- func (s *SessionTime) GetUpdated() int
- func (s *SessionTime) MarshalJSON() ([]byte, error)
- func (s *SessionTime) SetArchived(val OptFloat64)
- func (s *SessionTime) SetCompacting(val OptInt)
- func (s *SessionTime) SetCreated(val int)
- func (s *SessionTime) SetUpdated(val int)
- func (s *SessionTime) UnmarshalJSON(data []byte) error
- func (s *SessionTime) Validate() error
- type SessionTokens
- func (s *SessionTokens) Decode(d *jx.Decoder) error
- func (s *SessionTokens) Encode(e *jx.Encoder)
- func (s *SessionTokens) GetCache() SessionTokensCache
- func (s *SessionTokens) GetInput() float64
- func (s *SessionTokens) GetOutput() float64
- func (s *SessionTokens) GetReasoning() float64
- func (s *SessionTokens) MarshalJSON() ([]byte, error)
- func (s *SessionTokens) SetCache(val SessionTokensCache)
- func (s *SessionTokens) SetInput(val float64)
- func (s *SessionTokens) SetOutput(val float64)
- func (s *SessionTokens) SetReasoning(val float64)
- func (s *SessionTokens) UnmarshalJSON(data []byte) error
- func (s *SessionTokens) Validate() error
- type SessionTokensCache
- func (s *SessionTokensCache) Decode(d *jx.Decoder) error
- func (s *SessionTokensCache) Encode(e *jx.Encoder)
- func (s *SessionTokensCache) GetRead() float64
- func (s *SessionTokensCache) GetWrite() float64
- func (s *SessionTokensCache) MarshalJSON() ([]byte, error)
- func (s *SessionTokensCache) SetRead(val float64)
- func (s *SessionTokensCache) SetWrite(val float64)
- func (s *SessionTokensCache) UnmarshalJSON(data []byte) error
- func (s *SessionTokensCache) Validate() error
- type SessionUnshareParams
- type SessionUnshareRes
- type SessionV2Info
- func (s *SessionV2Info) Decode(d *jx.Decoder) error
- func (s *SessionV2Info) Encode(e *jx.Encoder)
- func (s *SessionV2Info) GetAgent() OptString
- func (s *SessionV2Info) GetCost() float64
- func (s *SessionV2Info) GetID() string
- func (s *SessionV2Info) GetLocation() LocationRef
- func (s *SessionV2Info) GetModel() OptModelRef
- func (s *SessionV2Info) GetParentID() OptString
- func (s *SessionV2Info) GetProjectID() string
- func (s *SessionV2Info) GetRevert() OptRevertState
- func (s *SessionV2Info) GetSubpath() OptString
- func (s *SessionV2Info) GetTime() SessionV2InfoTime
- func (s *SessionV2Info) GetTitle() string
- func (s *SessionV2Info) GetTokens() SessionV2InfoTokens
- func (s *SessionV2Info) MarshalJSON() ([]byte, error)
- func (s *SessionV2Info) SetAgent(val OptString)
- func (s *SessionV2Info) SetCost(val float64)
- func (s *SessionV2Info) SetID(val string)
- func (s *SessionV2Info) SetLocation(val LocationRef)
- func (s *SessionV2Info) SetModel(val OptModelRef)
- func (s *SessionV2Info) SetParentID(val OptString)
- func (s *SessionV2Info) SetProjectID(val string)
- func (s *SessionV2Info) SetRevert(val OptRevertState)
- func (s *SessionV2Info) SetSubpath(val OptString)
- func (s *SessionV2Info) SetTime(val SessionV2InfoTime)
- func (s *SessionV2Info) SetTitle(val string)
- func (s *SessionV2Info) SetTokens(val SessionV2InfoTokens)
- func (s *SessionV2Info) UnmarshalJSON(data []byte) error
- func (s *SessionV2Info) Validate() error
- type SessionV2InfoTime
- func (s *SessionV2InfoTime) Decode(d *jx.Decoder) error
- func (s *SessionV2InfoTime) Encode(e *jx.Encoder)
- func (s *SessionV2InfoTime) GetArchived() OptFloat64
- func (s *SessionV2InfoTime) GetCreated() float64
- func (s *SessionV2InfoTime) GetUpdated() float64
- func (s *SessionV2InfoTime) MarshalJSON() ([]byte, error)
- func (s *SessionV2InfoTime) SetArchived(val OptFloat64)
- func (s *SessionV2InfoTime) SetCreated(val float64)
- func (s *SessionV2InfoTime) SetUpdated(val float64)
- func (s *SessionV2InfoTime) UnmarshalJSON(data []byte) error
- func (s *SessionV2InfoTime) Validate() error
- type SessionV2InfoTokens
- func (s *SessionV2InfoTokens) Decode(d *jx.Decoder) error
- func (s *SessionV2InfoTokens) Encode(e *jx.Encoder)
- func (s *SessionV2InfoTokens) GetCache() SessionV2InfoTokensCache
- func (s *SessionV2InfoTokens) GetInput() float64
- func (s *SessionV2InfoTokens) GetOutput() float64
- func (s *SessionV2InfoTokens) GetReasoning() float64
- func (s *SessionV2InfoTokens) MarshalJSON() ([]byte, error)
- func (s *SessionV2InfoTokens) SetCache(val SessionV2InfoTokensCache)
- func (s *SessionV2InfoTokens) SetInput(val float64)
- func (s *SessionV2InfoTokens) SetOutput(val float64)
- func (s *SessionV2InfoTokens) SetReasoning(val float64)
- func (s *SessionV2InfoTokens) UnmarshalJSON(data []byte) error
- func (s *SessionV2InfoTokens) Validate() error
- type SessionV2InfoTokensCache
- func (s *SessionV2InfoTokensCache) Decode(d *jx.Decoder) error
- func (s *SessionV2InfoTokensCache) Encode(e *jx.Encoder)
- func (s *SessionV2InfoTokensCache) GetRead() float64
- func (s *SessionV2InfoTokensCache) GetWrite() float64
- func (s *SessionV2InfoTokensCache) MarshalJSON() ([]byte, error)
- func (s *SessionV2InfoTokensCache) SetRead(val float64)
- func (s *SessionV2InfoTokensCache) SetWrite(val float64)
- func (s *SessionV2InfoTokensCache) UnmarshalJSON(data []byte) error
- func (s *SessionV2InfoTokensCache) Validate() error
- type SkillV2Info
- func (s *SkillV2Info) Decode(d *jx.Decoder) error
- func (s *SkillV2Info) Encode(e *jx.Encoder)
- func (s *SkillV2Info) GetContent() string
- func (s *SkillV2Info) GetDescription() OptString
- func (s *SkillV2Info) GetLocation() string
- func (s *SkillV2Info) GetName() string
- func (s *SkillV2Info) GetSlash() OptBool
- func (s *SkillV2Info) MarshalJSON() ([]byte, error)
- func (s *SkillV2Info) SetContent(val string)
- func (s *SkillV2Info) SetDescription(val OptString)
- func (s *SkillV2Info) SetLocation(val string)
- func (s *SkillV2Info) SetName(val string)
- func (s *SkillV2Info) SetSlash(val OptBool)
- func (s *SkillV2Info) UnmarshalJSON(data []byte) error
- type SnapshotFileDiff
- func (s *SnapshotFileDiff) Decode(d *jx.Decoder) error
- func (s *SnapshotFileDiff) Encode(e *jx.Encoder)
- func (s *SnapshotFileDiff) GetAdditions() float64
- func (s *SnapshotFileDiff) GetDeletions() float64
- func (s *SnapshotFileDiff) GetFile() OptString
- func (s *SnapshotFileDiff) GetPatch() OptString
- func (s *SnapshotFileDiff) GetStatus() OptSnapshotFileDiffStatus
- func (s *SnapshotFileDiff) MarshalJSON() ([]byte, error)
- func (s *SnapshotFileDiff) SetAdditions(val float64)
- func (s *SnapshotFileDiff) SetDeletions(val float64)
- func (s *SnapshotFileDiff) SetFile(val OptString)
- func (s *SnapshotFileDiff) SetPatch(val OptString)
- func (s *SnapshotFileDiff) SetStatus(val OptSnapshotFileDiffStatus)
- func (s *SnapshotFileDiff) UnmarshalJSON(data []byte) error
- func (s *SnapshotFileDiff) Validate() error
- type SnapshotFileDiffStatus
- func (SnapshotFileDiffStatus) AllValues() []SnapshotFileDiffStatus
- func (s *SnapshotFileDiffStatus) Decode(d *jx.Decoder) error
- func (s SnapshotFileDiffStatus) Encode(e *jx.Encoder)
- func (s SnapshotFileDiffStatus) MarshalJSON() ([]byte, error)
- func (s SnapshotFileDiffStatus) MarshalText() ([]byte, error)
- func (s *SnapshotFileDiffStatus) UnmarshalJSON(data []byte) error
- func (s *SnapshotFileDiffStatus) UnmarshalText(data []byte) error
- func (s SnapshotFileDiffStatus) Validate() error
- type Symbol
- func (s *Symbol) Decode(d *jx.Decoder) error
- func (s *Symbol) Encode(e *jx.Encoder)
- func (s *Symbol) GetKind() int
- func (s *Symbol) GetLocation() SymbolLocation
- func (s *Symbol) GetName() string
- func (s *Symbol) MarshalJSON() ([]byte, error)
- func (s *Symbol) SetKind(val int)
- func (s *Symbol) SetLocation(val SymbolLocation)
- func (s *Symbol) SetName(val string)
- func (s *Symbol) UnmarshalJSON(data []byte) error
- func (s *Symbol) Validate() error
- type SymbolLocation
- func (s *SymbolLocation) Decode(d *jx.Decoder) error
- func (s *SymbolLocation) Encode(e *jx.Encoder)
- func (s *SymbolLocation) GetRange() Range
- func (s *SymbolLocation) GetURI() string
- func (s *SymbolLocation) MarshalJSON() ([]byte, error)
- func (s *SymbolLocation) SetRange(val Range)
- func (s *SymbolLocation) SetURI(val string)
- func (s *SymbolLocation) UnmarshalJSON(data []byte) error
- func (s *SymbolLocation) Validate() error
- type SyncStartOKApplicationJSON
- type SyncStartParams
- type SyncStartRes
- type TuiClearPromptOKApplicationJSON
- type TuiClearPromptParams
- type TuiClearPromptRes
- type TuiControlNextOK
- func (s *TuiControlNextOK) Decode(d *jx.Decoder) error
- func (s *TuiControlNextOK) Encode(e *jx.Encoder)
- func (s *TuiControlNextOK) GetBody() jx.Raw
- func (s *TuiControlNextOK) GetPath() string
- func (s *TuiControlNextOK) MarshalJSON() ([]byte, error)
- func (s *TuiControlNextOK) SetBody(val jx.Raw)
- func (s *TuiControlNextOK) SetPath(val string)
- func (s *TuiControlNextOK) UnmarshalJSON(data []byte) error
- type TuiControlNextParams
- type TuiControlNextRes
- type TuiControlResponseOKApplicationJSON
- type TuiControlResponseParams
- type TuiControlResponseRes
- type TuiOpenHelpOKApplicationJSON
- type TuiOpenHelpParams
- type TuiOpenHelpRes
- type TuiOpenModelsOKApplicationJSON
- type TuiOpenModelsParams
- type TuiOpenModelsRes
- type TuiOpenSessionsOKApplicationJSON
- type TuiOpenSessionsParams
- type TuiOpenSessionsRes
- type TuiOpenThemesOKApplicationJSON
- type TuiOpenThemesParams
- type TuiOpenThemesRes
- type TuiShowToastOKApplicationJSON
- type TuiShowToastParams
- type TuiShowToastReq
- func (s *TuiShowToastReq) Decode(d *jx.Decoder) error
- func (s *TuiShowToastReq) Encode(e *jx.Encoder)
- func (s *TuiShowToastReq) GetDuration() OptInt
- func (s *TuiShowToastReq) GetMessage() string
- func (s *TuiShowToastReq) GetTitle() OptString
- func (s *TuiShowToastReq) GetVariant() TuiShowToastReqVariant
- func (s *TuiShowToastReq) MarshalJSON() ([]byte, error)
- func (s *TuiShowToastReq) SetDuration(val OptInt)
- func (s *TuiShowToastReq) SetMessage(val string)
- func (s *TuiShowToastReq) SetTitle(val OptString)
- func (s *TuiShowToastReq) SetVariant(val TuiShowToastReqVariant)
- func (s *TuiShowToastReq) UnmarshalJSON(data []byte) error
- func (s *TuiShowToastReq) Validate() error
- type TuiShowToastReqVariant
- func (TuiShowToastReqVariant) AllValues() []TuiShowToastReqVariant
- func (s *TuiShowToastReqVariant) Decode(d *jx.Decoder) error
- func (s TuiShowToastReqVariant) Encode(e *jx.Encoder)
- func (s TuiShowToastReqVariant) MarshalJSON() ([]byte, error)
- func (s TuiShowToastReqVariant) MarshalText() ([]byte, error)
- func (s *TuiShowToastReqVariant) UnmarshalJSON(data []byte) error
- func (s *TuiShowToastReqVariant) UnmarshalText(data []byte) error
- func (s TuiShowToastReqVariant) Validate() error
- type TuiShowToastRes
- type TuiSubmitPromptOKApplicationJSON
- type TuiSubmitPromptParams
- type TuiSubmitPromptRes
- type UnauthorizedError
- func (s *UnauthorizedError) Decode(d *jx.Decoder) error
- func (s *UnauthorizedError) Encode(e *jx.Encoder)
- func (s *UnauthorizedError) GetMessage() string
- func (s *UnauthorizedError) GetTag() UnauthorizedErrorTag
- func (s *UnauthorizedError) MarshalJSON() ([]byte, error)
- func (s *UnauthorizedError) SetMessage(val string)
- func (s *UnauthorizedError) SetTag(val UnauthorizedErrorTag)
- func (s *UnauthorizedError) UnmarshalJSON(data []byte) error
- func (s *UnauthorizedError) Validate() error
- type UnauthorizedErrorTag
- func (UnauthorizedErrorTag) AllValues() []UnauthorizedErrorTag
- func (s *UnauthorizedErrorTag) Decode(d *jx.Decoder) error
- func (s UnauthorizedErrorTag) Encode(e *jx.Encoder)
- func (s UnauthorizedErrorTag) MarshalJSON() ([]byte, error)
- func (s UnauthorizedErrorTag) MarshalText() ([]byte, error)
- func (s *UnauthorizedErrorTag) UnmarshalJSON(data []byte) error
- func (s *UnauthorizedErrorTag) UnmarshalText(data []byte) error
- func (s UnauthorizedErrorTag) Validate() error
- type V2CommandListLocation
- func (s *V2CommandListLocation) DecodeURI(d uri.Decoder) error
- func (s *V2CommandListLocation) EncodeURI(e uri.Encoder) error
- func (s *V2CommandListLocation) GetDirectory() OptString
- func (s *V2CommandListLocation) GetWorkspace() OptString
- func (s *V2CommandListLocation) SetDirectory(val OptString)
- func (s *V2CommandListLocation) SetWorkspace(val OptString)
- type V2CommandListOK
- func (s *V2CommandListOK) Decode(d *jx.Decoder) error
- func (s *V2CommandListOK) Encode(e *jx.Encoder)
- func (s *V2CommandListOK) GetData() []CommandV2Info
- func (s *V2CommandListOK) GetLocation() LocationInfo
- func (s *V2CommandListOK) MarshalJSON() ([]byte, error)
- func (s *V2CommandListOK) SetData(val []CommandV2Info)
- func (s *V2CommandListOK) SetLocation(val LocationInfo)
- func (s *V2CommandListOK) UnmarshalJSON(data []byte) error
- func (s *V2CommandListOK) Validate() error
- type V2CommandListParams
- type V2CommandListRes
- type V2CredentialRemoveLocation
- func (s *V2CredentialRemoveLocation) DecodeURI(d uri.Decoder) error
- func (s *V2CredentialRemoveLocation) EncodeURI(e uri.Encoder) error
- func (s *V2CredentialRemoveLocation) GetDirectory() OptString
- func (s *V2CredentialRemoveLocation) GetWorkspace() OptString
- func (s *V2CredentialRemoveLocation) SetDirectory(val OptString)
- func (s *V2CredentialRemoveLocation) SetWorkspace(val OptString)
- type V2CredentialRemoveNoContent
- type V2CredentialRemoveParams
- type V2CredentialRemoveRes
- type V2CredentialUpdateLocation
- func (s *V2CredentialUpdateLocation) DecodeURI(d uri.Decoder) error
- func (s *V2CredentialUpdateLocation) EncodeURI(e uri.Encoder) error
- func (s *V2CredentialUpdateLocation) GetDirectory() OptString
- func (s *V2CredentialUpdateLocation) GetWorkspace() OptString
- func (s *V2CredentialUpdateLocation) SetDirectory(val OptString)
- func (s *V2CredentialUpdateLocation) SetWorkspace(val OptString)
- type V2CredentialUpdateNoContent
- type V2CredentialUpdateParams
- type V2CredentialUpdateReq
- func (s *V2CredentialUpdateReq) Decode(d *jx.Decoder) error
- func (s *V2CredentialUpdateReq) Encode(e *jx.Encoder)
- func (s *V2CredentialUpdateReq) GetLabel() string
- func (s *V2CredentialUpdateReq) MarshalJSON() ([]byte, error)
- func (s *V2CredentialUpdateReq) SetLabel(val string)
- func (s *V2CredentialUpdateReq) UnmarshalJSON(data []byte) error
- type V2CredentialUpdateRes
- type V2FsFindLocation
- func (s *V2FsFindLocation) DecodeURI(d uri.Decoder) error
- func (s *V2FsFindLocation) EncodeURI(e uri.Encoder) error
- func (s *V2FsFindLocation) GetDirectory() OptString
- func (s *V2FsFindLocation) GetWorkspace() OptString
- func (s *V2FsFindLocation) SetDirectory(val OptString)
- func (s *V2FsFindLocation) SetWorkspace(val OptString)
- type V2FsFindOK
- func (s *V2FsFindOK) Decode(d *jx.Decoder) error
- func (s *V2FsFindOK) Encode(e *jx.Encoder)
- func (s *V2FsFindOK) GetData() []FileSystemEntry
- func (s *V2FsFindOK) GetLocation() LocationInfo
- func (s *V2FsFindOK) MarshalJSON() ([]byte, error)
- func (s *V2FsFindOK) SetData(val []FileSystemEntry)
- func (s *V2FsFindOK) SetLocation(val LocationInfo)
- func (s *V2FsFindOK) UnmarshalJSON(data []byte) error
- func (s *V2FsFindOK) Validate() error
- type V2FsFindParams
- type V2FsFindRes
- type V2FsFindType
- type V2FsListLocation
- func (s *V2FsListLocation) DecodeURI(d uri.Decoder) error
- func (s *V2FsListLocation) EncodeURI(e uri.Encoder) error
- func (s *V2FsListLocation) GetDirectory() OptString
- func (s *V2FsListLocation) GetWorkspace() OptString
- func (s *V2FsListLocation) SetDirectory(val OptString)
- func (s *V2FsListLocation) SetWorkspace(val OptString)
- type V2FsListOK
- func (s *V2FsListOK) Decode(d *jx.Decoder) error
- func (s *V2FsListOK) Encode(e *jx.Encoder)
- func (s *V2FsListOK) GetData() []FileSystemEntry
- func (s *V2FsListOK) GetLocation() LocationInfo
- func (s *V2FsListOK) MarshalJSON() ([]byte, error)
- func (s *V2FsListOK) SetData(val []FileSystemEntry)
- func (s *V2FsListOK) SetLocation(val LocationInfo)
- func (s *V2FsListOK) UnmarshalJSON(data []byte) error
- func (s *V2FsListOK) Validate() error
- type V2FsListParams
- type V2FsListRes
- type V2FsReadLocation
- func (s *V2FsReadLocation) DecodeURI(d uri.Decoder) error
- func (s *V2FsReadLocation) EncodeURI(e uri.Encoder) error
- func (s *V2FsReadLocation) GetDirectory() OptString
- func (s *V2FsReadLocation) GetWorkspace() OptString
- func (s *V2FsReadLocation) SetDirectory(val OptString)
- func (s *V2FsReadLocation) SetWorkspace(val OptString)
- type V2FsReadOK
- type V2FsReadParams
- type V2FsReadRes
- type V2HealthGetOK
- func (s *V2HealthGetOK) Decode(d *jx.Decoder) error
- func (s *V2HealthGetOK) Encode(e *jx.Encoder)
- func (s *V2HealthGetOK) GetHealthy() V2HealthGetOKHealthy
- func (s *V2HealthGetOK) MarshalJSON() ([]byte, error)
- func (s *V2HealthGetOK) SetHealthy(val V2HealthGetOKHealthy)
- func (s *V2HealthGetOK) UnmarshalJSON(data []byte) error
- func (s *V2HealthGetOK) Validate() error
- type V2HealthGetOKHealthy
- func (V2HealthGetOKHealthy) AllValues() []V2HealthGetOKHealthy
- func (s *V2HealthGetOKHealthy) Decode(d *jx.Decoder) error
- func (s V2HealthGetOKHealthy) Encode(e *jx.Encoder)
- func (s V2HealthGetOKHealthy) MarshalJSON() ([]byte, error)
- func (s *V2HealthGetOKHealthy) UnmarshalJSON(data []byte) error
- func (s V2HealthGetOKHealthy) Validate() error
- type V2HealthGetRes
- type V2IntegrationAttemptCancelLocation
- func (s *V2IntegrationAttemptCancelLocation) DecodeURI(d uri.Decoder) error
- func (s *V2IntegrationAttemptCancelLocation) EncodeURI(e uri.Encoder) error
- func (s *V2IntegrationAttemptCancelLocation) GetDirectory() OptString
- func (s *V2IntegrationAttemptCancelLocation) GetWorkspace() OptString
- func (s *V2IntegrationAttemptCancelLocation) SetDirectory(val OptString)
- func (s *V2IntegrationAttemptCancelLocation) SetWorkspace(val OptString)
- type V2IntegrationAttemptCancelNoContent
- type V2IntegrationAttemptCancelParams
- type V2IntegrationAttemptCancelRes
- type V2LocationGetLocation
- func (s *V2LocationGetLocation) DecodeURI(d uri.Decoder) error
- func (s *V2LocationGetLocation) EncodeURI(e uri.Encoder) error
- func (s *V2LocationGetLocation) GetDirectory() OptString
- func (s *V2LocationGetLocation) GetWorkspace() OptString
- func (s *V2LocationGetLocation) SetDirectory(val OptString)
- func (s *V2LocationGetLocation) SetWorkspace(val OptString)
- type V2LocationGetParams
- type V2LocationGetRes
- type V2PermissionRequestListLocation
- func (s *V2PermissionRequestListLocation) DecodeURI(d uri.Decoder) error
- func (s *V2PermissionRequestListLocation) EncodeURI(e uri.Encoder) error
- func (s *V2PermissionRequestListLocation) GetDirectory() OptString
- func (s *V2PermissionRequestListLocation) GetWorkspace() OptString
- func (s *V2PermissionRequestListLocation) SetDirectory(val OptString)
- func (s *V2PermissionRequestListLocation) SetWorkspace(val OptString)
- type V2PermissionRequestListOK
- func (s *V2PermissionRequestListOK) Decode(d *jx.Decoder) error
- func (s *V2PermissionRequestListOK) Encode(e *jx.Encoder)
- func (s *V2PermissionRequestListOK) GetData() []PermissionV2Request
- func (s *V2PermissionRequestListOK) GetLocation() LocationInfo
- func (s *V2PermissionRequestListOK) MarshalJSON() ([]byte, error)
- func (s *V2PermissionRequestListOK) SetData(val []PermissionV2Request)
- func (s *V2PermissionRequestListOK) SetLocation(val LocationInfo)
- func (s *V2PermissionRequestListOK) UnmarshalJSON(data []byte) error
- func (s *V2PermissionRequestListOK) Validate() error
- type V2PermissionRequestListParams
- type V2PermissionRequestListRes
- type V2PermissionSavedListOK
- func (s *V2PermissionSavedListOK) Decode(d *jx.Decoder) error
- func (s *V2PermissionSavedListOK) Encode(e *jx.Encoder)
- func (s *V2PermissionSavedListOK) GetData() []PermissionSavedInfo
- func (s *V2PermissionSavedListOK) MarshalJSON() ([]byte, error)
- func (s *V2PermissionSavedListOK) SetData(val []PermissionSavedInfo)
- func (s *V2PermissionSavedListOK) UnmarshalJSON(data []byte) error
- func (s *V2PermissionSavedListOK) Validate() error
- type V2PermissionSavedListParams
- type V2PermissionSavedListRes
- type V2PermissionSavedRemoveNoContent
- type V2PermissionSavedRemoveParams
- type V2PermissionSavedRemoveRes
- type V2PtyConnectOKApplicationJSON
- type V2PtyConnectParams
- type V2PtyConnectRes
- type V2PtyConnectTokenLocation
- func (s *V2PtyConnectTokenLocation) DecodeURI(d uri.Decoder) error
- func (s *V2PtyConnectTokenLocation) EncodeURI(e uri.Encoder) error
- func (s *V2PtyConnectTokenLocation) GetDirectory() OptString
- func (s *V2PtyConnectTokenLocation) GetWorkspace() OptString
- func (s *V2PtyConnectTokenLocation) SetDirectory(val OptString)
- func (s *V2PtyConnectTokenLocation) SetWorkspace(val OptString)
- type V2PtyConnectTokenOK
- func (s *V2PtyConnectTokenOK) Decode(d *jx.Decoder) error
- func (s *V2PtyConnectTokenOK) Encode(e *jx.Encoder)
- func (s *V2PtyConnectTokenOK) GetData() PtyTicketConnectToken
- func (s *V2PtyConnectTokenOK) GetLocation() LocationInfo
- func (s *V2PtyConnectTokenOK) MarshalJSON() ([]byte, error)
- func (s *V2PtyConnectTokenOK) SetData(val PtyTicketConnectToken)
- func (s *V2PtyConnectTokenOK) SetLocation(val LocationInfo)
- func (s *V2PtyConnectTokenOK) UnmarshalJSON(data []byte) error
- func (s *V2PtyConnectTokenOK) Validate() error
- type V2PtyConnectTokenParams
- type V2PtyConnectTokenRes
- type V2PtyCreateLocation
- func (s *V2PtyCreateLocation) DecodeURI(d uri.Decoder) error
- func (s *V2PtyCreateLocation) EncodeURI(e uri.Encoder) error
- func (s *V2PtyCreateLocation) GetDirectory() OptString
- func (s *V2PtyCreateLocation) GetWorkspace() OptString
- func (s *V2PtyCreateLocation) SetDirectory(val OptString)
- func (s *V2PtyCreateLocation) SetWorkspace(val OptString)
- type V2PtyCreateOK
- func (s *V2PtyCreateOK) Decode(d *jx.Decoder) error
- func (s *V2PtyCreateOK) Encode(e *jx.Encoder)
- func (s *V2PtyCreateOK) GetData() Pty
- func (s *V2PtyCreateOK) GetLocation() LocationInfo
- func (s *V2PtyCreateOK) MarshalJSON() ([]byte, error)
- func (s *V2PtyCreateOK) SetData(val Pty)
- func (s *V2PtyCreateOK) SetLocation(val LocationInfo)
- func (s *V2PtyCreateOK) UnmarshalJSON(data []byte) error
- func (s *V2PtyCreateOK) Validate() error
- type V2PtyCreateParams
- type V2PtyCreateReq
- func (s *V2PtyCreateReq) Decode(d *jx.Decoder) error
- func (s *V2PtyCreateReq) Encode(e *jx.Encoder)
- func (s *V2PtyCreateReq) GetArgs() []string
- func (s *V2PtyCreateReq) GetCommand() OptString
- func (s *V2PtyCreateReq) GetCwd() OptString
- func (s *V2PtyCreateReq) GetEnv() OptV2PtyCreateReqEnv
- func (s *V2PtyCreateReq) GetTitle() OptString
- func (s *V2PtyCreateReq) MarshalJSON() ([]byte, error)
- func (s *V2PtyCreateReq) SetArgs(val []string)
- func (s *V2PtyCreateReq) SetCommand(val OptString)
- func (s *V2PtyCreateReq) SetCwd(val OptString)
- func (s *V2PtyCreateReq) SetEnv(val OptV2PtyCreateReqEnv)
- func (s *V2PtyCreateReq) SetTitle(val OptString)
- func (s *V2PtyCreateReq) UnmarshalJSON(data []byte) error
- type V2PtyCreateReqEnv
- type V2PtyCreateRes
- type V2PtyGetLocation
- func (s *V2PtyGetLocation) DecodeURI(d uri.Decoder) error
- func (s *V2PtyGetLocation) EncodeURI(e uri.Encoder) error
- func (s *V2PtyGetLocation) GetDirectory() OptString
- func (s *V2PtyGetLocation) GetWorkspace() OptString
- func (s *V2PtyGetLocation) SetDirectory(val OptString)
- func (s *V2PtyGetLocation) SetWorkspace(val OptString)
- type V2PtyGetOK
- func (s *V2PtyGetOK) Decode(d *jx.Decoder) error
- func (s *V2PtyGetOK) Encode(e *jx.Encoder)
- func (s *V2PtyGetOK) GetData() Pty
- func (s *V2PtyGetOK) GetLocation() LocationInfo
- func (s *V2PtyGetOK) MarshalJSON() ([]byte, error)
- func (s *V2PtyGetOK) SetData(val Pty)
- func (s *V2PtyGetOK) SetLocation(val LocationInfo)
- func (s *V2PtyGetOK) UnmarshalJSON(data []byte) error
- func (s *V2PtyGetOK) Validate() error
- type V2PtyGetParams
- type V2PtyGetRes
- type V2PtyListLocation
- func (s *V2PtyListLocation) DecodeURI(d uri.Decoder) error
- func (s *V2PtyListLocation) EncodeURI(e uri.Encoder) error
- func (s *V2PtyListLocation) GetDirectory() OptString
- func (s *V2PtyListLocation) GetWorkspace() OptString
- func (s *V2PtyListLocation) SetDirectory(val OptString)
- func (s *V2PtyListLocation) SetWorkspace(val OptString)
- type V2PtyListOK
- func (s *V2PtyListOK) Decode(d *jx.Decoder) error
- func (s *V2PtyListOK) Encode(e *jx.Encoder)
- func (s *V2PtyListOK) GetData() []Pty
- func (s *V2PtyListOK) GetLocation() LocationInfo
- func (s *V2PtyListOK) MarshalJSON() ([]byte, error)
- func (s *V2PtyListOK) SetData(val []Pty)
- func (s *V2PtyListOK) SetLocation(val LocationInfo)
- func (s *V2PtyListOK) UnmarshalJSON(data []byte) error
- func (s *V2PtyListOK) Validate() error
- type V2PtyListParams
- type V2PtyListRes
- type V2PtyRemoveLocation
- func (s *V2PtyRemoveLocation) DecodeURI(d uri.Decoder) error
- func (s *V2PtyRemoveLocation) EncodeURI(e uri.Encoder) error
- func (s *V2PtyRemoveLocation) GetDirectory() OptString
- func (s *V2PtyRemoveLocation) GetWorkspace() OptString
- func (s *V2PtyRemoveLocation) SetDirectory(val OptString)
- func (s *V2PtyRemoveLocation) SetWorkspace(val OptString)
- type V2PtyRemoveNoContent
- type V2PtyRemoveParams
- type V2PtyRemoveRes
- type V2PtyUpdateLocation
- func (s *V2PtyUpdateLocation) DecodeURI(d uri.Decoder) error
- func (s *V2PtyUpdateLocation) EncodeURI(e uri.Encoder) error
- func (s *V2PtyUpdateLocation) GetDirectory() OptString
- func (s *V2PtyUpdateLocation) GetWorkspace() OptString
- func (s *V2PtyUpdateLocation) SetDirectory(val OptString)
- func (s *V2PtyUpdateLocation) SetWorkspace(val OptString)
- type V2PtyUpdateOK
- func (s *V2PtyUpdateOK) Decode(d *jx.Decoder) error
- func (s *V2PtyUpdateOK) Encode(e *jx.Encoder)
- func (s *V2PtyUpdateOK) GetData() Pty
- func (s *V2PtyUpdateOK) GetLocation() LocationInfo
- func (s *V2PtyUpdateOK) MarshalJSON() ([]byte, error)
- func (s *V2PtyUpdateOK) SetData(val Pty)
- func (s *V2PtyUpdateOK) SetLocation(val LocationInfo)
- func (s *V2PtyUpdateOK) UnmarshalJSON(data []byte) error
- func (s *V2PtyUpdateOK) Validate() error
- type V2PtyUpdateParams
- type V2PtyUpdateReq
- func (s *V2PtyUpdateReq) Decode(d *jx.Decoder) error
- func (s *V2PtyUpdateReq) Encode(e *jx.Encoder)
- func (s *V2PtyUpdateReq) GetSize() OptV2PtyUpdateReqSize
- func (s *V2PtyUpdateReq) GetTitle() OptString
- func (s *V2PtyUpdateReq) MarshalJSON() ([]byte, error)
- func (s *V2PtyUpdateReq) SetSize(val OptV2PtyUpdateReqSize)
- func (s *V2PtyUpdateReq) SetTitle(val OptString)
- func (s *V2PtyUpdateReq) UnmarshalJSON(data []byte) error
- func (s *V2PtyUpdateReq) Validate() error
- type V2PtyUpdateReqSize
- func (s *V2PtyUpdateReqSize) Decode(d *jx.Decoder) error
- func (s *V2PtyUpdateReqSize) Encode(e *jx.Encoder)
- func (s *V2PtyUpdateReqSize) GetCols() int
- func (s *V2PtyUpdateReqSize) GetRows() int
- func (s *V2PtyUpdateReqSize) MarshalJSON() ([]byte, error)
- func (s *V2PtyUpdateReqSize) SetCols(val int)
- func (s *V2PtyUpdateReqSize) SetRows(val int)
- func (s *V2PtyUpdateReqSize) UnmarshalJSON(data []byte) error
- func (s *V2PtyUpdateReqSize) Validate() error
- type V2PtyUpdateRes
- type V2QuestionRequestListLocation
- func (s *V2QuestionRequestListLocation) DecodeURI(d uri.Decoder) error
- func (s *V2QuestionRequestListLocation) EncodeURI(e uri.Encoder) error
- func (s *V2QuestionRequestListLocation) GetDirectory() OptString
- func (s *V2QuestionRequestListLocation) GetWorkspace() OptString
- func (s *V2QuestionRequestListLocation) SetDirectory(val OptString)
- func (s *V2QuestionRequestListLocation) SetWorkspace(val OptString)
- type V2QuestionRequestListOK
- func (s *V2QuestionRequestListOK) Decode(d *jx.Decoder) error
- func (s *V2QuestionRequestListOK) Encode(e *jx.Encoder)
- func (s *V2QuestionRequestListOK) GetData() []QuestionV2Request
- func (s *V2QuestionRequestListOK) GetLocation() LocationInfo
- func (s *V2QuestionRequestListOK) MarshalJSON() ([]byte, error)
- func (s *V2QuestionRequestListOK) SetData(val []QuestionV2Request)
- func (s *V2QuestionRequestListOK) SetLocation(val LocationInfo)
- func (s *V2QuestionRequestListOK) UnmarshalJSON(data []byte) error
- func (s *V2QuestionRequestListOK) Validate() error
- type V2QuestionRequestListParams
- type V2QuestionRequestListRes
- type V2SessionActiveOK
- func (s *V2SessionActiveOK) Decode(d *jx.Decoder) error
- func (s *V2SessionActiveOK) Encode(e *jx.Encoder)
- func (s *V2SessionActiveOK) GetData() V2SessionActiveOKData
- func (s *V2SessionActiveOK) MarshalJSON() ([]byte, error)
- func (s *V2SessionActiveOK) SetData(val V2SessionActiveOKData)
- func (s *V2SessionActiveOK) UnmarshalJSON(data []byte) error
- func (s *V2SessionActiveOK) Validate() error
- type V2SessionActiveOKData
- type V2SessionActiveRes
- type V2SessionCreateOK
- func (s *V2SessionCreateOK) Decode(d *jx.Decoder) error
- func (s *V2SessionCreateOK) Encode(e *jx.Encoder)
- func (s *V2SessionCreateOK) GetData() SessionV2Info
- func (s *V2SessionCreateOK) MarshalJSON() ([]byte, error)
- func (s *V2SessionCreateOK) SetData(val SessionV2Info)
- func (s *V2SessionCreateOK) UnmarshalJSON(data []byte) error
- func (s *V2SessionCreateOK) Validate() error
- type V2SessionCreateReq
- func (s *V2SessionCreateReq) Decode(d *jx.Decoder) error
- func (s *V2SessionCreateReq) Encode(e *jx.Encoder)
- func (s *V2SessionCreateReq) GetAgent() OptString
- func (s *V2SessionCreateReq) GetID() OptString
- func (s *V2SessionCreateReq) GetLocation() OptLocationRef
- func (s *V2SessionCreateReq) GetModel() OptModelRef
- func (s *V2SessionCreateReq) MarshalJSON() ([]byte, error)
- func (s *V2SessionCreateReq) SetAgent(val OptString)
- func (s *V2SessionCreateReq) SetID(val OptString)
- func (s *V2SessionCreateReq) SetLocation(val OptLocationRef)
- func (s *V2SessionCreateReq) SetModel(val OptModelRef)
- func (s *V2SessionCreateReq) UnmarshalJSON(data []byte) error
- func (s *V2SessionCreateReq) Validate() error
- type V2SessionCreateRes
- type V2SkillListLocation
- func (s *V2SkillListLocation) DecodeURI(d uri.Decoder) error
- func (s *V2SkillListLocation) EncodeURI(e uri.Encoder) error
- func (s *V2SkillListLocation) GetDirectory() OptString
- func (s *V2SkillListLocation) GetWorkspace() OptString
- func (s *V2SkillListLocation) SetDirectory(val OptString)
- func (s *V2SkillListLocation) SetWorkspace(val OptString)
- type V2SkillListOK
- func (s *V2SkillListOK) Decode(d *jx.Decoder) error
- func (s *V2SkillListOK) Encode(e *jx.Encoder)
- func (s *V2SkillListOK) GetData() []SkillV2Info
- func (s *V2SkillListOK) GetLocation() LocationInfo
- func (s *V2SkillListOK) MarshalJSON() ([]byte, error)
- func (s *V2SkillListOK) SetData(val []SkillV2Info)
- func (s *V2SkillListOK) SetLocation(val LocationInfo)
- func (s *V2SkillListOK) UnmarshalJSON(data []byte) error
- func (s *V2SkillListOK) Validate() error
- type V2SkillListParams
- type V2SkillListRes
- type VcsDiffMode
- type VcsDiffOKApplicationJSON
- func (s *VcsDiffOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s VcsDiffOKApplicationJSON) Encode(e *jx.Encoder)
- func (s VcsDiffOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *VcsDiffOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s VcsDiffOKApplicationJSON) Validate() error
- type VcsDiffParams
- type VcsDiffRawOK
- type VcsDiffRawParams
- type VcsDiffRawRes
- type VcsDiffRes
- type VcsFileDiff
- func (s *VcsFileDiff) Decode(d *jx.Decoder) error
- func (s *VcsFileDiff) Encode(e *jx.Encoder)
- func (s *VcsFileDiff) GetAdditions() float64
- func (s *VcsFileDiff) GetDeletions() float64
- func (s *VcsFileDiff) GetFile() string
- func (s *VcsFileDiff) GetPatch() OptString
- func (s *VcsFileDiff) GetStatus() OptVcsFileDiffStatus
- func (s *VcsFileDiff) MarshalJSON() ([]byte, error)
- func (s *VcsFileDiff) SetAdditions(val float64)
- func (s *VcsFileDiff) SetDeletions(val float64)
- func (s *VcsFileDiff) SetFile(val string)
- func (s *VcsFileDiff) SetPatch(val OptString)
- func (s *VcsFileDiff) SetStatus(val OptVcsFileDiffStatus)
- func (s *VcsFileDiff) UnmarshalJSON(data []byte) error
- func (s *VcsFileDiff) Validate() error
- type VcsFileDiffStatus
- func (VcsFileDiffStatus) AllValues() []VcsFileDiffStatus
- func (s *VcsFileDiffStatus) Decode(d *jx.Decoder) error
- func (s VcsFileDiffStatus) Encode(e *jx.Encoder)
- func (s VcsFileDiffStatus) MarshalJSON() ([]byte, error)
- func (s VcsFileDiffStatus) MarshalText() ([]byte, error)
- func (s *VcsFileDiffStatus) UnmarshalJSON(data []byte) error
- func (s *VcsFileDiffStatus) UnmarshalText(data []byte) error
- func (s VcsFileDiffStatus) Validate() error
- type VcsFileStatus
- func (s *VcsFileStatus) Decode(d *jx.Decoder) error
- func (s *VcsFileStatus) Encode(e *jx.Encoder)
- func (s *VcsFileStatus) GetAdditions() float64
- func (s *VcsFileStatus) GetDeletions() float64
- func (s *VcsFileStatus) GetFile() string
- func (s *VcsFileStatus) GetStatus() VcsFileStatusStatus
- func (s *VcsFileStatus) MarshalJSON() ([]byte, error)
- func (s *VcsFileStatus) SetAdditions(val float64)
- func (s *VcsFileStatus) SetDeletions(val float64)
- func (s *VcsFileStatus) SetFile(val string)
- func (s *VcsFileStatus) SetStatus(val VcsFileStatusStatus)
- func (s *VcsFileStatus) UnmarshalJSON(data []byte) error
- func (s *VcsFileStatus) Validate() error
- type VcsFileStatusStatus
- func (VcsFileStatusStatus) AllValues() []VcsFileStatusStatus
- func (s *VcsFileStatusStatus) Decode(d *jx.Decoder) error
- func (s VcsFileStatusStatus) Encode(e *jx.Encoder)
- func (s VcsFileStatusStatus) MarshalJSON() ([]byte, error)
- func (s VcsFileStatusStatus) MarshalText() ([]byte, error)
- func (s *VcsFileStatusStatus) UnmarshalJSON(data []byte) error
- func (s *VcsFileStatusStatus) UnmarshalText(data []byte) error
- func (s VcsFileStatusStatus) Validate() error
- type VcsGetParams
- type VcsGetRes
- type VcsInfo
- func (s *VcsInfo) Decode(d *jx.Decoder) error
- func (s *VcsInfo) Encode(e *jx.Encoder)
- func (s *VcsInfo) GetBranch() OptString
- func (s *VcsInfo) GetDefaultBranch() OptString
- func (s *VcsInfo) MarshalJSON() ([]byte, error)
- func (s *VcsInfo) SetBranch(val OptString)
- func (s *VcsInfo) SetDefaultBranch(val OptString)
- func (s *VcsInfo) UnmarshalJSON(data []byte) error
- type VcsStatusOKApplicationJSON
- func (s *VcsStatusOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s VcsStatusOKApplicationJSON) Encode(e *jx.Encoder)
- func (s VcsStatusOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *VcsStatusOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s VcsStatusOKApplicationJSON) Validate() error
- type VcsStatusParams
- type VcsStatusRes
- type WorkspaceEventConnectionStatus
- func (s *WorkspaceEventConnectionStatus) Decode(d *jx.Decoder) error
- func (s *WorkspaceEventConnectionStatus) Encode(e *jx.Encoder)
- func (s *WorkspaceEventConnectionStatus) GetStatus() WorkspaceEventConnectionStatusStatus
- func (s *WorkspaceEventConnectionStatus) GetWorkspaceID() string
- func (s *WorkspaceEventConnectionStatus) MarshalJSON() ([]byte, error)
- func (s *WorkspaceEventConnectionStatus) SetStatus(val WorkspaceEventConnectionStatusStatus)
- func (s *WorkspaceEventConnectionStatus) SetWorkspaceID(val string)
- func (s *WorkspaceEventConnectionStatus) UnmarshalJSON(data []byte) error
- func (s *WorkspaceEventConnectionStatus) Validate() error
- type WorkspaceEventConnectionStatusStatus
- func (WorkspaceEventConnectionStatusStatus) AllValues() []WorkspaceEventConnectionStatusStatus
- func (s *WorkspaceEventConnectionStatusStatus) Decode(d *jx.Decoder) error
- func (s WorkspaceEventConnectionStatusStatus) Encode(e *jx.Encoder)
- func (s WorkspaceEventConnectionStatusStatus) MarshalJSON() ([]byte, error)
- func (s WorkspaceEventConnectionStatusStatus) MarshalText() ([]byte, error)
- func (s *WorkspaceEventConnectionStatusStatus) UnmarshalJSON(data []byte) error
- func (s *WorkspaceEventConnectionStatusStatus) UnmarshalText(data []byte) error
- func (s WorkspaceEventConnectionStatusStatus) Validate() error
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) GetDescription ¶
GetDescription returns the value of Description.
func (*Agent) GetModel ¶
func (s *Agent) GetModel() OptAgentModel
GetModel returns the value of Model.
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) GetTemperature ¶
func (s *Agent) GetTemperature() OptFloat64
GetTemperature returns the value of Temperature.
func (*Agent) GetVariant ¶
GetVariant returns the value of Variant.
func (*Agent) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Agent) SetDescription ¶
SetDescription sets the value of Description.
func (*Agent) SetModel ¶
func (s *Agent) SetModel(val OptAgentModel)
SetModel sets the value of Model.
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) SetTemperature ¶
func (s *Agent) SetTemperature(val OptFloat64)
SetTemperature sets the value of Temperature.
func (*Agent) SetVariant ¶
SetVariant sets the value of Variant.
func (*Agent) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type AgentMode ¶
type AgentMode string
func (AgentMode) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (AgentMode) MarshalText ¶
MarshalText implements encoding.TextMarshaler.
func (*AgentMode) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AgentMode) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.
type AgentModel ¶
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 ¶
func (s *AppAgentsOKApplicationJSON) Decode(d *jx.Decoder) error
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 ¶
func (s *AppSkillsOKApplicationJSON) Decode(d *jx.Decoder) error
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 ¶
func (s *BadRequestErrorData) GetKind() OptBadRequestErrorDataKind
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 ¶
func (s *BadRequestErrorData) SetKind(val OptBadRequestErrorDataKind)
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 ¶
func (BadRequestErrorDataKind) AllValues() []BadRequestErrorDataKind
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 ¶
func (BadRequestErrorName) AllValues() []BadRequestErrorName
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 ¶
func (c *Client) ExperimentalProjectCopyGenerateName(ctx context.Context, request OptExperimentalProjectCopyGenerateNameReq, params ExperimentalProjectCopyGenerateNameParams, options ...RequestOption) (ExperimentalProjectCopyGenerateNameRes, 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
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) GetDescription ¶
GetDescription returns the value of Description.
func (*Command) GetSource ¶
func (s *Command) GetSource() OptCommandSource
GetSource returns the value of Source.
func (*Command) GetSubtask ¶
GetSubtask returns the value of Subtask.
func (*Command) GetTemplate ¶
GetTemplate returns the value of Template.
func (*Command) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Command) SetDescription ¶
SetDescription sets the value of Description.
func (*Command) SetSource ¶
func (s *Command) SetSource(val OptCommandSource)
SetSource sets the value of Source.
func (*Command) SetSubtask ¶
SetSubtask sets the value of Subtask.
func (*Command) SetTemplate ¶
SetTemplate sets the value of Template.
func (*Command) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type CommandListOKApplicationJSON ¶
type CommandListOKApplicationJSON []Command
func (*CommandListOKApplicationJSON) Decode ¶
func (s *CommandListOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes CommandListOKApplicationJSON from json.
func (CommandListOKApplicationJSON) Encode ¶
func (s CommandListOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (s *ConfigProvidersOK) GetDefault() ConfigProvidersOKDefault
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 ¶
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 ¶
func (s *EffectHttpApiErrorForbidden) Decode(d *jx.Decoder) error
Decode decodes EffectHttpApiErrorForbidden from json.
func (*EffectHttpApiErrorForbidden) Encode ¶
func (s *EffectHttpApiErrorForbidden) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EffectHttpApiErrorForbidden) GetTag ¶
func (s *EffectHttpApiErrorForbidden) GetTag() EffectHttpApiErrorForbiddenTag
GetTag returns the value of Tag.
func (*EffectHttpApiErrorForbidden) MarshalJSON ¶
func (s *EffectHttpApiErrorForbidden) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EffectHttpApiErrorForbidden) SetTag ¶
func (s *EffectHttpApiErrorForbidden) SetTag(val EffectHttpApiErrorForbiddenTag)
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 ¶
func (EffectHttpApiErrorForbiddenTag) AllValues() []EffectHttpApiErrorForbiddenTag
AllValues returns all EffectHttpApiErrorForbiddenTag values.
func (*EffectHttpApiErrorForbiddenTag) Decode ¶
func (s *EffectHttpApiErrorForbiddenTag) Decode(d *jx.Decoder) error
Decode decodes EffectHttpApiErrorForbiddenTag from json.
func (EffectHttpApiErrorForbiddenTag) Encode ¶
func (s EffectHttpApiErrorForbiddenTag) Encode(e *jx.Encoder)
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 ¶
func (s EffectHttpApiErrorForbiddenTag) Validate() error
type EffectHttpApiErrorInternalServerError ¶
type EffectHttpApiErrorInternalServerError struct {
Tag EffectHttpApiErrorInternalServerErrorTag `json:"_tag"`
}
Ref: #/components/schemas/effect_HttpApiError_InternalServerError
func (*EffectHttpApiErrorInternalServerError) Decode ¶
func (s *EffectHttpApiErrorInternalServerError) Decode(d *jx.Decoder) error
Decode decodes EffectHttpApiErrorInternalServerError from json.
func (*EffectHttpApiErrorInternalServerError) Encode ¶
func (s *EffectHttpApiErrorInternalServerError) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EffectHttpApiErrorInternalServerError) GetTag ¶
func (s *EffectHttpApiErrorInternalServerError) GetTag() EffectHttpApiErrorInternalServerErrorTag
GetTag returns the value of Tag.
func (*EffectHttpApiErrorInternalServerError) MarshalJSON ¶
func (s *EffectHttpApiErrorInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EffectHttpApiErrorInternalServerError) SetTag ¶
func (s *EffectHttpApiErrorInternalServerError) SetTag(val EffectHttpApiErrorInternalServerErrorTag)
SetTag sets the value of Tag.
func (*EffectHttpApiErrorInternalServerError) UnmarshalJSON ¶
func (s *EffectHttpApiErrorInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*EffectHttpApiErrorInternalServerError) Validate ¶
func (s *EffectHttpApiErrorInternalServerError) Validate() error
type EffectHttpApiErrorInternalServerErrorTag ¶
type EffectHttpApiErrorInternalServerErrorTag string
const (
EffectHttpApiErrorInternalServerErrorTagInternalServerError EffectHttpApiErrorInternalServerErrorTag = "InternalServerError"
)
func (EffectHttpApiErrorInternalServerErrorTag) AllValues ¶
func (EffectHttpApiErrorInternalServerErrorTag) AllValues() []EffectHttpApiErrorInternalServerErrorTag
AllValues returns all EffectHttpApiErrorInternalServerErrorTag values.
func (*EffectHttpApiErrorInternalServerErrorTag) Decode ¶
func (s *EffectHttpApiErrorInternalServerErrorTag) Decode(d *jx.Decoder) error
Decode decodes EffectHttpApiErrorInternalServerErrorTag from json.
func (EffectHttpApiErrorInternalServerErrorTag) Encode ¶
func (s EffectHttpApiErrorInternalServerErrorTag) Encode(e *jx.Encoder)
Encode encodes EffectHttpApiErrorInternalServerErrorTag as json.
func (EffectHttpApiErrorInternalServerErrorTag) MarshalJSON ¶
func (s EffectHttpApiErrorInternalServerErrorTag) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (EffectHttpApiErrorInternalServerErrorTag) MarshalText ¶
func (s EffectHttpApiErrorInternalServerErrorTag) MarshalText() ([]byte, error)
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 ¶
func (s EffectHttpApiErrorInternalServerErrorTag) Validate() error
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 ¶
func (s *ExperimentalConsoleListOrgsOK) Decode(d *jx.Decoder) error
Decode decodes ExperimentalConsoleListOrgsOK from json.
func (*ExperimentalConsoleListOrgsOK) Encode ¶
func (s *ExperimentalConsoleListOrgsOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExperimentalConsoleListOrgsOK) GetOrgs ¶
func (s *ExperimentalConsoleListOrgsOK) GetOrgs() []ExperimentalConsoleListOrgsOKOrgsItem
GetOrgs returns the value of Orgs.
func (*ExperimentalConsoleListOrgsOK) MarshalJSON ¶
func (s *ExperimentalConsoleListOrgsOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExperimentalConsoleListOrgsOK) SetOrgs ¶
func (s *ExperimentalConsoleListOrgsOK) SetOrgs(val []ExperimentalConsoleListOrgsOKOrgsItem)
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 ¶
func (s *ExperimentalConsoleListOrgsOKOrgsItem) Decode(d *jx.Decoder) error
Decode decodes ExperimentalConsoleListOrgsOKOrgsItem from json.
func (*ExperimentalConsoleListOrgsOKOrgsItem) Encode ¶
func (s *ExperimentalConsoleListOrgsOKOrgsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExperimentalConsoleListOrgsOKOrgsItem) GetAccountEmail ¶
func (s *ExperimentalConsoleListOrgsOKOrgsItem) GetAccountEmail() string
GetAccountEmail returns the value of AccountEmail.
func (*ExperimentalConsoleListOrgsOKOrgsItem) GetAccountID ¶
func (s *ExperimentalConsoleListOrgsOKOrgsItem) GetAccountID() string
GetAccountID returns the value of AccountID.
func (*ExperimentalConsoleListOrgsOKOrgsItem) GetAccountUrl ¶
func (s *ExperimentalConsoleListOrgsOKOrgsItem) GetAccountUrl() string
GetAccountUrl returns the value of AccountUrl.
func (*ExperimentalConsoleListOrgsOKOrgsItem) GetActive ¶
func (s *ExperimentalConsoleListOrgsOKOrgsItem) GetActive() bool
GetActive returns the value of Active.
func (*ExperimentalConsoleListOrgsOKOrgsItem) GetOrgID ¶
func (s *ExperimentalConsoleListOrgsOKOrgsItem) GetOrgID() string
GetOrgID returns the value of OrgID.
func (*ExperimentalConsoleListOrgsOKOrgsItem) GetOrgName ¶
func (s *ExperimentalConsoleListOrgsOKOrgsItem) GetOrgName() string
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 ¶
func (s *ExperimentalConsoleListOrgsOKOrgsItem) SetOrgID(val string)
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 ¶
func (s *ExperimentalConsoleSwitchOrgReq) Decode(d *jx.Decoder) error
Decode decodes ExperimentalConsoleSwitchOrgReq from json.
func (*ExperimentalConsoleSwitchOrgReq) Encode ¶
func (s *ExperimentalConsoleSwitchOrgReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExperimentalConsoleSwitchOrgReq) GetAccountID ¶
func (s *ExperimentalConsoleSwitchOrgReq) GetAccountID() string
GetAccountID returns the value of AccountID.
func (*ExperimentalConsoleSwitchOrgReq) GetOrgID ¶
func (s *ExperimentalConsoleSwitchOrgReq) GetOrgID() string
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 ¶
func (s *ExperimentalProjectCopyGenerateNameOK) Decode(d *jx.Decoder) error
Decode decodes ExperimentalProjectCopyGenerateNameOK from json.
func (*ExperimentalProjectCopyGenerateNameOK) Encode ¶
func (s *ExperimentalProjectCopyGenerateNameOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExperimentalProjectCopyGenerateNameOK) GetName ¶
func (s *ExperimentalProjectCopyGenerateNameOK) GetName() string
GetName returns the value of Name.
func (*ExperimentalProjectCopyGenerateNameOK) MarshalJSON ¶
func (s *ExperimentalProjectCopyGenerateNameOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExperimentalProjectCopyGenerateNameOK) SetName ¶
func (s *ExperimentalProjectCopyGenerateNameOK) SetName(val string)
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 ¶
func (s *ExperimentalProjectCopyGenerateNameReq) Decode(d *jx.Decoder) error
Decode decodes ExperimentalProjectCopyGenerateNameReq from json.
func (*ExperimentalProjectCopyGenerateNameReq) Encode ¶
func (s *ExperimentalProjectCopyGenerateNameReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExperimentalProjectCopyGenerateNameReq) GetContext ¶
func (s *ExperimentalProjectCopyGenerateNameReq) GetContext() OptString
GetContext returns the value of Context.
func (*ExperimentalProjectCopyGenerateNameReq) MarshalJSON ¶
func (s *ExperimentalProjectCopyGenerateNameReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExperimentalProjectCopyGenerateNameReq) SetContext ¶
func (s *ExperimentalProjectCopyGenerateNameReq) SetContext(val OptString)
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 ¶
func (s *ExperimentalResourceListOK) Decode(d *jx.Decoder) error
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 ¶
func (s ExperimentalSessionListArchived) IsBool() bool
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 ¶
func (s ExperimentalSessionListArchived) Validate() error
type ExperimentalSessionListArchived1 ¶
type ExperimentalSessionListArchived1 string
const ( ExperimentalSessionListArchived1True ExperimentalSessionListArchived1 = "true" ExperimentalSessionListArchived1False ExperimentalSessionListArchived1 = "false" )
func (ExperimentalSessionListArchived1) AllValues ¶
func (ExperimentalSessionListArchived1) AllValues() []ExperimentalSessionListArchived1
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 ¶
func (s ExperimentalSessionListArchived1) Validate() error
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 ¶
func (s *ExperimentalSessionListOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ExperimentalSessionListOKApplicationJSON from json.
func (ExperimentalSessionListOKApplicationJSON) Encode ¶
func (s ExperimentalSessionListOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ExperimentalSessionListOKApplicationJSON as json.
func (ExperimentalSessionListOKApplicationJSON) MarshalJSON ¶
func (s ExperimentalSessionListOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExperimentalSessionListOKApplicationJSON) UnmarshalJSON ¶
func (s *ExperimentalSessionListOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ExperimentalSessionListOKApplicationJSON) Validate ¶
func (s ExperimentalSessionListOKApplicationJSON) Validate() error
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 ¶
func (s ExperimentalSessionListRoots) IsBool() bool
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 ¶
func (ExperimentalSessionListRoots1) AllValues() []ExperimentalSessionListRoots1
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 ¶
func (s *ExperimentalWorkspaceAdapterListOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ExperimentalWorkspaceAdapterListOKApplicationJSON from json.
func (ExperimentalWorkspaceAdapterListOKApplicationJSON) Encode ¶
func (s ExperimentalWorkspaceAdapterListOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ExperimentalWorkspaceAdapterListOKApplicationJSON as json.
func (ExperimentalWorkspaceAdapterListOKApplicationJSON) MarshalJSON ¶
func (s ExperimentalWorkspaceAdapterListOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExperimentalWorkspaceAdapterListOKApplicationJSON) UnmarshalJSON ¶
func (s *ExperimentalWorkspaceAdapterListOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ExperimentalWorkspaceAdapterListOKApplicationJSON) Validate ¶
func (s ExperimentalWorkspaceAdapterListOKApplicationJSON) Validate() error
type ExperimentalWorkspaceAdapterListOKItem ¶
type ExperimentalWorkspaceAdapterListOKItem struct {
Type string `json:"type"`
Name string `json:"name"`
Description string `json:"description"`
}
func (*ExperimentalWorkspaceAdapterListOKItem) Decode ¶
func (s *ExperimentalWorkspaceAdapterListOKItem) Decode(d *jx.Decoder) error
Decode decodes ExperimentalWorkspaceAdapterListOKItem from json.
func (*ExperimentalWorkspaceAdapterListOKItem) Encode ¶
func (s *ExperimentalWorkspaceAdapterListOKItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ExperimentalWorkspaceAdapterListOKItem) GetDescription ¶
func (s *ExperimentalWorkspaceAdapterListOKItem) GetDescription() string
GetDescription returns the value of Description.
func (*ExperimentalWorkspaceAdapterListOKItem) GetName ¶
func (s *ExperimentalWorkspaceAdapterListOKItem) GetName() string
GetName returns the value of Name.
func (*ExperimentalWorkspaceAdapterListOKItem) GetType ¶
func (s *ExperimentalWorkspaceAdapterListOKItem) GetType() string
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 ¶
func (s *ExperimentalWorkspaceAdapterListOKItem) SetName(val string)
SetName sets the value of Name.
func (*ExperimentalWorkspaceAdapterListOKItem) SetType ¶
func (s *ExperimentalWorkspaceAdapterListOKItem) SetType(val string)
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 ¶
func (s *ExperimentalWorkspaceStatusOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ExperimentalWorkspaceStatusOKApplicationJSON from json.
func (ExperimentalWorkspaceStatusOKApplicationJSON) Encode ¶
func (s ExperimentalWorkspaceStatusOKApplicationJSON) Encode(e *jx.Encoder)
Encode encodes ExperimentalWorkspaceStatusOKApplicationJSON as json.
func (ExperimentalWorkspaceStatusOKApplicationJSON) MarshalJSON ¶
func (s ExperimentalWorkspaceStatusOKApplicationJSON) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ExperimentalWorkspaceStatusOKApplicationJSON) UnmarshalJSON ¶
func (s *ExperimentalWorkspaceStatusOKApplicationJSON) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ExperimentalWorkspaceStatusOKApplicationJSON) Validate ¶
func (s ExperimentalWorkspaceStatusOKApplicationJSON) Validate() error
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) GetStatus ¶
func (s *File) GetStatus() FileStatus
GetStatus returns the value of Status.
func (*File) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*File) SetStatus ¶
func (s *File) SetStatus(val FileStatus)
SetStatus sets the value of Status.
func (*File) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
func (FileContentEncoding) AllValues() []FileContentEncoding
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 ¶
func (s *FileContentPatch) GetHunks() []FileContentPatchHunksItem
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) GetAdditions ¶
GetAdditions returns the value of Additions.
func (*FileDiff) GetDeletions ¶
GetDeletions returns the value of Deletions.
func (*FileDiff) GetStatus ¶
func (s *FileDiff) GetStatus() FileDiffStatus
GetStatus returns the value of Status.
func (*FileDiff) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*FileDiff) SetAdditions ¶
SetAdditions sets the value of Additions.
func (*FileDiff) SetDeletions ¶
SetDeletions sets the value of Deletions.
func (*FileDiff) SetStatus ¶
func (s *FileDiff) SetStatus(val FileDiffStatus)
SetStatus sets the value of Status.
func (*FileDiff) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) GetAbsolute ¶
GetAbsolute returns the value of Absolute.
func (*FileNode) GetIgnored ¶
GetIgnored returns the value of Ignored.
func (*FileNode) GetType ¶
func (s *FileNode) GetType() FileNodeType
GetType returns the value of Type.
func (*FileNode) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*FileNode) SetAbsolute ¶
SetAbsolute sets the value of Absolute.
func (*FileNode) SetIgnored ¶
SetIgnored sets the value of Ignored.
func (*FileNode) SetType ¶
func (s *FileNode) SetType(val FileNodeType)
SetType sets the value of Type.
func (*FileNode) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
func (s *FileStatusOKApplicationJSON) Decode(d *jx.Decoder) error
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 ¶
func (FileSystemEntryType) AllValues() []FileSystemEntryType
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 ¶
func (s *FindFilesOKApplicationJSON) Decode(d *jx.Decoder) error
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 ¶
func (s *FindSymbolsOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes FindSymbolsOKApplicationJSON from json.
func (FindSymbolsOKApplicationJSON) Encode ¶
func (s FindSymbolsOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (s *FindTextOKItemSubmatchesItem) Decode(d *jx.Decoder) error
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 ¶
func (s *FindTextOKItemSubmatchesItem) GetMatch() FindTextOKItemSubmatchesItemMatch
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 ¶
func (s *FindTextOKItemSubmatchesItem) SetMatch(val FindTextOKItemSubmatchesItemMatch)
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 ¶
func (s *FindTextOKItemSubmatchesItemMatch) Decode(d *jx.Decoder) error
Decode decodes FindTextOKItemSubmatchesItemMatch from json.
func (*FindTextOKItemSubmatchesItemMatch) Encode ¶
func (s *FindTextOKItemSubmatchesItemMatch) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*FindTextOKItemSubmatchesItemMatch) GetText ¶
func (s *FindTextOKItemSubmatchesItemMatch) GetText() string
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 ¶
func (s *FormatterStatusOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes FormatterStatusOKApplicationJSON from json.
func (FormatterStatusOKApplicationJSON) Encode ¶
func (s FormatterStatusOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (s FormatterStatusOKApplicationJSON) Validate() error
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 ¶
func (s *GlobalDisposeOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes GlobalDisposeOKApplicationJSON from json.
func (GlobalDisposeOKApplicationJSON) Encode ¶
func (s GlobalDisposeOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (GlobalHealthOKHealthy) AllValues() []GlobalHealthOKHealthy
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"`
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) 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) 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 {
}
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 ¶
func (s *GlobalSessionTokens) GetCache() GlobalSessionTokensCache
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 ¶
func (s *GlobalSessionTokens) SetCache(val GlobalSessionTokensCache)
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 ¶
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 ¶
func (s *InstanceDisposeOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes InstanceDisposeOKApplicationJSON from json.
func (InstanceDisposeOKApplicationJSON) Encode ¶
func (s InstanceDisposeOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (s *InvalidRequestError) GetTag() InvalidRequestErrorTag
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 ¶
func (s *InvalidRequestError) SetTag(val InvalidRequestErrorTag)
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 ¶
func (InvalidRequestErrorTag) AllValues() []InvalidRequestErrorTag
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)
//
// 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)
//
// 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) GetStatus ¶
func (s *LSPStatus) GetStatus() LSPStatusStatus
GetStatus returns the value of Status.
func (*LSPStatus) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*LSPStatus) SetStatus ¶
func (s *LSPStatus) SetStatus(val LSPStatusStatus)
SetStatus sets the value of Status.
func (*LSPStatus) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
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 ¶
func (s *LspStatusOKApplicationJSON) Decode(d *jx.Decoder) error
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 ¶
func (McpAuthRemoveOKSuccess) AllValues() []McpAuthRemoveOKSuccess
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 ¶
func (s *McpConnectOKApplicationJSON) Decode(d *jx.Decoder) error
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 ¶
func (s *McpDisconnectOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes McpDisconnectOKApplicationJSON from json.
func (McpDisconnectOKApplicationJSON) Encode ¶
func (s McpDisconnectOKApplicationJSON) Encode(e *jx.Encoder)
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) 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) 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 ¶
func (s *McpServerNotFoundError) GetTag() McpServerNotFoundErrorTag
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 ¶
func (s *McpServerNotFoundError) SetTag(val McpServerNotFoundErrorTag)
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 ¶
func (McpServerNotFoundErrorTag) AllValues() []McpServerNotFoundErrorTag
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) GetCapabilities ¶
func (s *Model) GetCapabilities() ModelCapabilities
GetCapabilities returns the value of Capabilities.
func (*Model) GetHeaders ¶
func (s *Model) GetHeaders() ModelHeaders
GetHeaders returns the value of Headers.
func (*Model) GetOptions ¶
func (s *Model) GetOptions() ModelOptions
GetOptions returns the value of Options.
func (*Model) GetProviderID ¶
GetProviderID returns the value of ProviderID.
func (*Model) GetReleaseDate ¶
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 ¶
MarshalJSON implements stdjson.Marshaler.
func (*Model) SetCapabilities ¶
func (s *Model) SetCapabilities(val ModelCapabilities)
SetCapabilities sets the value of Capabilities.
func (*Model) SetHeaders ¶
func (s *Model) SetHeaders(val ModelHeaders)
SetHeaders sets the value of Headers.
func (*Model) SetOptions ¶
func (s *Model) SetOptions(val ModelOptions)
SetOptions sets the value of Options.
func (*Model) SetProviderID ¶
SetProviderID sets the value of ProviderID.
func (*Model) SetReleaseDate ¶
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 ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type ModelAPI ¶
func (*ModelAPI) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*ModelAPI) UnmarshalJSON ¶
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 ¶
func (s *ModelCapabilities) GetInput() ModelCapabilitiesInput
GetInput returns the value of Input.
func (*ModelCapabilities) GetInterleaved ¶
func (s *ModelCapabilities) GetInterleaved() ModelCapabilitiesInterleaved
GetInterleaved returns the value of Interleaved.
func (*ModelCapabilities) GetOutput ¶
func (s *ModelCapabilities) GetOutput() ModelCapabilitiesOutput
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 ¶
func (s *ModelCapabilitiesInterleaved) Decode(d *jx.Decoder) error
Decode decodes ModelCapabilitiesInterleaved from json.
func (ModelCapabilitiesInterleaved) Encode ¶
func (s ModelCapabilitiesInterleaved) Encode(e *jx.Encoder)
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 ¶
func (s ModelCapabilitiesInterleaved) IsBool() bool
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 ¶
func (s *ModelCapabilitiesInterleaved1) Decode(d *jx.Decoder) error
Decode decodes ModelCapabilitiesInterleaved1 from json.
func (*ModelCapabilitiesInterleaved1) Encode ¶
func (s *ModelCapabilitiesInterleaved1) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ModelCapabilitiesInterleaved1) GetField ¶
func (s *ModelCapabilitiesInterleaved1) GetField() ModelCapabilitiesInterleaved1Field
GetField returns the value of Field.
func (*ModelCapabilitiesInterleaved1) MarshalJSON ¶
func (s *ModelCapabilitiesInterleaved1) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ModelCapabilitiesInterleaved1) SetField ¶
func (s *ModelCapabilitiesInterleaved1) SetField(val ModelCapabilitiesInterleaved1Field)
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 ¶
func (ModelCapabilitiesInterleaved1Field) AllValues() []ModelCapabilitiesInterleaved1Field
AllValues returns all ModelCapabilitiesInterleaved1Field values.
func (*ModelCapabilitiesInterleaved1Field) Decode ¶
func (s *ModelCapabilitiesInterleaved1Field) Decode(d *jx.Decoder) error
Decode decodes ModelCapabilitiesInterleaved1Field from json.
func (ModelCapabilitiesInterleaved1Field) Encode ¶
func (s ModelCapabilitiesInterleaved1Field) Encode(e *jx.Encoder)
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 ¶
func (s ModelCapabilitiesInterleaved1Field) Validate() error
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) 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) GetTiers ¶
func (s *ModelCost) GetTiers() []ModelCostTiersItem
GetTiers returns the value of Tiers.
func (*ModelCost) MarshalJSON ¶
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) SetTiers ¶
func (s *ModelCost) SetTiers(val []ModelCostTiersItem)
SetTiers sets the value of Tiers.
func (*ModelCost) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type ModelCostCache ¶
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 ¶
func (s *ModelCostExperimentalOver200K) Decode(d *jx.Decoder) error
Decode decodes ModelCostExperimentalOver200K from json.
func (*ModelCostExperimentalOver200K) Encode ¶
func (s *ModelCostExperimentalOver200K) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ModelCostExperimentalOver200K) GetCache ¶
func (s *ModelCostExperimentalOver200K) GetCache() ModelCostExperimentalOver200KCache
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 ¶
func (s *ModelCostExperimentalOver200K) SetCache(val ModelCostExperimentalOver200KCache)
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 ¶
func (s *ModelCostExperimentalOver200KCache) Decode(d *jx.Decoder) error
Decode decodes ModelCostExperimentalOver200KCache from json.
func (*ModelCostExperimentalOver200KCache) Encode ¶
func (s *ModelCostExperimentalOver200KCache) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ModelCostExperimentalOver200KCache) GetRead ¶
func (s *ModelCostExperimentalOver200KCache) GetRead() float64
GetRead returns the value of Read.
func (*ModelCostExperimentalOver200KCache) GetWrite ¶
func (s *ModelCostExperimentalOver200KCache) GetWrite() float64
GetWrite returns the value of Write.
func (*ModelCostExperimentalOver200KCache) MarshalJSON ¶
func (s *ModelCostExperimentalOver200KCache) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ModelCostExperimentalOver200KCache) SetRead ¶
func (s *ModelCostExperimentalOver200KCache) SetRead(val float64)
SetRead sets the value of Read.
func (*ModelCostExperimentalOver200KCache) SetWrite ¶
func (s *ModelCostExperimentalOver200KCache) SetWrite(val float64)
SetWrite sets the value of Write.
func (*ModelCostExperimentalOver200KCache) UnmarshalJSON ¶
func (s *ModelCostExperimentalOver200KCache) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ModelCostExperimentalOver200KCache) Validate ¶
func (s *ModelCostExperimentalOver200KCache) Validate() error
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 ¶
func (s *ModelCostTiersItem) GetCache() ModelCostTiersItemCache
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 ¶
func (s *ModelCostTiersItem) GetTier() ModelCostTiersItemTier
GetTier returns the value of Tier.
func (*ModelCostTiersItem) MarshalJSON ¶
func (s *ModelCostTiersItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ModelCostTiersItem) SetCache ¶
func (s *ModelCostTiersItem) SetCache(val ModelCostTiersItemCache)
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 ¶
func (s *ModelCostTiersItem) SetTier(val ModelCostTiersItemTier)
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 ¶
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 ¶
func (s *ModelCostTiersItemTier) GetType() ModelCostTiersItemTierType
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 ¶
func (s *ModelCostTiersItemTier) SetType(val ModelCostTiersItemTierType)
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 ¶
func (ModelCostTiersItemTierType) AllValues() []ModelCostTiersItemTierType
AllValues returns all ModelCostTiersItemTierType values.
func (*ModelCostTiersItemTierType) Decode ¶
func (s *ModelCostTiersItemTierType) Decode(d *jx.Decoder) error
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 ¶
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) GetProviderID ¶
GetProviderID returns the value of ProviderID.
func (*ModelRef) GetVariant ¶
GetVariant returns the value of Variant.
func (*ModelRef) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*ModelRef) SetProviderID ¶
SetProviderID sets the value of ProviderID.
func (*ModelRef) SetVariant ¶
SetVariant sets the value of Variant.
func (*ModelRef) UnmarshalJSON ¶
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 ¶
func (o NilProjectSummary) Or(d ProjectSummary) ProjectSummary
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" 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 ¶
func (o OptAgentModel) Or(d AgentModel) AgentModel
Or returns value if set, or given parameter if does not.
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 ¶
func (o *OptBadRequestErrorDataKind) Decode(d *jx.Decoder) error
Decode decodes BadRequestErrorDataKind from json.
func (OptBadRequestErrorDataKind) Encode ¶
func (o OptBadRequestErrorDataKind) Encode(e *jx.Encoder)
Encode encodes BadRequestErrorDataKind as json.
func (OptBadRequestErrorDataKind) Get ¶
func (o OptBadRequestErrorDataKind) Get() (v BadRequestErrorDataKind, ok bool)
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) Reset ¶
func (o *OptBadRequestErrorDataKind) Reset()
Reset unsets value.
func (*OptBadRequestErrorDataKind) SetTo ¶
func (o *OptBadRequestErrorDataKind) SetTo(v BadRequestErrorDataKind)
SetTo sets value to v.
func (*OptBadRequestErrorDataKind) UnmarshalJSON ¶
func (s *OptBadRequestErrorDataKind) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBool ¶
OptBool is optional bool.
func NewOptBool ¶
NewOptBool returns new OptBool with value set to v.
func (OptBool) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptBool) UnmarshalJSON ¶
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 ¶
func (o OptCommandSource) Or(d CommandSource) CommandSource
Or returns value if set, or given parameter if does not.
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 ¶
func (o *OptExperimentalConsoleSwitchOrgReq) Decode(d *jx.Decoder) error
Decode decodes ExperimentalConsoleSwitchOrgReq from json.
func (OptExperimentalConsoleSwitchOrgReq) Encode ¶
func (o OptExperimentalConsoleSwitchOrgReq) Encode(e *jx.Encoder)
Encode encodes ExperimentalConsoleSwitchOrgReq as json.
func (OptExperimentalConsoleSwitchOrgReq) Get ¶
func (o OptExperimentalConsoleSwitchOrgReq) Get() (v ExperimentalConsoleSwitchOrgReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptExperimentalConsoleSwitchOrgReq) IsSet ¶
func (o OptExperimentalConsoleSwitchOrgReq) IsSet() bool
IsSet returns true if OptExperimentalConsoleSwitchOrgReq was set.
func (OptExperimentalConsoleSwitchOrgReq) MarshalJSON ¶
func (s OptExperimentalConsoleSwitchOrgReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptExperimentalConsoleSwitchOrgReq) Or ¶
func (o OptExperimentalConsoleSwitchOrgReq) Or(d ExperimentalConsoleSwitchOrgReq) ExperimentalConsoleSwitchOrgReq
Or returns value if set, or given parameter if does not.
func (*OptExperimentalConsoleSwitchOrgReq) Reset ¶
func (o *OptExperimentalConsoleSwitchOrgReq) Reset()
Reset unsets value.
func (*OptExperimentalConsoleSwitchOrgReq) SetTo ¶
func (o *OptExperimentalConsoleSwitchOrgReq) SetTo(v ExperimentalConsoleSwitchOrgReq)
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 ¶
func (o *OptExperimentalProjectCopyGenerateNameReq) Decode(d *jx.Decoder) error
Decode decodes ExperimentalProjectCopyGenerateNameReq from json.
func (OptExperimentalProjectCopyGenerateNameReq) Encode ¶
func (o OptExperimentalProjectCopyGenerateNameReq) Encode(e *jx.Encoder)
Encode encodes ExperimentalProjectCopyGenerateNameReq as json.
func (OptExperimentalProjectCopyGenerateNameReq) Get ¶
func (o OptExperimentalProjectCopyGenerateNameReq) Get() (v ExperimentalProjectCopyGenerateNameReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptExperimentalProjectCopyGenerateNameReq) IsSet ¶
func (o OptExperimentalProjectCopyGenerateNameReq) IsSet() bool
IsSet returns true if OptExperimentalProjectCopyGenerateNameReq was set.
func (OptExperimentalProjectCopyGenerateNameReq) MarshalJSON ¶
func (s OptExperimentalProjectCopyGenerateNameReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptExperimentalProjectCopyGenerateNameReq) Or ¶
func (o OptExperimentalProjectCopyGenerateNameReq) Or(d ExperimentalProjectCopyGenerateNameReq) ExperimentalProjectCopyGenerateNameReq
Or returns value if set, or given parameter if does not.
func (*OptExperimentalProjectCopyGenerateNameReq) Reset ¶
func (o *OptExperimentalProjectCopyGenerateNameReq) Reset()
Reset unsets value.
func (*OptExperimentalProjectCopyGenerateNameReq) SetTo ¶
func (o *OptExperimentalProjectCopyGenerateNameReq) SetTo(v ExperimentalProjectCopyGenerateNameReq)
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 ¶
func (o OptExperimentalSessionListArchived) Get() (v ExperimentalSessionListArchived, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptExperimentalSessionListArchived) IsSet ¶
func (o OptExperimentalSessionListArchived) IsSet() bool
IsSet returns true if OptExperimentalSessionListArchived was set.
func (OptExperimentalSessionListArchived) Or ¶
func (o OptExperimentalSessionListArchived) Or(d ExperimentalSessionListArchived) ExperimentalSessionListArchived
Or returns value if set, or given parameter if does not.
func (*OptExperimentalSessionListArchived) Reset ¶
func (o *OptExperimentalSessionListArchived) Reset()
Reset unsets value.
func (*OptExperimentalSessionListArchived) SetTo ¶
func (o *OptExperimentalSessionListArchived) SetTo(v ExperimentalSessionListArchived)
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 ¶
func (o OptExperimentalSessionListRoots) Get() (v ExperimentalSessionListRoots, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptExperimentalSessionListRoots) IsSet ¶
func (o OptExperimentalSessionListRoots) IsSet() bool
IsSet returns true if OptExperimentalSessionListRoots was set.
func (OptExperimentalSessionListRoots) Or ¶
func (o OptExperimentalSessionListRoots) Or(d ExperimentalSessionListRoots) ExperimentalSessionListRoots
Or returns value if set, or given parameter if does not.
func (*OptExperimentalSessionListRoots) Reset ¶
func (o *OptExperimentalSessionListRoots) Reset()
Reset unsets value.
func (*OptExperimentalSessionListRoots) SetTo ¶
func (o *OptExperimentalSessionListRoots) SetTo(v ExperimentalSessionListRoots)
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 ¶
func (o OptFileContentEncoding) Get() (v FileContentEncoding, ok bool)
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 ¶
func (o OptFileContentEncoding) Or(d FileContentEncoding) FileContentEncoding
Or returns value if set, or given parameter if does not.
func (*OptFileContentEncoding) SetTo ¶
func (o *OptFileContentEncoding) SetTo(v FileContentEncoding)
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 ¶
func (o OptFileContentPatch) Or(d FileContentPatch) FileContentPatch
Or returns value if set, or given parameter if does not.
func (*OptFileContentPatch) SetTo ¶
func (o *OptFileContentPatch) SetTo(v FileContentPatch)
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 ¶
func (o OptFindFilesDirs) Or(d FindFilesDirs) FindFilesDirs
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptFindFilesType) Or(d FindFilesType) FindFilesType
Or returns value if set, or given parameter if does not.
func (*OptFindFilesType) SetTo ¶
func (o *OptFindFilesType) SetTo(v FindFilesType)
SetTo sets value to v.
type OptFloat64 ¶
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) 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 ¶
func (o OptGlobalSessionModel) Get() (v GlobalSessionModel, ok bool)
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 ¶
func (o OptGlobalSessionModel) Or(d GlobalSessionModel) GlobalSessionModel
Or returns value if set, or given parameter if does not.
func (*OptGlobalSessionModel) SetTo ¶
func (o *OptGlobalSessionModel) SetTo(v GlobalSessionModel)
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 ¶
func (o OptGlobalSessionRevert) Get() (v GlobalSessionRevert, ok bool)
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 ¶
func (o OptGlobalSessionRevert) Or(d GlobalSessionRevert) GlobalSessionRevert
Or returns value if set, or given parameter if does not.
func (*OptGlobalSessionRevert) SetTo ¶
func (o *OptGlobalSessionRevert) SetTo(v GlobalSessionRevert)
SetTo sets value to v.
func (*OptGlobalSessionRevert) UnmarshalJSON ¶
func (s *OptGlobalSessionRevert) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptGlobalSessionShare ¶
type OptGlobalSessionShare struct {
}
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 ¶
func (o OptGlobalSessionShare) Get() (v GlobalSessionShare, ok bool)
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 ¶
func (o OptGlobalSessionShare) Or(d GlobalSessionShare) GlobalSessionShare
Or returns value if set, or given parameter if does not.
func (*OptGlobalSessionShare) SetTo ¶
func (o *OptGlobalSessionShare) SetTo(v GlobalSessionShare)
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 ¶
func (o OptGlobalSessionSummary) Get() (v GlobalSessionSummary, ok bool)
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 ¶
func (o OptGlobalSessionSummary) Or(d GlobalSessionSummary) GlobalSessionSummary
Or returns value if set, or given parameter if does not.
func (*OptGlobalSessionSummary) Reset ¶
func (o *OptGlobalSessionSummary) Reset()
Reset unsets value.
func (*OptGlobalSessionSummary) SetTo ¶
func (o *OptGlobalSessionSummary) SetTo(v GlobalSessionSummary)
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 ¶
func (o OptGlobalSessionTokens) Get() (v GlobalSessionTokens, ok bool)
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 ¶
func (o OptGlobalSessionTokens) Or(d GlobalSessionTokens) GlobalSessionTokens
Or returns value if set, or given parameter if does not.
func (*OptGlobalSessionTokens) SetTo ¶
func (o *OptGlobalSessionTokens) SetTo(v GlobalSessionTokens)
SetTo sets value to v.
func (*OptGlobalSessionTokens) UnmarshalJSON ¶
func (s *OptGlobalSessionTokens) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt ¶
OptInt is optional int.
func (OptInt) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt) UnmarshalJSON ¶
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 ¶
func (o OptLocationRef) Or(d LocationRef) LocationRef
Or returns value if set, or given parameter if does not.
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 ¶
func (o *OptModelCostExperimentalOver200K) Decode(d *jx.Decoder) error
Decode decodes ModelCostExperimentalOver200K from json.
func (OptModelCostExperimentalOver200K) Encode ¶
func (o OptModelCostExperimentalOver200K) Encode(e *jx.Encoder)
Encode encodes ModelCostExperimentalOver200K as json.
func (OptModelCostExperimentalOver200K) Get ¶
func (o OptModelCostExperimentalOver200K) Get() (v ModelCostExperimentalOver200K, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptModelCostExperimentalOver200K) IsSet ¶
func (o OptModelCostExperimentalOver200K) IsSet() bool
IsSet returns true if OptModelCostExperimentalOver200K was set.
func (OptModelCostExperimentalOver200K) MarshalJSON ¶
func (s OptModelCostExperimentalOver200K) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptModelCostExperimentalOver200K) Or ¶
func (o OptModelCostExperimentalOver200K) Or(d ModelCostExperimentalOver200K) ModelCostExperimentalOver200K
Or returns value if set, or given parameter if does not.
func (*OptModelCostExperimentalOver200K) Reset ¶
func (o *OptModelCostExperimentalOver200K) Reset()
Reset unsets value.
func (*OptModelCostExperimentalOver200K) SetTo ¶
func (o *OptModelCostExperimentalOver200K) SetTo(v ModelCostExperimentalOver200K)
SetTo sets value to v.
func (*OptModelCostExperimentalOver200K) UnmarshalJSON ¶
func (s *OptModelCostExperimentalOver200K) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptModelRef ¶
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) 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 ¶
func (o OptModelVariants) Or(d ModelVariants) ModelVariants
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptPermissionRequestTool) Get() (v PermissionRequestTool, ok bool)
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 ¶
func (o OptPermissionRequestTool) Or(d PermissionRequestTool) PermissionRequestTool
Or returns value if set, or given parameter if does not.
func (*OptPermissionRequestTool) Reset ¶
func (o *OptPermissionRequestTool) Reset()
Reset unsets value.
func (*OptPermissionRequestTool) SetTo ¶
func (o *OptPermissionRequestTool) SetTo(v PermissionRequestTool)
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 ¶
func (o OptPermissionV2Source) Get() (v PermissionV2Source, ok bool)
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 ¶
func (o OptPermissionV2Source) Or(d PermissionV2Source) PermissionV2Source
Or returns value if set, or given parameter if does not.
func (*OptPermissionV2Source) SetTo ¶
func (o *OptPermissionV2Source) SetTo(v PermissionV2Source)
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 ¶
func (o OptProjectCommands) Or(d ProjectCommands) ProjectCommands
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptProjectIcon) Or(d ProjectIcon) ProjectIcon
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptProjectVcs) Or(d ProjectVcs) ProjectVcs
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptQuestionTool) Or(d QuestionTool) QuestionTool
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptQuestionV2Tool) Or(d QuestionV2Tool) QuestionV2Tool
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptRevertState) Or(d RevertState) RevertState
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptSessionListRoots) Or(d SessionListRoots) SessionListRoots
Or returns value if set, or given parameter if does not.
func (*OptSessionListRoots) SetTo ¶
func (o *OptSessionListRoots) SetTo(v SessionListRoots)
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 ¶
func (o OptSessionListScope) Or(d SessionListScope) SessionListScope
Or returns value if set, or given parameter if does not.
func (*OptSessionListScope) SetTo ¶
func (o *OptSessionListScope) SetTo(v SessionListScope)
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 ¶
func (o OptSessionModel) Or(d SessionModel) SessionModel
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptSessionRevert) Or(d SessionRevert) SessionRevert
Or returns value if set, or given parameter if does not.
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 {
}
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 ¶
func (o OptSessionShare) Or(d SessionShare) SessionShare
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptSessionSummary) Or(d SessionSummary) SessionSummary
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptSessionTokens) Or(d SessionTokens) SessionTokens
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptSnapshotFileDiffStatus) Get() (v SnapshotFileDiffStatus, ok bool)
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) Reset ¶
func (o *OptSnapshotFileDiffStatus) Reset()
Reset unsets value.
func (*OptSnapshotFileDiffStatus) SetTo ¶
func (o *OptSnapshotFileDiffStatus) SetTo(v SnapshotFileDiffStatus)
SetTo sets value to v.
func (*OptSnapshotFileDiffStatus) UnmarshalJSON ¶
func (s *OptSnapshotFileDiffStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptString ¶
OptString is optional string.
func NewOptString ¶
NewOptString returns new OptString with value set to v.
func (OptString) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptString) UnmarshalJSON ¶
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 ¶
func (o OptTuiShowToastReq) Or(d TuiShowToastReq) TuiShowToastReq
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptV2CommandListLocation) Get() (v V2CommandListLocation, ok bool)
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 ¶
func (o OptV2CommandListLocation) Or(d V2CommandListLocation) V2CommandListLocation
Or returns value if set, or given parameter if does not.
func (*OptV2CommandListLocation) Reset ¶
func (o *OptV2CommandListLocation) Reset()
Reset unsets value.
func (*OptV2CommandListLocation) SetTo ¶
func (o *OptV2CommandListLocation) SetTo(v V2CommandListLocation)
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 ¶
func (o OptV2CredentialRemoveLocation) Get() (v V2CredentialRemoveLocation, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptV2CredentialRemoveLocation) IsSet ¶
func (o OptV2CredentialRemoveLocation) IsSet() bool
IsSet returns true if OptV2CredentialRemoveLocation was set.
func (*OptV2CredentialRemoveLocation) Reset ¶
func (o *OptV2CredentialRemoveLocation) Reset()
Reset unsets value.
func (*OptV2CredentialRemoveLocation) SetTo ¶
func (o *OptV2CredentialRemoveLocation) SetTo(v V2CredentialRemoveLocation)
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 ¶
func (o OptV2CredentialUpdateLocation) Get() (v V2CredentialUpdateLocation, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptV2CredentialUpdateLocation) IsSet ¶
func (o OptV2CredentialUpdateLocation) IsSet() bool
IsSet returns true if OptV2CredentialUpdateLocation was set.
func (*OptV2CredentialUpdateLocation) Reset ¶
func (o *OptV2CredentialUpdateLocation) Reset()
Reset unsets value.
func (*OptV2CredentialUpdateLocation) SetTo ¶
func (o *OptV2CredentialUpdateLocation) SetTo(v V2CredentialUpdateLocation)
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 ¶
func (o OptV2FsFindLocation) Or(d V2FsFindLocation) V2FsFindLocation
Or returns value if set, or given parameter if does not.
func (*OptV2FsFindLocation) SetTo ¶
func (o *OptV2FsFindLocation) SetTo(v V2FsFindLocation)
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 ¶
func (o OptV2FsFindType) Or(d V2FsFindType) V2FsFindType
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptV2FsListLocation) Or(d V2FsListLocation) V2FsListLocation
Or returns value if set, or given parameter if does not.
func (*OptV2FsListLocation) SetTo ¶
func (o *OptV2FsListLocation) SetTo(v V2FsListLocation)
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 ¶
func (o OptV2FsReadLocation) Or(d V2FsReadLocation) V2FsReadLocation
Or returns value if set, or given parameter if does not.
func (*OptV2FsReadLocation) SetTo ¶
func (o *OptV2FsReadLocation) SetTo(v V2FsReadLocation)
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 ¶
func (o OptV2IntegrationAttemptCancelLocation) Get() (v V2IntegrationAttemptCancelLocation, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptV2IntegrationAttemptCancelLocation) IsSet ¶
func (o OptV2IntegrationAttemptCancelLocation) IsSet() bool
IsSet returns true if OptV2IntegrationAttemptCancelLocation was set.
func (OptV2IntegrationAttemptCancelLocation) Or ¶
func (o OptV2IntegrationAttemptCancelLocation) Or(d V2IntegrationAttemptCancelLocation) V2IntegrationAttemptCancelLocation
Or returns value if set, or given parameter if does not.
func (*OptV2IntegrationAttemptCancelLocation) Reset ¶
func (o *OptV2IntegrationAttemptCancelLocation) Reset()
Reset unsets value.
func (*OptV2IntegrationAttemptCancelLocation) SetTo ¶
func (o *OptV2IntegrationAttemptCancelLocation) SetTo(v V2IntegrationAttemptCancelLocation)
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 ¶
func (o OptV2LocationGetLocation) Get() (v V2LocationGetLocation, ok bool)
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 ¶
func (o OptV2LocationGetLocation) Or(d V2LocationGetLocation) V2LocationGetLocation
Or returns value if set, or given parameter if does not.
func (*OptV2LocationGetLocation) Reset ¶
func (o *OptV2LocationGetLocation) Reset()
Reset unsets value.
func (*OptV2LocationGetLocation) SetTo ¶
func (o *OptV2LocationGetLocation) SetTo(v V2LocationGetLocation)
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 ¶
func (o OptV2PermissionRequestListLocation) Get() (v V2PermissionRequestListLocation, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptV2PermissionRequestListLocation) IsSet ¶
func (o OptV2PermissionRequestListLocation) IsSet() bool
IsSet returns true if OptV2PermissionRequestListLocation was set.
func (OptV2PermissionRequestListLocation) Or ¶
func (o OptV2PermissionRequestListLocation) Or(d V2PermissionRequestListLocation) V2PermissionRequestListLocation
Or returns value if set, or given parameter if does not.
func (*OptV2PermissionRequestListLocation) Reset ¶
func (o *OptV2PermissionRequestListLocation) Reset()
Reset unsets value.
func (*OptV2PermissionRequestListLocation) SetTo ¶
func (o *OptV2PermissionRequestListLocation) SetTo(v V2PermissionRequestListLocation)
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 ¶
func (o OptV2PtyConnectTokenLocation) Get() (v V2PtyConnectTokenLocation, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptV2PtyConnectTokenLocation) IsSet ¶
func (o OptV2PtyConnectTokenLocation) IsSet() bool
IsSet returns true if OptV2PtyConnectTokenLocation was set.
func (*OptV2PtyConnectTokenLocation) Reset ¶
func (o *OptV2PtyConnectTokenLocation) Reset()
Reset unsets value.
func (*OptV2PtyConnectTokenLocation) SetTo ¶
func (o *OptV2PtyConnectTokenLocation) SetTo(v V2PtyConnectTokenLocation)
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 ¶
func (o OptV2PtyCreateLocation) Get() (v V2PtyCreateLocation, ok bool)
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 ¶
func (o OptV2PtyCreateLocation) Or(d V2PtyCreateLocation) V2PtyCreateLocation
Or returns value if set, or given parameter if does not.
func (*OptV2PtyCreateLocation) SetTo ¶
func (o *OptV2PtyCreateLocation) SetTo(v V2PtyCreateLocation)
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 ¶
func (o OptV2PtyCreateReqEnv) Get() (v V2PtyCreateReqEnv, ok bool)
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 ¶
func (o OptV2PtyCreateReqEnv) Or(d V2PtyCreateReqEnv) V2PtyCreateReqEnv
Or returns value if set, or given parameter if does not.
func (*OptV2PtyCreateReqEnv) SetTo ¶
func (o *OptV2PtyCreateReqEnv) SetTo(v V2PtyCreateReqEnv)
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 ¶
func (o OptV2PtyGetLocation) Or(d V2PtyGetLocation) V2PtyGetLocation
Or returns value if set, or given parameter if does not.
func (*OptV2PtyGetLocation) SetTo ¶
func (o *OptV2PtyGetLocation) SetTo(v V2PtyGetLocation)
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 ¶
func (o OptV2PtyListLocation) Get() (v V2PtyListLocation, ok bool)
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 ¶
func (o OptV2PtyListLocation) Or(d V2PtyListLocation) V2PtyListLocation
Or returns value if set, or given parameter if does not.
func (*OptV2PtyListLocation) SetTo ¶
func (o *OptV2PtyListLocation) SetTo(v V2PtyListLocation)
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 ¶
func (o OptV2PtyRemoveLocation) Get() (v V2PtyRemoveLocation, ok bool)
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 ¶
func (o OptV2PtyRemoveLocation) Or(d V2PtyRemoveLocation) V2PtyRemoveLocation
Or returns value if set, or given parameter if does not.
func (*OptV2PtyRemoveLocation) SetTo ¶
func (o *OptV2PtyRemoveLocation) SetTo(v V2PtyRemoveLocation)
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 ¶
func (o OptV2PtyUpdateLocation) Get() (v V2PtyUpdateLocation, ok bool)
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 ¶
func (o OptV2PtyUpdateLocation) Or(d V2PtyUpdateLocation) V2PtyUpdateLocation
Or returns value if set, or given parameter if does not.
func (*OptV2PtyUpdateLocation) SetTo ¶
func (o *OptV2PtyUpdateLocation) SetTo(v V2PtyUpdateLocation)
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 ¶
func (o OptV2PtyUpdateReqSize) Get() (v V2PtyUpdateReqSize, ok bool)
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 ¶
func (o OptV2PtyUpdateReqSize) Or(d V2PtyUpdateReqSize) V2PtyUpdateReqSize
Or returns value if set, or given parameter if does not.
func (*OptV2PtyUpdateReqSize) SetTo ¶
func (o *OptV2PtyUpdateReqSize) SetTo(v V2PtyUpdateReqSize)
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 ¶
func (o OptV2QuestionRequestListLocation) Get() (v V2QuestionRequestListLocation, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptV2QuestionRequestListLocation) IsSet ¶
func (o OptV2QuestionRequestListLocation) IsSet() bool
IsSet returns true if OptV2QuestionRequestListLocation was set.
func (OptV2QuestionRequestListLocation) Or ¶
func (o OptV2QuestionRequestListLocation) Or(d V2QuestionRequestListLocation) V2QuestionRequestListLocation
Or returns value if set, or given parameter if does not.
func (*OptV2QuestionRequestListLocation) Reset ¶
func (o *OptV2QuestionRequestListLocation) Reset()
Reset unsets value.
func (*OptV2QuestionRequestListLocation) SetTo ¶
func (o *OptV2QuestionRequestListLocation) SetTo(v V2QuestionRequestListLocation)
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 ¶
func (o OptV2SkillListLocation) Get() (v V2SkillListLocation, ok bool)
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 ¶
func (o OptV2SkillListLocation) Or(d V2SkillListLocation) V2SkillListLocation
Or returns value if set, or given parameter if does not.
func (*OptV2SkillListLocation) SetTo ¶
func (o *OptV2SkillListLocation) SetTo(v V2SkillListLocation)
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 ¶
func (o OptVcsFileDiffStatus) Get() (v VcsFileDiffStatus, ok bool)
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 ¶
func (o OptVcsFileDiffStatus) Or(d VcsFileDiffStatus) VcsFileDiffStatus
Or returns value if set, or given parameter if does not.
func (*OptVcsFileDiffStatus) SetTo ¶
func (o *OptVcsFileDiffStatus) SetTo(v VcsFileDiffStatus)
SetTo sets value to v.
func (*OptVcsFileDiffStatus) UnmarshalJSON ¶
func (s *OptVcsFileDiffStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
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) GetDirectory ¶
GetDirectory returns the value of Directory.
func (*Path) GetWorktree ¶
GetWorktree returns the value of Worktree.
func (*Path) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Path) SetDirectory ¶
SetDirectory sets the value of Directory.
func (*Path) SetWorktree ¶
SetWorktree sets the value of Worktree.
func (*Path) UnmarshalJSON ¶
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 ¶
func (s *PermissionListOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes PermissionListOKApplicationJSON from json.
func (PermissionListOKApplicationJSON) Encode ¶
func (s PermissionListOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (s PermissionListOKApplicationJSON) Validate() error
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 ¶
func (s *PermissionRequest) GetMetadata() PermissionRequestMetadata
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 ¶
func (s *PermissionRequest) GetTool() OptPermissionRequestTool
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 ¶
func (s *PermissionRequest) SetTool(val OptPermissionRequestTool)
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 ¶
func (s *PermissionV2Request) GetMetadata() *PermissionV2RequestMetadata
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 ¶
func (s *PermissionV2Request) GetSource() OptPermissionV2Source
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 ¶
func (s *PermissionV2RequestMetadata) Decode(d *jx.Decoder) error
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 ¶
func (s *PermissionV2Source) GetType() PermissionV2SourceType
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 ¶
func (s *PermissionV2Source) SetType(val PermissionV2SourceType)
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 ¶
func (PermissionV2SourceType) AllValues() []PermissionV2SourceType
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) GetCommands ¶
func (s *Project) GetCommands() OptProjectCommands
GetCommands returns the value of Commands.
func (*Project) GetIcon ¶
func (s *Project) GetIcon() OptProjectIcon
GetIcon returns the value of Icon.
func (*Project) GetSandboxes ¶
GetSandboxes returns the value of Sandboxes.
func (*Project) GetTime ¶
func (s *Project) GetTime() ProjectTime
GetTime returns the value of Time.
func (*Project) GetWorktree ¶
GetWorktree returns the value of Worktree.
func (*Project) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Project) SetCommands ¶
func (s *Project) SetCommands(val OptProjectCommands)
SetCommands sets the value of Commands.
func (*Project) SetIcon ¶
func (s *Project) SetIcon(val OptProjectIcon)
SetIcon sets the value of Icon.
func (*Project) SetSandboxes ¶
SetSandboxes sets the value of Sandboxes.
func (*Project) SetTime ¶
func (s *Project) SetTime(val ProjectTime)
SetTime sets the value of Time.
func (*Project) SetWorktree ¶
SetWorktree sets the value of Worktree.
func (*Project) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
func (s *ProjectListOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ProjectListOKApplicationJSON from json.
func (ProjectListOKApplicationJSON) Encode ¶
func (s ProjectListOKApplicationJSON) Encode(e *jx.Encoder)
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) GetModels ¶
func (s *Provider) GetModels() ProviderModels
GetModels returns the value of Models.
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 ¶
MarshalJSON implements stdjson.Marshaler.
func (*Provider) SetModels ¶
func (s *Provider) SetModels(val ProviderModels)
SetModels sets the value of Models.
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 ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
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 ¶
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) GetExitCode ¶
GetExitCode returns the value of ExitCode.
func (*Pty) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Pty) SetExitCode ¶
SetExitCode sets the value of ExitCode.
func (*Pty) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type PtyConnectOKApplicationJSON ¶
type PtyConnectOKApplicationJSON bool
func (*PtyConnectOKApplicationJSON) Decode ¶
func (s *PtyConnectOKApplicationJSON) Decode(d *jx.Decoder) error
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 ¶
func (s *PtyForbiddenError) GetTag() PtyForbiddenErrorTag
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 ¶
func (PtyForbiddenErrorTag) AllValues() []PtyForbiddenErrorTag
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 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 ¶
func (s *PtyNotFoundError) GetTag() PtyNotFoundErrorTag
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 ¶
func (PtyNotFoundErrorTag) AllValues() []PtyNotFoundErrorTag
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 ¶
func (s *PtyRemoveOKApplicationJSON) Decode(d *jx.Decoder) error
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 ¶
func (s *PtyShellsOKApplicationJSON) Decode(d *jx.Decoder) error
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
func (PtyStatus) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (PtyStatus) MarshalText ¶
MarshalText implements encoding.TextMarshaler.
func (*PtyStatus) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PtyStatus) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.
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 ¶
func (s *QuestionListOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes QuestionListOKApplicationJSON from json.
func (QuestionListOKApplicationJSON) Encode ¶
func (s QuestionListOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
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 ¶
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) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Range) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type RangeEnd ¶
func (*RangeEnd) GetCharacter ¶
GetCharacter returns the value of Character.
func (*RangeEnd) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*RangeEnd) SetCharacter ¶
SetCharacter sets the value of Character.
func (*RangeEnd) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type RangeStart ¶
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) 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) UnmarshalJSON ¶
func (s *RangeStart) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RangeStart) Validate ¶
func (s *RangeStart) Validate() error
type RequestEditor ¶
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 ¶
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"`
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) GetDirectory ¶
GetDirectory returns the value of Directory.
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 ¶
GetParentID returns the value of ParentID.
func (*Session) GetPermission ¶
func (s *Session) GetPermission() PermissionRuleset
GetPermission returns the value of Permission.
func (*Session) GetProjectID ¶
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) 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) GetTokens ¶
func (s *Session) GetTokens() OptSessionTokens
GetTokens returns the value of Tokens.
func (*Session) GetVersion ¶
GetVersion returns the value of Version.
func (*Session) GetWorkspaceID ¶
GetWorkspaceID returns the value of WorkspaceID.
func (*Session) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Session) SetDirectory ¶
SetDirectory sets the value of Directory.
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 ¶
SetParentID sets the value of ParentID.
func (*Session) SetPermission ¶
func (s *Session) SetPermission(val PermissionRuleset)
SetPermission sets the value of Permission.
func (*Session) SetProjectID ¶
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) 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) SetTokens ¶
func (s *Session) SetTokens(val OptSessionTokens)
SetTokens sets the value of Tokens.
func (*Session) SetVersion ¶
SetVersion sets the value of Version.
func (*Session) SetWorkspaceID ¶
SetWorkspaceID sets the value of WorkspaceID.
func (*Session) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
func (s *SessionDiffOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes SessionDiffOKApplicationJSON from json.
func (SessionDiffOKApplicationJSON) Encode ¶
func (s SessionDiffOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (s *SessionListOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes SessionListOKApplicationJSON from json.
func (SessionListOKApplicationJSON) Encode ¶
func (s SessionListOKApplicationJSON) Encode(e *jx.Encoder)
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) 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) 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 {
}
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 {
}
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 ¶
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 {
}
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) 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) 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 ¶
func (s *SessionV2InfoTokens) GetCache() SessionV2InfoTokensCache
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 ¶
func (s *SessionV2InfoTokens) SetCache(val SessionV2InfoTokensCache)
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 ¶
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 ¶
func (s *SnapshotFileDiff) GetStatus() OptSnapshotFileDiffStatus
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 ¶
func (SnapshotFileDiffStatus) AllValues() []SnapshotFileDiffStatus
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) GetLocation ¶
func (s *Symbol) GetLocation() SymbolLocation
GetLocation returns the value of Location.
func (*Symbol) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Symbol) SetLocation ¶
func (s *Symbol) SetLocation(val SymbolLocation)
SetLocation sets the value of Location.
func (*Symbol) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type SymbolLocation ¶
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 ¶
func (s *SyncStartOKApplicationJSON) Decode(d *jx.Decoder) error
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 ¶
func (s *TuiClearPromptOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes TuiClearPromptOKApplicationJSON from json.
func (TuiClearPromptOKApplicationJSON) Encode ¶
func (s TuiClearPromptOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
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 ¶
func (s *TuiControlResponseOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes TuiControlResponseOKApplicationJSON from json.
func (TuiControlResponseOKApplicationJSON) Encode ¶
func (s TuiControlResponseOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (s *TuiOpenHelpOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes TuiOpenHelpOKApplicationJSON from json.
func (TuiOpenHelpOKApplicationJSON) Encode ¶
func (s TuiOpenHelpOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (s *TuiOpenModelsOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes TuiOpenModelsOKApplicationJSON from json.
func (TuiOpenModelsOKApplicationJSON) Encode ¶
func (s TuiOpenModelsOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (s *TuiOpenSessionsOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes TuiOpenSessionsOKApplicationJSON from json.
func (TuiOpenSessionsOKApplicationJSON) Encode ¶
func (s TuiOpenSessionsOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (s *TuiOpenThemesOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes TuiOpenThemesOKApplicationJSON from json.
func (TuiOpenThemesOKApplicationJSON) Encode ¶
func (s TuiOpenThemesOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (s *TuiShowToastOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes TuiShowToastOKApplicationJSON from json.
func (TuiShowToastOKApplicationJSON) Encode ¶
func (s TuiShowToastOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (TuiShowToastReqVariant) AllValues() []TuiShowToastReqVariant
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 ¶
func (s *TuiSubmitPromptOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes TuiSubmitPromptOKApplicationJSON from json.
func (TuiSubmitPromptOKApplicationJSON) Encode ¶
func (s TuiSubmitPromptOKApplicationJSON) Encode(e *jx.Encoder)
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 {
}
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 ¶
func (s *UnauthorizedError) GetTag() UnauthorizedErrorTag
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 (
)
func (UnauthorizedErrorTag) AllValues ¶
func (UnauthorizedErrorTag) AllValues() []UnauthorizedErrorTag
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 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 ¶
func (V2HealthGetOKHealthy) AllValues() []V2HealthGetOKHealthy
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 ¶
func (s *V2IntegrationAttemptCancelLocation) DecodeURI(d uri.Decoder) error
DecodeURI decodes V2IntegrationAttemptCancelLocation from URI form.
func (*V2IntegrationAttemptCancelLocation) EncodeURI ¶
func (s *V2IntegrationAttemptCancelLocation) EncodeURI(e uri.Encoder) error
EncodeURI encodes V2IntegrationAttemptCancelLocation as URI form.
func (*V2IntegrationAttemptCancelLocation) GetDirectory ¶
func (s *V2IntegrationAttemptCancelLocation) GetDirectory() OptString
GetDirectory returns the value of Directory.
func (*V2IntegrationAttemptCancelLocation) GetWorkspace ¶
func (s *V2IntegrationAttemptCancelLocation) GetWorkspace() OptString
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 ¶
func (s *V2PermissionRequestListLocation) DecodeURI(d uri.Decoder) error
DecodeURI decodes V2PermissionRequestListLocation from URI form.
func (*V2PermissionRequestListLocation) EncodeURI ¶
func (s *V2PermissionRequestListLocation) EncodeURI(e uri.Encoder) error
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 ¶
func (s *V2PermissionRequestListOK) GetData() []PermissionV2Request
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 ¶
func (s *V2PermissionRequestListOK) SetData(val []PermissionV2Request)
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 ¶
func (s *V2PermissionSavedListOK) GetData() []PermissionSavedInfo
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 ¶
func (s *V2PtyConnectOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes V2PtyConnectOKApplicationJSON from json.
func (V2PtyConnectOKApplicationJSON) Encode ¶
func (s V2PtyConnectOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (s *V2PtyConnectTokenOK) GetData() PtyTicketConnectToken
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 ¶
func (s *V2PtyConnectTokenOK) SetData(val PtyTicketConnectToken)
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 ¶
func (s *V2PtyCreateReq) GetEnv() OptV2PtyCreateReqEnv
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 ¶
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) 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) 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 ¶
func (s *V2PtyUpdateReq) GetSize() OptV2PtyUpdateReqSize
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 ¶
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 ¶
func (s *V2QuestionRequestListLocation) DecodeURI(d uri.Decoder) error
DecodeURI decodes V2QuestionRequestListLocation from URI form.
func (*V2QuestionRequestListLocation) EncodeURI ¶
func (s *V2QuestionRequestListLocation) EncodeURI(e uri.Encoder) error
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 ¶
func (s *V2QuestionRequestListOK) GetData() []QuestionV2Request
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 ¶
func (s *V2SessionActiveOK) GetData() V2SessionActiveOKData
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 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 ¶
func (VcsFileStatusStatus) AllValues() []VcsFileStatusStatus
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 VcsInfo ¶
type VcsInfo struct {
Branch OptString `json:"branch"`
DefaultBranch OptString `json:"default_branch"`
}
Ref: #/components/schemas/VcsInfo
func (*VcsInfo) GetDefaultBranch ¶
GetDefaultBranch returns the value of DefaultBranch.
func (*VcsInfo) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*VcsInfo) SetDefaultBranch ¶
SetDefaultBranch sets the value of DefaultBranch.
func (*VcsInfo) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type VcsStatusOKApplicationJSON ¶
type VcsStatusOKApplicationJSON []VcsFileStatus
func (*VcsStatusOKApplicationJSON) Decode ¶
func (s *VcsStatusOKApplicationJSON) Decode(d *jx.Decoder) error
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 ¶
func (s *WorkspaceEventConnectionStatus) Decode(d *jx.Decoder) error
Decode decodes WorkspaceEventConnectionStatus from json.
func (*WorkspaceEventConnectionStatus) Encode ¶
func (s *WorkspaceEventConnectionStatus) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WorkspaceEventConnectionStatus) GetStatus ¶
func (s *WorkspaceEventConnectionStatus) GetStatus() WorkspaceEventConnectionStatusStatus
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 ¶
func (s *WorkspaceEventConnectionStatus) SetStatus(val WorkspaceEventConnectionStatusStatus)
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 ¶
func (WorkspaceEventConnectionStatusStatus) AllValues() []WorkspaceEventConnectionStatusStatus
AllValues returns all WorkspaceEventConnectionStatusStatus values.
func (*WorkspaceEventConnectionStatusStatus) Decode ¶
func (s *WorkspaceEventConnectionStatusStatus) Decode(d *jx.Decoder) error
Decode decodes WorkspaceEventConnectionStatusStatus from json.
func (WorkspaceEventConnectionStatusStatus) Encode ¶
func (s WorkspaceEventConnectionStatusStatus) Encode(e *jx.Encoder)
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 ¶
func (s WorkspaceEventConnectionStatusStatus) Validate() error