openapi

package
v0.0.0-...-02f40f6 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package openapi provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSpec

func GetSpec() (swagger *openapi3.T, err error)

GetSpec returns the OpenAPI specification corresponding to the generated code in this file. External references in the spec are resolved through PathToRawSpec; externally-referenced files must be embedded in their corresponding Go packages (via the import-mapping feature). URL-based external refs are not supported.

func GetSpecJSON

func GetSpecJSON() ([]byte, error)

GetSpecJSON returns the raw JSON bytes of the embedded OpenAPI specification: decompressed but not unmarshaled. External references are not resolved here; the bytes are the spec exactly as embedded by codegen. The result is cached at package init time, so repeated calls are cheap.

func GetSwagger deprecated

func GetSwagger() (*openapi3.T, error)

GetSwagger returns the OpenAPI specification corresponding to the generated code in this file.

Deprecated: GetSwagger predates kin-openapi renaming openapi3.Swagger to openapi3.T. Use GetSpec instead. This wrapper is retained for backwards compatibility.

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

Types

type AWSCredentialsSecretMaterial

type AWSCredentialsSecretMaterial struct {
	AccessKeyId string `json:"access_key_id"`

	// ExternalId Requires role_arn.
	ExternalId      *string                          `json:"external_id,omitempty"`
	Kind            AWSCredentialsSecretMaterialKind `json:"kind"`
	RoleArn         *string                          `json:"role_arn,omitempty"`
	SecretAccessKey string                           `json:"secret_access_key"`
	SessionToken    *string                          `json:"session_token,omitempty"`
}

AWSCredentialsSecretMaterial defines model for AWSCredentialsSecretMaterial.

type AWSCredentialsSecretMaterialKind

type AWSCredentialsSecretMaterialKind string

AWSCredentialsSecretMaterialKind defines model for AWSCredentialsSecretMaterial.Kind.

const (
	AwsCredentials AWSCredentialsSecretMaterialKind = "aws_credentials"
)

Defines values for AWSCredentialsSecretMaterialKind.

func (AWSCredentialsSecretMaterialKind) Valid

Valid indicates whether the value is a known member of the AWSCredentialsSecretMaterialKind enum.

type AcceptInvitation4XXJSONResponse

type AcceptInvitation4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (AcceptInvitation4XXJSONResponse) VisitAcceptInvitationResponse

func (response AcceptInvitation4XXJSONResponse) VisitAcceptInvitationResponse(w http.ResponseWriter) error

type AcceptInvitation5XXJSONResponse

type AcceptInvitation5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (AcceptInvitation5XXJSONResponse) VisitAcceptInvitationResponse

func (response AcceptInvitation5XXJSONResponse) VisitAcceptInvitationResponse(w http.ResponseWriter) error

type AcceptInvitation200JSONResponse

type AcceptInvitation200JSONResponse OrgInvitation

func (AcceptInvitation200JSONResponse) VisitAcceptInvitationResponse

func (response AcceptInvitation200JSONResponse) VisitAcceptInvitationResponse(w http.ResponseWriter) error

type AcceptInvitation400JSONResponse

type AcceptInvitation400JSONResponse struct{ BadRequestJSONResponse }

func (AcceptInvitation400JSONResponse) VisitAcceptInvitationResponse

func (response AcceptInvitation400JSONResponse) VisitAcceptInvitationResponse(w http.ResponseWriter) error

type AcceptInvitation401JSONResponse

type AcceptInvitation401JSONResponse struct{ UnauthorizedJSONResponse }

func (AcceptInvitation401JSONResponse) VisitAcceptInvitationResponse

func (response AcceptInvitation401JSONResponse) VisitAcceptInvitationResponse(w http.ResponseWriter) error

type AcceptInvitation403JSONResponse

type AcceptInvitation403JSONResponse struct{ ForbiddenJSONResponse }

func (AcceptInvitation403JSONResponse) VisitAcceptInvitationResponse

func (response AcceptInvitation403JSONResponse) VisitAcceptInvitationResponse(w http.ResponseWriter) error

type AcceptInvitation404JSONResponse

type AcceptInvitation404JSONResponse struct{ NotFoundJSONResponse }

func (AcceptInvitation404JSONResponse) VisitAcceptInvitationResponse

func (response AcceptInvitation404JSONResponse) VisitAcceptInvitationResponse(w http.ResponseWriter) error

type AcceptInvitation409JSONResponse

type AcceptInvitation409JSONResponse struct{ ConflictJSONResponse }

func (AcceptInvitation409JSONResponse) VisitAcceptInvitationResponse

func (response AcceptInvitation409JSONResponse) VisitAcceptInvitationResponse(w http.ResponseWriter) error

type AcceptInvitation503JSONResponse

type AcceptInvitation503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (AcceptInvitation503JSONResponse) VisitAcceptInvitationResponse

func (response AcceptInvitation503JSONResponse) VisitAcceptInvitationResponse(w http.ResponseWriter) error

type AcceptInvitationRequestObject

type AcceptInvitationRequestObject struct {
	InvitationID string `json:"invitationID"`
}

type AcceptInvitationResponseObject

type AcceptInvitationResponseObject interface {
	VisitAcceptInvitationResponse(w http.ResponseWriter) error
}

type Actor

type Actor struct {
	CreatedAt   Timestamp `json:"created_at"`
	DisplayName *string   `json:"display_name,omitempty"`
	Id          ActorID   `json:"id"`

	// Metadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters.
	Metadata  Metadata       `json:"metadata"`
	OrgId     OrganizationID `json:"org_id"`
	ProjectId ProjectID      `json:"project_id"`

	// Provider omnara for project members, an integration provider such as slack, or external for API-managed actors.
	Provider         ActorProvider `json:"provider"`
	ProviderTenantId *string       `json:"provider_tenant_id,omitempty"`
	ProviderUserId   string        `json:"provider_user_id"`
	UpdatedAt        Timestamp     `json:"updated_at"`
}

Actor defines model for Actor.

type ActorID

type ActorID = string

ActorID defines model for ActorID.

type ActorProvider

type ActorProvider string

ActorProvider omnara for project members, an integration provider such as slack, or external for API-managed actors.

const (
	ActorProviderExternal ActorProvider = "external"
	ActorProviderOmnara   ActorProvider = "omnara"
	ActorProviderSlack    ActorProvider = "slack"
)

Defines values for ActorProvider.

func (ActorProvider) Valid

func (e ActorProvider) Valid() bool

Valid indicates whether the value is a known member of the ActorProvider enum.

type Agent

type Agent struct {
	AgentProfileId    *AgentProfileID    `json:"agent_profile_id,omitempty"`
	ArchivedAt        *Timestamp         `json:"archived_at,omitempty"`
	CreatedAt         Timestamp          `json:"created_at"`
	CurrentConfigId   *AgentConfigID     `json:"current_config_id,omitempty"`
	Id                AgentID            `json:"id"`
	IntegrationTarget *IntegrationTarget `json:"integration_target,omitempty"`
	Model             *AgentModel        `json:"model,omitempty"`
	Name              string             `json:"name"`
	OrgId             OrganizationID     `json:"org_id"`
	ProjectId         ProjectID          `json:"project_id"`
	State             AgentState         `json:"state"`
	UpdatedAt         Timestamp          `json:"updated_at"`
}

Agent defines model for Agent.

type AgentConfig

type AgentConfig struct {
	CompilerVersion         *string                  `json:"compiler_version,omitempty"`
	CreatedAt               Timestamp                `json:"created_at"`
	EffectiveDefinitionHash string                   `json:"effective_definition_hash"`
	Id                      AgentConfigID            `json:"id"`
	InstructionHash         *string                  `json:"instruction_hash,omitempty"`
	Model                   AgentConfigModel         `json:"model"`
	OrgId                   OrganizationID           `json:"org_id"`
	ProjectId               ProjectID                `json:"project_id"`
	Source                  *string                  `json:"source,omitempty"`
	SourceFormat            *AgentConfigSourceFormat `json:"source_format,omitempty"`
}

AgentConfig defines model for AgentConfig.

type AgentConfigID

type AgentConfigID = string

AgentConfigID defines model for AgentConfigID.

type AgentConfigModel

type AgentConfigModel struct {
	ApiFormat         ModelAPIFormat          `json:"api_format"`
	ApiVariant        ModelProviderAPIVariant `json:"api_variant"`
	ConfiguredModelId ConfiguredModelID       `json:"configured_model_id"`

	// ContextWindowTokens Effective token window after configured-model, project-grant, and agent-config settings are applied.
	ContextWindowTokens int                       `json:"context_window_tokens"`
	CurrentRevisionId   ConfiguredModelRevisionID `json:"current_revision_id"`

	// DefaultCacheRetention Default prompt-cache hint for model requests. `none` means Omnara does not send a cache hint; providers may still apply their own automatic caching. `short` and `long` are translated to the closest supported control for the selected API.
	DefaultCacheRetention ModelCacheRetention `json:"default_cache_retention"`

	// DefaultMaxOutputTokens Effective per-request output-token cap sent to the provider.
	DefaultMaxOutputTokens nullable.Nullable[int] `json:"default_max_output_tokens,omitempty"`
	DefaultReasoningEffort string                 `json:"default_reasoning_effort"`
	InputModalities        []string               `json:"input_modalities"`

	// MaxOutputTokens Effective largest output-token cap Omnara allows for this agent config.
	MaxOutputTokens int `json:"max_output_tokens"`

	// Name Configured model name selected by this agent config, rendered from the current configured model display record.
	Name             string   `json:"name"`
	OutputModalities []string `json:"output_modalities"`
	ProviderConfig   string   `json:"provider_config"`

	// ProviderModelSlug Exact provider model slug on the configured model's current revision at response time.
	ProviderModelSlug         string   `json:"provider_model_slug"`
	SupportedReasoningEfforts []string `json:"supported_reasoning_efforts"`
	SupportsReasoning         bool     `json:"supports_reasoning"`
	SupportsTools             bool     `json:"supports_tools"`
}

AgentConfigModel defines model for AgentConfigModel.

type AgentConfigSourceFormat

type AgentConfigSourceFormat string

AgentConfigSourceFormat defines model for AgentConfig.SourceFormat.

const (
	AgentConfigSourceFormatJson AgentConfigSourceFormat = "json"
	AgentConfigSourceFormatYaml AgentConfigSourceFormat = "yaml"
)

Defines values for AgentConfigSourceFormat.

func (AgentConfigSourceFormat) Valid

func (e AgentConfigSourceFormat) Valid() bool

Valid indicates whether the value is a known member of the AgentConfigSourceFormat enum.

type AgentControlType

type AgentControlType string

AgentControlType defines model for AgentControlType.

const (
	AgentControlTypeCancelCurrent AgentControlType = "cancel_current"
)

Defines values for AgentControlType.

func (AgentControlType) Valid

func (e AgentControlType) Valid() bool

Valid indicates whether the value is a known member of the AgentControlType enum.

type AgentCount

type AgentCount = int64

AgentCount Positive count within an agent timeline.

type AgentEvent

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

AgentEvent defines model for AgentEvent.

func (AgentEvent) AsAgentInputEvent

func (t AgentEvent) AsAgentInputEvent() (AgentInputEvent, error)

AsAgentInputEvent returns the union data inside the AgentEvent as a AgentInputEvent

func (AgentEvent) AsContextCheckpointEvent

func (t AgentEvent) AsContextCheckpointEvent() (ContextCheckpointEvent, error)

AsContextCheckpointEvent returns the union data inside the AgentEvent as a ContextCheckpointEvent

func (AgentEvent) AsModelOutputEvent

func (t AgentEvent) AsModelOutputEvent() (ModelOutputEvent, error)

AsModelOutputEvent returns the union data inside the AgentEvent as a ModelOutputEvent

func (AgentEvent) AsToolResultEvent

func (t AgentEvent) AsToolResultEvent() (ToolResultEvent, error)

AsToolResultEvent returns the union data inside the AgentEvent as a ToolResultEvent

func (AgentEvent) Discriminator

func (t AgentEvent) Discriminator() (string, error)

func (*AgentEvent) FromAgentInputEvent

func (t *AgentEvent) FromAgentInputEvent(v AgentInputEvent) error

FromAgentInputEvent overwrites any union data inside the AgentEvent as the provided AgentInputEvent

func (*AgentEvent) FromContextCheckpointEvent

func (t *AgentEvent) FromContextCheckpointEvent(v ContextCheckpointEvent) error

FromContextCheckpointEvent overwrites any union data inside the AgentEvent as the provided ContextCheckpointEvent

func (*AgentEvent) FromModelOutputEvent

func (t *AgentEvent) FromModelOutputEvent(v ModelOutputEvent) error

FromModelOutputEvent overwrites any union data inside the AgentEvent as the provided ModelOutputEvent

func (*AgentEvent) FromToolResultEvent

func (t *AgentEvent) FromToolResultEvent(v ToolResultEvent) error

FromToolResultEvent overwrites any union data inside the AgentEvent as the provided ToolResultEvent

func (AgentEvent) MarshalJSON

func (t AgentEvent) MarshalJSON() ([]byte, error)

func (*AgentEvent) MergeAgentInputEvent

func (t *AgentEvent) MergeAgentInputEvent(v AgentInputEvent) error

MergeAgentInputEvent performs a merge with any union data inside the AgentEvent, using the provided AgentInputEvent

func (*AgentEvent) MergeContextCheckpointEvent

func (t *AgentEvent) MergeContextCheckpointEvent(v ContextCheckpointEvent) error

MergeContextCheckpointEvent performs a merge with any union data inside the AgentEvent, using the provided ContextCheckpointEvent

func (*AgentEvent) MergeModelOutputEvent

func (t *AgentEvent) MergeModelOutputEvent(v ModelOutputEvent) error

MergeModelOutputEvent performs a merge with any union data inside the AgentEvent, using the provided ModelOutputEvent

func (*AgentEvent) MergeToolResultEvent

func (t *AgentEvent) MergeToolResultEvent(v ToolResultEvent) error

MergeToolResultEvent performs a merge with any union data inside the AgentEvent, using the provided ToolResultEvent

func (*AgentEvent) UnmarshalJSON

func (t *AgentEvent) UnmarshalJSON(b []byte) error

func (AgentEvent) ValueByDiscriminator

func (t AgentEvent) ValueByDiscriminator() (interface{}, error)

type AgentEventID

type AgentEventID = string

AgentEventID defines model for AgentEventID.

type AgentEventStreamData

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

AgentEventStreamData One JSON payload from the event stream: an authoritative durable event, a best-effort model-output preview, or a terminal stream error.

func (AgentEventStreamData) AsAgentEvent

func (t AgentEventStreamData) AsAgentEvent() (AgentEvent, error)

AsAgentEvent returns the union data inside the AgentEventStreamData as a AgentEvent

func (AgentEventStreamData) AsError

func (t AgentEventStreamData) AsError() (Error, error)

AsError returns the union data inside the AgentEventStreamData as a Error

func (AgentEventStreamData) AsModelOutputDelta

func (t AgentEventStreamData) AsModelOutputDelta() (ModelOutputDelta, error)

AsModelOutputDelta returns the union data inside the AgentEventStreamData as a ModelOutputDelta

func (*AgentEventStreamData) FromAgentEvent

func (t *AgentEventStreamData) FromAgentEvent(v AgentEvent) error

FromAgentEvent overwrites any union data inside the AgentEventStreamData as the provided AgentEvent

func (*AgentEventStreamData) FromError

func (t *AgentEventStreamData) FromError(v Error) error

FromError overwrites any union data inside the AgentEventStreamData as the provided Error

func (*AgentEventStreamData) FromModelOutputDelta

func (t *AgentEventStreamData) FromModelOutputDelta(v ModelOutputDelta) error

FromModelOutputDelta overwrites any union data inside the AgentEventStreamData as the provided ModelOutputDelta

func (AgentEventStreamData) MarshalJSON

func (t AgentEventStreamData) MarshalJSON() ([]byte, error)

func (*AgentEventStreamData) MergeAgentEvent

func (t *AgentEventStreamData) MergeAgentEvent(v AgentEvent) error

MergeAgentEvent performs a merge with any union data inside the AgentEventStreamData, using the provided AgentEvent

func (*AgentEventStreamData) MergeError

func (t *AgentEventStreamData) MergeError(v Error) error

MergeError performs a merge with any union data inside the AgentEventStreamData, using the provided Error

func (*AgentEventStreamData) MergeModelOutputDelta

func (t *AgentEventStreamData) MergeModelOutputDelta(v ModelOutputDelta) error

MergeModelOutputDelta performs a merge with any union data inside the AgentEventStreamData, using the provided ModelOutputDelta

func (*AgentEventStreamData) UnmarshalJSON

func (t *AgentEventStreamData) UnmarshalJSON(b []byte) error

type AgentID

type AgentID = string

AgentID defines model for AgentID.

type AgentInput

type AgentInput struct {
	// ActorId Actor this input is attributed to. Absent when the input has no actor attribution.
	ActorId       *ActorID                  `json:"actor_id,omitempty"`
	AgentId       AgentID                   `json:"agent_id"`
	ContentBlocks *[]AgentInputContentBlock `json:"content_blocks,omitempty"`
	DeliveryMode  AgentInputDeliveryMode    `json:"delivery_mode"`
	Id            AgentInputID              `json:"id"`
	InputKind     AgentInputKind            `json:"input_kind"`
	QueuedAt      Timestamp                 `json:"queued_at"`
	State         string                    `json:"state"`
}

AgentInput defines model for AgentInput.

type AgentInputContentBlock

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

AgentInputContentBlock defines model for AgentInputContentBlock.

func (AgentInputContentBlock) AsMediaRefContentBlock

func (t AgentInputContentBlock) AsMediaRefContentBlock() (MediaRefContentBlock, error)

AsMediaRefContentBlock returns the union data inside the AgentInputContentBlock as a MediaRefContentBlock

func (AgentInputContentBlock) AsTextContentBlock

func (t AgentInputContentBlock) AsTextContentBlock() (TextContentBlock, error)

AsTextContentBlock returns the union data inside the AgentInputContentBlock as a TextContentBlock

func (AgentInputContentBlock) Discriminator

func (t AgentInputContentBlock) Discriminator() (string, error)

func (*AgentInputContentBlock) FromMediaRefContentBlock

func (t *AgentInputContentBlock) FromMediaRefContentBlock(v MediaRefContentBlock) error

FromMediaRefContentBlock overwrites any union data inside the AgentInputContentBlock as the provided MediaRefContentBlock

func (*AgentInputContentBlock) FromTextContentBlock

func (t *AgentInputContentBlock) FromTextContentBlock(v TextContentBlock) error

FromTextContentBlock overwrites any union data inside the AgentInputContentBlock as the provided TextContentBlock

func (AgentInputContentBlock) MarshalJSON

func (t AgentInputContentBlock) MarshalJSON() ([]byte, error)

func (*AgentInputContentBlock) MergeMediaRefContentBlock

func (t *AgentInputContentBlock) MergeMediaRefContentBlock(v MediaRefContentBlock) error

MergeMediaRefContentBlock performs a merge with any union data inside the AgentInputContentBlock, using the provided MediaRefContentBlock

func (*AgentInputContentBlock) MergeTextContentBlock

func (t *AgentInputContentBlock) MergeTextContentBlock(v TextContentBlock) error

MergeTextContentBlock performs a merge with any union data inside the AgentInputContentBlock, using the provided TextContentBlock

func (*AgentInputContentBlock) UnmarshalJSON

func (t *AgentInputContentBlock) UnmarshalJSON(b []byte) error

func (AgentInputContentBlock) ValueByDiscriminator

func (t AgentInputContentBlock) ValueByDiscriminator() (interface{}, error)

type AgentInputDeliveryMode

type AgentInputDeliveryMode string

AgentInputDeliveryMode defines model for AgentInputDeliveryMode.

const (
	AgentInputDeliveryModeImmediate AgentInputDeliveryMode = "immediate"
	AgentInputDeliveryModeQueued    AgentInputDeliveryMode = "queued"
	AgentInputDeliveryModeSteering  AgentInputDeliveryMode = "steering"
)

Defines values for AgentInputDeliveryMode.

func (AgentInputDeliveryMode) Valid

func (e AgentInputDeliveryMode) Valid() bool

Valid indicates whether the value is a known member of the AgentInputDeliveryMode enum.

type AgentInputEnvelope

type AgentInputEnvelope struct {
	AgentInput AgentInput `json:"agent_input"`
}

AgentInputEnvelope defines model for AgentInputEnvelope.

type AgentInputEvent

type AgentInputEvent struct {
	// ActorId Actor attributed to the input. Resolve details through the project actors endpoints.
	ActorId *ActorID `json:"actor_id,omitempty"`

	// AgentConfigId Configuration selected by a config_change input.
	AgentConfigId *AgentConfigID `json:"agent_config_id,omitempty"`
	AgentId       AgentID        `json:"agent_id"`

	// AgentInputId Matches the input that produced this event, allowing clients to correlate an input submission with its durable timeline admission.
	AgentInputId  AgentInputID             `json:"agent_input_id"`
	ContentBlocks []AgentInputContentBlock `json:"content_blocks"`
	ControlType   *AgentControlType        `json:"control_type,omitempty"`
	CreatedAt     Timestamp                `json:"created_at"`
	EventKind     AgentInputEventEventKind `json:"event_kind"`
	Id            AgentEventID             `json:"id"`

	// InputIdempotencyKey Echoes the Idempotency-Key of a content-input request so its sender can recognize the durable admission. Absent for other input kinds.
	InputIdempotencyKey *string        `json:"input_idempotency_key,omitempty"`
	InputKind           AgentInputKind `json:"input_kind"`

	// InteractionId Interaction answered by an interaction_response input.
	InteractionId  *AgentInteractionID `json:"interaction_id,omitempty"`
	IsOpeningEvent bool                `json:"is_opening_event"`
	OrgId          OrganizationID      `json:"org_id"`
	ProjectId      ProjectID           `json:"project_id"`

	// Sequence Positive per-agent event, turn, or live-frame sequence.
	Sequence AgentSequence `json:"sequence"`
	TurnId   AgentTurnID   `json:"turn_id"`

	// TurnSequence Positive per-agent event, turn, or live-frame sequence.
	TurnSequence AgentSequence `json:"turn_sequence"`
}

AgentInputEvent defines model for AgentInputEvent.

type AgentInputEventEventKind

type AgentInputEventEventKind string

AgentInputEventEventKind defines model for AgentInputEvent.EventKind.

const (
	AgentInputEventEventKindAgentInput AgentInputEventEventKind = "agent_input"
)

Defines values for AgentInputEventEventKind.

func (AgentInputEventEventKind) Valid

func (e AgentInputEventEventKind) Valid() bool

Valid indicates whether the value is a known member of the AgentInputEventEventKind enum.

type AgentInputID

type AgentInputID = string

AgentInputID defines model for AgentInputID.

type AgentInputKind

type AgentInputKind string

AgentInputKind defines model for AgentInputKind.

const (
	AgentInputKindConfigChange        AgentInputKind = "config_change"
	AgentInputKindContent             AgentInputKind = "content"
	AgentInputKindControl             AgentInputKind = "control"
	AgentInputKindInteractionResponse AgentInputKind = "interaction_response"
)

Defines values for AgentInputKind.

func (AgentInputKind) Valid

func (e AgentInputKind) Valid() bool

Valid indicates whether the value is a known member of the AgentInputKind enum.

type AgentInteraction

type AgentInteraction struct {
	AgentId         AgentID                `json:"agent_id"`
	CreatedAt       Timestamp              `json:"created_at"`
	Id              AgentInteractionID     `json:"id"`
	InteractionKind AgentInteractionKind   `json:"interaction_kind"`
	OrgId           OrganizationID         `json:"org_id"`
	ProjectId       ProjectID              `json:"project_id"`
	Request         InteractionForm        `json:"request"`
	Resolution      *InteractionResolution `json:"resolution,omitempty"`
	ResolvedAt      *Timestamp             `json:"resolved_at,omitempty"`

	// ResolvedByInputId The agent input that resolved the interaction — the submitted response, the content input that superseded it, or the cancel control input. Absent on open interactions and on system resolutions such as prompt delivery failure. The input's actor_id attributes the resolution.
	ResolvedByInputId *AgentInputID         `json:"resolved_by_input_id,omitempty"`
	State             AgentInteractionState `json:"state"`
}

AgentInteraction defines model for AgentInteraction.

type AgentInteractionID

type AgentInteractionID = string

AgentInteractionID defines model for AgentInteractionID.

type AgentInteractionKind

type AgentInteractionKind string

AgentInteractionKind defines model for AgentInteractionKind.

const (
	AgentInteractionKindPermission AgentInteractionKind = "permission"
	AgentInteractionKindQuestion   AgentInteractionKind = "question"
)

Defines values for AgentInteractionKind.

func (AgentInteractionKind) Valid

func (e AgentInteractionKind) Valid() bool

Valid indicates whether the value is a known member of the AgentInteractionKind enum.

type AgentInteractionState

type AgentInteractionState string

AgentInteractionState defines model for AgentInteractionState.

const (
	AgentInteractionStateCanceled AgentInteractionState = "canceled"
	AgentInteractionStateOpen     AgentInteractionState = "open"
	AgentInteractionStateResolved AgentInteractionState = "resolved"
)

Defines values for AgentInteractionState.

func (AgentInteractionState) Valid

func (e AgentInteractionState) Valid() bool

Valid indicates whether the value is a known member of the AgentInteractionState enum.

type AgentMachineBinding

type AgentMachineBinding struct {
	AgentId     AgentID                 `json:"agent_id"`
	BindingKind AgentMachineBindingKind `json:"binding_kind"`
	CreatedAt   Timestamp               `json:"created_at"`
	Cwd         string                  `json:"cwd"`
	Description string                  `json:"description"`

	// EnvOverlay Env overlay applied to processes launched through this binding. For pool bindings it is also applied to the machine environment when the pool machine is provisioned, so the provider_options startup_script and the daemon run with it; connected machines keep their own environment. A null entry removes the key.
	EnvOverlay map[string]*string    `json:"env_overlay"`
	Id         AgentMachineBindingID `json:"id"`
	MachineId  MachineID             `json:"machine_id"`
	MachineRef string                `json:"machine_ref"`
	ProjectId  ProjectID             `json:"project_id"`

	// SecretEnvOverlay Secret env overlay applied to processes launched through this binding. For pool bindings it is also applied to the machine environment when the pool machine is provisioned, so the provider_options startup_script and the daemon run with it; connected machines keep their own environment. A null entry removes the key.
	SecretEnvOverlay map[string]*SecretID     `json:"secret_env_overlay"`
	State            AgentMachineBindingState `json:"state"`
	UpdatedAt        Timestamp                `json:"updated_at"`
}

AgentMachineBinding defines model for AgentMachineBinding.

type AgentMachineBindingID

type AgentMachineBindingID = string

AgentMachineBindingID defines model for AgentMachineBindingID.

type AgentMachineBindingKind

type AgentMachineBindingKind string

AgentMachineBindingKind defines model for AgentMachineBindingKind.

const (
	AgentMachineBindingKindExplicit AgentMachineBindingKind = "explicit"
	AgentMachineBindingKindPool     AgentMachineBindingKind = "pool"
)

Defines values for AgentMachineBindingKind.

func (AgentMachineBindingKind) Valid

func (e AgentMachineBindingKind) Valid() bool

Valid indicates whether the value is a known member of the AgentMachineBindingKind enum.

type AgentMachineBindingState

type AgentMachineBindingState string

AgentMachineBindingState defines model for AgentMachineBindingState.

const (
	AgentMachineBindingStateAttached AgentMachineBindingState = "attached"
	AgentMachineBindingStateReleased AgentMachineBindingState = "released"
)

Defines values for AgentMachineBindingState.

func (AgentMachineBindingState) Valid

func (e AgentMachineBindingState) Valid() bool

Valid indicates whether the value is a known member of the AgentMachineBindingState enum.

type AgentModel

type AgentModel struct {
	Name           string `json:"name"`
	ProviderConfig string `json:"provider_config"`
}

AgentModel defines model for AgentModel.

type AgentProfile

type AgentProfile struct {
	CreatedAt         Timestamp      `json:"created_at"`
	CurrentConfig     AgentConfig    `json:"current_config"`
	CurrentConfigId   AgentConfigID  `json:"current_config_id"`
	CurrentGeneration int32          `json:"current_generation"`
	Id                AgentProfileID `json:"id"`
	Name              string         `json:"name"`
	OrgId             OrganizationID `json:"org_id"`
	ProjectId         ProjectID      `json:"project_id"`
	UpdatedAt         Timestamp      `json:"updated_at"`
}

AgentProfile defines model for AgentProfile.

type AgentProfileID

type AgentProfileID = string

AgentProfileID defines model for AgentProfileID.

type AgentSequence

type AgentSequence = int64

AgentSequence Positive per-agent event, turn, or live-frame sequence.

type AgentSequenceCursor

type AgentSequenceCursor = int64

AgentSequenceCursor Non-negative agent timeline cursor.

type AgentState

type AgentState string

AgentState defines model for Agent.State.

const (
	AgentStateActive   AgentState = "active"
	AgentStateArchived AgentState = "archived"
)

Defines values for AgentState.

func (AgentState) Valid

func (e AgentState) Valid() bool

Valid indicates whether the value is a known member of the AgentState enum.

type AgentTurn

type AgentTurn struct {
	AgentId AgentID `json:"agent_id"`

	// EventCount Positive count within an agent timeline.
	EventCount          AgentCount   `json:"event_count"`
	Id                  AgentTurnID  `json:"id"`
	LatestEvent         *AgentEvent  `json:"latest_event,omitempty"`
	LatestSemanticEvent *AgentEvent  `json:"latest_semantic_event,omitempty"`
	OpeningEvents       []AgentEvent `json:"opening_events"`
	StartedAt           Timestamp    `json:"started_at"`

	// TurnSequence Positive per-agent event, turn, or live-frame sequence.
	TurnSequence AgentSequence `json:"turn_sequence"`
	UpdatedAt    Timestamp     `json:"updated_at"`
}

AgentTurn defines model for AgentTurn.

type AgentTurnID

type AgentTurnID = string

AgentTurnID defines model for AgentTurnID.

type ArchiveAgent4XXJSONResponse

type ArchiveAgent4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ArchiveAgent4XXJSONResponse) VisitArchiveAgentResponse

func (response ArchiveAgent4XXJSONResponse) VisitArchiveAgentResponse(w http.ResponseWriter) error

type ArchiveAgent5XXJSONResponse

type ArchiveAgent5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ArchiveAgent5XXJSONResponse) VisitArchiveAgentResponse

func (response ArchiveAgent5XXJSONResponse) VisitArchiveAgentResponse(w http.ResponseWriter) error

type ArchiveAgent200JSONResponse

type ArchiveAgent200JSONResponse GetAgentResponse

func (ArchiveAgent200JSONResponse) VisitArchiveAgentResponse

func (response ArchiveAgent200JSONResponse) VisitArchiveAgentResponse(w http.ResponseWriter) error

type ArchiveAgent400JSONResponse

type ArchiveAgent400JSONResponse struct{ BadRequestJSONResponse }

func (ArchiveAgent400JSONResponse) VisitArchiveAgentResponse

func (response ArchiveAgent400JSONResponse) VisitArchiveAgentResponse(w http.ResponseWriter) error

type ArchiveAgent401JSONResponse

type ArchiveAgent401JSONResponse struct{ UnauthorizedJSONResponse }

func (ArchiveAgent401JSONResponse) VisitArchiveAgentResponse

func (response ArchiveAgent401JSONResponse) VisitArchiveAgentResponse(w http.ResponseWriter) error

type ArchiveAgent403JSONResponse

type ArchiveAgent403JSONResponse struct{ ForbiddenJSONResponse }

func (ArchiveAgent403JSONResponse) VisitArchiveAgentResponse

func (response ArchiveAgent403JSONResponse) VisitArchiveAgentResponse(w http.ResponseWriter) error

type ArchiveAgent404JSONResponse

type ArchiveAgent404JSONResponse struct{ NotFoundJSONResponse }

func (ArchiveAgent404JSONResponse) VisitArchiveAgentResponse

func (response ArchiveAgent404JSONResponse) VisitArchiveAgentResponse(w http.ResponseWriter) error

type ArchiveAgent503JSONResponse

type ArchiveAgent503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ArchiveAgent503JSONResponse) VisitArchiveAgentResponse

func (response ArchiveAgent503JSONResponse) VisitArchiveAgentResponse(w http.ResponseWriter) error

type ArchiveAgentRequestObject

type ArchiveAgentRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	AgentID   string `json:"agentID"`
}

type ArchiveAgentResponseObject

type ArchiveAgentResponseObject interface {
	VisitArchiveAgentResponse(w http.ResponseWriter) error
}

type Artifact

type Artifact struct {
	AgentId     AgentID        `json:"agent_id"`
	ContentType *string        `json:"content_type,omitempty"`
	CreatedAt   Timestamp      `json:"created_at"`
	Digest      *string        `json:"digest,omitempty"`
	Filename    *string        `json:"filename,omitempty"`
	Id          ArtifactID     `json:"id"`
	OrgId       OrganizationID `json:"org_id"`
	ProjectId   ProjectID      `json:"project_id"`
	SizeBytes   *int64         `json:"size_bytes,omitempty"`
}

Artifact defines model for Artifact.

type ArtifactID

type ArtifactID = string

ArtifactID defines model for ArtifactID.

type BadGateway

type BadGateway = Error

BadGateway defines model for BadGateway.

type BadGatewayJSONResponse

type BadGatewayJSONResponse Error

type BadRequest

type BadRequest = Error

BadRequest defines model for BadRequest.

type BadRequestJSONResponse

type BadRequestJSONResponse Error

type BootstrapDaemon4XXJSONResponse

type BootstrapDaemon4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (BootstrapDaemon4XXJSONResponse) VisitBootstrapDaemonResponse

func (response BootstrapDaemon4XXJSONResponse) VisitBootstrapDaemonResponse(w http.ResponseWriter) error

type BootstrapDaemon5XXJSONResponse

type BootstrapDaemon5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (BootstrapDaemon5XXJSONResponse) VisitBootstrapDaemonResponse

func (response BootstrapDaemon5XXJSONResponse) VisitBootstrapDaemonResponse(w http.ResponseWriter) error

type BootstrapDaemon200JSONResponse

type BootstrapDaemon200JSONResponse BootstrapDaemonResponse

func (BootstrapDaemon200JSONResponse) VisitBootstrapDaemonResponse

func (response BootstrapDaemon200JSONResponse) VisitBootstrapDaemonResponse(w http.ResponseWriter) error

type BootstrapDaemon400JSONResponse

type BootstrapDaemon400JSONResponse struct{ BadRequestJSONResponse }

func (BootstrapDaemon400JSONResponse) VisitBootstrapDaemonResponse

func (response BootstrapDaemon400JSONResponse) VisitBootstrapDaemonResponse(w http.ResponseWriter) error

type BootstrapDaemon401JSONResponse

type BootstrapDaemon401JSONResponse struct{ UnauthorizedJSONResponse }

func (BootstrapDaemon401JSONResponse) VisitBootstrapDaemonResponse

func (response BootstrapDaemon401JSONResponse) VisitBootstrapDaemonResponse(w http.ResponseWriter) error

type BootstrapDaemon403JSONResponse

type BootstrapDaemon403JSONResponse struct{ ForbiddenJSONResponse }

func (BootstrapDaemon403JSONResponse) VisitBootstrapDaemonResponse

func (response BootstrapDaemon403JSONResponse) VisitBootstrapDaemonResponse(w http.ResponseWriter) error

type BootstrapDaemon404JSONResponse

type BootstrapDaemon404JSONResponse struct{ NotFoundJSONResponse }

func (BootstrapDaemon404JSONResponse) VisitBootstrapDaemonResponse

func (response BootstrapDaemon404JSONResponse) VisitBootstrapDaemonResponse(w http.ResponseWriter) error

type BootstrapDaemon503JSONResponse

type BootstrapDaemon503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (BootstrapDaemon503JSONResponse) VisitBootstrapDaemonResponse

func (response BootstrapDaemon503JSONResponse) VisitBootstrapDaemonResponse(w http.ResponseWriter) error

type BootstrapDaemonRequestObject

type BootstrapDaemonRequestObject struct {
}

type BootstrapDaemonResponse

type BootstrapDaemonResponse struct {
	InstallationId InstallationID `json:"installation_id"`
	MachineId      MachineID      `json:"machine_id"`
}

BootstrapDaemonResponse defines model for BootstrapDaemonResponse.

type BootstrapDaemonResponseObject

type BootstrapDaemonResponseObject interface {
	VisitBootstrapDaemonResponse(w http.ResponseWriter) error
}

type CancelAgent4XXJSONResponse

type CancelAgent4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CancelAgent4XXJSONResponse) VisitCancelAgentResponse

func (response CancelAgent4XXJSONResponse) VisitCancelAgentResponse(w http.ResponseWriter) error

type CancelAgent5XXJSONResponse

type CancelAgent5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CancelAgent5XXJSONResponse) VisitCancelAgentResponse

func (response CancelAgent5XXJSONResponse) VisitCancelAgentResponse(w http.ResponseWriter) error

type CancelAgent200JSONResponse

type CancelAgent200JSONResponse CancelAgentResponse

func (CancelAgent200JSONResponse) VisitCancelAgentResponse

func (response CancelAgent200JSONResponse) VisitCancelAgentResponse(w http.ResponseWriter) error

type CancelAgent400JSONResponse

type CancelAgent400JSONResponse struct{ BadRequestJSONResponse }

func (CancelAgent400JSONResponse) VisitCancelAgentResponse

func (response CancelAgent400JSONResponse) VisitCancelAgentResponse(w http.ResponseWriter) error

type CancelAgent401JSONResponse

type CancelAgent401JSONResponse struct{ UnauthorizedJSONResponse }

func (CancelAgent401JSONResponse) VisitCancelAgentResponse

func (response CancelAgent401JSONResponse) VisitCancelAgentResponse(w http.ResponseWriter) error

type CancelAgent403JSONResponse

type CancelAgent403JSONResponse struct{ ForbiddenJSONResponse }

func (CancelAgent403JSONResponse) VisitCancelAgentResponse

func (response CancelAgent403JSONResponse) VisitCancelAgentResponse(w http.ResponseWriter) error

type CancelAgent404JSONResponse

type CancelAgent404JSONResponse struct{ NotFoundJSONResponse }

func (CancelAgent404JSONResponse) VisitCancelAgentResponse

func (response CancelAgent404JSONResponse) VisitCancelAgentResponse(w http.ResponseWriter) error

type CancelAgent409JSONResponse

type CancelAgent409JSONResponse struct{ ConflictJSONResponse }

func (CancelAgent409JSONResponse) VisitCancelAgentResponse

func (response CancelAgent409JSONResponse) VisitCancelAgentResponse(w http.ResponseWriter) error

type CancelAgent503JSONResponse

type CancelAgent503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CancelAgent503JSONResponse) VisitCancelAgentResponse

func (response CancelAgent503JSONResponse) VisitCancelAgentResponse(w http.ResponseWriter) error

type CancelAgentJSONRequestBody

type CancelAgentJSONRequestBody = CancelAgentRequest

CancelAgentJSONRequestBody defines body for CancelAgent for application/json ContentType.

type CancelAgentRequest

type CancelAgentRequest struct {
	// Actor External actor to attribute this cancelation to, upserted by (provider_tenant_id, provider_user_id) atomically with the cancelation; a rejected request writes no actor. Only allowed for non-user principals; requests authenticated as a user must omit it and are attributed to the user's omnara actor.
	Actor *ExternalActorParams `json:"actor,omitempty"`
}

CancelAgentRequest defines model for CancelAgentRequest.

type CancelAgentRequestObject

type CancelAgentRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	AgentID   string `json:"agentID"`
	Body      *CancelAgentJSONRequestBody
}

type CancelAgentResponse

type CancelAgentResponse struct {
	// ActorId Actor the cancelation was attributed to. Absent when the request had no actor attribution.
	ActorId *ActorID `json:"actor_id,omitempty"`

	// Affected Whether this request changed any cancelable work.
	Affected bool                          `json:"affected"`
	Event    nullable.Nullable[AgentEvent] `json:"event"`

	// RuntimeCancelRequested Whether this request created or observed a durable runtime cancel request. Immediate delivery is best effort; runtime-lock renewal observes the durable request.
	RuntimeCancelRequested bool `json:"runtime_cancel_requested"`
}

CancelAgentResponse defines model for CancelAgentResponse.

type CancelAgentResponseObject

type CancelAgentResponseObject interface {
	VisitCancelAgentResponse(w http.ResponseWriter) error
}

type CancelQueuedBacklogInput4XXJSONResponse

type CancelQueuedBacklogInput4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CancelQueuedBacklogInput4XXJSONResponse) VisitCancelQueuedBacklogInputResponse

func (response CancelQueuedBacklogInput4XXJSONResponse) VisitCancelQueuedBacklogInputResponse(w http.ResponseWriter) error

type CancelQueuedBacklogInput5XXJSONResponse

type CancelQueuedBacklogInput5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CancelQueuedBacklogInput5XXJSONResponse) VisitCancelQueuedBacklogInputResponse

func (response CancelQueuedBacklogInput5XXJSONResponse) VisitCancelQueuedBacklogInputResponse(w http.ResponseWriter) error

type CancelQueuedBacklogInput200JSONResponse

type CancelQueuedBacklogInput200JSONResponse OKResponse

func (CancelQueuedBacklogInput200JSONResponse) VisitCancelQueuedBacklogInputResponse

func (response CancelQueuedBacklogInput200JSONResponse) VisitCancelQueuedBacklogInputResponse(w http.ResponseWriter) error

type CancelQueuedBacklogInput400JSONResponse

type CancelQueuedBacklogInput400JSONResponse struct{ BadRequestJSONResponse }

func (CancelQueuedBacklogInput400JSONResponse) VisitCancelQueuedBacklogInputResponse

func (response CancelQueuedBacklogInput400JSONResponse) VisitCancelQueuedBacklogInputResponse(w http.ResponseWriter) error

type CancelQueuedBacklogInput401JSONResponse

type CancelQueuedBacklogInput401JSONResponse struct{ UnauthorizedJSONResponse }

func (CancelQueuedBacklogInput401JSONResponse) VisitCancelQueuedBacklogInputResponse

func (response CancelQueuedBacklogInput401JSONResponse) VisitCancelQueuedBacklogInputResponse(w http.ResponseWriter) error

type CancelQueuedBacklogInput403JSONResponse

type CancelQueuedBacklogInput403JSONResponse struct{ ForbiddenJSONResponse }

func (CancelQueuedBacklogInput403JSONResponse) VisitCancelQueuedBacklogInputResponse

func (response CancelQueuedBacklogInput403JSONResponse) VisitCancelQueuedBacklogInputResponse(w http.ResponseWriter) error

type CancelQueuedBacklogInput404JSONResponse

type CancelQueuedBacklogInput404JSONResponse struct{ NotFoundJSONResponse }

func (CancelQueuedBacklogInput404JSONResponse) VisitCancelQueuedBacklogInputResponse

func (response CancelQueuedBacklogInput404JSONResponse) VisitCancelQueuedBacklogInputResponse(w http.ResponseWriter) error

type CancelQueuedBacklogInput409JSONResponse

type CancelQueuedBacklogInput409JSONResponse struct{ ConflictJSONResponse }

func (CancelQueuedBacklogInput409JSONResponse) VisitCancelQueuedBacklogInputResponse

func (response CancelQueuedBacklogInput409JSONResponse) VisitCancelQueuedBacklogInputResponse(w http.ResponseWriter) error

type CancelQueuedBacklogInput503JSONResponse

type CancelQueuedBacklogInput503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CancelQueuedBacklogInput503JSONResponse) VisitCancelQueuedBacklogInputResponse

func (response CancelQueuedBacklogInput503JSONResponse) VisitCancelQueuedBacklogInputResponse(w http.ResponseWriter) error

type CancelQueuedBacklogInputRequestObject

type CancelQueuedBacklogInputRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	AgentID   string `json:"agentID"`
	InputID   string `json:"inputID"`
}

type CancelQueuedBacklogInputResponseObject

type CancelQueuedBacklogInputResponseObject interface {
	VisitCancelQueuedBacklogInputResponse(w http.ResponseWriter) error
}

type ClientError

type ClientError struct {
	// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
	Code ClientErrorCode `json:"code"`

	// Error Human-readable error message. Do not match on it programmatically.
	Error string `json:"error"`
}

ClientError defines model for ClientError.

type ClientErrorCode

type ClientErrorCode string

ClientErrorCode Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.

const (
	ClientErrorCodeConflict                  ClientErrorCode = "conflict"
	ClientErrorCodeCsrfCheckFailed           ClientErrorCode = "csrf_check_failed"
	ClientErrorCodeDaemonRuntimeUnregistered ClientErrorCode = "daemon_runtime_unregistered"
	ClientErrorCodeForbidden                 ClientErrorCode = "forbidden"
	ClientErrorCodeGone                      ClientErrorCode = "gone"
	ClientErrorCodeIdempotencyKeyConflict    ClientErrorCode = "idempotency_key_conflict"
	ClientErrorCodeInvalidRequest            ClientErrorCode = "invalid_request"
	ClientErrorCodeNotFound                  ClientErrorCode = "not_found"
	ClientErrorCodeNotWakeCapable            ClientErrorCode = "not_wake_capable"
	ClientErrorCodePendingWork               ClientErrorCode = "pending_work"
	ClientErrorCodeRateLimited               ClientErrorCode = "rate_limited"
	ClientErrorCodeRequestTooLarge           ClientErrorCode = "request_too_large"
	ClientErrorCodeStateTransitionConflict   ClientErrorCode = "state_transition_conflict"
	ClientErrorCodeUnauthorized              ClientErrorCode = "unauthorized"
	ClientErrorCodeUnprocessable             ClientErrorCode = "unprocessable"
	ClientErrorCodeUnsupportedMediaType      ClientErrorCode = "unsupported_media_type"
	ClientErrorCodeValidationFailed          ClientErrorCode = "validation_failed"
)

Defines values for ClientErrorCode.

func (ClientErrorCode) Valid

func (e ClientErrorCode) Valid() bool

Valid indicates whether the value is a known member of the ClientErrorCode enum.

type ClientErrorJSONResponse

type ClientErrorJSONResponse struct {
	// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
	Code ClientErrorCode `json:"code"`

	// Error Human-readable error message. Do not match on it programmatically.
	Error string `json:"error"`
}

type ConfiguredModel

type ConfiguredModel struct {
	// ApiVariantOptions Extra top-level JSON fields to include in provider requests for this configured model. Use this for provider-specific settings that Omnara does not expose as typed fields, such as OpenRouter `provider` routing or sampling parameters. Omnara still controls the fields it needs to run the agent correctly, including the model, prompt/messages, streaming, tools, and selected reasoning policy. For OpenRouter routing options, see https://openrouter.ai/docs/guides/routing/provider-selection and general request parameters at https://openrouter.ai/docs/api/reference/parameters.
	ApiVariantOptions ModelAPIVariantOptions `json:"api_variant_options"`

	// ContextWindowTokens Total token window for this model, including input and output.
	ContextWindowTokens int                       `json:"context_window_tokens"`
	CreatedAt           Timestamp                 `json:"created_at"`
	CurrentRevisionId   ConfiguredModelRevisionID `json:"current_revision_id"`

	// DefaultCacheRetention Default prompt-cache hint for model requests. `none` means Omnara does not send a cache hint; providers may still apply their own automatic caching. `short` and `long` are translated to the closest supported control for the selected API.
	DefaultCacheRetention ModelCacheRetention `json:"default_cache_retention"`

	// DefaultMaxOutputTokens Default per-request output-token cap sent to the provider unless an agent config overrides it.
	DefaultMaxOutputTokens nullable.Nullable[int] `json:"default_max_output_tokens,omitempty"`

	// DefaultReasoningEffort Default reasoning effort to send for models/API formats that support effort-style reasoning controls.
	DefaultReasoningEffort string            `json:"default_reasoning_effort"`
	Id                     ConfiguredModelID `json:"id"`

	// InputModalities Input types this configured model accepts. Omnara recognizes text, image, and file; an empty list leaves capabilities unspecified.
	InputModalities []string `json:"input_modalities"`

	// MaxOutputTokens Configured output-token ceiling for this model.
	MaxOutputTokens       int                   `json:"max_output_tokens"`
	ModelProviderConfigId ModelProviderConfigID `json:"model_provider_config_id"`

	// Name Admin-facing configured model name used by agent YAML as model.name.
	Name  string         `json:"name"`
	OrgId OrganizationID `json:"org_id"`

	// OutputModalities Output types this configured model can return.
	OutputModalities []string `json:"output_modalities"`

	// ProviderModelSlug Exact provider model slug sent to the provider endpoint by the current revision.
	ProviderModelSlug string    `json:"provider_model_slug"`
	RevisionCreatedAt Timestamp `json:"revision_created_at"`

	// SupportedReasoningEfforts Reasoning effort values this configured model accepts.
	SupportedReasoningEfforts []string `json:"supported_reasoning_efforts"`

	// SupportsReasoning Whether Omnara should use this model's reasoning features.
	SupportsReasoning bool `json:"supports_reasoning"`

	// SupportsTools Whether this configured model can receive tool definitions and emit tool calls.
	SupportsTools bool      `json:"supports_tools"`
	UpdatedAt     Timestamp `json:"updated_at"`
}

ConfiguredModel defines model for ConfiguredModel.

type ConfiguredModelID

type ConfiguredModelID = string

ConfiguredModelID defines model for ConfiguredModelID.

type ConfiguredModelList

type ConfiguredModelList struct {
	Data       []ConfiguredModel         `json:"data"`
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ConfiguredModelList defines model for ConfiguredModelList.

type ConfiguredModelRevisionID

type ConfiguredModelRevisionID = string

ConfiguredModelRevisionID defines model for ConfiguredModelRevisionID.

type ConfiguredModelSummary

type ConfiguredModelSummary struct {
	CreatedAt             Timestamp             `json:"created_at"`
	Id                    ConfiguredModelID     `json:"id"`
	ModelProviderConfigId ModelProviderConfigID `json:"model_provider_config_id"`

	// Name Admin-facing configured model name used by agent YAML as model.name.
	Name  string         `json:"name"`
	OrgId OrganizationID `json:"org_id"`

	// ProviderConfig Name of the provider config that owns this model, used by agent YAML as model.provider_config.
	ProviderConfig string    `json:"provider_config"`
	UpdatedAt      Timestamp `json:"updated_at"`
}

ConfiguredModelSummary defines model for ConfiguredModelSummary.

type Conflict

type Conflict = Error

Conflict defines model for Conflict.

type ConflictJSONResponse

type ConflictJSONResponse Error

type ContentBlockMetadata

type ContentBlockMetadata = Metadata

ContentBlockMetadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters. Keys beginning with `omnara_` are reserved for Omnara and may affect product behavior; use them only when intentionally invoking Omnara-defined behavior.

type ContextCheckpointEvent

type ContextCheckpointEvent struct {
	AgentId             AgentID                              `json:"agent_id"`
	ContextCheckpointId ContextCheckpointID                  `json:"context_checkpoint_id"`
	CreatedAt           Timestamp                            `json:"created_at"`
	EventKind           ContextCheckpointEventEventKind      `json:"event_kind"`
	Id                  AgentEventID                         `json:"id"`
	IsOpeningEvent      ContextCheckpointEventIsOpeningEvent `json:"is_opening_event"`
	OrgId               OrganizationID                       `json:"org_id"`
	ProjectId           ProjectID                            `json:"project_id"`

	// Sequence Positive per-agent event, turn, or live-frame sequence.
	Sequence AgentSequence `json:"sequence"`

	// SummarizedThroughEventSequence Positive per-agent event, turn, or live-frame sequence.
	SummarizedThroughEventSequence AgentSequence `json:"summarized_through_event_sequence"`
	Summary                        string        `json:"summary"`
	TurnId                         AgentTurnID   `json:"turn_id"`

	// TurnSequence Positive per-agent event, turn, or live-frame sequence.
	TurnSequence AgentSequence `json:"turn_sequence"`
}

ContextCheckpointEvent defines model for ContextCheckpointEvent.

type ContextCheckpointEventEventKind

type ContextCheckpointEventEventKind string

ContextCheckpointEventEventKind defines model for ContextCheckpointEvent.EventKind.

const (
	ContextCheckpoint ContextCheckpointEventEventKind = "context_checkpoint"
)

Defines values for ContextCheckpointEventEventKind.

func (ContextCheckpointEventEventKind) Valid

Valid indicates whether the value is a known member of the ContextCheckpointEventEventKind enum.

type ContextCheckpointEventIsOpeningEvent

type ContextCheckpointEventIsOpeningEvent bool

ContextCheckpointEventIsOpeningEvent defines model for ContextCheckpointEvent.IsOpeningEvent.

const (
	ContextCheckpointEventIsOpeningEventFalse ContextCheckpointEventIsOpeningEvent = false
)

Defines values for ContextCheckpointEventIsOpeningEvent.

func (ContextCheckpointEventIsOpeningEvent) Valid

Valid indicates whether the value is a known member of the ContextCheckpointEventIsOpeningEvent enum.

type ContextCheckpointID

type ContextCheckpointID = string

ContextCheckpointID defines model for ContextCheckpointID.

type CreateAgent4XXJSONResponse

type CreateAgent4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateAgent4XXJSONResponse) VisitCreateAgentResponse

func (response CreateAgent4XXJSONResponse) VisitCreateAgentResponse(w http.ResponseWriter) error

type CreateAgent5XXJSONResponse

type CreateAgent5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateAgent5XXJSONResponse) VisitCreateAgentResponse

func (response CreateAgent5XXJSONResponse) VisitCreateAgentResponse(w http.ResponseWriter) error

type CreateAgent200JSONResponse

type CreateAgent200JSONResponse GetAgentResponse

func (CreateAgent200JSONResponse) VisitCreateAgentResponse

func (response CreateAgent200JSONResponse) VisitCreateAgentResponse(w http.ResponseWriter) error

type CreateAgent201JSONResponse

type CreateAgent201JSONResponse LaunchAgentResponse

func (CreateAgent201JSONResponse) VisitCreateAgentResponse

func (response CreateAgent201JSONResponse) VisitCreateAgentResponse(w http.ResponseWriter) error

type CreateAgent400JSONResponse

type CreateAgent400JSONResponse struct{ BadRequestJSONResponse }

func (CreateAgent400JSONResponse) VisitCreateAgentResponse

func (response CreateAgent400JSONResponse) VisitCreateAgentResponse(w http.ResponseWriter) error

type CreateAgent401JSONResponse

type CreateAgent401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateAgent401JSONResponse) VisitCreateAgentResponse

func (response CreateAgent401JSONResponse) VisitCreateAgentResponse(w http.ResponseWriter) error

type CreateAgent403JSONResponse

type CreateAgent403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateAgent403JSONResponse) VisitCreateAgentResponse

func (response CreateAgent403JSONResponse) VisitCreateAgentResponse(w http.ResponseWriter) error

type CreateAgent404JSONResponse

type CreateAgent404JSONResponse struct{ NotFoundJSONResponse }

func (CreateAgent404JSONResponse) VisitCreateAgentResponse

func (response CreateAgent404JSONResponse) VisitCreateAgentResponse(w http.ResponseWriter) error

type CreateAgent409JSONResponse

type CreateAgent409JSONResponse Error

func (CreateAgent409JSONResponse) VisitCreateAgentResponse

func (response CreateAgent409JSONResponse) VisitCreateAgentResponse(w http.ResponseWriter) error

type CreateAgent503JSONResponse

type CreateAgent503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateAgent503JSONResponse) VisitCreateAgentResponse

func (response CreateAgent503JSONResponse) VisitCreateAgentResponse(w http.ResponseWriter) error

type CreateAgentConfig4XXJSONResponse

type CreateAgentConfig4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateAgentConfig4XXJSONResponse) VisitCreateAgentConfigResponse

func (response CreateAgentConfig4XXJSONResponse) VisitCreateAgentConfigResponse(w http.ResponseWriter) error

type CreateAgentConfig5XXJSONResponse

type CreateAgentConfig5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateAgentConfig5XXJSONResponse) VisitCreateAgentConfigResponse

func (response CreateAgentConfig5XXJSONResponse) VisitCreateAgentConfigResponse(w http.ResponseWriter) error

type CreateAgentConfig200JSONResponse

type CreateAgentConfig200JSONResponse AgentConfig

func (CreateAgentConfig200JSONResponse) VisitCreateAgentConfigResponse

func (response CreateAgentConfig200JSONResponse) VisitCreateAgentConfigResponse(w http.ResponseWriter) error

type CreateAgentConfig201JSONResponse

type CreateAgentConfig201JSONResponse AgentConfig

func (CreateAgentConfig201JSONResponse) VisitCreateAgentConfigResponse

func (response CreateAgentConfig201JSONResponse) VisitCreateAgentConfigResponse(w http.ResponseWriter) error

type CreateAgentConfig400JSONResponse

type CreateAgentConfig400JSONResponse struct{ BadRequestJSONResponse }

func (CreateAgentConfig400JSONResponse) VisitCreateAgentConfigResponse

func (response CreateAgentConfig400JSONResponse) VisitCreateAgentConfigResponse(w http.ResponseWriter) error

type CreateAgentConfig401JSONResponse

type CreateAgentConfig401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateAgentConfig401JSONResponse) VisitCreateAgentConfigResponse

func (response CreateAgentConfig401JSONResponse) VisitCreateAgentConfigResponse(w http.ResponseWriter) error

type CreateAgentConfig403JSONResponse

type CreateAgentConfig403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateAgentConfig403JSONResponse) VisitCreateAgentConfigResponse

func (response CreateAgentConfig403JSONResponse) VisitCreateAgentConfigResponse(w http.ResponseWriter) error

type CreateAgentConfig404JSONResponse

type CreateAgentConfig404JSONResponse struct{ NotFoundJSONResponse }

func (CreateAgentConfig404JSONResponse) VisitCreateAgentConfigResponse

func (response CreateAgentConfig404JSONResponse) VisitCreateAgentConfigResponse(w http.ResponseWriter) error

type CreateAgentConfig409JSONResponse

type CreateAgentConfig409JSONResponse struct{ ConflictJSONResponse }

func (CreateAgentConfig409JSONResponse) VisitCreateAgentConfigResponse

func (response CreateAgentConfig409JSONResponse) VisitCreateAgentConfigResponse(w http.ResponseWriter) error

type CreateAgentConfig503JSONResponse

type CreateAgentConfig503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateAgentConfig503JSONResponse) VisitCreateAgentConfigResponse

func (response CreateAgentConfig503JSONResponse) VisitCreateAgentConfigResponse(w http.ResponseWriter) error

type CreateAgentConfigJSONRequestBody

type CreateAgentConfigJSONRequestBody = CreateAgentConfigRequest

CreateAgentConfigJSONRequestBody defines body for CreateAgentConfig for application/json ContentType.

type CreateAgentConfigRequest

type CreateAgentConfigRequest struct {
	Source       string                               `json:"source"`
	SourceFormat CreateAgentConfigRequestSourceFormat `json:"source_format"`
}

CreateAgentConfigRequest defines model for CreateAgentConfigRequest.

type CreateAgentConfigRequestObject

type CreateAgentConfigRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	Body      *CreateAgentConfigJSONRequestBody
}

type CreateAgentConfigRequestSourceFormat

type CreateAgentConfigRequestSourceFormat string

CreateAgentConfigRequestSourceFormat defines model for CreateAgentConfigRequest.SourceFormat.

const (
	CreateAgentConfigRequestSourceFormatJson CreateAgentConfigRequestSourceFormat = "json"
	CreateAgentConfigRequestSourceFormatYaml CreateAgentConfigRequestSourceFormat = "yaml"
)

Defines values for CreateAgentConfigRequestSourceFormat.

func (CreateAgentConfigRequestSourceFormat) Valid

Valid indicates whether the value is a known member of the CreateAgentConfigRequestSourceFormat enum.

type CreateAgentConfigResponseObject

type CreateAgentConfigResponseObject interface {
	VisitCreateAgentConfigResponse(w http.ResponseWriter) error
}

type CreateAgentInput4XXJSONResponse

type CreateAgentInput4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateAgentInput4XXJSONResponse) VisitCreateAgentInputResponse

func (response CreateAgentInput4XXJSONResponse) VisitCreateAgentInputResponse(w http.ResponseWriter) error

type CreateAgentInput5XXJSONResponse

type CreateAgentInput5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateAgentInput5XXJSONResponse) VisitCreateAgentInputResponse

func (response CreateAgentInput5XXJSONResponse) VisitCreateAgentInputResponse(w http.ResponseWriter) error

type CreateAgentInput200JSONResponse

type CreateAgentInput200JSONResponse AgentInputEnvelope

func (CreateAgentInput200JSONResponse) VisitCreateAgentInputResponse

func (response CreateAgentInput200JSONResponse) VisitCreateAgentInputResponse(w http.ResponseWriter) error

type CreateAgentInput201JSONResponse

type CreateAgentInput201JSONResponse AgentInputEnvelope

func (CreateAgentInput201JSONResponse) VisitCreateAgentInputResponse

func (response CreateAgentInput201JSONResponse) VisitCreateAgentInputResponse(w http.ResponseWriter) error

type CreateAgentInput400JSONResponse

type CreateAgentInput400JSONResponse struct{ BadRequestJSONResponse }

func (CreateAgentInput400JSONResponse) VisitCreateAgentInputResponse

func (response CreateAgentInput400JSONResponse) VisitCreateAgentInputResponse(w http.ResponseWriter) error

type CreateAgentInput401JSONResponse

type CreateAgentInput401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateAgentInput401JSONResponse) VisitCreateAgentInputResponse

func (response CreateAgentInput401JSONResponse) VisitCreateAgentInputResponse(w http.ResponseWriter) error

type CreateAgentInput403JSONResponse

type CreateAgentInput403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateAgentInput403JSONResponse) VisitCreateAgentInputResponse

func (response CreateAgentInput403JSONResponse) VisitCreateAgentInputResponse(w http.ResponseWriter) error

type CreateAgentInput404JSONResponse

type CreateAgentInput404JSONResponse struct{ NotFoundJSONResponse }

func (CreateAgentInput404JSONResponse) VisitCreateAgentInputResponse

func (response CreateAgentInput404JSONResponse) VisitCreateAgentInputResponse(w http.ResponseWriter) error

type CreateAgentInput409JSONResponse

type CreateAgentInput409JSONResponse struct{ ConflictJSONResponse }

func (CreateAgentInput409JSONResponse) VisitCreateAgentInputResponse

func (response CreateAgentInput409JSONResponse) VisitCreateAgentInputResponse(w http.ResponseWriter) error

type CreateAgentInput503JSONResponse

type CreateAgentInput503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateAgentInput503JSONResponse) VisitCreateAgentInputResponse

func (response CreateAgentInput503JSONResponse) VisitCreateAgentInputResponse(w http.ResponseWriter) error

type CreateAgentInputContentBlock

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

CreateAgentInputContentBlock defines model for CreateAgentInputContentBlock.

func (CreateAgentInputContentBlock) AsInlineMediaContentBlock

func (t CreateAgentInputContentBlock) AsInlineMediaContentBlock() (InlineMediaContentBlock, error)

AsInlineMediaContentBlock returns the union data inside the CreateAgentInputContentBlock as a InlineMediaContentBlock

func (CreateAgentInputContentBlock) AsTextContentBlock

func (t CreateAgentInputContentBlock) AsTextContentBlock() (TextContentBlock, error)

AsTextContentBlock returns the union data inside the CreateAgentInputContentBlock as a TextContentBlock

func (CreateAgentInputContentBlock) Discriminator

func (t CreateAgentInputContentBlock) Discriminator() (string, error)

func (*CreateAgentInputContentBlock) FromInlineMediaContentBlock

func (t *CreateAgentInputContentBlock) FromInlineMediaContentBlock(v InlineMediaContentBlock) error

FromInlineMediaContentBlock overwrites any union data inside the CreateAgentInputContentBlock as the provided InlineMediaContentBlock

func (*CreateAgentInputContentBlock) FromTextContentBlock

func (t *CreateAgentInputContentBlock) FromTextContentBlock(v TextContentBlock) error

FromTextContentBlock overwrites any union data inside the CreateAgentInputContentBlock as the provided TextContentBlock

func (CreateAgentInputContentBlock) MarshalJSON

func (t CreateAgentInputContentBlock) MarshalJSON() ([]byte, error)

func (*CreateAgentInputContentBlock) MergeInlineMediaContentBlock

func (t *CreateAgentInputContentBlock) MergeInlineMediaContentBlock(v InlineMediaContentBlock) error

MergeInlineMediaContentBlock performs a merge with any union data inside the CreateAgentInputContentBlock, using the provided InlineMediaContentBlock

func (*CreateAgentInputContentBlock) MergeTextContentBlock

func (t *CreateAgentInputContentBlock) MergeTextContentBlock(v TextContentBlock) error

MergeTextContentBlock performs a merge with any union data inside the CreateAgentInputContentBlock, using the provided TextContentBlock

func (*CreateAgentInputContentBlock) UnmarshalJSON

func (t *CreateAgentInputContentBlock) UnmarshalJSON(b []byte) error

func (CreateAgentInputContentBlock) ValueByDiscriminator

func (t CreateAgentInputContentBlock) ValueByDiscriminator() (interface{}, error)

type CreateAgentInputDeliveryMode

type CreateAgentInputDeliveryMode string

CreateAgentInputDeliveryMode defines model for CreateAgentInputDeliveryMode.

const (
	CreateAgentInputDeliveryModeQueued   CreateAgentInputDeliveryMode = "queued"
	CreateAgentInputDeliveryModeSteering CreateAgentInputDeliveryMode = "steering"
)

Defines values for CreateAgentInputDeliveryMode.

func (CreateAgentInputDeliveryMode) Valid

Valid indicates whether the value is a known member of the CreateAgentInputDeliveryMode enum.

type CreateAgentInputJSONRequestBody

type CreateAgentInputJSONRequestBody = CreateAgentInputRequest

CreateAgentInputJSONRequestBody defines body for CreateAgentInput for application/json ContentType.

type CreateAgentInputParams

type CreateAgentInputParams struct {
	// IdempotencyKey Idempotency key for replay-safe mutating requests.
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

CreateAgentInputParams defines parameters for CreateAgentInput.

type CreateAgentInputRequest

type CreateAgentInputRequest struct {
	// Actor External actor to attribute this input to, upserted by (provider_tenant_id, provider_user_id) atomically with the input; a rejected request writes no actor. Only allowed for non-user principals; requests authenticated as a user must omit it and are attributed to the user's omnara actor. When a non-user request omits it, the input has no actor attribution.
	Actor *ExternalActorParams `json:"actor,omitempty"`

	// CancelOpenInteractions Only valid when delivery_mode is steering. When true, atomically cancels open interactions associated with the current turn's unfinished tool calls before creating the steering input. Their parent tool calls complete as canceled; the turn, runtime, and unrelated tool calls are preserved.
	CancelOpenInteractions *bool `json:"cancel_open_interactions,omitempty"`

	// ContentBlocks At most 20 inline media blocks per submission, each holding up to 10 MiB of decoded media and up to 24 MiB decoded across the submission. Non-media blocks may hold up to 1 MiB combined. The whole request body is capped at 48 MiB.
	ContentBlocks []CreateAgentInputContentBlock `json:"content_blocks"`
	DeliveryMode  *CreateAgentInputDeliveryMode  `json:"delivery_mode,omitempty"`
}

CreateAgentInputRequest defines model for CreateAgentInputRequest.

type CreateAgentInputRequestObject

type CreateAgentInputRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	AgentID   string `json:"agentID"`
	Params    CreateAgentInputParams
	Body      *CreateAgentInputJSONRequestBody
}

type CreateAgentInputResponseObject

type CreateAgentInputResponseObject interface {
	VisitCreateAgentInputResponse(w http.ResponseWriter) error
}

type CreateAgentJSONRequestBody

type CreateAgentJSONRequestBody = CreateAgentRequest

CreateAgentJSONRequestBody defines body for CreateAgent for application/json ContentType.

type CreateAgentParams

type CreateAgentParams struct {
	// IdempotencyKey Idempotency key for replay-safe mutating requests.
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

CreateAgentParams defines parameters for CreateAgent.

type CreateAgentProfile4XXJSONResponse

type CreateAgentProfile4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateAgentProfile4XXJSONResponse) VisitCreateAgentProfileResponse

func (response CreateAgentProfile4XXJSONResponse) VisitCreateAgentProfileResponse(w http.ResponseWriter) error

type CreateAgentProfile5XXJSONResponse

type CreateAgentProfile5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateAgentProfile5XXJSONResponse) VisitCreateAgentProfileResponse

func (response CreateAgentProfile5XXJSONResponse) VisitCreateAgentProfileResponse(w http.ResponseWriter) error

type CreateAgentProfile200JSONResponse

type CreateAgentProfile200JSONResponse AgentProfile

func (CreateAgentProfile200JSONResponse) VisitCreateAgentProfileResponse

func (response CreateAgentProfile200JSONResponse) VisitCreateAgentProfileResponse(w http.ResponseWriter) error

type CreateAgentProfile201JSONResponse

type CreateAgentProfile201JSONResponse AgentProfile

func (CreateAgentProfile201JSONResponse) VisitCreateAgentProfileResponse

func (response CreateAgentProfile201JSONResponse) VisitCreateAgentProfileResponse(w http.ResponseWriter) error

type CreateAgentProfile400JSONResponse

type CreateAgentProfile400JSONResponse struct{ BadRequestJSONResponse }

func (CreateAgentProfile400JSONResponse) VisitCreateAgentProfileResponse

func (response CreateAgentProfile400JSONResponse) VisitCreateAgentProfileResponse(w http.ResponseWriter) error

type CreateAgentProfile401JSONResponse

type CreateAgentProfile401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateAgentProfile401JSONResponse) VisitCreateAgentProfileResponse

func (response CreateAgentProfile401JSONResponse) VisitCreateAgentProfileResponse(w http.ResponseWriter) error

type CreateAgentProfile403JSONResponse

type CreateAgentProfile403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateAgentProfile403JSONResponse) VisitCreateAgentProfileResponse

func (response CreateAgentProfile403JSONResponse) VisitCreateAgentProfileResponse(w http.ResponseWriter) error

type CreateAgentProfile404JSONResponse

type CreateAgentProfile404JSONResponse struct{ NotFoundJSONResponse }

func (CreateAgentProfile404JSONResponse) VisitCreateAgentProfileResponse

func (response CreateAgentProfile404JSONResponse) VisitCreateAgentProfileResponse(w http.ResponseWriter) error

type CreateAgentProfile409JSONResponse

type CreateAgentProfile409JSONResponse struct{ ConflictJSONResponse }

func (CreateAgentProfile409JSONResponse) VisitCreateAgentProfileResponse

func (response CreateAgentProfile409JSONResponse) VisitCreateAgentProfileResponse(w http.ResponseWriter) error

type CreateAgentProfile503JSONResponse

type CreateAgentProfile503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateAgentProfile503JSONResponse) VisitCreateAgentProfileResponse

func (response CreateAgentProfile503JSONResponse) VisitCreateAgentProfileResponse(w http.ResponseWriter) error

type CreateAgentProfileJSONRequestBody

type CreateAgentProfileJSONRequestBody = CreateAgentProfileRequest

CreateAgentProfileJSONRequestBody defines body for CreateAgentProfile for application/json ContentType.

type CreateAgentProfileParams

type CreateAgentProfileParams struct {
	// IdempotencyKey Idempotency key for replay-safe mutating requests.
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

CreateAgentProfileParams defines parameters for CreateAgentProfile.

type CreateAgentProfileRequest

type CreateAgentProfileRequest struct {
	Config AgentConfigID `json:"config"`
	Name   string        `json:"name"`
}

CreateAgentProfileRequest defines model for CreateAgentProfileRequest.

type CreateAgentProfileRequestObject

type CreateAgentProfileRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	Params    CreateAgentProfileParams
	Body      *CreateAgentProfileJSONRequestBody
}

type CreateAgentProfileResponseObject

type CreateAgentProfileResponseObject interface {
	VisitCreateAgentProfileResponse(w http.ResponseWriter) error
}

type CreateAgentRequest

type CreateAgentRequest struct {
	Config  AgentConfigID `json:"config"`
	Message *string       `json:"message,omitempty"`

	// Name Display name for the launched agent. Defaults to the profile name when launching from a profile.
	Name    *string         `json:"name,omitempty"`
	Profile *AgentProfileID `json:"profile,omitempty"`
}

CreateAgentRequest defines model for CreateAgentRequest.

type CreateAgentRequestObject

type CreateAgentRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	Params    CreateAgentParams
	Body      *CreateAgentJSONRequestBody
}

type CreateAgentResponseObject

type CreateAgentResponseObject interface {
	VisitCreateAgentResponse(w http.ResponseWriter) error
}

type CreateBYOMachineDaemonToken4XXJSONResponse

type CreateBYOMachineDaemonToken4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateBYOMachineDaemonToken4XXJSONResponse) VisitCreateBYOMachineDaemonTokenResponse

func (response CreateBYOMachineDaemonToken4XXJSONResponse) VisitCreateBYOMachineDaemonTokenResponse(w http.ResponseWriter) error

type CreateBYOMachineDaemonToken5XXJSONResponse

type CreateBYOMachineDaemonToken5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateBYOMachineDaemonToken5XXJSONResponse) VisitCreateBYOMachineDaemonTokenResponse

func (response CreateBYOMachineDaemonToken5XXJSONResponse) VisitCreateBYOMachineDaemonTokenResponse(w http.ResponseWriter) error

type CreateBYOMachineDaemonToken201JSONResponse

type CreateBYOMachineDaemonToken201JSONResponse CreateMachineDaemonTokenResponse

func (CreateBYOMachineDaemonToken201JSONResponse) VisitCreateBYOMachineDaemonTokenResponse

func (response CreateBYOMachineDaemonToken201JSONResponse) VisitCreateBYOMachineDaemonTokenResponse(w http.ResponseWriter) error

type CreateBYOMachineDaemonToken400JSONResponse

type CreateBYOMachineDaemonToken400JSONResponse struct{ BadRequestJSONResponse }

func (CreateBYOMachineDaemonToken400JSONResponse) VisitCreateBYOMachineDaemonTokenResponse

func (response CreateBYOMachineDaemonToken400JSONResponse) VisitCreateBYOMachineDaemonTokenResponse(w http.ResponseWriter) error

type CreateBYOMachineDaemonToken401JSONResponse

type CreateBYOMachineDaemonToken401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateBYOMachineDaemonToken401JSONResponse) VisitCreateBYOMachineDaemonTokenResponse

func (response CreateBYOMachineDaemonToken401JSONResponse) VisitCreateBYOMachineDaemonTokenResponse(w http.ResponseWriter) error

type CreateBYOMachineDaemonToken403JSONResponse

type CreateBYOMachineDaemonToken403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateBYOMachineDaemonToken403JSONResponse) VisitCreateBYOMachineDaemonTokenResponse

func (response CreateBYOMachineDaemonToken403JSONResponse) VisitCreateBYOMachineDaemonTokenResponse(w http.ResponseWriter) error

type CreateBYOMachineDaemonToken404JSONResponse

type CreateBYOMachineDaemonToken404JSONResponse struct{ NotFoundJSONResponse }

func (CreateBYOMachineDaemonToken404JSONResponse) VisitCreateBYOMachineDaemonTokenResponse

func (response CreateBYOMachineDaemonToken404JSONResponse) VisitCreateBYOMachineDaemonTokenResponse(w http.ResponseWriter) error

type CreateBYOMachineDaemonToken409JSONResponse

type CreateBYOMachineDaemonToken409JSONResponse struct{ ConflictJSONResponse }

func (CreateBYOMachineDaemonToken409JSONResponse) VisitCreateBYOMachineDaemonTokenResponse

func (response CreateBYOMachineDaemonToken409JSONResponse) VisitCreateBYOMachineDaemonTokenResponse(w http.ResponseWriter) error

type CreateBYOMachineDaemonToken503JSONResponse

type CreateBYOMachineDaemonToken503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateBYOMachineDaemonToken503JSONResponse) VisitCreateBYOMachineDaemonTokenResponse

func (response CreateBYOMachineDaemonToken503JSONResponse) VisitCreateBYOMachineDaemonTokenResponse(w http.ResponseWriter) error

type CreateBYOMachineDaemonTokenJSONRequestBody

type CreateBYOMachineDaemonTokenJSONRequestBody = CreateMachineDaemonTokenRequest

CreateBYOMachineDaemonTokenJSONRequestBody defines body for CreateBYOMachineDaemonToken for application/json ContentType.

type CreateBYOMachineDaemonTokenRequestObject

type CreateBYOMachineDaemonTokenRequestObject struct {
	OrgID     string `json:"orgID"`
	MachineID string `json:"machineID"`
	Body      *CreateBYOMachineDaemonTokenJSONRequestBody
}

type CreateBYOMachineDaemonTokenResponseObject

type CreateBYOMachineDaemonTokenResponseObject interface {
	VisitCreateBYOMachineDaemonTokenResponse(w http.ResponseWriter) error
}

type CreateConfiguredModel4XXJSONResponse

type CreateConfiguredModel4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateConfiguredModel4XXJSONResponse) VisitCreateConfiguredModelResponse

func (response CreateConfiguredModel4XXJSONResponse) VisitCreateConfiguredModelResponse(w http.ResponseWriter) error

type CreateConfiguredModel5XXJSONResponse

type CreateConfiguredModel5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateConfiguredModel5XXJSONResponse) VisitCreateConfiguredModelResponse

func (response CreateConfiguredModel5XXJSONResponse) VisitCreateConfiguredModelResponse(w http.ResponseWriter) error

type CreateConfiguredModel200JSONResponse

type CreateConfiguredModel200JSONResponse ConfiguredModel

func (CreateConfiguredModel200JSONResponse) VisitCreateConfiguredModelResponse

func (response CreateConfiguredModel200JSONResponse) VisitCreateConfiguredModelResponse(w http.ResponseWriter) error

type CreateConfiguredModel201JSONResponse

type CreateConfiguredModel201JSONResponse ConfiguredModel

func (CreateConfiguredModel201JSONResponse) VisitCreateConfiguredModelResponse

func (response CreateConfiguredModel201JSONResponse) VisitCreateConfiguredModelResponse(w http.ResponseWriter) error

type CreateConfiguredModel400JSONResponse

type CreateConfiguredModel400JSONResponse struct{ BadRequestJSONResponse }

func (CreateConfiguredModel400JSONResponse) VisitCreateConfiguredModelResponse

func (response CreateConfiguredModel400JSONResponse) VisitCreateConfiguredModelResponse(w http.ResponseWriter) error

type CreateConfiguredModel401JSONResponse

type CreateConfiguredModel401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateConfiguredModel401JSONResponse) VisitCreateConfiguredModelResponse

func (response CreateConfiguredModel401JSONResponse) VisitCreateConfiguredModelResponse(w http.ResponseWriter) error

type CreateConfiguredModel403JSONResponse

type CreateConfiguredModel403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateConfiguredModel403JSONResponse) VisitCreateConfiguredModelResponse

func (response CreateConfiguredModel403JSONResponse) VisitCreateConfiguredModelResponse(w http.ResponseWriter) error

type CreateConfiguredModel404JSONResponse

type CreateConfiguredModel404JSONResponse struct{ NotFoundJSONResponse }

func (CreateConfiguredModel404JSONResponse) VisitCreateConfiguredModelResponse

func (response CreateConfiguredModel404JSONResponse) VisitCreateConfiguredModelResponse(w http.ResponseWriter) error

type CreateConfiguredModel409JSONResponse

type CreateConfiguredModel409JSONResponse struct{ ConflictJSONResponse }

func (CreateConfiguredModel409JSONResponse) VisitCreateConfiguredModelResponse

func (response CreateConfiguredModel409JSONResponse) VisitCreateConfiguredModelResponse(w http.ResponseWriter) error

type CreateConfiguredModel503JSONResponse

type CreateConfiguredModel503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateConfiguredModel503JSONResponse) VisitCreateConfiguredModelResponse

func (response CreateConfiguredModel503JSONResponse) VisitCreateConfiguredModelResponse(w http.ResponseWriter) error

type CreateConfiguredModelJSONRequestBody

type CreateConfiguredModelJSONRequestBody = CreateConfiguredModelRequest

CreateConfiguredModelJSONRequestBody defines body for CreateConfiguredModel for application/json ContentType.

type CreateConfiguredModelRequest

type CreateConfiguredModelRequest struct {
	// ApiVariantOptions Extra top-level JSON fields to include in provider requests for this configured model. Use this for provider-specific settings that Omnara does not expose as typed fields, such as OpenRouter `provider` routing or sampling parameters. Omnara still controls the fields it needs to run the agent correctly, including the model, prompt/messages, streaming, tools, and selected reasoning policy. For OpenRouter routing options, see https://openrouter.ai/docs/guides/routing/provider-selection and general request parameters at https://openrouter.ai/docs/api/reference/parameters.
	ApiVariantOptions ModelAPIVariantOptions `json:"api_variant_options,omitempty"`

	// ContextWindowTokens Total token window for this model, including input and output.
	ContextWindowTokens int `json:"context_window_tokens"`

	// DefaultCacheRetention Default prompt-cache hint for model requests. `none` means Omnara does not send a cache hint; providers may still apply their own automatic caching. `short` and `long` are translated to the closest supported control for the selected API.
	DefaultCacheRetention *ModelCacheRetention `json:"default_cache_retention,omitempty"`

	// DefaultMaxOutputTokens Optional normal per-request output-token cap. When omitted, Omnara stores the smaller of 4,096 tokens and max_output_tokens.
	DefaultMaxOutputTokens *int `json:"default_max_output_tokens,omitempty"`

	// DefaultReasoningEffort Default reasoning effort to send for models/API formats that support effort-style reasoning controls. Requires supports_reasoning=true. When supported_reasoning_efforts is present, this value must be listed there.
	DefaultReasoningEffort *string `json:"default_reasoning_effort,omitempty"`

	// InputModalities Input types this configured model accepts. Omnara recognizes text, image, and file; an empty list leaves capabilities unspecified.
	InputModalities *[]string `json:"input_modalities,omitempty"`

	// MaxOutputTokens Optional configured output-token ceiling. When omitted, Omnara stores the smaller of 8,192 tokens and half the context window. It must not exceed the provider's supported limit. Omnara uses it for request validation and context budgeting.
	MaxOutputTokens *int `json:"max_output_tokens,omitempty"`

	// Name Admin-facing configured model name used by agent YAML as model.name. Names are unique within an active model provider config and can be renamed without changing existing agents.
	Name string `json:"name"`

	// OutputModalities Output types this configured model can return. Omnara currently consumes text output.
	OutputModalities *[]string `json:"output_modalities,omitempty"`

	// ProviderModelSlug Exact provider model slug sent to the provider endpoint.
	ProviderModelSlug string `json:"provider_model_slug"`

	// SupportedReasoningEfforts Reasoning effort values this configured model accepts. Requires supports_reasoning=true when non-empty.
	SupportedReasoningEfforts *[]string `json:"supported_reasoning_efforts,omitempty"`

	// SupportsReasoning Whether Omnara should use this model's reasoning features. For OpenAI Responses, this also enables encrypted reasoning replay for stateless calls.
	SupportsReasoning *bool `json:"supports_reasoning,omitempty"`

	// SupportsTools Whether this configured model can receive tool definitions and emit tool calls. Agent configs with enabled tools are rejected when this is false.
	SupportsTools *bool `json:"supports_tools,omitempty"`
}

CreateConfiguredModelRequest defines model for CreateConfiguredModelRequest.

type CreateConfiguredModelRequestObject

type CreateConfiguredModelRequestObject struct {
	OrgID                 string `json:"orgID"`
	ModelProviderConfigID string `json:"modelProviderConfigID"`
	Body                  *CreateConfiguredModelJSONRequestBody
}

type CreateConfiguredModelResponseObject

type CreateConfiguredModelResponseObject interface {
	VisitCreateConfiguredModelResponse(w http.ResponseWriter) error
}

type CreateIntegrationOAuthSetup4XXJSONResponse

type CreateIntegrationOAuthSetup4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateIntegrationOAuthSetup4XXJSONResponse) VisitCreateIntegrationOAuthSetupResponse

func (response CreateIntegrationOAuthSetup4XXJSONResponse) VisitCreateIntegrationOAuthSetupResponse(w http.ResponseWriter) error

type CreateIntegrationOAuthSetup5XXJSONResponse

type CreateIntegrationOAuthSetup5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateIntegrationOAuthSetup5XXJSONResponse) VisitCreateIntegrationOAuthSetupResponse

func (response CreateIntegrationOAuthSetup5XXJSONResponse) VisitCreateIntegrationOAuthSetupResponse(w http.ResponseWriter) error

type CreateIntegrationOAuthSetup201JSONResponse

type CreateIntegrationOAuthSetup201JSONResponse IntegrationOAuthSetup

func (CreateIntegrationOAuthSetup201JSONResponse) VisitCreateIntegrationOAuthSetupResponse

func (response CreateIntegrationOAuthSetup201JSONResponse) VisitCreateIntegrationOAuthSetupResponse(w http.ResponseWriter) error

type CreateIntegrationOAuthSetup400JSONResponse

type CreateIntegrationOAuthSetup400JSONResponse struct{ BadRequestJSONResponse }

func (CreateIntegrationOAuthSetup400JSONResponse) VisitCreateIntegrationOAuthSetupResponse

func (response CreateIntegrationOAuthSetup400JSONResponse) VisitCreateIntegrationOAuthSetupResponse(w http.ResponseWriter) error

type CreateIntegrationOAuthSetup401JSONResponse

type CreateIntegrationOAuthSetup401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateIntegrationOAuthSetup401JSONResponse) VisitCreateIntegrationOAuthSetupResponse

func (response CreateIntegrationOAuthSetup401JSONResponse) VisitCreateIntegrationOAuthSetupResponse(w http.ResponseWriter) error

type CreateIntegrationOAuthSetup403JSONResponse

type CreateIntegrationOAuthSetup403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateIntegrationOAuthSetup403JSONResponse) VisitCreateIntegrationOAuthSetupResponse

func (response CreateIntegrationOAuthSetup403JSONResponse) VisitCreateIntegrationOAuthSetupResponse(w http.ResponseWriter) error

type CreateIntegrationOAuthSetup404JSONResponse

type CreateIntegrationOAuthSetup404JSONResponse struct{ NotFoundJSONResponse }

func (CreateIntegrationOAuthSetup404JSONResponse) VisitCreateIntegrationOAuthSetupResponse

func (response CreateIntegrationOAuthSetup404JSONResponse) VisitCreateIntegrationOAuthSetupResponse(w http.ResponseWriter) error

type CreateIntegrationOAuthSetup409JSONResponse

type CreateIntegrationOAuthSetup409JSONResponse struct{ ConflictJSONResponse }

func (CreateIntegrationOAuthSetup409JSONResponse) VisitCreateIntegrationOAuthSetupResponse

func (response CreateIntegrationOAuthSetup409JSONResponse) VisitCreateIntegrationOAuthSetupResponse(w http.ResponseWriter) error

type CreateIntegrationOAuthSetup503JSONResponse

type CreateIntegrationOAuthSetup503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateIntegrationOAuthSetup503JSONResponse) VisitCreateIntegrationOAuthSetupResponse

func (response CreateIntegrationOAuthSetup503JSONResponse) VisitCreateIntegrationOAuthSetupResponse(w http.ResponseWriter) error

type CreateIntegrationOAuthSetupJSONRequestBody

type CreateIntegrationOAuthSetupJSONRequestBody = CreateIntegrationOAuthSetupRequest

CreateIntegrationOAuthSetupJSONRequestBody defines body for CreateIntegrationOAuthSetup for application/json ContentType.

type CreateIntegrationOAuthSetupRequest

type CreateIntegrationOAuthSetupRequest struct {
	ClientId      string  `json:"client_id"`
	ClientSecret  string  `json:"client_secret"`
	Provider      *string `json:"provider,omitempty"`
	ReturnTo      *string `json:"return_to,omitempty"`
	SigningSecret string  `json:"signing_secret"`
}

CreateIntegrationOAuthSetupRequest defines model for CreateIntegrationOAuthSetupRequest.

type CreateIntegrationOAuthSetupRequestObject

type CreateIntegrationOAuthSetupRequestObject struct {
	OrgID          string `json:"orgID"`
	ProjectID      string `json:"projectID"`
	AgentProfileID string `json:"agentProfileID"`
	Body           *CreateIntegrationOAuthSetupJSONRequestBody
}

type CreateIntegrationOAuthSetupResponseObject

type CreateIntegrationOAuthSetupResponseObject interface {
	VisitCreateIntegrationOAuthSetupResponse(w http.ResponseWriter) error
}

type CreateMachine4XXJSONResponse

type CreateMachine4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateMachine4XXJSONResponse) VisitCreateMachineResponse

func (response CreateMachine4XXJSONResponse) VisitCreateMachineResponse(w http.ResponseWriter) error

type CreateMachine5XXJSONResponse

type CreateMachine5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateMachine5XXJSONResponse) VisitCreateMachineResponse

func (response CreateMachine5XXJSONResponse) VisitCreateMachineResponse(w http.ResponseWriter) error

type CreateMachine200JSONResponse

type CreateMachine200JSONResponse Machine

func (CreateMachine200JSONResponse) VisitCreateMachineResponse

func (response CreateMachine200JSONResponse) VisitCreateMachineResponse(w http.ResponseWriter) error

type CreateMachine201JSONResponse

type CreateMachine201JSONResponse Machine

func (CreateMachine201JSONResponse) VisitCreateMachineResponse

func (response CreateMachine201JSONResponse) VisitCreateMachineResponse(w http.ResponseWriter) error

type CreateMachine400JSONResponse

type CreateMachine400JSONResponse struct{ BadRequestJSONResponse }

func (CreateMachine400JSONResponse) VisitCreateMachineResponse

func (response CreateMachine400JSONResponse) VisitCreateMachineResponse(w http.ResponseWriter) error

type CreateMachine401JSONResponse

type CreateMachine401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateMachine401JSONResponse) VisitCreateMachineResponse

func (response CreateMachine401JSONResponse) VisitCreateMachineResponse(w http.ResponseWriter) error

type CreateMachine403JSONResponse

type CreateMachine403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateMachine403JSONResponse) VisitCreateMachineResponse

func (response CreateMachine403JSONResponse) VisitCreateMachineResponse(w http.ResponseWriter) error

type CreateMachine404JSONResponse

type CreateMachine404JSONResponse struct{ NotFoundJSONResponse }

func (CreateMachine404JSONResponse) VisitCreateMachineResponse

func (response CreateMachine404JSONResponse) VisitCreateMachineResponse(w http.ResponseWriter) error

type CreateMachine409JSONResponse

type CreateMachine409JSONResponse struct{ ConflictJSONResponse }

func (CreateMachine409JSONResponse) VisitCreateMachineResponse

func (response CreateMachine409JSONResponse) VisitCreateMachineResponse(w http.ResponseWriter) error

type CreateMachine503JSONResponse

type CreateMachine503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateMachine503JSONResponse) VisitCreateMachineResponse

func (response CreateMachine503JSONResponse) VisitCreateMachineResponse(w http.ResponseWriter) error

type CreateMachineDaemonTokenRequest

type CreateMachineDaemonTokenRequest struct {
	// Metadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters.
	Metadata Metadata `json:"metadata,omitempty"`
	Name     *string  `json:"name,omitempty"`
}

CreateMachineDaemonTokenRequest defines model for CreateMachineDaemonTokenRequest.

type CreateMachineDaemonTokenResponse

type CreateMachineDaemonTokenResponse struct {
	Token       string             `json:"token"`
	TokenRecord MachineDaemonToken `json:"token_record"`
}

CreateMachineDaemonTokenResponse defines model for CreateMachineDaemonTokenResponse.

type CreateMachineJSONRequestBody

type CreateMachineJSONRequestBody = CreateMachineRequest

CreateMachineJSONRequestBody defines body for CreateMachine for application/json ContentType.

type CreateMachineParams

type CreateMachineParams struct {
	// IdempotencyKey Idempotency key for replay-safe mutating requests.
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

CreateMachineParams defines parameters for CreateMachine.

type CreateMachinePool4XXJSONResponse

type CreateMachinePool4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateMachinePool4XXJSONResponse) VisitCreateMachinePoolResponse

func (response CreateMachinePool4XXJSONResponse) VisitCreateMachinePoolResponse(w http.ResponseWriter) error

type CreateMachinePool5XXJSONResponse

type CreateMachinePool5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateMachinePool5XXJSONResponse) VisitCreateMachinePoolResponse

func (response CreateMachinePool5XXJSONResponse) VisitCreateMachinePoolResponse(w http.ResponseWriter) error

type CreateMachinePool200JSONResponse

type CreateMachinePool200JSONResponse MachinePool

func (CreateMachinePool200JSONResponse) VisitCreateMachinePoolResponse

func (response CreateMachinePool200JSONResponse) VisitCreateMachinePoolResponse(w http.ResponseWriter) error

type CreateMachinePool201JSONResponse

type CreateMachinePool201JSONResponse MachinePool

func (CreateMachinePool201JSONResponse) VisitCreateMachinePoolResponse

func (response CreateMachinePool201JSONResponse) VisitCreateMachinePoolResponse(w http.ResponseWriter) error

type CreateMachinePool400JSONResponse

type CreateMachinePool400JSONResponse struct{ BadRequestJSONResponse }

func (CreateMachinePool400JSONResponse) VisitCreateMachinePoolResponse

func (response CreateMachinePool400JSONResponse) VisitCreateMachinePoolResponse(w http.ResponseWriter) error

type CreateMachinePool401JSONResponse

type CreateMachinePool401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateMachinePool401JSONResponse) VisitCreateMachinePoolResponse

func (response CreateMachinePool401JSONResponse) VisitCreateMachinePoolResponse(w http.ResponseWriter) error

type CreateMachinePool403JSONResponse

type CreateMachinePool403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateMachinePool403JSONResponse) VisitCreateMachinePoolResponse

func (response CreateMachinePool403JSONResponse) VisitCreateMachinePoolResponse(w http.ResponseWriter) error

type CreateMachinePool404JSONResponse

type CreateMachinePool404JSONResponse struct{ NotFoundJSONResponse }

func (CreateMachinePool404JSONResponse) VisitCreateMachinePoolResponse

func (response CreateMachinePool404JSONResponse) VisitCreateMachinePoolResponse(w http.ResponseWriter) error

type CreateMachinePool409JSONResponse

type CreateMachinePool409JSONResponse struct{ ConflictJSONResponse }

func (CreateMachinePool409JSONResponse) VisitCreateMachinePoolResponse

func (response CreateMachinePool409JSONResponse) VisitCreateMachinePoolResponse(w http.ResponseWriter) error

type CreateMachinePool503JSONResponse

type CreateMachinePool503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateMachinePool503JSONResponse) VisitCreateMachinePoolResponse

func (response CreateMachinePool503JSONResponse) VisitCreateMachinePoolResponse(w http.ResponseWriter) error

type CreateMachinePoolJSONRequestBody

type CreateMachinePoolJSONRequestBody = CreateMachinePoolRequest

CreateMachinePoolJSONRequestBody defines body for CreateMachinePool for application/json ContentType.

type CreateMachinePoolRequest

type CreateMachinePoolRequest = CreateMachinePoolRequestBase

CreateMachinePoolRequest defines model for CreateMachinePoolRequest.

type CreateMachinePoolRequestBase

type CreateMachinePoolRequestBase struct {
	DefaultCwd        *string `json:"default_cwd,omitempty"`
	DefaultMachineCpu *int32  `json:"default_machine_cpu,omitempty"`

	// DefaultMachineEnv Default environment for pool machines. A machine's environment, including resolved secret_env values, is applied to the provider machine at provisioning, so the provider_options startup_script and the daemon run with it, and is resolved again for each process at launch.
	DefaultMachineEnv             *map[string]string     `json:"default_machine_env,omitempty"`
	DefaultMachineMemoryMb        *int32                 `json:"default_machine_memory_mb,omitempty"`
	DefaultMachineProviderOptions map[string]interface{} `json:"default_machine_provider_options"`

	// DefaultMachineSecretEnv Default secret environment for pool machines, mapping env names to generic secret references. References are resolved to secret values wherever the machine environment is applied.
	DefaultMachineSecretEnv *map[string]SecretID `json:"default_machine_secret_env,omitempty"`
	Description             *string              `json:"description,omitempty"`
	MaxMachineCpu           *int32               `json:"max_machine_cpu,omitempty"`
	MaxMachineMemoryMb      *int32               `json:"max_machine_memory_mb,omitempty"`
	MaxTotalCpu             *int32               `json:"max_total_cpu,omitempty"`
	MaxTotalMachines        int32                `json:"max_total_machines"`
	MaxTotalMemoryMb        *int32               `json:"max_total_memory_mb,omitempty"`

	// Metadata User-supplied metadata stored on a machine, provided directly or copied from the machine pool that provisions it. A restriction of Metadata that leaves room for one reserved pair - Omnara sets observed_platform on the machine to the platform reported by its daemon, so the key is reserved and at most 15 user pairs are accepted.
	Metadata             MachineMetadata         `json:"metadata,omitempty"`
	MinMachineCpu        *int32                  `json:"min_machine_cpu,omitempty"`
	MinMachineMemoryMb   *int32                  `json:"min_machine_memory_mb,omitempty"`
	Name                 string                  `json:"name"`
	Provider             string                  `json:"provider"`
	ProviderAuthSecretId SecretID                `json:"provider_auth_secret_id"`
	ProviderConfig       *map[string]interface{} `json:"provider_config,omitempty"`

	// RuntimeProtectionEnabled Whether Omnara should delete a pool machine when its provider remains running after its daemon becomes inactive. Defaults to false when omitted.
	RuntimeProtectionEnabled *bool `json:"runtime_protection_enabled,omitempty"`
}

CreateMachinePoolRequestBase defines model for CreateMachinePoolRequestBase.

type CreateMachinePoolRequestObject

type CreateMachinePoolRequestObject struct {
	OrgID string `json:"orgID"`
	Body  *CreateMachinePoolJSONRequestBody
}

type CreateMachinePoolResponseObject

type CreateMachinePoolResponseObject interface {
	VisitCreateMachinePoolResponse(w http.ResponseWriter) error
}

type CreateMachineRequest

type CreateMachineRequest struct {
	Cwd         *string            `json:"cwd,omitempty"`
	Description *string            `json:"description,omitempty"`
	DisplayName string             `json:"display_name"`
	Env         *map[string]string `json:"env,omitempty"`

	// Metadata User-supplied metadata stored on a machine, provided directly or copied from the machine pool that provisions it. A restriction of Metadata that leaves room for one reserved pair - Omnara sets observed_platform on the machine to the platform reported by its daemon, so the key is reserved and at most 15 user pairs are accepted.
	Metadata  MachineMetadata      `json:"metadata,omitempty"`
	SecretEnv *map[string]SecretID `json:"secret_env,omitempty"`
}

CreateMachineRequest defines model for CreateMachineRequest.

type CreateMachineRequestObject

type CreateMachineRequestObject struct {
	OrgID  string `json:"orgID"`
	Params CreateMachineParams
	Body   *CreateMachineJSONRequestBody
}

type CreateMachineResponseObject

type CreateMachineResponseObject interface {
	VisitCreateMachineResponse(w http.ResponseWriter) error
}

type CreateModelProviderConfig4XXJSONResponse

type CreateModelProviderConfig4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateModelProviderConfig4XXJSONResponse) VisitCreateModelProviderConfigResponse

func (response CreateModelProviderConfig4XXJSONResponse) VisitCreateModelProviderConfigResponse(w http.ResponseWriter) error

type CreateModelProviderConfig5XXJSONResponse

type CreateModelProviderConfig5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateModelProviderConfig5XXJSONResponse) VisitCreateModelProviderConfigResponse

func (response CreateModelProviderConfig5XXJSONResponse) VisitCreateModelProviderConfigResponse(w http.ResponseWriter) error

type CreateModelProviderConfig200JSONResponse

type CreateModelProviderConfig200JSONResponse CreateModelProviderConfigResponse

func (CreateModelProviderConfig200JSONResponse) VisitCreateModelProviderConfigResponse

func (response CreateModelProviderConfig200JSONResponse) VisitCreateModelProviderConfigResponse(w http.ResponseWriter) error

type CreateModelProviderConfig201JSONResponse

type CreateModelProviderConfig201JSONResponse CreateModelProviderConfigResponse

func (CreateModelProviderConfig201JSONResponse) VisitCreateModelProviderConfigResponse

func (response CreateModelProviderConfig201JSONResponse) VisitCreateModelProviderConfigResponse(w http.ResponseWriter) error

type CreateModelProviderConfig400JSONResponse

type CreateModelProviderConfig400JSONResponse struct{ BadRequestJSONResponse }

func (CreateModelProviderConfig400JSONResponse) VisitCreateModelProviderConfigResponse

func (response CreateModelProviderConfig400JSONResponse) VisitCreateModelProviderConfigResponse(w http.ResponseWriter) error

type CreateModelProviderConfig401JSONResponse

type CreateModelProviderConfig401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateModelProviderConfig401JSONResponse) VisitCreateModelProviderConfigResponse

func (response CreateModelProviderConfig401JSONResponse) VisitCreateModelProviderConfigResponse(w http.ResponseWriter) error

type CreateModelProviderConfig403JSONResponse

type CreateModelProviderConfig403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateModelProviderConfig403JSONResponse) VisitCreateModelProviderConfigResponse

func (response CreateModelProviderConfig403JSONResponse) VisitCreateModelProviderConfigResponse(w http.ResponseWriter) error

type CreateModelProviderConfig404JSONResponse

type CreateModelProviderConfig404JSONResponse struct{ NotFoundJSONResponse }

func (CreateModelProviderConfig404JSONResponse) VisitCreateModelProviderConfigResponse

func (response CreateModelProviderConfig404JSONResponse) VisitCreateModelProviderConfigResponse(w http.ResponseWriter) error

type CreateModelProviderConfig409JSONResponse

type CreateModelProviderConfig409JSONResponse struct{ ConflictJSONResponse }

func (CreateModelProviderConfig409JSONResponse) VisitCreateModelProviderConfigResponse

func (response CreateModelProviderConfig409JSONResponse) VisitCreateModelProviderConfigResponse(w http.ResponseWriter) error

type CreateModelProviderConfig503JSONResponse

type CreateModelProviderConfig503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateModelProviderConfig503JSONResponse) VisitCreateModelProviderConfigResponse

func (response CreateModelProviderConfig503JSONResponse) VisitCreateModelProviderConfigResponse(w http.ResponseWriter) error

type CreateModelProviderConfigJSONRequestBody

type CreateModelProviderConfigJSONRequestBody = CreateModelProviderConfigRequest

CreateModelProviderConfigJSONRequestBody defines body for CreateModelProviderConfig for application/json ContentType.

type CreateModelProviderConfigRequest

type CreateModelProviderConfigRequest struct {
	ApiFormat  *ModelAPIFormat          `json:"api_format,omitempty"`
	ApiVariant *ModelProviderAPIVariant `json:"api_variant,omitempty"`
	AuthKind   *ModelProviderAuthKind   `json:"auth_kind,omitempty"`

	// AuthOptions Non-secret API-key placement settings. Use an empty object with bearer_token. With api_key_header, set {"header_name":"..."}; Anthropic Messages defaults to {"header_name":"x-api-key"}.
	AuthOptions json.RawMessage `json:"auth_options,omitempty"`

	// BaseUrl Provider endpoint base URL. Normal API mode requires a public HTTPS endpoint; localhost and loopback endpoints are accepted only when the API is running in insecure dev mode.
	BaseUrl            *string  `json:"base_url,omitempty"`
	CredentialSecretId SecretID `json:"credential_secret_id"`

	// EndpointPath URL path under base_url. Defaults to /responses for OpenAI Responses, /chat/completions for Chat Completions, and /messages for Anthropic Messages.
	EndpointPath *string                                 `json:"endpoint_path,omitempty"`
	Name         string                                  `json:"name"`
	Preset       *CreateModelProviderConfigRequestPreset `json:"preset,omitempty"`

	// RequestTimeoutMs Provider request timeout in milliseconds. Omitted value defaults to 600000.
	RequestTimeoutMs *int `json:"request_timeout_ms,omitempty"`
}

CreateModelProviderConfigRequest Connect Omnara to a model API endpoint. Use a preset for built-in providers, or provide api_format and base_url for a custom endpoint. When omitted, endpoint_path and auth settings are filled from api_format.

type CreateModelProviderConfigRequestObject

type CreateModelProviderConfigRequestObject struct {
	OrgID string `json:"orgID"`
	Body  *CreateModelProviderConfigJSONRequestBody
}

type CreateModelProviderConfigRequestPreset

type CreateModelProviderConfigRequestPreset string

CreateModelProviderConfigRequestPreset defines model for CreateModelProviderConfigRequest.Preset.

const (
	CreateModelProviderConfigRequestPresetAnthropic  CreateModelProviderConfigRequestPreset = "anthropic"
	CreateModelProviderConfigRequestPresetOpenai     CreateModelProviderConfigRequestPreset = "openai"
	CreateModelProviderConfigRequestPresetOpenrouter CreateModelProviderConfigRequestPreset = "openrouter"
)

Defines values for CreateModelProviderConfigRequestPreset.

func (CreateModelProviderConfigRequestPreset) Valid

Valid indicates whether the value is a known member of the CreateModelProviderConfigRequestPreset enum.

type CreateModelProviderConfigResponse

type CreateModelProviderConfigResponse struct {
	Config ModelProviderConfig `json:"config"`

	// ModelDiscovery Result of validating the configured credential and probing the provider's /models endpoint. A failed check does not affect the stored config; treat it as a warning that the base URL or API key may be invalid.
	ModelDiscovery ModelDiscoveryResult `json:"model_discovery"`
}

CreateModelProviderConfigResponse defines model for CreateModelProviderConfigResponse.

type CreateModelProviderConfigResponseObject

type CreateModelProviderConfigResponseObject interface {
	VisitCreateModelProviderConfigResponse(w http.ResponseWriter) error
}

type CreateOrgAPIKey4XXJSONResponse

type CreateOrgAPIKey4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateOrgAPIKey4XXJSONResponse) VisitCreateOrgAPIKeyResponse

func (response CreateOrgAPIKey4XXJSONResponse) VisitCreateOrgAPIKeyResponse(w http.ResponseWriter) error

type CreateOrgAPIKey5XXJSONResponse

type CreateOrgAPIKey5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateOrgAPIKey5XXJSONResponse) VisitCreateOrgAPIKeyResponse

func (response CreateOrgAPIKey5XXJSONResponse) VisitCreateOrgAPIKeyResponse(w http.ResponseWriter) error

type CreateOrgAPIKey201JSONResponse

type CreateOrgAPIKey201JSONResponse CreateOrgAPIKeyResponse

func (CreateOrgAPIKey201JSONResponse) VisitCreateOrgAPIKeyResponse

func (response CreateOrgAPIKey201JSONResponse) VisitCreateOrgAPIKeyResponse(w http.ResponseWriter) error

type CreateOrgAPIKey400JSONResponse

type CreateOrgAPIKey400JSONResponse struct{ BadRequestJSONResponse }

func (CreateOrgAPIKey400JSONResponse) VisitCreateOrgAPIKeyResponse

func (response CreateOrgAPIKey400JSONResponse) VisitCreateOrgAPIKeyResponse(w http.ResponseWriter) error

type CreateOrgAPIKey401JSONResponse

type CreateOrgAPIKey401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateOrgAPIKey401JSONResponse) VisitCreateOrgAPIKeyResponse

func (response CreateOrgAPIKey401JSONResponse) VisitCreateOrgAPIKeyResponse(w http.ResponseWriter) error

type CreateOrgAPIKey403JSONResponse

type CreateOrgAPIKey403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateOrgAPIKey403JSONResponse) VisitCreateOrgAPIKeyResponse

func (response CreateOrgAPIKey403JSONResponse) VisitCreateOrgAPIKeyResponse(w http.ResponseWriter) error

type CreateOrgAPIKey404JSONResponse

type CreateOrgAPIKey404JSONResponse struct{ NotFoundJSONResponse }

func (CreateOrgAPIKey404JSONResponse) VisitCreateOrgAPIKeyResponse

func (response CreateOrgAPIKey404JSONResponse) VisitCreateOrgAPIKeyResponse(w http.ResponseWriter) error

type CreateOrgAPIKey409JSONResponse

type CreateOrgAPIKey409JSONResponse struct{ ConflictJSONResponse }

func (CreateOrgAPIKey409JSONResponse) VisitCreateOrgAPIKeyResponse

func (response CreateOrgAPIKey409JSONResponse) VisitCreateOrgAPIKeyResponse(w http.ResponseWriter) error

type CreateOrgAPIKey503JSONResponse

type CreateOrgAPIKey503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateOrgAPIKey503JSONResponse) VisitCreateOrgAPIKeyResponse

func (response CreateOrgAPIKey503JSONResponse) VisitCreateOrgAPIKeyResponse(w http.ResponseWriter) error

type CreateOrgAPIKeyJSONRequestBody

type CreateOrgAPIKeyJSONRequestBody = CreateOrgAPIKeyRequest

CreateOrgAPIKeyJSONRequestBody defines body for CreateOrgAPIKey for application/json ContentType.

type CreateOrgAPIKeyRequest

type CreateOrgAPIKeyRequest struct {
	Name string `json:"name"`

	// OrgRole The key's org role. Org API keys can never hold the owner role.
	OrgRole OrgAPIKeyRole `json:"org_role"`
}

CreateOrgAPIKeyRequest defines model for CreateOrgAPIKeyRequest.

type CreateOrgAPIKeyRequestObject

type CreateOrgAPIKeyRequestObject struct {
	OrgID string `json:"orgID"`
	Body  *CreateOrgAPIKeyJSONRequestBody
}

type CreateOrgAPIKeyResponse

type CreateOrgAPIKeyResponse struct {
	ApiKey OrgAPIKey `json:"api_key"`
	Token  string    `json:"token"`
}

CreateOrgAPIKeyResponse defines model for CreateOrgAPIKeyResponse.

type CreateOrgAPIKeyResponseObject

type CreateOrgAPIKeyResponseObject interface {
	VisitCreateOrgAPIKeyResponse(w http.ResponseWriter) error
}

type CreateOrgInvitation4XXJSONResponse

type CreateOrgInvitation4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateOrgInvitation4XXJSONResponse) VisitCreateOrgInvitationResponse

func (response CreateOrgInvitation4XXJSONResponse) VisitCreateOrgInvitationResponse(w http.ResponseWriter) error

type CreateOrgInvitation5XXJSONResponse

type CreateOrgInvitation5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateOrgInvitation5XXJSONResponse) VisitCreateOrgInvitationResponse

func (response CreateOrgInvitation5XXJSONResponse) VisitCreateOrgInvitationResponse(w http.ResponseWriter) error

type CreateOrgInvitation201JSONResponse

type CreateOrgInvitation201JSONResponse OrgInvitation

func (CreateOrgInvitation201JSONResponse) VisitCreateOrgInvitationResponse

func (response CreateOrgInvitation201JSONResponse) VisitCreateOrgInvitationResponse(w http.ResponseWriter) error

type CreateOrgInvitation400JSONResponse

type CreateOrgInvitation400JSONResponse struct{ BadRequestJSONResponse }

func (CreateOrgInvitation400JSONResponse) VisitCreateOrgInvitationResponse

func (response CreateOrgInvitation400JSONResponse) VisitCreateOrgInvitationResponse(w http.ResponseWriter) error

type CreateOrgInvitation401JSONResponse

type CreateOrgInvitation401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateOrgInvitation401JSONResponse) VisitCreateOrgInvitationResponse

func (response CreateOrgInvitation401JSONResponse) VisitCreateOrgInvitationResponse(w http.ResponseWriter) error

type CreateOrgInvitation403JSONResponse

type CreateOrgInvitation403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateOrgInvitation403JSONResponse) VisitCreateOrgInvitationResponse

func (response CreateOrgInvitation403JSONResponse) VisitCreateOrgInvitationResponse(w http.ResponseWriter) error

type CreateOrgInvitation404JSONResponse

type CreateOrgInvitation404JSONResponse struct{ NotFoundJSONResponse }

func (CreateOrgInvitation404JSONResponse) VisitCreateOrgInvitationResponse

func (response CreateOrgInvitation404JSONResponse) VisitCreateOrgInvitationResponse(w http.ResponseWriter) error

type CreateOrgInvitation409JSONResponse

type CreateOrgInvitation409JSONResponse struct{ ConflictJSONResponse }

func (CreateOrgInvitation409JSONResponse) VisitCreateOrgInvitationResponse

func (response CreateOrgInvitation409JSONResponse) VisitCreateOrgInvitationResponse(w http.ResponseWriter) error

type CreateOrgInvitation503JSONResponse

type CreateOrgInvitation503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateOrgInvitation503JSONResponse) VisitCreateOrgInvitationResponse

func (response CreateOrgInvitation503JSONResponse) VisitCreateOrgInvitationResponse(w http.ResponseWriter) error

type CreateOrgInvitationJSONRequestBody

type CreateOrgInvitationJSONRequestBody = CreateOrgInvitationRequest

CreateOrgInvitationJSONRequestBody defines body for CreateOrgInvitation for application/json ContentType.

type CreateOrgInvitationRequest

type CreateOrgInvitationRequest struct {
	Email openapi_types.Email `json:"email"`
	Role  string              `json:"role"`
}

CreateOrgInvitationRequest defines model for CreateOrgInvitationRequest.

type CreateOrgInvitationRequestObject

type CreateOrgInvitationRequestObject struct {
	OrgID string `json:"orgID"`
	Body  *CreateOrgInvitationJSONRequestBody
}

type CreateOrgInvitationResponseObject

type CreateOrgInvitationResponseObject interface {
	VisitCreateOrgInvitationResponse(w http.ResponseWriter) error
}

type CreateOrganization4XXJSONResponse

type CreateOrganization4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateOrganization4XXJSONResponse) VisitCreateOrganizationResponse

func (response CreateOrganization4XXJSONResponse) VisitCreateOrganizationResponse(w http.ResponseWriter) error

type CreateOrganization5XXJSONResponse

type CreateOrganization5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateOrganization5XXJSONResponse) VisitCreateOrganizationResponse

func (response CreateOrganization5XXJSONResponse) VisitCreateOrganizationResponse(w http.ResponseWriter) error

type CreateOrganization200JSONResponse

type CreateOrganization200JSONResponse CreateOrganizationResponse

func (CreateOrganization200JSONResponse) VisitCreateOrganizationResponse

func (response CreateOrganization200JSONResponse) VisitCreateOrganizationResponse(w http.ResponseWriter) error

type CreateOrganization201JSONResponse

type CreateOrganization201JSONResponse CreateOrganizationResponse

func (CreateOrganization201JSONResponse) VisitCreateOrganizationResponse

func (response CreateOrganization201JSONResponse) VisitCreateOrganizationResponse(w http.ResponseWriter) error

type CreateOrganization400JSONResponse

type CreateOrganization400JSONResponse struct{ BadRequestJSONResponse }

func (CreateOrganization400JSONResponse) VisitCreateOrganizationResponse

func (response CreateOrganization400JSONResponse) VisitCreateOrganizationResponse(w http.ResponseWriter) error

type CreateOrganization401JSONResponse

type CreateOrganization401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateOrganization401JSONResponse) VisitCreateOrganizationResponse

func (response CreateOrganization401JSONResponse) VisitCreateOrganizationResponse(w http.ResponseWriter) error

type CreateOrganization403JSONResponse

type CreateOrganization403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateOrganization403JSONResponse) VisitCreateOrganizationResponse

func (response CreateOrganization403JSONResponse) VisitCreateOrganizationResponse(w http.ResponseWriter) error

type CreateOrganization404JSONResponse

type CreateOrganization404JSONResponse struct{ NotFoundJSONResponse }

func (CreateOrganization404JSONResponse) VisitCreateOrganizationResponse

func (response CreateOrganization404JSONResponse) VisitCreateOrganizationResponse(w http.ResponseWriter) error

type CreateOrganization409JSONResponse

type CreateOrganization409JSONResponse struct{ ConflictJSONResponse }

func (CreateOrganization409JSONResponse) VisitCreateOrganizationResponse

func (response CreateOrganization409JSONResponse) VisitCreateOrganizationResponse(w http.ResponseWriter) error

type CreateOrganization503JSONResponse

type CreateOrganization503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateOrganization503JSONResponse) VisitCreateOrganizationResponse

func (response CreateOrganization503JSONResponse) VisitCreateOrganizationResponse(w http.ResponseWriter) error

type CreateOrganizationJSONRequestBody

type CreateOrganizationJSONRequestBody = CreateOrganizationRequest

CreateOrganizationJSONRequestBody defines body for CreateOrganization for application/json ContentType.

type CreateOrganizationParams

type CreateOrganizationParams struct {
	// IdempotencyKey Idempotency key for replay-safe mutating requests.
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

CreateOrganizationParams defines parameters for CreateOrganization.

type CreateOrganizationRequest

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

CreateOrganizationRequest defines model for CreateOrganizationRequest.

type CreateOrganizationRequestObject

type CreateOrganizationRequestObject struct {
	Params CreateOrganizationParams
	Body   *CreateOrganizationJSONRequestBody
}

type CreateOrganizationResponse

type CreateOrganizationResponse struct {
	Membership OrganizationMembership `json:"membership"`
	Org        Organization           `json:"org"`
	Project    Project                `json:"project"`
}

CreateOrganizationResponse defines model for CreateOrganizationResponse.

type CreateOrganizationResponseObject

type CreateOrganizationResponseObject interface {
	VisitCreateOrganizationResponse(w http.ResponseWriter) error
}

type CreatePersonalAccessToken4XXJSONResponse

type CreatePersonalAccessToken4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreatePersonalAccessToken4XXJSONResponse) VisitCreatePersonalAccessTokenResponse

func (response CreatePersonalAccessToken4XXJSONResponse) VisitCreatePersonalAccessTokenResponse(w http.ResponseWriter) error

type CreatePersonalAccessToken5XXJSONResponse

type CreatePersonalAccessToken5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreatePersonalAccessToken5XXJSONResponse) VisitCreatePersonalAccessTokenResponse

func (response CreatePersonalAccessToken5XXJSONResponse) VisitCreatePersonalAccessTokenResponse(w http.ResponseWriter) error

type CreatePersonalAccessToken201JSONResponse

type CreatePersonalAccessToken201JSONResponse CreatePersonalAccessTokenResponse

func (CreatePersonalAccessToken201JSONResponse) VisitCreatePersonalAccessTokenResponse

func (response CreatePersonalAccessToken201JSONResponse) VisitCreatePersonalAccessTokenResponse(w http.ResponseWriter) error

type CreatePersonalAccessToken400JSONResponse

type CreatePersonalAccessToken400JSONResponse struct{ BadRequestJSONResponse }

func (CreatePersonalAccessToken400JSONResponse) VisitCreatePersonalAccessTokenResponse

func (response CreatePersonalAccessToken400JSONResponse) VisitCreatePersonalAccessTokenResponse(w http.ResponseWriter) error

type CreatePersonalAccessToken401JSONResponse

type CreatePersonalAccessToken401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreatePersonalAccessToken401JSONResponse) VisitCreatePersonalAccessTokenResponse

func (response CreatePersonalAccessToken401JSONResponse) VisitCreatePersonalAccessTokenResponse(w http.ResponseWriter) error

type CreatePersonalAccessToken403JSONResponse

type CreatePersonalAccessToken403JSONResponse struct{ ForbiddenJSONResponse }

func (CreatePersonalAccessToken403JSONResponse) VisitCreatePersonalAccessTokenResponse

func (response CreatePersonalAccessToken403JSONResponse) VisitCreatePersonalAccessTokenResponse(w http.ResponseWriter) error

type CreatePersonalAccessToken404JSONResponse

type CreatePersonalAccessToken404JSONResponse struct{ NotFoundJSONResponse }

func (CreatePersonalAccessToken404JSONResponse) VisitCreatePersonalAccessTokenResponse

func (response CreatePersonalAccessToken404JSONResponse) VisitCreatePersonalAccessTokenResponse(w http.ResponseWriter) error

type CreatePersonalAccessToken409JSONResponse

type CreatePersonalAccessToken409JSONResponse struct{ ConflictJSONResponse }

func (CreatePersonalAccessToken409JSONResponse) VisitCreatePersonalAccessTokenResponse

func (response CreatePersonalAccessToken409JSONResponse) VisitCreatePersonalAccessTokenResponse(w http.ResponseWriter) error

type CreatePersonalAccessToken503JSONResponse

type CreatePersonalAccessToken503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreatePersonalAccessToken503JSONResponse) VisitCreatePersonalAccessTokenResponse

func (response CreatePersonalAccessToken503JSONResponse) VisitCreatePersonalAccessTokenResponse(w http.ResponseWriter) error

type CreatePersonalAccessTokenJSONRequestBody

type CreatePersonalAccessTokenJSONRequestBody = CreatePersonalAccessTokenRequest

CreatePersonalAccessTokenJSONRequestBody defines body for CreatePersonalAccessToken for application/json ContentType.

type CreatePersonalAccessTokenRequest

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

CreatePersonalAccessTokenRequest defines model for CreatePersonalAccessTokenRequest.

type CreatePersonalAccessTokenRequestObject

type CreatePersonalAccessTokenRequestObject struct {
	Body *CreatePersonalAccessTokenJSONRequestBody
}

type CreatePersonalAccessTokenResponse

type CreatePersonalAccessTokenResponse struct {
	Token       string              `json:"token"`
	TokenRecord PersonalAccessToken `json:"token_record"`
}

CreatePersonalAccessTokenResponse defines model for CreatePersonalAccessTokenResponse.

type CreatePersonalAccessTokenResponseObject

type CreatePersonalAccessTokenResponseObject interface {
	VisitCreatePersonalAccessTokenResponse(w http.ResponseWriter) error
}

type CreateProject4XXJSONResponse

type CreateProject4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateProject4XXJSONResponse) VisitCreateProjectResponse

func (response CreateProject4XXJSONResponse) VisitCreateProjectResponse(w http.ResponseWriter) error

type CreateProject5XXJSONResponse

type CreateProject5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateProject5XXJSONResponse) VisitCreateProjectResponse

func (response CreateProject5XXJSONResponse) VisitCreateProjectResponse(w http.ResponseWriter) error

type CreateProject200JSONResponse

type CreateProject200JSONResponse Project

func (CreateProject200JSONResponse) VisitCreateProjectResponse

func (response CreateProject200JSONResponse) VisitCreateProjectResponse(w http.ResponseWriter) error

type CreateProject201JSONResponse

type CreateProject201JSONResponse Project

func (CreateProject201JSONResponse) VisitCreateProjectResponse

func (response CreateProject201JSONResponse) VisitCreateProjectResponse(w http.ResponseWriter) error

type CreateProject400JSONResponse

type CreateProject400JSONResponse struct{ BadRequestJSONResponse }

func (CreateProject400JSONResponse) VisitCreateProjectResponse

func (response CreateProject400JSONResponse) VisitCreateProjectResponse(w http.ResponseWriter) error

type CreateProject401JSONResponse

type CreateProject401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateProject401JSONResponse) VisitCreateProjectResponse

func (response CreateProject401JSONResponse) VisitCreateProjectResponse(w http.ResponseWriter) error

type CreateProject403JSONResponse

type CreateProject403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateProject403JSONResponse) VisitCreateProjectResponse

func (response CreateProject403JSONResponse) VisitCreateProjectResponse(w http.ResponseWriter) error

type CreateProject404JSONResponse

type CreateProject404JSONResponse struct{ NotFoundJSONResponse }

func (CreateProject404JSONResponse) VisitCreateProjectResponse

func (response CreateProject404JSONResponse) VisitCreateProjectResponse(w http.ResponseWriter) error

type CreateProject409JSONResponse

type CreateProject409JSONResponse struct{ ConflictJSONResponse }

func (CreateProject409JSONResponse) VisitCreateProjectResponse

func (response CreateProject409JSONResponse) VisitCreateProjectResponse(w http.ResponseWriter) error

type CreateProject503JSONResponse

type CreateProject503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateProject503JSONResponse) VisitCreateProjectResponse

func (response CreateProject503JSONResponse) VisitCreateProjectResponse(w http.ResponseWriter) error

type CreateProjectJSONRequestBody

type CreateProjectJSONRequestBody = CreateProjectRequest

CreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.

type CreateProjectMachineGrant4XXJSONResponse

type CreateProjectMachineGrant4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateProjectMachineGrant4XXJSONResponse) VisitCreateProjectMachineGrantResponse

func (response CreateProjectMachineGrant4XXJSONResponse) VisitCreateProjectMachineGrantResponse(w http.ResponseWriter) error

type CreateProjectMachineGrant5XXJSONResponse

type CreateProjectMachineGrant5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateProjectMachineGrant5XXJSONResponse) VisitCreateProjectMachineGrantResponse

func (response CreateProjectMachineGrant5XXJSONResponse) VisitCreateProjectMachineGrantResponse(w http.ResponseWriter) error

type CreateProjectMachineGrant200JSONResponse

type CreateProjectMachineGrant200JSONResponse CreateProjectMachineGrantResponse

func (CreateProjectMachineGrant200JSONResponse) VisitCreateProjectMachineGrantResponse

func (response CreateProjectMachineGrant200JSONResponse) VisitCreateProjectMachineGrantResponse(w http.ResponseWriter) error

type CreateProjectMachineGrant201JSONResponse

type CreateProjectMachineGrant201JSONResponse CreateProjectMachineGrantResponse

func (CreateProjectMachineGrant201JSONResponse) VisitCreateProjectMachineGrantResponse

func (response CreateProjectMachineGrant201JSONResponse) VisitCreateProjectMachineGrantResponse(w http.ResponseWriter) error

type CreateProjectMachineGrant400JSONResponse

type CreateProjectMachineGrant400JSONResponse struct{ BadRequestJSONResponse }

func (CreateProjectMachineGrant400JSONResponse) VisitCreateProjectMachineGrantResponse

func (response CreateProjectMachineGrant400JSONResponse) VisitCreateProjectMachineGrantResponse(w http.ResponseWriter) error

type CreateProjectMachineGrant401JSONResponse

type CreateProjectMachineGrant401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateProjectMachineGrant401JSONResponse) VisitCreateProjectMachineGrantResponse

func (response CreateProjectMachineGrant401JSONResponse) VisitCreateProjectMachineGrantResponse(w http.ResponseWriter) error

type CreateProjectMachineGrant403JSONResponse

type CreateProjectMachineGrant403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateProjectMachineGrant403JSONResponse) VisitCreateProjectMachineGrantResponse

func (response CreateProjectMachineGrant403JSONResponse) VisitCreateProjectMachineGrantResponse(w http.ResponseWriter) error

type CreateProjectMachineGrant404JSONResponse

type CreateProjectMachineGrant404JSONResponse struct{ NotFoundJSONResponse }

func (CreateProjectMachineGrant404JSONResponse) VisitCreateProjectMachineGrantResponse

func (response CreateProjectMachineGrant404JSONResponse) VisitCreateProjectMachineGrantResponse(w http.ResponseWriter) error

type CreateProjectMachineGrant409JSONResponse

type CreateProjectMachineGrant409JSONResponse struct{ ConflictJSONResponse }

func (CreateProjectMachineGrant409JSONResponse) VisitCreateProjectMachineGrantResponse

func (response CreateProjectMachineGrant409JSONResponse) VisitCreateProjectMachineGrantResponse(w http.ResponseWriter) error

type CreateProjectMachineGrant503JSONResponse

type CreateProjectMachineGrant503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateProjectMachineGrant503JSONResponse) VisitCreateProjectMachineGrantResponse

func (response CreateProjectMachineGrant503JSONResponse) VisitCreateProjectMachineGrantResponse(w http.ResponseWriter) error

type CreateProjectMachineGrantJSONRequestBody

type CreateProjectMachineGrantJSONRequestBody = CreateProjectMachineGrantRequest

CreateProjectMachineGrantJSONRequestBody defines body for CreateProjectMachineGrant for application/json ContentType.

type CreateProjectMachineGrantParams

type CreateProjectMachineGrantParams struct {
	// IdempotencyKey Idempotency key for replay-safe mutating requests.
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

CreateProjectMachineGrantParams defines parameters for CreateProjectMachineGrant.

type CreateProjectMachineGrantRequest

type CreateProjectMachineGrantRequest struct {
	Description *string   `json:"description,omitempty"`
	MachineId   MachineID `json:"machine_id"`

	// Metadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters.
	Metadata Metadata `json:"metadata,omitempty"`
}

CreateProjectMachineGrantRequest defines model for CreateProjectMachineGrantRequest.

type CreateProjectMachineGrantRequestObject

type CreateProjectMachineGrantRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	Params    CreateProjectMachineGrantParams
	Body      *CreateProjectMachineGrantJSONRequestBody
}

type CreateProjectMachineGrantResponse

type CreateProjectMachineGrantResponse struct {
	Grant   ProjectMachineGrant `json:"grant"`
	Machine Machine             `json:"machine"`
}

CreateProjectMachineGrantResponse defines model for CreateProjectMachineGrantResponse.

type CreateProjectMachineGrantResponseObject

type CreateProjectMachineGrantResponseObject interface {
	VisitCreateProjectMachineGrantResponse(w http.ResponseWriter) error
}

type CreateProjectMachinePoolGrant4XXJSONResponse

type CreateProjectMachinePoolGrant4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateProjectMachinePoolGrant4XXJSONResponse) VisitCreateProjectMachinePoolGrantResponse

func (response CreateProjectMachinePoolGrant4XXJSONResponse) VisitCreateProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type CreateProjectMachinePoolGrant5XXJSONResponse

type CreateProjectMachinePoolGrant5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateProjectMachinePoolGrant5XXJSONResponse) VisitCreateProjectMachinePoolGrantResponse

func (response CreateProjectMachinePoolGrant5XXJSONResponse) VisitCreateProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type CreateProjectMachinePoolGrant200JSONResponse

type CreateProjectMachinePoolGrant200JSONResponse ProjectMachinePoolGrant

func (CreateProjectMachinePoolGrant200JSONResponse) VisitCreateProjectMachinePoolGrantResponse

func (response CreateProjectMachinePoolGrant200JSONResponse) VisitCreateProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type CreateProjectMachinePoolGrant201JSONResponse

type CreateProjectMachinePoolGrant201JSONResponse ProjectMachinePoolGrant

func (CreateProjectMachinePoolGrant201JSONResponse) VisitCreateProjectMachinePoolGrantResponse

func (response CreateProjectMachinePoolGrant201JSONResponse) VisitCreateProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type CreateProjectMachinePoolGrant400JSONResponse

type CreateProjectMachinePoolGrant400JSONResponse struct{ BadRequestJSONResponse }

func (CreateProjectMachinePoolGrant400JSONResponse) VisitCreateProjectMachinePoolGrantResponse

func (response CreateProjectMachinePoolGrant400JSONResponse) VisitCreateProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type CreateProjectMachinePoolGrant401JSONResponse

type CreateProjectMachinePoolGrant401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateProjectMachinePoolGrant401JSONResponse) VisitCreateProjectMachinePoolGrantResponse

func (response CreateProjectMachinePoolGrant401JSONResponse) VisitCreateProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type CreateProjectMachinePoolGrant403JSONResponse

type CreateProjectMachinePoolGrant403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateProjectMachinePoolGrant403JSONResponse) VisitCreateProjectMachinePoolGrantResponse

func (response CreateProjectMachinePoolGrant403JSONResponse) VisitCreateProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type CreateProjectMachinePoolGrant404JSONResponse

type CreateProjectMachinePoolGrant404JSONResponse struct{ NotFoundJSONResponse }

func (CreateProjectMachinePoolGrant404JSONResponse) VisitCreateProjectMachinePoolGrantResponse

func (response CreateProjectMachinePoolGrant404JSONResponse) VisitCreateProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type CreateProjectMachinePoolGrant409JSONResponse

type CreateProjectMachinePoolGrant409JSONResponse struct{ ConflictJSONResponse }

func (CreateProjectMachinePoolGrant409JSONResponse) VisitCreateProjectMachinePoolGrantResponse

func (response CreateProjectMachinePoolGrant409JSONResponse) VisitCreateProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type CreateProjectMachinePoolGrant503JSONResponse

type CreateProjectMachinePoolGrant503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateProjectMachinePoolGrant503JSONResponse) VisitCreateProjectMachinePoolGrantResponse

func (response CreateProjectMachinePoolGrant503JSONResponse) VisitCreateProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type CreateProjectMachinePoolGrantJSONRequestBody

type CreateProjectMachinePoolGrantJSONRequestBody = CreateProjectMachinePoolGrantRequest

CreateProjectMachinePoolGrantJSONRequestBody defines body for CreateProjectMachinePoolGrant for application/json ContentType.

type CreateProjectMachinePoolGrantParams

type CreateProjectMachinePoolGrantParams struct {
	// IdempotencyKey Idempotency key for replay-safe mutating requests.
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

CreateProjectMachinePoolGrantParams defines parameters for CreateProjectMachinePoolGrant.

type CreateProjectMachinePoolGrantRequest

type CreateProjectMachinePoolGrantRequest struct {
	DefaultCwd        *string `json:"default_cwd,omitempty"`
	DefaultMachineCpu *int32  `json:"default_machine_cpu,omitempty"`

	// DefaultMachineEnvOverlay Env overlay merged over the pool's default_machine_env for machines materialized through this grant; a null entry removes the key.
	DefaultMachineEnvOverlay             *map[string]*string     `json:"default_machine_env_overlay,omitempty"`
	DefaultMachineMemoryMb               *int32                  `json:"default_machine_memory_mb,omitempty"`
	DefaultMachineProviderOptionsOverlay *map[string]interface{} `json:"default_machine_provider_options_overlay,omitempty"`

	// DefaultMachineSecretEnvOverlay Secret env overlay merged over the pool's default_machine_secret_env for machines materialized through this grant; a null entry removes the key.
	DefaultMachineSecretEnvOverlay *map[string]*string `json:"default_machine_secret_env_overlay,omitempty"`
	Description                    *string             `json:"description,omitempty"`
	MachinePoolId                  MachinePoolID       `json:"machine_pool_id"`
	MaxMachineCpu                  *int32              `json:"max_machine_cpu,omitempty"`
	MaxMachineMemoryMb             *int32              `json:"max_machine_memory_mb,omitempty"`
	MaxTotalCpu                    *int32              `json:"max_total_cpu,omitempty"`
	MaxTotalMachines               *int32              `json:"max_total_machines,omitempty"`
	MaxTotalMemoryMb               *int32              `json:"max_total_memory_mb,omitempty"`

	// Metadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters.
	Metadata           Metadata `json:"metadata,omitempty"`
	MinMachineCpu      *int32   `json:"min_machine_cpu,omitempty"`
	MinMachineMemoryMb *int32   `json:"min_machine_memory_mb,omitempty"`
}

CreateProjectMachinePoolGrantRequest defines model for CreateProjectMachinePoolGrantRequest.

type CreateProjectMachinePoolGrantRequestObject

type CreateProjectMachinePoolGrantRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	Params    CreateProjectMachinePoolGrantParams
	Body      *CreateProjectMachinePoolGrantJSONRequestBody
}

type CreateProjectMachinePoolGrantResponseObject

type CreateProjectMachinePoolGrantResponseObject interface {
	VisitCreateProjectMachinePoolGrantResponse(w http.ResponseWriter) error
}

type CreateProjectModelGrant4XXJSONResponse

type CreateProjectModelGrant4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateProjectModelGrant4XXJSONResponse) VisitCreateProjectModelGrantResponse

func (response CreateProjectModelGrant4XXJSONResponse) VisitCreateProjectModelGrantResponse(w http.ResponseWriter) error

type CreateProjectModelGrant5XXJSONResponse

type CreateProjectModelGrant5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateProjectModelGrant5XXJSONResponse) VisitCreateProjectModelGrantResponse

func (response CreateProjectModelGrant5XXJSONResponse) VisitCreateProjectModelGrantResponse(w http.ResponseWriter) error

type CreateProjectModelGrant200JSONResponse

type CreateProjectModelGrant200JSONResponse ProjectModelGrantEnvelope

func (CreateProjectModelGrant200JSONResponse) VisitCreateProjectModelGrantResponse

func (response CreateProjectModelGrant200JSONResponse) VisitCreateProjectModelGrantResponse(w http.ResponseWriter) error

type CreateProjectModelGrant201JSONResponse

type CreateProjectModelGrant201JSONResponse ProjectModelGrantEnvelope

func (CreateProjectModelGrant201JSONResponse) VisitCreateProjectModelGrantResponse

func (response CreateProjectModelGrant201JSONResponse) VisitCreateProjectModelGrantResponse(w http.ResponseWriter) error

type CreateProjectModelGrant400JSONResponse

type CreateProjectModelGrant400JSONResponse struct{ BadRequestJSONResponse }

func (CreateProjectModelGrant400JSONResponse) VisitCreateProjectModelGrantResponse

func (response CreateProjectModelGrant400JSONResponse) VisitCreateProjectModelGrantResponse(w http.ResponseWriter) error

type CreateProjectModelGrant401JSONResponse

type CreateProjectModelGrant401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateProjectModelGrant401JSONResponse) VisitCreateProjectModelGrantResponse

func (response CreateProjectModelGrant401JSONResponse) VisitCreateProjectModelGrantResponse(w http.ResponseWriter) error

type CreateProjectModelGrant403JSONResponse

type CreateProjectModelGrant403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateProjectModelGrant403JSONResponse) VisitCreateProjectModelGrantResponse

func (response CreateProjectModelGrant403JSONResponse) VisitCreateProjectModelGrantResponse(w http.ResponseWriter) error

type CreateProjectModelGrant404JSONResponse

type CreateProjectModelGrant404JSONResponse struct{ NotFoundJSONResponse }

func (CreateProjectModelGrant404JSONResponse) VisitCreateProjectModelGrantResponse

func (response CreateProjectModelGrant404JSONResponse) VisitCreateProjectModelGrantResponse(w http.ResponseWriter) error

type CreateProjectModelGrant409JSONResponse

type CreateProjectModelGrant409JSONResponse struct{ ConflictJSONResponse }

func (CreateProjectModelGrant409JSONResponse) VisitCreateProjectModelGrantResponse

func (response CreateProjectModelGrant409JSONResponse) VisitCreateProjectModelGrantResponse(w http.ResponseWriter) error

type CreateProjectModelGrant503JSONResponse

type CreateProjectModelGrant503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateProjectModelGrant503JSONResponse) VisitCreateProjectModelGrantResponse

func (response CreateProjectModelGrant503JSONResponse) VisitCreateProjectModelGrantResponse(w http.ResponseWriter) error

type CreateProjectModelGrantJSONRequestBody

type CreateProjectModelGrantJSONRequestBody = CreateProjectModelGrantRequest

CreateProjectModelGrantJSONRequestBody defines body for CreateProjectModelGrant for application/json ContentType.

type CreateProjectModelGrantRequest

type CreateProjectModelGrantRequest struct {
	ConfiguredModelId ConfiguredModelID `json:"configured_model_id"`

	// ContextWindowTokens Optional project token-window limit. Cannot exceed the configured model's current limit.
	ContextWindowTokens *int `json:"context_window_tokens,omitempty"`

	// DefaultCacheRetention Default prompt-cache hint for model requests. `none` means Omnara does not send a cache hint; providers may still apply their own automatic caching. `short` and `long` are translated to the closest supported control for the selected API.
	DefaultCacheRetention *ModelCacheRetention `json:"default_cache_retention,omitempty"`

	// DefaultMaxOutputTokens Optional project default per-request output-token cap.
	DefaultMaxOutputTokens *int `json:"default_max_output_tokens,omitempty"`

	// DefaultReasoningEffort Optional project default reasoning effort.
	DefaultReasoningEffort *string `json:"default_reasoning_effort,omitempty"`

	// InputModalities Optional project subset of configured-model input types (text, image, or file). Empty or omitted means inherit.
	InputModalities *[]string `json:"input_modalities,omitempty"`

	// MaxOutputTokens Optional project output-token ceiling. Cannot exceed the configured model's ceiling.
	MaxOutputTokens *int `json:"max_output_tokens,omitempty"`

	// OutputModalities Optional project subset of configured-model output types. Empty or omitted means inherit.
	OutputModalities *[]string `json:"output_modalities,omitempty"`

	// SupportedReasoningEfforts Optional project subset of configured-model reasoning efforts. If this excludes the inherited default_reasoning_effort, set default_reasoning_effort on the grant too.
	SupportedReasoningEfforts *[]string `json:"supported_reasoning_efforts,omitempty"`

	// SupportsReasoning Optional project-level reasoning gate. Can disable reasoning, but cannot enable reasoning when the configured model does not support it.
	SupportsReasoning *bool `json:"supports_reasoning,omitempty"`

	// SupportsTools Optional project-level tool-use gate. Can disable tools, but cannot enable tools when the configured model does not support them.
	SupportsTools *bool `json:"supports_tools,omitempty"`
}

CreateProjectModelGrantRequest Grant a project access to a configured model. Optional fields can narrow the model's limits for this project; omitted fields inherit from the org-level configured model.

type CreateProjectModelGrantRequestObject

type CreateProjectModelGrantRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	Body      *CreateProjectModelGrantJSONRequestBody
}

type CreateProjectModelGrantResponseObject

type CreateProjectModelGrantResponseObject interface {
	VisitCreateProjectModelGrantResponse(w http.ResponseWriter) error
}

type CreateProjectParams

type CreateProjectParams struct {
	// IdempotencyKey Idempotency key for replay-safe mutating requests.
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

CreateProjectParams defines parameters for CreateProject.

type CreateProjectRequest

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

CreateProjectRequest defines model for CreateProjectRequest.

type CreateProjectRequestObject

type CreateProjectRequestObject struct {
	OrgID  string `json:"orgID"`
	Params CreateProjectParams
	Body   *CreateProjectJSONRequestBody
}

type CreateProjectResponseObject

type CreateProjectResponseObject interface {
	VisitCreateProjectResponse(w http.ResponseWriter) error
}

type CreateSecret4XXJSONResponse

type CreateSecret4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateSecret4XXJSONResponse) VisitCreateSecretResponse

func (response CreateSecret4XXJSONResponse) VisitCreateSecretResponse(w http.ResponseWriter) error

type CreateSecret5XXJSONResponse

type CreateSecret5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateSecret5XXJSONResponse) VisitCreateSecretResponse

func (response CreateSecret5XXJSONResponse) VisitCreateSecretResponse(w http.ResponseWriter) error

type CreateSecret201JSONResponse

type CreateSecret201JSONResponse Secret

func (CreateSecret201JSONResponse) VisitCreateSecretResponse

func (response CreateSecret201JSONResponse) VisitCreateSecretResponse(w http.ResponseWriter) error

type CreateSecret400JSONResponse

type CreateSecret400JSONResponse struct{ BadRequestJSONResponse }

func (CreateSecret400JSONResponse) VisitCreateSecretResponse

func (response CreateSecret400JSONResponse) VisitCreateSecretResponse(w http.ResponseWriter) error

type CreateSecret401JSONResponse

type CreateSecret401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateSecret401JSONResponse) VisitCreateSecretResponse

func (response CreateSecret401JSONResponse) VisitCreateSecretResponse(w http.ResponseWriter) error

type CreateSecret403JSONResponse

type CreateSecret403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateSecret403JSONResponse) VisitCreateSecretResponse

func (response CreateSecret403JSONResponse) VisitCreateSecretResponse(w http.ResponseWriter) error

type CreateSecret404JSONResponse

type CreateSecret404JSONResponse struct{ NotFoundJSONResponse }

func (CreateSecret404JSONResponse) VisitCreateSecretResponse

func (response CreateSecret404JSONResponse) VisitCreateSecretResponse(w http.ResponseWriter) error

type CreateSecret409JSONResponse

type CreateSecret409JSONResponse struct{ ConflictJSONResponse }

func (CreateSecret409JSONResponse) VisitCreateSecretResponse

func (response CreateSecret409JSONResponse) VisitCreateSecretResponse(w http.ResponseWriter) error

type CreateSecret500JSONResponse

type CreateSecret500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (CreateSecret500JSONResponse) VisitCreateSecretResponse

func (response CreateSecret500JSONResponse) VisitCreateSecretResponse(w http.ResponseWriter) error

type CreateSecret503JSONResponse

type CreateSecret503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateSecret503JSONResponse) VisitCreateSecretResponse

func (response CreateSecret503JSONResponse) VisitCreateSecretResponse(w http.ResponseWriter) error

type CreateSecretGrant4XXJSONResponse

type CreateSecretGrant4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateSecretGrant4XXJSONResponse) VisitCreateSecretGrantResponse

func (response CreateSecretGrant4XXJSONResponse) VisitCreateSecretGrantResponse(w http.ResponseWriter) error

type CreateSecretGrant5XXJSONResponse

type CreateSecretGrant5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateSecretGrant5XXJSONResponse) VisitCreateSecretGrantResponse

func (response CreateSecretGrant5XXJSONResponse) VisitCreateSecretGrantResponse(w http.ResponseWriter) error

type CreateSecretGrant201JSONResponse

type CreateSecretGrant201JSONResponse SecretGrant

func (CreateSecretGrant201JSONResponse) VisitCreateSecretGrantResponse

func (response CreateSecretGrant201JSONResponse) VisitCreateSecretGrantResponse(w http.ResponseWriter) error

type CreateSecretGrant400JSONResponse

type CreateSecretGrant400JSONResponse struct{ BadRequestJSONResponse }

func (CreateSecretGrant400JSONResponse) VisitCreateSecretGrantResponse

func (response CreateSecretGrant400JSONResponse) VisitCreateSecretGrantResponse(w http.ResponseWriter) error

type CreateSecretGrant401JSONResponse

type CreateSecretGrant401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateSecretGrant401JSONResponse) VisitCreateSecretGrantResponse

func (response CreateSecretGrant401JSONResponse) VisitCreateSecretGrantResponse(w http.ResponseWriter) error

type CreateSecretGrant403JSONResponse

type CreateSecretGrant403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateSecretGrant403JSONResponse) VisitCreateSecretGrantResponse

func (response CreateSecretGrant403JSONResponse) VisitCreateSecretGrantResponse(w http.ResponseWriter) error

type CreateSecretGrant404JSONResponse

type CreateSecretGrant404JSONResponse struct{ NotFoundJSONResponse }

func (CreateSecretGrant404JSONResponse) VisitCreateSecretGrantResponse

func (response CreateSecretGrant404JSONResponse) VisitCreateSecretGrantResponse(w http.ResponseWriter) error

type CreateSecretGrant409JSONResponse

type CreateSecretGrant409JSONResponse struct{ ConflictJSONResponse }

func (CreateSecretGrant409JSONResponse) VisitCreateSecretGrantResponse

func (response CreateSecretGrant409JSONResponse) VisitCreateSecretGrantResponse(w http.ResponseWriter) error

type CreateSecretGrant500JSONResponse

type CreateSecretGrant500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (CreateSecretGrant500JSONResponse) VisitCreateSecretGrantResponse

func (response CreateSecretGrant500JSONResponse) VisitCreateSecretGrantResponse(w http.ResponseWriter) error

type CreateSecretGrant503JSONResponse

type CreateSecretGrant503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateSecretGrant503JSONResponse) VisitCreateSecretGrantResponse

func (response CreateSecretGrant503JSONResponse) VisitCreateSecretGrantResponse(w http.ResponseWriter) error

type CreateSecretGrantJSONRequestBody

type CreateSecretGrantJSONRequestBody = SecretGrantCreateRequest

CreateSecretGrantJSONRequestBody defines body for CreateSecretGrant for application/json ContentType.

type CreateSecretGrantRequestObject

type CreateSecretGrantRequestObject struct {
	OrgID    string `json:"orgID"`
	SecretID string `json:"secretID"`
	Body     *CreateSecretGrantJSONRequestBody
}

type CreateSecretGrantResponseObject

type CreateSecretGrantResponseObject interface {
	VisitCreateSecretGrantResponse(w http.ResponseWriter) error
}

type CreateSecretJSONRequestBody

type CreateSecretJSONRequestBody = CreateSecretRequest

CreateSecretJSONRequestBody defines body for CreateSecret for application/json ContentType.

type CreateSecretRequest

type CreateSecretRequest struct {
	Material SecretMaterial `json:"material"`

	// Metadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters.
	Metadata Metadata         `json:"metadata,omitempty"`
	Name     string           `json:"name"`
	Owner    SecretOwnerInput `json:"owner"`
}

CreateSecretRequest defines model for CreateSecretRequest.

type CreateSecretRequestObject

type CreateSecretRequestObject struct {
	OrgID string `json:"orgID"`
	Body  *CreateSecretJSONRequestBody
}

type CreateSecretResponseObject

type CreateSecretResponseObject interface {
	VisitCreateSecretResponse(w http.ResponseWriter) error
}

type CreateSecretVersion4XXJSONResponse

type CreateSecretVersion4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateSecretVersion4XXJSONResponse) VisitCreateSecretVersionResponse

func (response CreateSecretVersion4XXJSONResponse) VisitCreateSecretVersionResponse(w http.ResponseWriter) error

type CreateSecretVersion5XXJSONResponse

type CreateSecretVersion5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateSecretVersion5XXJSONResponse) VisitCreateSecretVersionResponse

func (response CreateSecretVersion5XXJSONResponse) VisitCreateSecretVersionResponse(w http.ResponseWriter) error

type CreateSecretVersion200JSONResponse

type CreateSecretVersion200JSONResponse Secret

func (CreateSecretVersion200JSONResponse) VisitCreateSecretVersionResponse

func (response CreateSecretVersion200JSONResponse) VisitCreateSecretVersionResponse(w http.ResponseWriter) error

type CreateSecretVersion400JSONResponse

type CreateSecretVersion400JSONResponse struct{ BadRequestJSONResponse }

func (CreateSecretVersion400JSONResponse) VisitCreateSecretVersionResponse

func (response CreateSecretVersion400JSONResponse) VisitCreateSecretVersionResponse(w http.ResponseWriter) error

type CreateSecretVersion401JSONResponse

type CreateSecretVersion401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateSecretVersion401JSONResponse) VisitCreateSecretVersionResponse

func (response CreateSecretVersion401JSONResponse) VisitCreateSecretVersionResponse(w http.ResponseWriter) error

type CreateSecretVersion403JSONResponse

type CreateSecretVersion403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateSecretVersion403JSONResponse) VisitCreateSecretVersionResponse

func (response CreateSecretVersion403JSONResponse) VisitCreateSecretVersionResponse(w http.ResponseWriter) error

type CreateSecretVersion404JSONResponse

type CreateSecretVersion404JSONResponse struct{ NotFoundJSONResponse }

func (CreateSecretVersion404JSONResponse) VisitCreateSecretVersionResponse

func (response CreateSecretVersion404JSONResponse) VisitCreateSecretVersionResponse(w http.ResponseWriter) error

type CreateSecretVersion409JSONResponse

type CreateSecretVersion409JSONResponse struct{ ConflictJSONResponse }

func (CreateSecretVersion409JSONResponse) VisitCreateSecretVersionResponse

func (response CreateSecretVersion409JSONResponse) VisitCreateSecretVersionResponse(w http.ResponseWriter) error

type CreateSecretVersion500JSONResponse

type CreateSecretVersion500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (CreateSecretVersion500JSONResponse) VisitCreateSecretVersionResponse

func (response CreateSecretVersion500JSONResponse) VisitCreateSecretVersionResponse(w http.ResponseWriter) error

type CreateSecretVersion503JSONResponse

type CreateSecretVersion503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateSecretVersion503JSONResponse) VisitCreateSecretVersionResponse

func (response CreateSecretVersion503JSONResponse) VisitCreateSecretVersionResponse(w http.ResponseWriter) error

type CreateSecretVersionJSONRequestBody

type CreateSecretVersionJSONRequestBody = SecretVersionRequest

CreateSecretVersionJSONRequestBody defines body for CreateSecretVersion for application/json ContentType.

type CreateSecretVersionRequestObject

type CreateSecretVersionRequestObject struct {
	OrgID    string `json:"orgID"`
	SecretID string `json:"secretID"`
	Body     *CreateSecretVersionJSONRequestBody
}

type CreateSecretVersionResponseObject

type CreateSecretVersionResponseObject interface {
	VisitCreateSecretVersionResponse(w http.ResponseWriter) error
}

type CreateSkill4XXJSONResponse

type CreateSkill4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateSkill4XXJSONResponse) VisitCreateSkillResponse

func (response CreateSkill4XXJSONResponse) VisitCreateSkillResponse(w http.ResponseWriter) error

type CreateSkill5XXJSONResponse

type CreateSkill5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateSkill5XXJSONResponse) VisitCreateSkillResponse

func (response CreateSkill5XXJSONResponse) VisitCreateSkillResponse(w http.ResponseWriter) error

type CreateSkill201JSONResponse

type CreateSkill201JSONResponse Skill

func (CreateSkill201JSONResponse) VisitCreateSkillResponse

func (response CreateSkill201JSONResponse) VisitCreateSkillResponse(w http.ResponseWriter) error

type CreateSkill400JSONResponse

type CreateSkill400JSONResponse struct{ BadRequestJSONResponse }

func (CreateSkill400JSONResponse) VisitCreateSkillResponse

func (response CreateSkill400JSONResponse) VisitCreateSkillResponse(w http.ResponseWriter) error

type CreateSkill401JSONResponse

type CreateSkill401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateSkill401JSONResponse) VisitCreateSkillResponse

func (response CreateSkill401JSONResponse) VisitCreateSkillResponse(w http.ResponseWriter) error

type CreateSkill403JSONResponse

type CreateSkill403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateSkill403JSONResponse) VisitCreateSkillResponse

func (response CreateSkill403JSONResponse) VisitCreateSkillResponse(w http.ResponseWriter) error

type CreateSkill404JSONResponse

type CreateSkill404JSONResponse struct{ NotFoundJSONResponse }

func (CreateSkill404JSONResponse) VisitCreateSkillResponse

func (response CreateSkill404JSONResponse) VisitCreateSkillResponse(w http.ResponseWriter) error

type CreateSkill409JSONResponse

type CreateSkill409JSONResponse struct{ ConflictJSONResponse }

func (CreateSkill409JSONResponse) VisitCreateSkillResponse

func (response CreateSkill409JSONResponse) VisitCreateSkillResponse(w http.ResponseWriter) error

type CreateSkill413JSONResponse

type CreateSkill413JSONResponse Error

func (CreateSkill413JSONResponse) VisitCreateSkillResponse

func (response CreateSkill413JSONResponse) VisitCreateSkillResponse(w http.ResponseWriter) error

type CreateSkill500JSONResponse

type CreateSkill500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (CreateSkill500JSONResponse) VisitCreateSkillResponse

func (response CreateSkill500JSONResponse) VisitCreateSkillResponse(w http.ResponseWriter) error

type CreateSkill503JSONResponse

type CreateSkill503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateSkill503JSONResponse) VisitCreateSkillResponse

func (response CreateSkill503JSONResponse) VisitCreateSkillResponse(w http.ResponseWriter) error

type CreateSkillGrant4XXJSONResponse

type CreateSkillGrant4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateSkillGrant4XXJSONResponse) VisitCreateSkillGrantResponse

func (response CreateSkillGrant4XXJSONResponse) VisitCreateSkillGrantResponse(w http.ResponseWriter) error

type CreateSkillGrant5XXJSONResponse

type CreateSkillGrant5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateSkillGrant5XXJSONResponse) VisitCreateSkillGrantResponse

func (response CreateSkillGrant5XXJSONResponse) VisitCreateSkillGrantResponse(w http.ResponseWriter) error

type CreateSkillGrant201JSONResponse

type CreateSkillGrant201JSONResponse SkillGrant

func (CreateSkillGrant201JSONResponse) VisitCreateSkillGrantResponse

func (response CreateSkillGrant201JSONResponse) VisitCreateSkillGrantResponse(w http.ResponseWriter) error

type CreateSkillGrant400JSONResponse

type CreateSkillGrant400JSONResponse struct{ BadRequestJSONResponse }

func (CreateSkillGrant400JSONResponse) VisitCreateSkillGrantResponse

func (response CreateSkillGrant400JSONResponse) VisitCreateSkillGrantResponse(w http.ResponseWriter) error

type CreateSkillGrant401JSONResponse

type CreateSkillGrant401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateSkillGrant401JSONResponse) VisitCreateSkillGrantResponse

func (response CreateSkillGrant401JSONResponse) VisitCreateSkillGrantResponse(w http.ResponseWriter) error

type CreateSkillGrant403JSONResponse

type CreateSkillGrant403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateSkillGrant403JSONResponse) VisitCreateSkillGrantResponse

func (response CreateSkillGrant403JSONResponse) VisitCreateSkillGrantResponse(w http.ResponseWriter) error

type CreateSkillGrant404JSONResponse

type CreateSkillGrant404JSONResponse struct{ NotFoundJSONResponse }

func (CreateSkillGrant404JSONResponse) VisitCreateSkillGrantResponse

func (response CreateSkillGrant404JSONResponse) VisitCreateSkillGrantResponse(w http.ResponseWriter) error

type CreateSkillGrant409JSONResponse

type CreateSkillGrant409JSONResponse struct{ ConflictJSONResponse }

func (CreateSkillGrant409JSONResponse) VisitCreateSkillGrantResponse

func (response CreateSkillGrant409JSONResponse) VisitCreateSkillGrantResponse(w http.ResponseWriter) error

type CreateSkillGrant500JSONResponse

type CreateSkillGrant500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (CreateSkillGrant500JSONResponse) VisitCreateSkillGrantResponse

func (response CreateSkillGrant500JSONResponse) VisitCreateSkillGrantResponse(w http.ResponseWriter) error

type CreateSkillGrant503JSONResponse

type CreateSkillGrant503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateSkillGrant503JSONResponse) VisitCreateSkillGrantResponse

func (response CreateSkillGrant503JSONResponse) VisitCreateSkillGrantResponse(w http.ResponseWriter) error

type CreateSkillGrantJSONRequestBody

type CreateSkillGrantJSONRequestBody = SkillGrantCreateRequest

CreateSkillGrantJSONRequestBody defines body for CreateSkillGrant for application/json ContentType.

type CreateSkillGrantRequestObject

type CreateSkillGrantRequestObject struct {
	OrgID   string  `json:"orgID"`
	SkillID SkillID `json:"skillID"`
	Body    *CreateSkillGrantJSONRequestBody
}

type CreateSkillGrantResponseObject

type CreateSkillGrantResponseObject interface {
	VisitCreateSkillGrantResponse(w http.ResponseWriter) error
}

type CreateSkillMultipartRequestBody

type CreateSkillMultipartRequestBody = CreateSkillRequest

CreateSkillMultipartRequestBody defines body for CreateSkill for multipart/form-data ContentType.

type CreateSkillRequest

type CreateSkillRequest struct {
	Archive openapi_types.File `json:"archive"`
	Owner   SkillOwnerInput    `json:"owner"`
}

CreateSkillRequest defines model for CreateSkillRequest.

type CreateSkillRequestObject

type CreateSkillRequestObject struct {
	OrgID string `json:"orgID"`
	Body  *multipart.Reader
}

type CreateSkillResponseObject

type CreateSkillResponseObject interface {
	VisitCreateSkillResponse(w http.ResponseWriter) error
}

type CreateSlackSetup4XXJSONResponse

type CreateSlackSetup4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateSlackSetup4XXJSONResponse) VisitCreateSlackSetupResponse

func (response CreateSlackSetup4XXJSONResponse) VisitCreateSlackSetupResponse(w http.ResponseWriter) error

type CreateSlackSetup5XXJSONResponse

type CreateSlackSetup5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (CreateSlackSetup5XXJSONResponse) VisitCreateSlackSetupResponse

func (response CreateSlackSetup5XXJSONResponse) VisitCreateSlackSetupResponse(w http.ResponseWriter) error

type CreateSlackSetup201JSONResponse

type CreateSlackSetup201JSONResponse SlackSetup

func (CreateSlackSetup201JSONResponse) VisitCreateSlackSetupResponse

func (response CreateSlackSetup201JSONResponse) VisitCreateSlackSetupResponse(w http.ResponseWriter) error

type CreateSlackSetup400JSONResponse

type CreateSlackSetup400JSONResponse struct{ BadRequestJSONResponse }

func (CreateSlackSetup400JSONResponse) VisitCreateSlackSetupResponse

func (response CreateSlackSetup400JSONResponse) VisitCreateSlackSetupResponse(w http.ResponseWriter) error

type CreateSlackSetup401JSONResponse

type CreateSlackSetup401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateSlackSetup401JSONResponse) VisitCreateSlackSetupResponse

func (response CreateSlackSetup401JSONResponse) VisitCreateSlackSetupResponse(w http.ResponseWriter) error

type CreateSlackSetup403JSONResponse

type CreateSlackSetup403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateSlackSetup403JSONResponse) VisitCreateSlackSetupResponse

func (response CreateSlackSetup403JSONResponse) VisitCreateSlackSetupResponse(w http.ResponseWriter) error

type CreateSlackSetup404JSONResponse

type CreateSlackSetup404JSONResponse struct{ NotFoundJSONResponse }

func (CreateSlackSetup404JSONResponse) VisitCreateSlackSetupResponse

func (response CreateSlackSetup404JSONResponse) VisitCreateSlackSetupResponse(w http.ResponseWriter) error

type CreateSlackSetup409JSONResponse

type CreateSlackSetup409JSONResponse struct{ ConflictJSONResponse }

func (CreateSlackSetup409JSONResponse) VisitCreateSlackSetupResponse

func (response CreateSlackSetup409JSONResponse) VisitCreateSlackSetupResponse(w http.ResponseWriter) error

type CreateSlackSetup503JSONResponse

type CreateSlackSetup503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (CreateSlackSetup503JSONResponse) VisitCreateSlackSetupResponse

func (response CreateSlackSetup503JSONResponse) VisitCreateSlackSetupResponse(w http.ResponseWriter) error

type CreateSlackSetupJSONRequestBody

type CreateSlackSetupJSONRequestBody = CreateSlackSetupRequest

CreateSlackSetupJSONRequestBody defines body for CreateSlackSetup for application/json ContentType.

type CreateSlackSetupRequest

type CreateSlackSetupRequest struct {
	AppConfigurationToken string          `json:"app_configuration_token"`
	AppName               string          `json:"app_name"`
	Icon                  *SlackSetupIcon `json:"icon,omitempty"`
	ReturnTo              *string         `json:"return_to,omitempty"`
}

CreateSlackSetupRequest defines model for CreateSlackSetupRequest.

type CreateSlackSetupRequestObject

type CreateSlackSetupRequestObject struct {
	OrgID          string `json:"orgID"`
	ProjectID      string `json:"projectID"`
	AgentProfileID string `json:"agentProfileID"`
	Body           *CreateSlackSetupJSONRequestBody
}

type CreateSlackSetupResponseObject

type CreateSlackSetupResponseObject interface {
	VisitCreateSlackSetupResponse(w http.ResponseWriter) error
}

type CreatedResourceListSort

type CreatedResourceListSort string

CreatedResourceListSort Sort order for named resources that expose a created timestamp.

const (
	CreatedResourceListSortCreatedAt      CreatedResourceListSort = "created_at"
	CreatedResourceListSortMinusCreatedAt CreatedResourceListSort = "-created_at"
	CreatedResourceListSortMinusName      CreatedResourceListSort = "-name"
	CreatedResourceListSortName           CreatedResourceListSort = "name"
)

Defines values for CreatedResourceListSort.

func (CreatedResourceListSort) Valid

func (e CreatedResourceListSort) Valid() bool

Valid indicates whether the value is a known member of the CreatedResourceListSort enum.

type CurrentUser

type CurrentUser struct {
	Orgs []CurrentUserOrg    `json:"orgs"`
	User CurrentUserIdentity `json:"user"`
}

CurrentUser defines model for CurrentUser.

type CurrentUserIdentity

type CurrentUserIdentity struct {
	DisplayName string `json:"display_name"`

	// Email The user's primary verified email, or an empty string if none.
	Email string `json:"email"`
	Id    UserID `json:"id"`
}

CurrentUserIdentity defines model for CurrentUserIdentity.

type CurrentUserOrg

type CurrentUserOrg struct {
	// CreatedAt Organization creation timestamp, not the membership join timestamp.
	CreatedAt Timestamp      `json:"created_at"`
	Id        OrganizationID `json:"id"`
	Name      string         `json:"name"`

	// Role The authenticated user's role in this organization.
	Role string `json:"role"`
}

CurrentUserOrg defines model for CurrentUserOrg.

type DaemonRuntime

type DaemonRuntime struct {
	Capacity             map[string]interface{}       `json:"capacity"`
	CreatedAt            Timestamp                    `json:"created_at"`
	DaemonInstanceId     openapi_types.UUID           `json:"daemon_instance_id"`
	DaemonVersion        string                       `json:"daemon_version"`
	EndedAt              nullable.Nullable[Timestamp] `json:"ended_at"`
	Id                   DaemonRuntimeID              `json:"id"`
	LastSeenAt           Timestamp                    `json:"last_seen_at"`
	LeaseExpiresAt       Timestamp                    `json:"lease_expires_at"`
	MachineId            MachineID                    `json:"machine_id"`
	NextHeartbeatAfterMs int64                        `json:"next_heartbeat_after_ms"`
	OrgId                OrganizationID               `json:"org_id"`
	State                DaemonRuntimeState           `json:"state"`
	StateReasonCode      string                       `json:"state_reason_code"`
	StateReasonMessage   string                       `json:"state_reason_message"`
}

DaemonRuntime defines model for DaemonRuntime.

type DaemonRuntimeID

type DaemonRuntimeID = string

DaemonRuntimeID defines model for DaemonRuntimeID.

type DaemonRuntimeReconciliation

type DaemonRuntimeReconciliation struct {
	Processes []ProcessReconciliationDirective `json:"processes"`
}

DaemonRuntimeReconciliation defines model for DaemonRuntimeReconciliation.

type DaemonRuntimeState

type DaemonRuntimeState string

DaemonRuntimeState defines model for DaemonRuntimeState.

const (
	DaemonRuntimeStateActive DaemonRuntimeState = "active"
	DaemonRuntimeStateEnded  DaemonRuntimeState = "ended"
)

Defines values for DaemonRuntimeState.

func (DaemonRuntimeState) Valid

func (e DaemonRuntimeState) Valid() bool

Valid indicates whether the value is a known member of the DaemonRuntimeState enum.

type DeclineInvitation4XXJSONResponse

type DeclineInvitation4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeclineInvitation4XXJSONResponse) VisitDeclineInvitationResponse

func (response DeclineInvitation4XXJSONResponse) VisitDeclineInvitationResponse(w http.ResponseWriter) error

type DeclineInvitation5XXJSONResponse

type DeclineInvitation5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeclineInvitation5XXJSONResponse) VisitDeclineInvitationResponse

func (response DeclineInvitation5XXJSONResponse) VisitDeclineInvitationResponse(w http.ResponseWriter) error

type DeclineInvitation200JSONResponse

type DeclineInvitation200JSONResponse OrgInvitation

func (DeclineInvitation200JSONResponse) VisitDeclineInvitationResponse

func (response DeclineInvitation200JSONResponse) VisitDeclineInvitationResponse(w http.ResponseWriter) error

type DeclineInvitation400JSONResponse

type DeclineInvitation400JSONResponse struct{ BadRequestJSONResponse }

func (DeclineInvitation400JSONResponse) VisitDeclineInvitationResponse

func (response DeclineInvitation400JSONResponse) VisitDeclineInvitationResponse(w http.ResponseWriter) error

type DeclineInvitation401JSONResponse

type DeclineInvitation401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeclineInvitation401JSONResponse) VisitDeclineInvitationResponse

func (response DeclineInvitation401JSONResponse) VisitDeclineInvitationResponse(w http.ResponseWriter) error

type DeclineInvitation403JSONResponse

type DeclineInvitation403JSONResponse struct{ ForbiddenJSONResponse }

func (DeclineInvitation403JSONResponse) VisitDeclineInvitationResponse

func (response DeclineInvitation403JSONResponse) VisitDeclineInvitationResponse(w http.ResponseWriter) error

type DeclineInvitation404JSONResponse

type DeclineInvitation404JSONResponse struct{ NotFoundJSONResponse }

func (DeclineInvitation404JSONResponse) VisitDeclineInvitationResponse

func (response DeclineInvitation404JSONResponse) VisitDeclineInvitationResponse(w http.ResponseWriter) error

type DeclineInvitation409JSONResponse

type DeclineInvitation409JSONResponse struct{ ConflictJSONResponse }

func (DeclineInvitation409JSONResponse) VisitDeclineInvitationResponse

func (response DeclineInvitation409JSONResponse) VisitDeclineInvitationResponse(w http.ResponseWriter) error

type DeclineInvitation503JSONResponse

type DeclineInvitation503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (DeclineInvitation503JSONResponse) VisitDeclineInvitationResponse

func (response DeclineInvitation503JSONResponse) VisitDeclineInvitationResponse(w http.ResponseWriter) error

type DeclineInvitationRequestObject

type DeclineInvitationRequestObject struct {
	InvitationID string `json:"invitationID"`
}

type DeclineInvitationResponseObject

type DeclineInvitationResponseObject interface {
	VisitDeclineInvitationResponse(w http.ResponseWriter) error
}

type DeleteAgentProfile4XXJSONResponse

type DeleteAgentProfile4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteAgentProfile4XXJSONResponse) VisitDeleteAgentProfileResponse

func (response DeleteAgentProfile4XXJSONResponse) VisitDeleteAgentProfileResponse(w http.ResponseWriter) error

type DeleteAgentProfile5XXJSONResponse

type DeleteAgentProfile5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteAgentProfile5XXJSONResponse) VisitDeleteAgentProfileResponse

func (response DeleteAgentProfile5XXJSONResponse) VisitDeleteAgentProfileResponse(w http.ResponseWriter) error

type DeleteAgentProfile204Response

type DeleteAgentProfile204Response struct {
}

func (DeleteAgentProfile204Response) VisitDeleteAgentProfileResponse

func (response DeleteAgentProfile204Response) VisitDeleteAgentProfileResponse(w http.ResponseWriter) error

type DeleteAgentProfile400JSONResponse

type DeleteAgentProfile400JSONResponse struct{ BadRequestJSONResponse }

func (DeleteAgentProfile400JSONResponse) VisitDeleteAgentProfileResponse

func (response DeleteAgentProfile400JSONResponse) VisitDeleteAgentProfileResponse(w http.ResponseWriter) error

type DeleteAgentProfile401JSONResponse

type DeleteAgentProfile401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteAgentProfile401JSONResponse) VisitDeleteAgentProfileResponse

func (response DeleteAgentProfile401JSONResponse) VisitDeleteAgentProfileResponse(w http.ResponseWriter) error

type DeleteAgentProfile403JSONResponse

type DeleteAgentProfile403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteAgentProfile403JSONResponse) VisitDeleteAgentProfileResponse

func (response DeleteAgentProfile403JSONResponse) VisitDeleteAgentProfileResponse(w http.ResponseWriter) error

type DeleteAgentProfile404JSONResponse

type DeleteAgentProfile404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteAgentProfile404JSONResponse) VisitDeleteAgentProfileResponse

func (response DeleteAgentProfile404JSONResponse) VisitDeleteAgentProfileResponse(w http.ResponseWriter) error

type DeleteAgentProfile409JSONResponse

type DeleteAgentProfile409JSONResponse struct{ ConflictJSONResponse }

func (DeleteAgentProfile409JSONResponse) VisitDeleteAgentProfileResponse

func (response DeleteAgentProfile409JSONResponse) VisitDeleteAgentProfileResponse(w http.ResponseWriter) error

type DeleteAgentProfile503JSONResponse

type DeleteAgentProfile503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (DeleteAgentProfile503JSONResponse) VisitDeleteAgentProfileResponse

func (response DeleteAgentProfile503JSONResponse) VisitDeleteAgentProfileResponse(w http.ResponseWriter) error

type DeleteAgentProfileRequestObject

type DeleteAgentProfileRequestObject struct {
	OrgID          string `json:"orgID"`
	ProjectID      string `json:"projectID"`
	AgentProfileID string `json:"agentProfileID"`
}

type DeleteAgentProfileResponseObject

type DeleteAgentProfileResponseObject interface {
	VisitDeleteAgentProfileResponse(w http.ResponseWriter) error
}

type DeleteConfiguredModel4XXJSONResponse

type DeleteConfiguredModel4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteConfiguredModel4XXJSONResponse) VisitDeleteConfiguredModelResponse

func (response DeleteConfiguredModel4XXJSONResponse) VisitDeleteConfiguredModelResponse(w http.ResponseWriter) error

type DeleteConfiguredModel5XXJSONResponse

type DeleteConfiguredModel5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteConfiguredModel5XXJSONResponse) VisitDeleteConfiguredModelResponse

func (response DeleteConfiguredModel5XXJSONResponse) VisitDeleteConfiguredModelResponse(w http.ResponseWriter) error

type DeleteConfiguredModel204Response

type DeleteConfiguredModel204Response struct {
}

func (DeleteConfiguredModel204Response) VisitDeleteConfiguredModelResponse

func (response DeleteConfiguredModel204Response) VisitDeleteConfiguredModelResponse(w http.ResponseWriter) error

type DeleteConfiguredModel400JSONResponse

type DeleteConfiguredModel400JSONResponse struct{ BadRequestJSONResponse }

func (DeleteConfiguredModel400JSONResponse) VisitDeleteConfiguredModelResponse

func (response DeleteConfiguredModel400JSONResponse) VisitDeleteConfiguredModelResponse(w http.ResponseWriter) error

type DeleteConfiguredModel401JSONResponse

type DeleteConfiguredModel401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteConfiguredModel401JSONResponse) VisitDeleteConfiguredModelResponse

func (response DeleteConfiguredModel401JSONResponse) VisitDeleteConfiguredModelResponse(w http.ResponseWriter) error

type DeleteConfiguredModel403JSONResponse

type DeleteConfiguredModel403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteConfiguredModel403JSONResponse) VisitDeleteConfiguredModelResponse

func (response DeleteConfiguredModel403JSONResponse) VisitDeleteConfiguredModelResponse(w http.ResponseWriter) error

type DeleteConfiguredModel404JSONResponse

type DeleteConfiguredModel404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteConfiguredModel404JSONResponse) VisitDeleteConfiguredModelResponse

func (response DeleteConfiguredModel404JSONResponse) VisitDeleteConfiguredModelResponse(w http.ResponseWriter) error

type DeleteConfiguredModel409JSONResponse

type DeleteConfiguredModel409JSONResponse struct{ ConflictJSONResponse }

func (DeleteConfiguredModel409JSONResponse) VisitDeleteConfiguredModelResponse

func (response DeleteConfiguredModel409JSONResponse) VisitDeleteConfiguredModelResponse(w http.ResponseWriter) error

type DeleteConfiguredModel503JSONResponse

type DeleteConfiguredModel503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (DeleteConfiguredModel503JSONResponse) VisitDeleteConfiguredModelResponse

func (response DeleteConfiguredModel503JSONResponse) VisitDeleteConfiguredModelResponse(w http.ResponseWriter) error

type DeleteConfiguredModelRequestObject

type DeleteConfiguredModelRequestObject struct {
	OrgID                 string `json:"orgID"`
	ModelProviderConfigID string `json:"modelProviderConfigID"`
	ConfiguredModelID     string `json:"configuredModelID"`
}

type DeleteConfiguredModelResponseObject

type DeleteConfiguredModelResponseObject interface {
	VisitDeleteConfiguredModelResponse(w http.ResponseWriter) error
}

type DeleteCurrentUser4XXJSONResponse

type DeleteCurrentUser4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteCurrentUser4XXJSONResponse) VisitDeleteCurrentUserResponse

func (response DeleteCurrentUser4XXJSONResponse) VisitDeleteCurrentUserResponse(w http.ResponseWriter) error

type DeleteCurrentUser5XXJSONResponse

type DeleteCurrentUser5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteCurrentUser5XXJSONResponse) VisitDeleteCurrentUserResponse

func (response DeleteCurrentUser5XXJSONResponse) VisitDeleteCurrentUserResponse(w http.ResponseWriter) error

type DeleteCurrentUser204Response

type DeleteCurrentUser204Response struct {
}

func (DeleteCurrentUser204Response) VisitDeleteCurrentUserResponse

func (response DeleteCurrentUser204Response) VisitDeleteCurrentUserResponse(w http.ResponseWriter) error

type DeleteCurrentUser400JSONResponse

type DeleteCurrentUser400JSONResponse struct{ BadRequestJSONResponse }

func (DeleteCurrentUser400JSONResponse) VisitDeleteCurrentUserResponse

func (response DeleteCurrentUser400JSONResponse) VisitDeleteCurrentUserResponse(w http.ResponseWriter) error

type DeleteCurrentUser401JSONResponse

type DeleteCurrentUser401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteCurrentUser401JSONResponse) VisitDeleteCurrentUserResponse

func (response DeleteCurrentUser401JSONResponse) VisitDeleteCurrentUserResponse(w http.ResponseWriter) error

type DeleteCurrentUser403JSONResponse

type DeleteCurrentUser403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteCurrentUser403JSONResponse) VisitDeleteCurrentUserResponse

func (response DeleteCurrentUser403JSONResponse) VisitDeleteCurrentUserResponse(w http.ResponseWriter) error

type DeleteCurrentUser404JSONResponse

type DeleteCurrentUser404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteCurrentUser404JSONResponse) VisitDeleteCurrentUserResponse

func (response DeleteCurrentUser404JSONResponse) VisitDeleteCurrentUserResponse(w http.ResponseWriter) error

type DeleteCurrentUser409JSONResponse

type DeleteCurrentUser409JSONResponse struct{ ConflictJSONResponse }

func (DeleteCurrentUser409JSONResponse) VisitDeleteCurrentUserResponse

func (response DeleteCurrentUser409JSONResponse) VisitDeleteCurrentUserResponse(w http.ResponseWriter) error

type DeleteCurrentUser503JSONResponse

type DeleteCurrentUser503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (DeleteCurrentUser503JSONResponse) VisitDeleteCurrentUserResponse

func (response DeleteCurrentUser503JSONResponse) VisitDeleteCurrentUserResponse(w http.ResponseWriter) error

type DeleteCurrentUserRequestObject

type DeleteCurrentUserRequestObject struct {
}

type DeleteCurrentUserResponseObject

type DeleteCurrentUserResponseObject interface {
	VisitDeleteCurrentUserResponse(w http.ResponseWriter) error
}

type DeleteIntegrationInstall4XXJSONResponse

type DeleteIntegrationInstall4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteIntegrationInstall4XXJSONResponse) VisitDeleteIntegrationInstallResponse

func (response DeleteIntegrationInstall4XXJSONResponse) VisitDeleteIntegrationInstallResponse(w http.ResponseWriter) error

type DeleteIntegrationInstall5XXJSONResponse

type DeleteIntegrationInstall5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteIntegrationInstall5XXJSONResponse) VisitDeleteIntegrationInstallResponse

func (response DeleteIntegrationInstall5XXJSONResponse) VisitDeleteIntegrationInstallResponse(w http.ResponseWriter) error

type DeleteIntegrationInstall204Response

type DeleteIntegrationInstall204Response struct {
}

func (DeleteIntegrationInstall204Response) VisitDeleteIntegrationInstallResponse

func (response DeleteIntegrationInstall204Response) VisitDeleteIntegrationInstallResponse(w http.ResponseWriter) error

type DeleteIntegrationInstall400JSONResponse

type DeleteIntegrationInstall400JSONResponse struct{ BadRequestJSONResponse }

func (DeleteIntegrationInstall400JSONResponse) VisitDeleteIntegrationInstallResponse

func (response DeleteIntegrationInstall400JSONResponse) VisitDeleteIntegrationInstallResponse(w http.ResponseWriter) error

type DeleteIntegrationInstall401JSONResponse

type DeleteIntegrationInstall401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteIntegrationInstall401JSONResponse) VisitDeleteIntegrationInstallResponse

func (response DeleteIntegrationInstall401JSONResponse) VisitDeleteIntegrationInstallResponse(w http.ResponseWriter) error

type DeleteIntegrationInstall403JSONResponse

type DeleteIntegrationInstall403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteIntegrationInstall403JSONResponse) VisitDeleteIntegrationInstallResponse

func (response DeleteIntegrationInstall403JSONResponse) VisitDeleteIntegrationInstallResponse(w http.ResponseWriter) error

type DeleteIntegrationInstall404JSONResponse

type DeleteIntegrationInstall404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteIntegrationInstall404JSONResponse) VisitDeleteIntegrationInstallResponse

func (response DeleteIntegrationInstall404JSONResponse) VisitDeleteIntegrationInstallResponse(w http.ResponseWriter) error

type DeleteIntegrationInstall503JSONResponse

type DeleteIntegrationInstall503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (DeleteIntegrationInstall503JSONResponse) VisitDeleteIntegrationInstallResponse

func (response DeleteIntegrationInstall503JSONResponse) VisitDeleteIntegrationInstallResponse(w http.ResponseWriter) error

type DeleteIntegrationInstallRequestObject

type DeleteIntegrationInstallRequestObject struct {
	OrgID                string `json:"orgID"`
	ProjectID            string `json:"projectID"`
	IntegrationInstallID string `json:"integrationInstallID"`
}

type DeleteIntegrationInstallResponseObject

type DeleteIntegrationInstallResponseObject interface {
	VisitDeleteIntegrationInstallResponse(w http.ResponseWriter) error
}

type DeleteMachine4XXJSONResponse

type DeleteMachine4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteMachine4XXJSONResponse) VisitDeleteMachineResponse

func (response DeleteMachine4XXJSONResponse) VisitDeleteMachineResponse(w http.ResponseWriter) error

type DeleteMachine5XXJSONResponse

type DeleteMachine5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteMachine5XXJSONResponse) VisitDeleteMachineResponse

func (response DeleteMachine5XXJSONResponse) VisitDeleteMachineResponse(w http.ResponseWriter) error

type DeleteMachine204Response

type DeleteMachine204Response struct {
}

func (DeleteMachine204Response) VisitDeleteMachineResponse

func (response DeleteMachine204Response) VisitDeleteMachineResponse(w http.ResponseWriter) error

type DeleteMachine400JSONResponse

type DeleteMachine400JSONResponse struct{ BadRequestJSONResponse }

func (DeleteMachine400JSONResponse) VisitDeleteMachineResponse

func (response DeleteMachine400JSONResponse) VisitDeleteMachineResponse(w http.ResponseWriter) error

type DeleteMachine401JSONResponse

type DeleteMachine401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteMachine401JSONResponse) VisitDeleteMachineResponse

func (response DeleteMachine401JSONResponse) VisitDeleteMachineResponse(w http.ResponseWriter) error

type DeleteMachine403JSONResponse

type DeleteMachine403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteMachine403JSONResponse) VisitDeleteMachineResponse

func (response DeleteMachine403JSONResponse) VisitDeleteMachineResponse(w http.ResponseWriter) error

type DeleteMachine404JSONResponse

type DeleteMachine404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteMachine404JSONResponse) VisitDeleteMachineResponse

func (response DeleteMachine404JSONResponse) VisitDeleteMachineResponse(w http.ResponseWriter) error

type DeleteMachine503JSONResponse

type DeleteMachine503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (DeleteMachine503JSONResponse) VisitDeleteMachineResponse

func (response DeleteMachine503JSONResponse) VisitDeleteMachineResponse(w http.ResponseWriter) error

type DeleteMachinePool4XXJSONResponse

type DeleteMachinePool4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteMachinePool4XXJSONResponse) VisitDeleteMachinePoolResponse

func (response DeleteMachinePool4XXJSONResponse) VisitDeleteMachinePoolResponse(w http.ResponseWriter) error

type DeleteMachinePool5XXJSONResponse

type DeleteMachinePool5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteMachinePool5XXJSONResponse) VisitDeleteMachinePoolResponse

func (response DeleteMachinePool5XXJSONResponse) VisitDeleteMachinePoolResponse(w http.ResponseWriter) error

type DeleteMachinePool204Response

type DeleteMachinePool204Response struct {
}

func (DeleteMachinePool204Response) VisitDeleteMachinePoolResponse

func (response DeleteMachinePool204Response) VisitDeleteMachinePoolResponse(w http.ResponseWriter) error

type DeleteMachinePool400JSONResponse

type DeleteMachinePool400JSONResponse struct{ BadRequestJSONResponse }

func (DeleteMachinePool400JSONResponse) VisitDeleteMachinePoolResponse

func (response DeleteMachinePool400JSONResponse) VisitDeleteMachinePoolResponse(w http.ResponseWriter) error

type DeleteMachinePool401JSONResponse

type DeleteMachinePool401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteMachinePool401JSONResponse) VisitDeleteMachinePoolResponse

func (response DeleteMachinePool401JSONResponse) VisitDeleteMachinePoolResponse(w http.ResponseWriter) error

type DeleteMachinePool403JSONResponse

type DeleteMachinePool403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteMachinePool403JSONResponse) VisitDeleteMachinePoolResponse

func (response DeleteMachinePool403JSONResponse) VisitDeleteMachinePoolResponse(w http.ResponseWriter) error

type DeleteMachinePool404JSONResponse

type DeleteMachinePool404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteMachinePool404JSONResponse) VisitDeleteMachinePoolResponse

func (response DeleteMachinePool404JSONResponse) VisitDeleteMachinePoolResponse(w http.ResponseWriter) error

type DeleteMachinePool409JSONResponse

type DeleteMachinePool409JSONResponse struct{ ConflictJSONResponse }

func (DeleteMachinePool409JSONResponse) VisitDeleteMachinePoolResponse

func (response DeleteMachinePool409JSONResponse) VisitDeleteMachinePoolResponse(w http.ResponseWriter) error

type DeleteMachinePool503JSONResponse

type DeleteMachinePool503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (DeleteMachinePool503JSONResponse) VisitDeleteMachinePoolResponse

func (response DeleteMachinePool503JSONResponse) VisitDeleteMachinePoolResponse(w http.ResponseWriter) error

type DeleteMachinePoolRequestObject

type DeleteMachinePoolRequestObject struct {
	OrgID  string `json:"orgID"`
	PoolID string `json:"poolID"`
}

type DeleteMachinePoolResponseObject

type DeleteMachinePoolResponseObject interface {
	VisitDeleteMachinePoolResponse(w http.ResponseWriter) error
}

type DeleteMachineRequestObject

type DeleteMachineRequestObject struct {
	OrgID     string `json:"orgID"`
	MachineID string `json:"machineID"`
}

type DeleteMachineResponseObject

type DeleteMachineResponseObject interface {
	VisitDeleteMachineResponse(w http.ResponseWriter) error
}

type DeleteModelProviderConfig4XXJSONResponse

type DeleteModelProviderConfig4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteModelProviderConfig4XXJSONResponse) VisitDeleteModelProviderConfigResponse

func (response DeleteModelProviderConfig4XXJSONResponse) VisitDeleteModelProviderConfigResponse(w http.ResponseWriter) error

type DeleteModelProviderConfig5XXJSONResponse

type DeleteModelProviderConfig5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteModelProviderConfig5XXJSONResponse) VisitDeleteModelProviderConfigResponse

func (response DeleteModelProviderConfig5XXJSONResponse) VisitDeleteModelProviderConfigResponse(w http.ResponseWriter) error

type DeleteModelProviderConfig204Response

type DeleteModelProviderConfig204Response struct {
}

func (DeleteModelProviderConfig204Response) VisitDeleteModelProviderConfigResponse

func (response DeleteModelProviderConfig204Response) VisitDeleteModelProviderConfigResponse(w http.ResponseWriter) error

type DeleteModelProviderConfig400JSONResponse

type DeleteModelProviderConfig400JSONResponse struct{ BadRequestJSONResponse }

func (DeleteModelProviderConfig400JSONResponse) VisitDeleteModelProviderConfigResponse

func (response DeleteModelProviderConfig400JSONResponse) VisitDeleteModelProviderConfigResponse(w http.ResponseWriter) error

type DeleteModelProviderConfig401JSONResponse

type DeleteModelProviderConfig401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteModelProviderConfig401JSONResponse) VisitDeleteModelProviderConfigResponse

func (response DeleteModelProviderConfig401JSONResponse) VisitDeleteModelProviderConfigResponse(w http.ResponseWriter) error

type DeleteModelProviderConfig403JSONResponse

type DeleteModelProviderConfig403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteModelProviderConfig403JSONResponse) VisitDeleteModelProviderConfigResponse

func (response DeleteModelProviderConfig403JSONResponse) VisitDeleteModelProviderConfigResponse(w http.ResponseWriter) error

type DeleteModelProviderConfig404JSONResponse

type DeleteModelProviderConfig404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteModelProviderConfig404JSONResponse) VisitDeleteModelProviderConfigResponse

func (response DeleteModelProviderConfig404JSONResponse) VisitDeleteModelProviderConfigResponse(w http.ResponseWriter) error

type DeleteModelProviderConfig409JSONResponse

type DeleteModelProviderConfig409JSONResponse struct{ ConflictJSONResponse }

func (DeleteModelProviderConfig409JSONResponse) VisitDeleteModelProviderConfigResponse

func (response DeleteModelProviderConfig409JSONResponse) VisitDeleteModelProviderConfigResponse(w http.ResponseWriter) error

type DeleteModelProviderConfig503JSONResponse

type DeleteModelProviderConfig503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (DeleteModelProviderConfig503JSONResponse) VisitDeleteModelProviderConfigResponse

func (response DeleteModelProviderConfig503JSONResponse) VisitDeleteModelProviderConfigResponse(w http.ResponseWriter) error

type DeleteModelProviderConfigRequestObject

type DeleteModelProviderConfigRequestObject struct {
	OrgID                 string `json:"orgID"`
	ModelProviderConfigID string `json:"modelProviderConfigID"`
}

type DeleteModelProviderConfigResponseObject

type DeleteModelProviderConfigResponseObject interface {
	VisitDeleteModelProviderConfigResponse(w http.ResponseWriter) error
}

type DeleteOrgInvitation4XXJSONResponse

type DeleteOrgInvitation4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteOrgInvitation4XXJSONResponse) VisitDeleteOrgInvitationResponse

func (response DeleteOrgInvitation4XXJSONResponse) VisitDeleteOrgInvitationResponse(w http.ResponseWriter) error

type DeleteOrgInvitation5XXJSONResponse

type DeleteOrgInvitation5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteOrgInvitation5XXJSONResponse) VisitDeleteOrgInvitationResponse

func (response DeleteOrgInvitation5XXJSONResponse) VisitDeleteOrgInvitationResponse(w http.ResponseWriter) error

type DeleteOrgInvitation204Response

type DeleteOrgInvitation204Response struct {
}

func (DeleteOrgInvitation204Response) VisitDeleteOrgInvitationResponse

func (response DeleteOrgInvitation204Response) VisitDeleteOrgInvitationResponse(w http.ResponseWriter) error

type DeleteOrgInvitation400JSONResponse

type DeleteOrgInvitation400JSONResponse struct{ BadRequestJSONResponse }

func (DeleteOrgInvitation400JSONResponse) VisitDeleteOrgInvitationResponse

func (response DeleteOrgInvitation400JSONResponse) VisitDeleteOrgInvitationResponse(w http.ResponseWriter) error

type DeleteOrgInvitation401JSONResponse

type DeleteOrgInvitation401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteOrgInvitation401JSONResponse) VisitDeleteOrgInvitationResponse

func (response DeleteOrgInvitation401JSONResponse) VisitDeleteOrgInvitationResponse(w http.ResponseWriter) error

type DeleteOrgInvitation403JSONResponse

type DeleteOrgInvitation403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteOrgInvitation403JSONResponse) VisitDeleteOrgInvitationResponse

func (response DeleteOrgInvitation403JSONResponse) VisitDeleteOrgInvitationResponse(w http.ResponseWriter) error

type DeleteOrgInvitation404JSONResponse

type DeleteOrgInvitation404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteOrgInvitation404JSONResponse) VisitDeleteOrgInvitationResponse

func (response DeleteOrgInvitation404JSONResponse) VisitDeleteOrgInvitationResponse(w http.ResponseWriter) error

type DeleteOrgInvitation409JSONResponse

type DeleteOrgInvitation409JSONResponse struct{ ConflictJSONResponse }

func (DeleteOrgInvitation409JSONResponse) VisitDeleteOrgInvitationResponse

func (response DeleteOrgInvitation409JSONResponse) VisitDeleteOrgInvitationResponse(w http.ResponseWriter) error

type DeleteOrgInvitation503JSONResponse

type DeleteOrgInvitation503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (DeleteOrgInvitation503JSONResponse) VisitDeleteOrgInvitationResponse

func (response DeleteOrgInvitation503JSONResponse) VisitDeleteOrgInvitationResponse(w http.ResponseWriter) error

type DeleteOrgInvitationRequestObject

type DeleteOrgInvitationRequestObject struct {
	OrgID        string `json:"orgID"`
	InvitationID string `json:"invitationID"`
}

type DeleteOrgInvitationResponseObject

type DeleteOrgInvitationResponseObject interface {
	VisitDeleteOrgInvitationResponse(w http.ResponseWriter) error
}

type DeleteOrganization4XXJSONResponse

type DeleteOrganization4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteOrganization4XXJSONResponse) VisitDeleteOrganizationResponse

func (response DeleteOrganization4XXJSONResponse) VisitDeleteOrganizationResponse(w http.ResponseWriter) error

type DeleteOrganization5XXJSONResponse

type DeleteOrganization5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteOrganization5XXJSONResponse) VisitDeleteOrganizationResponse

func (response DeleteOrganization5XXJSONResponse) VisitDeleteOrganizationResponse(w http.ResponseWriter) error

type DeleteOrganization204Response

type DeleteOrganization204Response struct {
}

func (DeleteOrganization204Response) VisitDeleteOrganizationResponse

func (response DeleteOrganization204Response) VisitDeleteOrganizationResponse(w http.ResponseWriter) error

type DeleteOrganization400JSONResponse

type DeleteOrganization400JSONResponse struct{ BadRequestJSONResponse }

func (DeleteOrganization400JSONResponse) VisitDeleteOrganizationResponse

func (response DeleteOrganization400JSONResponse) VisitDeleteOrganizationResponse(w http.ResponseWriter) error

type DeleteOrganization401JSONResponse

type DeleteOrganization401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteOrganization401JSONResponse) VisitDeleteOrganizationResponse

func (response DeleteOrganization401JSONResponse) VisitDeleteOrganizationResponse(w http.ResponseWriter) error

type DeleteOrganization403JSONResponse

type DeleteOrganization403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteOrganization403JSONResponse) VisitDeleteOrganizationResponse

func (response DeleteOrganization403JSONResponse) VisitDeleteOrganizationResponse(w http.ResponseWriter) error

type DeleteOrganization404JSONResponse

type DeleteOrganization404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteOrganization404JSONResponse) VisitDeleteOrganizationResponse

func (response DeleteOrganization404JSONResponse) VisitDeleteOrganizationResponse(w http.ResponseWriter) error

type DeleteOrganization409JSONResponse

type DeleteOrganization409JSONResponse struct{ ConflictJSONResponse }

func (DeleteOrganization409JSONResponse) VisitDeleteOrganizationResponse

func (response DeleteOrganization409JSONResponse) VisitDeleteOrganizationResponse(w http.ResponseWriter) error

type DeleteOrganization503JSONResponse

type DeleteOrganization503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (DeleteOrganization503JSONResponse) VisitDeleteOrganizationResponse

func (response DeleteOrganization503JSONResponse) VisitDeleteOrganizationResponse(w http.ResponseWriter) error

type DeleteOrganizationRequestObject

type DeleteOrganizationRequestObject struct {
	OrgID string `json:"orgID"`
}

type DeleteOrganizationResponseObject

type DeleteOrganizationResponseObject interface {
	VisitDeleteOrganizationResponse(w http.ResponseWriter) error
}

type DeleteProject4XXJSONResponse

type DeleteProject4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteProject4XXJSONResponse) VisitDeleteProjectResponse

func (response DeleteProject4XXJSONResponse) VisitDeleteProjectResponse(w http.ResponseWriter) error

type DeleteProject5XXJSONResponse

type DeleteProject5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteProject5XXJSONResponse) VisitDeleteProjectResponse

func (response DeleteProject5XXJSONResponse) VisitDeleteProjectResponse(w http.ResponseWriter) error

type DeleteProject204Response

type DeleteProject204Response struct {
}

func (DeleteProject204Response) VisitDeleteProjectResponse

func (response DeleteProject204Response) VisitDeleteProjectResponse(w http.ResponseWriter) error

type DeleteProject400JSONResponse

type DeleteProject400JSONResponse struct{ BadRequestJSONResponse }

func (DeleteProject400JSONResponse) VisitDeleteProjectResponse

func (response DeleteProject400JSONResponse) VisitDeleteProjectResponse(w http.ResponseWriter) error

type DeleteProject401JSONResponse

type DeleteProject401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteProject401JSONResponse) VisitDeleteProjectResponse

func (response DeleteProject401JSONResponse) VisitDeleteProjectResponse(w http.ResponseWriter) error

type DeleteProject403JSONResponse

type DeleteProject403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteProject403JSONResponse) VisitDeleteProjectResponse

func (response DeleteProject403JSONResponse) VisitDeleteProjectResponse(w http.ResponseWriter) error

type DeleteProject404JSONResponse

type DeleteProject404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteProject404JSONResponse) VisitDeleteProjectResponse

func (response DeleteProject404JSONResponse) VisitDeleteProjectResponse(w http.ResponseWriter) error

type DeleteProject409JSONResponse

type DeleteProject409JSONResponse struct{ ConflictJSONResponse }

func (DeleteProject409JSONResponse) VisitDeleteProjectResponse

func (response DeleteProject409JSONResponse) VisitDeleteProjectResponse(w http.ResponseWriter) error

type DeleteProject503JSONResponse

type DeleteProject503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (DeleteProject503JSONResponse) VisitDeleteProjectResponse

func (response DeleteProject503JSONResponse) VisitDeleteProjectResponse(w http.ResponseWriter) error

type DeleteProjectMachineGrant4XXJSONResponse

type DeleteProjectMachineGrant4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteProjectMachineGrant4XXJSONResponse) VisitDeleteProjectMachineGrantResponse

func (response DeleteProjectMachineGrant4XXJSONResponse) VisitDeleteProjectMachineGrantResponse(w http.ResponseWriter) error

type DeleteProjectMachineGrant5XXJSONResponse

type DeleteProjectMachineGrant5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteProjectMachineGrant5XXJSONResponse) VisitDeleteProjectMachineGrantResponse

func (response DeleteProjectMachineGrant5XXJSONResponse) VisitDeleteProjectMachineGrantResponse(w http.ResponseWriter) error

type DeleteProjectMachineGrant204Response

type DeleteProjectMachineGrant204Response struct {
}

func (DeleteProjectMachineGrant204Response) VisitDeleteProjectMachineGrantResponse

func (response DeleteProjectMachineGrant204Response) VisitDeleteProjectMachineGrantResponse(w http.ResponseWriter) error

type DeleteProjectMachineGrant400JSONResponse

type DeleteProjectMachineGrant400JSONResponse struct{ BadRequestJSONResponse }

func (DeleteProjectMachineGrant400JSONResponse) VisitDeleteProjectMachineGrantResponse

func (response DeleteProjectMachineGrant400JSONResponse) VisitDeleteProjectMachineGrantResponse(w http.ResponseWriter) error

type DeleteProjectMachineGrant401JSONResponse

type DeleteProjectMachineGrant401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteProjectMachineGrant401JSONResponse) VisitDeleteProjectMachineGrantResponse

func (response DeleteProjectMachineGrant401JSONResponse) VisitDeleteProjectMachineGrantResponse(w http.ResponseWriter) error

type DeleteProjectMachineGrant403JSONResponse

type DeleteProjectMachineGrant403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteProjectMachineGrant403JSONResponse) VisitDeleteProjectMachineGrantResponse

func (response DeleteProjectMachineGrant403JSONResponse) VisitDeleteProjectMachineGrantResponse(w http.ResponseWriter) error

type DeleteProjectMachineGrant404JSONResponse

type DeleteProjectMachineGrant404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteProjectMachineGrant404JSONResponse) VisitDeleteProjectMachineGrantResponse

func (response DeleteProjectMachineGrant404JSONResponse) VisitDeleteProjectMachineGrantResponse(w http.ResponseWriter) error

type DeleteProjectMachineGrant409JSONResponse

type DeleteProjectMachineGrant409JSONResponse struct{ ConflictJSONResponse }

func (DeleteProjectMachineGrant409JSONResponse) VisitDeleteProjectMachineGrantResponse

func (response DeleteProjectMachineGrant409JSONResponse) VisitDeleteProjectMachineGrantResponse(w http.ResponseWriter) error

type DeleteProjectMachineGrant503JSONResponse

type DeleteProjectMachineGrant503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (DeleteProjectMachineGrant503JSONResponse) VisitDeleteProjectMachineGrantResponse

func (response DeleteProjectMachineGrant503JSONResponse) VisitDeleteProjectMachineGrantResponse(w http.ResponseWriter) error

type DeleteProjectMachineGrantRequestObject

type DeleteProjectMachineGrantRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	GrantID   string `json:"grantID"`
}

type DeleteProjectMachineGrantResponseObject

type DeleteProjectMachineGrantResponseObject interface {
	VisitDeleteProjectMachineGrantResponse(w http.ResponseWriter) error
}

type DeleteProjectMachinePoolGrant4XXJSONResponse

type DeleteProjectMachinePoolGrant4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteProjectMachinePoolGrant4XXJSONResponse) VisitDeleteProjectMachinePoolGrantResponse

func (response DeleteProjectMachinePoolGrant4XXJSONResponse) VisitDeleteProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type DeleteProjectMachinePoolGrant5XXJSONResponse

type DeleteProjectMachinePoolGrant5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteProjectMachinePoolGrant5XXJSONResponse) VisitDeleteProjectMachinePoolGrantResponse

func (response DeleteProjectMachinePoolGrant5XXJSONResponse) VisitDeleteProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type DeleteProjectMachinePoolGrant204Response

type DeleteProjectMachinePoolGrant204Response struct {
}

func (DeleteProjectMachinePoolGrant204Response) VisitDeleteProjectMachinePoolGrantResponse

func (response DeleteProjectMachinePoolGrant204Response) VisitDeleteProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type DeleteProjectMachinePoolGrant400JSONResponse

type DeleteProjectMachinePoolGrant400JSONResponse struct{ BadRequestJSONResponse }

func (DeleteProjectMachinePoolGrant400JSONResponse) VisitDeleteProjectMachinePoolGrantResponse

func (response DeleteProjectMachinePoolGrant400JSONResponse) VisitDeleteProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type DeleteProjectMachinePoolGrant401JSONResponse

type DeleteProjectMachinePoolGrant401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteProjectMachinePoolGrant401JSONResponse) VisitDeleteProjectMachinePoolGrantResponse

func (response DeleteProjectMachinePoolGrant401JSONResponse) VisitDeleteProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type DeleteProjectMachinePoolGrant403JSONResponse

type DeleteProjectMachinePoolGrant403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteProjectMachinePoolGrant403JSONResponse) VisitDeleteProjectMachinePoolGrantResponse

func (response DeleteProjectMachinePoolGrant403JSONResponse) VisitDeleteProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type DeleteProjectMachinePoolGrant404JSONResponse

type DeleteProjectMachinePoolGrant404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteProjectMachinePoolGrant404JSONResponse) VisitDeleteProjectMachinePoolGrantResponse

func (response DeleteProjectMachinePoolGrant404JSONResponse) VisitDeleteProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type DeleteProjectMachinePoolGrant409JSONResponse

type DeleteProjectMachinePoolGrant409JSONResponse struct{ ConflictJSONResponse }

func (DeleteProjectMachinePoolGrant409JSONResponse) VisitDeleteProjectMachinePoolGrantResponse

func (response DeleteProjectMachinePoolGrant409JSONResponse) VisitDeleteProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type DeleteProjectMachinePoolGrant503JSONResponse

type DeleteProjectMachinePoolGrant503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (DeleteProjectMachinePoolGrant503JSONResponse) VisitDeleteProjectMachinePoolGrantResponse

func (response DeleteProjectMachinePoolGrant503JSONResponse) VisitDeleteProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type DeleteProjectMachinePoolGrantRequestObject

type DeleteProjectMachinePoolGrantRequestObject struct {
	OrgID       string `json:"orgID"`
	ProjectID   string `json:"projectID"`
	PoolGrantID string `json:"poolGrantID"`
}

type DeleteProjectMachinePoolGrantResponseObject

type DeleteProjectMachinePoolGrantResponseObject interface {
	VisitDeleteProjectMachinePoolGrantResponse(w http.ResponseWriter) error
}

type DeleteProjectModelGrant4XXJSONResponse

type DeleteProjectModelGrant4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteProjectModelGrant4XXJSONResponse) VisitDeleteProjectModelGrantResponse

func (response DeleteProjectModelGrant4XXJSONResponse) VisitDeleteProjectModelGrantResponse(w http.ResponseWriter) error

type DeleteProjectModelGrant5XXJSONResponse

type DeleteProjectModelGrant5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteProjectModelGrant5XXJSONResponse) VisitDeleteProjectModelGrantResponse

func (response DeleteProjectModelGrant5XXJSONResponse) VisitDeleteProjectModelGrantResponse(w http.ResponseWriter) error

type DeleteProjectModelGrant204Response

type DeleteProjectModelGrant204Response struct {
}

func (DeleteProjectModelGrant204Response) VisitDeleteProjectModelGrantResponse

func (response DeleteProjectModelGrant204Response) VisitDeleteProjectModelGrantResponse(w http.ResponseWriter) error

type DeleteProjectModelGrant400JSONResponse

type DeleteProjectModelGrant400JSONResponse struct{ BadRequestJSONResponse }

func (DeleteProjectModelGrant400JSONResponse) VisitDeleteProjectModelGrantResponse

func (response DeleteProjectModelGrant400JSONResponse) VisitDeleteProjectModelGrantResponse(w http.ResponseWriter) error

type DeleteProjectModelGrant401JSONResponse

type DeleteProjectModelGrant401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteProjectModelGrant401JSONResponse) VisitDeleteProjectModelGrantResponse

func (response DeleteProjectModelGrant401JSONResponse) VisitDeleteProjectModelGrantResponse(w http.ResponseWriter) error

type DeleteProjectModelGrant403JSONResponse

type DeleteProjectModelGrant403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteProjectModelGrant403JSONResponse) VisitDeleteProjectModelGrantResponse

func (response DeleteProjectModelGrant403JSONResponse) VisitDeleteProjectModelGrantResponse(w http.ResponseWriter) error

type DeleteProjectModelGrant404JSONResponse

type DeleteProjectModelGrant404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteProjectModelGrant404JSONResponse) VisitDeleteProjectModelGrantResponse

func (response DeleteProjectModelGrant404JSONResponse) VisitDeleteProjectModelGrantResponse(w http.ResponseWriter) error

type DeleteProjectModelGrant409JSONResponse

type DeleteProjectModelGrant409JSONResponse struct{ ConflictJSONResponse }

func (DeleteProjectModelGrant409JSONResponse) VisitDeleteProjectModelGrantResponse

func (response DeleteProjectModelGrant409JSONResponse) VisitDeleteProjectModelGrantResponse(w http.ResponseWriter) error

type DeleteProjectModelGrant503JSONResponse

type DeleteProjectModelGrant503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (DeleteProjectModelGrant503JSONResponse) VisitDeleteProjectModelGrantResponse

func (response DeleteProjectModelGrant503JSONResponse) VisitDeleteProjectModelGrantResponse(w http.ResponseWriter) error

type DeleteProjectModelGrantRequestObject

type DeleteProjectModelGrantRequestObject struct {
	OrgID        string `json:"orgID"`
	ProjectID    string `json:"projectID"`
	ModelGrantID string `json:"modelGrantID"`
}

type DeleteProjectModelGrantResponseObject

type DeleteProjectModelGrantResponseObject interface {
	VisitDeleteProjectModelGrantResponse(w http.ResponseWriter) error
}

type DeleteProjectRequestObject

type DeleteProjectRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
}

type DeleteProjectResponseObject

type DeleteProjectResponseObject interface {
	VisitDeleteProjectResponse(w http.ResponseWriter) error
}

type DeleteSecret4XXJSONResponse

type DeleteSecret4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteSecret4XXJSONResponse) VisitDeleteSecretResponse

func (response DeleteSecret4XXJSONResponse) VisitDeleteSecretResponse(w http.ResponseWriter) error

type DeleteSecret5XXJSONResponse

type DeleteSecret5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteSecret5XXJSONResponse) VisitDeleteSecretResponse

func (response DeleteSecret5XXJSONResponse) VisitDeleteSecretResponse(w http.ResponseWriter) error

type DeleteSecret204Response

type DeleteSecret204Response struct {
}

func (DeleteSecret204Response) VisitDeleteSecretResponse

func (response DeleteSecret204Response) VisitDeleteSecretResponse(w http.ResponseWriter) error

type DeleteSecret400JSONResponse

type DeleteSecret400JSONResponse struct{ BadRequestJSONResponse }

func (DeleteSecret400JSONResponse) VisitDeleteSecretResponse

func (response DeleteSecret400JSONResponse) VisitDeleteSecretResponse(w http.ResponseWriter) error

type DeleteSecret401JSONResponse

type DeleteSecret401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteSecret401JSONResponse) VisitDeleteSecretResponse

func (response DeleteSecret401JSONResponse) VisitDeleteSecretResponse(w http.ResponseWriter) error

type DeleteSecret403JSONResponse

type DeleteSecret403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteSecret403JSONResponse) VisitDeleteSecretResponse

func (response DeleteSecret403JSONResponse) VisitDeleteSecretResponse(w http.ResponseWriter) error

type DeleteSecret404JSONResponse

type DeleteSecret404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteSecret404JSONResponse) VisitDeleteSecretResponse

func (response DeleteSecret404JSONResponse) VisitDeleteSecretResponse(w http.ResponseWriter) error

type DeleteSecret409JSONResponse

type DeleteSecret409JSONResponse struct{ ConflictJSONResponse }

func (DeleteSecret409JSONResponse) VisitDeleteSecretResponse

func (response DeleteSecret409JSONResponse) VisitDeleteSecretResponse(w http.ResponseWriter) error

type DeleteSecret500JSONResponse

type DeleteSecret500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (DeleteSecret500JSONResponse) VisitDeleteSecretResponse

func (response DeleteSecret500JSONResponse) VisitDeleteSecretResponse(w http.ResponseWriter) error

type DeleteSecret503JSONResponse

type DeleteSecret503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (DeleteSecret503JSONResponse) VisitDeleteSecretResponse

func (response DeleteSecret503JSONResponse) VisitDeleteSecretResponse(w http.ResponseWriter) error

type DeleteSecretGrant4XXJSONResponse

type DeleteSecretGrant4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteSecretGrant4XXJSONResponse) VisitDeleteSecretGrantResponse

func (response DeleteSecretGrant4XXJSONResponse) VisitDeleteSecretGrantResponse(w http.ResponseWriter) error

type DeleteSecretGrant5XXJSONResponse

type DeleteSecretGrant5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteSecretGrant5XXJSONResponse) VisitDeleteSecretGrantResponse

func (response DeleteSecretGrant5XXJSONResponse) VisitDeleteSecretGrantResponse(w http.ResponseWriter) error

type DeleteSecretGrant204Response

type DeleteSecretGrant204Response struct {
}

func (DeleteSecretGrant204Response) VisitDeleteSecretGrantResponse

func (response DeleteSecretGrant204Response) VisitDeleteSecretGrantResponse(w http.ResponseWriter) error

type DeleteSecretGrant400JSONResponse

type DeleteSecretGrant400JSONResponse struct{ BadRequestJSONResponse }

func (DeleteSecretGrant400JSONResponse) VisitDeleteSecretGrantResponse

func (response DeleteSecretGrant400JSONResponse) VisitDeleteSecretGrantResponse(w http.ResponseWriter) error

type DeleteSecretGrant401JSONResponse

type DeleteSecretGrant401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteSecretGrant401JSONResponse) VisitDeleteSecretGrantResponse

func (response DeleteSecretGrant401JSONResponse) VisitDeleteSecretGrantResponse(w http.ResponseWriter) error

type DeleteSecretGrant403JSONResponse

type DeleteSecretGrant403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteSecretGrant403JSONResponse) VisitDeleteSecretGrantResponse

func (response DeleteSecretGrant403JSONResponse) VisitDeleteSecretGrantResponse(w http.ResponseWriter) error

type DeleteSecretGrant404JSONResponse

type DeleteSecretGrant404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteSecretGrant404JSONResponse) VisitDeleteSecretGrantResponse

func (response DeleteSecretGrant404JSONResponse) VisitDeleteSecretGrantResponse(w http.ResponseWriter) error

type DeleteSecretGrant500JSONResponse

type DeleteSecretGrant500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (DeleteSecretGrant500JSONResponse) VisitDeleteSecretGrantResponse

func (response DeleteSecretGrant500JSONResponse) VisitDeleteSecretGrantResponse(w http.ResponseWriter) error

type DeleteSecretGrant503JSONResponse

type DeleteSecretGrant503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (DeleteSecretGrant503JSONResponse) VisitDeleteSecretGrantResponse

func (response DeleteSecretGrant503JSONResponse) VisitDeleteSecretGrantResponse(w http.ResponseWriter) error

type DeleteSecretGrantRequestObject

type DeleteSecretGrantRequestObject struct {
	OrgID    string `json:"orgID"`
	SecretID string `json:"secretID"`
	GrantID  string `json:"grantID"`
}

type DeleteSecretGrantResponseObject

type DeleteSecretGrantResponseObject interface {
	VisitDeleteSecretGrantResponse(w http.ResponseWriter) error
}

type DeleteSecretRequestObject

type DeleteSecretRequestObject struct {
	OrgID    string `json:"orgID"`
	SecretID string `json:"secretID"`
}

type DeleteSecretResponseObject

type DeleteSecretResponseObject interface {
	VisitDeleteSecretResponse(w http.ResponseWriter) error
}

type DeleteSkill4XXJSONResponse

type DeleteSkill4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteSkill4XXJSONResponse) VisitDeleteSkillResponse

func (response DeleteSkill4XXJSONResponse) VisitDeleteSkillResponse(w http.ResponseWriter) error

type DeleteSkill5XXJSONResponse

type DeleteSkill5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteSkill5XXJSONResponse) VisitDeleteSkillResponse

func (response DeleteSkill5XXJSONResponse) VisitDeleteSkillResponse(w http.ResponseWriter) error

type DeleteSkill204Response

type DeleteSkill204Response struct {
}

func (DeleteSkill204Response) VisitDeleteSkillResponse

func (response DeleteSkill204Response) VisitDeleteSkillResponse(w http.ResponseWriter) error

type DeleteSkill400JSONResponse

type DeleteSkill400JSONResponse struct{ BadRequestJSONResponse }

func (DeleteSkill400JSONResponse) VisitDeleteSkillResponse

func (response DeleteSkill400JSONResponse) VisitDeleteSkillResponse(w http.ResponseWriter) error

type DeleteSkill401JSONResponse

type DeleteSkill401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteSkill401JSONResponse) VisitDeleteSkillResponse

func (response DeleteSkill401JSONResponse) VisitDeleteSkillResponse(w http.ResponseWriter) error

type DeleteSkill403JSONResponse

type DeleteSkill403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteSkill403JSONResponse) VisitDeleteSkillResponse

func (response DeleteSkill403JSONResponse) VisitDeleteSkillResponse(w http.ResponseWriter) error

type DeleteSkill404JSONResponse

type DeleteSkill404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteSkill404JSONResponse) VisitDeleteSkillResponse

func (response DeleteSkill404JSONResponse) VisitDeleteSkillResponse(w http.ResponseWriter) error

type DeleteSkill409JSONResponse

type DeleteSkill409JSONResponse struct{ ConflictJSONResponse }

func (DeleteSkill409JSONResponse) VisitDeleteSkillResponse

func (response DeleteSkill409JSONResponse) VisitDeleteSkillResponse(w http.ResponseWriter) error

type DeleteSkill500JSONResponse

type DeleteSkill500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (DeleteSkill500JSONResponse) VisitDeleteSkillResponse

func (response DeleteSkill500JSONResponse) VisitDeleteSkillResponse(w http.ResponseWriter) error

type DeleteSkill503JSONResponse

type DeleteSkill503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (DeleteSkill503JSONResponse) VisitDeleteSkillResponse

func (response DeleteSkill503JSONResponse) VisitDeleteSkillResponse(w http.ResponseWriter) error

type DeleteSkillGrant4XXJSONResponse

type DeleteSkillGrant4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteSkillGrant4XXJSONResponse) VisitDeleteSkillGrantResponse

func (response DeleteSkillGrant4XXJSONResponse) VisitDeleteSkillGrantResponse(w http.ResponseWriter) error

type DeleteSkillGrant5XXJSONResponse

type DeleteSkillGrant5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DeleteSkillGrant5XXJSONResponse) VisitDeleteSkillGrantResponse

func (response DeleteSkillGrant5XXJSONResponse) VisitDeleteSkillGrantResponse(w http.ResponseWriter) error

type DeleteSkillGrant204Response

type DeleteSkillGrant204Response struct {
}

func (DeleteSkillGrant204Response) VisitDeleteSkillGrantResponse

func (response DeleteSkillGrant204Response) VisitDeleteSkillGrantResponse(w http.ResponseWriter) error

type DeleteSkillGrant400JSONResponse

type DeleteSkillGrant400JSONResponse struct{ BadRequestJSONResponse }

func (DeleteSkillGrant400JSONResponse) VisitDeleteSkillGrantResponse

func (response DeleteSkillGrant400JSONResponse) VisitDeleteSkillGrantResponse(w http.ResponseWriter) error

type DeleteSkillGrant401JSONResponse

type DeleteSkillGrant401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteSkillGrant401JSONResponse) VisitDeleteSkillGrantResponse

func (response DeleteSkillGrant401JSONResponse) VisitDeleteSkillGrantResponse(w http.ResponseWriter) error

type DeleteSkillGrant403JSONResponse

type DeleteSkillGrant403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteSkillGrant403JSONResponse) VisitDeleteSkillGrantResponse

func (response DeleteSkillGrant403JSONResponse) VisitDeleteSkillGrantResponse(w http.ResponseWriter) error

type DeleteSkillGrant404JSONResponse

type DeleteSkillGrant404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteSkillGrant404JSONResponse) VisitDeleteSkillGrantResponse

func (response DeleteSkillGrant404JSONResponse) VisitDeleteSkillGrantResponse(w http.ResponseWriter) error

type DeleteSkillGrant500JSONResponse

type DeleteSkillGrant500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (DeleteSkillGrant500JSONResponse) VisitDeleteSkillGrantResponse

func (response DeleteSkillGrant500JSONResponse) VisitDeleteSkillGrantResponse(w http.ResponseWriter) error

type DeleteSkillGrant503JSONResponse

type DeleteSkillGrant503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (DeleteSkillGrant503JSONResponse) VisitDeleteSkillGrantResponse

func (response DeleteSkillGrant503JSONResponse) VisitDeleteSkillGrantResponse(w http.ResponseWriter) error

type DeleteSkillGrantRequestObject

type DeleteSkillGrantRequestObject struct {
	OrgID   string       `json:"orgID"`
	SkillID SkillID      `json:"skillID"`
	GrantID SkillGrantID `json:"grantID"`
}

type DeleteSkillGrantResponseObject

type DeleteSkillGrantResponseObject interface {
	VisitDeleteSkillGrantResponse(w http.ResponseWriter) error
}

type DeleteSkillRequestObject

type DeleteSkillRequestObject struct {
	OrgID   string `json:"orgID"`
	SkillID string `json:"skillID"`
}

type DeleteSkillResponseObject

type DeleteSkillResponseObject interface {
	VisitDeleteSkillResponse(w http.ResponseWriter) error
}

type DemoteSteeringInputToQueued4XXJSONResponse

type DemoteSteeringInputToQueued4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DemoteSteeringInputToQueued4XXJSONResponse) VisitDemoteSteeringInputToQueuedResponse

func (response DemoteSteeringInputToQueued4XXJSONResponse) VisitDemoteSteeringInputToQueuedResponse(w http.ResponseWriter) error

type DemoteSteeringInputToQueued5XXJSONResponse

type DemoteSteeringInputToQueued5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (DemoteSteeringInputToQueued5XXJSONResponse) VisitDemoteSteeringInputToQueuedResponse

func (response DemoteSteeringInputToQueued5XXJSONResponse) VisitDemoteSteeringInputToQueuedResponse(w http.ResponseWriter) error

type DemoteSteeringInputToQueued200JSONResponse

type DemoteSteeringInputToQueued200JSONResponse OKResponse

func (DemoteSteeringInputToQueued200JSONResponse) VisitDemoteSteeringInputToQueuedResponse

func (response DemoteSteeringInputToQueued200JSONResponse) VisitDemoteSteeringInputToQueuedResponse(w http.ResponseWriter) error

type DemoteSteeringInputToQueued400JSONResponse

type DemoteSteeringInputToQueued400JSONResponse struct{ BadRequestJSONResponse }

func (DemoteSteeringInputToQueued400JSONResponse) VisitDemoteSteeringInputToQueuedResponse

func (response DemoteSteeringInputToQueued400JSONResponse) VisitDemoteSteeringInputToQueuedResponse(w http.ResponseWriter) error

type DemoteSteeringInputToQueued401JSONResponse

type DemoteSteeringInputToQueued401JSONResponse struct{ UnauthorizedJSONResponse }

func (DemoteSteeringInputToQueued401JSONResponse) VisitDemoteSteeringInputToQueuedResponse

func (response DemoteSteeringInputToQueued401JSONResponse) VisitDemoteSteeringInputToQueuedResponse(w http.ResponseWriter) error

type DemoteSteeringInputToQueued403JSONResponse

type DemoteSteeringInputToQueued403JSONResponse struct{ ForbiddenJSONResponse }

func (DemoteSteeringInputToQueued403JSONResponse) VisitDemoteSteeringInputToQueuedResponse

func (response DemoteSteeringInputToQueued403JSONResponse) VisitDemoteSteeringInputToQueuedResponse(w http.ResponseWriter) error

type DemoteSteeringInputToQueued404JSONResponse

type DemoteSteeringInputToQueued404JSONResponse struct{ NotFoundJSONResponse }

func (DemoteSteeringInputToQueued404JSONResponse) VisitDemoteSteeringInputToQueuedResponse

func (response DemoteSteeringInputToQueued404JSONResponse) VisitDemoteSteeringInputToQueuedResponse(w http.ResponseWriter) error

type DemoteSteeringInputToQueued409JSONResponse

type DemoteSteeringInputToQueued409JSONResponse struct{ ConflictJSONResponse }

func (DemoteSteeringInputToQueued409JSONResponse) VisitDemoteSteeringInputToQueuedResponse

func (response DemoteSteeringInputToQueued409JSONResponse) VisitDemoteSteeringInputToQueuedResponse(w http.ResponseWriter) error

type DemoteSteeringInputToQueued503JSONResponse

type DemoteSteeringInputToQueued503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (DemoteSteeringInputToQueued503JSONResponse) VisitDemoteSteeringInputToQueuedResponse

func (response DemoteSteeringInputToQueued503JSONResponse) VisitDemoteSteeringInputToQueuedResponse(w http.ResponseWriter) error

type DemoteSteeringInputToQueuedRequestObject

type DemoteSteeringInputToQueuedRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	AgentID   string `json:"agentID"`
	InputID   string `json:"inputID"`
}

type DemoteSteeringInputToQueuedResponseObject

type DemoteSteeringInputToQueuedResponseObject interface {
	VisitDemoteSteeringInputToQueuedResponse(w http.ResponseWriter) error
}

type DirectSecretAvailability

type DirectSecretAvailability struct {
	ProjectId ProjectID                      `json:"project_id"`
	Source    DirectSecretAvailabilitySource `json:"source"`
}

DirectSecretAvailability defines model for DirectSecretAvailability.

type DirectSecretAvailabilitySource

type DirectSecretAvailabilitySource string

DirectSecretAvailabilitySource defines model for DirectSecretAvailability.Source.

const (
	DirectSecretAvailabilitySourceDirect DirectSecretAvailabilitySource = "direct"
)

Defines values for DirectSecretAvailabilitySource.

func (DirectSecretAvailabilitySource) Valid

Valid indicates whether the value is a known member of the DirectSecretAvailabilitySource enum.

type DirectSkillAvailability

type DirectSkillAvailability struct {
	Source DirectSkillAvailabilitySource `json:"source"`
}

DirectSkillAvailability defines model for DirectSkillAvailability.

type DirectSkillAvailabilitySource

type DirectSkillAvailabilitySource string

DirectSkillAvailabilitySource defines model for DirectSkillAvailability.Source.

const (
	DirectSkillAvailabilitySourceDirect DirectSkillAvailabilitySource = "direct"
)

Defines values for DirectSkillAvailabilitySource.

func (DirectSkillAvailabilitySource) Valid

Valid indicates whether the value is a known member of the DirectSkillAvailabilitySource enum.

type DiscoveredProviderModel

type DiscoveredProviderModel struct {
	// ContextWindowTokens Provider-advertised context window limit in tokens, when available.
	ContextWindowTokens *int    `json:"context_window_tokens,omitempty"`
	DisplayName         *string `json:"display_name,omitempty"`

	// MaxOutputTokens Provider-advertised maximum output limit in tokens, when available.
	MaxOutputTokens *int `json:"max_output_tokens,omitempty"`

	// Slug Provider model slug usable as a configured model's provider_model_slug.
	Slug string `json:"slug"`
}

DiscoveredProviderModel defines model for DiscoveredProviderModel.

type EndMachineDaemonRuntime4XXJSONResponse

type EndMachineDaemonRuntime4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (EndMachineDaemonRuntime4XXJSONResponse) VisitEndMachineDaemonRuntimeResponse

func (response EndMachineDaemonRuntime4XXJSONResponse) VisitEndMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type EndMachineDaemonRuntime5XXJSONResponse

type EndMachineDaemonRuntime5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (EndMachineDaemonRuntime5XXJSONResponse) VisitEndMachineDaemonRuntimeResponse

func (response EndMachineDaemonRuntime5XXJSONResponse) VisitEndMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type EndMachineDaemonRuntime200JSONResponse

type EndMachineDaemonRuntime200JSONResponse DaemonRuntime

func (EndMachineDaemonRuntime200JSONResponse) VisitEndMachineDaemonRuntimeResponse

func (response EndMachineDaemonRuntime200JSONResponse) VisitEndMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type EndMachineDaemonRuntime400JSONResponse

type EndMachineDaemonRuntime400JSONResponse struct{ BadRequestJSONResponse }

func (EndMachineDaemonRuntime400JSONResponse) VisitEndMachineDaemonRuntimeResponse

func (response EndMachineDaemonRuntime400JSONResponse) VisitEndMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type EndMachineDaemonRuntime401JSONResponse

type EndMachineDaemonRuntime401JSONResponse struct{ UnauthorizedJSONResponse }

func (EndMachineDaemonRuntime401JSONResponse) VisitEndMachineDaemonRuntimeResponse

func (response EndMachineDaemonRuntime401JSONResponse) VisitEndMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type EndMachineDaemonRuntime403JSONResponse

type EndMachineDaemonRuntime403JSONResponse struct{ ForbiddenJSONResponse }

func (EndMachineDaemonRuntime403JSONResponse) VisitEndMachineDaemonRuntimeResponse

func (response EndMachineDaemonRuntime403JSONResponse) VisitEndMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type EndMachineDaemonRuntime404JSONResponse

type EndMachineDaemonRuntime404JSONResponse struct{ NotFoundJSONResponse }

func (EndMachineDaemonRuntime404JSONResponse) VisitEndMachineDaemonRuntimeResponse

func (response EndMachineDaemonRuntime404JSONResponse) VisitEndMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type EndMachineDaemonRuntime409JSONResponse

type EndMachineDaemonRuntime409JSONResponse struct{ ConflictJSONResponse }

func (EndMachineDaemonRuntime409JSONResponse) VisitEndMachineDaemonRuntimeResponse

func (response EndMachineDaemonRuntime409JSONResponse) VisitEndMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type EndMachineDaemonRuntime410JSONResponse

type EndMachineDaemonRuntime410JSONResponse struct{ GoneJSONResponse }

func (EndMachineDaemonRuntime410JSONResponse) VisitEndMachineDaemonRuntimeResponse

func (response EndMachineDaemonRuntime410JSONResponse) VisitEndMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type EndMachineDaemonRuntime503JSONResponse

type EndMachineDaemonRuntime503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (EndMachineDaemonRuntime503JSONResponse) VisitEndMachineDaemonRuntimeResponse

func (response EndMachineDaemonRuntime503JSONResponse) VisitEndMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type EndMachineDaemonRuntimeRequestObject

type EndMachineDaemonRuntimeRequestObject struct {
	RuntimeID string `json:"runtimeID"`
}

type EndMachineDaemonRuntimeResponseObject

type EndMachineDaemonRuntimeResponseObject interface {
	VisitEndMachineDaemonRuntimeResponse(w http.ResponseWriter) error
}

type Error

type Error struct {
	// Code Stable error code for programmatic handling.
	Code ErrorCode `json:"code"`

	// Error Human-readable error message. Do not match on it programmatically.
	Error string `json:"error"`
}

Error defines model for Error.

type ErrorCode

type ErrorCode string

ErrorCode Stable error code for programmatic handling.

const (
	ErrorCodeAuthenticationUnavailable  ErrorCode = "authentication_unavailable"
	ErrorCodeConflict                   ErrorCode = "conflict"
	ErrorCodeCsrfCheckFailed            ErrorCode = "csrf_check_failed"
	ErrorCodeDaemonRuntimeUnregistered  ErrorCode = "daemon_runtime_unregistered"
	ErrorCodeForbidden                  ErrorCode = "forbidden"
	ErrorCodeGone                       ErrorCode = "gone"
	ErrorCodeIdempotencyKeyConflict     ErrorCode = "idempotency_key_conflict"
	ErrorCodeInternalError              ErrorCode = "internal_error"
	ErrorCodeInvalidRequest             ErrorCode = "invalid_request"
	ErrorCodeManagedWorkAdmissionDenied ErrorCode = "managed_work_admission_denied"
	ErrorCodeNotFound                   ErrorCode = "not_found"
	ErrorCodeNotWakeCapable             ErrorCode = "not_wake_capable"
	ErrorCodePendingWork                ErrorCode = "pending_work"
	ErrorCodeRateLimited                ErrorCode = "rate_limited"
	ErrorCodeRequestTooLarge            ErrorCode = "request_too_large"
	ErrorCodeServiceUnavailable         ErrorCode = "service_unavailable"
	ErrorCodeStateTransitionConflict    ErrorCode = "state_transition_conflict"
	ErrorCodeUnauthorized               ErrorCode = "unauthorized"
	ErrorCodeUnprocessable              ErrorCode = "unprocessable"
	ErrorCodeUnsupportedMediaType       ErrorCode = "unsupported_media_type"
	ErrorCodeUpstreamError              ErrorCode = "upstream_error"
	ErrorCodeValidationFailed           ErrorCode = "validation_failed"
)

Defines values for ErrorCode.

func (ErrorCode) Valid

func (e ErrorCode) Valid() bool

Valid indicates whether the value is a known member of the ErrorCode enum.

type ErrorContentBlock

type ErrorContentBlock struct {
	// Metadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters. Keys beginning with `omnara_` are reserved for Omnara and may affect product behavior; use them only when intentionally invoking Omnara-defined behavior.
	Metadata ContentBlockMetadata  `json:"metadata,omitempty"`
	Text     string                `json:"text"`
	Type     ErrorContentBlockType `json:"type"`
}

ErrorContentBlock defines model for ErrorContentBlock.

type ErrorContentBlockType

type ErrorContentBlockType string

ErrorContentBlockType defines model for ErrorContentBlock.Type.

const (
	ErrorContentBlockTypeError ErrorContentBlockType = "error"
)

Defines values for ErrorContentBlockType.

func (ErrorContentBlockType) Valid

func (e ErrorContentBlockType) Valid() bool

Valid indicates whether the value is a known member of the ErrorContentBlockType enum.

type ExternalActorParams

type ExternalActorParams struct {
	DisplayName *string `json:"display_name,omitempty"`

	// Metadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters.
	Metadata         Metadata `json:"metadata,omitempty"`
	ProviderTenantId *string  `json:"provider_tenant_id,omitempty"`
	ProviderUserId   string   `json:"provider_user_id"`
}

ExternalActorParams Identity and attributes of an external actor. Actors are upserted by (provider_tenant_id, provider_user_id) with the external provider. Omitted attributes keep their stored values; provided attributes are overwritten, including empty values. omnara actors are implicit and integration providers own their own actor identities.

type Forbidden

type Forbidden = Error

Forbidden defines model for Forbidden.

type ForbiddenJSONResponse

type ForbiddenJSONResponse Error

type GenericSecretMaterial

type GenericSecretMaterial struct {
	Kind  GenericSecretMaterialKind `json:"kind"`
	Value string                    `json:"value"`
}

GenericSecretMaterial defines model for GenericSecretMaterial.

type GenericSecretMaterialKind

type GenericSecretMaterialKind string

GenericSecretMaterialKind defines model for GenericSecretMaterial.Kind.

const (
	Generic GenericSecretMaterialKind = "generic"
)

Defines values for GenericSecretMaterialKind.

func (GenericSecretMaterialKind) Valid

func (e GenericSecretMaterialKind) Valid() bool

Valid indicates whether the value is a known member of the GenericSecretMaterialKind enum.

type GetActor4XXJSONResponse

type GetActor4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetActor4XXJSONResponse) VisitGetActorResponse

func (response GetActor4XXJSONResponse) VisitGetActorResponse(w http.ResponseWriter) error

type GetActor5XXJSONResponse

type GetActor5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetActor5XXJSONResponse) VisitGetActorResponse

func (response GetActor5XXJSONResponse) VisitGetActorResponse(w http.ResponseWriter) error

type GetActor200JSONResponse

type GetActor200JSONResponse Actor

func (GetActor200JSONResponse) VisitGetActorResponse

func (response GetActor200JSONResponse) VisitGetActorResponse(w http.ResponseWriter) error

type GetActor400JSONResponse

type GetActor400JSONResponse struct{ BadRequestJSONResponse }

func (GetActor400JSONResponse) VisitGetActorResponse

func (response GetActor400JSONResponse) VisitGetActorResponse(w http.ResponseWriter) error

type GetActor401JSONResponse

type GetActor401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetActor401JSONResponse) VisitGetActorResponse

func (response GetActor401JSONResponse) VisitGetActorResponse(w http.ResponseWriter) error

type GetActor403JSONResponse

type GetActor403JSONResponse struct{ ForbiddenJSONResponse }

func (GetActor403JSONResponse) VisitGetActorResponse

func (response GetActor403JSONResponse) VisitGetActorResponse(w http.ResponseWriter) error

type GetActor404JSONResponse

type GetActor404JSONResponse struct{ NotFoundJSONResponse }

func (GetActor404JSONResponse) VisitGetActorResponse

func (response GetActor404JSONResponse) VisitGetActorResponse(w http.ResponseWriter) error

type GetActor500JSONResponse

type GetActor500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (GetActor500JSONResponse) VisitGetActorResponse

func (response GetActor500JSONResponse) VisitGetActorResponse(w http.ResponseWriter) error

type GetActor503JSONResponse

type GetActor503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (GetActor503JSONResponse) VisitGetActorResponse

func (response GetActor503JSONResponse) VisitGetActorResponse(w http.ResponseWriter) error

type GetActorRequestObject

type GetActorRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	ActorID   string `json:"actorID"`
}

type GetActorResponseObject

type GetActorResponseObject interface {
	VisitGetActorResponse(w http.ResponseWriter) error
}

type GetAgent4XXJSONResponse

type GetAgent4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetAgent4XXJSONResponse) VisitGetAgentResponse

func (response GetAgent4XXJSONResponse) VisitGetAgentResponse(w http.ResponseWriter) error

type GetAgent5XXJSONResponse

type GetAgent5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetAgent5XXJSONResponse) VisitGetAgentResponse

func (response GetAgent5XXJSONResponse) VisitGetAgentResponse(w http.ResponseWriter) error

type GetAgent200JSONResponse

type GetAgent200JSONResponse GetAgentResponse

func (GetAgent200JSONResponse) VisitGetAgentResponse

func (response GetAgent200JSONResponse) VisitGetAgentResponse(w http.ResponseWriter) error

type GetAgent400JSONResponse

type GetAgent400JSONResponse struct{ BadRequestJSONResponse }

func (GetAgent400JSONResponse) VisitGetAgentResponse

func (response GetAgent400JSONResponse) VisitGetAgentResponse(w http.ResponseWriter) error

type GetAgent401JSONResponse

type GetAgent401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetAgent401JSONResponse) VisitGetAgentResponse

func (response GetAgent401JSONResponse) VisitGetAgentResponse(w http.ResponseWriter) error

type GetAgent403JSONResponse

type GetAgent403JSONResponse struct{ ForbiddenJSONResponse }

func (GetAgent403JSONResponse) VisitGetAgentResponse

func (response GetAgent403JSONResponse) VisitGetAgentResponse(w http.ResponseWriter) error

type GetAgent404JSONResponse

type GetAgent404JSONResponse struct{ NotFoundJSONResponse }

func (GetAgent404JSONResponse) VisitGetAgentResponse

func (response GetAgent404JSONResponse) VisitGetAgentResponse(w http.ResponseWriter) error

type GetAgent409JSONResponse

type GetAgent409JSONResponse struct{ ConflictJSONResponse }

func (GetAgent409JSONResponse) VisitGetAgentResponse

func (response GetAgent409JSONResponse) VisitGetAgentResponse(w http.ResponseWriter) error

type GetAgent503JSONResponse

type GetAgent503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (GetAgent503JSONResponse) VisitGetAgentResponse

func (response GetAgent503JSONResponse) VisitGetAgentResponse(w http.ResponseWriter) error

type GetAgentConfig4XXJSONResponse

type GetAgentConfig4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetAgentConfig4XXJSONResponse) VisitGetAgentConfigResponse

func (response GetAgentConfig4XXJSONResponse) VisitGetAgentConfigResponse(w http.ResponseWriter) error

type GetAgentConfig5XXJSONResponse

type GetAgentConfig5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetAgentConfig5XXJSONResponse) VisitGetAgentConfigResponse

func (response GetAgentConfig5XXJSONResponse) VisitGetAgentConfigResponse(w http.ResponseWriter) error

type GetAgentConfig200JSONResponse

type GetAgentConfig200JSONResponse AgentConfig

func (GetAgentConfig200JSONResponse) VisitGetAgentConfigResponse

func (response GetAgentConfig200JSONResponse) VisitGetAgentConfigResponse(w http.ResponseWriter) error

type GetAgentConfig400JSONResponse

type GetAgentConfig400JSONResponse struct{ BadRequestJSONResponse }

func (GetAgentConfig400JSONResponse) VisitGetAgentConfigResponse

func (response GetAgentConfig400JSONResponse) VisitGetAgentConfigResponse(w http.ResponseWriter) error

type GetAgentConfig401JSONResponse

type GetAgentConfig401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetAgentConfig401JSONResponse) VisitGetAgentConfigResponse

func (response GetAgentConfig401JSONResponse) VisitGetAgentConfigResponse(w http.ResponseWriter) error

type GetAgentConfig403JSONResponse

type GetAgentConfig403JSONResponse struct{ ForbiddenJSONResponse }

func (GetAgentConfig403JSONResponse) VisitGetAgentConfigResponse

func (response GetAgentConfig403JSONResponse) VisitGetAgentConfigResponse(w http.ResponseWriter) error

type GetAgentConfig404JSONResponse

type GetAgentConfig404JSONResponse struct{ NotFoundJSONResponse }

func (GetAgentConfig404JSONResponse) VisitGetAgentConfigResponse

func (response GetAgentConfig404JSONResponse) VisitGetAgentConfigResponse(w http.ResponseWriter) error

type GetAgentConfig409JSONResponse

type GetAgentConfig409JSONResponse struct{ ConflictJSONResponse }

func (GetAgentConfig409JSONResponse) VisitGetAgentConfigResponse

func (response GetAgentConfig409JSONResponse) VisitGetAgentConfigResponse(w http.ResponseWriter) error

type GetAgentConfig503JSONResponse

type GetAgentConfig503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (GetAgentConfig503JSONResponse) VisitGetAgentConfigResponse

func (response GetAgentConfig503JSONResponse) VisitGetAgentConfigResponse(w http.ResponseWriter) error

type GetAgentConfigRequestObject

type GetAgentConfigRequestObject struct {
	OrgID         string `json:"orgID"`
	ProjectID     string `json:"projectID"`
	AgentConfigID string `json:"agentConfigID"`
}

type GetAgentConfigResponseObject

type GetAgentConfigResponseObject interface {
	VisitGetAgentConfigResponse(w http.ResponseWriter) error
}

type GetAgentProfile4XXJSONResponse

type GetAgentProfile4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetAgentProfile4XXJSONResponse) VisitGetAgentProfileResponse

func (response GetAgentProfile4XXJSONResponse) VisitGetAgentProfileResponse(w http.ResponseWriter) error

type GetAgentProfile5XXJSONResponse

type GetAgentProfile5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetAgentProfile5XXJSONResponse) VisitGetAgentProfileResponse

func (response GetAgentProfile5XXJSONResponse) VisitGetAgentProfileResponse(w http.ResponseWriter) error

type GetAgentProfile200JSONResponse

type GetAgentProfile200JSONResponse AgentProfile

func (GetAgentProfile200JSONResponse) VisitGetAgentProfileResponse

func (response GetAgentProfile200JSONResponse) VisitGetAgentProfileResponse(w http.ResponseWriter) error

type GetAgentProfile400JSONResponse

type GetAgentProfile400JSONResponse struct{ BadRequestJSONResponse }

func (GetAgentProfile400JSONResponse) VisitGetAgentProfileResponse

func (response GetAgentProfile400JSONResponse) VisitGetAgentProfileResponse(w http.ResponseWriter) error

type GetAgentProfile401JSONResponse

type GetAgentProfile401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetAgentProfile401JSONResponse) VisitGetAgentProfileResponse

func (response GetAgentProfile401JSONResponse) VisitGetAgentProfileResponse(w http.ResponseWriter) error

type GetAgentProfile403JSONResponse

type GetAgentProfile403JSONResponse struct{ ForbiddenJSONResponse }

func (GetAgentProfile403JSONResponse) VisitGetAgentProfileResponse

func (response GetAgentProfile403JSONResponse) VisitGetAgentProfileResponse(w http.ResponseWriter) error

type GetAgentProfile404JSONResponse

type GetAgentProfile404JSONResponse struct{ NotFoundJSONResponse }

func (GetAgentProfile404JSONResponse) VisitGetAgentProfileResponse

func (response GetAgentProfile404JSONResponse) VisitGetAgentProfileResponse(w http.ResponseWriter) error

type GetAgentProfile409JSONResponse

type GetAgentProfile409JSONResponse struct{ ConflictJSONResponse }

func (GetAgentProfile409JSONResponse) VisitGetAgentProfileResponse

func (response GetAgentProfile409JSONResponse) VisitGetAgentProfileResponse(w http.ResponseWriter) error

type GetAgentProfile503JSONResponse

type GetAgentProfile503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (GetAgentProfile503JSONResponse) VisitGetAgentProfileResponse

func (response GetAgentProfile503JSONResponse) VisitGetAgentProfileResponse(w http.ResponseWriter) error

type GetAgentProfileRequestObject

type GetAgentProfileRequestObject struct {
	OrgID          string `json:"orgID"`
	ProjectID      string `json:"projectID"`
	AgentProfileID string `json:"agentProfileID"`
}

type GetAgentProfileResponseObject

type GetAgentProfileResponseObject interface {
	VisitGetAgentProfileResponse(w http.ResponseWriter) error
}

type GetAgentRequestObject

type GetAgentRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	AgentID   string `json:"agentID"`
}

type GetAgentResponse

type GetAgentResponse struct {
	Agent Agent `json:"agent"`
}

GetAgentResponse defines model for GetAgentResponse.

type GetAgentResponseObject

type GetAgentResponseObject interface {
	VisitGetAgentResponse(w http.ResponseWriter) error
}

type GetArtifact4XXJSONResponse

type GetArtifact4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetArtifact4XXJSONResponse) VisitGetArtifactResponse

func (response GetArtifact4XXJSONResponse) VisitGetArtifactResponse(w http.ResponseWriter) error

type GetArtifact5XXJSONResponse

type GetArtifact5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetArtifact5XXJSONResponse) VisitGetArtifactResponse

func (response GetArtifact5XXJSONResponse) VisitGetArtifactResponse(w http.ResponseWriter) error

type GetArtifact200JSONResponse

type GetArtifact200JSONResponse Artifact

func (GetArtifact200JSONResponse) VisitGetArtifactResponse

func (response GetArtifact200JSONResponse) VisitGetArtifactResponse(w http.ResponseWriter) error

type GetArtifact400JSONResponse

type GetArtifact400JSONResponse struct{ BadRequestJSONResponse }

func (GetArtifact400JSONResponse) VisitGetArtifactResponse

func (response GetArtifact400JSONResponse) VisitGetArtifactResponse(w http.ResponseWriter) error

type GetArtifact401JSONResponse

type GetArtifact401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetArtifact401JSONResponse) VisitGetArtifactResponse

func (response GetArtifact401JSONResponse) VisitGetArtifactResponse(w http.ResponseWriter) error

type GetArtifact403JSONResponse

type GetArtifact403JSONResponse struct{ ForbiddenJSONResponse }

func (GetArtifact403JSONResponse) VisitGetArtifactResponse

func (response GetArtifact403JSONResponse) VisitGetArtifactResponse(w http.ResponseWriter) error

type GetArtifact404JSONResponse

type GetArtifact404JSONResponse struct{ NotFoundJSONResponse }

func (GetArtifact404JSONResponse) VisitGetArtifactResponse

func (response GetArtifact404JSONResponse) VisitGetArtifactResponse(w http.ResponseWriter) error

type GetArtifact409JSONResponse

type GetArtifact409JSONResponse struct{ ConflictJSONResponse }

func (GetArtifact409JSONResponse) VisitGetArtifactResponse

func (response GetArtifact409JSONResponse) VisitGetArtifactResponse(w http.ResponseWriter) error

type GetArtifact503JSONResponse

type GetArtifact503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (GetArtifact503JSONResponse) VisitGetArtifactResponse

func (response GetArtifact503JSONResponse) VisitGetArtifactResponse(w http.ResponseWriter) error

type GetArtifactContent4XXJSONResponse

type GetArtifactContent4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetArtifactContent4XXJSONResponse) VisitGetArtifactContentResponse

func (response GetArtifactContent4XXJSONResponse) VisitGetArtifactContentResponse(w http.ResponseWriter) error

type GetArtifactContent5XXJSONResponse

type GetArtifactContent5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetArtifactContent5XXJSONResponse) VisitGetArtifactContentResponse

func (response GetArtifactContent5XXJSONResponse) VisitGetArtifactContentResponse(w http.ResponseWriter) error

type GetArtifactContent200AsteriskResponse

type GetArtifactContent200AsteriskResponse struct {
	Body          io.Reader
	ContentType   string
	ContentLength int64
}

func (GetArtifactContent200AsteriskResponse) VisitGetArtifactContentResponse

func (response GetArtifactContent200AsteriskResponse) VisitGetArtifactContentResponse(w http.ResponseWriter) error

type GetArtifactContent400JSONResponse

type GetArtifactContent400JSONResponse struct{ BadRequestJSONResponse }

func (GetArtifactContent400JSONResponse) VisitGetArtifactContentResponse

func (response GetArtifactContent400JSONResponse) VisitGetArtifactContentResponse(w http.ResponseWriter) error

type GetArtifactContent401JSONResponse

type GetArtifactContent401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetArtifactContent401JSONResponse) VisitGetArtifactContentResponse

func (response GetArtifactContent401JSONResponse) VisitGetArtifactContentResponse(w http.ResponseWriter) error

type GetArtifactContent403JSONResponse

type GetArtifactContent403JSONResponse struct{ ForbiddenJSONResponse }

func (GetArtifactContent403JSONResponse) VisitGetArtifactContentResponse

func (response GetArtifactContent403JSONResponse) VisitGetArtifactContentResponse(w http.ResponseWriter) error

type GetArtifactContent404JSONResponse

type GetArtifactContent404JSONResponse struct{ NotFoundJSONResponse }

func (GetArtifactContent404JSONResponse) VisitGetArtifactContentResponse

func (response GetArtifactContent404JSONResponse) VisitGetArtifactContentResponse(w http.ResponseWriter) error

type GetArtifactContent409JSONResponse

type GetArtifactContent409JSONResponse struct{ ConflictJSONResponse }

func (GetArtifactContent409JSONResponse) VisitGetArtifactContentResponse

func (response GetArtifactContent409JSONResponse) VisitGetArtifactContentResponse(w http.ResponseWriter) error

type GetArtifactContent503JSONResponse

type GetArtifactContent503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (GetArtifactContent503JSONResponse) VisitGetArtifactContentResponse

func (response GetArtifactContent503JSONResponse) VisitGetArtifactContentResponse(w http.ResponseWriter) error

type GetArtifactContentRequestObject

type GetArtifactContentRequestObject struct {
	OrgID      string `json:"orgID"`
	ProjectID  string `json:"projectID"`
	AgentID    string `json:"agentID"`
	ArtifactID string `json:"artifactID"`
}

type GetArtifactContentResponseObject

type GetArtifactContentResponseObject interface {
	VisitGetArtifactContentResponse(w http.ResponseWriter) error
}

type GetArtifactRequestObject

type GetArtifactRequestObject struct {
	OrgID      string `json:"orgID"`
	ProjectID  string `json:"projectID"`
	AgentID    string `json:"agentID"`
	ArtifactID string `json:"artifactID"`
}

type GetArtifactResponseObject

type GetArtifactResponseObject interface {
	VisitGetArtifactResponse(w http.ResponseWriter) error
}

type GetCurrentUser4XXJSONResponse

type GetCurrentUser4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetCurrentUser4XXJSONResponse) VisitGetCurrentUserResponse

func (response GetCurrentUser4XXJSONResponse) VisitGetCurrentUserResponse(w http.ResponseWriter) error

type GetCurrentUser5XXJSONResponse

type GetCurrentUser5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetCurrentUser5XXJSONResponse) VisitGetCurrentUserResponse

func (response GetCurrentUser5XXJSONResponse) VisitGetCurrentUserResponse(w http.ResponseWriter) error

type GetCurrentUser200JSONResponse

type GetCurrentUser200JSONResponse CurrentUser

func (GetCurrentUser200JSONResponse) VisitGetCurrentUserResponse

func (response GetCurrentUser200JSONResponse) VisitGetCurrentUserResponse(w http.ResponseWriter) error

type GetCurrentUser401JSONResponse

type GetCurrentUser401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetCurrentUser401JSONResponse) VisitGetCurrentUserResponse

func (response GetCurrentUser401JSONResponse) VisitGetCurrentUserResponse(w http.ResponseWriter) error

type GetCurrentUser403JSONResponse

type GetCurrentUser403JSONResponse struct{ ForbiddenJSONResponse }

func (GetCurrentUser403JSONResponse) VisitGetCurrentUserResponse

func (response GetCurrentUser403JSONResponse) VisitGetCurrentUserResponse(w http.ResponseWriter) error

type GetCurrentUser404JSONResponse

type GetCurrentUser404JSONResponse struct{ NotFoundJSONResponse }

func (GetCurrentUser404JSONResponse) VisitGetCurrentUserResponse

func (response GetCurrentUser404JSONResponse) VisitGetCurrentUserResponse(w http.ResponseWriter) error

type GetCurrentUser503JSONResponse

type GetCurrentUser503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (GetCurrentUser503JSONResponse) VisitGetCurrentUserResponse

func (response GetCurrentUser503JSONResponse) VisitGetCurrentUserResponse(w http.ResponseWriter) error

type GetCurrentUserRequestObject

type GetCurrentUserRequestObject struct {
}

type GetCurrentUserResponseObject

type GetCurrentUserResponseObject interface {
	VisitGetCurrentUserResponse(w http.ResponseWriter) error
}

type GetDaemonSkillArchive4XXJSONResponse

type GetDaemonSkillArchive4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetDaemonSkillArchive4XXJSONResponse) VisitGetDaemonSkillArchiveResponse

func (response GetDaemonSkillArchive4XXJSONResponse) VisitGetDaemonSkillArchiveResponse(w http.ResponseWriter) error

type GetDaemonSkillArchive5XXJSONResponse

type GetDaemonSkillArchive5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetDaemonSkillArchive5XXJSONResponse) VisitGetDaemonSkillArchiveResponse

func (response GetDaemonSkillArchive5XXJSONResponse) VisitGetDaemonSkillArchiveResponse(w http.ResponseWriter) error

type GetDaemonSkillArchive200ApplicationoctetStreamResponse

type GetDaemonSkillArchive200ApplicationoctetStreamResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (GetDaemonSkillArchive200ApplicationoctetStreamResponse) VisitGetDaemonSkillArchiveResponse

func (response GetDaemonSkillArchive200ApplicationoctetStreamResponse) VisitGetDaemonSkillArchiveResponse(w http.ResponseWriter) error

type GetDaemonSkillArchive400JSONResponse

type GetDaemonSkillArchive400JSONResponse struct{ BadRequestJSONResponse }

func (GetDaemonSkillArchive400JSONResponse) VisitGetDaemonSkillArchiveResponse

func (response GetDaemonSkillArchive400JSONResponse) VisitGetDaemonSkillArchiveResponse(w http.ResponseWriter) error

type GetDaemonSkillArchive403JSONResponse

type GetDaemonSkillArchive403JSONResponse struct{ ForbiddenJSONResponse }

func (GetDaemonSkillArchive403JSONResponse) VisitGetDaemonSkillArchiveResponse

func (response GetDaemonSkillArchive403JSONResponse) VisitGetDaemonSkillArchiveResponse(w http.ResponseWriter) error

type GetDaemonSkillArchive404JSONResponse

type GetDaemonSkillArchive404JSONResponse struct{ NotFoundJSONResponse }

func (GetDaemonSkillArchive404JSONResponse) VisitGetDaemonSkillArchiveResponse

func (response GetDaemonSkillArchive404JSONResponse) VisitGetDaemonSkillArchiveResponse(w http.ResponseWriter) error

type GetDaemonSkillArchive410JSONResponse

type GetDaemonSkillArchive410JSONResponse struct{ GoneJSONResponse }

func (GetDaemonSkillArchive410JSONResponse) VisitGetDaemonSkillArchiveResponse

func (response GetDaemonSkillArchive410JSONResponse) VisitGetDaemonSkillArchiveResponse(w http.ResponseWriter) error

type GetDaemonSkillArchive503JSONResponse

type GetDaemonSkillArchive503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (GetDaemonSkillArchive503JSONResponse) VisitGetDaemonSkillArchiveResponse

func (response GetDaemonSkillArchive503JSONResponse) VisitGetDaemonSkillArchiveResponse(w http.ResponseWriter) error

type GetDaemonSkillArchiveParams

type GetDaemonSkillArchiveParams struct {
	RevisionId    string `form:"revision_id" json:"revision_id"`
	ExpiresAt     int64  `form:"expires_at" json:"expires_at"`
	DownloadToken string `form:"download_token" json:"download_token"`
}

GetDaemonSkillArchiveParams defines parameters for GetDaemonSkillArchive.

type GetDaemonSkillArchiveRequestObject

type GetDaemonSkillArchiveRequestObject struct {
	SkillID string `json:"skillID"`
	Params  GetDaemonSkillArchiveParams
}

type GetDaemonSkillArchiveResponseObject

type GetDaemonSkillArchiveResponseObject interface {
	VisitGetDaemonSkillArchiveResponse(w http.ResponseWriter) error
}

type GetMachine4XXJSONResponse

type GetMachine4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetMachine4XXJSONResponse) VisitGetMachineResponse

func (response GetMachine4XXJSONResponse) VisitGetMachineResponse(w http.ResponseWriter) error

type GetMachine5XXJSONResponse

type GetMachine5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetMachine5XXJSONResponse) VisitGetMachineResponse

func (response GetMachine5XXJSONResponse) VisitGetMachineResponse(w http.ResponseWriter) error

type GetMachine200JSONResponse

type GetMachine200JSONResponse Machine

func (GetMachine200JSONResponse) VisitGetMachineResponse

func (response GetMachine200JSONResponse) VisitGetMachineResponse(w http.ResponseWriter) error

type GetMachine400JSONResponse

type GetMachine400JSONResponse struct{ BadRequestJSONResponse }

func (GetMachine400JSONResponse) VisitGetMachineResponse

func (response GetMachine400JSONResponse) VisitGetMachineResponse(w http.ResponseWriter) error

type GetMachine401JSONResponse

type GetMachine401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetMachine401JSONResponse) VisitGetMachineResponse

func (response GetMachine401JSONResponse) VisitGetMachineResponse(w http.ResponseWriter) error

type GetMachine403JSONResponse

type GetMachine403JSONResponse struct{ ForbiddenJSONResponse }

func (GetMachine403JSONResponse) VisitGetMachineResponse

func (response GetMachine403JSONResponse) VisitGetMachineResponse(w http.ResponseWriter) error

type GetMachine404JSONResponse

type GetMachine404JSONResponse struct{ NotFoundJSONResponse }

func (GetMachine404JSONResponse) VisitGetMachineResponse

func (response GetMachine404JSONResponse) VisitGetMachineResponse(w http.ResponseWriter) error

type GetMachine409JSONResponse

type GetMachine409JSONResponse struct{ ConflictJSONResponse }

func (GetMachine409JSONResponse) VisitGetMachineResponse

func (response GetMachine409JSONResponse) VisitGetMachineResponse(w http.ResponseWriter) error

type GetMachine503JSONResponse

type GetMachine503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (GetMachine503JSONResponse) VisitGetMachineResponse

func (response GetMachine503JSONResponse) VisitGetMachineResponse(w http.ResponseWriter) error

type GetMachinePool4XXJSONResponse

type GetMachinePool4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetMachinePool4XXJSONResponse) VisitGetMachinePoolResponse

func (response GetMachinePool4XXJSONResponse) VisitGetMachinePoolResponse(w http.ResponseWriter) error

type GetMachinePool5XXJSONResponse

type GetMachinePool5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetMachinePool5XXJSONResponse) VisitGetMachinePoolResponse

func (response GetMachinePool5XXJSONResponse) VisitGetMachinePoolResponse(w http.ResponseWriter) error

type GetMachinePool200JSONResponse

type GetMachinePool200JSONResponse MachinePool

func (GetMachinePool200JSONResponse) VisitGetMachinePoolResponse

func (response GetMachinePool200JSONResponse) VisitGetMachinePoolResponse(w http.ResponseWriter) error

type GetMachinePool400JSONResponse

type GetMachinePool400JSONResponse struct{ BadRequestJSONResponse }

func (GetMachinePool400JSONResponse) VisitGetMachinePoolResponse

func (response GetMachinePool400JSONResponse) VisitGetMachinePoolResponse(w http.ResponseWriter) error

type GetMachinePool401JSONResponse

type GetMachinePool401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetMachinePool401JSONResponse) VisitGetMachinePoolResponse

func (response GetMachinePool401JSONResponse) VisitGetMachinePoolResponse(w http.ResponseWriter) error

type GetMachinePool403JSONResponse

type GetMachinePool403JSONResponse struct{ ForbiddenJSONResponse }

func (GetMachinePool403JSONResponse) VisitGetMachinePoolResponse

func (response GetMachinePool403JSONResponse) VisitGetMachinePoolResponse(w http.ResponseWriter) error

type GetMachinePool404JSONResponse

type GetMachinePool404JSONResponse struct{ NotFoundJSONResponse }

func (GetMachinePool404JSONResponse) VisitGetMachinePoolResponse

func (response GetMachinePool404JSONResponse) VisitGetMachinePoolResponse(w http.ResponseWriter) error

type GetMachinePool409JSONResponse

type GetMachinePool409JSONResponse struct{ ConflictJSONResponse }

func (GetMachinePool409JSONResponse) VisitGetMachinePoolResponse

func (response GetMachinePool409JSONResponse) VisitGetMachinePoolResponse(w http.ResponseWriter) error

type GetMachinePool503JSONResponse

type GetMachinePool503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (GetMachinePool503JSONResponse) VisitGetMachinePoolResponse

func (response GetMachinePool503JSONResponse) VisitGetMachinePoolResponse(w http.ResponseWriter) error

type GetMachinePoolRequestObject

type GetMachinePoolRequestObject struct {
	OrgID  string `json:"orgID"`
	PoolID string `json:"poolID"`
}

type GetMachinePoolResponseObject

type GetMachinePoolResponseObject interface {
	VisitGetMachinePoolResponse(w http.ResponseWriter) error
}

type GetMachineRequestObject

type GetMachineRequestObject struct {
	OrgID     string `json:"orgID"`
	MachineID string `json:"machineID"`
}

type GetMachineResponseObject

type GetMachineResponseObject interface {
	VisitGetMachineResponse(w http.ResponseWriter) error
}

type GetModelProviderConfig4XXJSONResponse

type GetModelProviderConfig4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetModelProviderConfig4XXJSONResponse) VisitGetModelProviderConfigResponse

func (response GetModelProviderConfig4XXJSONResponse) VisitGetModelProviderConfigResponse(w http.ResponseWriter) error

type GetModelProviderConfig5XXJSONResponse

type GetModelProviderConfig5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetModelProviderConfig5XXJSONResponse) VisitGetModelProviderConfigResponse

func (response GetModelProviderConfig5XXJSONResponse) VisitGetModelProviderConfigResponse(w http.ResponseWriter) error

type GetModelProviderConfig200JSONResponse

type GetModelProviderConfig200JSONResponse ModelProviderConfig

func (GetModelProviderConfig200JSONResponse) VisitGetModelProviderConfigResponse

func (response GetModelProviderConfig200JSONResponse) VisitGetModelProviderConfigResponse(w http.ResponseWriter) error

type GetModelProviderConfig400JSONResponse

type GetModelProviderConfig400JSONResponse struct{ BadRequestJSONResponse }

func (GetModelProviderConfig400JSONResponse) VisitGetModelProviderConfigResponse

func (response GetModelProviderConfig400JSONResponse) VisitGetModelProviderConfigResponse(w http.ResponseWriter) error

type GetModelProviderConfig401JSONResponse

type GetModelProviderConfig401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetModelProviderConfig401JSONResponse) VisitGetModelProviderConfigResponse

func (response GetModelProviderConfig401JSONResponse) VisitGetModelProviderConfigResponse(w http.ResponseWriter) error

type GetModelProviderConfig403JSONResponse

type GetModelProviderConfig403JSONResponse struct{ ForbiddenJSONResponse }

func (GetModelProviderConfig403JSONResponse) VisitGetModelProviderConfigResponse

func (response GetModelProviderConfig403JSONResponse) VisitGetModelProviderConfigResponse(w http.ResponseWriter) error

type GetModelProviderConfig404JSONResponse

type GetModelProviderConfig404JSONResponse struct{ NotFoundJSONResponse }

func (GetModelProviderConfig404JSONResponse) VisitGetModelProviderConfigResponse

func (response GetModelProviderConfig404JSONResponse) VisitGetModelProviderConfigResponse(w http.ResponseWriter) error

type GetModelProviderConfig409JSONResponse

type GetModelProviderConfig409JSONResponse struct{ ConflictJSONResponse }

func (GetModelProviderConfig409JSONResponse) VisitGetModelProviderConfigResponse

func (response GetModelProviderConfig409JSONResponse) VisitGetModelProviderConfigResponse(w http.ResponseWriter) error

type GetModelProviderConfig503JSONResponse

type GetModelProviderConfig503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (GetModelProviderConfig503JSONResponse) VisitGetModelProviderConfigResponse

func (response GetModelProviderConfig503JSONResponse) VisitGetModelProviderConfigResponse(w http.ResponseWriter) error

type GetModelProviderConfigRequestObject

type GetModelProviderConfigRequestObject struct {
	OrgID                 string `json:"orgID"`
	ModelProviderConfigID string `json:"modelProviderConfigID"`
}

type GetModelProviderConfigResponseObject

type GetModelProviderConfigResponseObject interface {
	VisitGetModelProviderConfigResponse(w http.ResponseWriter) error
}

type GetOrgAPIKey4XXJSONResponse

type GetOrgAPIKey4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetOrgAPIKey4XXJSONResponse) VisitGetOrgAPIKeyResponse

func (response GetOrgAPIKey4XXJSONResponse) VisitGetOrgAPIKeyResponse(w http.ResponseWriter) error

type GetOrgAPIKey5XXJSONResponse

type GetOrgAPIKey5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetOrgAPIKey5XXJSONResponse) VisitGetOrgAPIKeyResponse

func (response GetOrgAPIKey5XXJSONResponse) VisitGetOrgAPIKeyResponse(w http.ResponseWriter) error

type GetOrgAPIKey200JSONResponse

type GetOrgAPIKey200JSONResponse OrgAPIKey

func (GetOrgAPIKey200JSONResponse) VisitGetOrgAPIKeyResponse

func (response GetOrgAPIKey200JSONResponse) VisitGetOrgAPIKeyResponse(w http.ResponseWriter) error

type GetOrgAPIKey400JSONResponse

type GetOrgAPIKey400JSONResponse struct{ BadRequestJSONResponse }

func (GetOrgAPIKey400JSONResponse) VisitGetOrgAPIKeyResponse

func (response GetOrgAPIKey400JSONResponse) VisitGetOrgAPIKeyResponse(w http.ResponseWriter) error

type GetOrgAPIKey401JSONResponse

type GetOrgAPIKey401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetOrgAPIKey401JSONResponse) VisitGetOrgAPIKeyResponse

func (response GetOrgAPIKey401JSONResponse) VisitGetOrgAPIKeyResponse(w http.ResponseWriter) error

type GetOrgAPIKey403JSONResponse

type GetOrgAPIKey403JSONResponse struct{ ForbiddenJSONResponse }

func (GetOrgAPIKey403JSONResponse) VisitGetOrgAPIKeyResponse

func (response GetOrgAPIKey403JSONResponse) VisitGetOrgAPIKeyResponse(w http.ResponseWriter) error

type GetOrgAPIKey404JSONResponse

type GetOrgAPIKey404JSONResponse struct{ NotFoundJSONResponse }

func (GetOrgAPIKey404JSONResponse) VisitGetOrgAPIKeyResponse

func (response GetOrgAPIKey404JSONResponse) VisitGetOrgAPIKeyResponse(w http.ResponseWriter) error

type GetOrgAPIKey503JSONResponse

type GetOrgAPIKey503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (GetOrgAPIKey503JSONResponse) VisitGetOrgAPIKeyResponse

func (response GetOrgAPIKey503JSONResponse) VisitGetOrgAPIKeyResponse(w http.ResponseWriter) error

type GetOrgAPIKeyRequestObject

type GetOrgAPIKeyRequestObject struct {
	OrgID string `json:"orgID"`
	KeyID string `json:"keyID"`
}

type GetOrgAPIKeyResponseObject

type GetOrgAPIKeyResponseObject interface {
	VisitGetOrgAPIKeyResponse(w http.ResponseWriter) error
}

type GetProjectAvailableSecret4XXJSONResponse

type GetProjectAvailableSecret4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetProjectAvailableSecret4XXJSONResponse) VisitGetProjectAvailableSecretResponse

func (response GetProjectAvailableSecret4XXJSONResponse) VisitGetProjectAvailableSecretResponse(w http.ResponseWriter) error

type GetProjectAvailableSecret5XXJSONResponse

type GetProjectAvailableSecret5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetProjectAvailableSecret5XXJSONResponse) VisitGetProjectAvailableSecretResponse

func (response GetProjectAvailableSecret5XXJSONResponse) VisitGetProjectAvailableSecretResponse(w http.ResponseWriter) error

type GetProjectAvailableSecret200JSONResponse

type GetProjectAvailableSecret200JSONResponse ProjectSecretAccess

func (GetProjectAvailableSecret200JSONResponse) VisitGetProjectAvailableSecretResponse

func (response GetProjectAvailableSecret200JSONResponse) VisitGetProjectAvailableSecretResponse(w http.ResponseWriter) error

type GetProjectAvailableSecret400JSONResponse

type GetProjectAvailableSecret400JSONResponse struct{ BadRequestJSONResponse }

func (GetProjectAvailableSecret400JSONResponse) VisitGetProjectAvailableSecretResponse

func (response GetProjectAvailableSecret400JSONResponse) VisitGetProjectAvailableSecretResponse(w http.ResponseWriter) error

type GetProjectAvailableSecret401JSONResponse

type GetProjectAvailableSecret401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetProjectAvailableSecret401JSONResponse) VisitGetProjectAvailableSecretResponse

func (response GetProjectAvailableSecret401JSONResponse) VisitGetProjectAvailableSecretResponse(w http.ResponseWriter) error

type GetProjectAvailableSecret403JSONResponse

type GetProjectAvailableSecret403JSONResponse struct{ ForbiddenJSONResponse }

func (GetProjectAvailableSecret403JSONResponse) VisitGetProjectAvailableSecretResponse

func (response GetProjectAvailableSecret403JSONResponse) VisitGetProjectAvailableSecretResponse(w http.ResponseWriter) error

type GetProjectAvailableSecret404JSONResponse

type GetProjectAvailableSecret404JSONResponse struct{ NotFoundJSONResponse }

func (GetProjectAvailableSecret404JSONResponse) VisitGetProjectAvailableSecretResponse

func (response GetProjectAvailableSecret404JSONResponse) VisitGetProjectAvailableSecretResponse(w http.ResponseWriter) error

type GetProjectAvailableSecret500JSONResponse

type GetProjectAvailableSecret500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (GetProjectAvailableSecret500JSONResponse) VisitGetProjectAvailableSecretResponse

func (response GetProjectAvailableSecret500JSONResponse) VisitGetProjectAvailableSecretResponse(w http.ResponseWriter) error

type GetProjectAvailableSecret503JSONResponse

type GetProjectAvailableSecret503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (GetProjectAvailableSecret503JSONResponse) VisitGetProjectAvailableSecretResponse

func (response GetProjectAvailableSecret503JSONResponse) VisitGetProjectAvailableSecretResponse(w http.ResponseWriter) error

type GetProjectAvailableSecretRequestObject

type GetProjectAvailableSecretRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	SecretID  string `json:"secretID"`
}

type GetProjectAvailableSecretResponseObject

type GetProjectAvailableSecretResponseObject interface {
	VisitGetProjectAvailableSecretResponse(w http.ResponseWriter) error
}

type GetProjectMachinePoolGrant4XXJSONResponse

type GetProjectMachinePoolGrant4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetProjectMachinePoolGrant4XXJSONResponse) VisitGetProjectMachinePoolGrantResponse

func (response GetProjectMachinePoolGrant4XXJSONResponse) VisitGetProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type GetProjectMachinePoolGrant5XXJSONResponse

type GetProjectMachinePoolGrant5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetProjectMachinePoolGrant5XXJSONResponse) VisitGetProjectMachinePoolGrantResponse

func (response GetProjectMachinePoolGrant5XXJSONResponse) VisitGetProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type GetProjectMachinePoolGrant200JSONResponse

type GetProjectMachinePoolGrant200JSONResponse ProjectMachinePoolGrant

func (GetProjectMachinePoolGrant200JSONResponse) VisitGetProjectMachinePoolGrantResponse

func (response GetProjectMachinePoolGrant200JSONResponse) VisitGetProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type GetProjectMachinePoolGrant400JSONResponse

type GetProjectMachinePoolGrant400JSONResponse struct{ BadRequestJSONResponse }

func (GetProjectMachinePoolGrant400JSONResponse) VisitGetProjectMachinePoolGrantResponse

func (response GetProjectMachinePoolGrant400JSONResponse) VisitGetProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type GetProjectMachinePoolGrant401JSONResponse

type GetProjectMachinePoolGrant401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetProjectMachinePoolGrant401JSONResponse) VisitGetProjectMachinePoolGrantResponse

func (response GetProjectMachinePoolGrant401JSONResponse) VisitGetProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type GetProjectMachinePoolGrant403JSONResponse

type GetProjectMachinePoolGrant403JSONResponse struct{ ForbiddenJSONResponse }

func (GetProjectMachinePoolGrant403JSONResponse) VisitGetProjectMachinePoolGrantResponse

func (response GetProjectMachinePoolGrant403JSONResponse) VisitGetProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type GetProjectMachinePoolGrant404JSONResponse

type GetProjectMachinePoolGrant404JSONResponse struct{ NotFoundJSONResponse }

func (GetProjectMachinePoolGrant404JSONResponse) VisitGetProjectMachinePoolGrantResponse

func (response GetProjectMachinePoolGrant404JSONResponse) VisitGetProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type GetProjectMachinePoolGrant409JSONResponse

type GetProjectMachinePoolGrant409JSONResponse struct{ ConflictJSONResponse }

func (GetProjectMachinePoolGrant409JSONResponse) VisitGetProjectMachinePoolGrantResponse

func (response GetProjectMachinePoolGrant409JSONResponse) VisitGetProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type GetProjectMachinePoolGrant503JSONResponse

type GetProjectMachinePoolGrant503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (GetProjectMachinePoolGrant503JSONResponse) VisitGetProjectMachinePoolGrantResponse

func (response GetProjectMachinePoolGrant503JSONResponse) VisitGetProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type GetProjectMachinePoolGrantRequestObject

type GetProjectMachinePoolGrantRequestObject struct {
	OrgID       string `json:"orgID"`
	ProjectID   string `json:"projectID"`
	PoolGrantID string `json:"poolGrantID"`
}

type GetProjectMachinePoolGrantResponseObject

type GetProjectMachinePoolGrantResponseObject interface {
	VisitGetProjectMachinePoolGrantResponse(w http.ResponseWriter) error
}

type GetSecret4XXJSONResponse

type GetSecret4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetSecret4XXJSONResponse) VisitGetSecretResponse

func (response GetSecret4XXJSONResponse) VisitGetSecretResponse(w http.ResponseWriter) error

type GetSecret5XXJSONResponse

type GetSecret5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetSecret5XXJSONResponse) VisitGetSecretResponse

func (response GetSecret5XXJSONResponse) VisitGetSecretResponse(w http.ResponseWriter) error

type GetSecret200JSONResponse

type GetSecret200JSONResponse Secret

func (GetSecret200JSONResponse) VisitGetSecretResponse

func (response GetSecret200JSONResponse) VisitGetSecretResponse(w http.ResponseWriter) error

type GetSecret400JSONResponse

type GetSecret400JSONResponse struct{ BadRequestJSONResponse }

func (GetSecret400JSONResponse) VisitGetSecretResponse

func (response GetSecret400JSONResponse) VisitGetSecretResponse(w http.ResponseWriter) error

type GetSecret401JSONResponse

type GetSecret401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetSecret401JSONResponse) VisitGetSecretResponse

func (response GetSecret401JSONResponse) VisitGetSecretResponse(w http.ResponseWriter) error

type GetSecret403JSONResponse

type GetSecret403JSONResponse struct{ ForbiddenJSONResponse }

func (GetSecret403JSONResponse) VisitGetSecretResponse

func (response GetSecret403JSONResponse) VisitGetSecretResponse(w http.ResponseWriter) error

type GetSecret404JSONResponse

type GetSecret404JSONResponse struct{ NotFoundJSONResponse }

func (GetSecret404JSONResponse) VisitGetSecretResponse

func (response GetSecret404JSONResponse) VisitGetSecretResponse(w http.ResponseWriter) error

type GetSecret500JSONResponse

type GetSecret500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (GetSecret500JSONResponse) VisitGetSecretResponse

func (response GetSecret500JSONResponse) VisitGetSecretResponse(w http.ResponseWriter) error

type GetSecret503JSONResponse

type GetSecret503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (GetSecret503JSONResponse) VisitGetSecretResponse

func (response GetSecret503JSONResponse) VisitGetSecretResponse(w http.ResponseWriter) error

type GetSecretRequestObject

type GetSecretRequestObject struct {
	OrgID    string `json:"orgID"`
	SecretID string `json:"secretID"`
}

type GetSecretResponseObject

type GetSecretResponseObject interface {
	VisitGetSecretResponse(w http.ResponseWriter) error
}

type GetSkill4XXJSONResponse

type GetSkill4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetSkill4XXJSONResponse) VisitGetSkillResponse

func (response GetSkill4XXJSONResponse) VisitGetSkillResponse(w http.ResponseWriter) error

type GetSkill5XXJSONResponse

type GetSkill5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetSkill5XXJSONResponse) VisitGetSkillResponse

func (response GetSkill5XXJSONResponse) VisitGetSkillResponse(w http.ResponseWriter) error

type GetSkill200JSONResponse

type GetSkill200JSONResponse Skill

func (GetSkill200JSONResponse) VisitGetSkillResponse

func (response GetSkill200JSONResponse) VisitGetSkillResponse(w http.ResponseWriter) error

type GetSkill400JSONResponse

type GetSkill400JSONResponse struct{ BadRequestJSONResponse }

func (GetSkill400JSONResponse) VisitGetSkillResponse

func (response GetSkill400JSONResponse) VisitGetSkillResponse(w http.ResponseWriter) error

type GetSkill401JSONResponse

type GetSkill401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetSkill401JSONResponse) VisitGetSkillResponse

func (response GetSkill401JSONResponse) VisitGetSkillResponse(w http.ResponseWriter) error

type GetSkill403JSONResponse

type GetSkill403JSONResponse struct{ ForbiddenJSONResponse }

func (GetSkill403JSONResponse) VisitGetSkillResponse

func (response GetSkill403JSONResponse) VisitGetSkillResponse(w http.ResponseWriter) error

type GetSkill404JSONResponse

type GetSkill404JSONResponse struct{ NotFoundJSONResponse }

func (GetSkill404JSONResponse) VisitGetSkillResponse

func (response GetSkill404JSONResponse) VisitGetSkillResponse(w http.ResponseWriter) error

type GetSkill500JSONResponse

type GetSkill500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (GetSkill500JSONResponse) VisitGetSkillResponse

func (response GetSkill500JSONResponse) VisitGetSkillResponse(w http.ResponseWriter) error

type GetSkill503JSONResponse

type GetSkill503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (GetSkill503JSONResponse) VisitGetSkillResponse

func (response GetSkill503JSONResponse) VisitGetSkillResponse(w http.ResponseWriter) error

type GetSkillRequestObject

type GetSkillRequestObject struct {
	OrgID   string `json:"orgID"`
	SkillID string `json:"skillID"`
}

type GetSkillResponseObject

type GetSkillResponseObject interface {
	VisitGetSkillResponse(w http.ResponseWriter) error
}

type GetToolCatalog4XXJSONResponse

type GetToolCatalog4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetToolCatalog4XXJSONResponse) VisitGetToolCatalogResponse

func (response GetToolCatalog4XXJSONResponse) VisitGetToolCatalogResponse(w http.ResponseWriter) error

type GetToolCatalog5XXJSONResponse

type GetToolCatalog5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (GetToolCatalog5XXJSONResponse) VisitGetToolCatalogResponse

func (response GetToolCatalog5XXJSONResponse) VisitGetToolCatalogResponse(w http.ResponseWriter) error

type GetToolCatalog200JSONResponse

type GetToolCatalog200JSONResponse ToolCatalog

func (GetToolCatalog200JSONResponse) VisitGetToolCatalogResponse

func (response GetToolCatalog200JSONResponse) VisitGetToolCatalogResponse(w http.ResponseWriter) error

type GetToolCatalog401JSONResponse

type GetToolCatalog401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetToolCatalog401JSONResponse) VisitGetToolCatalogResponse

func (response GetToolCatalog401JSONResponse) VisitGetToolCatalogResponse(w http.ResponseWriter) error

type GetToolCatalog403JSONResponse

type GetToolCatalog403JSONResponse struct{ ForbiddenJSONResponse }

func (GetToolCatalog403JSONResponse) VisitGetToolCatalogResponse

func (response GetToolCatalog403JSONResponse) VisitGetToolCatalogResponse(w http.ResponseWriter) error

type GetToolCatalog503JSONResponse

type GetToolCatalog503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (GetToolCatalog503JSONResponse) VisitGetToolCatalogResponse

func (response GetToolCatalog503JSONResponse) VisitGetToolCatalogResponse(w http.ResponseWriter) error

type GetToolCatalogRequestObject

type GetToolCatalogRequestObject struct {
}

type GetToolCatalogResponseObject

type GetToolCatalogResponseObject interface {
	VisitGetToolCatalogResponse(w http.ResponseWriter) error
}

type Gone

type Gone = Error

Gone defines model for Gone.

type GoneJSONResponse

type GoneJSONResponse Error

type GrantedSecretAvailability

type GrantedSecretAvailability struct {
	GrantId   SecretGrantID                   `json:"grant_id"`
	ProjectId ProjectID                       `json:"project_id"`
	Source    GrantedSecretAvailabilitySource `json:"source"`
}

GrantedSecretAvailability defines model for GrantedSecretAvailability.

type GrantedSecretAvailabilitySource

type GrantedSecretAvailabilitySource string

GrantedSecretAvailabilitySource defines model for GrantedSecretAvailability.Source.

const (
	GrantedSecretAvailabilitySourceGrant GrantedSecretAvailabilitySource = "grant"
)

Defines values for GrantedSecretAvailabilitySource.

func (GrantedSecretAvailabilitySource) Valid

Valid indicates whether the value is a known member of the GrantedSecretAvailabilitySource enum.

type GrantedSkillAvailability

type GrantedSkillAvailability struct {
	GrantId SkillGrantID                   `json:"grant_id"`
	Source  GrantedSkillAvailabilitySource `json:"source"`
}

GrantedSkillAvailability defines model for GrantedSkillAvailability.

type GrantedSkillAvailabilitySource

type GrantedSkillAvailabilitySource string

GrantedSkillAvailabilitySource defines model for GrantedSkillAvailability.Source.

const (
	GrantedSkillAvailabilitySourceGrant GrantedSkillAvailabilitySource = "grant"
)

Defines values for GrantedSkillAvailabilitySource.

func (GrantedSkillAvailabilitySource) Valid

Valid indicates whether the value is a known member of the GrantedSkillAvailabilitySource enum.

type IdempotencyKey

type IdempotencyKey = string

IdempotencyKey defines model for IdempotencyKey.

type InlineMediaContentBlock

type InlineMediaContentBlock struct {
	Data      []byte                           `json:"data"`
	Filename  *string                          `json:"filename,omitempty"`
	MediaType InlineMediaContentBlockMediaType `json:"media_type"`

	// Metadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters. Keys beginning with `omnara_` are reserved for Omnara and may affect product behavior; use them only when intentionally invoking Omnara-defined behavior.
	Metadata ContentBlockMetadata        `json:"metadata,omitempty"`
	Type     InlineMediaContentBlockType `json:"type"`
}

InlineMediaContentBlock defines model for InlineMediaContentBlock.

type InlineMediaContentBlockMediaType

type InlineMediaContentBlockMediaType string

InlineMediaContentBlockMediaType defines model for InlineMediaContentBlock.MediaType.

const (
	Applicationpdf                                                       InlineMediaContentBlockMediaType = "application/pdf"
	ApplicationvndOpenxmlformatsOfficedocumentPresentationmlPresentation InlineMediaContentBlockMediaType = "application/vnd.openxmlformats-officedocument.presentationml.presentation"
	ApplicationvndOpenxmlformatsOfficedocumentSpreadsheetmlSheet         InlineMediaContentBlockMediaType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
	ApplicationvndOpenxmlformatsOfficedocumentWordprocessingmlDocument   InlineMediaContentBlockMediaType = "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
	Imagegif                                                             InlineMediaContentBlockMediaType = "image/gif"
	Imagejpeg                                                            InlineMediaContentBlockMediaType = "image/jpeg"
	Imagepng                                                             InlineMediaContentBlockMediaType = "image/png"
	Imagewebp                                                            InlineMediaContentBlockMediaType = "image/webp"
	Textcsv                                                              InlineMediaContentBlockMediaType = "text/csv"
	Textmarkdown                                                         InlineMediaContentBlockMediaType = "text/markdown"
	Textplain                                                            InlineMediaContentBlockMediaType = "text/plain"
	TexttabSeparatedValues                                               InlineMediaContentBlockMediaType = "text/tab-separated-values"
)

Defines values for InlineMediaContentBlockMediaType.

func (InlineMediaContentBlockMediaType) Valid

Valid indicates whether the value is a known member of the InlineMediaContentBlockMediaType enum.

type InlineMediaContentBlockType

type InlineMediaContentBlockType string

InlineMediaContentBlockType defines model for InlineMediaContentBlock.Type.

const (
	Media InlineMediaContentBlockType = "media"
)

Defines values for InlineMediaContentBlockType.

func (InlineMediaContentBlockType) Valid

Valid indicates whether the value is a known member of the InlineMediaContentBlockType enum.

type InstallationID

type InstallationID = string

InstallationID defines model for InstallationID.

type IntegrationInstall

type IntegrationInstall struct {
	AgentId                  *AgentID                `json:"agent_id,omitempty"`
	AgentProfileId           *AgentProfileID         `json:"agent_profile_id,omitempty"`
	ConnectionMode           string                  `json:"connection_mode"`
	CreatedAt                Timestamp               `json:"created_at"`
	Id                       IntegrationInstallID    `json:"id"`
	IntegrationKind          string                  `json:"integration_kind"`
	OrgId                    OrganizationID          `json:"org_id"`
	ProjectId                ProjectID               `json:"project_id"`
	Provider                 string                  `json:"provider"`
	ProviderAccountRef       string                  `json:"provider_account_ref"`
	ProviderAgentDisplayName string                  `json:"provider_agent_display_name"`
	ProviderTenantId         string                  `json:"provider_tenant_id"`
	State                    IntegrationInstallState `json:"state"`
	UpdatedAt                Timestamp               `json:"updated_at"`
}

IntegrationInstall A provider app installation that connects an agent profile or a single agent to an external app. Exactly one of agent_profile_id and agent_id is set. Provider credentials are never returned.

type IntegrationInstallAgentProfileFilter

type IntegrationInstallAgentProfileFilter = AgentProfileID

IntegrationInstallAgentProfileFilter defines model for IntegrationInstallAgentProfileFilter.

type IntegrationInstallID

type IntegrationInstallID = string

IntegrationInstallID defines model for IntegrationInstallID.

type IntegrationInstallState

type IntegrationInstallState string

IntegrationInstallState defines model for IntegrationInstall.State.

const (
	IntegrationInstallStateActive   IntegrationInstallState = "active"
	IntegrationInstallStateDisabled IntegrationInstallState = "disabled"
)

Defines values for IntegrationInstallState.

func (IntegrationInstallState) Valid

func (e IntegrationInstallState) Valid() bool

Valid indicates whether the value is a known member of the IntegrationInstallState enum.

type IntegrationOAuthSetup

type IntegrationOAuthSetup struct {
	ActionsUrl  string    `json:"actions_url"`
	EventsUrl   string    `json:"events_url"`
	ExpiresAt   Timestamp `json:"expires_at"`
	OauthUrl    string    `json:"oauth_url"`
	Provider    string    `json:"provider"`
	RedirectUri string    `json:"redirect_uri"`
}

IntegrationOAuthSetup defines model for IntegrationOAuthSetup.

type IntegrationTarget

type IntegrationTarget struct {
	DisplayName     string  `json:"display_name"`
	Provider        string  `json:"provider"`
	ProviderRef     string  `json:"provider_ref"`
	ProviderRefKind string  `json:"provider_ref_kind"`
	ProviderUri     *string `json:"provider_uri,omitempty"`
}

IntegrationTarget defines model for IntegrationTarget.

type InteractionAnswer

type InteractionAnswer struct {
	OptionIndices []int `json:"option_indices"`

	// Text Optional companion text when the selected option allows it.
	Text string `json:"text,omitempty"`
}

InteractionAnswer defines model for InteractionAnswer.

type InteractionForm

type InteractionForm struct {
	Context   *[]InteractionFormContextItem `json:"context,omitempty"`
	Questions []InteractionFormQuestion     `json:"questions"`
	Title     string                        `json:"title"`
}

InteractionForm defines model for InteractionForm.

type InteractionFormContextItem

type InteractionFormContextItem struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

InteractionFormContextItem defines model for InteractionFormContextItem.

type InteractionFormOption

type InteractionFormOption struct {
	// AllowsText Whether the answer may include optional companion text for this option.
	AllowsText bool   `json:"allows_text,omitempty"`
	Label      string `json:"label"`
}

InteractionFormOption defines model for InteractionFormOption.

type InteractionFormQuestion

type InteractionFormQuestion struct {
	// Multiple Whether the answer may select more than one option.
	Multiple bool                    `json:"multiple,omitempty"`
	Options  []InteractionFormOption `json:"options"`
	Prompt   string                  `json:"prompt"`
}

InteractionFormQuestion defines model for InteractionFormQuestion.

type InteractionResolution

type InteractionResolution struct {
	// Answers Answers in the same order as the interaction form's questions.
	Answers []InteractionAnswer `json:"answers"`
}

InteractionResolution defines model for InteractionResolution.

type InternalServerError

type InternalServerError = Error

InternalServerError defines model for InternalServerError.

type InternalServerErrorJSONResponse

type InternalServerErrorJSONResponse Error

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type JSONBlob

type JSONBlob = interface{}

JSONBlob Public JSON payload whose shape is determined by the event or interaction kind.

type LaunchAgentResponse

type LaunchAgentResponse struct {
	Agent           Agent                 `json:"agent"`
	AgentConfig     AgentConfig           `json:"agent_config"`
	AgentInput      *AgentInput           `json:"agent_input,omitempty"`
	MachineBindings []AgentMachineBinding `json:"machine_bindings"`
}

LaunchAgentResponse defines model for LaunchAgentResponse.

type ListActors4XXJSONResponse

type ListActors4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListActors4XXJSONResponse) VisitListActorsResponse

func (response ListActors4XXJSONResponse) VisitListActorsResponse(w http.ResponseWriter) error

type ListActors5XXJSONResponse

type ListActors5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListActors5XXJSONResponse) VisitListActorsResponse

func (response ListActors5XXJSONResponse) VisitListActorsResponse(w http.ResponseWriter) error

type ListActors200JSONResponse

type ListActors200JSONResponse ListActorsResponse

func (ListActors200JSONResponse) VisitListActorsResponse

func (response ListActors200JSONResponse) VisitListActorsResponse(w http.ResponseWriter) error

type ListActors400JSONResponse

type ListActors400JSONResponse struct{ BadRequestJSONResponse }

func (ListActors400JSONResponse) VisitListActorsResponse

func (response ListActors400JSONResponse) VisitListActorsResponse(w http.ResponseWriter) error

type ListActors401JSONResponse

type ListActors401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListActors401JSONResponse) VisitListActorsResponse

func (response ListActors401JSONResponse) VisitListActorsResponse(w http.ResponseWriter) error

type ListActors403JSONResponse

type ListActors403JSONResponse struct{ ForbiddenJSONResponse }

func (ListActors403JSONResponse) VisitListActorsResponse

func (response ListActors403JSONResponse) VisitListActorsResponse(w http.ResponseWriter) error

type ListActors404JSONResponse

type ListActors404JSONResponse struct{ NotFoundJSONResponse }

func (ListActors404JSONResponse) VisitListActorsResponse

func (response ListActors404JSONResponse) VisitListActorsResponse(w http.ResponseWriter) error

type ListActors500JSONResponse

type ListActors500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (ListActors500JSONResponse) VisitListActorsResponse

func (response ListActors500JSONResponse) VisitListActorsResponse(w http.ResponseWriter) error

type ListActors503JSONResponse

type ListActors503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListActors503JSONResponse) VisitListActorsResponse

func (response ListActors503JSONResponse) VisitListActorsResponse(w http.ResponseWriter) error

type ListActorsParams

type ListActorsParams struct {
	Provider         *ActorProvider `form:"provider,omitempty" json:"provider,omitempty"`
	ProviderTenantId *string        `form:"provider_tenant_id,omitempty" json:"provider_tenant_id,omitempty"`
	ProviderUserId   *string        `form:"provider_user_id,omitempty" json:"provider_user_id,omitempty"`

	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListActorsParams defines parameters for ListActors.

type ListActorsRequestObject

type ListActorsRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	Params    ListActorsParams
}

type ListActorsResponse

type ListActorsResponse struct {
	Data       []Actor                   `json:"data"`
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ListActorsResponse defines model for ListActorsResponse.

type ListActorsResponseObject

type ListActorsResponseObject interface {
	VisitListActorsResponse(w http.ResponseWriter) error
}

type ListAgentEventsResponse

type ListAgentEventsResponse struct {
	Data []AgentEvent `json:"data"`

	// HasMore True when another immediate request in the requested pagination direction can return more currently available events.
	HasMore bool `json:"has_more"`

	// NextAfterSequence Sequence to pass as after_sequence on the next request. Equals the request boundary when no events are returned.
	NextAfterSequence AgentSequenceCursor `json:"next_after_sequence"`

	// NextBeforeSequence Sequence to pass as before_sequence for the next older page. Null when no older events remain or when paginating forward.
	NextBeforeSequence nullable.Nullable[AgentSequenceCursor] `json:"next_before_sequence,omitempty"`
}

ListAgentEventsResponse defines model for ListAgentEventsResponse.

type ListAgentInputsResponse

type ListAgentInputsResponse struct {
	Data       []AgentInput              `json:"data"`
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ListAgentInputsResponse defines model for ListAgentInputsResponse.

type ListAgentInteractions4XXJSONResponse

type ListAgentInteractions4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListAgentInteractions4XXJSONResponse) VisitListAgentInteractionsResponse

func (response ListAgentInteractions4XXJSONResponse) VisitListAgentInteractionsResponse(w http.ResponseWriter) error

type ListAgentInteractions5XXJSONResponse

type ListAgentInteractions5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListAgentInteractions5XXJSONResponse) VisitListAgentInteractionsResponse

func (response ListAgentInteractions5XXJSONResponse) VisitListAgentInteractionsResponse(w http.ResponseWriter) error

type ListAgentInteractions200JSONResponse

type ListAgentInteractions200JSONResponse ListAgentInteractionsResponse

func (ListAgentInteractions200JSONResponse) VisitListAgentInteractionsResponse

func (response ListAgentInteractions200JSONResponse) VisitListAgentInteractionsResponse(w http.ResponseWriter) error

type ListAgentInteractions400JSONResponse

type ListAgentInteractions400JSONResponse struct{ BadRequestJSONResponse }

func (ListAgentInteractions400JSONResponse) VisitListAgentInteractionsResponse

func (response ListAgentInteractions400JSONResponse) VisitListAgentInteractionsResponse(w http.ResponseWriter) error

type ListAgentInteractions401JSONResponse

type ListAgentInteractions401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListAgentInteractions401JSONResponse) VisitListAgentInteractionsResponse

func (response ListAgentInteractions401JSONResponse) VisitListAgentInteractionsResponse(w http.ResponseWriter) error

type ListAgentInteractions403JSONResponse

type ListAgentInteractions403JSONResponse struct{ ForbiddenJSONResponse }

func (ListAgentInteractions403JSONResponse) VisitListAgentInteractionsResponse

func (response ListAgentInteractions403JSONResponse) VisitListAgentInteractionsResponse(w http.ResponseWriter) error

type ListAgentInteractions404JSONResponse

type ListAgentInteractions404JSONResponse struct{ NotFoundJSONResponse }

func (ListAgentInteractions404JSONResponse) VisitListAgentInteractionsResponse

func (response ListAgentInteractions404JSONResponse) VisitListAgentInteractionsResponse(w http.ResponseWriter) error

type ListAgentInteractions409JSONResponse

type ListAgentInteractions409JSONResponse struct{ ConflictJSONResponse }

func (ListAgentInteractions409JSONResponse) VisitListAgentInteractionsResponse

func (response ListAgentInteractions409JSONResponse) VisitListAgentInteractionsResponse(w http.ResponseWriter) error

type ListAgentInteractions503JSONResponse

type ListAgentInteractions503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListAgentInteractions503JSONResponse) VisitListAgentInteractionsResponse

func (response ListAgentInteractions503JSONResponse) VisitListAgentInteractionsResponse(w http.ResponseWriter) error

type ListAgentInteractionsParams

type ListAgentInteractionsParams struct {
	State *AgentInteractionState `form:"state,omitempty" json:"state,omitempty"`

	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListAgentInteractionsParams defines parameters for ListAgentInteractions.

type ListAgentInteractionsRequestObject

type ListAgentInteractionsRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	AgentID   string `json:"agentID"`
	Params    ListAgentInteractionsParams
}

type ListAgentInteractionsResponse

type ListAgentInteractionsResponse struct {
	Data       []AgentInteraction        `json:"data"`
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ListAgentInteractionsResponse defines model for ListAgentInteractionsResponse.

type ListAgentInteractionsResponseObject

type ListAgentInteractionsResponseObject interface {
	VisitListAgentInteractionsResponse(w http.ResponseWriter) error
}

type ListAgentProfiles4XXJSONResponse

type ListAgentProfiles4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListAgentProfiles4XXJSONResponse) VisitListAgentProfilesResponse

func (response ListAgentProfiles4XXJSONResponse) VisitListAgentProfilesResponse(w http.ResponseWriter) error

type ListAgentProfiles5XXJSONResponse

type ListAgentProfiles5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListAgentProfiles5XXJSONResponse) VisitListAgentProfilesResponse

func (response ListAgentProfiles5XXJSONResponse) VisitListAgentProfilesResponse(w http.ResponseWriter) error

type ListAgentProfiles200JSONResponse

type ListAgentProfiles200JSONResponse ListAgentProfilesResponse

func (ListAgentProfiles200JSONResponse) VisitListAgentProfilesResponse

func (response ListAgentProfiles200JSONResponse) VisitListAgentProfilesResponse(w http.ResponseWriter) error

type ListAgentProfiles400JSONResponse

type ListAgentProfiles400JSONResponse struct{ BadRequestJSONResponse }

func (ListAgentProfiles400JSONResponse) VisitListAgentProfilesResponse

func (response ListAgentProfiles400JSONResponse) VisitListAgentProfilesResponse(w http.ResponseWriter) error

type ListAgentProfiles401JSONResponse

type ListAgentProfiles401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListAgentProfiles401JSONResponse) VisitListAgentProfilesResponse

func (response ListAgentProfiles401JSONResponse) VisitListAgentProfilesResponse(w http.ResponseWriter) error

type ListAgentProfiles403JSONResponse

type ListAgentProfiles403JSONResponse struct{ ForbiddenJSONResponse }

func (ListAgentProfiles403JSONResponse) VisitListAgentProfilesResponse

func (response ListAgentProfiles403JSONResponse) VisitListAgentProfilesResponse(w http.ResponseWriter) error

type ListAgentProfiles404JSONResponse

type ListAgentProfiles404JSONResponse struct{ NotFoundJSONResponse }

func (ListAgentProfiles404JSONResponse) VisitListAgentProfilesResponse

func (response ListAgentProfiles404JSONResponse) VisitListAgentProfilesResponse(w http.ResponseWriter) error

type ListAgentProfiles503JSONResponse

type ListAgentProfiles503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListAgentProfiles503JSONResponse) VisitListAgentProfilesResponse

func (response ListAgentProfiles503JSONResponse) VisitListAgentProfilesResponse(w http.ResponseWriter) error

type ListAgentProfilesParams

type ListAgentProfilesParams struct {
	// Name Case-insensitive glob over the list's logical name. `*` matches zero or more characters, `?` matches one character, and `\` escapes a wildcard.
	Name *ResourceNameFilter `form:"name,omitempty" json:"name,omitempty"`
	Sort *ResourceListSort   `form:"sort,omitempty" json:"sort,omitempty"`

	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListAgentProfilesParams defines parameters for ListAgentProfiles.

type ListAgentProfilesRequestObject

type ListAgentProfilesRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	Params    ListAgentProfilesParams
}

type ListAgentProfilesResponse

type ListAgentProfilesResponse struct {
	Data []AgentProfile `json:"data"`

	// NextCursor Opaque cursor for the next page, or null when this is the last page.
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ListAgentProfilesResponse defines model for ListAgentProfilesResponse.

type ListAgentProfilesResponseObject

type ListAgentProfilesResponseObject interface {
	VisitListAgentProfilesResponse(w http.ResponseWriter) error
}

type ListAgentTurnsResponse

type ListAgentTurnsResponse struct {
	Data []AgentTurn `json:"data"`

	// NextBeforeTurnSequence Pass this value as before_turn_sequence to fetch older turns, or null when this page reached the beginning of the agent's turns.
	NextBeforeTurnSequence nullable.Nullable[AgentSequenceCursor] `json:"next_before_turn_sequence"`
}

ListAgentTurnsResponse defines model for ListAgentTurnsResponse.

type ListAgents4XXJSONResponse

type ListAgents4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListAgents4XXJSONResponse) VisitListAgentsResponse

func (response ListAgents4XXJSONResponse) VisitListAgentsResponse(w http.ResponseWriter) error

type ListAgents5XXJSONResponse

type ListAgents5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListAgents5XXJSONResponse) VisitListAgentsResponse

func (response ListAgents5XXJSONResponse) VisitListAgentsResponse(w http.ResponseWriter) error

type ListAgents200JSONResponse

type ListAgents200JSONResponse ListAgentsResponse

func (ListAgents200JSONResponse) VisitListAgentsResponse

func (response ListAgents200JSONResponse) VisitListAgentsResponse(w http.ResponseWriter) error

type ListAgents400JSONResponse

type ListAgents400JSONResponse struct{ BadRequestJSONResponse }

func (ListAgents400JSONResponse) VisitListAgentsResponse

func (response ListAgents400JSONResponse) VisitListAgentsResponse(w http.ResponseWriter) error

type ListAgents401JSONResponse

type ListAgents401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListAgents401JSONResponse) VisitListAgentsResponse

func (response ListAgents401JSONResponse) VisitListAgentsResponse(w http.ResponseWriter) error

type ListAgents403JSONResponse

type ListAgents403JSONResponse struct{ ForbiddenJSONResponse }

func (ListAgents403JSONResponse) VisitListAgentsResponse

func (response ListAgents403JSONResponse) VisitListAgentsResponse(w http.ResponseWriter) error

type ListAgents404JSONResponse

type ListAgents404JSONResponse struct{ NotFoundJSONResponse }

func (ListAgents404JSONResponse) VisitListAgentsResponse

func (response ListAgents404JSONResponse) VisitListAgentsResponse(w http.ResponseWriter) error

type ListAgents503JSONResponse

type ListAgents503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListAgents503JSONResponse) VisitListAgentsResponse

func (response ListAgents503JSONResponse) VisitListAgentsResponse(w http.ResponseWriter) error

type ListAgentsParams

type ListAgentsParams struct {
	// Name Case-insensitive glob over the list's logical name. `*` matches zero or more characters, `?` matches one character, and `\` escapes a wildcard.
	Name *ResourceNameFilter `form:"name,omitempty" json:"name,omitempty"`

	// AgentProfileId Return only agents launched from this agent profile.
	AgentProfileId *AgentProfileID   `form:"agent_profile_id,omitempty" json:"agent_profile_id,omitempty"`
	Sort           *ResourceListSort `form:"sort,omitempty" json:"sort,omitempty"`

	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListAgentsParams defines parameters for ListAgents.

type ListAgentsRequestObject

type ListAgentsRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	Params    ListAgentsParams
}

type ListAgentsResponse

type ListAgentsResponse struct {
	Data []Agent `json:"data"`

	// NextCursor Opaque cursor for the next page, or null when this is the last page.
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ListAgentsResponse defines model for ListAgentsResponse.

type ListAgentsResponseObject

type ListAgentsResponseObject interface {
	VisitListAgentsResponse(w http.ResponseWriter) error
}

type ListBYOMachineDaemonTokens4XXJSONResponse

type ListBYOMachineDaemonTokens4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListBYOMachineDaemonTokens4XXJSONResponse) VisitListBYOMachineDaemonTokensResponse

func (response ListBYOMachineDaemonTokens4XXJSONResponse) VisitListBYOMachineDaemonTokensResponse(w http.ResponseWriter) error

type ListBYOMachineDaemonTokens5XXJSONResponse

type ListBYOMachineDaemonTokens5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListBYOMachineDaemonTokens5XXJSONResponse) VisitListBYOMachineDaemonTokensResponse

func (response ListBYOMachineDaemonTokens5XXJSONResponse) VisitListBYOMachineDaemonTokensResponse(w http.ResponseWriter) error

type ListBYOMachineDaemonTokens200JSONResponse

type ListBYOMachineDaemonTokens200JSONResponse ListMachineDaemonTokensResponse

func (ListBYOMachineDaemonTokens200JSONResponse) VisitListBYOMachineDaemonTokensResponse

func (response ListBYOMachineDaemonTokens200JSONResponse) VisitListBYOMachineDaemonTokensResponse(w http.ResponseWriter) error

type ListBYOMachineDaemonTokens400JSONResponse

type ListBYOMachineDaemonTokens400JSONResponse struct{ BadRequestJSONResponse }

func (ListBYOMachineDaemonTokens400JSONResponse) VisitListBYOMachineDaemonTokensResponse

func (response ListBYOMachineDaemonTokens400JSONResponse) VisitListBYOMachineDaemonTokensResponse(w http.ResponseWriter) error

type ListBYOMachineDaemonTokens401JSONResponse

type ListBYOMachineDaemonTokens401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListBYOMachineDaemonTokens401JSONResponse) VisitListBYOMachineDaemonTokensResponse

func (response ListBYOMachineDaemonTokens401JSONResponse) VisitListBYOMachineDaemonTokensResponse(w http.ResponseWriter) error

type ListBYOMachineDaemonTokens403JSONResponse

type ListBYOMachineDaemonTokens403JSONResponse struct{ ForbiddenJSONResponse }

func (ListBYOMachineDaemonTokens403JSONResponse) VisitListBYOMachineDaemonTokensResponse

func (response ListBYOMachineDaemonTokens403JSONResponse) VisitListBYOMachineDaemonTokensResponse(w http.ResponseWriter) error

type ListBYOMachineDaemonTokens404JSONResponse

type ListBYOMachineDaemonTokens404JSONResponse struct{ NotFoundJSONResponse }

func (ListBYOMachineDaemonTokens404JSONResponse) VisitListBYOMachineDaemonTokensResponse

func (response ListBYOMachineDaemonTokens404JSONResponse) VisitListBYOMachineDaemonTokensResponse(w http.ResponseWriter) error

type ListBYOMachineDaemonTokens409JSONResponse

type ListBYOMachineDaemonTokens409JSONResponse struct{ ConflictJSONResponse }

func (ListBYOMachineDaemonTokens409JSONResponse) VisitListBYOMachineDaemonTokensResponse

func (response ListBYOMachineDaemonTokens409JSONResponse) VisitListBYOMachineDaemonTokensResponse(w http.ResponseWriter) error

type ListBYOMachineDaemonTokens503JSONResponse

type ListBYOMachineDaemonTokens503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListBYOMachineDaemonTokens503JSONResponse) VisitListBYOMachineDaemonTokensResponse

func (response ListBYOMachineDaemonTokens503JSONResponse) VisitListBYOMachineDaemonTokensResponse(w http.ResponseWriter) error

type ListBYOMachineDaemonTokensParams

type ListBYOMachineDaemonTokensParams struct {
	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListBYOMachineDaemonTokensParams defines parameters for ListBYOMachineDaemonTokens.

type ListBYOMachineDaemonTokensRequestObject

type ListBYOMachineDaemonTokensRequestObject struct {
	OrgID     string `json:"orgID"`
	MachineID string `json:"machineID"`
	Params    ListBYOMachineDaemonTokensParams
}

type ListBYOMachineDaemonTokensResponseObject

type ListBYOMachineDaemonTokensResponseObject interface {
	VisitListBYOMachineDaemonTokensResponse(w http.ResponseWriter) error
}

type ListConfiguredModels4XXJSONResponse

type ListConfiguredModels4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListConfiguredModels4XXJSONResponse) VisitListConfiguredModelsResponse

func (response ListConfiguredModels4XXJSONResponse) VisitListConfiguredModelsResponse(w http.ResponseWriter) error

type ListConfiguredModels5XXJSONResponse

type ListConfiguredModels5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListConfiguredModels5XXJSONResponse) VisitListConfiguredModelsResponse

func (response ListConfiguredModels5XXJSONResponse) VisitListConfiguredModelsResponse(w http.ResponseWriter) error

type ListConfiguredModels200JSONResponse

type ListConfiguredModels200JSONResponse ConfiguredModelList

func (ListConfiguredModels200JSONResponse) VisitListConfiguredModelsResponse

func (response ListConfiguredModels200JSONResponse) VisitListConfiguredModelsResponse(w http.ResponseWriter) error

type ListConfiguredModels400JSONResponse

type ListConfiguredModels400JSONResponse struct{ BadRequestJSONResponse }

func (ListConfiguredModels400JSONResponse) VisitListConfiguredModelsResponse

func (response ListConfiguredModels400JSONResponse) VisitListConfiguredModelsResponse(w http.ResponseWriter) error

type ListConfiguredModels401JSONResponse

type ListConfiguredModels401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListConfiguredModels401JSONResponse) VisitListConfiguredModelsResponse

func (response ListConfiguredModels401JSONResponse) VisitListConfiguredModelsResponse(w http.ResponseWriter) error

type ListConfiguredModels403JSONResponse

type ListConfiguredModels403JSONResponse struct{ ForbiddenJSONResponse }

func (ListConfiguredModels403JSONResponse) VisitListConfiguredModelsResponse

func (response ListConfiguredModels403JSONResponse) VisitListConfiguredModelsResponse(w http.ResponseWriter) error

type ListConfiguredModels404JSONResponse

type ListConfiguredModels404JSONResponse struct{ NotFoundJSONResponse }

func (ListConfiguredModels404JSONResponse) VisitListConfiguredModelsResponse

func (response ListConfiguredModels404JSONResponse) VisitListConfiguredModelsResponse(w http.ResponseWriter) error

type ListConfiguredModels409JSONResponse

type ListConfiguredModels409JSONResponse struct{ ConflictJSONResponse }

func (ListConfiguredModels409JSONResponse) VisitListConfiguredModelsResponse

func (response ListConfiguredModels409JSONResponse) VisitListConfiguredModelsResponse(w http.ResponseWriter) error

type ListConfiguredModels503JSONResponse

type ListConfiguredModels503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListConfiguredModels503JSONResponse) VisitListConfiguredModelsResponse

func (response ListConfiguredModels503JSONResponse) VisitListConfiguredModelsResponse(w http.ResponseWriter) error

type ListConfiguredModelsParams

type ListConfiguredModelsParams struct {
	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListConfiguredModelsParams defines parameters for ListConfiguredModels.

type ListConfiguredModelsRequestObject

type ListConfiguredModelsRequestObject struct {
	OrgID                 string `json:"orgID"`
	ModelProviderConfigID string `json:"modelProviderConfigID"`
	Params                ListConfiguredModelsParams
}

type ListConfiguredModelsResponseObject

type ListConfiguredModelsResponseObject interface {
	VisitListConfiguredModelsResponse(w http.ResponseWriter) error
}

type ListEvents4XXJSONResponse

type ListEvents4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListEvents4XXJSONResponse) VisitListEventsResponse

func (response ListEvents4XXJSONResponse) VisitListEventsResponse(w http.ResponseWriter) error

type ListEvents5XXJSONResponse

type ListEvents5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListEvents5XXJSONResponse) VisitListEventsResponse

func (response ListEvents5XXJSONResponse) VisitListEventsResponse(w http.ResponseWriter) error

type ListEvents200JSONResponse

type ListEvents200JSONResponse ListAgentEventsResponse

func (ListEvents200JSONResponse) VisitListEventsResponse

func (response ListEvents200JSONResponse) VisitListEventsResponse(w http.ResponseWriter) error

type ListEvents400JSONResponse

type ListEvents400JSONResponse struct{ BadRequestJSONResponse }

func (ListEvents400JSONResponse) VisitListEventsResponse

func (response ListEvents400JSONResponse) VisitListEventsResponse(w http.ResponseWriter) error

type ListEvents401JSONResponse

type ListEvents401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListEvents401JSONResponse) VisitListEventsResponse

func (response ListEvents401JSONResponse) VisitListEventsResponse(w http.ResponseWriter) error

type ListEvents403JSONResponse

type ListEvents403JSONResponse struct{ ForbiddenJSONResponse }

func (ListEvents403JSONResponse) VisitListEventsResponse

func (response ListEvents403JSONResponse) VisitListEventsResponse(w http.ResponseWriter) error

type ListEvents404JSONResponse

type ListEvents404JSONResponse struct{ NotFoundJSONResponse }

func (ListEvents404JSONResponse) VisitListEventsResponse

func (response ListEvents404JSONResponse) VisitListEventsResponse(w http.ResponseWriter) error

type ListEvents503JSONResponse

type ListEvents503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListEvents503JSONResponse) VisitListEventsResponse

func (response ListEvents503JSONResponse) VisitListEventsResponse(w http.ResponseWriter) error

type ListEventsParams

type ListEventsParams struct {
	// BeforeSequence Exclusive event sequence boundary for backward pagination. Pass 0 for the latest events.
	BeforeSequence *int64 `form:"before_sequence,omitempty" json:"before_sequence,omitempty"`

	// AfterSequence Exclusive event sequence boundary. Omit or pass 0 for the beginning of the agent event log.
	AfterSequence *int64 `form:"after_sequence,omitempty" json:"after_sequence,omitempty"`

	// Limit Maximum number of events to return.
	Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}

ListEventsParams defines parameters for ListEvents.

type ListEventsRequestObject

type ListEventsRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	AgentID   string `json:"agentID"`
	Params    ListEventsParams
}

type ListEventsResponseObject

type ListEventsResponseObject interface {
	VisitListEventsResponse(w http.ResponseWriter) error
}

type ListIntegrationInstalls4XXJSONResponse

type ListIntegrationInstalls4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListIntegrationInstalls4XXJSONResponse) VisitListIntegrationInstallsResponse

func (response ListIntegrationInstalls4XXJSONResponse) VisitListIntegrationInstallsResponse(w http.ResponseWriter) error

type ListIntegrationInstalls5XXJSONResponse

type ListIntegrationInstalls5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListIntegrationInstalls5XXJSONResponse) VisitListIntegrationInstallsResponse

func (response ListIntegrationInstalls5XXJSONResponse) VisitListIntegrationInstallsResponse(w http.ResponseWriter) error

type ListIntegrationInstalls200JSONResponse

type ListIntegrationInstalls200JSONResponse ListIntegrationInstallsResponse

func (ListIntegrationInstalls200JSONResponse) VisitListIntegrationInstallsResponse

func (response ListIntegrationInstalls200JSONResponse) VisitListIntegrationInstallsResponse(w http.ResponseWriter) error

type ListIntegrationInstalls400JSONResponse

type ListIntegrationInstalls400JSONResponse struct{ BadRequestJSONResponse }

func (ListIntegrationInstalls400JSONResponse) VisitListIntegrationInstallsResponse

func (response ListIntegrationInstalls400JSONResponse) VisitListIntegrationInstallsResponse(w http.ResponseWriter) error

type ListIntegrationInstalls401JSONResponse

type ListIntegrationInstalls401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListIntegrationInstalls401JSONResponse) VisitListIntegrationInstallsResponse

func (response ListIntegrationInstalls401JSONResponse) VisitListIntegrationInstallsResponse(w http.ResponseWriter) error

type ListIntegrationInstalls403JSONResponse

type ListIntegrationInstalls403JSONResponse struct{ ForbiddenJSONResponse }

func (ListIntegrationInstalls403JSONResponse) VisitListIntegrationInstallsResponse

func (response ListIntegrationInstalls403JSONResponse) VisitListIntegrationInstallsResponse(w http.ResponseWriter) error

type ListIntegrationInstalls404JSONResponse

type ListIntegrationInstalls404JSONResponse struct{ NotFoundJSONResponse }

func (ListIntegrationInstalls404JSONResponse) VisitListIntegrationInstallsResponse

func (response ListIntegrationInstalls404JSONResponse) VisitListIntegrationInstallsResponse(w http.ResponseWriter) error

type ListIntegrationInstalls503JSONResponse

type ListIntegrationInstalls503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListIntegrationInstalls503JSONResponse) VisitListIntegrationInstallsResponse

func (response ListIntegrationInstalls503JSONResponse) VisitListIntegrationInstallsResponse(w http.ResponseWriter) error

type ListIntegrationInstallsParams

type ListIntegrationInstallsParams struct {
	// Name Case-insensitive glob over the list's logical name. `*` matches zero or more characters, `?` matches one character, and `\` escapes a wildcard.
	Name *ResourceNameFilter `form:"name,omitempty" json:"name,omitempty"`

	// AgentProfileId Only return integration installs bound to this agent profile.
	AgentProfileId *IntegrationInstallAgentProfileFilter `form:"agent_profile_id,omitempty" json:"agent_profile_id,omitempty"`
	Sort           *ResourceListSort                     `form:"sort,omitempty" json:"sort,omitempty"`

	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListIntegrationInstallsParams defines parameters for ListIntegrationInstalls.

type ListIntegrationInstallsRequestObject

type ListIntegrationInstallsRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	Params    ListIntegrationInstallsParams
}

type ListIntegrationInstallsResponse

type ListIntegrationInstallsResponse struct {
	Data []IntegrationInstall `json:"data"`

	// NextCursor Opaque cursor for the next page, or null when this is the last page.
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ListIntegrationInstallsResponse defines model for ListIntegrationInstallsResponse.

type ListIntegrationInstallsResponseObject

type ListIntegrationInstallsResponseObject interface {
	VisitListIntegrationInstallsResponse(w http.ResponseWriter) error
}

type ListMachineDaemonTokensResponse

type ListMachineDaemonTokensResponse struct {
	Data       []MachineDaemonToken      `json:"data"`
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ListMachineDaemonTokensResponse defines model for ListMachineDaemonTokensResponse.

type ListMachinePools4XXJSONResponse

type ListMachinePools4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListMachinePools4XXJSONResponse) VisitListMachinePoolsResponse

func (response ListMachinePools4XXJSONResponse) VisitListMachinePoolsResponse(w http.ResponseWriter) error

type ListMachinePools5XXJSONResponse

type ListMachinePools5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListMachinePools5XXJSONResponse) VisitListMachinePoolsResponse

func (response ListMachinePools5XXJSONResponse) VisitListMachinePoolsResponse(w http.ResponseWriter) error

type ListMachinePools200JSONResponse

type ListMachinePools200JSONResponse ListMachinePoolsResponse

func (ListMachinePools200JSONResponse) VisitListMachinePoolsResponse

func (response ListMachinePools200JSONResponse) VisitListMachinePoolsResponse(w http.ResponseWriter) error

type ListMachinePools400JSONResponse

type ListMachinePools400JSONResponse struct{ BadRequestJSONResponse }

func (ListMachinePools400JSONResponse) VisitListMachinePoolsResponse

func (response ListMachinePools400JSONResponse) VisitListMachinePoolsResponse(w http.ResponseWriter) error

type ListMachinePools401JSONResponse

type ListMachinePools401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListMachinePools401JSONResponse) VisitListMachinePoolsResponse

func (response ListMachinePools401JSONResponse) VisitListMachinePoolsResponse(w http.ResponseWriter) error

type ListMachinePools403JSONResponse

type ListMachinePools403JSONResponse struct{ ForbiddenJSONResponse }

func (ListMachinePools403JSONResponse) VisitListMachinePoolsResponse

func (response ListMachinePools403JSONResponse) VisitListMachinePoolsResponse(w http.ResponseWriter) error

type ListMachinePools404JSONResponse

type ListMachinePools404JSONResponse struct{ NotFoundJSONResponse }

func (ListMachinePools404JSONResponse) VisitListMachinePoolsResponse

func (response ListMachinePools404JSONResponse) VisitListMachinePoolsResponse(w http.ResponseWriter) error

type ListMachinePools409JSONResponse

type ListMachinePools409JSONResponse struct{ ConflictJSONResponse }

func (ListMachinePools409JSONResponse) VisitListMachinePoolsResponse

func (response ListMachinePools409JSONResponse) VisitListMachinePoolsResponse(w http.ResponseWriter) error

type ListMachinePools503JSONResponse

type ListMachinePools503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListMachinePools503JSONResponse) VisitListMachinePoolsResponse

func (response ListMachinePools503JSONResponse) VisitListMachinePoolsResponse(w http.ResponseWriter) error

type ListMachinePoolsParams

type ListMachinePoolsParams struct {
	// Name Case-insensitive glob over the list's logical name. `*` matches zero or more characters, `?` matches one character, and `\` escapes a wildcard.
	Name *ResourceNameFilter `form:"name,omitempty" json:"name,omitempty"`
	Sort *ResourceListSort   `form:"sort,omitempty" json:"sort,omitempty"`

	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListMachinePoolsParams defines parameters for ListMachinePools.

type ListMachinePoolsRequestObject

type ListMachinePoolsRequestObject struct {
	OrgID  string `json:"orgID"`
	Params ListMachinePoolsParams
}

type ListMachinePoolsResponse

type ListMachinePoolsResponse struct {
	Data       []MachinePool             `json:"data"`
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ListMachinePoolsResponse defines model for ListMachinePoolsResponse.

type ListMachinePoolsResponseObject

type ListMachinePoolsResponseObject interface {
	VisitListMachinePoolsResponse(w http.ResponseWriter) error
}

type ListMemberProjectAccess4XXJSONResponse

type ListMemberProjectAccess4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListMemberProjectAccess4XXJSONResponse) VisitListMemberProjectAccessResponse

func (response ListMemberProjectAccess4XXJSONResponse) VisitListMemberProjectAccessResponse(w http.ResponseWriter) error

type ListMemberProjectAccess5XXJSONResponse

type ListMemberProjectAccess5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListMemberProjectAccess5XXJSONResponse) VisitListMemberProjectAccessResponse

func (response ListMemberProjectAccess5XXJSONResponse) VisitListMemberProjectAccessResponse(w http.ResponseWriter) error

type ListMemberProjectAccess200JSONResponse

type ListMemberProjectAccess200JSONResponse ListProjectMembershipGrantsResponse

func (ListMemberProjectAccess200JSONResponse) VisitListMemberProjectAccessResponse

func (response ListMemberProjectAccess200JSONResponse) VisitListMemberProjectAccessResponse(w http.ResponseWriter) error

type ListMemberProjectAccess400JSONResponse

type ListMemberProjectAccess400JSONResponse struct{ BadRequestJSONResponse }

func (ListMemberProjectAccess400JSONResponse) VisitListMemberProjectAccessResponse

func (response ListMemberProjectAccess400JSONResponse) VisitListMemberProjectAccessResponse(w http.ResponseWriter) error

type ListMemberProjectAccess401JSONResponse

type ListMemberProjectAccess401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListMemberProjectAccess401JSONResponse) VisitListMemberProjectAccessResponse

func (response ListMemberProjectAccess401JSONResponse) VisitListMemberProjectAccessResponse(w http.ResponseWriter) error

type ListMemberProjectAccess403JSONResponse

type ListMemberProjectAccess403JSONResponse struct{ ForbiddenJSONResponse }

func (ListMemberProjectAccess403JSONResponse) VisitListMemberProjectAccessResponse

func (response ListMemberProjectAccess403JSONResponse) VisitListMemberProjectAccessResponse(w http.ResponseWriter) error

type ListMemberProjectAccess404JSONResponse

type ListMemberProjectAccess404JSONResponse struct{ NotFoundJSONResponse }

func (ListMemberProjectAccess404JSONResponse) VisitListMemberProjectAccessResponse

func (response ListMemberProjectAccess404JSONResponse) VisitListMemberProjectAccessResponse(w http.ResponseWriter) error

type ListMemberProjectAccess503JSONResponse

type ListMemberProjectAccess503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListMemberProjectAccess503JSONResponse) VisitListMemberProjectAccessResponse

func (response ListMemberProjectAccess503JSONResponse) VisitListMemberProjectAccessResponse(w http.ResponseWriter) error

type ListMemberProjectAccessRequestObject

type ListMemberProjectAccessRequestObject struct {
	OrgID  string `json:"orgID"`
	UserID string `json:"userID"`
}

type ListMemberProjectAccessResponseObject

type ListMemberProjectAccessResponseObject interface {
	VisitListMemberProjectAccessResponse(w http.ResponseWriter) error
}

type ListModelProviderConfigs4XXJSONResponse

type ListModelProviderConfigs4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListModelProviderConfigs4XXJSONResponse) VisitListModelProviderConfigsResponse

func (response ListModelProviderConfigs4XXJSONResponse) VisitListModelProviderConfigsResponse(w http.ResponseWriter) error

type ListModelProviderConfigs5XXJSONResponse

type ListModelProviderConfigs5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListModelProviderConfigs5XXJSONResponse) VisitListModelProviderConfigsResponse

func (response ListModelProviderConfigs5XXJSONResponse) VisitListModelProviderConfigsResponse(w http.ResponseWriter) error

type ListModelProviderConfigs200JSONResponse

type ListModelProviderConfigs200JSONResponse ModelProviderConfigList

func (ListModelProviderConfigs200JSONResponse) VisitListModelProviderConfigsResponse

func (response ListModelProviderConfigs200JSONResponse) VisitListModelProviderConfigsResponse(w http.ResponseWriter) error

type ListModelProviderConfigs400JSONResponse

type ListModelProviderConfigs400JSONResponse struct{ BadRequestJSONResponse }

func (ListModelProviderConfigs400JSONResponse) VisitListModelProviderConfigsResponse

func (response ListModelProviderConfigs400JSONResponse) VisitListModelProviderConfigsResponse(w http.ResponseWriter) error

type ListModelProviderConfigs401JSONResponse

type ListModelProviderConfigs401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListModelProviderConfigs401JSONResponse) VisitListModelProviderConfigsResponse

func (response ListModelProviderConfigs401JSONResponse) VisitListModelProviderConfigsResponse(w http.ResponseWriter) error

type ListModelProviderConfigs403JSONResponse

type ListModelProviderConfigs403JSONResponse struct{ ForbiddenJSONResponse }

func (ListModelProviderConfigs403JSONResponse) VisitListModelProviderConfigsResponse

func (response ListModelProviderConfigs403JSONResponse) VisitListModelProviderConfigsResponse(w http.ResponseWriter) error

type ListModelProviderConfigs404JSONResponse

type ListModelProviderConfigs404JSONResponse struct{ NotFoundJSONResponse }

func (ListModelProviderConfigs404JSONResponse) VisitListModelProviderConfigsResponse

func (response ListModelProviderConfigs404JSONResponse) VisitListModelProviderConfigsResponse(w http.ResponseWriter) error

type ListModelProviderConfigs409JSONResponse

type ListModelProviderConfigs409JSONResponse struct{ ConflictJSONResponse }

func (ListModelProviderConfigs409JSONResponse) VisitListModelProviderConfigsResponse

func (response ListModelProviderConfigs409JSONResponse) VisitListModelProviderConfigsResponse(w http.ResponseWriter) error

type ListModelProviderConfigs503JSONResponse

type ListModelProviderConfigs503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListModelProviderConfigs503JSONResponse) VisitListModelProviderConfigsResponse

func (response ListModelProviderConfigs503JSONResponse) VisitListModelProviderConfigsResponse(w http.ResponseWriter) error

type ListModelProviderConfigsParams

type ListModelProviderConfigsParams struct {
	// Name Case-insensitive glob over the list's logical name. `*` matches zero or more characters, `?` matches one character, and `\` escapes a wildcard.
	Name *ResourceNameFilter `form:"name,omitempty" json:"name,omitempty"`
	Sort *ResourceListSort   `form:"sort,omitempty" json:"sort,omitempty"`

	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListModelProviderConfigsParams defines parameters for ListModelProviderConfigs.

type ListModelProviderConfigsRequestObject

type ListModelProviderConfigsRequestObject struct {
	OrgID  string `json:"orgID"`
	Params ListModelProviderConfigsParams
}

type ListModelProviderConfigsResponseObject

type ListModelProviderConfigsResponseObject interface {
	VisitListModelProviderConfigsResponse(w http.ResponseWriter) error
}

type ListOrgAPIKeyProjectAccess4XXJSONResponse

type ListOrgAPIKeyProjectAccess4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListOrgAPIKeyProjectAccess4XXJSONResponse) VisitListOrgAPIKeyProjectAccessResponse

func (response ListOrgAPIKeyProjectAccess4XXJSONResponse) VisitListOrgAPIKeyProjectAccessResponse(w http.ResponseWriter) error

type ListOrgAPIKeyProjectAccess5XXJSONResponse

type ListOrgAPIKeyProjectAccess5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListOrgAPIKeyProjectAccess5XXJSONResponse) VisitListOrgAPIKeyProjectAccessResponse

func (response ListOrgAPIKeyProjectAccess5XXJSONResponse) VisitListOrgAPIKeyProjectAccessResponse(w http.ResponseWriter) error

type ListOrgAPIKeyProjectAccess200JSONResponse

type ListOrgAPIKeyProjectAccess200JSONResponse ListProjectMembershipGrantsResponse

func (ListOrgAPIKeyProjectAccess200JSONResponse) VisitListOrgAPIKeyProjectAccessResponse

func (response ListOrgAPIKeyProjectAccess200JSONResponse) VisitListOrgAPIKeyProjectAccessResponse(w http.ResponseWriter) error

type ListOrgAPIKeyProjectAccess400JSONResponse

type ListOrgAPIKeyProjectAccess400JSONResponse struct{ BadRequestJSONResponse }

func (ListOrgAPIKeyProjectAccess400JSONResponse) VisitListOrgAPIKeyProjectAccessResponse

func (response ListOrgAPIKeyProjectAccess400JSONResponse) VisitListOrgAPIKeyProjectAccessResponse(w http.ResponseWriter) error

type ListOrgAPIKeyProjectAccess401JSONResponse

type ListOrgAPIKeyProjectAccess401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListOrgAPIKeyProjectAccess401JSONResponse) VisitListOrgAPIKeyProjectAccessResponse

func (response ListOrgAPIKeyProjectAccess401JSONResponse) VisitListOrgAPIKeyProjectAccessResponse(w http.ResponseWriter) error

type ListOrgAPIKeyProjectAccess403JSONResponse

type ListOrgAPIKeyProjectAccess403JSONResponse struct{ ForbiddenJSONResponse }

func (ListOrgAPIKeyProjectAccess403JSONResponse) VisitListOrgAPIKeyProjectAccessResponse

func (response ListOrgAPIKeyProjectAccess403JSONResponse) VisitListOrgAPIKeyProjectAccessResponse(w http.ResponseWriter) error

type ListOrgAPIKeyProjectAccess404JSONResponse

type ListOrgAPIKeyProjectAccess404JSONResponse struct{ NotFoundJSONResponse }

func (ListOrgAPIKeyProjectAccess404JSONResponse) VisitListOrgAPIKeyProjectAccessResponse

func (response ListOrgAPIKeyProjectAccess404JSONResponse) VisitListOrgAPIKeyProjectAccessResponse(w http.ResponseWriter) error

type ListOrgAPIKeyProjectAccess503JSONResponse

type ListOrgAPIKeyProjectAccess503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListOrgAPIKeyProjectAccess503JSONResponse) VisitListOrgAPIKeyProjectAccessResponse

func (response ListOrgAPIKeyProjectAccess503JSONResponse) VisitListOrgAPIKeyProjectAccessResponse(w http.ResponseWriter) error

type ListOrgAPIKeyProjectAccessRequestObject

type ListOrgAPIKeyProjectAccessRequestObject struct {
	OrgID string `json:"orgID"`
	KeyID string `json:"keyID"`
}

type ListOrgAPIKeyProjectAccessResponseObject

type ListOrgAPIKeyProjectAccessResponseObject interface {
	VisitListOrgAPIKeyProjectAccessResponse(w http.ResponseWriter) error
}

type ListOrgAPIKeys4XXJSONResponse

type ListOrgAPIKeys4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListOrgAPIKeys4XXJSONResponse) VisitListOrgAPIKeysResponse

func (response ListOrgAPIKeys4XXJSONResponse) VisitListOrgAPIKeysResponse(w http.ResponseWriter) error

type ListOrgAPIKeys5XXJSONResponse

type ListOrgAPIKeys5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListOrgAPIKeys5XXJSONResponse) VisitListOrgAPIKeysResponse

func (response ListOrgAPIKeys5XXJSONResponse) VisitListOrgAPIKeysResponse(w http.ResponseWriter) error

type ListOrgAPIKeys200JSONResponse

type ListOrgAPIKeys200JSONResponse ListOrgAPIKeysResponse

func (ListOrgAPIKeys200JSONResponse) VisitListOrgAPIKeysResponse

func (response ListOrgAPIKeys200JSONResponse) VisitListOrgAPIKeysResponse(w http.ResponseWriter) error

type ListOrgAPIKeys400JSONResponse

type ListOrgAPIKeys400JSONResponse struct{ BadRequestJSONResponse }

func (ListOrgAPIKeys400JSONResponse) VisitListOrgAPIKeysResponse

func (response ListOrgAPIKeys400JSONResponse) VisitListOrgAPIKeysResponse(w http.ResponseWriter) error

type ListOrgAPIKeys401JSONResponse

type ListOrgAPIKeys401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListOrgAPIKeys401JSONResponse) VisitListOrgAPIKeysResponse

func (response ListOrgAPIKeys401JSONResponse) VisitListOrgAPIKeysResponse(w http.ResponseWriter) error

type ListOrgAPIKeys403JSONResponse

type ListOrgAPIKeys403JSONResponse struct{ ForbiddenJSONResponse }

func (ListOrgAPIKeys403JSONResponse) VisitListOrgAPIKeysResponse

func (response ListOrgAPIKeys403JSONResponse) VisitListOrgAPIKeysResponse(w http.ResponseWriter) error

type ListOrgAPIKeys404JSONResponse

type ListOrgAPIKeys404JSONResponse struct{ NotFoundJSONResponse }

func (ListOrgAPIKeys404JSONResponse) VisitListOrgAPIKeysResponse

func (response ListOrgAPIKeys404JSONResponse) VisitListOrgAPIKeysResponse(w http.ResponseWriter) error

type ListOrgAPIKeys503JSONResponse

type ListOrgAPIKeys503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListOrgAPIKeys503JSONResponse) VisitListOrgAPIKeysResponse

func (response ListOrgAPIKeys503JSONResponse) VisitListOrgAPIKeysResponse(w http.ResponseWriter) error

type ListOrgAPIKeysParams

type ListOrgAPIKeysParams struct {
	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListOrgAPIKeysParams defines parameters for ListOrgAPIKeys.

type ListOrgAPIKeysRequestObject

type ListOrgAPIKeysRequestObject struct {
	OrgID  string `json:"orgID"`
	Params ListOrgAPIKeysParams
}

type ListOrgAPIKeysResponse

type ListOrgAPIKeysResponse struct {
	Data []OrgAPIKey `json:"data"`

	// NextCursor Opaque cursor for the next page, or null when this is the last page.
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ListOrgAPIKeysResponse defines model for ListOrgAPIKeysResponse.

type ListOrgAPIKeysResponseObject

type ListOrgAPIKeysResponseObject interface {
	VisitListOrgAPIKeysResponse(w http.ResponseWriter) error
}

type ListOrgInvitations4XXJSONResponse

type ListOrgInvitations4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListOrgInvitations4XXJSONResponse) VisitListOrgInvitationsResponse

func (response ListOrgInvitations4XXJSONResponse) VisitListOrgInvitationsResponse(w http.ResponseWriter) error

type ListOrgInvitations5XXJSONResponse

type ListOrgInvitations5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListOrgInvitations5XXJSONResponse) VisitListOrgInvitationsResponse

func (response ListOrgInvitations5XXJSONResponse) VisitListOrgInvitationsResponse(w http.ResponseWriter) error

type ListOrgInvitations200JSONResponse

type ListOrgInvitations200JSONResponse ListOrgInvitationsResponse

func (ListOrgInvitations200JSONResponse) VisitListOrgInvitationsResponse

func (response ListOrgInvitations200JSONResponse) VisitListOrgInvitationsResponse(w http.ResponseWriter) error

type ListOrgInvitations400JSONResponse

type ListOrgInvitations400JSONResponse struct{ BadRequestJSONResponse }

func (ListOrgInvitations400JSONResponse) VisitListOrgInvitationsResponse

func (response ListOrgInvitations400JSONResponse) VisitListOrgInvitationsResponse(w http.ResponseWriter) error

type ListOrgInvitations401JSONResponse

type ListOrgInvitations401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListOrgInvitations401JSONResponse) VisitListOrgInvitationsResponse

func (response ListOrgInvitations401JSONResponse) VisitListOrgInvitationsResponse(w http.ResponseWriter) error

type ListOrgInvitations403JSONResponse

type ListOrgInvitations403JSONResponse struct{ ForbiddenJSONResponse }

func (ListOrgInvitations403JSONResponse) VisitListOrgInvitationsResponse

func (response ListOrgInvitations403JSONResponse) VisitListOrgInvitationsResponse(w http.ResponseWriter) error

type ListOrgInvitations404JSONResponse

type ListOrgInvitations404JSONResponse struct{ NotFoundJSONResponse }

func (ListOrgInvitations404JSONResponse) VisitListOrgInvitationsResponse

func (response ListOrgInvitations404JSONResponse) VisitListOrgInvitationsResponse(w http.ResponseWriter) error

type ListOrgInvitations409JSONResponse

type ListOrgInvitations409JSONResponse struct{ ConflictJSONResponse }

func (ListOrgInvitations409JSONResponse) VisitListOrgInvitationsResponse

func (response ListOrgInvitations409JSONResponse) VisitListOrgInvitationsResponse(w http.ResponseWriter) error

type ListOrgInvitations503JSONResponse

type ListOrgInvitations503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListOrgInvitations503JSONResponse) VisitListOrgInvitationsResponse

func (response ListOrgInvitations503JSONResponse) VisitListOrgInvitationsResponse(w http.ResponseWriter) error

type ListOrgInvitationsParams

type ListOrgInvitationsParams struct {
	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListOrgInvitationsParams defines parameters for ListOrgInvitations.

type ListOrgInvitationsRequestObject

type ListOrgInvitationsRequestObject struct {
	OrgID  string `json:"orgID"`
	Params ListOrgInvitationsParams
}

type ListOrgInvitationsResponse

type ListOrgInvitationsResponse struct {
	Data []OrgInvitation `json:"data"`

	// NextCursor Opaque cursor for the next page, or null when this is the last page.
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ListOrgInvitationsResponse defines model for ListOrgInvitationsResponse.

type ListOrgInvitationsResponseObject

type ListOrgInvitationsResponseObject interface {
	VisitListOrgInvitationsResponse(w http.ResponseWriter) error
}

type ListOrgMembers4XXJSONResponse

type ListOrgMembers4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListOrgMembers4XXJSONResponse) VisitListOrgMembersResponse

func (response ListOrgMembers4XXJSONResponse) VisitListOrgMembersResponse(w http.ResponseWriter) error

type ListOrgMembers5XXJSONResponse

type ListOrgMembers5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListOrgMembers5XXJSONResponse) VisitListOrgMembersResponse

func (response ListOrgMembers5XXJSONResponse) VisitListOrgMembersResponse(w http.ResponseWriter) error

type ListOrgMembers200JSONResponse

type ListOrgMembers200JSONResponse ListOrgMembersResponse

func (ListOrgMembers200JSONResponse) VisitListOrgMembersResponse

func (response ListOrgMembers200JSONResponse) VisitListOrgMembersResponse(w http.ResponseWriter) error

type ListOrgMembers400JSONResponse

type ListOrgMembers400JSONResponse struct{ BadRequestJSONResponse }

func (ListOrgMembers400JSONResponse) VisitListOrgMembersResponse

func (response ListOrgMembers400JSONResponse) VisitListOrgMembersResponse(w http.ResponseWriter) error

type ListOrgMembers401JSONResponse

type ListOrgMembers401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListOrgMembers401JSONResponse) VisitListOrgMembersResponse

func (response ListOrgMembers401JSONResponse) VisitListOrgMembersResponse(w http.ResponseWriter) error

type ListOrgMembers403JSONResponse

type ListOrgMembers403JSONResponse struct{ ForbiddenJSONResponse }

func (ListOrgMembers403JSONResponse) VisitListOrgMembersResponse

func (response ListOrgMembers403JSONResponse) VisitListOrgMembersResponse(w http.ResponseWriter) error

type ListOrgMembers404JSONResponse

type ListOrgMembers404JSONResponse struct{ NotFoundJSONResponse }

func (ListOrgMembers404JSONResponse) VisitListOrgMembersResponse

func (response ListOrgMembers404JSONResponse) VisitListOrgMembersResponse(w http.ResponseWriter) error

type ListOrgMembers503JSONResponse

type ListOrgMembers503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListOrgMembers503JSONResponse) VisitListOrgMembersResponse

func (response ListOrgMembers503JSONResponse) VisitListOrgMembersResponse(w http.ResponseWriter) error

type ListOrgMembersParams

type ListOrgMembersParams struct {
	// Name Case-insensitive glob over the list's logical name. `*` matches zero or more characters, `?` matches one character, and `\` escapes a wildcard.
	Name *ResourceNameFilter      `form:"name,omitempty" json:"name,omitempty"`
	Sort *CreatedResourceListSort `form:"sort,omitempty" json:"sort,omitempty"`

	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListOrgMembersParams defines parameters for ListOrgMembers.

type ListOrgMembersRequestObject

type ListOrgMembersRequestObject struct {
	OrgID  string `json:"orgID"`
	Params ListOrgMembersParams
}

type ListOrgMembersResponse

type ListOrgMembersResponse struct {
	Data []OrgMember `json:"data"`

	// NextCursor Opaque cursor for the next page, or null when this is the last page.
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ListOrgMembersResponse defines model for ListOrgMembersResponse.

type ListOrgMembersResponseObject

type ListOrgMembersResponseObject interface {
	VisitListOrgMembersResponse(w http.ResponseWriter) error
}

type ListPendingInvitations4XXJSONResponse

type ListPendingInvitations4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListPendingInvitations4XXJSONResponse) VisitListPendingInvitationsResponse

func (response ListPendingInvitations4XXJSONResponse) VisitListPendingInvitationsResponse(w http.ResponseWriter) error

type ListPendingInvitations5XXJSONResponse

type ListPendingInvitations5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListPendingInvitations5XXJSONResponse) VisitListPendingInvitationsResponse

func (response ListPendingInvitations5XXJSONResponse) VisitListPendingInvitationsResponse(w http.ResponseWriter) error

type ListPendingInvitations200JSONResponse

type ListPendingInvitations200JSONResponse ListOrgInvitationsResponse

func (ListPendingInvitations200JSONResponse) VisitListPendingInvitationsResponse

func (response ListPendingInvitations200JSONResponse) VisitListPendingInvitationsResponse(w http.ResponseWriter) error

type ListPendingInvitations400JSONResponse

type ListPendingInvitations400JSONResponse struct{ BadRequestJSONResponse }

func (ListPendingInvitations400JSONResponse) VisitListPendingInvitationsResponse

func (response ListPendingInvitations400JSONResponse) VisitListPendingInvitationsResponse(w http.ResponseWriter) error

type ListPendingInvitations401JSONResponse

type ListPendingInvitations401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListPendingInvitations401JSONResponse) VisitListPendingInvitationsResponse

func (response ListPendingInvitations401JSONResponse) VisitListPendingInvitationsResponse(w http.ResponseWriter) error

type ListPendingInvitations403JSONResponse

type ListPendingInvitations403JSONResponse struct{ ForbiddenJSONResponse }

func (ListPendingInvitations403JSONResponse) VisitListPendingInvitationsResponse

func (response ListPendingInvitations403JSONResponse) VisitListPendingInvitationsResponse(w http.ResponseWriter) error

type ListPendingInvitations404JSONResponse

type ListPendingInvitations404JSONResponse struct{ NotFoundJSONResponse }

func (ListPendingInvitations404JSONResponse) VisitListPendingInvitationsResponse

func (response ListPendingInvitations404JSONResponse) VisitListPendingInvitationsResponse(w http.ResponseWriter) error

type ListPendingInvitations409JSONResponse

type ListPendingInvitations409JSONResponse struct{ ConflictJSONResponse }

func (ListPendingInvitations409JSONResponse) VisitListPendingInvitationsResponse

func (response ListPendingInvitations409JSONResponse) VisitListPendingInvitationsResponse(w http.ResponseWriter) error

type ListPendingInvitations503JSONResponse

type ListPendingInvitations503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListPendingInvitations503JSONResponse) VisitListPendingInvitationsResponse

func (response ListPendingInvitations503JSONResponse) VisitListPendingInvitationsResponse(w http.ResponseWriter) error

type ListPendingInvitationsParams

type ListPendingInvitationsParams struct {
	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListPendingInvitationsParams defines parameters for ListPendingInvitations.

type ListPendingInvitationsRequestObject

type ListPendingInvitationsRequestObject struct {
	Params ListPendingInvitationsParams
}

type ListPendingInvitationsResponseObject

type ListPendingInvitationsResponseObject interface {
	VisitListPendingInvitationsResponse(w http.ResponseWriter) error
}

type ListPersonalAccessTokens4XXJSONResponse

type ListPersonalAccessTokens4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListPersonalAccessTokens4XXJSONResponse) VisitListPersonalAccessTokensResponse

func (response ListPersonalAccessTokens4XXJSONResponse) VisitListPersonalAccessTokensResponse(w http.ResponseWriter) error

type ListPersonalAccessTokens5XXJSONResponse

type ListPersonalAccessTokens5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListPersonalAccessTokens5XXJSONResponse) VisitListPersonalAccessTokensResponse

func (response ListPersonalAccessTokens5XXJSONResponse) VisitListPersonalAccessTokensResponse(w http.ResponseWriter) error

type ListPersonalAccessTokens200JSONResponse

type ListPersonalAccessTokens200JSONResponse ListPersonalAccessTokensResponse

func (ListPersonalAccessTokens200JSONResponse) VisitListPersonalAccessTokensResponse

func (response ListPersonalAccessTokens200JSONResponse) VisitListPersonalAccessTokensResponse(w http.ResponseWriter) error

type ListPersonalAccessTokens400JSONResponse

type ListPersonalAccessTokens400JSONResponse struct{ BadRequestJSONResponse }

func (ListPersonalAccessTokens400JSONResponse) VisitListPersonalAccessTokensResponse

func (response ListPersonalAccessTokens400JSONResponse) VisitListPersonalAccessTokensResponse(w http.ResponseWriter) error

type ListPersonalAccessTokens401JSONResponse

type ListPersonalAccessTokens401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListPersonalAccessTokens401JSONResponse) VisitListPersonalAccessTokensResponse

func (response ListPersonalAccessTokens401JSONResponse) VisitListPersonalAccessTokensResponse(w http.ResponseWriter) error

type ListPersonalAccessTokens403JSONResponse

type ListPersonalAccessTokens403JSONResponse struct{ ForbiddenJSONResponse }

func (ListPersonalAccessTokens403JSONResponse) VisitListPersonalAccessTokensResponse

func (response ListPersonalAccessTokens403JSONResponse) VisitListPersonalAccessTokensResponse(w http.ResponseWriter) error

type ListPersonalAccessTokens503JSONResponse

type ListPersonalAccessTokens503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListPersonalAccessTokens503JSONResponse) VisitListPersonalAccessTokensResponse

func (response ListPersonalAccessTokens503JSONResponse) VisitListPersonalAccessTokensResponse(w http.ResponseWriter) error

type ListPersonalAccessTokensParams

type ListPersonalAccessTokensParams struct {
	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListPersonalAccessTokensParams defines parameters for ListPersonalAccessTokens.

type ListPersonalAccessTokensRequestObject

type ListPersonalAccessTokensRequestObject struct {
	Params ListPersonalAccessTokensParams
}

type ListPersonalAccessTokensResponse

type ListPersonalAccessTokensResponse struct {
	Data []PersonalAccessToken `json:"data"`

	// NextCursor Opaque cursor for the next page, or null when this is the last page.
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ListPersonalAccessTokensResponse defines model for ListPersonalAccessTokensResponse.

type ListPersonalAccessTokensResponseObject

type ListPersonalAccessTokensResponseObject interface {
	VisitListPersonalAccessTokensResponse(w http.ResponseWriter) error
}

type ListProjectAvailableSecrets4XXJSONResponse

type ListProjectAvailableSecrets4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListProjectAvailableSecrets4XXJSONResponse) VisitListProjectAvailableSecretsResponse

func (response ListProjectAvailableSecrets4XXJSONResponse) VisitListProjectAvailableSecretsResponse(w http.ResponseWriter) error

type ListProjectAvailableSecrets5XXJSONResponse

type ListProjectAvailableSecrets5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListProjectAvailableSecrets5XXJSONResponse) VisitListProjectAvailableSecretsResponse

func (response ListProjectAvailableSecrets5XXJSONResponse) VisitListProjectAvailableSecretsResponse(w http.ResponseWriter) error

type ListProjectAvailableSecrets200JSONResponse

type ListProjectAvailableSecrets200JSONResponse ListProjectSecretAccessesResponse

func (ListProjectAvailableSecrets200JSONResponse) VisitListProjectAvailableSecretsResponse

func (response ListProjectAvailableSecrets200JSONResponse) VisitListProjectAvailableSecretsResponse(w http.ResponseWriter) error

type ListProjectAvailableSecrets400JSONResponse

type ListProjectAvailableSecrets400JSONResponse struct{ BadRequestJSONResponse }

func (ListProjectAvailableSecrets400JSONResponse) VisitListProjectAvailableSecretsResponse

func (response ListProjectAvailableSecrets400JSONResponse) VisitListProjectAvailableSecretsResponse(w http.ResponseWriter) error

type ListProjectAvailableSecrets401JSONResponse

type ListProjectAvailableSecrets401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListProjectAvailableSecrets401JSONResponse) VisitListProjectAvailableSecretsResponse

func (response ListProjectAvailableSecrets401JSONResponse) VisitListProjectAvailableSecretsResponse(w http.ResponseWriter) error

type ListProjectAvailableSecrets403JSONResponse

type ListProjectAvailableSecrets403JSONResponse struct{ ForbiddenJSONResponse }

func (ListProjectAvailableSecrets403JSONResponse) VisitListProjectAvailableSecretsResponse

func (response ListProjectAvailableSecrets403JSONResponse) VisitListProjectAvailableSecretsResponse(w http.ResponseWriter) error

type ListProjectAvailableSecrets404JSONResponse

type ListProjectAvailableSecrets404JSONResponse struct{ NotFoundJSONResponse }

func (ListProjectAvailableSecrets404JSONResponse) VisitListProjectAvailableSecretsResponse

func (response ListProjectAvailableSecrets404JSONResponse) VisitListProjectAvailableSecretsResponse(w http.ResponseWriter) error

type ListProjectAvailableSecrets500JSONResponse

type ListProjectAvailableSecrets500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (ListProjectAvailableSecrets500JSONResponse) VisitListProjectAvailableSecretsResponse

func (response ListProjectAvailableSecrets500JSONResponse) VisitListProjectAvailableSecretsResponse(w http.ResponseWriter) error

type ListProjectAvailableSecrets503JSONResponse

type ListProjectAvailableSecrets503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListProjectAvailableSecrets503JSONResponse) VisitListProjectAvailableSecretsResponse

func (response ListProjectAvailableSecrets503JSONResponse) VisitListProjectAvailableSecretsResponse(w http.ResponseWriter) error

type ListProjectAvailableSecretsParams

type ListProjectAvailableSecretsParams struct {
	// Name Case-insensitive glob over the list's logical name. `*` matches zero or more characters, `?` matches one character, and `\` escapes a wildcard.
	Name *ResourceNameFilter `form:"name,omitempty" json:"name,omitempty"`

	// OwnerKind Filter by the immutable owner kind.
	OwnerKind *ListProjectAvailableSecretsParamsOwnerKind `form:"owner_kind,omitempty" json:"owner_kind,omitempty"`

	// AvailabilitySource Filter a project inventory by how the secret became available.
	AvailabilitySource *ListProjectAvailableSecretsParamsAvailabilitySource `form:"availability_source,omitempty" json:"availability_source,omitempty"`

	// Metadata Metadata key/value filters, encoded as metadata[key]=value.
	Metadata *SecretMetadataFilter `json:"metadata,omitempty"`
	Sort     *ResourceListSort     `form:"sort,omitempty" json:"sort,omitempty"`

	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListProjectAvailableSecretsParams defines parameters for ListProjectAvailableSecrets.

type ListProjectAvailableSecretsParamsAvailabilitySource

type ListProjectAvailableSecretsParamsAvailabilitySource string

ListProjectAvailableSecretsParamsAvailabilitySource defines parameters for ListProjectAvailableSecrets.

const (
	ListProjectAvailableSecretsParamsAvailabilitySourceDirect ListProjectAvailableSecretsParamsAvailabilitySource = "direct"
	ListProjectAvailableSecretsParamsAvailabilitySourceGrant  ListProjectAvailableSecretsParamsAvailabilitySource = "grant"
)

Defines values for ListProjectAvailableSecretsParamsAvailabilitySource.

func (ListProjectAvailableSecretsParamsAvailabilitySource) Valid

Valid indicates whether the value is a known member of the ListProjectAvailableSecretsParamsAvailabilitySource enum.

type ListProjectAvailableSecretsParamsOwnerKind

type ListProjectAvailableSecretsParamsOwnerKind string

ListProjectAvailableSecretsParamsOwnerKind defines parameters for ListProjectAvailableSecrets.

const (
	ListProjectAvailableSecretsParamsOwnerKindOrg     ListProjectAvailableSecretsParamsOwnerKind = "org"
	ListProjectAvailableSecretsParamsOwnerKindProject ListProjectAvailableSecretsParamsOwnerKind = "project"
	ListProjectAvailableSecretsParamsOwnerKindUser    ListProjectAvailableSecretsParamsOwnerKind = "user"
)

Defines values for ListProjectAvailableSecretsParamsOwnerKind.

func (ListProjectAvailableSecretsParamsOwnerKind) Valid

Valid indicates whether the value is a known member of the ListProjectAvailableSecretsParamsOwnerKind enum.

type ListProjectAvailableSecretsRequestObject

type ListProjectAvailableSecretsRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	Params    ListProjectAvailableSecretsParams
}

type ListProjectAvailableSecretsResponseObject

type ListProjectAvailableSecretsResponseObject interface {
	VisitListProjectAvailableSecretsResponse(w http.ResponseWriter) error
}

type ListProjectAvailableSkills4XXJSONResponse

type ListProjectAvailableSkills4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListProjectAvailableSkills4XXJSONResponse) VisitListProjectAvailableSkillsResponse

func (response ListProjectAvailableSkills4XXJSONResponse) VisitListProjectAvailableSkillsResponse(w http.ResponseWriter) error

type ListProjectAvailableSkills5XXJSONResponse

type ListProjectAvailableSkills5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListProjectAvailableSkills5XXJSONResponse) VisitListProjectAvailableSkillsResponse

func (response ListProjectAvailableSkills5XXJSONResponse) VisitListProjectAvailableSkillsResponse(w http.ResponseWriter) error

type ListProjectAvailableSkills200JSONResponse

type ListProjectAvailableSkills200JSONResponse ListProjectSkillAccessesResponse

func (ListProjectAvailableSkills200JSONResponse) VisitListProjectAvailableSkillsResponse

func (response ListProjectAvailableSkills200JSONResponse) VisitListProjectAvailableSkillsResponse(w http.ResponseWriter) error

type ListProjectAvailableSkills400JSONResponse

type ListProjectAvailableSkills400JSONResponse struct{ BadRequestJSONResponse }

func (ListProjectAvailableSkills400JSONResponse) VisitListProjectAvailableSkillsResponse

func (response ListProjectAvailableSkills400JSONResponse) VisitListProjectAvailableSkillsResponse(w http.ResponseWriter) error

type ListProjectAvailableSkills401JSONResponse

type ListProjectAvailableSkills401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListProjectAvailableSkills401JSONResponse) VisitListProjectAvailableSkillsResponse

func (response ListProjectAvailableSkills401JSONResponse) VisitListProjectAvailableSkillsResponse(w http.ResponseWriter) error

type ListProjectAvailableSkills403JSONResponse

type ListProjectAvailableSkills403JSONResponse struct{ ForbiddenJSONResponse }

func (ListProjectAvailableSkills403JSONResponse) VisitListProjectAvailableSkillsResponse

func (response ListProjectAvailableSkills403JSONResponse) VisitListProjectAvailableSkillsResponse(w http.ResponseWriter) error

type ListProjectAvailableSkills404JSONResponse

type ListProjectAvailableSkills404JSONResponse struct{ NotFoundJSONResponse }

func (ListProjectAvailableSkills404JSONResponse) VisitListProjectAvailableSkillsResponse

func (response ListProjectAvailableSkills404JSONResponse) VisitListProjectAvailableSkillsResponse(w http.ResponseWriter) error

type ListProjectAvailableSkills500JSONResponse

type ListProjectAvailableSkills500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (ListProjectAvailableSkills500JSONResponse) VisitListProjectAvailableSkillsResponse

func (response ListProjectAvailableSkills500JSONResponse) VisitListProjectAvailableSkillsResponse(w http.ResponseWriter) error

type ListProjectAvailableSkills503JSONResponse

type ListProjectAvailableSkills503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListProjectAvailableSkills503JSONResponse) VisitListProjectAvailableSkillsResponse

func (response ListProjectAvailableSkills503JSONResponse) VisitListProjectAvailableSkillsResponse(w http.ResponseWriter) error

type ListProjectAvailableSkillsParams

type ListProjectAvailableSkillsParams struct {
	// Name Case-insensitive glob over the list's logical name. `*` matches zero or more characters, `?` matches one character, and `\` escapes a wildcard.
	Name *ResourceNameFilter `form:"name,omitempty" json:"name,omitempty"`

	// OwnerKind Filter by the immutable skill owner kind.
	OwnerKind *ListProjectAvailableSkillsParamsOwnerKind `form:"owner_kind,omitempty" json:"owner_kind,omitempty"`

	// AvailabilitySource Filter a project inventory by how the skill became available.
	AvailabilitySource *ListProjectAvailableSkillsParamsAvailabilitySource `form:"availability_source,omitempty" json:"availability_source,omitempty"`
	Sort               *ResourceListSort                                   `form:"sort,omitempty" json:"sort,omitempty"`

	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListProjectAvailableSkillsParams defines parameters for ListProjectAvailableSkills.

type ListProjectAvailableSkillsParamsAvailabilitySource

type ListProjectAvailableSkillsParamsAvailabilitySource string

ListProjectAvailableSkillsParamsAvailabilitySource defines parameters for ListProjectAvailableSkills.

const (
	ListProjectAvailableSkillsParamsAvailabilitySourceDirect ListProjectAvailableSkillsParamsAvailabilitySource = "direct"
	ListProjectAvailableSkillsParamsAvailabilitySourceGrant  ListProjectAvailableSkillsParamsAvailabilitySource = "grant"
)

Defines values for ListProjectAvailableSkillsParamsAvailabilitySource.

func (ListProjectAvailableSkillsParamsAvailabilitySource) Valid

Valid indicates whether the value is a known member of the ListProjectAvailableSkillsParamsAvailabilitySource enum.

type ListProjectAvailableSkillsParamsOwnerKind

type ListProjectAvailableSkillsParamsOwnerKind string

ListProjectAvailableSkillsParamsOwnerKind defines parameters for ListProjectAvailableSkills.

const (
	ListProjectAvailableSkillsParamsOwnerKindOrg     ListProjectAvailableSkillsParamsOwnerKind = "org"
	ListProjectAvailableSkillsParamsOwnerKindProject ListProjectAvailableSkillsParamsOwnerKind = "project"
	ListProjectAvailableSkillsParamsOwnerKindUser    ListProjectAvailableSkillsParamsOwnerKind = "user"
)

Defines values for ListProjectAvailableSkillsParamsOwnerKind.

func (ListProjectAvailableSkillsParamsOwnerKind) Valid

Valid indicates whether the value is a known member of the ListProjectAvailableSkillsParamsOwnerKind enum.

type ListProjectAvailableSkillsRequestObject

type ListProjectAvailableSkillsRequestObject struct {
	OrgID     string    `json:"orgID"`
	ProjectID ProjectID `json:"projectID"`
	Params    ListProjectAvailableSkillsParams
}

type ListProjectAvailableSkillsResponseObject

type ListProjectAvailableSkillsResponseObject interface {
	VisitListProjectAvailableSkillsResponse(w http.ResponseWriter) error
}

type ListProjectMachineGrants4XXJSONResponse

type ListProjectMachineGrants4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListProjectMachineGrants4XXJSONResponse) VisitListProjectMachineGrantsResponse

func (response ListProjectMachineGrants4XXJSONResponse) VisitListProjectMachineGrantsResponse(w http.ResponseWriter) error

type ListProjectMachineGrants5XXJSONResponse

type ListProjectMachineGrants5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListProjectMachineGrants5XXJSONResponse) VisitListProjectMachineGrantsResponse

func (response ListProjectMachineGrants5XXJSONResponse) VisitListProjectMachineGrantsResponse(w http.ResponseWriter) error

type ListProjectMachineGrants200JSONResponse

type ListProjectMachineGrants200JSONResponse ListProjectMachineGrantsResponse

func (ListProjectMachineGrants200JSONResponse) VisitListProjectMachineGrantsResponse

func (response ListProjectMachineGrants200JSONResponse) VisitListProjectMachineGrantsResponse(w http.ResponseWriter) error

type ListProjectMachineGrants400JSONResponse

type ListProjectMachineGrants400JSONResponse struct{ BadRequestJSONResponse }

func (ListProjectMachineGrants400JSONResponse) VisitListProjectMachineGrantsResponse

func (response ListProjectMachineGrants400JSONResponse) VisitListProjectMachineGrantsResponse(w http.ResponseWriter) error

type ListProjectMachineGrants401JSONResponse

type ListProjectMachineGrants401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListProjectMachineGrants401JSONResponse) VisitListProjectMachineGrantsResponse

func (response ListProjectMachineGrants401JSONResponse) VisitListProjectMachineGrantsResponse(w http.ResponseWriter) error

type ListProjectMachineGrants403JSONResponse

type ListProjectMachineGrants403JSONResponse struct{ ForbiddenJSONResponse }

func (ListProjectMachineGrants403JSONResponse) VisitListProjectMachineGrantsResponse

func (response ListProjectMachineGrants403JSONResponse) VisitListProjectMachineGrantsResponse(w http.ResponseWriter) error

type ListProjectMachineGrants404JSONResponse

type ListProjectMachineGrants404JSONResponse struct{ NotFoundJSONResponse }

func (ListProjectMachineGrants404JSONResponse) VisitListProjectMachineGrantsResponse

func (response ListProjectMachineGrants404JSONResponse) VisitListProjectMachineGrantsResponse(w http.ResponseWriter) error

type ListProjectMachineGrants409JSONResponse

type ListProjectMachineGrants409JSONResponse struct{ ConflictJSONResponse }

func (ListProjectMachineGrants409JSONResponse) VisitListProjectMachineGrantsResponse

func (response ListProjectMachineGrants409JSONResponse) VisitListProjectMachineGrantsResponse(w http.ResponseWriter) error

type ListProjectMachineGrants503JSONResponse

type ListProjectMachineGrants503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListProjectMachineGrants503JSONResponse) VisitListProjectMachineGrantsResponse

func (response ListProjectMachineGrants503JSONResponse) VisitListProjectMachineGrantsResponse(w http.ResponseWriter) error

type ListProjectMachineGrantsParams

type ListProjectMachineGrantsParams struct {
	// Name Case-insensitive glob over the list's logical name. `*` matches zero or more characters, `?` matches one character, and `\` escapes a wildcard.
	Name *ResourceNameFilter `form:"name,omitempty" json:"name,omitempty"`
	Sort *ResourceListSort   `form:"sort,omitempty" json:"sort,omitempty"`

	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListProjectMachineGrantsParams defines parameters for ListProjectMachineGrants.

type ListProjectMachineGrantsRequestObject

type ListProjectMachineGrantsRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	Params    ListProjectMachineGrantsParams
}

type ListProjectMachineGrantsResponse

type ListProjectMachineGrantsResponse struct {
	Data       []ProjectMachineGrantListItem `json:"data"`
	NextCursor nullable.Nullable[string]     `json:"next_cursor"`
}

ListProjectMachineGrantsResponse defines model for ListProjectMachineGrantsResponse.

type ListProjectMachineGrantsResponseObject

type ListProjectMachineGrantsResponseObject interface {
	VisitListProjectMachineGrantsResponse(w http.ResponseWriter) error
}

type ListProjectMachinePoolGrants4XXJSONResponse

type ListProjectMachinePoolGrants4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListProjectMachinePoolGrants4XXJSONResponse) VisitListProjectMachinePoolGrantsResponse

func (response ListProjectMachinePoolGrants4XXJSONResponse) VisitListProjectMachinePoolGrantsResponse(w http.ResponseWriter) error

type ListProjectMachinePoolGrants5XXJSONResponse

type ListProjectMachinePoolGrants5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListProjectMachinePoolGrants5XXJSONResponse) VisitListProjectMachinePoolGrantsResponse

func (response ListProjectMachinePoolGrants5XXJSONResponse) VisitListProjectMachinePoolGrantsResponse(w http.ResponseWriter) error

type ListProjectMachinePoolGrants200JSONResponse

type ListProjectMachinePoolGrants200JSONResponse ListProjectMachinePoolGrantsResponse

func (ListProjectMachinePoolGrants200JSONResponse) VisitListProjectMachinePoolGrantsResponse

func (response ListProjectMachinePoolGrants200JSONResponse) VisitListProjectMachinePoolGrantsResponse(w http.ResponseWriter) error

type ListProjectMachinePoolGrants400JSONResponse

type ListProjectMachinePoolGrants400JSONResponse struct{ BadRequestJSONResponse }

func (ListProjectMachinePoolGrants400JSONResponse) VisitListProjectMachinePoolGrantsResponse

func (response ListProjectMachinePoolGrants400JSONResponse) VisitListProjectMachinePoolGrantsResponse(w http.ResponseWriter) error

type ListProjectMachinePoolGrants401JSONResponse

type ListProjectMachinePoolGrants401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListProjectMachinePoolGrants401JSONResponse) VisitListProjectMachinePoolGrantsResponse

func (response ListProjectMachinePoolGrants401JSONResponse) VisitListProjectMachinePoolGrantsResponse(w http.ResponseWriter) error

type ListProjectMachinePoolGrants403JSONResponse

type ListProjectMachinePoolGrants403JSONResponse struct{ ForbiddenJSONResponse }

func (ListProjectMachinePoolGrants403JSONResponse) VisitListProjectMachinePoolGrantsResponse

func (response ListProjectMachinePoolGrants403JSONResponse) VisitListProjectMachinePoolGrantsResponse(w http.ResponseWriter) error

type ListProjectMachinePoolGrants404JSONResponse

type ListProjectMachinePoolGrants404JSONResponse struct{ NotFoundJSONResponse }

func (ListProjectMachinePoolGrants404JSONResponse) VisitListProjectMachinePoolGrantsResponse

func (response ListProjectMachinePoolGrants404JSONResponse) VisitListProjectMachinePoolGrantsResponse(w http.ResponseWriter) error

type ListProjectMachinePoolGrants409JSONResponse

type ListProjectMachinePoolGrants409JSONResponse struct{ ConflictJSONResponse }

func (ListProjectMachinePoolGrants409JSONResponse) VisitListProjectMachinePoolGrantsResponse

func (response ListProjectMachinePoolGrants409JSONResponse) VisitListProjectMachinePoolGrantsResponse(w http.ResponseWriter) error

type ListProjectMachinePoolGrants503JSONResponse

type ListProjectMachinePoolGrants503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListProjectMachinePoolGrants503JSONResponse) VisitListProjectMachinePoolGrantsResponse

func (response ListProjectMachinePoolGrants503JSONResponse) VisitListProjectMachinePoolGrantsResponse(w http.ResponseWriter) error

type ListProjectMachinePoolGrantsParams

type ListProjectMachinePoolGrantsParams struct {
	// Name Case-insensitive glob over the list's logical name. `*` matches zero or more characters, `?` matches one character, and `\` escapes a wildcard.
	Name *ResourceNameFilter `form:"name,omitempty" json:"name,omitempty"`
	Sort *ResourceListSort   `form:"sort,omitempty" json:"sort,omitempty"`

	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListProjectMachinePoolGrantsParams defines parameters for ListProjectMachinePoolGrants.

type ListProjectMachinePoolGrantsRequestObject

type ListProjectMachinePoolGrantsRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	Params    ListProjectMachinePoolGrantsParams
}

type ListProjectMachinePoolGrantsResponse

type ListProjectMachinePoolGrantsResponse struct {
	Data       []ProjectMachinePoolGrantListItem `json:"data"`
	NextCursor nullable.Nullable[string]         `json:"next_cursor"`
}

ListProjectMachinePoolGrantsResponse defines model for ListProjectMachinePoolGrantsResponse.

type ListProjectMachinePoolGrantsResponseObject

type ListProjectMachinePoolGrantsResponseObject interface {
	VisitListProjectMachinePoolGrantsResponse(w http.ResponseWriter) error
}

type ListProjectMembershipGrantsResponse

type ListProjectMembershipGrantsResponse struct {
	Data []ProjectMembershipGrant `json:"data"`
}

ListProjectMembershipGrantsResponse defines model for ListProjectMembershipGrantsResponse.

type ListProjectModelGrants4XXJSONResponse

type ListProjectModelGrants4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListProjectModelGrants4XXJSONResponse) VisitListProjectModelGrantsResponse

func (response ListProjectModelGrants4XXJSONResponse) VisitListProjectModelGrantsResponse(w http.ResponseWriter) error

type ListProjectModelGrants5XXJSONResponse

type ListProjectModelGrants5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListProjectModelGrants5XXJSONResponse) VisitListProjectModelGrantsResponse

func (response ListProjectModelGrants5XXJSONResponse) VisitListProjectModelGrantsResponse(w http.ResponseWriter) error

type ListProjectModelGrants200JSONResponse

type ListProjectModelGrants200JSONResponse ListProjectModelGrantsResponse

func (ListProjectModelGrants200JSONResponse) VisitListProjectModelGrantsResponse

func (response ListProjectModelGrants200JSONResponse) VisitListProjectModelGrantsResponse(w http.ResponseWriter) error

type ListProjectModelGrants400JSONResponse

type ListProjectModelGrants400JSONResponse struct{ BadRequestJSONResponse }

func (ListProjectModelGrants400JSONResponse) VisitListProjectModelGrantsResponse

func (response ListProjectModelGrants400JSONResponse) VisitListProjectModelGrantsResponse(w http.ResponseWriter) error

type ListProjectModelGrants401JSONResponse

type ListProjectModelGrants401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListProjectModelGrants401JSONResponse) VisitListProjectModelGrantsResponse

func (response ListProjectModelGrants401JSONResponse) VisitListProjectModelGrantsResponse(w http.ResponseWriter) error

type ListProjectModelGrants403JSONResponse

type ListProjectModelGrants403JSONResponse struct{ ForbiddenJSONResponse }

func (ListProjectModelGrants403JSONResponse) VisitListProjectModelGrantsResponse

func (response ListProjectModelGrants403JSONResponse) VisitListProjectModelGrantsResponse(w http.ResponseWriter) error

type ListProjectModelGrants404JSONResponse

type ListProjectModelGrants404JSONResponse struct{ NotFoundJSONResponse }

func (ListProjectModelGrants404JSONResponse) VisitListProjectModelGrantsResponse

func (response ListProjectModelGrants404JSONResponse) VisitListProjectModelGrantsResponse(w http.ResponseWriter) error

type ListProjectModelGrants409JSONResponse

type ListProjectModelGrants409JSONResponse struct{ ConflictJSONResponse }

func (ListProjectModelGrants409JSONResponse) VisitListProjectModelGrantsResponse

func (response ListProjectModelGrants409JSONResponse) VisitListProjectModelGrantsResponse(w http.ResponseWriter) error

type ListProjectModelGrants503JSONResponse

type ListProjectModelGrants503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListProjectModelGrants503JSONResponse) VisitListProjectModelGrantsResponse

func (response ListProjectModelGrants503JSONResponse) VisitListProjectModelGrantsResponse(w http.ResponseWriter) error

type ListProjectModelGrantsParams

type ListProjectModelGrantsParams struct {
	// Name Case-insensitive glob over the list's logical name. `*` matches zero or more characters, `?` matches one character, and `\` escapes a wildcard.
	Name *ResourceNameFilter `form:"name,omitempty" json:"name,omitempty"`
	Sort *ResourceListSort   `form:"sort,omitempty" json:"sort,omitempty"`

	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListProjectModelGrantsParams defines parameters for ListProjectModelGrants.

type ListProjectModelGrantsRequestObject

type ListProjectModelGrantsRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	Params    ListProjectModelGrantsParams
}

type ListProjectModelGrantsResponse

type ListProjectModelGrantsResponse struct {
	Data       []ProjectModelGrantListItem `json:"data"`
	NextCursor nullable.Nullable[string]   `json:"next_cursor"`
}

ListProjectModelGrantsResponse defines model for ListProjectModelGrantsResponse.

type ListProjectModelGrantsResponseObject

type ListProjectModelGrantsResponseObject interface {
	VisitListProjectModelGrantsResponse(w http.ResponseWriter) error
}

type ListProjectSecretAccessesResponse

type ListProjectSecretAccessesResponse struct {
	Data       []ProjectSecretAccess     `json:"data"`
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ListProjectSecretAccessesResponse defines model for ListProjectSecretAccessesResponse.

type ListProjectSkillAccessesResponse

type ListProjectSkillAccessesResponse struct {
	Data       []ProjectSkillAccess      `json:"data"`
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ListProjectSkillAccessesResponse defines model for ListProjectSkillAccessesResponse.

type ListProjectsResponse

type ListProjectsResponse struct {
	Data []VisibleProject `json:"data"`

	// NextCursor Opaque cursor for the next page, or null when this is the last page.
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ListProjectsResponse defines model for ListProjectsResponse.

type ListQueuedBacklogInputs4XXJSONResponse

type ListQueuedBacklogInputs4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListQueuedBacklogInputs4XXJSONResponse) VisitListQueuedBacklogInputsResponse

func (response ListQueuedBacklogInputs4XXJSONResponse) VisitListQueuedBacklogInputsResponse(w http.ResponseWriter) error

type ListQueuedBacklogInputs5XXJSONResponse

type ListQueuedBacklogInputs5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListQueuedBacklogInputs5XXJSONResponse) VisitListQueuedBacklogInputsResponse

func (response ListQueuedBacklogInputs5XXJSONResponse) VisitListQueuedBacklogInputsResponse(w http.ResponseWriter) error

type ListQueuedBacklogInputs200JSONResponse

type ListQueuedBacklogInputs200JSONResponse ListAgentInputsResponse

func (ListQueuedBacklogInputs200JSONResponse) VisitListQueuedBacklogInputsResponse

func (response ListQueuedBacklogInputs200JSONResponse) VisitListQueuedBacklogInputsResponse(w http.ResponseWriter) error

type ListQueuedBacklogInputs400JSONResponse

type ListQueuedBacklogInputs400JSONResponse struct{ BadRequestJSONResponse }

func (ListQueuedBacklogInputs400JSONResponse) VisitListQueuedBacklogInputsResponse

func (response ListQueuedBacklogInputs400JSONResponse) VisitListQueuedBacklogInputsResponse(w http.ResponseWriter) error

type ListQueuedBacklogInputs401JSONResponse

type ListQueuedBacklogInputs401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListQueuedBacklogInputs401JSONResponse) VisitListQueuedBacklogInputsResponse

func (response ListQueuedBacklogInputs401JSONResponse) VisitListQueuedBacklogInputsResponse(w http.ResponseWriter) error

type ListQueuedBacklogInputs403JSONResponse

type ListQueuedBacklogInputs403JSONResponse struct{ ForbiddenJSONResponse }

func (ListQueuedBacklogInputs403JSONResponse) VisitListQueuedBacklogInputsResponse

func (response ListQueuedBacklogInputs403JSONResponse) VisitListQueuedBacklogInputsResponse(w http.ResponseWriter) error

type ListQueuedBacklogInputs404JSONResponse

type ListQueuedBacklogInputs404JSONResponse struct{ NotFoundJSONResponse }

func (ListQueuedBacklogInputs404JSONResponse) VisitListQueuedBacklogInputsResponse

func (response ListQueuedBacklogInputs404JSONResponse) VisitListQueuedBacklogInputsResponse(w http.ResponseWriter) error

type ListQueuedBacklogInputs409JSONResponse

type ListQueuedBacklogInputs409JSONResponse struct{ ConflictJSONResponse }

func (ListQueuedBacklogInputs409JSONResponse) VisitListQueuedBacklogInputsResponse

func (response ListQueuedBacklogInputs409JSONResponse) VisitListQueuedBacklogInputsResponse(w http.ResponseWriter) error

type ListQueuedBacklogInputs503JSONResponse

type ListQueuedBacklogInputs503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListQueuedBacklogInputs503JSONResponse) VisitListQueuedBacklogInputsResponse

func (response ListQueuedBacklogInputs503JSONResponse) VisitListQueuedBacklogInputsResponse(w http.ResponseWriter) error

type ListQueuedBacklogInputsParams

type ListQueuedBacklogInputsParams struct {
	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListQueuedBacklogInputsParams defines parameters for ListQueuedBacklogInputs.

type ListQueuedBacklogInputsRequestObject

type ListQueuedBacklogInputsRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	AgentID   string `json:"agentID"`
	Params    ListQueuedBacklogInputsParams
}

type ListQueuedBacklogInputsResponseObject

type ListQueuedBacklogInputsResponseObject interface {
	VisitListQueuedBacklogInputsResponse(w http.ResponseWriter) error
}

type ListSecretGrants4XXJSONResponse

type ListSecretGrants4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListSecretGrants4XXJSONResponse) VisitListSecretGrantsResponse

func (response ListSecretGrants4XXJSONResponse) VisitListSecretGrantsResponse(w http.ResponseWriter) error

type ListSecretGrants5XXJSONResponse

type ListSecretGrants5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListSecretGrants5XXJSONResponse) VisitListSecretGrantsResponse

func (response ListSecretGrants5XXJSONResponse) VisitListSecretGrantsResponse(w http.ResponseWriter) error

type ListSecretGrants200JSONResponse

type ListSecretGrants200JSONResponse ListSecretGrantsResponse

func (ListSecretGrants200JSONResponse) VisitListSecretGrantsResponse

func (response ListSecretGrants200JSONResponse) VisitListSecretGrantsResponse(w http.ResponseWriter) error

type ListSecretGrants400JSONResponse

type ListSecretGrants400JSONResponse struct{ BadRequestJSONResponse }

func (ListSecretGrants400JSONResponse) VisitListSecretGrantsResponse

func (response ListSecretGrants400JSONResponse) VisitListSecretGrantsResponse(w http.ResponseWriter) error

type ListSecretGrants401JSONResponse

type ListSecretGrants401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListSecretGrants401JSONResponse) VisitListSecretGrantsResponse

func (response ListSecretGrants401JSONResponse) VisitListSecretGrantsResponse(w http.ResponseWriter) error

type ListSecretGrants403JSONResponse

type ListSecretGrants403JSONResponse struct{ ForbiddenJSONResponse }

func (ListSecretGrants403JSONResponse) VisitListSecretGrantsResponse

func (response ListSecretGrants403JSONResponse) VisitListSecretGrantsResponse(w http.ResponseWriter) error

type ListSecretGrants404JSONResponse

type ListSecretGrants404JSONResponse struct{ NotFoundJSONResponse }

func (ListSecretGrants404JSONResponse) VisitListSecretGrantsResponse

func (response ListSecretGrants404JSONResponse) VisitListSecretGrantsResponse(w http.ResponseWriter) error

type ListSecretGrants500JSONResponse

type ListSecretGrants500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (ListSecretGrants500JSONResponse) VisitListSecretGrantsResponse

func (response ListSecretGrants500JSONResponse) VisitListSecretGrantsResponse(w http.ResponseWriter) error

type ListSecretGrants503JSONResponse

type ListSecretGrants503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListSecretGrants503JSONResponse) VisitListSecretGrantsResponse

func (response ListSecretGrants503JSONResponse) VisitListSecretGrantsResponse(w http.ResponseWriter) error

type ListSecretGrantsParams

type ListSecretGrantsParams struct {
	// Name Case-insensitive glob over the list's logical name. `*` matches zero or more characters, `?` matches one character, and `\` escapes a wildcard.
	Name *ResourceNameFilter      `form:"name,omitempty" json:"name,omitempty"`
	Sort *CreatedResourceListSort `form:"sort,omitempty" json:"sort,omitempty"`

	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListSecretGrantsParams defines parameters for ListSecretGrants.

type ListSecretGrantsRequestObject

type ListSecretGrantsRequestObject struct {
	OrgID    string `json:"orgID"`
	SecretID string `json:"secretID"`
	Params   ListSecretGrantsParams
}

type ListSecretGrantsResponse

type ListSecretGrantsResponse struct {
	Data       []SecretGrantListItem     `json:"data"`
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ListSecretGrantsResponse defines model for ListSecretGrantsResponse.

type ListSecretGrantsResponseObject

type ListSecretGrantsResponseObject interface {
	VisitListSecretGrantsResponse(w http.ResponseWriter) error
}

type ListSecrets4XXJSONResponse

type ListSecrets4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListSecrets4XXJSONResponse) VisitListSecretsResponse

func (response ListSecrets4XXJSONResponse) VisitListSecretsResponse(w http.ResponseWriter) error

type ListSecrets5XXJSONResponse

type ListSecrets5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListSecrets5XXJSONResponse) VisitListSecretsResponse

func (response ListSecrets5XXJSONResponse) VisitListSecretsResponse(w http.ResponseWriter) error

type ListSecrets200JSONResponse

type ListSecrets200JSONResponse ListSecretsResponse

func (ListSecrets200JSONResponse) VisitListSecretsResponse

func (response ListSecrets200JSONResponse) VisitListSecretsResponse(w http.ResponseWriter) error

type ListSecrets400JSONResponse

type ListSecrets400JSONResponse struct{ BadRequestJSONResponse }

func (ListSecrets400JSONResponse) VisitListSecretsResponse

func (response ListSecrets400JSONResponse) VisitListSecretsResponse(w http.ResponseWriter) error

type ListSecrets401JSONResponse

type ListSecrets401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListSecrets401JSONResponse) VisitListSecretsResponse

func (response ListSecrets401JSONResponse) VisitListSecretsResponse(w http.ResponseWriter) error

type ListSecrets403JSONResponse

type ListSecrets403JSONResponse struct{ ForbiddenJSONResponse }

func (ListSecrets403JSONResponse) VisitListSecretsResponse

func (response ListSecrets403JSONResponse) VisitListSecretsResponse(w http.ResponseWriter) error

type ListSecrets404JSONResponse

type ListSecrets404JSONResponse struct{ NotFoundJSONResponse }

func (ListSecrets404JSONResponse) VisitListSecretsResponse

func (response ListSecrets404JSONResponse) VisitListSecretsResponse(w http.ResponseWriter) error

type ListSecrets500JSONResponse

type ListSecrets500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (ListSecrets500JSONResponse) VisitListSecretsResponse

func (response ListSecrets500JSONResponse) VisitListSecretsResponse(w http.ResponseWriter) error

type ListSecrets503JSONResponse

type ListSecrets503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListSecrets503JSONResponse) VisitListSecretsResponse

func (response ListSecrets503JSONResponse) VisitListSecretsResponse(w http.ResponseWriter) error

type ListSecretsParams

type ListSecretsParams struct {
	// Name Case-insensitive glob over the list's logical name. `*` matches zero or more characters, `?` matches one character, and `\` escapes a wildcard.
	Name *ResourceNameFilter `form:"name,omitempty" json:"name,omitempty"`

	// OwnerKind Filter by the immutable owner kind.
	OwnerKind *ListSecretsParamsOwnerKind `form:"owner_kind,omitempty" json:"owner_kind,omitempty"`

	// OwnerProjectId Required with owner_kind=project and invalid with other owner kinds.
	OwnerProjectId *SecretOwnerProjectIDFilter `form:"owner_project_id,omitempty" json:"owner_project_id,omitempty"`

	// Metadata Metadata key/value filters, encoded as metadata[key]=value.
	Metadata *SecretMetadataFilter `json:"metadata,omitempty"`
	Sort     *ResourceListSort     `form:"sort,omitempty" json:"sort,omitempty"`

	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListSecretsParams defines parameters for ListSecrets.

type ListSecretsParamsOwnerKind

type ListSecretsParamsOwnerKind string

ListSecretsParamsOwnerKind defines parameters for ListSecrets.

const (
	ListSecretsParamsOwnerKindOrg     ListSecretsParamsOwnerKind = "org"
	ListSecretsParamsOwnerKindProject ListSecretsParamsOwnerKind = "project"
	ListSecretsParamsOwnerKindUser    ListSecretsParamsOwnerKind = "user"
)

Defines values for ListSecretsParamsOwnerKind.

func (ListSecretsParamsOwnerKind) Valid

func (e ListSecretsParamsOwnerKind) Valid() bool

Valid indicates whether the value is a known member of the ListSecretsParamsOwnerKind enum.

type ListSecretsRequestObject

type ListSecretsRequestObject struct {
	OrgID  string `json:"orgID"`
	Params ListSecretsParams
}

type ListSecretsResponse

type ListSecretsResponse struct {
	Data       []Secret                  `json:"data"`
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ListSecretsResponse defines model for ListSecretsResponse.

type ListSecretsResponseObject

type ListSecretsResponseObject interface {
	VisitListSecretsResponse(w http.ResponseWriter) error
}

type ListSkillGrants4XXJSONResponse

type ListSkillGrants4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListSkillGrants4XXJSONResponse) VisitListSkillGrantsResponse

func (response ListSkillGrants4XXJSONResponse) VisitListSkillGrantsResponse(w http.ResponseWriter) error

type ListSkillGrants5XXJSONResponse

type ListSkillGrants5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListSkillGrants5XXJSONResponse) VisitListSkillGrantsResponse

func (response ListSkillGrants5XXJSONResponse) VisitListSkillGrantsResponse(w http.ResponseWriter) error

type ListSkillGrants200JSONResponse

type ListSkillGrants200JSONResponse ListSkillGrantsResponse

func (ListSkillGrants200JSONResponse) VisitListSkillGrantsResponse

func (response ListSkillGrants200JSONResponse) VisitListSkillGrantsResponse(w http.ResponseWriter) error

type ListSkillGrants400JSONResponse

type ListSkillGrants400JSONResponse struct{ BadRequestJSONResponse }

func (ListSkillGrants400JSONResponse) VisitListSkillGrantsResponse

func (response ListSkillGrants400JSONResponse) VisitListSkillGrantsResponse(w http.ResponseWriter) error

type ListSkillGrants401JSONResponse

type ListSkillGrants401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListSkillGrants401JSONResponse) VisitListSkillGrantsResponse

func (response ListSkillGrants401JSONResponse) VisitListSkillGrantsResponse(w http.ResponseWriter) error

type ListSkillGrants403JSONResponse

type ListSkillGrants403JSONResponse struct{ ForbiddenJSONResponse }

func (ListSkillGrants403JSONResponse) VisitListSkillGrantsResponse

func (response ListSkillGrants403JSONResponse) VisitListSkillGrantsResponse(w http.ResponseWriter) error

type ListSkillGrants404JSONResponse

type ListSkillGrants404JSONResponse struct{ NotFoundJSONResponse }

func (ListSkillGrants404JSONResponse) VisitListSkillGrantsResponse

func (response ListSkillGrants404JSONResponse) VisitListSkillGrantsResponse(w http.ResponseWriter) error

type ListSkillGrants500JSONResponse

type ListSkillGrants500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (ListSkillGrants500JSONResponse) VisitListSkillGrantsResponse

func (response ListSkillGrants500JSONResponse) VisitListSkillGrantsResponse(w http.ResponseWriter) error

type ListSkillGrants503JSONResponse

type ListSkillGrants503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListSkillGrants503JSONResponse) VisitListSkillGrantsResponse

func (response ListSkillGrants503JSONResponse) VisitListSkillGrantsResponse(w http.ResponseWriter) error

type ListSkillGrantsParams

type ListSkillGrantsParams struct {
	// Name Case-insensitive glob over the list's logical name. `*` matches zero or more characters, `?` matches one character, and `\` escapes a wildcard.
	Name *ResourceNameFilter      `form:"name,omitempty" json:"name,omitempty"`
	Sort *CreatedResourceListSort `form:"sort,omitempty" json:"sort,omitempty"`

	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListSkillGrantsParams defines parameters for ListSkillGrants.

type ListSkillGrantsRequestObject

type ListSkillGrantsRequestObject struct {
	OrgID   string  `json:"orgID"`
	SkillID SkillID `json:"skillID"`
	Params  ListSkillGrantsParams
}

type ListSkillGrantsResponse

type ListSkillGrantsResponse struct {
	Data       []SkillGrantListItem      `json:"data"`
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ListSkillGrantsResponse defines model for ListSkillGrantsResponse.

type ListSkillGrantsResponseObject

type ListSkillGrantsResponseObject interface {
	VisitListSkillGrantsResponse(w http.ResponseWriter) error
}

type ListSkills4XXJSONResponse

type ListSkills4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListSkills4XXJSONResponse) VisitListSkillsResponse

func (response ListSkills4XXJSONResponse) VisitListSkillsResponse(w http.ResponseWriter) error

type ListSkills5XXJSONResponse

type ListSkills5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListSkills5XXJSONResponse) VisitListSkillsResponse

func (response ListSkills5XXJSONResponse) VisitListSkillsResponse(w http.ResponseWriter) error

type ListSkills200JSONResponse

type ListSkills200JSONResponse ListSkillsResponse

func (ListSkills200JSONResponse) VisitListSkillsResponse

func (response ListSkills200JSONResponse) VisitListSkillsResponse(w http.ResponseWriter) error

type ListSkills400JSONResponse

type ListSkills400JSONResponse struct{ BadRequestJSONResponse }

func (ListSkills400JSONResponse) VisitListSkillsResponse

func (response ListSkills400JSONResponse) VisitListSkillsResponse(w http.ResponseWriter) error

type ListSkills401JSONResponse

type ListSkills401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListSkills401JSONResponse) VisitListSkillsResponse

func (response ListSkills401JSONResponse) VisitListSkillsResponse(w http.ResponseWriter) error

type ListSkills403JSONResponse

type ListSkills403JSONResponse struct{ ForbiddenJSONResponse }

func (ListSkills403JSONResponse) VisitListSkillsResponse

func (response ListSkills403JSONResponse) VisitListSkillsResponse(w http.ResponseWriter) error

type ListSkills404JSONResponse

type ListSkills404JSONResponse struct{ NotFoundJSONResponse }

func (ListSkills404JSONResponse) VisitListSkillsResponse

func (response ListSkills404JSONResponse) VisitListSkillsResponse(w http.ResponseWriter) error

type ListSkills500JSONResponse

type ListSkills500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (ListSkills500JSONResponse) VisitListSkillsResponse

func (response ListSkills500JSONResponse) VisitListSkillsResponse(w http.ResponseWriter) error

type ListSkills503JSONResponse

type ListSkills503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListSkills503JSONResponse) VisitListSkillsResponse

func (response ListSkills503JSONResponse) VisitListSkillsResponse(w http.ResponseWriter) error

type ListSkillsParams

type ListSkillsParams struct {
	// Name Case-insensitive glob over the list's logical name. `*` matches zero or more characters, `?` matches one character, and `\` escapes a wildcard.
	Name *ResourceNameFilter `form:"name,omitempty" json:"name,omitempty"`

	// OwnerKind Filter by the immutable skill owner kind.
	OwnerKind *ListSkillsParamsOwnerKind `form:"owner_kind,omitempty" json:"owner_kind,omitempty"`

	// OwnerProjectId Required with owner_kind=project and invalid with other owner kinds.
	OwnerProjectId *SkillOwnerProjectIDFilter `form:"owner_project_id,omitempty" json:"owner_project_id,omitempty"`
	Sort           *ResourceListSort          `form:"sort,omitempty" json:"sort,omitempty"`

	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListSkillsParams defines parameters for ListSkills.

type ListSkillsParamsOwnerKind

type ListSkillsParamsOwnerKind string

ListSkillsParamsOwnerKind defines parameters for ListSkills.

const (
	ListSkillsParamsOwnerKindOrg     ListSkillsParamsOwnerKind = "org"
	ListSkillsParamsOwnerKindProject ListSkillsParamsOwnerKind = "project"
	ListSkillsParamsOwnerKindUser    ListSkillsParamsOwnerKind = "user"
)

Defines values for ListSkillsParamsOwnerKind.

func (ListSkillsParamsOwnerKind) Valid

func (e ListSkillsParamsOwnerKind) Valid() bool

Valid indicates whether the value is a known member of the ListSkillsParamsOwnerKind enum.

type ListSkillsRequestObject

type ListSkillsRequestObject struct {
	OrgID  string `json:"orgID"`
	Params ListSkillsParams
}

type ListSkillsResponse

type ListSkillsResponse struct {
	Data       []Skill                   `json:"data"`
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ListSkillsResponse defines model for ListSkillsResponse.

type ListSkillsResponseObject

type ListSkillsResponseObject interface {
	VisitListSkillsResponse(w http.ResponseWriter) error
}

type ListToolCalls4XXJSONResponse

type ListToolCalls4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListToolCalls4XXJSONResponse) VisitListToolCallsResponse

func (response ListToolCalls4XXJSONResponse) VisitListToolCallsResponse(w http.ResponseWriter) error

type ListToolCalls5XXJSONResponse

type ListToolCalls5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListToolCalls5XXJSONResponse) VisitListToolCallsResponse

func (response ListToolCalls5XXJSONResponse) VisitListToolCallsResponse(w http.ResponseWriter) error

type ListToolCalls200JSONResponse

type ListToolCalls200JSONResponse ListToolCallsResponse

func (ListToolCalls200JSONResponse) VisitListToolCallsResponse

func (response ListToolCalls200JSONResponse) VisitListToolCallsResponse(w http.ResponseWriter) error

type ListToolCalls400JSONResponse

type ListToolCalls400JSONResponse struct{ BadRequestJSONResponse }

func (ListToolCalls400JSONResponse) VisitListToolCallsResponse

func (response ListToolCalls400JSONResponse) VisitListToolCallsResponse(w http.ResponseWriter) error

type ListToolCalls401JSONResponse

type ListToolCalls401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListToolCalls401JSONResponse) VisitListToolCallsResponse

func (response ListToolCalls401JSONResponse) VisitListToolCallsResponse(w http.ResponseWriter) error

type ListToolCalls403JSONResponse

type ListToolCalls403JSONResponse struct{ ForbiddenJSONResponse }

func (ListToolCalls403JSONResponse) VisitListToolCallsResponse

func (response ListToolCalls403JSONResponse) VisitListToolCallsResponse(w http.ResponseWriter) error

type ListToolCalls404JSONResponse

type ListToolCalls404JSONResponse struct{ NotFoundJSONResponse }

func (ListToolCalls404JSONResponse) VisitListToolCallsResponse

func (response ListToolCalls404JSONResponse) VisitListToolCallsResponse(w http.ResponseWriter) error

type ListToolCalls503JSONResponse

type ListToolCalls503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListToolCalls503JSONResponse) VisitListToolCallsResponse

func (response ListToolCalls503JSONResponse) VisitListToolCallsResponse(w http.ResponseWriter) error

type ListToolCallsParams

type ListToolCallsParams struct {
	State *ToolCallState `form:"state,omitempty" json:"state,omitempty"`
	Type  *ToolCallType  `form:"type,omitempty" json:"type,omitempty"`

	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListToolCallsParams defines parameters for ListToolCalls.

type ListToolCallsRequestObject

type ListToolCallsRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	AgentID   string `json:"agentID"`
	Params    ListToolCallsParams
}

type ListToolCallsResponse

type ListToolCallsResponse struct {
	Data       []ToolCall                `json:"data"`
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ListToolCallsResponse defines model for ListToolCallsResponse.

type ListToolCallsResponseObject

type ListToolCallsResponseObject interface {
	VisitListToolCallsResponse(w http.ResponseWriter) error
}

type ListTurnEvents4XXJSONResponse

type ListTurnEvents4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListTurnEvents4XXJSONResponse) VisitListTurnEventsResponse

func (response ListTurnEvents4XXJSONResponse) VisitListTurnEventsResponse(w http.ResponseWriter) error

type ListTurnEvents5XXJSONResponse

type ListTurnEvents5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListTurnEvents5XXJSONResponse) VisitListTurnEventsResponse

func (response ListTurnEvents5XXJSONResponse) VisitListTurnEventsResponse(w http.ResponseWriter) error

type ListTurnEvents200JSONResponse

type ListTurnEvents200JSONResponse ListTurnEventsResponse

func (ListTurnEvents200JSONResponse) VisitListTurnEventsResponse

func (response ListTurnEvents200JSONResponse) VisitListTurnEventsResponse(w http.ResponseWriter) error

type ListTurnEvents400JSONResponse

type ListTurnEvents400JSONResponse struct{ BadRequestJSONResponse }

func (ListTurnEvents400JSONResponse) VisitListTurnEventsResponse

func (response ListTurnEvents400JSONResponse) VisitListTurnEventsResponse(w http.ResponseWriter) error

type ListTurnEvents401JSONResponse

type ListTurnEvents401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListTurnEvents401JSONResponse) VisitListTurnEventsResponse

func (response ListTurnEvents401JSONResponse) VisitListTurnEventsResponse(w http.ResponseWriter) error

type ListTurnEvents403JSONResponse

type ListTurnEvents403JSONResponse struct{ ForbiddenJSONResponse }

func (ListTurnEvents403JSONResponse) VisitListTurnEventsResponse

func (response ListTurnEvents403JSONResponse) VisitListTurnEventsResponse(w http.ResponseWriter) error

type ListTurnEvents404JSONResponse

type ListTurnEvents404JSONResponse struct{ NotFoundJSONResponse }

func (ListTurnEvents404JSONResponse) VisitListTurnEventsResponse

func (response ListTurnEvents404JSONResponse) VisitListTurnEventsResponse(w http.ResponseWriter) error

type ListTurnEvents503JSONResponse

type ListTurnEvents503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListTurnEvents503JSONResponse) VisitListTurnEventsResponse

func (response ListTurnEvents503JSONResponse) VisitListTurnEventsResponse(w http.ResponseWriter) error

type ListTurnEventsParams

type ListTurnEventsParams struct {
	// BeforeSequence Exclusive event sequence boundary. Omit or pass 0 for the latest events in the turn.
	BeforeSequence *int64 `form:"before_sequence,omitempty" json:"before_sequence,omitempty"`

	// Limit Maximum number of events to return.
	Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}

ListTurnEventsParams defines parameters for ListTurnEvents.

type ListTurnEventsRequestObject

type ListTurnEventsRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	AgentID   string `json:"agentID"`
	TurnID    string `json:"turnID"`
	Params    ListTurnEventsParams
}

type ListTurnEventsResponse

type ListTurnEventsResponse struct {
	Data []AgentEvent `json:"data"`

	// NextBeforeSequence Pass this value as before_sequence to fetch older events, or null when this page reached the beginning of the turn.
	NextBeforeSequence nullable.Nullable[AgentSequenceCursor] `json:"next_before_sequence"`
}

ListTurnEventsResponse defines model for ListTurnEventsResponse.

type ListTurnEventsResponseObject

type ListTurnEventsResponseObject interface {
	VisitListTurnEventsResponse(w http.ResponseWriter) error
}

type ListTurns4XXJSONResponse

type ListTurns4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListTurns4XXJSONResponse) VisitListTurnsResponse

func (response ListTurns4XXJSONResponse) VisitListTurnsResponse(w http.ResponseWriter) error

type ListTurns5XXJSONResponse

type ListTurns5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListTurns5XXJSONResponse) VisitListTurnsResponse

func (response ListTurns5XXJSONResponse) VisitListTurnsResponse(w http.ResponseWriter) error

type ListTurns200JSONResponse

type ListTurns200JSONResponse ListAgentTurnsResponse

func (ListTurns200JSONResponse) VisitListTurnsResponse

func (response ListTurns200JSONResponse) VisitListTurnsResponse(w http.ResponseWriter) error

type ListTurns400JSONResponse

type ListTurns400JSONResponse struct{ BadRequestJSONResponse }

func (ListTurns400JSONResponse) VisitListTurnsResponse

func (response ListTurns400JSONResponse) VisitListTurnsResponse(w http.ResponseWriter) error

type ListTurns401JSONResponse

type ListTurns401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListTurns401JSONResponse) VisitListTurnsResponse

func (response ListTurns401JSONResponse) VisitListTurnsResponse(w http.ResponseWriter) error

type ListTurns403JSONResponse

type ListTurns403JSONResponse struct{ ForbiddenJSONResponse }

func (ListTurns403JSONResponse) VisitListTurnsResponse

func (response ListTurns403JSONResponse) VisitListTurnsResponse(w http.ResponseWriter) error

type ListTurns404JSONResponse

type ListTurns404JSONResponse struct{ NotFoundJSONResponse }

func (ListTurns404JSONResponse) VisitListTurnsResponse

func (response ListTurns404JSONResponse) VisitListTurnsResponse(w http.ResponseWriter) error

type ListTurns503JSONResponse

type ListTurns503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListTurns503JSONResponse) VisitListTurnsResponse

func (response ListTurns503JSONResponse) VisitListTurnsResponse(w http.ResponseWriter) error

type ListTurnsParams

type ListTurnsParams struct {
	// BeforeTurnSequence Exclusive turn sequence boundary. Omit or pass 0 for the newest turns.
	BeforeTurnSequence *int64 `form:"before_turn_sequence,omitempty" json:"before_turn_sequence,omitempty"`

	// Limit Maximum number of turns to return.
	Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}

ListTurnsParams defines parameters for ListTurns.

type ListTurnsRequestObject

type ListTurnsRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	AgentID   string `json:"agentID"`
	Params    ListTurnsParams
}

type ListTurnsResponseObject

type ListTurnsResponseObject interface {
	VisitListTurnsResponse(w http.ResponseWriter) error
}

type ListVisibleMachines4XXJSONResponse

type ListVisibleMachines4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListVisibleMachines4XXJSONResponse) VisitListVisibleMachinesResponse

func (response ListVisibleMachines4XXJSONResponse) VisitListVisibleMachinesResponse(w http.ResponseWriter) error

type ListVisibleMachines5XXJSONResponse

type ListVisibleMachines5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListVisibleMachines5XXJSONResponse) VisitListVisibleMachinesResponse

func (response ListVisibleMachines5XXJSONResponse) VisitListVisibleMachinesResponse(w http.ResponseWriter) error

type ListVisibleMachines200JSONResponse

type ListVisibleMachines200JSONResponse ListVisibleMachinesResponse

func (ListVisibleMachines200JSONResponse) VisitListVisibleMachinesResponse

func (response ListVisibleMachines200JSONResponse) VisitListVisibleMachinesResponse(w http.ResponseWriter) error

type ListVisibleMachines400JSONResponse

type ListVisibleMachines400JSONResponse struct{ BadRequestJSONResponse }

func (ListVisibleMachines400JSONResponse) VisitListVisibleMachinesResponse

func (response ListVisibleMachines400JSONResponse) VisitListVisibleMachinesResponse(w http.ResponseWriter) error

type ListVisibleMachines401JSONResponse

type ListVisibleMachines401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListVisibleMachines401JSONResponse) VisitListVisibleMachinesResponse

func (response ListVisibleMachines401JSONResponse) VisitListVisibleMachinesResponse(w http.ResponseWriter) error

type ListVisibleMachines403JSONResponse

type ListVisibleMachines403JSONResponse struct{ ForbiddenJSONResponse }

func (ListVisibleMachines403JSONResponse) VisitListVisibleMachinesResponse

func (response ListVisibleMachines403JSONResponse) VisitListVisibleMachinesResponse(w http.ResponseWriter) error

type ListVisibleMachines404JSONResponse

type ListVisibleMachines404JSONResponse struct{ NotFoundJSONResponse }

func (ListVisibleMachines404JSONResponse) VisitListVisibleMachinesResponse

func (response ListVisibleMachines404JSONResponse) VisitListVisibleMachinesResponse(w http.ResponseWriter) error

type ListVisibleMachines409JSONResponse

type ListVisibleMachines409JSONResponse struct{ ConflictJSONResponse }

func (ListVisibleMachines409JSONResponse) VisitListVisibleMachinesResponse

func (response ListVisibleMachines409JSONResponse) VisitListVisibleMachinesResponse(w http.ResponseWriter) error

type ListVisibleMachines503JSONResponse

type ListVisibleMachines503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListVisibleMachines503JSONResponse) VisitListVisibleMachinesResponse

func (response ListVisibleMachines503JSONResponse) VisitListVisibleMachinesResponse(w http.ResponseWriter) error

type ListVisibleMachinesParams

type ListVisibleMachinesParams struct {
	// Name Case-insensitive glob over the list's logical name. `*` matches zero or more characters, `?` matches one character, and `\` escapes a wildcard.
	Name *ResourceNameFilter `form:"name,omitempty" json:"name,omitempty"`

	// SourceKind Filter machines by source kind. Omit to include both BYO and pooled machines.
	SourceKind *MachineSourceKindFilter `form:"source_kind,omitempty" json:"source_kind,omitempty"`
	Sort       *ResourceListSort        `form:"sort,omitempty" json:"sort,omitempty"`

	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListVisibleMachinesParams defines parameters for ListVisibleMachines.

type ListVisibleMachinesRequestObject

type ListVisibleMachinesRequestObject struct {
	OrgID  string `json:"orgID"`
	Params ListVisibleMachinesParams
}

type ListVisibleMachinesResponse

type ListVisibleMachinesResponse struct {
	Data       []VisibleMachine          `json:"data"`
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ListVisibleMachinesResponse defines model for ListVisibleMachinesResponse.

type ListVisibleMachinesResponseObject

type ListVisibleMachinesResponseObject interface {
	VisitListVisibleMachinesResponse(w http.ResponseWriter) error
}

type ListVisibleProjectMachines4XXJSONResponse

type ListVisibleProjectMachines4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListVisibleProjectMachines4XXJSONResponse) VisitListVisibleProjectMachinesResponse

func (response ListVisibleProjectMachines4XXJSONResponse) VisitListVisibleProjectMachinesResponse(w http.ResponseWriter) error

type ListVisibleProjectMachines5XXJSONResponse

type ListVisibleProjectMachines5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListVisibleProjectMachines5XXJSONResponse) VisitListVisibleProjectMachinesResponse

func (response ListVisibleProjectMachines5XXJSONResponse) VisitListVisibleProjectMachinesResponse(w http.ResponseWriter) error

type ListVisibleProjectMachines200JSONResponse

type ListVisibleProjectMachines200JSONResponse ListVisibleMachinesResponse

func (ListVisibleProjectMachines200JSONResponse) VisitListVisibleProjectMachinesResponse

func (response ListVisibleProjectMachines200JSONResponse) VisitListVisibleProjectMachinesResponse(w http.ResponseWriter) error

type ListVisibleProjectMachines400JSONResponse

type ListVisibleProjectMachines400JSONResponse struct{ BadRequestJSONResponse }

func (ListVisibleProjectMachines400JSONResponse) VisitListVisibleProjectMachinesResponse

func (response ListVisibleProjectMachines400JSONResponse) VisitListVisibleProjectMachinesResponse(w http.ResponseWriter) error

type ListVisibleProjectMachines401JSONResponse

type ListVisibleProjectMachines401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListVisibleProjectMachines401JSONResponse) VisitListVisibleProjectMachinesResponse

func (response ListVisibleProjectMachines401JSONResponse) VisitListVisibleProjectMachinesResponse(w http.ResponseWriter) error

type ListVisibleProjectMachines403JSONResponse

type ListVisibleProjectMachines403JSONResponse struct{ ForbiddenJSONResponse }

func (ListVisibleProjectMachines403JSONResponse) VisitListVisibleProjectMachinesResponse

func (response ListVisibleProjectMachines403JSONResponse) VisitListVisibleProjectMachinesResponse(w http.ResponseWriter) error

type ListVisibleProjectMachines404JSONResponse

type ListVisibleProjectMachines404JSONResponse struct{ NotFoundJSONResponse }

func (ListVisibleProjectMachines404JSONResponse) VisitListVisibleProjectMachinesResponse

func (response ListVisibleProjectMachines404JSONResponse) VisitListVisibleProjectMachinesResponse(w http.ResponseWriter) error

type ListVisibleProjectMachines409JSONResponse

type ListVisibleProjectMachines409JSONResponse struct{ ConflictJSONResponse }

func (ListVisibleProjectMachines409JSONResponse) VisitListVisibleProjectMachinesResponse

func (response ListVisibleProjectMachines409JSONResponse) VisitListVisibleProjectMachinesResponse(w http.ResponseWriter) error

type ListVisibleProjectMachines503JSONResponse

type ListVisibleProjectMachines503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListVisibleProjectMachines503JSONResponse) VisitListVisibleProjectMachinesResponse

func (response ListVisibleProjectMachines503JSONResponse) VisitListVisibleProjectMachinesResponse(w http.ResponseWriter) error

type ListVisibleProjectMachinesParams

type ListVisibleProjectMachinesParams struct {
	// Name Case-insensitive glob over the list's logical name. `*` matches zero or more characters, `?` matches one character, and `\` escapes a wildcard.
	Name *ResourceNameFilter `form:"name,omitempty" json:"name,omitempty"`

	// SourceKind Filter machines by source kind. Omit to include both BYO and pooled machines.
	SourceKind *MachineSourceKindFilter `form:"source_kind,omitempty" json:"source_kind,omitempty"`
	Sort       *ResourceListSort        `form:"sort,omitempty" json:"sort,omitempty"`

	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListVisibleProjectMachinesParams defines parameters for ListVisibleProjectMachines.

type ListVisibleProjectMachinesRequestObject

type ListVisibleProjectMachinesRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	Params    ListVisibleProjectMachinesParams
}

type ListVisibleProjectMachinesResponseObject

type ListVisibleProjectMachinesResponseObject interface {
	VisitListVisibleProjectMachinesResponse(w http.ResponseWriter) error
}

type ListVisibleProjects4XXJSONResponse

type ListVisibleProjects4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListVisibleProjects4XXJSONResponse) VisitListVisibleProjectsResponse

func (response ListVisibleProjects4XXJSONResponse) VisitListVisibleProjectsResponse(w http.ResponseWriter) error

type ListVisibleProjects5XXJSONResponse

type ListVisibleProjects5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ListVisibleProjects5XXJSONResponse) VisitListVisibleProjectsResponse

func (response ListVisibleProjects5XXJSONResponse) VisitListVisibleProjectsResponse(w http.ResponseWriter) error

type ListVisibleProjects200JSONResponse

type ListVisibleProjects200JSONResponse ListProjectsResponse

func (ListVisibleProjects200JSONResponse) VisitListVisibleProjectsResponse

func (response ListVisibleProjects200JSONResponse) VisitListVisibleProjectsResponse(w http.ResponseWriter) error

type ListVisibleProjects400JSONResponse

type ListVisibleProjects400JSONResponse struct{ BadRequestJSONResponse }

func (ListVisibleProjects400JSONResponse) VisitListVisibleProjectsResponse

func (response ListVisibleProjects400JSONResponse) VisitListVisibleProjectsResponse(w http.ResponseWriter) error

type ListVisibleProjects401JSONResponse

type ListVisibleProjects401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListVisibleProjects401JSONResponse) VisitListVisibleProjectsResponse

func (response ListVisibleProjects401JSONResponse) VisitListVisibleProjectsResponse(w http.ResponseWriter) error

type ListVisibleProjects403JSONResponse

type ListVisibleProjects403JSONResponse struct{ ForbiddenJSONResponse }

func (ListVisibleProjects403JSONResponse) VisitListVisibleProjectsResponse

func (response ListVisibleProjects403JSONResponse) VisitListVisibleProjectsResponse(w http.ResponseWriter) error

type ListVisibleProjects404JSONResponse

type ListVisibleProjects404JSONResponse struct{ NotFoundJSONResponse }

func (ListVisibleProjects404JSONResponse) VisitListVisibleProjectsResponse

func (response ListVisibleProjects404JSONResponse) VisitListVisibleProjectsResponse(w http.ResponseWriter) error

type ListVisibleProjects409JSONResponse

type ListVisibleProjects409JSONResponse struct{ ConflictJSONResponse }

func (ListVisibleProjects409JSONResponse) VisitListVisibleProjectsResponse

func (response ListVisibleProjects409JSONResponse) VisitListVisibleProjectsResponse(w http.ResponseWriter) error

type ListVisibleProjects503JSONResponse

type ListVisibleProjects503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ListVisibleProjects503JSONResponse) VisitListVisibleProjectsResponse

func (response ListVisibleProjects503JSONResponse) VisitListVisibleProjectsResponse(w http.ResponseWriter) error

type ListVisibleProjectsParams

type ListVisibleProjectsParams struct {
	// Limit Maximum number of items to return in one page.
	Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.
	Cursor *PageCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListVisibleProjectsParams defines parameters for ListVisibleProjects.

type ListVisibleProjectsRequestObject

type ListVisibleProjectsRequestObject struct {
	OrgID  string `json:"orgID"`
	Params ListVisibleProjectsParams
}

type ListVisibleProjectsResponseObject

type ListVisibleProjectsResponseObject interface {
	VisitListVisibleProjectsResponse(w http.ResponseWriter) error
}

type MCPOAuthStartMetadata

type MCPOAuthStartMetadata = resourcemeta.Metadata

MCPOAuthStartMetadata User-supplied metadata for the stored secret. A restriction of Metadata that leaves room for one reserved pair - Omnara sets mcp_url on the secret to the flow's MCP endpoint URL, so the key is reserved and at most 15 user pairs are accepted.

type MCPOAuthStartRequest

type MCPOAuthStartRequest struct {
	ClientId     *string `json:"client_id,omitempty"`
	ClientSecret *string `json:"client_secret,omitempty"`
	McpUrl       string  `json:"mcp_url"`

	// Metadata User-supplied metadata for the stored secret. A restriction of Metadata that leaves room for one reserved pair - Omnara sets mcp_url on the secret to the flow's MCP endpoint URL, so the key is reserved and at most 15 user pairs are accepted.
	Metadata MCPOAuthStartMetadata `json:"metadata,omitempty"`
	Name     string                `json:"name"`
	Owner    SecretOwnerInput      `json:"owner"`
	ReturnTo *string               `json:"return_to,omitempty"`
	Scopes   *[]string             `json:"scopes,omitempty"`
}

MCPOAuthStartRequest defines model for MCPOAuthStartRequest.

type MCPOAuthStartResponse

type MCPOAuthStartResponse struct {
	AuthorizationUrl string    `json:"authorization_url"`
	ExpiresAt        Timestamp `json:"expires_at"`
}

MCPOAuthStartResponse defines model for MCPOAuthStartResponse.

type Machine

type Machine struct {
	ConnectionState        MachineConnectionState           `json:"connection_state"`
	ConnectionStateReason  *string                          `json:"connection_state_reason,omitempty"`
	CreatedAt              Timestamp                        `json:"created_at"`
	Cwd                    string                           `json:"cwd"`
	DeleteAttempts         int32                            `json:"delete_attempts"`
	DeletedAt              nullable.Nullable[Timestamp]     `json:"deleted_at"`
	Description            string                           `json:"description"`
	DisplayName            string                           `json:"display_name"`
	Env                    map[string]string                `json:"env"`
	Id                     MachineID                        `json:"id"`
	LastObservedAt         nullable.Nullable[Timestamp]     `json:"last_observed_at"`
	LifecycleReasonCode    string                           `json:"lifecycle_reason_code"`
	LifecycleReasonMessage string                           `json:"lifecycle_reason_message"`
	LifecycleState         MachineLifecycleState            `json:"lifecycle_state"`
	MachinePoolId          nullable.Nullable[MachinePoolID] `json:"machine_pool_id,omitempty"`

	// Metadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters.
	Metadata           Metadata                     `json:"metadata"`
	NextReconcileAfter nullable.Nullable[Timestamp] `json:"next_reconcile_after"`
	OrgId              OrganizationID               `json:"org_id"`
	Provider           string                       `json:"provider"`
	ProvisionAttempts  int32                        `json:"provision_attempts"`
	SecretEnv          map[string]SecretID          `json:"secret_env"`
	SourceKind         MachineSourceKind            `json:"source_kind"`
	UpdatedAt          Timestamp                    `json:"updated_at"`
}

Machine defines model for Machine.

type MachineAccess

type MachineAccess struct {
	CanManage bool                  `json:"can_manage"`
	Sources   []MachineAccessSource `json:"sources"`
}

MachineAccess defines model for MachineAccess.

type MachineAccessSource

type MachineAccessSource struct {
	GrantId         *ProjectMachineGrantID         `json:"grant_id,omitempty"`
	GrantSourceKind *ProjectMachineGrantSourceKind `json:"grant_source_kind,omitempty"`
	Kind            MachineAccessSourceKind        `json:"kind"`
	ProjectId       *ProjectID                     `json:"project_id,omitempty"`
}

MachineAccessSource defines model for MachineAccessSource.

type MachineAccessSourceKind

type MachineAccessSourceKind string

MachineAccessSourceKind defines model for MachineAccessSourceKind.

const (
	MachineAccessSourceKindOrganizationRole    MachineAccessSourceKind = "org_role"
	MachineAccessSourceKindProjectMachineGrant MachineAccessSourceKind = "project_machine_grant"
)

Defines values for MachineAccessSourceKind.

func (MachineAccessSourceKind) Valid

func (e MachineAccessSourceKind) Valid() bool

Valid indicates whether the value is a known member of the MachineAccessSourceKind enum.

type MachineConnectionState

type MachineConnectionState string

MachineConnectionState defines model for MachineConnectionState.

const (
	MachineConnectionStateAsleep  MachineConnectionState = "asleep"
	MachineConnectionStateOffline MachineConnectionState = "offline"
	MachineConnectionStateOnline  MachineConnectionState = "online"
)

Defines values for MachineConnectionState.

func (MachineConnectionState) Valid

func (e MachineConnectionState) Valid() bool

Valid indicates whether the value is a known member of the MachineConnectionState enum.

type MachineDaemonToken

type MachineDaemonToken struct {
	CreatedAt  Timestamp                    `json:"created_at"`
	Id         MachineDaemonTokenID         `json:"id"`
	LastUsedAt nullable.Nullable[Timestamp] `json:"last_used_at"`
	MachineId  MachineID                    `json:"machine_id"`

	// Metadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters.
	Metadata     Metadata                     `json:"metadata"`
	Name         string                       `json:"name"`
	OrgId        OrganizationID               `json:"org_id"`
	RevokeReason string                       `json:"revoke_reason"`
	RevokedAt    nullable.Nullable[Timestamp] `json:"revoked_at"`
}

MachineDaemonToken defines model for MachineDaemonToken.

type MachineDaemonTokenID

type MachineDaemonTokenID = string

MachineDaemonTokenID defines model for MachineDaemonTokenID.

type MachineID

type MachineID = string

MachineID defines model for MachineID.

type MachineLifecycleState

type MachineLifecycleState string

MachineLifecycleState defines model for MachineLifecycleState.

const (
	MachineLifecycleStateActive          MachineLifecycleState = "active"
	MachineLifecycleStateDeleteFailed    MachineLifecycleState = "delete_failed"
	MachineLifecycleStateDeleted         MachineLifecycleState = "deleted"
	MachineLifecycleStateDeleting        MachineLifecycleState = "deleting"
	MachineLifecycleStateProvisionFailed MachineLifecycleState = "provision_failed"
	MachineLifecycleStateProvisioning    MachineLifecycleState = "provisioning"
)

Defines values for MachineLifecycleState.

func (MachineLifecycleState) Valid

func (e MachineLifecycleState) Valid() bool

Valid indicates whether the value is a known member of the MachineLifecycleState enum.

type MachineMetadata

type MachineMetadata = resourcemeta.Metadata

MachineMetadata User-supplied metadata stored on a machine, provided directly or copied from the machine pool that provisions it. A restriction of Metadata that leaves room for one reserved pair - Omnara sets observed_platform on the machine to the platform reported by its daemon, so the key is reserved and at most 15 user pairs are accepted.

type MachinePool

type MachinePool struct {
	CreatedAt         Timestamp                `json:"created_at"`
	DefaultCwd        string                   `json:"default_cwd"`
	DefaultMachineCpu nullable.Nullable[int32] `json:"default_machine_cpu"`

	// DefaultMachineEnv Default environment for pool machines. A machine's environment, including resolved secret_env values, is applied to the provider machine at provisioning, so the provider_options startup_script and the daemon run with it, and is resolved again for each process at launch.
	DefaultMachineEnv             map[string]string        `json:"default_machine_env"`
	DefaultMachineMemoryMb        nullable.Nullable[int32] `json:"default_machine_memory_mb"`
	DefaultMachineProviderOptions map[string]interface{}   `json:"default_machine_provider_options"`

	// DefaultMachineSecretEnv Default secret environment for pool machines, mapping env names to generic secret references. References are resolved to secret values wherever the machine environment is applied.
	DefaultMachineSecretEnv map[string]SecretID `json:"default_machine_secret_env"`
	Description             string              `json:"description"`
	Id                      MachinePoolID       `json:"id"`

	// ManagementKind Lifecycle owner. Tenant-managed resources can be changed through tenant APIs; cluster-managed resources are installed by the control plane and are read-only through tenant lifecycle APIs.
	ManagementKind     ManagementKind           `json:"management_kind"`
	MaxMachineCpu      nullable.Nullable[int32] `json:"max_machine_cpu"`
	MaxMachineMemoryMb nullable.Nullable[int32] `json:"max_machine_memory_mb"`
	MaxTotalCpu        nullable.Nullable[int32] `json:"max_total_cpu"`
	MaxTotalMachines   int32                    `json:"max_total_machines"`
	MaxTotalMemoryMb   nullable.Nullable[int32] `json:"max_total_memory_mb"`

	// Metadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters.
	Metadata             Metadata                 `json:"metadata"`
	MinMachineCpu        nullable.Nullable[int32] `json:"min_machine_cpu"`
	MinMachineMemoryMb   nullable.Nullable[int32] `json:"min_machine_memory_mb"`
	Name                 string                   `json:"name"`
	OrgId                OrganizationID           `json:"org_id"`
	Provider             string                   `json:"provider"`
	ProviderAuthSecretId *SecretID                `json:"provider_auth_secret_id,omitempty"`
	ProviderConfig       map[string]interface{}   `json:"provider_config"`

	// RuntimeProtectionEnabled Whether Omnara deletes this pool's machines when the provider remains running after the daemon becomes inactive.
	RuntimeProtectionEnabled bool      `json:"runtime_protection_enabled"`
	UpdatedAt                Timestamp `json:"updated_at"`
}

MachinePool defines model for MachinePool.

type MachinePoolID

type MachinePoolID = string

MachinePoolID defines model for MachinePoolID.

type MachinePoolSummary

type MachinePoolSummary struct {
	CreatedAt   Timestamp     `json:"created_at"`
	Description string        `json:"description"`
	Id          MachinePoolID `json:"id"`

	// ManagementKind Lifecycle owner. Tenant-managed resources can be changed through tenant APIs; cluster-managed resources are installed by the control plane and are read-only through tenant lifecycle APIs.
	ManagementKind ManagementKind `json:"management_kind"`
	Name           string         `json:"name"`
	OrgId          OrganizationID `json:"org_id"`
	Provider       string         `json:"provider"`
	UpdatedAt      Timestamp      `json:"updated_at"`
}

MachinePoolSummary defines model for MachinePoolSummary.

type MachineSourceKind

type MachineSourceKind string

MachineSourceKind defines model for MachineSourceKind.

const (
	MachineSourceKindBYO  MachineSourceKind = "byo"
	MachineSourceKindPool MachineSourceKind = "pool"
)

Defines values for MachineSourceKind.

func (MachineSourceKind) Valid

func (e MachineSourceKind) Valid() bool

Valid indicates whether the value is a known member of the MachineSourceKind enum.

type MachineSourceKindFilter

type MachineSourceKindFilter = MachineSourceKind

MachineSourceKindFilter defines model for MachineSourceKindFilter.

type MachineSummary

type MachineSummary = MachineSummaryFields

MachineSummary Shared machine fields composed into machine response schemas. Composing schemas close their final shape with unevaluatedProperties.

type MachineSummaryFields

type MachineSummaryFields struct {
	ConnectionState MachineConnectionState       `json:"connection_state"`
	CreatedAt       Timestamp                    `json:"created_at"`
	DeletedAt       nullable.Nullable[Timestamp] `json:"deleted_at"`
	Description     string                       `json:"description"`
	DisplayName     string                       `json:"display_name"`
	Id              MachineID                    `json:"id"`
	LastObservedAt  nullable.Nullable[Timestamp] `json:"last_observed_at"`
	LifecycleState  MachineLifecycleState        `json:"lifecycle_state"`
	OrgId           OrganizationID               `json:"org_id"`
	Provider        string                       `json:"provider"`
	SourceKind      MachineSourceKind            `json:"source_kind"`
	UpdatedAt       Timestamp                    `json:"updated_at"`
}

MachineSummaryFields Shared machine fields composed into machine response schemas. Composing schemas close their final shape with unevaluatedProperties.

type ManagementKind

type ManagementKind string

ManagementKind Lifecycle owner. Tenant-managed resources can be changed through tenant APIs; cluster-managed resources are installed by the control plane and are read-only through tenant lifecycle APIs.

const (
	Cluster ManagementKind = "cluster"
	Tenant  ManagementKind = "tenant"
)

Defines values for ManagementKind.

func (ManagementKind) Valid

func (e ManagementKind) Valid() bool

Valid indicates whether the value is a known member of the ManagementKind enum.

type MediaRefContentBlock

type MediaRefContentBlock struct {
	ArtifactId ArtifactID `json:"artifact_id"`

	// Metadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters. Keys beginning with `omnara_` are reserved for Omnara and may affect product behavior; use them only when intentionally invoking Omnara-defined behavior.
	Metadata ContentBlockMetadata     `json:"metadata,omitempty"`
	Type     MediaRefContentBlockType `json:"type"`
}

MediaRefContentBlock defines model for MediaRefContentBlock.

type MediaRefContentBlockType

type MediaRefContentBlockType string

MediaRefContentBlockType defines model for MediaRefContentBlock.Type.

const (
	MediaRef MediaRefContentBlockType = "media_ref"
)

Defines values for MediaRefContentBlockType.

func (MediaRefContentBlockType) Valid

func (e MediaRefContentBlockType) Valid() bool

Valid indicates whether the value is a known member of the MediaRefContentBlockType enum.

type Metadata

type Metadata = resourcemeta.Metadata

Metadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters.

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type ModelAPIFormat

type ModelAPIFormat string

ModelAPIFormat defines model for ModelAPIFormat.

const (
	ModelAPIFormatAnthropicMessages     ModelAPIFormat = "anthropic-messages"
	ModelAPIFormatOpenaiChatCompletions ModelAPIFormat = "openai-chat-completions"
	ModelAPIFormatOpenaiResponses       ModelAPIFormat = "openai-responses"
)

Defines values for ModelAPIFormat.

func (ModelAPIFormat) Valid

func (e ModelAPIFormat) Valid() bool

Valid indicates whether the value is a known member of the ModelAPIFormat enum.

type ModelAPIVariantOptions

type ModelAPIVariantOptions = json.RawMessage

ModelAPIVariantOptions Extra top-level JSON fields to include in provider requests for this configured model. Use this for provider-specific settings that Omnara does not expose as typed fields, such as OpenRouter `provider` routing or sampling parameters. Omnara still controls the fields it needs to run the agent correctly, including the model, prompt/messages, streaming, tools, and selected reasoning policy. For OpenRouter routing options, see https://openrouter.ai/docs/guides/routing/provider-selection and general request parameters at https://openrouter.ai/docs/api/reference/parameters.

type ModelCacheRetention

type ModelCacheRetention string

ModelCacheRetention Default prompt-cache hint for model requests. `none` means Omnara does not send a cache hint; providers may still apply their own automatic caching. `short` and `long` are translated to the closest supported control for the selected API.

const (
	Long  ModelCacheRetention = "long"
	None  ModelCacheRetention = "none"
	Short ModelCacheRetention = "short"
)

Defines values for ModelCacheRetention.

func (ModelCacheRetention) Valid

func (e ModelCacheRetention) Valid() bool

Valid indicates whether the value is a known member of the ModelCacheRetention enum.

type ModelCallContextID

type ModelCallContextID = string

ModelCallContextID defines model for ModelCallContextID.

type ModelDiscoveryResult

type ModelDiscoveryResult struct {
	// Error Why the probe failed. Present when status is failed.
	Error *string `json:"error,omitempty"`

	// Models Models advertised by the provider, newest first, filtered to text-output tool-calling models where the provider exposes enough metadata to tell. Present when status is ok.
	Models *[]DiscoveredProviderModel `json:"models,omitempty"`
	Status ModelDiscoveryResultStatus `json:"status"`
}

ModelDiscoveryResult Result of validating the configured credential and probing the provider's /models endpoint. A failed check does not affect the stored config; treat it as a warning that the base URL or API key may be invalid.

type ModelDiscoveryResultStatus

type ModelDiscoveryResultStatus string

ModelDiscoveryResultStatus defines model for ModelDiscoveryResult.Status.

const (
	ModelDiscoveryResultStatusFailed ModelDiscoveryResultStatus = "failed"
	ModelDiscoveryResultStatusOk     ModelDiscoveryResultStatus = "ok"
)

Defines values for ModelDiscoveryResultStatus.

func (ModelDiscoveryResultStatus) Valid

func (e ModelDiscoveryResultStatus) Valid() bool

Valid indicates whether the value is a known member of the ModelDiscoveryResultStatus enum.

type ModelOutputBlockStartDelta

type ModelOutputBlockStartDelta struct {
	Block      ModelOutputStreamBlock         `json:"block"`
	BlockIndex int                            `json:"block_index"`
	Kind       ModelOutputBlockStartDeltaKind `json:"kind"`
}

ModelOutputBlockStartDelta defines model for ModelOutputBlockStartDelta.

type ModelOutputBlockStartDeltaKind

type ModelOutputBlockStartDeltaKind string

ModelOutputBlockStartDeltaKind defines model for ModelOutputBlockStartDelta.Kind.

const (
	BlockStart ModelOutputBlockStartDeltaKind = "block_start"
)

Defines values for ModelOutputBlockStartDeltaKind.

func (ModelOutputBlockStartDeltaKind) Valid

Valid indicates whether the value is a known member of the ModelOutputBlockStartDeltaKind enum.

type ModelOutputBlockStopDelta

type ModelOutputBlockStopDelta struct {
	BlockIndex int                           `json:"block_index"`
	Kind       ModelOutputBlockStopDeltaKind `json:"kind"`
}

ModelOutputBlockStopDelta defines model for ModelOutputBlockStopDelta.

type ModelOutputBlockStopDeltaKind

type ModelOutputBlockStopDeltaKind string

ModelOutputBlockStopDeltaKind defines model for ModelOutputBlockStopDelta.Kind.

const (
	BlockStop ModelOutputBlockStopDeltaKind = "block_stop"
)

Defines values for ModelOutputBlockStopDeltaKind.

func (ModelOutputBlockStopDeltaKind) Valid

Valid indicates whether the value is a known member of the ModelOutputBlockStopDeltaKind enum.

type ModelOutputContentBlock

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

ModelOutputContentBlock defines model for ModelOutputContentBlock.

func (ModelOutputContentBlock) AsErrorContentBlock

func (t ModelOutputContentBlock) AsErrorContentBlock() (ErrorContentBlock, error)

AsErrorContentBlock returns the union data inside the ModelOutputContentBlock as a ErrorContentBlock

func (ModelOutputContentBlock) AsMediaRefContentBlock

func (t ModelOutputContentBlock) AsMediaRefContentBlock() (MediaRefContentBlock, error)

AsMediaRefContentBlock returns the union data inside the ModelOutputContentBlock as a MediaRefContentBlock

func (ModelOutputContentBlock) AsModelToolCallContentBlock

func (t ModelOutputContentBlock) AsModelToolCallContentBlock() (ModelToolCallContentBlock, error)

AsModelToolCallContentBlock returns the union data inside the ModelOutputContentBlock as a ModelToolCallContentBlock

func (ModelOutputContentBlock) AsReasoningContentBlock

func (t ModelOutputContentBlock) AsReasoningContentBlock() (ReasoningContentBlock, error)

AsReasoningContentBlock returns the union data inside the ModelOutputContentBlock as a ReasoningContentBlock

func (ModelOutputContentBlock) AsTextContentBlock

func (t ModelOutputContentBlock) AsTextContentBlock() (TextContentBlock, error)

AsTextContentBlock returns the union data inside the ModelOutputContentBlock as a TextContentBlock

func (ModelOutputContentBlock) Discriminator

func (t ModelOutputContentBlock) Discriminator() (string, error)

func (*ModelOutputContentBlock) FromErrorContentBlock

func (t *ModelOutputContentBlock) FromErrorContentBlock(v ErrorContentBlock) error

FromErrorContentBlock overwrites any union data inside the ModelOutputContentBlock as the provided ErrorContentBlock

func (*ModelOutputContentBlock) FromMediaRefContentBlock

func (t *ModelOutputContentBlock) FromMediaRefContentBlock(v MediaRefContentBlock) error

FromMediaRefContentBlock overwrites any union data inside the ModelOutputContentBlock as the provided MediaRefContentBlock

func (*ModelOutputContentBlock) FromModelToolCallContentBlock

func (t *ModelOutputContentBlock) FromModelToolCallContentBlock(v ModelToolCallContentBlock) error

FromModelToolCallContentBlock overwrites any union data inside the ModelOutputContentBlock as the provided ModelToolCallContentBlock

func (*ModelOutputContentBlock) FromReasoningContentBlock

func (t *ModelOutputContentBlock) FromReasoningContentBlock(v ReasoningContentBlock) error

FromReasoningContentBlock overwrites any union data inside the ModelOutputContentBlock as the provided ReasoningContentBlock

func (*ModelOutputContentBlock) FromTextContentBlock

func (t *ModelOutputContentBlock) FromTextContentBlock(v TextContentBlock) error

FromTextContentBlock overwrites any union data inside the ModelOutputContentBlock as the provided TextContentBlock

func (ModelOutputContentBlock) MarshalJSON

func (t ModelOutputContentBlock) MarshalJSON() ([]byte, error)

func (*ModelOutputContentBlock) MergeErrorContentBlock

func (t *ModelOutputContentBlock) MergeErrorContentBlock(v ErrorContentBlock) error

MergeErrorContentBlock performs a merge with any union data inside the ModelOutputContentBlock, using the provided ErrorContentBlock

func (*ModelOutputContentBlock) MergeMediaRefContentBlock

func (t *ModelOutputContentBlock) MergeMediaRefContentBlock(v MediaRefContentBlock) error

MergeMediaRefContentBlock performs a merge with any union data inside the ModelOutputContentBlock, using the provided MediaRefContentBlock

func (*ModelOutputContentBlock) MergeModelToolCallContentBlock

func (t *ModelOutputContentBlock) MergeModelToolCallContentBlock(v ModelToolCallContentBlock) error

MergeModelToolCallContentBlock performs a merge with any union data inside the ModelOutputContentBlock, using the provided ModelToolCallContentBlock

func (*ModelOutputContentBlock) MergeReasoningContentBlock

func (t *ModelOutputContentBlock) MergeReasoningContentBlock(v ReasoningContentBlock) error

MergeReasoningContentBlock performs a merge with any union data inside the ModelOutputContentBlock, using the provided ReasoningContentBlock

func (*ModelOutputContentBlock) MergeTextContentBlock

func (t *ModelOutputContentBlock) MergeTextContentBlock(v TextContentBlock) error

MergeTextContentBlock performs a merge with any union data inside the ModelOutputContentBlock, using the provided TextContentBlock

func (*ModelOutputContentBlock) UnmarshalJSON

func (t *ModelOutputContentBlock) UnmarshalJSON(b []byte) error

func (ModelOutputContentBlock) ValueByDiscriminator

func (t ModelOutputContentBlock) ValueByDiscriminator() (interface{}, error)

type ModelOutputDelta

type ModelOutputDelta struct {
	// CoalescedCount Number of provider stream events coalesced into this frame. A frame is intact only when this equals source_seq_end - source_seq_start + 1; a smaller count means events inside the range were dropped before coalescing.
	CoalescedCount     AgentCount             `json:"coalesced_count"`
	Event              ModelOutputStreamDelta `json:"event"`
	ModelCallContextId ModelCallContextID     `json:"model_call_context_id"`

	// Seq Monotonic frame sequence within this model call context's preview stream, starting at 1. Delta frames carry no SSE id; gaps in seq mean dropped best-effort frames.
	Seq AgentSequence `json:"seq"`

	// SourceSeqEnd Last provider stream event coalesced into this frame.
	SourceSeqEnd AgentSequence `json:"source_seq_end"`

	// SourceSeqStart First provider stream event coalesced into this frame.
	SourceSeqStart AgentSequence `json:"source_seq_start"`
	TurnId         AgentTurnID   `json:"turn_id"`
}

ModelOutputDelta defines model for ModelOutputDelta.

type ModelOutputErrorDelta

type ModelOutputErrorDelta struct {
	Error struct {
		Message string `json:"message"`
	} `json:"error"`
	Kind ModelOutputErrorDeltaKind `json:"kind"`
}

ModelOutputErrorDelta defines model for ModelOutputErrorDelta.

type ModelOutputErrorDeltaKind

type ModelOutputErrorDeltaKind string

ModelOutputErrorDeltaKind defines model for ModelOutputErrorDelta.Kind.

const (
	ModelOutputErrorDeltaKindError ModelOutputErrorDeltaKind = "error"
)

Defines values for ModelOutputErrorDeltaKind.

func (ModelOutputErrorDeltaKind) Valid

func (e ModelOutputErrorDeltaKind) Valid() bool

Valid indicates whether the value is a known member of the ModelOutputErrorDeltaKind enum.

type ModelOutputEvent

type ModelOutputEvent struct {
	AgentId            AgentID                        `json:"agent_id"`
	ContentBlocks      []ModelOutputContentBlock      `json:"content_blocks"`
	CreatedAt          Timestamp                      `json:"created_at"`
	EventKind          ModelOutputEventEventKind      `json:"event_kind"`
	Id                 AgentEventID                   `json:"id"`
	IsOpeningEvent     ModelOutputEventIsOpeningEvent `json:"is_opening_event"`
	ModelCallContextId ModelCallContextID             `json:"model_call_context_id"`
	OrgId              OrganizationID                 `json:"org_id"`
	ProjectId          ProjectID                      `json:"project_id"`

	// Sequence Positive per-agent event, turn, or live-frame sequence.
	Sequence AgentSequence `json:"sequence"`

	// StopReason Stop reasons admitted as durable model-output events.
	StopReason ModelOutputStopReason `json:"stop_reason"`
	TurnId     AgentTurnID           `json:"turn_id"`

	// TurnSequence Positive per-agent event, turn, or live-frame sequence.
	TurnSequence AgentSequence `json:"turn_sequence"`
}

ModelOutputEvent defines model for ModelOutputEvent.

type ModelOutputEventEventKind

type ModelOutputEventEventKind string

ModelOutputEventEventKind defines model for ModelOutputEvent.EventKind.

const (
	ModelOutput ModelOutputEventEventKind = "model_output"
)

Defines values for ModelOutputEventEventKind.

func (ModelOutputEventEventKind) Valid

func (e ModelOutputEventEventKind) Valid() bool

Valid indicates whether the value is a known member of the ModelOutputEventEventKind enum.

type ModelOutputEventIsOpeningEvent

type ModelOutputEventIsOpeningEvent bool

ModelOutputEventIsOpeningEvent defines model for ModelOutputEvent.IsOpeningEvent.

const (
	ModelOutputEventIsOpeningEventFalse ModelOutputEventIsOpeningEvent = false
)

Defines values for ModelOutputEventIsOpeningEvent.

func (ModelOutputEventIsOpeningEvent) Valid

Valid indicates whether the value is a known member of the ModelOutputEventIsOpeningEvent enum.

type ModelOutputMessageStopDelta

type ModelOutputMessageStopDelta struct {
	Kind ModelOutputMessageStopDeltaKind `json:"kind"`
	Stop struct {
		Reason ModelStopReason `json:"reason"`
		Usage  ModelUsage      `json:"usage"`
	} `json:"stop"`
}

ModelOutputMessageStopDelta defines model for ModelOutputMessageStopDelta.

type ModelOutputMessageStopDeltaKind

type ModelOutputMessageStopDeltaKind string

ModelOutputMessageStopDeltaKind defines model for ModelOutputMessageStopDelta.Kind.

const (
	MessageStop ModelOutputMessageStopDeltaKind = "message_stop"
)

Defines values for ModelOutputMessageStopDeltaKind.

func (ModelOutputMessageStopDeltaKind) Valid

Valid indicates whether the value is a known member of the ModelOutputMessageStopDeltaKind enum.

type ModelOutputStopReason

type ModelOutputStopReason string

ModelOutputStopReason Stop reasons admitted as durable model-output events.

const (
	ModelOutputStopReasonContentFilter ModelOutputStopReason = "content_filter"
	ModelOutputStopReasonEndTurn       ModelOutputStopReason = "end_turn"
	ModelOutputStopReasonError         ModelOutputStopReason = "error"
	ModelOutputStopReasonMaxTokens     ModelOutputStopReason = "max_tokens"
	ModelOutputStopReasonRefusal       ModelOutputStopReason = "refusal"
	ModelOutputStopReasonToolUse       ModelOutputStopReason = "tool_use"
)

Defines values for ModelOutputStopReason.

func (ModelOutputStopReason) Valid

func (e ModelOutputStopReason) Valid() bool

Valid indicates whether the value is a known member of the ModelOutputStopReason enum.

type ModelOutputStreamBlock

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

ModelOutputStreamBlock defines model for ModelOutputStreamBlock.

func (ModelOutputStreamBlock) AsModelOutputTextStreamBlock

func (t ModelOutputStreamBlock) AsModelOutputTextStreamBlock() (ModelOutputTextStreamBlock, error)

AsModelOutputTextStreamBlock returns the union data inside the ModelOutputStreamBlock as a ModelOutputTextStreamBlock

func (ModelOutputStreamBlock) AsModelOutputThinkingStreamBlock

func (t ModelOutputStreamBlock) AsModelOutputThinkingStreamBlock() (ModelOutputThinkingStreamBlock, error)

AsModelOutputThinkingStreamBlock returns the union data inside the ModelOutputStreamBlock as a ModelOutputThinkingStreamBlock

func (ModelOutputStreamBlock) AsModelOutputToolUseStreamBlock

func (t ModelOutputStreamBlock) AsModelOutputToolUseStreamBlock() (ModelOutputToolUseStreamBlock, error)

AsModelOutputToolUseStreamBlock returns the union data inside the ModelOutputStreamBlock as a ModelOutputToolUseStreamBlock

func (ModelOutputStreamBlock) Discriminator

func (t ModelOutputStreamBlock) Discriminator() (string, error)

func (*ModelOutputStreamBlock) FromModelOutputTextStreamBlock

func (t *ModelOutputStreamBlock) FromModelOutputTextStreamBlock(v ModelOutputTextStreamBlock) error

FromModelOutputTextStreamBlock overwrites any union data inside the ModelOutputStreamBlock as the provided ModelOutputTextStreamBlock

func (*ModelOutputStreamBlock) FromModelOutputThinkingStreamBlock

func (t *ModelOutputStreamBlock) FromModelOutputThinkingStreamBlock(v ModelOutputThinkingStreamBlock) error

FromModelOutputThinkingStreamBlock overwrites any union data inside the ModelOutputStreamBlock as the provided ModelOutputThinkingStreamBlock

func (*ModelOutputStreamBlock) FromModelOutputToolUseStreamBlock

func (t *ModelOutputStreamBlock) FromModelOutputToolUseStreamBlock(v ModelOutputToolUseStreamBlock) error

FromModelOutputToolUseStreamBlock overwrites any union data inside the ModelOutputStreamBlock as the provided ModelOutputToolUseStreamBlock

func (ModelOutputStreamBlock) MarshalJSON

func (t ModelOutputStreamBlock) MarshalJSON() ([]byte, error)

func (*ModelOutputStreamBlock) MergeModelOutputTextStreamBlock

func (t *ModelOutputStreamBlock) MergeModelOutputTextStreamBlock(v ModelOutputTextStreamBlock) error

MergeModelOutputTextStreamBlock performs a merge with any union data inside the ModelOutputStreamBlock, using the provided ModelOutputTextStreamBlock

func (*ModelOutputStreamBlock) MergeModelOutputThinkingStreamBlock

func (t *ModelOutputStreamBlock) MergeModelOutputThinkingStreamBlock(v ModelOutputThinkingStreamBlock) error

MergeModelOutputThinkingStreamBlock performs a merge with any union data inside the ModelOutputStreamBlock, using the provided ModelOutputThinkingStreamBlock

func (*ModelOutputStreamBlock) MergeModelOutputToolUseStreamBlock

func (t *ModelOutputStreamBlock) MergeModelOutputToolUseStreamBlock(v ModelOutputToolUseStreamBlock) error

MergeModelOutputToolUseStreamBlock performs a merge with any union data inside the ModelOutputStreamBlock, using the provided ModelOutputToolUseStreamBlock

func (*ModelOutputStreamBlock) UnmarshalJSON

func (t *ModelOutputStreamBlock) UnmarshalJSON(b []byte) error

func (ModelOutputStreamBlock) ValueByDiscriminator

func (t ModelOutputStreamBlock) ValueByDiscriminator() (interface{}, error)

type ModelOutputStreamDelta

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

ModelOutputStreamDelta defines model for ModelOutputStreamDelta.

func (ModelOutputStreamDelta) AsModelOutputBlockStartDelta

func (t ModelOutputStreamDelta) AsModelOutputBlockStartDelta() (ModelOutputBlockStartDelta, error)

AsModelOutputBlockStartDelta returns the union data inside the ModelOutputStreamDelta as a ModelOutputBlockStartDelta

func (ModelOutputStreamDelta) AsModelOutputBlockStopDelta

func (t ModelOutputStreamDelta) AsModelOutputBlockStopDelta() (ModelOutputBlockStopDelta, error)

AsModelOutputBlockStopDelta returns the union data inside the ModelOutputStreamDelta as a ModelOutputBlockStopDelta

func (ModelOutputStreamDelta) AsModelOutputErrorDelta

func (t ModelOutputStreamDelta) AsModelOutputErrorDelta() (ModelOutputErrorDelta, error)

AsModelOutputErrorDelta returns the union data inside the ModelOutputStreamDelta as a ModelOutputErrorDelta

func (ModelOutputStreamDelta) AsModelOutputMessageStopDelta

func (t ModelOutputStreamDelta) AsModelOutputMessageStopDelta() (ModelOutputMessageStopDelta, error)

AsModelOutputMessageStopDelta returns the union data inside the ModelOutputStreamDelta as a ModelOutputMessageStopDelta

func (ModelOutputStreamDelta) AsModelOutputTextDelta

func (t ModelOutputStreamDelta) AsModelOutputTextDelta() (ModelOutputTextDelta, error)

AsModelOutputTextDelta returns the union data inside the ModelOutputStreamDelta as a ModelOutputTextDelta

func (ModelOutputStreamDelta) AsModelOutputThinkingDelta

func (t ModelOutputStreamDelta) AsModelOutputThinkingDelta() (ModelOutputThinkingDelta, error)

AsModelOutputThinkingDelta returns the union data inside the ModelOutputStreamDelta as a ModelOutputThinkingDelta

func (ModelOutputStreamDelta) AsModelOutputToolArgumentsDelta

func (t ModelOutputStreamDelta) AsModelOutputToolArgumentsDelta() (ModelOutputToolArgumentsDelta, error)

AsModelOutputToolArgumentsDelta returns the union data inside the ModelOutputStreamDelta as a ModelOutputToolArgumentsDelta

func (ModelOutputStreamDelta) Discriminator

func (t ModelOutputStreamDelta) Discriminator() (string, error)

func (*ModelOutputStreamDelta) FromModelOutputBlockStartDelta

func (t *ModelOutputStreamDelta) FromModelOutputBlockStartDelta(v ModelOutputBlockStartDelta) error

FromModelOutputBlockStartDelta overwrites any union data inside the ModelOutputStreamDelta as the provided ModelOutputBlockStartDelta

func (*ModelOutputStreamDelta) FromModelOutputBlockStopDelta

func (t *ModelOutputStreamDelta) FromModelOutputBlockStopDelta(v ModelOutputBlockStopDelta) error

FromModelOutputBlockStopDelta overwrites any union data inside the ModelOutputStreamDelta as the provided ModelOutputBlockStopDelta

func (*ModelOutputStreamDelta) FromModelOutputErrorDelta

func (t *ModelOutputStreamDelta) FromModelOutputErrorDelta(v ModelOutputErrorDelta) error

FromModelOutputErrorDelta overwrites any union data inside the ModelOutputStreamDelta as the provided ModelOutputErrorDelta

func (*ModelOutputStreamDelta) FromModelOutputMessageStopDelta

func (t *ModelOutputStreamDelta) FromModelOutputMessageStopDelta(v ModelOutputMessageStopDelta) error

FromModelOutputMessageStopDelta overwrites any union data inside the ModelOutputStreamDelta as the provided ModelOutputMessageStopDelta

func (*ModelOutputStreamDelta) FromModelOutputTextDelta

func (t *ModelOutputStreamDelta) FromModelOutputTextDelta(v ModelOutputTextDelta) error

FromModelOutputTextDelta overwrites any union data inside the ModelOutputStreamDelta as the provided ModelOutputTextDelta

func (*ModelOutputStreamDelta) FromModelOutputThinkingDelta

func (t *ModelOutputStreamDelta) FromModelOutputThinkingDelta(v ModelOutputThinkingDelta) error

FromModelOutputThinkingDelta overwrites any union data inside the ModelOutputStreamDelta as the provided ModelOutputThinkingDelta

func (*ModelOutputStreamDelta) FromModelOutputToolArgumentsDelta

func (t *ModelOutputStreamDelta) FromModelOutputToolArgumentsDelta(v ModelOutputToolArgumentsDelta) error

FromModelOutputToolArgumentsDelta overwrites any union data inside the ModelOutputStreamDelta as the provided ModelOutputToolArgumentsDelta

func (ModelOutputStreamDelta) MarshalJSON

func (t ModelOutputStreamDelta) MarshalJSON() ([]byte, error)

func (*ModelOutputStreamDelta) MergeModelOutputBlockStartDelta

func (t *ModelOutputStreamDelta) MergeModelOutputBlockStartDelta(v ModelOutputBlockStartDelta) error

MergeModelOutputBlockStartDelta performs a merge with any union data inside the ModelOutputStreamDelta, using the provided ModelOutputBlockStartDelta

func (*ModelOutputStreamDelta) MergeModelOutputBlockStopDelta

func (t *ModelOutputStreamDelta) MergeModelOutputBlockStopDelta(v ModelOutputBlockStopDelta) error

MergeModelOutputBlockStopDelta performs a merge with any union data inside the ModelOutputStreamDelta, using the provided ModelOutputBlockStopDelta

func (*ModelOutputStreamDelta) MergeModelOutputErrorDelta

func (t *ModelOutputStreamDelta) MergeModelOutputErrorDelta(v ModelOutputErrorDelta) error

MergeModelOutputErrorDelta performs a merge with any union data inside the ModelOutputStreamDelta, using the provided ModelOutputErrorDelta

func (*ModelOutputStreamDelta) MergeModelOutputMessageStopDelta

func (t *ModelOutputStreamDelta) MergeModelOutputMessageStopDelta(v ModelOutputMessageStopDelta) error

MergeModelOutputMessageStopDelta performs a merge with any union data inside the ModelOutputStreamDelta, using the provided ModelOutputMessageStopDelta

func (*ModelOutputStreamDelta) MergeModelOutputTextDelta

func (t *ModelOutputStreamDelta) MergeModelOutputTextDelta(v ModelOutputTextDelta) error

MergeModelOutputTextDelta performs a merge with any union data inside the ModelOutputStreamDelta, using the provided ModelOutputTextDelta

func (*ModelOutputStreamDelta) MergeModelOutputThinkingDelta

func (t *ModelOutputStreamDelta) MergeModelOutputThinkingDelta(v ModelOutputThinkingDelta) error

MergeModelOutputThinkingDelta performs a merge with any union data inside the ModelOutputStreamDelta, using the provided ModelOutputThinkingDelta

func (*ModelOutputStreamDelta) MergeModelOutputToolArgumentsDelta

func (t *ModelOutputStreamDelta) MergeModelOutputToolArgumentsDelta(v ModelOutputToolArgumentsDelta) error

MergeModelOutputToolArgumentsDelta performs a merge with any union data inside the ModelOutputStreamDelta, using the provided ModelOutputToolArgumentsDelta

func (*ModelOutputStreamDelta) UnmarshalJSON

func (t *ModelOutputStreamDelta) UnmarshalJSON(b []byte) error

func (ModelOutputStreamDelta) ValueByDiscriminator

func (t ModelOutputStreamDelta) ValueByDiscriminator() (interface{}, error)

type ModelOutputTextDelta

type ModelOutputTextDelta struct {
	BlockIndex int                      `json:"block_index"`
	Delta      string                   `json:"delta"`
	Kind       ModelOutputTextDeltaKind `json:"kind"`
}

ModelOutputTextDelta defines model for ModelOutputTextDelta.

type ModelOutputTextDeltaKind

type ModelOutputTextDeltaKind string

ModelOutputTextDeltaKind defines model for ModelOutputTextDelta.Kind.

const (
	TextDelta ModelOutputTextDeltaKind = "text_delta"
)

Defines values for ModelOutputTextDeltaKind.

func (ModelOutputTextDeltaKind) Valid

func (e ModelOutputTextDeltaKind) Valid() bool

Valid indicates whether the value is a known member of the ModelOutputTextDeltaKind enum.

type ModelOutputTextStreamBlock

type ModelOutputTextStreamBlock struct {
	Kind ModelOutputTextStreamBlockKind `json:"kind"`
}

ModelOutputTextStreamBlock defines model for ModelOutputTextStreamBlock.

type ModelOutputTextStreamBlockKind

type ModelOutputTextStreamBlockKind string

ModelOutputTextStreamBlockKind defines model for ModelOutputTextStreamBlock.Kind.

const (
	ModelOutputTextStreamBlockKindText ModelOutputTextStreamBlockKind = "text"
)

Defines values for ModelOutputTextStreamBlockKind.

func (ModelOutputTextStreamBlockKind) Valid

Valid indicates whether the value is a known member of the ModelOutputTextStreamBlockKind enum.

type ModelOutputThinkingDelta

type ModelOutputThinkingDelta struct {
	BlockIndex int                          `json:"block_index"`
	Delta      string                       `json:"delta"`
	Kind       ModelOutputThinkingDeltaKind `json:"kind"`
}

ModelOutputThinkingDelta defines model for ModelOutputThinkingDelta.

type ModelOutputThinkingDeltaKind

type ModelOutputThinkingDeltaKind string

ModelOutputThinkingDeltaKind defines model for ModelOutputThinkingDelta.Kind.

const (
	ThinkingDelta ModelOutputThinkingDeltaKind = "thinking_delta"
)

Defines values for ModelOutputThinkingDeltaKind.

func (ModelOutputThinkingDeltaKind) Valid

Valid indicates whether the value is a known member of the ModelOutputThinkingDeltaKind enum.

type ModelOutputThinkingStreamBlock

type ModelOutputThinkingStreamBlock struct {
	Kind ModelOutputThinkingStreamBlockKind `json:"kind"`
}

ModelOutputThinkingStreamBlock defines model for ModelOutputThinkingStreamBlock.

type ModelOutputThinkingStreamBlockKind

type ModelOutputThinkingStreamBlockKind string

ModelOutputThinkingStreamBlockKind defines model for ModelOutputThinkingStreamBlock.Kind.

const (
	Thinking ModelOutputThinkingStreamBlockKind = "thinking"
)

Defines values for ModelOutputThinkingStreamBlockKind.

func (ModelOutputThinkingStreamBlockKind) Valid

Valid indicates whether the value is a known member of the ModelOutputThinkingStreamBlockKind enum.

type ModelOutputToolArgumentsDelta

type ModelOutputToolArgumentsDelta struct {
	BlockIndex int                               `json:"block_index"`
	Delta      string                            `json:"delta"`
	Kind       ModelOutputToolArgumentsDeltaKind `json:"kind"`
}

ModelOutputToolArgumentsDelta defines model for ModelOutputToolArgumentsDelta.

type ModelOutputToolArgumentsDeltaKind

type ModelOutputToolArgumentsDeltaKind string

ModelOutputToolArgumentsDeltaKind defines model for ModelOutputToolArgumentsDelta.Kind.

const (
	ToolArgumentsDelta ModelOutputToolArgumentsDeltaKind = "tool_arguments_delta"
)

Defines values for ModelOutputToolArgumentsDeltaKind.

func (ModelOutputToolArgumentsDeltaKind) Valid

Valid indicates whether the value is a known member of the ModelOutputToolArgumentsDeltaKind enum.

type ModelOutputToolUseStreamBlock

type ModelOutputToolUseStreamBlock struct {
	Kind ModelOutputToolUseStreamBlockKind `json:"kind"`

	// ToolCallId Stable public ID shared with the eventual durable ToolCall when this is a tool_use block.
	ToolCallId ToolCallID `json:"tool_call_id"`
	ToolName   string     `json:"tool_name"`
}

ModelOutputToolUseStreamBlock defines model for ModelOutputToolUseStreamBlock.

type ModelOutputToolUseStreamBlockKind

type ModelOutputToolUseStreamBlockKind string

ModelOutputToolUseStreamBlockKind defines model for ModelOutputToolUseStreamBlock.Kind.

const (
	ToolUse ModelOutputToolUseStreamBlockKind = "tool_use"
)

Defines values for ModelOutputToolUseStreamBlockKind.

func (ModelOutputToolUseStreamBlockKind) Valid

Valid indicates whether the value is a known member of the ModelOutputToolUseStreamBlockKind enum.

type ModelProviderAPIVariant

type ModelProviderAPIVariant string

ModelProviderAPIVariant defines model for ModelProviderAPIVariant.

const (
	ModelProviderAPIVariantDefault    ModelProviderAPIVariant = "default"
	ModelProviderAPIVariantOpenrouter ModelProviderAPIVariant = "openrouter"
)

Defines values for ModelProviderAPIVariant.

func (ModelProviderAPIVariant) Valid

func (e ModelProviderAPIVariant) Valid() bool

Valid indicates whether the value is a known member of the ModelProviderAPIVariant enum.

type ModelProviderAuthKind

type ModelProviderAuthKind string

ModelProviderAuthKind defines model for ModelProviderAuthKind.

const (
	ApiKeyHeader ModelProviderAuthKind = "api_key_header"
	BearerToken  ModelProviderAuthKind = "bearer_token"
)

Defines values for ModelProviderAuthKind.

func (ModelProviderAuthKind) Valid

func (e ModelProviderAuthKind) Valid() bool

Valid indicates whether the value is a known member of the ModelProviderAuthKind enum.

type ModelProviderConfig

type ModelProviderConfig struct {
	ApiFormat  ModelAPIFormat          `json:"api_format"`
	ApiVariant ModelProviderAPIVariant `json:"api_variant"`
	AuthKind   ModelProviderAuthKind   `json:"auth_kind"`

	// AuthOptions Non-secret API-key placement settings for this provider config.
	AuthOptions json.RawMessage `json:"auth_options"`

	// BaseUrl Provider endpoint base URL. Normal API mode uses public HTTPS endpoints; localhost and loopback endpoints are only for insecure dev-mode configs.
	BaseUrl            string                `json:"base_url"`
	CreatedAt          Timestamp             `json:"created_at"`
	CredentialSecretId SecretID              `json:"credential_secret_id"`
	EndpointPath       string                `json:"endpoint_path"`
	Id                 ModelProviderConfigID `json:"id"`

	// ManagementKind Lifecycle owner. Tenant-managed resources can be changed through tenant APIs; cluster-managed resources are installed by the control plane and are read-only through tenant lifecycle APIs.
	ManagementKind   ManagementKind `json:"management_kind"`
	Name             string         `json:"name"`
	OrgId            OrganizationID `json:"org_id"`
	RequestTimeoutMs int            `json:"request_timeout_ms"`
	UpdatedAt        Timestamp      `json:"updated_at"`
}

ModelProviderConfig defines model for ModelProviderConfig.

type ModelProviderConfigID

type ModelProviderConfigID = string

ModelProviderConfigID defines model for ModelProviderConfigID.

type ModelProviderConfigList

type ModelProviderConfigList struct {
	Data       []ModelProviderConfig     `json:"data"`
	NextCursor nullable.Nullable[string] `json:"next_cursor"`
}

ModelProviderConfigList defines model for ModelProviderConfigList.

type ModelStopReason

type ModelStopReason string

ModelStopReason defines model for ModelStopReason.

const (
	ModelStopReasonContentFilter ModelStopReason = "content_filter"
	ModelStopReasonContextWindow ModelStopReason = "context_window"
	ModelStopReasonEndTurn       ModelStopReason = "end_turn"
	ModelStopReasonMaxTokens     ModelStopReason = "max_tokens"
	ModelStopReasonPause         ModelStopReason = "pause"
	ModelStopReasonRefusal       ModelStopReason = "refusal"
	ModelStopReasonToolUse       ModelStopReason = "tool_use"
	ModelStopReasonUnknown       ModelStopReason = "unknown"
)

Defines values for ModelStopReason.

func (ModelStopReason) Valid

func (e ModelStopReason) Valid() bool

Valid indicates whether the value is a known member of the ModelStopReason enum.

type ModelToolCallContentBlock

type ModelToolCallContentBlock struct {
	// Input Non-null JSON object containing the arguments emitted for a tool call.
	Input ToolInput `json:"input"`

	// Metadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters. Keys beginning with `omnara_` are reserved for Omnara and may affect product behavior; use them only when intentionally invoking Omnara-defined behavior.
	Metadata   ContentBlockMetadata `json:"metadata,omitempty"`
	Name       string               `json:"name"`
	ToolCallId ToolCallID           `json:"tool_call_id"`

	// ToolType Identifies who manages execution. Built-in and MCP calls are platform-managed; custom calls wait for an external consumer to submit their result.
	ToolType ToolCallType                  `json:"tool_type"`
	Type     ModelToolCallContentBlockType `json:"type"`
}

ModelToolCallContentBlock defines model for ModelToolCallContentBlock.

type ModelToolCallContentBlockType

type ModelToolCallContentBlockType string

ModelToolCallContentBlockType defines model for ModelToolCallContentBlock.Type.

const (
	ModelToolCallContentBlockTypeToolCall ModelToolCallContentBlockType = "tool_call"
)

Defines values for ModelToolCallContentBlockType.

func (ModelToolCallContentBlockType) Valid

Valid indicates whether the value is a known member of the ModelToolCallContentBlockType enum.

type ModelUsage

type ModelUsage struct {
	CacheReadInputTokens  *int `json:"cache_read_input_tokens,omitempty"`
	CacheWriteInputTokens *int `json:"cache_write_input_tokens,omitempty"`
	InputTokensTotal      *int `json:"input_tokens_total,omitempty"`
	OutputTokensTotal     *int `json:"output_tokens_total,omitempty"`
	ReasoningOutputTokens *int `json:"reasoning_output_tokens,omitempty"`
	UncachedInputTokens   *int `json:"uncached_input_tokens,omitempty"`
}

ModelUsage defines model for ModelUsage.

type MoveQueuedBacklogInput4XXJSONResponse

type MoveQueuedBacklogInput4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (MoveQueuedBacklogInput4XXJSONResponse) VisitMoveQueuedBacklogInputResponse

func (response MoveQueuedBacklogInput4XXJSONResponse) VisitMoveQueuedBacklogInputResponse(w http.ResponseWriter) error

type MoveQueuedBacklogInput5XXJSONResponse

type MoveQueuedBacklogInput5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (MoveQueuedBacklogInput5XXJSONResponse) VisitMoveQueuedBacklogInputResponse

func (response MoveQueuedBacklogInput5XXJSONResponse) VisitMoveQueuedBacklogInputResponse(w http.ResponseWriter) error

type MoveQueuedBacklogInput200JSONResponse

type MoveQueuedBacklogInput200JSONResponse OKResponse

func (MoveQueuedBacklogInput200JSONResponse) VisitMoveQueuedBacklogInputResponse

func (response MoveQueuedBacklogInput200JSONResponse) VisitMoveQueuedBacklogInputResponse(w http.ResponseWriter) error

type MoveQueuedBacklogInput400JSONResponse

type MoveQueuedBacklogInput400JSONResponse struct{ BadRequestJSONResponse }

func (MoveQueuedBacklogInput400JSONResponse) VisitMoveQueuedBacklogInputResponse

func (response MoveQueuedBacklogInput400JSONResponse) VisitMoveQueuedBacklogInputResponse(w http.ResponseWriter) error

type MoveQueuedBacklogInput401JSONResponse

type MoveQueuedBacklogInput401JSONResponse struct{ UnauthorizedJSONResponse }

func (MoveQueuedBacklogInput401JSONResponse) VisitMoveQueuedBacklogInputResponse

func (response MoveQueuedBacklogInput401JSONResponse) VisitMoveQueuedBacklogInputResponse(w http.ResponseWriter) error

type MoveQueuedBacklogInput403JSONResponse

type MoveQueuedBacklogInput403JSONResponse struct{ ForbiddenJSONResponse }

func (MoveQueuedBacklogInput403JSONResponse) VisitMoveQueuedBacklogInputResponse

func (response MoveQueuedBacklogInput403JSONResponse) VisitMoveQueuedBacklogInputResponse(w http.ResponseWriter) error

type MoveQueuedBacklogInput404JSONResponse

type MoveQueuedBacklogInput404JSONResponse struct{ NotFoundJSONResponse }

func (MoveQueuedBacklogInput404JSONResponse) VisitMoveQueuedBacklogInputResponse

func (response MoveQueuedBacklogInput404JSONResponse) VisitMoveQueuedBacklogInputResponse(w http.ResponseWriter) error

type MoveQueuedBacklogInput409JSONResponse

type MoveQueuedBacklogInput409JSONResponse struct{ ConflictJSONResponse }

func (MoveQueuedBacklogInput409JSONResponse) VisitMoveQueuedBacklogInputResponse

func (response MoveQueuedBacklogInput409JSONResponse) VisitMoveQueuedBacklogInputResponse(w http.ResponseWriter) error

type MoveQueuedBacklogInput503JSONResponse

type MoveQueuedBacklogInput503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (MoveQueuedBacklogInput503JSONResponse) VisitMoveQueuedBacklogInputResponse

func (response MoveQueuedBacklogInput503JSONResponse) VisitMoveQueuedBacklogInputResponse(w http.ResponseWriter) error

type MoveQueuedBacklogInputJSONRequestBody

type MoveQueuedBacklogInputJSONRequestBody = MoveQueuedBacklogInputRequest

MoveQueuedBacklogInputJSONRequestBody defines body for MoveQueuedBacklogInput for application/json ContentType.

type MoveQueuedBacklogInputRequest

type MoveQueuedBacklogInputRequest struct {
	AnchorInputId *AgentInputID                         `json:"anchor_input_id,omitempty"`
	Position      MoveQueuedBacklogInputRequestPosition `json:"position"`
}

MoveQueuedBacklogInputRequest defines model for MoveQueuedBacklogInputRequest.

type MoveQueuedBacklogInputRequestObject

type MoveQueuedBacklogInputRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	AgentID   string `json:"agentID"`
	InputID   string `json:"inputID"`
	Body      *MoveQueuedBacklogInputJSONRequestBody
}

type MoveQueuedBacklogInputRequestPosition

type MoveQueuedBacklogInputRequestPosition string

MoveQueuedBacklogInputRequestPosition defines model for MoveQueuedBacklogInputRequest.Position.

Defines values for MoveQueuedBacklogInputRequestPosition.

func (MoveQueuedBacklogInputRequestPosition) Valid

Valid indicates whether the value is a known member of the MoveQueuedBacklogInputRequestPosition enum.

type MoveQueuedBacklogInputResponseObject

type MoveQueuedBacklogInputResponseObject interface {
	VisitMoveQueuedBacklogInputResponse(w http.ResponseWriter) error
}

type NotFound

type NotFound = Error

NotFound defines model for NotFound.

type NotFoundJSONResponse

type NotFoundJSONResponse Error

type OAuthRefreshSecretMaterial

type OAuthRefreshSecretMaterial struct {
	ClientId     string  `json:"client_id"`
	ClientSecret *string `json:"client_secret,omitempty"`
	RefreshToken string  `json:"refresh_token"`
	Resource     string  `json:"resource"`

	// TokenEndpoint Must use HTTPS, except that HTTP is allowed for loopback hosts during local development.
	TokenEndpoint string `json:"token_endpoint"`
}

OAuthRefreshSecretMaterial defines model for OAuthRefreshSecretMaterial.

type OAuthTokenSetSecretMaterial

type OAuthTokenSetSecretMaterial struct {
	AccessToken                 string                          `json:"access_token"`
	AccessTokenExpiresInSeconds *int32                          `json:"access_token_expires_in_seconds,omitempty"`
	IdToken                     *string                         `json:"id_token,omitempty"`
	Kind                        OAuthTokenSetSecretMaterialKind `json:"kind"`
	McpUrl                      *string                         `json:"mcp_url,omitempty"`
	Refresh                     *OAuthRefreshSecretMaterial     `json:"refresh,omitempty"`
	Scopes                      *string                         `json:"scopes,omitempty"`
	TokenType                   *string                         `json:"token_type,omitempty"`
}

OAuthTokenSetSecretMaterial defines model for OAuthTokenSetSecretMaterial.

type OAuthTokenSetSecretMaterialKind

type OAuthTokenSetSecretMaterialKind string

OAuthTokenSetSecretMaterialKind defines model for OAuthTokenSetSecretMaterial.Kind.

const (
	OauthTokenSet OAuthTokenSetSecretMaterialKind = "oauth_token_set"
)

Defines values for OAuthTokenSetSecretMaterialKind.

func (OAuthTokenSetSecretMaterialKind) Valid

Valid indicates whether the value is a known member of the OAuthTokenSetSecretMaterialKind enum.

type OKResponse

type OKResponse struct {
	Ok bool `json:"ok"`
}

OKResponse defines model for OKResponse.

type OrgAPIKey

type OrgAPIKey struct {
	CreatedAt       Timestamp                    `json:"created_at"`
	CreatedByUserId UserID                       `json:"created_by_user_id"`
	Id              OrgAPIKeyID                  `json:"id"`
	LastUsedAt      nullable.Nullable[Timestamp] `json:"last_used_at"`
	Name            string                       `json:"name"`
	OrgId           OrganizationID               `json:"org_id"`

	// OrgRole The key's org role (admin or member). Empty for revoked keys.
	OrgRole   string                       `json:"org_role"`
	RevokedAt nullable.Nullable[Timestamp] `json:"revoked_at"`
	TokenId   string                       `json:"token_id"`
	UpdatedAt Timestamp                    `json:"updated_at"`
}

OrgAPIKey defines model for OrgAPIKey.

type OrgAPIKeyID

type OrgAPIKeyID = string

OrgAPIKeyID defines model for OrgAPIKeyID.

type OrgAPIKeyRole

type OrgAPIKeyRole string

OrgAPIKeyRole The key's org role. Org API keys can never hold the owner role.

const (
	Admin  OrgAPIKeyRole = "admin"
	Member OrgAPIKeyRole = "member"
)

Defines values for OrgAPIKeyRole.

func (OrgAPIKeyRole) Valid

func (e OrgAPIKeyRole) Valid() bool

Valid indicates whether the value is a known member of the OrgAPIKeyRole enum.

type OrgInvitation

type OrgInvitation struct {
	CreatedAt Timestamp           `json:"created_at"`
	Email     openapi_types.Email `json:"email"`
	Id        OrgInvitationID     `json:"id"`
	OrgId     OrganizationID      `json:"org_id"`
	OrgRole   string              `json:"org_role"`
}

OrgInvitation defines model for OrgInvitation.

type OrgInvitationID

type OrgInvitationID = string

OrgInvitationID defines model for OrgInvitationID.

type OrgMember

type OrgMember struct {
	CreatedAt   Timestamp `json:"created_at"`
	DisplayName string    `json:"display_name"`

	// Email The member's primary verified email, or an empty string if none.
	Email string `json:"email"`

	// Role The member's role in the organization (owner, admin, or member).
	Role   string `json:"role"`
	UserId UserID `json:"user_id"`
}

OrgMember defines model for OrgMember.

type OrgSecretOwner

type OrgSecretOwner struct {
	Kind OrgSecretOwnerKind `json:"kind"`
}

OrgSecretOwner defines model for OrgSecretOwner.

type OrgSecretOwnerInput

type OrgSecretOwnerInput struct {
	Kind OrgSecretOwnerInputKind `json:"kind"`
}

OrgSecretOwnerInput defines model for OrgSecretOwnerInput.

type OrgSecretOwnerInputKind

type OrgSecretOwnerInputKind string

OrgSecretOwnerInputKind defines model for OrgSecretOwnerInput.Kind.

const (
	OrgSecretOwnerInputKindOrg OrgSecretOwnerInputKind = "org"
)

Defines values for OrgSecretOwnerInputKind.

func (OrgSecretOwnerInputKind) Valid

func (e OrgSecretOwnerInputKind) Valid() bool

Valid indicates whether the value is a known member of the OrgSecretOwnerInputKind enum.

type OrgSecretOwnerKind

type OrgSecretOwnerKind string

OrgSecretOwnerKind defines model for OrgSecretOwner.Kind.

const (
	OrgSecretOwnerKindOrg OrgSecretOwnerKind = "org"
)

Defines values for OrgSecretOwnerKind.

func (OrgSecretOwnerKind) Valid

func (e OrgSecretOwnerKind) Valid() bool

Valid indicates whether the value is a known member of the OrgSecretOwnerKind enum.

type OrgSkillOwner

type OrgSkillOwner struct {
	Kind OrgSkillOwnerKind `json:"kind"`
}

OrgSkillOwner defines model for OrgSkillOwner.

type OrgSkillOwnerInput

type OrgSkillOwnerInput struct {
	Kind OrgSkillOwnerInputKind `json:"kind"`
}

OrgSkillOwnerInput defines model for OrgSkillOwnerInput.

type OrgSkillOwnerInputKind

type OrgSkillOwnerInputKind string

OrgSkillOwnerInputKind defines model for OrgSkillOwnerInput.Kind.

const (
	OrgSkillOwnerInputKindOrg OrgSkillOwnerInputKind = "org"
)

Defines values for OrgSkillOwnerInputKind.

func (OrgSkillOwnerInputKind) Valid

func (e OrgSkillOwnerInputKind) Valid() bool

Valid indicates whether the value is a known member of the OrgSkillOwnerInputKind enum.

type OrgSkillOwnerKind

type OrgSkillOwnerKind string

OrgSkillOwnerKind defines model for OrgSkillOwner.Kind.

const (
	OrgSkillOwnerKindOrg OrgSkillOwnerKind = "org"
)

Defines values for OrgSkillOwnerKind.

func (OrgSkillOwnerKind) Valid

func (e OrgSkillOwnerKind) Valid() bool

Valid indicates whether the value is a known member of the OrgSkillOwnerKind enum.

type Organization

type Organization struct {
	CreatedAt Timestamp      `json:"created_at"`
	Id        OrganizationID `json:"id"`
	Name      string         `json:"name"`
	UpdatedAt Timestamp      `json:"updated_at"`
}

Organization defines model for Organization.

type OrganizationID

type OrganizationID = string

OrganizationID defines model for OrganizationID.

type OrganizationMembership

type OrganizationMembership struct {
	CreatedAt Timestamp      `json:"created_at"`
	OrgId     OrganizationID `json:"org_id"`
	Role      string         `json:"role"`
	UserId    UserID         `json:"user_id"`
}

OrganizationMembership defines model for OrganizationMembership.

type PageCursor

type PageCursor = string

PageCursor defines model for PageCursor.

type PageLimit

type PageLimit = int32

PageLimit defines model for PageLimit.

type PersonalAccessToken

type PersonalAccessToken struct {
	CreatedAt  Timestamp                    `json:"created_at"`
	Id         PersonalAccessTokenID        `json:"id"`
	LastUsedAt nullable.Nullable[Timestamp] `json:"last_used_at"`
	Name       string                       `json:"name"`
	RevokedAt  nullable.Nullable[Timestamp] `json:"revoked_at"`
	TokenId    string                       `json:"token_id"`
	UserId     UserID                       `json:"user_id"`
}

PersonalAccessToken defines model for PersonalAccessToken.

type PersonalAccessTokenID

type PersonalAccessTokenID = string

PersonalAccessTokenID defines model for PersonalAccessTokenID.

type ProcessActionID

type ProcessActionID = string

ProcessActionID defines model for ProcessActionID.

type ProcessActionReconciliationClaim

type ProcessActionReconciliationClaim struct {
	ActionKind      ProcessActionReconciliationClaimActionKind `json:"action_kind"`
	Position        ProcessActionReconciliationClaimPosition   `json:"position"`
	ProcessActionId ProcessActionID                            `json:"process_action_id"`
	Seq             int64                                      `json:"seq"`
}

ProcessActionReconciliationClaim defines model for ProcessActionReconciliationClaim.

type ProcessActionReconciliationClaimActionKind

type ProcessActionReconciliationClaimActionKind string

ProcessActionReconciliationClaimActionKind defines model for ProcessActionReconciliationClaim.ActionKind.

const (
	ProcessActionReconciliationClaimActionKindInterrupt ProcessActionReconciliationClaimActionKind = "interrupt"
	ProcessActionReconciliationClaimActionKindTerminate ProcessActionReconciliationClaimActionKind = "terminate"
	ProcessActionReconciliationClaimActionKindWrite     ProcessActionReconciliationClaimActionKind = "write"
)

Defines values for ProcessActionReconciliationClaimActionKind.

func (ProcessActionReconciliationClaimActionKind) Valid

Valid indicates whether the value is a known member of the ProcessActionReconciliationClaimActionKind enum.

type ProcessActionReconciliationClaimPosition

type ProcessActionReconciliationClaimPosition string

ProcessActionReconciliationClaimPosition defines model for ProcessActionReconciliationClaim.Position.

const (
	ProcessActionReconciliationClaimPositionEffectCommitted ProcessActionReconciliationClaimPosition = "effect_committed"
	ProcessActionReconciliationClaimPositionTerminal        ProcessActionReconciliationClaimPosition = "terminal"
)

Defines values for ProcessActionReconciliationClaimPosition.

func (ProcessActionReconciliationClaimPosition) Valid

Valid indicates whether the value is a known member of the ProcessActionReconciliationClaimPosition enum.

type ProcessActionReconciliationDirective

type ProcessActionReconciliationDirective struct {
	ActionKind      ProcessActionReconciliationDirectiveActionKind  `json:"action_kind"`
	Disposition     ProcessActionReconciliationDirectiveDisposition `json:"disposition"`
	Payload         interface{}                                     `json:"payload,omitempty"`
	ProcessActionId ProcessActionID                                 `json:"process_action_id"`
	Seq             int64                                           `json:"seq"`
}

ProcessActionReconciliationDirective defines model for ProcessActionReconciliationDirective.

type ProcessActionReconciliationDirectiveActionKind

type ProcessActionReconciliationDirectiveActionKind string

ProcessActionReconciliationDirectiveActionKind defines model for ProcessActionReconciliationDirective.ActionKind.

const (
	ProcessActionReconciliationDirectiveActionKindInterrupt ProcessActionReconciliationDirectiveActionKind = "interrupt"
	ProcessActionReconciliationDirectiveActionKindRead      ProcessActionReconciliationDirectiveActionKind = "read"
	ProcessActionReconciliationDirectiveActionKindTerminate ProcessActionReconciliationDirectiveActionKind = "terminate"
	ProcessActionReconciliationDirectiveActionKindWrite     ProcessActionReconciliationDirectiveActionKind = "write"
)

Defines values for ProcessActionReconciliationDirectiveActionKind.

func (ProcessActionReconciliationDirectiveActionKind) Valid

Valid indicates whether the value is a known member of the ProcessActionReconciliationDirectiveActionKind enum.

type ProcessActionReconciliationDirectiveDisposition

type ProcessActionReconciliationDirectiveDisposition string

ProcessActionReconciliationDirectiveDisposition defines model for ProcessActionReconciliationDirective.Disposition.

const (
	ProcessActionReconciliationDirectiveDispositionApply   ProcessActionReconciliationDirectiveDisposition = "apply"
	ProcessActionReconciliationDirectiveDispositionRelease ProcessActionReconciliationDirectiveDisposition = "release"
	ProcessActionReconciliationDirectiveDispositionRetain  ProcessActionReconciliationDirectiveDisposition = "retain"
	ProcessActionReconciliationDirectiveDispositionSettle  ProcessActionReconciliationDirectiveDisposition = "settle"
)

Defines values for ProcessActionReconciliationDirectiveDisposition.

func (ProcessActionReconciliationDirectiveDisposition) Valid

Valid indicates whether the value is a known member of the ProcessActionReconciliationDirectiveDisposition enum.

type ProcessID

type ProcessID = string

ProcessID defines model for ProcessID.

type ProcessReconciliationClaim

type ProcessReconciliationClaim struct {
	ActionAdmissionClosed bool                               `json:"action_admission_closed"`
	Actions               []ProcessActionReconciliationClaim `json:"actions"`
	ExecutionCommitted    bool                               `json:"execution_committed"`
	Phase                 ProcessReconciliationClaimPhase    `json:"phase"`
	ProcessId             ProcessID                          `json:"process_id"`
	ResolvedActionSeq     int64                              `json:"resolved_action_seq"`
	SupervisorInstanceId  string                             `json:"supervisor_instance_id"`
	SupervisorLive        bool                               `json:"supervisor_live"`
}

ProcessReconciliationClaim defines model for ProcessReconciliationClaim.

type ProcessReconciliationClaimPhase

type ProcessReconciliationClaimPhase string

ProcessReconciliationClaimPhase defines model for ProcessReconciliationClaim.Phase.

const (
	ProcessReconciliationClaimPhaseAccepted  ProcessReconciliationClaimPhase = "accepted"
	ProcessReconciliationClaimPhasePrepared  ProcessReconciliationClaimPhase = "prepared"
	ProcessReconciliationClaimPhasePreparing ProcessReconciliationClaimPhase = "preparing"
	ProcessReconciliationClaimPhaseTerminal  ProcessReconciliationClaimPhase = "terminal"
)

Defines values for ProcessReconciliationClaimPhase.

func (ProcessReconciliationClaimPhase) Valid

Valid indicates whether the value is a known member of the ProcessReconciliationClaimPhase enum.

type ProcessReconciliationDirective

type ProcessReconciliationDirective struct {
	Actions              []ProcessActionReconciliationDirective    `json:"actions"`
	Disposition          ProcessReconciliationDirectiveDisposition `json:"disposition"`
	ProcessId            ProcessID                                 `json:"process_id"`
	SupervisorInstanceId string                                    `json:"supervisor_instance_id"`
}

ProcessReconciliationDirective defines model for ProcessReconciliationDirective.

type ProcessReconciliationDirectiveDisposition

type ProcessReconciliationDirectiveDisposition string

ProcessReconciliationDirectiveDisposition defines model for ProcessReconciliationDirective.Disposition.

const (
	ProcessReconciliationDirectiveDispositionClosePreparation ProcessReconciliationDirectiveDisposition = "close_preparation"
	ProcessReconciliationDirectiveDispositionRelease          ProcessReconciliationDirectiveDisposition = "release"
	ProcessReconciliationDirectiveDispositionRetain           ProcessReconciliationDirectiveDisposition = "retain"
	ProcessReconciliationDirectiveDispositionStart            ProcessReconciliationDirectiveDisposition = "start"
)

Defines values for ProcessReconciliationDirectiveDisposition.

func (ProcessReconciliationDirectiveDisposition) Valid

Valid indicates whether the value is a known member of the ProcessReconciliationDirectiveDisposition enum.

type Project

type Project = ProjectFields

Project Shared project fields composed into project response schemas. Composing schemas close their final shape with unevaluatedProperties.

type ProjectAccess

type ProjectAccess struct {
	CanManage       bool `json:"can_manage"`
	CanManageAccess bool `json:"can_manage_access"`
	CanOperate      bool `json:"can_operate"`
	CanRead         bool `json:"can_read"`
}

ProjectAccess defines model for ProjectAccess.

type ProjectFields

type ProjectFields struct {
	CreatedAt Timestamp      `json:"created_at"`
	Id        ProjectID      `json:"id"`
	Name      string         `json:"name"`
	OrgId     OrganizationID `json:"org_id"`
	UpdatedAt Timestamp      `json:"updated_at"`
}

ProjectFields Shared project fields composed into project response schemas. Composing schemas close their final shape with unevaluatedProperties.

type ProjectID

type ProjectID = string

ProjectID defines model for ProjectID.

type ProjectMachineGrant

type ProjectMachineGrant struct {
	CreatedAt   Timestamp             `json:"created_at"`
	Description string                `json:"description"`
	Id          ProjectMachineGrantID `json:"id"`
	MachineId   MachineID             `json:"machine_id"`

	// Metadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters.
	Metadata                  Metadata                                     `json:"metadata"`
	OrgId                     OrganizationID                               `json:"org_id"`
	ProjectId                 ProjectID                                    `json:"project_id"`
	ProjectMachinePoolGrantId nullable.Nullable[ProjectMachinePoolGrantID] `json:"project_machine_pool_grant_id,omitempty"`
	SourceKind                ProjectMachineGrantSourceKind                `json:"source_kind"`
	UpdatedAt                 Timestamp                                    `json:"updated_at"`
}

ProjectMachineGrant defines model for ProjectMachineGrant.

type ProjectMachineGrantID

type ProjectMachineGrantID = string

ProjectMachineGrantID defines model for ProjectMachineGrantID.

type ProjectMachineGrantListItem

type ProjectMachineGrantListItem struct {
	Grant   ProjectMachineGrant `json:"grant"`
	Machine MachineSummary      `json:"machine"`
}

ProjectMachineGrantListItem defines model for ProjectMachineGrantListItem.

type ProjectMachineGrantSourceKind

type ProjectMachineGrantSourceKind string

ProjectMachineGrantSourceKind defines model for ProjectMachineGrantSourceKind.

const (
	ProjectMachineGrantSourceKindExplicit ProjectMachineGrantSourceKind = "explicit"
	ProjectMachineGrantSourceKindPool     ProjectMachineGrantSourceKind = "pool"
)

Defines values for ProjectMachineGrantSourceKind.

func (ProjectMachineGrantSourceKind) Valid

Valid indicates whether the value is a known member of the ProjectMachineGrantSourceKind enum.

type ProjectMachinePoolGrant

type ProjectMachinePoolGrant struct {
	CreatedAt         Timestamp                `json:"created_at"`
	DefaultCwd        string                   `json:"default_cwd"`
	DefaultMachineCpu nullable.Nullable[int32] `json:"default_machine_cpu"`

	// DefaultMachineEnvOverlay Env overlay merged over the pool's default_machine_env for machines materialized through this grant; a null entry removes the key.
	DefaultMachineEnvOverlay             map[string]*string       `json:"default_machine_env_overlay"`
	DefaultMachineMemoryMb               nullable.Nullable[int32] `json:"default_machine_memory_mb"`
	DefaultMachineProviderOptionsOverlay map[string]interface{}   `json:"default_machine_provider_options_overlay"`

	// DefaultMachineSecretEnvOverlay Secret env overlay merged over the pool's default_machine_secret_env for machines materialized through this grant; a null entry removes the key.
	DefaultMachineSecretEnvOverlay map[string]*string        `json:"default_machine_secret_env_overlay"`
	Description                    string                    `json:"description"`
	Id                             ProjectMachinePoolGrantID `json:"id"`
	MachinePoolId                  MachinePoolID             `json:"machine_pool_id"`
	MaxMachineCpu                  nullable.Nullable[int32]  `json:"max_machine_cpu"`
	MaxMachineMemoryMb             nullable.Nullable[int32]  `json:"max_machine_memory_mb"`
	MaxTotalCpu                    nullable.Nullable[int32]  `json:"max_total_cpu"`
	MaxTotalMachines               nullable.Nullable[int32]  `json:"max_total_machines"`
	MaxTotalMemoryMb               nullable.Nullable[int32]  `json:"max_total_memory_mb"`

	// Metadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters.
	Metadata           Metadata                 `json:"metadata"`
	MinMachineCpu      nullable.Nullable[int32] `json:"min_machine_cpu"`
	MinMachineMemoryMb nullable.Nullable[int32] `json:"min_machine_memory_mb"`
	OrgId              OrganizationID           `json:"org_id"`
	ProjectId          ProjectID                `json:"project_id"`
	UpdatedAt          Timestamp                `json:"updated_at"`
}

ProjectMachinePoolGrant defines model for ProjectMachinePoolGrant.

type ProjectMachinePoolGrantID

type ProjectMachinePoolGrantID = string

ProjectMachinePoolGrantID defines model for ProjectMachinePoolGrantID.

type ProjectMachinePoolGrantListItem

type ProjectMachinePoolGrantListItem struct {
	Grant       ProjectMachinePoolGrant `json:"grant"`
	MachinePool MachinePoolSummary      `json:"machine_pool"`
}

ProjectMachinePoolGrantListItem defines model for ProjectMachinePoolGrantListItem.

type ProjectMembershipGrant

type ProjectMembershipGrant struct {
	CreatedAt   Timestamp `json:"created_at"`
	ProjectId   ProjectID `json:"project_id"`
	ProjectName string    `json:"project_name"`

	// Role The member's role on the project (admin, developer, operator, or viewer).
	Role string `json:"role"`
}

ProjectMembershipGrant defines model for ProjectMembershipGrant.

type ProjectModelGrant

type ProjectModelGrant struct {
	ConfiguredModelId ConfiguredModelID `json:"configured_model_id"`

	// ContextWindowTokens Project token-window limit, or omitted/null to inherit from the configured model.
	ContextWindowTokens nullable.Nullable[int] `json:"context_window_tokens,omitempty"`
	CreatedAt           Timestamp              `json:"created_at"`

	// DefaultCacheRetention Default prompt-cache hint for model requests. `none` means Omnara does not send a cache hint; providers may still apply their own automatic caching. `short` and `long` are translated to the closest supported control for the selected API.
	DefaultCacheRetention *ModelCacheRetention `json:"default_cache_retention,omitempty"`

	// DefaultMaxOutputTokens Project default per-request output-token cap, or omitted/null to inherit from the configured model.
	DefaultMaxOutputTokens nullable.Nullable[int] `json:"default_max_output_tokens,omitempty"`

	// DefaultReasoningEffort Project default reasoning effort, or omitted/empty to inherit from the configured model.
	DefaultReasoningEffort *string             `json:"default_reasoning_effort,omitempty"`
	Id                     ProjectModelGrantID `json:"id"`

	// InputModalities Project subset of configured-model input types (text, image, or file). Empty means inherit.
	InputModalities []string `json:"input_modalities"`

	// MaxOutputTokens Project output-token ceiling, or omitted/null to inherit from the configured model.
	MaxOutputTokens nullable.Nullable[int] `json:"max_output_tokens,omitempty"`
	OrgId           OrganizationID         `json:"org_id"`

	// OutputModalities Project subset of configured-model output types. Empty means inherit.
	OutputModalities []string  `json:"output_modalities"`
	ProjectId        ProjectID `json:"project_id"`

	// SupportedReasoningEfforts Project subset of configured-model reasoning efforts. Empty means inherit. When non-empty, default_reasoning_effort must resolve to one of these values.
	SupportedReasoningEfforts []string `json:"supported_reasoning_efforts"`

	// SupportsReasoning Project-level reasoning override, or omitted/null to inherit from the configured model.
	SupportsReasoning nullable.Nullable[bool] `json:"supports_reasoning,omitempty"`

	// SupportsTools Project-level tool-use override, or omitted/null to inherit from the configured model.
	SupportsTools nullable.Nullable[bool] `json:"supports_tools,omitempty"`
	UpdatedAt     Timestamp               `json:"updated_at"`
}

ProjectModelGrant defines model for ProjectModelGrant.

type ProjectModelGrantEnvelope

type ProjectModelGrantEnvelope struct {
	Grant ProjectModelGrant `json:"grant"`
}

ProjectModelGrantEnvelope defines model for ProjectModelGrantEnvelope.

type ProjectModelGrantID

type ProjectModelGrantID = string

ProjectModelGrantID defines model for ProjectModelGrantID.

type ProjectModelGrantListItem

type ProjectModelGrantListItem struct {
	Grant ProjectModelGrant      `json:"grant"`
	Model ConfiguredModelSummary `json:"model"`
}

ProjectModelGrantListItem defines model for ProjectModelGrantListItem.

type ProjectSecretAccess

type ProjectSecretAccess struct {
	Availability SecretAvailability `json:"availability"`
	Secret       Secret             `json:"secret"`
}

ProjectSecretAccess defines model for ProjectSecretAccess.

type ProjectSecretOwner

type ProjectSecretOwner struct {
	Kind      ProjectSecretOwnerKind `json:"kind"`
	ProjectId ProjectID              `json:"project_id"`
}

ProjectSecretOwner defines model for ProjectSecretOwner.

type ProjectSecretOwnerInput

type ProjectSecretOwnerInput struct {
	Kind      ProjectSecretOwnerInputKind `json:"kind"`
	ProjectId ProjectID                   `json:"project_id"`
}

ProjectSecretOwnerInput defines model for ProjectSecretOwnerInput.

type ProjectSecretOwnerInputKind

type ProjectSecretOwnerInputKind string

ProjectSecretOwnerInputKind defines model for ProjectSecretOwnerInput.Kind.

const (
	ProjectSecretOwnerInputKindProject ProjectSecretOwnerInputKind = "project"
)

Defines values for ProjectSecretOwnerInputKind.

func (ProjectSecretOwnerInputKind) Valid

Valid indicates whether the value is a known member of the ProjectSecretOwnerInputKind enum.

type ProjectSecretOwnerKind

type ProjectSecretOwnerKind string

ProjectSecretOwnerKind defines model for ProjectSecretOwner.Kind.

const (
	ProjectSecretOwnerKindProject ProjectSecretOwnerKind = "project"
)

Defines values for ProjectSecretOwnerKind.

func (ProjectSecretOwnerKind) Valid

func (e ProjectSecretOwnerKind) Valid() bool

Valid indicates whether the value is a known member of the ProjectSecretOwnerKind enum.

type ProjectSkillAccess

type ProjectSkillAccess struct {
	Availability SkillAvailability `json:"availability"`
	ProjectId    ProjectID         `json:"project_id"`
	Skill        Skill             `json:"skill"`
}

ProjectSkillAccess defines model for ProjectSkillAccess.

type ProjectSkillOwner

type ProjectSkillOwner struct {
	Kind      ProjectSkillOwnerKind `json:"kind"`
	ProjectId ProjectID             `json:"project_id"`
}

ProjectSkillOwner defines model for ProjectSkillOwner.

type ProjectSkillOwnerInput

type ProjectSkillOwnerInput struct {
	Kind      ProjectSkillOwnerInputKind `json:"kind"`
	ProjectId ProjectID                  `json:"project_id"`
}

ProjectSkillOwnerInput defines model for ProjectSkillOwnerInput.

type ProjectSkillOwnerInputKind

type ProjectSkillOwnerInputKind string

ProjectSkillOwnerInputKind defines model for ProjectSkillOwnerInput.Kind.

const (
	ProjectSkillOwnerInputKindProject ProjectSkillOwnerInputKind = "project"
)

Defines values for ProjectSkillOwnerInputKind.

func (ProjectSkillOwnerInputKind) Valid

func (e ProjectSkillOwnerInputKind) Valid() bool

Valid indicates whether the value is a known member of the ProjectSkillOwnerInputKind enum.

type ProjectSkillOwnerKind

type ProjectSkillOwnerKind string

ProjectSkillOwnerKind defines model for ProjectSkillOwner.Kind.

const (
	ProjectSkillOwnerKindProject ProjectSkillOwnerKind = "project"
)

Defines values for ProjectSkillOwnerKind.

func (ProjectSkillOwnerKind) Valid

func (e ProjectSkillOwnerKind) Valid() bool

Valid indicates whether the value is a known member of the ProjectSkillOwnerKind enum.

type PromoteQueuedInputToSteering4XXJSONResponse

type PromoteQueuedInputToSteering4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (PromoteQueuedInputToSteering4XXJSONResponse) VisitPromoteQueuedInputToSteeringResponse

func (response PromoteQueuedInputToSteering4XXJSONResponse) VisitPromoteQueuedInputToSteeringResponse(w http.ResponseWriter) error

type PromoteQueuedInputToSteering5XXJSONResponse

type PromoteQueuedInputToSteering5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (PromoteQueuedInputToSteering5XXJSONResponse) VisitPromoteQueuedInputToSteeringResponse

func (response PromoteQueuedInputToSteering5XXJSONResponse) VisitPromoteQueuedInputToSteeringResponse(w http.ResponseWriter) error

type PromoteQueuedInputToSteering200JSONResponse

type PromoteQueuedInputToSteering200JSONResponse OKResponse

func (PromoteQueuedInputToSteering200JSONResponse) VisitPromoteQueuedInputToSteeringResponse

func (response PromoteQueuedInputToSteering200JSONResponse) VisitPromoteQueuedInputToSteeringResponse(w http.ResponseWriter) error

type PromoteQueuedInputToSteering400JSONResponse

type PromoteQueuedInputToSteering400JSONResponse struct{ BadRequestJSONResponse }

func (PromoteQueuedInputToSteering400JSONResponse) VisitPromoteQueuedInputToSteeringResponse

func (response PromoteQueuedInputToSteering400JSONResponse) VisitPromoteQueuedInputToSteeringResponse(w http.ResponseWriter) error

type PromoteQueuedInputToSteering401JSONResponse

type PromoteQueuedInputToSteering401JSONResponse struct{ UnauthorizedJSONResponse }

func (PromoteQueuedInputToSteering401JSONResponse) VisitPromoteQueuedInputToSteeringResponse

func (response PromoteQueuedInputToSteering401JSONResponse) VisitPromoteQueuedInputToSteeringResponse(w http.ResponseWriter) error

type PromoteQueuedInputToSteering403JSONResponse

type PromoteQueuedInputToSteering403JSONResponse struct{ ForbiddenJSONResponse }

func (PromoteQueuedInputToSteering403JSONResponse) VisitPromoteQueuedInputToSteeringResponse

func (response PromoteQueuedInputToSteering403JSONResponse) VisitPromoteQueuedInputToSteeringResponse(w http.ResponseWriter) error

type PromoteQueuedInputToSteering404JSONResponse

type PromoteQueuedInputToSteering404JSONResponse struct{ NotFoundJSONResponse }

func (PromoteQueuedInputToSteering404JSONResponse) VisitPromoteQueuedInputToSteeringResponse

func (response PromoteQueuedInputToSteering404JSONResponse) VisitPromoteQueuedInputToSteeringResponse(w http.ResponseWriter) error

type PromoteQueuedInputToSteering409JSONResponse

type PromoteQueuedInputToSteering409JSONResponse struct{ ConflictJSONResponse }

func (PromoteQueuedInputToSteering409JSONResponse) VisitPromoteQueuedInputToSteeringResponse

func (response PromoteQueuedInputToSteering409JSONResponse) VisitPromoteQueuedInputToSteeringResponse(w http.ResponseWriter) error

type PromoteQueuedInputToSteering503JSONResponse

type PromoteQueuedInputToSteering503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (PromoteQueuedInputToSteering503JSONResponse) VisitPromoteQueuedInputToSteeringResponse

func (response PromoteQueuedInputToSteering503JSONResponse) VisitPromoteQueuedInputToSteeringResponse(w http.ResponseWriter) error

type PromoteQueuedInputToSteeringJSONRequestBody

type PromoteQueuedInputToSteeringJSONRequestBody = PromoteQueuedInputToSteeringRequest

PromoteQueuedInputToSteeringJSONRequestBody defines body for PromoteQueuedInputToSteering for application/json ContentType.

type PromoteQueuedInputToSteeringRequest

type PromoteQueuedInputToSteeringRequest struct {
	// CancelOpenInteractions When true, atomically cancels open interactions associated with the current turn's unfinished tool calls as this queued input becomes steering. Their parent tool calls complete as canceled; the turn, runtime, and unrelated tool calls are preserved.
	CancelOpenInteractions *bool `json:"cancel_open_interactions,omitempty"`
}

PromoteQueuedInputToSteeringRequest defines model for PromoteQueuedInputToSteeringRequest.

type PromoteQueuedInputToSteeringRequestObject

type PromoteQueuedInputToSteeringRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	AgentID   string `json:"agentID"`
	InputID   string `json:"inputID"`
	Body      *PromoteQueuedInputToSteeringJSONRequestBody
}

type PromoteQueuedInputToSteeringResponseObject

type PromoteQueuedInputToSteeringResponseObject interface {
	VisitPromoteQueuedInputToSteeringResponse(w http.ResponseWriter) error
}

type PutActor4XXJSONResponse

type PutActor4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (PutActor4XXJSONResponse) VisitPutActorResponse

func (response PutActor4XXJSONResponse) VisitPutActorResponse(w http.ResponseWriter) error

type PutActor5XXJSONResponse

type PutActor5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (PutActor5XXJSONResponse) VisitPutActorResponse

func (response PutActor5XXJSONResponse) VisitPutActorResponse(w http.ResponseWriter) error

type PutActor200JSONResponse

type PutActor200JSONResponse Actor

func (PutActor200JSONResponse) VisitPutActorResponse

func (response PutActor200JSONResponse) VisitPutActorResponse(w http.ResponseWriter) error

type PutActor400JSONResponse

type PutActor400JSONResponse struct{ BadRequestJSONResponse }

func (PutActor400JSONResponse) VisitPutActorResponse

func (response PutActor400JSONResponse) VisitPutActorResponse(w http.ResponseWriter) error

type PutActor401JSONResponse

type PutActor401JSONResponse struct{ UnauthorizedJSONResponse }

func (PutActor401JSONResponse) VisitPutActorResponse

func (response PutActor401JSONResponse) VisitPutActorResponse(w http.ResponseWriter) error

type PutActor403JSONResponse

type PutActor403JSONResponse struct{ ForbiddenJSONResponse }

func (PutActor403JSONResponse) VisitPutActorResponse

func (response PutActor403JSONResponse) VisitPutActorResponse(w http.ResponseWriter) error

type PutActor404JSONResponse

type PutActor404JSONResponse struct{ NotFoundJSONResponse }

func (PutActor404JSONResponse) VisitPutActorResponse

func (response PutActor404JSONResponse) VisitPutActorResponse(w http.ResponseWriter) error

type PutActor500JSONResponse

type PutActor500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (PutActor500JSONResponse) VisitPutActorResponse

func (response PutActor500JSONResponse) VisitPutActorResponse(w http.ResponseWriter) error

type PutActor503JSONResponse

type PutActor503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (PutActor503JSONResponse) VisitPutActorResponse

func (response PutActor503JSONResponse) VisitPutActorResponse(w http.ResponseWriter) error

type PutActorJSONRequestBody

type PutActorJSONRequestBody = ExternalActorParams

PutActorJSONRequestBody defines body for PutActor for application/json ContentType.

type PutActorRequestObject

type PutActorRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	Body      *PutActorJSONRequestBody
}

type PutActorResponseObject

type PutActorResponseObject interface {
	VisitPutActorResponse(w http.ResponseWriter) error
}

type ReasoningContentBlock

type ReasoningContentBlock struct {
	// Metadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters. Keys beginning with `omnara_` are reserved for Omnara and may affect product behavior; use them only when intentionally invoking Omnara-defined behavior.
	Metadata ContentBlockMetadata      `json:"metadata,omitempty"`
	Text     string                    `json:"text"`
	Type     ReasoningContentBlockType `json:"type"`
}

ReasoningContentBlock defines model for ReasoningContentBlock.

type ReasoningContentBlockType

type ReasoningContentBlockType string

ReasoningContentBlockType defines model for ReasoningContentBlock.Type.

const (
	Reasoning ReasoningContentBlockType = "reasoning"
)

Defines values for ReasoningContentBlockType.

func (ReasoningContentBlockType) Valid

func (e ReasoningContentBlockType) Valid() bool

Valid indicates whether the value is a known member of the ReasoningContentBlockType enum.

type RecordMachineFailure4XXJSONResponse

type RecordMachineFailure4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (RecordMachineFailure4XXJSONResponse) VisitRecordMachineFailureResponse

func (response RecordMachineFailure4XXJSONResponse) VisitRecordMachineFailureResponse(w http.ResponseWriter) error

type RecordMachineFailure5XXJSONResponse

type RecordMachineFailure5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (RecordMachineFailure5XXJSONResponse) VisitRecordMachineFailureResponse

func (response RecordMachineFailure5XXJSONResponse) VisitRecordMachineFailureResponse(w http.ResponseWriter) error

type RecordMachineFailure204Response

type RecordMachineFailure204Response struct {
}

func (RecordMachineFailure204Response) VisitRecordMachineFailureResponse

func (response RecordMachineFailure204Response) VisitRecordMachineFailureResponse(w http.ResponseWriter) error

type RecordMachineFailure400JSONResponse

type RecordMachineFailure400JSONResponse struct{ BadRequestJSONResponse }

func (RecordMachineFailure400JSONResponse) VisitRecordMachineFailureResponse

func (response RecordMachineFailure400JSONResponse) VisitRecordMachineFailureResponse(w http.ResponseWriter) error

type RecordMachineFailure401JSONResponse

type RecordMachineFailure401JSONResponse struct{ UnauthorizedJSONResponse }

func (RecordMachineFailure401JSONResponse) VisitRecordMachineFailureResponse

func (response RecordMachineFailure401JSONResponse) VisitRecordMachineFailureResponse(w http.ResponseWriter) error

type RecordMachineFailure403JSONResponse

type RecordMachineFailure403JSONResponse struct{ ForbiddenJSONResponse }

func (RecordMachineFailure403JSONResponse) VisitRecordMachineFailureResponse

func (response RecordMachineFailure403JSONResponse) VisitRecordMachineFailureResponse(w http.ResponseWriter) error

type RecordMachineFailureParams

type RecordMachineFailureParams struct {
	Stage         RecordMachineFailureParamsStage `form:"stage" json:"stage"`
	ExitStatus    *int                            `form:"exit_status,omitempty" json:"exit_status,omitempty"`
	CaptureStatus *int                            `form:"capture_status,omitempty" json:"capture_status,omitempty"`
	DaemonVersion *string                         `form:"daemon_version,omitempty" json:"daemon_version,omitempty"`
	TargetVersion *string                         `form:"target_version,omitempty" json:"target_version,omitempty"`
}

RecordMachineFailureParams defines parameters for RecordMachineFailure.

type RecordMachineFailureParamsStage

type RecordMachineFailureParamsStage string

RecordMachineFailureParamsStage defines parameters for RecordMachineFailure.

const (
	DaemonInstall     RecordMachineFailureParamsStage = "daemon_install"
	DaemonUninstall   RecordMachineFailureParamsStage = "daemon_uninstall"
	DaemonUninstalled RecordMachineFailureParamsStage = "daemon_uninstalled"
	DaemonUpdate      RecordMachineFailureParamsStage = "daemon_update"
	StartupScript     RecordMachineFailureParamsStage = "startup_script"
)

Defines values for RecordMachineFailureParamsStage.

func (RecordMachineFailureParamsStage) Valid

Valid indicates whether the value is a known member of the RecordMachineFailureParamsStage enum.

type RecordMachineFailureRequestObject

type RecordMachineFailureRequestObject struct {
	Params RecordMachineFailureParams
	Body   *RecordMachineFailureTextRequestBody
}

type RecordMachineFailureResponseObject

type RecordMachineFailureResponseObject interface {
	VisitRecordMachineFailureResponse(w http.ResponseWriter) error
}

type RecordMachineFailureTextBody

type RecordMachineFailureTextBody = string

RecordMachineFailureTextBody defines parameters for RecordMachineFailure.

type RecordMachineFailureTextRequestBody

type RecordMachineFailureTextRequestBody = RecordMachineFailureTextBody

RecordMachineFailureTextRequestBody defines body for RecordMachineFailure for text/plain ContentType.

type RegisterDaemonRuntimeRequest

type RegisterDaemonRuntimeRequest struct {
	Capacity         *map[string]interface{}      `json:"capacity,omitempty"`
	DaemonInstanceId openapi_types.UUID           `json:"daemon_instance_id"`
	DaemonVersion    string                       `json:"daemon_version"`
	ObservedPlatform *map[string]interface{}      `json:"observed_platform,omitempty"`
	Processes        []ProcessReconciliationClaim `json:"processes"`
}

RegisterDaemonRuntimeRequest defines model for RegisterDaemonRuntimeRequest.

type RegisterDaemonRuntimeResponse

type RegisterDaemonRuntimeResponse struct {
	Reconciliation DaemonRuntimeReconciliation `json:"reconciliation"`
	Runtime        DaemonRuntime               `json:"runtime"`
}

RegisterDaemonRuntimeResponse defines model for RegisterDaemonRuntimeResponse.

type RegisterMachineDaemonRuntime4XXJSONResponse

type RegisterMachineDaemonRuntime4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (RegisterMachineDaemonRuntime4XXJSONResponse) VisitRegisterMachineDaemonRuntimeResponse

func (response RegisterMachineDaemonRuntime4XXJSONResponse) VisitRegisterMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type RegisterMachineDaemonRuntime5XXJSONResponse

type RegisterMachineDaemonRuntime5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (RegisterMachineDaemonRuntime5XXJSONResponse) VisitRegisterMachineDaemonRuntimeResponse

func (response RegisterMachineDaemonRuntime5XXJSONResponse) VisitRegisterMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type RegisterMachineDaemonRuntime201JSONResponse

type RegisterMachineDaemonRuntime201JSONResponse RegisterDaemonRuntimeResponse

func (RegisterMachineDaemonRuntime201JSONResponse) VisitRegisterMachineDaemonRuntimeResponse

func (response RegisterMachineDaemonRuntime201JSONResponse) VisitRegisterMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type RegisterMachineDaemonRuntime400JSONResponse

type RegisterMachineDaemonRuntime400JSONResponse struct{ BadRequestJSONResponse }

func (RegisterMachineDaemonRuntime400JSONResponse) VisitRegisterMachineDaemonRuntimeResponse

func (response RegisterMachineDaemonRuntime400JSONResponse) VisitRegisterMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type RegisterMachineDaemonRuntime401JSONResponse

type RegisterMachineDaemonRuntime401JSONResponse struct{ UnauthorizedJSONResponse }

func (RegisterMachineDaemonRuntime401JSONResponse) VisitRegisterMachineDaemonRuntimeResponse

func (response RegisterMachineDaemonRuntime401JSONResponse) VisitRegisterMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type RegisterMachineDaemonRuntime403JSONResponse

type RegisterMachineDaemonRuntime403JSONResponse struct{ ForbiddenJSONResponse }

func (RegisterMachineDaemonRuntime403JSONResponse) VisitRegisterMachineDaemonRuntimeResponse

func (response RegisterMachineDaemonRuntime403JSONResponse) VisitRegisterMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type RegisterMachineDaemonRuntime404JSONResponse

type RegisterMachineDaemonRuntime404JSONResponse struct{ NotFoundJSONResponse }

func (RegisterMachineDaemonRuntime404JSONResponse) VisitRegisterMachineDaemonRuntimeResponse

func (response RegisterMachineDaemonRuntime404JSONResponse) VisitRegisterMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type RegisterMachineDaemonRuntime409JSONResponse

type RegisterMachineDaemonRuntime409JSONResponse struct{ ConflictJSONResponse }

func (RegisterMachineDaemonRuntime409JSONResponse) VisitRegisterMachineDaemonRuntimeResponse

func (response RegisterMachineDaemonRuntime409JSONResponse) VisitRegisterMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type RegisterMachineDaemonRuntime410JSONResponse

type RegisterMachineDaemonRuntime410JSONResponse struct{ GoneJSONResponse }

func (RegisterMachineDaemonRuntime410JSONResponse) VisitRegisterMachineDaemonRuntimeResponse

func (response RegisterMachineDaemonRuntime410JSONResponse) VisitRegisterMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type RegisterMachineDaemonRuntime503JSONResponse

type RegisterMachineDaemonRuntime503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (RegisterMachineDaemonRuntime503JSONResponse) VisitRegisterMachineDaemonRuntimeResponse

func (response RegisterMachineDaemonRuntime503JSONResponse) VisitRegisterMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type RegisterMachineDaemonRuntimeJSONRequestBody

type RegisterMachineDaemonRuntimeJSONRequestBody = RegisterDaemonRuntimeRequest

RegisterMachineDaemonRuntimeJSONRequestBody defines body for RegisterMachineDaemonRuntime for application/json ContentType.

type RegisterMachineDaemonRuntimeRequestObject

type RegisterMachineDaemonRuntimeRequestObject struct {
	Body *RegisterMachineDaemonRuntimeJSONRequestBody
}

type RegisterMachineDaemonRuntimeResponseObject

type RegisterMachineDaemonRuntimeResponseObject interface {
	VisitRegisterMachineDaemonRuntimeResponse(w http.ResponseWriter) error
}

type RemoveMemberProjectAccess4XXJSONResponse

type RemoveMemberProjectAccess4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (RemoveMemberProjectAccess4XXJSONResponse) VisitRemoveMemberProjectAccessResponse

func (response RemoveMemberProjectAccess4XXJSONResponse) VisitRemoveMemberProjectAccessResponse(w http.ResponseWriter) error

type RemoveMemberProjectAccess5XXJSONResponse

type RemoveMemberProjectAccess5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (RemoveMemberProjectAccess5XXJSONResponse) VisitRemoveMemberProjectAccessResponse

func (response RemoveMemberProjectAccess5XXJSONResponse) VisitRemoveMemberProjectAccessResponse(w http.ResponseWriter) error

type RemoveMemberProjectAccess204Response

type RemoveMemberProjectAccess204Response struct {
}

func (RemoveMemberProjectAccess204Response) VisitRemoveMemberProjectAccessResponse

func (response RemoveMemberProjectAccess204Response) VisitRemoveMemberProjectAccessResponse(w http.ResponseWriter) error

type RemoveMemberProjectAccess400JSONResponse

type RemoveMemberProjectAccess400JSONResponse struct{ BadRequestJSONResponse }

func (RemoveMemberProjectAccess400JSONResponse) VisitRemoveMemberProjectAccessResponse

func (response RemoveMemberProjectAccess400JSONResponse) VisitRemoveMemberProjectAccessResponse(w http.ResponseWriter) error

type RemoveMemberProjectAccess401JSONResponse

type RemoveMemberProjectAccess401JSONResponse struct{ UnauthorizedJSONResponse }

func (RemoveMemberProjectAccess401JSONResponse) VisitRemoveMemberProjectAccessResponse

func (response RemoveMemberProjectAccess401JSONResponse) VisitRemoveMemberProjectAccessResponse(w http.ResponseWriter) error

type RemoveMemberProjectAccess403JSONResponse

type RemoveMemberProjectAccess403JSONResponse struct{ ForbiddenJSONResponse }

func (RemoveMemberProjectAccess403JSONResponse) VisitRemoveMemberProjectAccessResponse

func (response RemoveMemberProjectAccess403JSONResponse) VisitRemoveMemberProjectAccessResponse(w http.ResponseWriter) error

type RemoveMemberProjectAccess404JSONResponse

type RemoveMemberProjectAccess404JSONResponse struct{ NotFoundJSONResponse }

func (RemoveMemberProjectAccess404JSONResponse) VisitRemoveMemberProjectAccessResponse

func (response RemoveMemberProjectAccess404JSONResponse) VisitRemoveMemberProjectAccessResponse(w http.ResponseWriter) error

type RemoveMemberProjectAccess503JSONResponse

type RemoveMemberProjectAccess503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (RemoveMemberProjectAccess503JSONResponse) VisitRemoveMemberProjectAccessResponse

func (response RemoveMemberProjectAccess503JSONResponse) VisitRemoveMemberProjectAccessResponse(w http.ResponseWriter) error

type RemoveMemberProjectAccessRequestObject

type RemoveMemberProjectAccessRequestObject struct {
	OrgID     string `json:"orgID"`
	UserID    string `json:"userID"`
	ProjectID string `json:"projectID"`
}

type RemoveMemberProjectAccessResponseObject

type RemoveMemberProjectAccessResponseObject interface {
	VisitRemoveMemberProjectAccessResponse(w http.ResponseWriter) error
}

type RemoveOrgAPIKeyProjectRole4XXJSONResponse

type RemoveOrgAPIKeyProjectRole4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (RemoveOrgAPIKeyProjectRole4XXJSONResponse) VisitRemoveOrgAPIKeyProjectRoleResponse

func (response RemoveOrgAPIKeyProjectRole4XXJSONResponse) VisitRemoveOrgAPIKeyProjectRoleResponse(w http.ResponseWriter) error

type RemoveOrgAPIKeyProjectRole5XXJSONResponse

type RemoveOrgAPIKeyProjectRole5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (RemoveOrgAPIKeyProjectRole5XXJSONResponse) VisitRemoveOrgAPIKeyProjectRoleResponse

func (response RemoveOrgAPIKeyProjectRole5XXJSONResponse) VisitRemoveOrgAPIKeyProjectRoleResponse(w http.ResponseWriter) error

type RemoveOrgAPIKeyProjectRole204Response

type RemoveOrgAPIKeyProjectRole204Response struct {
}

func (RemoveOrgAPIKeyProjectRole204Response) VisitRemoveOrgAPIKeyProjectRoleResponse

func (response RemoveOrgAPIKeyProjectRole204Response) VisitRemoveOrgAPIKeyProjectRoleResponse(w http.ResponseWriter) error

type RemoveOrgAPIKeyProjectRole400JSONResponse

type RemoveOrgAPIKeyProjectRole400JSONResponse struct{ BadRequestJSONResponse }

func (RemoveOrgAPIKeyProjectRole400JSONResponse) VisitRemoveOrgAPIKeyProjectRoleResponse

func (response RemoveOrgAPIKeyProjectRole400JSONResponse) VisitRemoveOrgAPIKeyProjectRoleResponse(w http.ResponseWriter) error

type RemoveOrgAPIKeyProjectRole401JSONResponse

type RemoveOrgAPIKeyProjectRole401JSONResponse struct{ UnauthorizedJSONResponse }

func (RemoveOrgAPIKeyProjectRole401JSONResponse) VisitRemoveOrgAPIKeyProjectRoleResponse

func (response RemoveOrgAPIKeyProjectRole401JSONResponse) VisitRemoveOrgAPIKeyProjectRoleResponse(w http.ResponseWriter) error

type RemoveOrgAPIKeyProjectRole403JSONResponse

type RemoveOrgAPIKeyProjectRole403JSONResponse struct{ ForbiddenJSONResponse }

func (RemoveOrgAPIKeyProjectRole403JSONResponse) VisitRemoveOrgAPIKeyProjectRoleResponse

func (response RemoveOrgAPIKeyProjectRole403JSONResponse) VisitRemoveOrgAPIKeyProjectRoleResponse(w http.ResponseWriter) error

type RemoveOrgAPIKeyProjectRole404JSONResponse

type RemoveOrgAPIKeyProjectRole404JSONResponse struct{ NotFoundJSONResponse }

func (RemoveOrgAPIKeyProjectRole404JSONResponse) VisitRemoveOrgAPIKeyProjectRoleResponse

func (response RemoveOrgAPIKeyProjectRole404JSONResponse) VisitRemoveOrgAPIKeyProjectRoleResponse(w http.ResponseWriter) error

type RemoveOrgAPIKeyProjectRole409JSONResponse

type RemoveOrgAPIKeyProjectRole409JSONResponse struct{ ConflictJSONResponse }

func (RemoveOrgAPIKeyProjectRole409JSONResponse) VisitRemoveOrgAPIKeyProjectRoleResponse

func (response RemoveOrgAPIKeyProjectRole409JSONResponse) VisitRemoveOrgAPIKeyProjectRoleResponse(w http.ResponseWriter) error

type RemoveOrgAPIKeyProjectRole503JSONResponse

type RemoveOrgAPIKeyProjectRole503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (RemoveOrgAPIKeyProjectRole503JSONResponse) VisitRemoveOrgAPIKeyProjectRoleResponse

func (response RemoveOrgAPIKeyProjectRole503JSONResponse) VisitRemoveOrgAPIKeyProjectRoleResponse(w http.ResponseWriter) error

type RemoveOrgAPIKeyProjectRoleRequestObject

type RemoveOrgAPIKeyProjectRoleRequestObject struct {
	OrgID     string `json:"orgID"`
	KeyID     string `json:"keyID"`
	ProjectID string `json:"projectID"`
}

type RemoveOrgAPIKeyProjectRoleResponseObject

type RemoveOrgAPIKeyProjectRoleResponseObject interface {
	VisitRemoveOrgAPIKeyProjectRoleResponse(w http.ResponseWriter) error
}

type RemoveOrgMember4XXJSONResponse

type RemoveOrgMember4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (RemoveOrgMember4XXJSONResponse) VisitRemoveOrgMemberResponse

func (response RemoveOrgMember4XXJSONResponse) VisitRemoveOrgMemberResponse(w http.ResponseWriter) error

type RemoveOrgMember5XXJSONResponse

type RemoveOrgMember5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (RemoveOrgMember5XXJSONResponse) VisitRemoveOrgMemberResponse

func (response RemoveOrgMember5XXJSONResponse) VisitRemoveOrgMemberResponse(w http.ResponseWriter) error

type RemoveOrgMember204Response

type RemoveOrgMember204Response struct {
}

func (RemoveOrgMember204Response) VisitRemoveOrgMemberResponse

func (response RemoveOrgMember204Response) VisitRemoveOrgMemberResponse(w http.ResponseWriter) error

type RemoveOrgMember400JSONResponse

type RemoveOrgMember400JSONResponse struct{ BadRequestJSONResponse }

func (RemoveOrgMember400JSONResponse) VisitRemoveOrgMemberResponse

func (response RemoveOrgMember400JSONResponse) VisitRemoveOrgMemberResponse(w http.ResponseWriter) error

type RemoveOrgMember401JSONResponse

type RemoveOrgMember401JSONResponse struct{ UnauthorizedJSONResponse }

func (RemoveOrgMember401JSONResponse) VisitRemoveOrgMemberResponse

func (response RemoveOrgMember401JSONResponse) VisitRemoveOrgMemberResponse(w http.ResponseWriter) error

type RemoveOrgMember403JSONResponse

type RemoveOrgMember403JSONResponse struct{ ForbiddenJSONResponse }

func (RemoveOrgMember403JSONResponse) VisitRemoveOrgMemberResponse

func (response RemoveOrgMember403JSONResponse) VisitRemoveOrgMemberResponse(w http.ResponseWriter) error

type RemoveOrgMember404JSONResponse

type RemoveOrgMember404JSONResponse struct{ NotFoundJSONResponse }

func (RemoveOrgMember404JSONResponse) VisitRemoveOrgMemberResponse

func (response RemoveOrgMember404JSONResponse) VisitRemoveOrgMemberResponse(w http.ResponseWriter) error

type RemoveOrgMember409JSONResponse

type RemoveOrgMember409JSONResponse struct{ ConflictJSONResponse }

func (RemoveOrgMember409JSONResponse) VisitRemoveOrgMemberResponse

func (response RemoveOrgMember409JSONResponse) VisitRemoveOrgMemberResponse(w http.ResponseWriter) error

type RemoveOrgMember503JSONResponse

type RemoveOrgMember503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (RemoveOrgMember503JSONResponse) VisitRemoveOrgMemberResponse

func (response RemoveOrgMember503JSONResponse) VisitRemoveOrgMemberResponse(w http.ResponseWriter) error

type RemoveOrgMemberRequestObject

type RemoveOrgMemberRequestObject struct {
	OrgID  string `json:"orgID"`
	UserID string `json:"userID"`
}

type RemoveOrgMemberResponseObject

type RemoveOrgMemberResponseObject interface {
	VisitRemoveOrgMemberResponse(w http.ResponseWriter) error
}

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type ResolveAgentInteraction4XXJSONResponse

type ResolveAgentInteraction4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ResolveAgentInteraction4XXJSONResponse) VisitResolveAgentInteractionResponse

func (response ResolveAgentInteraction4XXJSONResponse) VisitResolveAgentInteractionResponse(w http.ResponseWriter) error

type ResolveAgentInteraction5XXJSONResponse

type ResolveAgentInteraction5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (ResolveAgentInteraction5XXJSONResponse) VisitResolveAgentInteractionResponse

func (response ResolveAgentInteraction5XXJSONResponse) VisitResolveAgentInteractionResponse(w http.ResponseWriter) error

type ResolveAgentInteraction200JSONResponse

type ResolveAgentInteraction200JSONResponse AgentInteraction

func (ResolveAgentInteraction200JSONResponse) VisitResolveAgentInteractionResponse

func (response ResolveAgentInteraction200JSONResponse) VisitResolveAgentInteractionResponse(w http.ResponseWriter) error

type ResolveAgentInteraction400JSONResponse

type ResolveAgentInteraction400JSONResponse struct{ BadRequestJSONResponse }

func (ResolveAgentInteraction400JSONResponse) VisitResolveAgentInteractionResponse

func (response ResolveAgentInteraction400JSONResponse) VisitResolveAgentInteractionResponse(w http.ResponseWriter) error

type ResolveAgentInteraction401JSONResponse

type ResolveAgentInteraction401JSONResponse struct{ UnauthorizedJSONResponse }

func (ResolveAgentInteraction401JSONResponse) VisitResolveAgentInteractionResponse

func (response ResolveAgentInteraction401JSONResponse) VisitResolveAgentInteractionResponse(w http.ResponseWriter) error

type ResolveAgentInteraction403JSONResponse

type ResolveAgentInteraction403JSONResponse struct{ ForbiddenJSONResponse }

func (ResolveAgentInteraction403JSONResponse) VisitResolveAgentInteractionResponse

func (response ResolveAgentInteraction403JSONResponse) VisitResolveAgentInteractionResponse(w http.ResponseWriter) error

type ResolveAgentInteraction404JSONResponse

type ResolveAgentInteraction404JSONResponse struct{ NotFoundJSONResponse }

func (ResolveAgentInteraction404JSONResponse) VisitResolveAgentInteractionResponse

func (response ResolveAgentInteraction404JSONResponse) VisitResolveAgentInteractionResponse(w http.ResponseWriter) error

type ResolveAgentInteraction409JSONResponse

type ResolveAgentInteraction409JSONResponse struct{ ConflictJSONResponse }

func (ResolveAgentInteraction409JSONResponse) VisitResolveAgentInteractionResponse

func (response ResolveAgentInteraction409JSONResponse) VisitResolveAgentInteractionResponse(w http.ResponseWriter) error

type ResolveAgentInteraction503JSONResponse

type ResolveAgentInteraction503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (ResolveAgentInteraction503JSONResponse) VisitResolveAgentInteractionResponse

func (response ResolveAgentInteraction503JSONResponse) VisitResolveAgentInteractionResponse(w http.ResponseWriter) error

type ResolveAgentInteractionJSONRequestBody

type ResolveAgentInteractionJSONRequestBody = ResolveAgentInteractionRequest

ResolveAgentInteractionJSONRequestBody defines body for ResolveAgentInteraction for application/json ContentType.

type ResolveAgentInteractionRequest

type ResolveAgentInteractionRequest struct {
	// Actor External actor to attribute to the generated interaction_response agent input, upserted by (provider_tenant_id, provider_user_id) atomically with the resolution; a rejected request writes no actor. Only allowed for non-user principals; requests authenticated as a user must omit it and are attributed to the user's omnara actor. When a non-user request omits it, the generated input has no actor attribution.
	Actor   *ExternalActorParams `json:"actor,omitempty"`
	Answers []InteractionAnswer  `json:"answers"`
}

ResolveAgentInteractionRequest defines model for ResolveAgentInteractionRequest.

type ResolveAgentInteractionRequestObject

type ResolveAgentInteractionRequestObject struct {
	OrgID         string `json:"orgID"`
	ProjectID     string `json:"projectID"`
	AgentID       string `json:"agentID"`
	InteractionID string `json:"interactionID"`
	Body          *ResolveAgentInteractionJSONRequestBody
}

type ResolveAgentInteractionResponseObject

type ResolveAgentInteractionResponseObject interface {
	VisitResolveAgentInteractionResponse(w http.ResponseWriter) error
}

type ResourceListSort

type ResourceListSort string

ResourceListSort Sort order for named resources that expose created and modified timestamps.

const (
	ResourceListSortCreatedAt      ResourceListSort = "created_at"
	ResourceListSortMinusCreatedAt ResourceListSort = "-created_at"
	ResourceListSortMinusName      ResourceListSort = "-name"
	ResourceListSortMinusUpdatedAt ResourceListSort = "-updated_at"
	ResourceListSortName           ResourceListSort = "name"
	ResourceListSortUpdatedAt      ResourceListSort = "updated_at"
)

Defines values for ResourceListSort.

func (ResourceListSort) Valid

func (e ResourceListSort) Valid() bool

Valid indicates whether the value is a known member of the ResourceListSort enum.

type ResourceNameFilter

type ResourceNameFilter = string

ResourceNameFilter defines model for ResourceNameFilter.

type RevokeMachineDaemonToken4XXJSONResponse

type RevokeMachineDaemonToken4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (RevokeMachineDaemonToken4XXJSONResponse) VisitRevokeMachineDaemonTokenResponse

func (response RevokeMachineDaemonToken4XXJSONResponse) VisitRevokeMachineDaemonTokenResponse(w http.ResponseWriter) error

type RevokeMachineDaemonToken5XXJSONResponse

type RevokeMachineDaemonToken5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (RevokeMachineDaemonToken5XXJSONResponse) VisitRevokeMachineDaemonTokenResponse

func (response RevokeMachineDaemonToken5XXJSONResponse) VisitRevokeMachineDaemonTokenResponse(w http.ResponseWriter) error

type RevokeMachineDaemonToken200JSONResponse

type RevokeMachineDaemonToken200JSONResponse MachineDaemonToken

func (RevokeMachineDaemonToken200JSONResponse) VisitRevokeMachineDaemonTokenResponse

func (response RevokeMachineDaemonToken200JSONResponse) VisitRevokeMachineDaemonTokenResponse(w http.ResponseWriter) error

type RevokeMachineDaemonToken400JSONResponse

type RevokeMachineDaemonToken400JSONResponse struct{ BadRequestJSONResponse }

func (RevokeMachineDaemonToken400JSONResponse) VisitRevokeMachineDaemonTokenResponse

func (response RevokeMachineDaemonToken400JSONResponse) VisitRevokeMachineDaemonTokenResponse(w http.ResponseWriter) error

type RevokeMachineDaemonToken401JSONResponse

type RevokeMachineDaemonToken401JSONResponse struct{ UnauthorizedJSONResponse }

func (RevokeMachineDaemonToken401JSONResponse) VisitRevokeMachineDaemonTokenResponse

func (response RevokeMachineDaemonToken401JSONResponse) VisitRevokeMachineDaemonTokenResponse(w http.ResponseWriter) error

type RevokeMachineDaemonToken403JSONResponse

type RevokeMachineDaemonToken403JSONResponse struct{ ForbiddenJSONResponse }

func (RevokeMachineDaemonToken403JSONResponse) VisitRevokeMachineDaemonTokenResponse

func (response RevokeMachineDaemonToken403JSONResponse) VisitRevokeMachineDaemonTokenResponse(w http.ResponseWriter) error

type RevokeMachineDaemonToken404JSONResponse

type RevokeMachineDaemonToken404JSONResponse struct{ NotFoundJSONResponse }

func (RevokeMachineDaemonToken404JSONResponse) VisitRevokeMachineDaemonTokenResponse

func (response RevokeMachineDaemonToken404JSONResponse) VisitRevokeMachineDaemonTokenResponse(w http.ResponseWriter) error

type RevokeMachineDaemonToken409JSONResponse

type RevokeMachineDaemonToken409JSONResponse struct{ ConflictJSONResponse }

func (RevokeMachineDaemonToken409JSONResponse) VisitRevokeMachineDaemonTokenResponse

func (response RevokeMachineDaemonToken409JSONResponse) VisitRevokeMachineDaemonTokenResponse(w http.ResponseWriter) error

type RevokeMachineDaemonToken503JSONResponse

type RevokeMachineDaemonToken503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (RevokeMachineDaemonToken503JSONResponse) VisitRevokeMachineDaemonTokenResponse

func (response RevokeMachineDaemonToken503JSONResponse) VisitRevokeMachineDaemonTokenResponse(w http.ResponseWriter) error

type RevokeMachineDaemonTokenRequestObject

type RevokeMachineDaemonTokenRequestObject struct {
	OrgID     string `json:"orgID"`
	MachineID string `json:"machineID"`
	TokenID   string `json:"tokenID"`
}

type RevokeMachineDaemonTokenResponseObject

type RevokeMachineDaemonTokenResponseObject interface {
	VisitRevokeMachineDaemonTokenResponse(w http.ResponseWriter) error
}

type RevokeOrgAPIKey4XXJSONResponse

type RevokeOrgAPIKey4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (RevokeOrgAPIKey4XXJSONResponse) VisitRevokeOrgAPIKeyResponse

func (response RevokeOrgAPIKey4XXJSONResponse) VisitRevokeOrgAPIKeyResponse(w http.ResponseWriter) error

type RevokeOrgAPIKey5XXJSONResponse

type RevokeOrgAPIKey5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (RevokeOrgAPIKey5XXJSONResponse) VisitRevokeOrgAPIKeyResponse

func (response RevokeOrgAPIKey5XXJSONResponse) VisitRevokeOrgAPIKeyResponse(w http.ResponseWriter) error

type RevokeOrgAPIKey200JSONResponse

type RevokeOrgAPIKey200JSONResponse OrgAPIKey

func (RevokeOrgAPIKey200JSONResponse) VisitRevokeOrgAPIKeyResponse

func (response RevokeOrgAPIKey200JSONResponse) VisitRevokeOrgAPIKeyResponse(w http.ResponseWriter) error

type RevokeOrgAPIKey400JSONResponse

type RevokeOrgAPIKey400JSONResponse struct{ BadRequestJSONResponse }

func (RevokeOrgAPIKey400JSONResponse) VisitRevokeOrgAPIKeyResponse

func (response RevokeOrgAPIKey400JSONResponse) VisitRevokeOrgAPIKeyResponse(w http.ResponseWriter) error

type RevokeOrgAPIKey401JSONResponse

type RevokeOrgAPIKey401JSONResponse struct{ UnauthorizedJSONResponse }

func (RevokeOrgAPIKey401JSONResponse) VisitRevokeOrgAPIKeyResponse

func (response RevokeOrgAPIKey401JSONResponse) VisitRevokeOrgAPIKeyResponse(w http.ResponseWriter) error

type RevokeOrgAPIKey403JSONResponse

type RevokeOrgAPIKey403JSONResponse struct{ ForbiddenJSONResponse }

func (RevokeOrgAPIKey403JSONResponse) VisitRevokeOrgAPIKeyResponse

func (response RevokeOrgAPIKey403JSONResponse) VisitRevokeOrgAPIKeyResponse(w http.ResponseWriter) error

type RevokeOrgAPIKey404JSONResponse

type RevokeOrgAPIKey404JSONResponse struct{ NotFoundJSONResponse }

func (RevokeOrgAPIKey404JSONResponse) VisitRevokeOrgAPIKeyResponse

func (response RevokeOrgAPIKey404JSONResponse) VisitRevokeOrgAPIKeyResponse(w http.ResponseWriter) error

type RevokeOrgAPIKey503JSONResponse

type RevokeOrgAPIKey503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (RevokeOrgAPIKey503JSONResponse) VisitRevokeOrgAPIKeyResponse

func (response RevokeOrgAPIKey503JSONResponse) VisitRevokeOrgAPIKeyResponse(w http.ResponseWriter) error

type RevokeOrgAPIKeyRequestObject

type RevokeOrgAPIKeyRequestObject struct {
	OrgID string `json:"orgID"`
	KeyID string `json:"keyID"`
}

type RevokeOrgAPIKeyResponseObject

type RevokeOrgAPIKeyResponseObject interface {
	VisitRevokeOrgAPIKeyResponse(w http.ResponseWriter) error
}

type RevokePersonalAccessToken4XXJSONResponse

type RevokePersonalAccessToken4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (RevokePersonalAccessToken4XXJSONResponse) VisitRevokePersonalAccessTokenResponse

func (response RevokePersonalAccessToken4XXJSONResponse) VisitRevokePersonalAccessTokenResponse(w http.ResponseWriter) error

type RevokePersonalAccessToken5XXJSONResponse

type RevokePersonalAccessToken5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (RevokePersonalAccessToken5XXJSONResponse) VisitRevokePersonalAccessTokenResponse

func (response RevokePersonalAccessToken5XXJSONResponse) VisitRevokePersonalAccessTokenResponse(w http.ResponseWriter) error

type RevokePersonalAccessToken200JSONResponse

type RevokePersonalAccessToken200JSONResponse PersonalAccessToken

func (RevokePersonalAccessToken200JSONResponse) VisitRevokePersonalAccessTokenResponse

func (response RevokePersonalAccessToken200JSONResponse) VisitRevokePersonalAccessTokenResponse(w http.ResponseWriter) error

type RevokePersonalAccessToken400JSONResponse

type RevokePersonalAccessToken400JSONResponse struct{ BadRequestJSONResponse }

func (RevokePersonalAccessToken400JSONResponse) VisitRevokePersonalAccessTokenResponse

func (response RevokePersonalAccessToken400JSONResponse) VisitRevokePersonalAccessTokenResponse(w http.ResponseWriter) error

type RevokePersonalAccessToken401JSONResponse

type RevokePersonalAccessToken401JSONResponse struct{ UnauthorizedJSONResponse }

func (RevokePersonalAccessToken401JSONResponse) VisitRevokePersonalAccessTokenResponse

func (response RevokePersonalAccessToken401JSONResponse) VisitRevokePersonalAccessTokenResponse(w http.ResponseWriter) error

type RevokePersonalAccessToken403JSONResponse

type RevokePersonalAccessToken403JSONResponse struct{ ForbiddenJSONResponse }

func (RevokePersonalAccessToken403JSONResponse) VisitRevokePersonalAccessTokenResponse

func (response RevokePersonalAccessToken403JSONResponse) VisitRevokePersonalAccessTokenResponse(w http.ResponseWriter) error

type RevokePersonalAccessToken404JSONResponse

type RevokePersonalAccessToken404JSONResponse struct{ NotFoundJSONResponse }

func (RevokePersonalAccessToken404JSONResponse) VisitRevokePersonalAccessTokenResponse

func (response RevokePersonalAccessToken404JSONResponse) VisitRevokePersonalAccessTokenResponse(w http.ResponseWriter) error

type RevokePersonalAccessToken503JSONResponse

type RevokePersonalAccessToken503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (RevokePersonalAccessToken503JSONResponse) VisitRevokePersonalAccessTokenResponse

func (response RevokePersonalAccessToken503JSONResponse) VisitRevokePersonalAccessTokenResponse(w http.ResponseWriter) error

type RevokePersonalAccessTokenRequestObject

type RevokePersonalAccessTokenRequestObject struct {
	TokenID string `json:"tokenID"`
}

type RevokePersonalAccessTokenResponseObject

type RevokePersonalAccessTokenResponseObject interface {
	VisitRevokePersonalAccessTokenResponse(w http.ResponseWriter) error
}

type Secret

type Secret struct {
	CreatedAt            Timestamp  `json:"created_at"`
	CurrentVersionNumber int32      `json:"current_version_number"`
	Id                   SecretID   `json:"id"`
	Kind                 SecretKind `json:"kind"`

	// ManagementKind Lifecycle owner. Tenant-managed resources can be changed through tenant APIs; cluster-managed resources are installed by the control plane and are read-only through tenant lifecycle APIs.
	ManagementKind ManagementKind `json:"management_kind"`

	// Metadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters.
	Metadata    Metadata       `json:"metadata"`
	Name        string         `json:"name"`
	OrgId       OrganizationID `json:"org_id"`
	Owner       SecretOwner    `json:"owner"`
	PayloadKeys []string       `json:"payload_keys"`
	UpdatedAt   Timestamp      `json:"updated_at"`
}

Secret defines model for Secret.

type SecretAvailability

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

SecretAvailability defines model for SecretAvailability.

func (SecretAvailability) AsDirectSecretAvailability

func (t SecretAvailability) AsDirectSecretAvailability() (DirectSecretAvailability, error)

AsDirectSecretAvailability returns the union data inside the SecretAvailability as a DirectSecretAvailability

func (SecretAvailability) AsGrantedSecretAvailability

func (t SecretAvailability) AsGrantedSecretAvailability() (GrantedSecretAvailability, error)

AsGrantedSecretAvailability returns the union data inside the SecretAvailability as a GrantedSecretAvailability

func (SecretAvailability) Discriminator

func (t SecretAvailability) Discriminator() (string, error)

func (*SecretAvailability) FromDirectSecretAvailability

func (t *SecretAvailability) FromDirectSecretAvailability(v DirectSecretAvailability) error

FromDirectSecretAvailability overwrites any union data inside the SecretAvailability as the provided DirectSecretAvailability

func (*SecretAvailability) FromGrantedSecretAvailability

func (t *SecretAvailability) FromGrantedSecretAvailability(v GrantedSecretAvailability) error

FromGrantedSecretAvailability overwrites any union data inside the SecretAvailability as the provided GrantedSecretAvailability

func (SecretAvailability) MarshalJSON

func (t SecretAvailability) MarshalJSON() ([]byte, error)

func (*SecretAvailability) MergeDirectSecretAvailability

func (t *SecretAvailability) MergeDirectSecretAvailability(v DirectSecretAvailability) error

MergeDirectSecretAvailability performs a merge with any union data inside the SecretAvailability, using the provided DirectSecretAvailability

func (*SecretAvailability) MergeGrantedSecretAvailability

func (t *SecretAvailability) MergeGrantedSecretAvailability(v GrantedSecretAvailability) error

MergeGrantedSecretAvailability performs a merge with any union data inside the SecretAvailability, using the provided GrantedSecretAvailability

func (*SecretAvailability) UnmarshalJSON

func (t *SecretAvailability) UnmarshalJSON(b []byte) error

func (SecretAvailability) ValueByDiscriminator

func (t SecretAvailability) ValueByDiscriminator() (interface{}, error)

type SecretAvailabilitySourceFilter

type SecretAvailabilitySourceFilter string

SecretAvailabilitySourceFilter defines model for SecretAvailabilitySourceFilter.

const (
	SecretAvailabilitySourceFilterDirect SecretAvailabilitySourceFilter = "direct"
	SecretAvailabilitySourceFilterGrant  SecretAvailabilitySourceFilter = "grant"
)

Defines values for SecretAvailabilitySourceFilter.

func (SecretAvailabilitySourceFilter) Valid

Valid indicates whether the value is a known member of the SecretAvailabilitySourceFilter enum.

type SecretGrant

type SecretGrant struct {
	CreatedAt       Timestamp      `json:"created_at"`
	Id              SecretGrantID  `json:"id"`
	OrgId           OrganizationID `json:"org_id"`
	SecretId        SecretID       `json:"secret_id"`
	TargetProjectId ProjectID      `json:"target_project_id"`
}

SecretGrant defines model for SecretGrant.

type SecretGrantCreateRequest

type SecretGrantCreateRequest struct {
	TargetProjectId ProjectID `json:"target_project_id"`
}

SecretGrantCreateRequest defines model for SecretGrantCreateRequest.

type SecretGrantID

type SecretGrantID = string

SecretGrantID defines model for SecretGrantID.

type SecretGrantListItem

type SecretGrantListItem struct {
	Grant         SecretGrant `json:"grant"`
	TargetProject Project     `json:"target_project"`
}

SecretGrantListItem defines model for SecretGrantListItem.

type SecretID

type SecretID = string

SecretID defines model for SecretID.

type SecretKind

type SecretKind string

SecretKind defines model for SecretKind.

const (
	SecretKindAWSCredentials      SecretKind = "aws_credentials"
	SecretKindGeneric             SecretKind = "generic"
	SecretKindOAuthTokenSet       SecretKind = "oauth_token_set"
	SecretKindSlackAppCredentials SecretKind = "slack_app_credentials"
)

Defines values for SecretKind.

func (SecretKind) Valid

func (e SecretKind) Valid() bool

Valid indicates whether the value is a known member of the SecretKind enum.

type SecretMaterial

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

SecretMaterial defines model for SecretMaterial.

func (SecretMaterial) AsAWSCredentialsSecretMaterial

func (t SecretMaterial) AsAWSCredentialsSecretMaterial() (AWSCredentialsSecretMaterial, error)

AsAWSCredentialsSecretMaterial returns the union data inside the SecretMaterial as a AWSCredentialsSecretMaterial

func (SecretMaterial) AsGenericSecretMaterial

func (t SecretMaterial) AsGenericSecretMaterial() (GenericSecretMaterial, error)

AsGenericSecretMaterial returns the union data inside the SecretMaterial as a GenericSecretMaterial

func (SecretMaterial) AsOAuthTokenSetSecretMaterial

func (t SecretMaterial) AsOAuthTokenSetSecretMaterial() (OAuthTokenSetSecretMaterial, error)

AsOAuthTokenSetSecretMaterial returns the union data inside the SecretMaterial as a OAuthTokenSetSecretMaterial

func (SecretMaterial) Discriminator

func (t SecretMaterial) Discriminator() (string, error)

func (*SecretMaterial) FromAWSCredentialsSecretMaterial

func (t *SecretMaterial) FromAWSCredentialsSecretMaterial(v AWSCredentialsSecretMaterial) error

FromAWSCredentialsSecretMaterial overwrites any union data inside the SecretMaterial as the provided AWSCredentialsSecretMaterial

func (*SecretMaterial) FromGenericSecretMaterial

func (t *SecretMaterial) FromGenericSecretMaterial(v GenericSecretMaterial) error

FromGenericSecretMaterial overwrites any union data inside the SecretMaterial as the provided GenericSecretMaterial

func (*SecretMaterial) FromOAuthTokenSetSecretMaterial

func (t *SecretMaterial) FromOAuthTokenSetSecretMaterial(v OAuthTokenSetSecretMaterial) error

FromOAuthTokenSetSecretMaterial overwrites any union data inside the SecretMaterial as the provided OAuthTokenSetSecretMaterial

func (SecretMaterial) MarshalJSON

func (t SecretMaterial) MarshalJSON() ([]byte, error)

func (*SecretMaterial) MergeAWSCredentialsSecretMaterial

func (t *SecretMaterial) MergeAWSCredentialsSecretMaterial(v AWSCredentialsSecretMaterial) error

MergeAWSCredentialsSecretMaterial performs a merge with any union data inside the SecretMaterial, using the provided AWSCredentialsSecretMaterial

func (*SecretMaterial) MergeGenericSecretMaterial

func (t *SecretMaterial) MergeGenericSecretMaterial(v GenericSecretMaterial) error

MergeGenericSecretMaterial performs a merge with any union data inside the SecretMaterial, using the provided GenericSecretMaterial

func (*SecretMaterial) MergeOAuthTokenSetSecretMaterial

func (t *SecretMaterial) MergeOAuthTokenSetSecretMaterial(v OAuthTokenSetSecretMaterial) error

MergeOAuthTokenSetSecretMaterial performs a merge with any union data inside the SecretMaterial, using the provided OAuthTokenSetSecretMaterial

func (*SecretMaterial) UnmarshalJSON

func (t *SecretMaterial) UnmarshalJSON(b []byte) error

func (SecretMaterial) ValueByDiscriminator

func (t SecretMaterial) ValueByDiscriminator() (interface{}, error)

type SecretMetadataFilter

type SecretMetadataFilter map[string]string

SecretMetadataFilter defines model for SecretMetadataFilter.

type SecretOwner

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

SecretOwner defines model for SecretOwner.

func (SecretOwner) AsOrgSecretOwner

func (t SecretOwner) AsOrgSecretOwner() (OrgSecretOwner, error)

AsOrgSecretOwner returns the union data inside the SecretOwner as a OrgSecretOwner

func (SecretOwner) AsProjectSecretOwner

func (t SecretOwner) AsProjectSecretOwner() (ProjectSecretOwner, error)

AsProjectSecretOwner returns the union data inside the SecretOwner as a ProjectSecretOwner

func (SecretOwner) AsUserSecretOwner

func (t SecretOwner) AsUserSecretOwner() (UserSecretOwner, error)

AsUserSecretOwner returns the union data inside the SecretOwner as a UserSecretOwner

func (SecretOwner) Discriminator

func (t SecretOwner) Discriminator() (string, error)

func (*SecretOwner) FromOrgSecretOwner

func (t *SecretOwner) FromOrgSecretOwner(v OrgSecretOwner) error

FromOrgSecretOwner overwrites any union data inside the SecretOwner as the provided OrgSecretOwner

func (*SecretOwner) FromProjectSecretOwner

func (t *SecretOwner) FromProjectSecretOwner(v ProjectSecretOwner) error

FromProjectSecretOwner overwrites any union data inside the SecretOwner as the provided ProjectSecretOwner

func (*SecretOwner) FromUserSecretOwner

func (t *SecretOwner) FromUserSecretOwner(v UserSecretOwner) error

FromUserSecretOwner overwrites any union data inside the SecretOwner as the provided UserSecretOwner

func (SecretOwner) MarshalJSON

func (t SecretOwner) MarshalJSON() ([]byte, error)

func (*SecretOwner) MergeOrgSecretOwner

func (t *SecretOwner) MergeOrgSecretOwner(v OrgSecretOwner) error

MergeOrgSecretOwner performs a merge with any union data inside the SecretOwner, using the provided OrgSecretOwner

func (*SecretOwner) MergeProjectSecretOwner

func (t *SecretOwner) MergeProjectSecretOwner(v ProjectSecretOwner) error

MergeProjectSecretOwner performs a merge with any union data inside the SecretOwner, using the provided ProjectSecretOwner

func (*SecretOwner) MergeUserSecretOwner

func (t *SecretOwner) MergeUserSecretOwner(v UserSecretOwner) error

MergeUserSecretOwner performs a merge with any union data inside the SecretOwner, using the provided UserSecretOwner

func (*SecretOwner) UnmarshalJSON

func (t *SecretOwner) UnmarshalJSON(b []byte) error

func (SecretOwner) ValueByDiscriminator

func (t SecretOwner) ValueByDiscriminator() (interface{}, error)

type SecretOwnerInput

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

SecretOwnerInput defines model for SecretOwnerInput.

func (SecretOwnerInput) AsOrgSecretOwnerInput

func (t SecretOwnerInput) AsOrgSecretOwnerInput() (OrgSecretOwnerInput, error)

AsOrgSecretOwnerInput returns the union data inside the SecretOwnerInput as a OrgSecretOwnerInput

func (SecretOwnerInput) AsProjectSecretOwnerInput

func (t SecretOwnerInput) AsProjectSecretOwnerInput() (ProjectSecretOwnerInput, error)

AsProjectSecretOwnerInput returns the union data inside the SecretOwnerInput as a ProjectSecretOwnerInput

func (SecretOwnerInput) AsUserSecretOwnerInput

func (t SecretOwnerInput) AsUserSecretOwnerInput() (UserSecretOwnerInput, error)

AsUserSecretOwnerInput returns the union data inside the SecretOwnerInput as a UserSecretOwnerInput

func (SecretOwnerInput) Discriminator

func (t SecretOwnerInput) Discriminator() (string, error)

func (*SecretOwnerInput) FromOrgSecretOwnerInput

func (t *SecretOwnerInput) FromOrgSecretOwnerInput(v OrgSecretOwnerInput) error

FromOrgSecretOwnerInput overwrites any union data inside the SecretOwnerInput as the provided OrgSecretOwnerInput

func (*SecretOwnerInput) FromProjectSecretOwnerInput

func (t *SecretOwnerInput) FromProjectSecretOwnerInput(v ProjectSecretOwnerInput) error

FromProjectSecretOwnerInput overwrites any union data inside the SecretOwnerInput as the provided ProjectSecretOwnerInput

func (*SecretOwnerInput) FromUserSecretOwnerInput

func (t *SecretOwnerInput) FromUserSecretOwnerInput(v UserSecretOwnerInput) error

FromUserSecretOwnerInput overwrites any union data inside the SecretOwnerInput as the provided UserSecretOwnerInput

func (SecretOwnerInput) MarshalJSON

func (t SecretOwnerInput) MarshalJSON() ([]byte, error)

func (*SecretOwnerInput) MergeOrgSecretOwnerInput

func (t *SecretOwnerInput) MergeOrgSecretOwnerInput(v OrgSecretOwnerInput) error

MergeOrgSecretOwnerInput performs a merge with any union data inside the SecretOwnerInput, using the provided OrgSecretOwnerInput

func (*SecretOwnerInput) MergeProjectSecretOwnerInput

func (t *SecretOwnerInput) MergeProjectSecretOwnerInput(v ProjectSecretOwnerInput) error

MergeProjectSecretOwnerInput performs a merge with any union data inside the SecretOwnerInput, using the provided ProjectSecretOwnerInput

func (*SecretOwnerInput) MergeUserSecretOwnerInput

func (t *SecretOwnerInput) MergeUserSecretOwnerInput(v UserSecretOwnerInput) error

MergeUserSecretOwnerInput performs a merge with any union data inside the SecretOwnerInput, using the provided UserSecretOwnerInput

func (*SecretOwnerInput) UnmarshalJSON

func (t *SecretOwnerInput) UnmarshalJSON(b []byte) error

func (SecretOwnerInput) ValueByDiscriminator

func (t SecretOwnerInput) ValueByDiscriminator() (interface{}, error)

type SecretOwnerKindFilter

type SecretOwnerKindFilter string

SecretOwnerKindFilter defines model for SecretOwnerKindFilter.

const (
	SecretOwnerKindFilterOrg     SecretOwnerKindFilter = "org"
	SecretOwnerKindFilterProject SecretOwnerKindFilter = "project"
	SecretOwnerKindFilterUser    SecretOwnerKindFilter = "user"
)

Defines values for SecretOwnerKindFilter.

func (SecretOwnerKindFilter) Valid

func (e SecretOwnerKindFilter) Valid() bool

Valid indicates whether the value is a known member of the SecretOwnerKindFilter enum.

type SecretOwnerProjectIDFilter

type SecretOwnerProjectIDFilter = ProjectID

SecretOwnerProjectIDFilter defines model for SecretOwnerProjectIDFilter.

type SecretVersionRequest

type SecretVersionRequest struct {
	Material SecretMaterial `json:"material"`
}

SecretVersionRequest defines model for SecretVersionRequest.

type ServeMux

type ServeMux interface {
	HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
	http.Handler
}

ServeMux is an abstraction of http.ServeMux.

type ServerError

type ServerError struct {
	// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
	Code ServerErrorCode `json:"code"`

	// Error Human-readable error message. Do not match on it programmatically.
	Error string `json:"error"`
}

ServerError defines model for ServerError.

type ServerErrorCode

type ServerErrorCode string

ServerErrorCode Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.

const (
	ServerErrorCodeAuthenticationUnavailable ServerErrorCode = "authentication_unavailable"
	ServerErrorCodeInternalError             ServerErrorCode = "internal_error"
	ServerErrorCodeServiceUnavailable        ServerErrorCode = "service_unavailable"
	ServerErrorCodeUpstreamError             ServerErrorCode = "upstream_error"
)

Defines values for ServerErrorCode.

func (ServerErrorCode) Valid

func (e ServerErrorCode) Valid() bool

Valid indicates whether the value is a known member of the ServerErrorCode enum.

type ServerErrorJSONResponse

type ServerErrorJSONResponse struct {
	// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
	Code ServerErrorCode `json:"code"`

	// Error Human-readable error message. Do not match on it programmatically.
	Error string `json:"error"`
}

type ServerInterface

type ServerInterface interface {
	// BootstrapDaemon Bootstrap daemon
	// (POST /api/v1/daemon/bootstrap)
	BootstrapDaemon(w http.ResponseWriter, r *http.Request)
	// RecordMachineFailure Record machine failure
	// (POST /api/v1/daemon/failures)
	RecordMachineFailure(w http.ResponseWriter, r *http.Request, params RecordMachineFailureParams)
	// RegisterMachineDaemonRuntime Register machine daemon runtime
	// (POST /api/v1/daemon/runtimes)
	RegisterMachineDaemonRuntime(w http.ResponseWriter, r *http.Request)
	// EndMachineDaemonRuntime End machine daemon runtime
	// (POST /api/v1/daemon/runtimes/{runtimeID}/end)
	EndMachineDaemonRuntime(w http.ResponseWriter, r *http.Request, runtimeID string)
	// SleepMachineDaemonRuntime Sleep machine daemon runtime
	// (POST /api/v1/daemon/runtimes/{runtimeID}/sleep)
	SleepMachineDaemonRuntime(w http.ResponseWriter, r *http.Request, runtimeID string)
	// SocketMachineDaemonRuntime Socket machine daemon runtime
	// (GET /api/v1/daemon/runtimes/{runtimeID}/socket)
	SocketMachineDaemonRuntime(w http.ResponseWriter, r *http.Request, runtimeID string)
	// GetDaemonSkillArchive Get daemon skill archive
	// (GET /api/v1/daemon/skills/{skillID}/archive)
	GetDaemonSkillArchive(w http.ResponseWriter, r *http.Request, skillID string, params GetDaemonSkillArchiveParams)
	// ListPendingInvitations List pending invitations
	// (GET /api/v1/invitations)
	ListPendingInvitations(w http.ResponseWriter, r *http.Request, params ListPendingInvitationsParams)
	// AcceptInvitation Accept invitation
	// (POST /api/v1/invitations/{invitationID}/accept)
	AcceptInvitation(w http.ResponseWriter, r *http.Request, invitationID string)
	// DeclineInvitation Decline invitation
	// (POST /api/v1/invitations/{invitationID}/decline)
	DeclineInvitation(w http.ResponseWriter, r *http.Request, invitationID string)
	// DeleteCurrentUser Delete the authenticated user's account
	// (DELETE /api/v1/me)
	DeleteCurrentUser(w http.ResponseWriter, r *http.Request)
	// GetCurrentUser Get the authenticated user and their organizations
	// (GET /api/v1/me)
	GetCurrentUser(w http.ResponseWriter, r *http.Request)
	// CreateOrganization Create organization
	// (POST /api/v1/orgs)
	CreateOrganization(w http.ResponseWriter, r *http.Request, params CreateOrganizationParams)
	// DeleteOrganization Delete organization
	// (DELETE /api/v1/orgs/{orgID})
	DeleteOrganization(w http.ResponseWriter, r *http.Request, orgID string)
	// ListOrgAPIKeys List org API keys
	// (GET /api/v1/orgs/{orgID}/api-keys)
	ListOrgAPIKeys(w http.ResponseWriter, r *http.Request, orgID string, params ListOrgAPIKeysParams)
	// CreateOrgAPIKey Create org API key
	// (POST /api/v1/orgs/{orgID}/api-keys)
	CreateOrgAPIKey(w http.ResponseWriter, r *http.Request, orgID string)
	// GetOrgAPIKey Get an org API key
	// (GET /api/v1/orgs/{orgID}/api-keys/{keyID})
	GetOrgAPIKey(w http.ResponseWriter, r *http.Request, orgID string, keyID string)
	// UpdateOrgAPIKey Update an org API key
	// (PATCH /api/v1/orgs/{orgID}/api-keys/{keyID})
	UpdateOrgAPIKey(w http.ResponseWriter, r *http.Request, orgID string, keyID string)
	// ListOrgAPIKeyProjectAccess List an org API key's explicit project role grants
	// (GET /api/v1/orgs/{orgID}/api-keys/{keyID}/projects)
	ListOrgAPIKeyProjectAccess(w http.ResponseWriter, r *http.Request, orgID string, keyID string)
	// RemoveOrgAPIKeyProjectRole Remove an org API key's project role grant
	// (DELETE /api/v1/orgs/{orgID}/api-keys/{keyID}/projects/{projectID})
	RemoveOrgAPIKeyProjectRole(w http.ResponseWriter, r *http.Request, orgID string, keyID string, projectID string)
	// SetOrgAPIKeyProjectRole Set an org API key's role on a project
	// (PUT /api/v1/orgs/{orgID}/api-keys/{keyID}/projects/{projectID})
	SetOrgAPIKeyProjectRole(w http.ResponseWriter, r *http.Request, orgID string, keyID string, projectID string)
	// RevokeOrgAPIKey Revoke an org API key
	// (POST /api/v1/orgs/{orgID}/api-keys/{keyID}/revoke)
	RevokeOrgAPIKey(w http.ResponseWriter, r *http.Request, orgID string, keyID string)
	// ListOrgInvitations List org invitations
	// (GET /api/v1/orgs/{orgID}/invitations)
	ListOrgInvitations(w http.ResponseWriter, r *http.Request, orgID string, params ListOrgInvitationsParams)
	// CreateOrgInvitation Create org invitation
	// (POST /api/v1/orgs/{orgID}/invitations)
	CreateOrgInvitation(w http.ResponseWriter, r *http.Request, orgID string)
	// DeleteOrgInvitation Delete org invitation
	// (DELETE /api/v1/orgs/{orgID}/invitations/{invitationID})
	DeleteOrgInvitation(w http.ResponseWriter, r *http.Request, orgID string, invitationID string)
	// ListMachinePools List machine pools
	// (GET /api/v1/orgs/{orgID}/machine-pools)
	ListMachinePools(w http.ResponseWriter, r *http.Request, orgID string, params ListMachinePoolsParams)
	// CreateMachinePool Create machine pool
	// (POST /api/v1/orgs/{orgID}/machine-pools)
	CreateMachinePool(w http.ResponseWriter, r *http.Request, orgID string)
	// DeleteMachinePool Delete machine pool
	// (DELETE /api/v1/orgs/{orgID}/machine-pools/{poolID})
	DeleteMachinePool(w http.ResponseWriter, r *http.Request, orgID string, poolID string)
	// GetMachinePool Get machine pool
	// (GET /api/v1/orgs/{orgID}/machine-pools/{poolID})
	GetMachinePool(w http.ResponseWriter, r *http.Request, orgID string, poolID string)
	// UpdateMachinePool Update machine pool
	// (PUT /api/v1/orgs/{orgID}/machine-pools/{poolID})
	UpdateMachinePool(w http.ResponseWriter, r *http.Request, orgID string, poolID string)
	// ListVisibleMachines List visible machines
	// (GET /api/v1/orgs/{orgID}/machines)
	ListVisibleMachines(w http.ResponseWriter, r *http.Request, orgID string, params ListVisibleMachinesParams)
	// CreateMachine Create machine
	// (POST /api/v1/orgs/{orgID}/machines)
	CreateMachine(w http.ResponseWriter, r *http.Request, orgID string, params CreateMachineParams)
	// DeleteMachine Delete machine
	// (DELETE /api/v1/orgs/{orgID}/machines/{machineID})
	DeleteMachine(w http.ResponseWriter, r *http.Request, orgID string, machineID string)
	// GetMachine Get machine
	// (GET /api/v1/orgs/{orgID}/machines/{machineID})
	GetMachine(w http.ResponseWriter, r *http.Request, orgID string, machineID string)
	// UpdateMachine Update machine execution defaults
	// (PATCH /api/v1/orgs/{orgID}/machines/{machineID})
	UpdateMachine(w http.ResponseWriter, r *http.Request, orgID string, machineID string)
	// ListBYOMachineDaemonTokens List byo machine daemon tokens
	// (GET /api/v1/orgs/{orgID}/machines/{machineID}/daemon-tokens)
	ListBYOMachineDaemonTokens(w http.ResponseWriter, r *http.Request, orgID string, machineID string, params ListBYOMachineDaemonTokensParams)
	// CreateBYOMachineDaemonToken Create byo machine daemon token
	// (POST /api/v1/orgs/{orgID}/machines/{machineID}/daemon-tokens)
	CreateBYOMachineDaemonToken(w http.ResponseWriter, r *http.Request, orgID string, machineID string)
	// RevokeMachineDaemonToken Revoke machine daemon token
	// (POST /api/v1/orgs/{orgID}/machines/{machineID}/daemon-tokens/{tokenID}/revoke)
	RevokeMachineDaemonToken(w http.ResponseWriter, r *http.Request, orgID string, machineID string, tokenID string)
	// ListOrgMembers List organization members
	// (GET /api/v1/orgs/{orgID}/members)
	ListOrgMembers(w http.ResponseWriter, r *http.Request, orgID string, params ListOrgMembersParams)
	// RemoveOrgMember Remove org member
	// (DELETE /api/v1/orgs/{orgID}/members/{userID})
	RemoveOrgMember(w http.ResponseWriter, r *http.Request, orgID string, userID string)
	// UpdateOrgMember Update org member role
	// (PATCH /api/v1/orgs/{orgID}/members/{userID})
	UpdateOrgMember(w http.ResponseWriter, r *http.Request, orgID string, userID string)
	// ListMemberProjectAccess List a member's explicit project role grants
	// (GET /api/v1/orgs/{orgID}/members/{userID}/projects)
	ListMemberProjectAccess(w http.ResponseWriter, r *http.Request, orgID string, userID string)
	// RemoveMemberProjectAccess Remove a member's project role grant
	// (DELETE /api/v1/orgs/{orgID}/members/{userID}/projects/{projectID})
	RemoveMemberProjectAccess(w http.ResponseWriter, r *http.Request, orgID string, userID string, projectID string)
	// SetMemberProjectAccess Set a member's role on a project
	// (PUT /api/v1/orgs/{orgID}/members/{userID}/projects/{projectID})
	SetMemberProjectAccess(w http.ResponseWriter, r *http.Request, orgID string, userID string, projectID string)
	// ListModelProviderConfigs List model provider configs
	// (GET /api/v1/orgs/{orgID}/model-provider-configs)
	ListModelProviderConfigs(w http.ResponseWriter, r *http.Request, orgID string, params ListModelProviderConfigsParams)
	// CreateModelProviderConfig Create model provider config
	// (POST /api/v1/orgs/{orgID}/model-provider-configs)
	CreateModelProviderConfig(w http.ResponseWriter, r *http.Request, orgID string)
	// DeleteModelProviderConfig Delete model provider config
	// (DELETE /api/v1/orgs/{orgID}/model-provider-configs/{modelProviderConfigID})
	DeleteModelProviderConfig(w http.ResponseWriter, r *http.Request, orgID string, modelProviderConfigID string)
	// GetModelProviderConfig Get model provider config
	// (GET /api/v1/orgs/{orgID}/model-provider-configs/{modelProviderConfigID})
	GetModelProviderConfig(w http.ResponseWriter, r *http.Request, orgID string, modelProviderConfigID string)
	// UpdateModelProviderConfig Update model provider config
	// (PUT /api/v1/orgs/{orgID}/model-provider-configs/{modelProviderConfigID})
	UpdateModelProviderConfig(w http.ResponseWriter, r *http.Request, orgID string, modelProviderConfigID string)
	// ListConfiguredModels List configured models
	// (GET /api/v1/orgs/{orgID}/model-provider-configs/{modelProviderConfigID}/models)
	ListConfiguredModels(w http.ResponseWriter, r *http.Request, orgID string, modelProviderConfigID string, params ListConfiguredModelsParams)
	// CreateConfiguredModel Create configured model
	// (POST /api/v1/orgs/{orgID}/model-provider-configs/{modelProviderConfigID}/models)
	CreateConfiguredModel(w http.ResponseWriter, r *http.Request, orgID string, modelProviderConfigID string)
	// DeleteConfiguredModel Delete configured model
	// (DELETE /api/v1/orgs/{orgID}/model-provider-configs/{modelProviderConfigID}/models/{configuredModelID})
	DeleteConfiguredModel(w http.ResponseWriter, r *http.Request, orgID string, modelProviderConfigID string, configuredModelID string)
	// UpdateConfiguredModel Update configured model
	// (PUT /api/v1/orgs/{orgID}/model-provider-configs/{modelProviderConfigID}/models/{configuredModelID})
	UpdateConfiguredModel(w http.ResponseWriter, r *http.Request, orgID string, modelProviderConfigID string, configuredModelID string)
	// ListVisibleProjects List visible projects
	// (GET /api/v1/orgs/{orgID}/projects)
	ListVisibleProjects(w http.ResponseWriter, r *http.Request, orgID string, params ListVisibleProjectsParams)
	// CreateProject Create project
	// (POST /api/v1/orgs/{orgID}/projects)
	CreateProject(w http.ResponseWriter, r *http.Request, orgID string, params CreateProjectParams)
	// DeleteProject Delete project
	// (DELETE /api/v1/orgs/{orgID}/projects/{projectID})
	DeleteProject(w http.ResponseWriter, r *http.Request, orgID string, projectID string)
	// ListActors List project actors
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/actors)
	ListActors(w http.ResponseWriter, r *http.Request, orgID string, projectID string, params ListActorsParams)
	// PutActor Upsert an external actor
	// (PUT /api/v1/orgs/{orgID}/projects/{projectID}/actors)
	PutActor(w http.ResponseWriter, r *http.Request, orgID string, projectID string)
	// GetActor Get a project actor
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/actors/{actorID})
	GetActor(w http.ResponseWriter, r *http.Request, orgID string, projectID string, actorID string)
	// CreateAgentConfig Create agent config
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agent-configs)
	CreateAgentConfig(w http.ResponseWriter, r *http.Request, orgID string, projectID string)
	// GetAgentConfig Get agent config
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agent-configs/{agentConfigID})
	GetAgentConfig(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentConfigID string)
	// ListAgentProfiles List agent profiles
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agent-profiles)
	ListAgentProfiles(w http.ResponseWriter, r *http.Request, orgID string, projectID string, params ListAgentProfilesParams)
	// CreateAgentProfile Create agent profile
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agent-profiles)
	CreateAgentProfile(w http.ResponseWriter, r *http.Request, orgID string, projectID string, params CreateAgentProfileParams)
	// DeleteAgentProfile Delete agent profile
	// (DELETE /api/v1/orgs/{orgID}/projects/{projectID}/agent-profiles/{agentProfileID})
	DeleteAgentProfile(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentProfileID string)
	// GetAgentProfile Get agent profile
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agent-profiles/{agentProfileID})
	GetAgentProfile(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentProfileID string)
	// UpdateAgentProfile Update agent profile
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agent-profiles/{agentProfileID}/config)
	UpdateAgentProfile(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentProfileID string, params UpdateAgentProfileParams)
	// CreateIntegrationOAuthSetup Create integration OAuth setup
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agent-profiles/{agentProfileID}/integration-oauth/setup)
	CreateIntegrationOAuthSetup(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentProfileID string)
	// CreateSlackSetup Create Slack app and OAuth setup
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agent-profiles/{agentProfileID}/slack-setup)
	CreateSlackSetup(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentProfileID string)
	// ListAgents List agents
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agents)
	ListAgents(w http.ResponseWriter, r *http.Request, orgID string, projectID string, params ListAgentsParams)
	// CreateAgent Create agent
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agents)
	CreateAgent(w http.ResponseWriter, r *http.Request, orgID string, projectID string, params CreateAgentParams)
	// GetAgent Get agent
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID})
	GetAgent(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentID string)
	// ArchiveAgent Archive agent
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/archive)
	ArchiveAgent(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentID string)
	// GetArtifact Get artifact
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/artifacts/{artifactID})
	GetArtifact(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentID string, artifactID string)
	// GetArtifactContent Get artifact content
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/artifacts/{artifactID}/content)
	GetArtifactContent(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentID string, artifactID string)
	// CancelAgent Cancel agent
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/cancel)
	CancelAgent(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentID string)
	// UpdateAgentConfig Update agent config
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/config)
	UpdateAgentConfig(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentID string, params UpdateAgentConfigParams)
	// ListEvents List events
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/events)
	ListEvents(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentID string, params ListEventsParams)
	// StreamEvents Stream events
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/events/stream)
	StreamEvents(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentID string, params StreamEventsParams)
	// CreateAgentInput Create agent input
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/inputs)
	CreateAgentInput(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentID string, params CreateAgentInputParams)
	// ListQueuedBacklogInputs List queued backlog inputs
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/inputs/backlog)
	ListQueuedBacklogInputs(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentID string, params ListQueuedBacklogInputsParams)
	// CancelQueuedBacklogInput Cancel queued backlog input
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/inputs/{inputID}/cancel)
	CancelQueuedBacklogInput(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentID string, inputID string)
	// DemoteSteeringInputToQueued Demote steering input to queued
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/inputs/{inputID}/demote_to_queued)
	DemoteSteeringInputToQueued(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentID string, inputID string)
	// MoveQueuedBacklogInput Move queued backlog input
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/inputs/{inputID}/move)
	MoveQueuedBacklogInput(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentID string, inputID string)
	// PromoteQueuedInputToSteering Promote queued input to steering
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/inputs/{inputID}/promote_to_steering)
	PromoteQueuedInputToSteering(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentID string, inputID string)
	// ListAgentInteractions List agent interactions
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/interactions)
	ListAgentInteractions(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentID string, params ListAgentInteractionsParams)
	// ResolveAgentInteraction Resolve agent interaction
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/interactions/{interactionID}/resolve)
	ResolveAgentInteraction(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentID string, interactionID string)
	// ListToolCalls List tool calls
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/tool-calls)
	ListToolCalls(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentID string, params ListToolCallsParams)
	// SubmitToolCallResult Submit a result for a ready custom tool call
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/tool-calls/{toolCallID}/result)
	SubmitToolCallResult(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentID string, toolCallID ToolCallID)
	// ListTurns List turns
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/turns)
	ListTurns(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentID string, params ListTurnsParams)
	// ListTurnEvents List turn events
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/turns/{turnID}/events)
	ListTurnEvents(w http.ResponseWriter, r *http.Request, orgID string, projectID string, agentID string, turnID string, params ListTurnEventsParams)
	// ListIntegrationInstalls List integration installs
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/integration-installs)
	ListIntegrationInstalls(w http.ResponseWriter, r *http.Request, orgID string, projectID string, params ListIntegrationInstallsParams)
	// DeleteIntegrationInstall Delete integration install
	// (DELETE /api/v1/orgs/{orgID}/projects/{projectID}/integration-installs/{integrationInstallID})
	DeleteIntegrationInstall(w http.ResponseWriter, r *http.Request, orgID string, projectID string, integrationInstallID string)
	// ListProjectMachineGrants List project machine grants
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/machine-grants)
	ListProjectMachineGrants(w http.ResponseWriter, r *http.Request, orgID string, projectID string, params ListProjectMachineGrantsParams)
	// CreateProjectMachineGrant Create project machine grant
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/machine-grants)
	CreateProjectMachineGrant(w http.ResponseWriter, r *http.Request, orgID string, projectID string, params CreateProjectMachineGrantParams)
	// DeleteProjectMachineGrant Delete project machine grant
	// (DELETE /api/v1/orgs/{orgID}/projects/{projectID}/machine-grants/{grantID})
	DeleteProjectMachineGrant(w http.ResponseWriter, r *http.Request, orgID string, projectID string, grantID string)
	// ListProjectMachinePoolGrants List project machine pool grants
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/machine-pool-grants)
	ListProjectMachinePoolGrants(w http.ResponseWriter, r *http.Request, orgID string, projectID string, params ListProjectMachinePoolGrantsParams)
	// CreateProjectMachinePoolGrant Create project machine pool grant
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/machine-pool-grants)
	CreateProjectMachinePoolGrant(w http.ResponseWriter, r *http.Request, orgID string, projectID string, params CreateProjectMachinePoolGrantParams)
	// DeleteProjectMachinePoolGrant Delete project machine pool grant
	// (DELETE /api/v1/orgs/{orgID}/projects/{projectID}/machine-pool-grants/{poolGrantID})
	DeleteProjectMachinePoolGrant(w http.ResponseWriter, r *http.Request, orgID string, projectID string, poolGrantID string)
	// GetProjectMachinePoolGrant Get project machine pool grant
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/machine-pool-grants/{poolGrantID})
	GetProjectMachinePoolGrant(w http.ResponseWriter, r *http.Request, orgID string, projectID string, poolGrantID string)
	// UpdateProjectMachinePoolGrant Update project machine pool grant
	// (PATCH /api/v1/orgs/{orgID}/projects/{projectID}/machine-pool-grants/{poolGrantID})
	UpdateProjectMachinePoolGrant(w http.ResponseWriter, r *http.Request, orgID string, projectID string, poolGrantID string)
	// ListVisibleProjectMachines List visible project machines
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/machines)
	ListVisibleProjectMachines(w http.ResponseWriter, r *http.Request, orgID string, projectID string, params ListVisibleProjectMachinesParams)
	// ListProjectModelGrants List project model grants
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/model-grants)
	ListProjectModelGrants(w http.ResponseWriter, r *http.Request, orgID string, projectID string, params ListProjectModelGrantsParams)
	// CreateProjectModelGrant Create project model grant
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/model-grants)
	CreateProjectModelGrant(w http.ResponseWriter, r *http.Request, orgID string, projectID string)
	// DeleteProjectModelGrant Delete project model grant
	// (DELETE /api/v1/orgs/{orgID}/projects/{projectID}/model-grants/{modelGrantID})
	DeleteProjectModelGrant(w http.ResponseWriter, r *http.Request, orgID string, projectID string, modelGrantID string)
	// UpdateProjectModelGrant Update project model grant
	// (PATCH /api/v1/orgs/{orgID}/projects/{projectID}/model-grants/{modelGrantID})
	UpdateProjectModelGrant(w http.ResponseWriter, r *http.Request, orgID string, projectID string, modelGrantID string)
	// ListProjectAvailableSecrets List secrets available to project
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/secrets)
	ListProjectAvailableSecrets(w http.ResponseWriter, r *http.Request, orgID string, projectID string, params ListProjectAvailableSecretsParams)
	// GetProjectAvailableSecret Get secret available to project
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/secrets/{secretID})
	GetProjectAvailableSecret(w http.ResponseWriter, r *http.Request, orgID string, projectID string, secretID string)
	// ListProjectAvailableSkills List skills available to project
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/skills)
	ListProjectAvailableSkills(w http.ResponseWriter, r *http.Request, orgID string, projectID ProjectID, params ListProjectAvailableSkillsParams)
	// ListSecrets List secrets visible through ownership authority
	// (GET /api/v1/orgs/{orgID}/secrets)
	ListSecrets(w http.ResponseWriter, r *http.Request, orgID string, params ListSecretsParams)
	// CreateSecret Create secret
	// (POST /api/v1/orgs/{orgID}/secrets)
	CreateSecret(w http.ResponseWriter, r *http.Request, orgID string)
	// StartSecretMCPOAuth Start MCP OAuth for a new secret
	// (POST /api/v1/orgs/{orgID}/secrets/mcp-oauth)
	StartSecretMCPOAuth(w http.ResponseWriter, r *http.Request, orgID string)
	// DeleteSecret Delete secret
	// (DELETE /api/v1/orgs/{orgID}/secrets/{secretID})
	DeleteSecret(w http.ResponseWriter, r *http.Request, orgID string, secretID string)
	// GetSecret Get secret through ownership authority
	// (GET /api/v1/orgs/{orgID}/secrets/{secretID})
	GetSecret(w http.ResponseWriter, r *http.Request, orgID string, secretID string)
	// UpdateSecret Update secret metadata
	// (PATCH /api/v1/orgs/{orgID}/secrets/{secretID})
	UpdateSecret(w http.ResponseWriter, r *http.Request, orgID string, secretID string)
	// ListSecretGrants List secret grants
	// (GET /api/v1/orgs/{orgID}/secrets/{secretID}/grants)
	ListSecretGrants(w http.ResponseWriter, r *http.Request, orgID string, secretID string, params ListSecretGrantsParams)
	// CreateSecretGrant Create secret grant
	// (POST /api/v1/orgs/{orgID}/secrets/{secretID}/grants)
	CreateSecretGrant(w http.ResponseWriter, r *http.Request, orgID string, secretID string)
	// DeleteSecretGrant Delete secret grant
	// (DELETE /api/v1/orgs/{orgID}/secrets/{secretID}/grants/{grantID})
	DeleteSecretGrant(w http.ResponseWriter, r *http.Request, orgID string, secretID string, grantID string)
	// CreateSecretVersion Create secret version
	// (POST /api/v1/orgs/{orgID}/secrets/{secretID}/versions)
	CreateSecretVersion(w http.ResponseWriter, r *http.Request, orgID string, secretID string)
	// ListSkills List skills visible through ownership authority
	// (GET /api/v1/orgs/{orgID}/skills)
	ListSkills(w http.ResponseWriter, r *http.Request, orgID string, params ListSkillsParams)
	// CreateSkill Create skill
	// (POST /api/v1/orgs/{orgID}/skills)
	CreateSkill(w http.ResponseWriter, r *http.Request, orgID string)
	// DeleteSkill Delete skill
	// (DELETE /api/v1/orgs/{orgID}/skills/{skillID})
	DeleteSkill(w http.ResponseWriter, r *http.Request, orgID string, skillID string)
	// GetSkill Get skill through ownership authority
	// (GET /api/v1/orgs/{orgID}/skills/{skillID})
	GetSkill(w http.ResponseWriter, r *http.Request, orgID string, skillID string)
	// ListSkillGrants List skill grants
	// (GET /api/v1/orgs/{orgID}/skills/{skillID}/grants)
	ListSkillGrants(w http.ResponseWriter, r *http.Request, orgID string, skillID SkillID, params ListSkillGrantsParams)
	// CreateSkillGrant Create skill grant
	// (POST /api/v1/orgs/{orgID}/skills/{skillID}/grants)
	CreateSkillGrant(w http.ResponseWriter, r *http.Request, orgID string, skillID SkillID)
	// DeleteSkillGrant Delete skill grant
	// (DELETE /api/v1/orgs/{orgID}/skills/{skillID}/grants/{grantID})
	DeleteSkillGrant(w http.ResponseWriter, r *http.Request, orgID string, skillID SkillID, grantID SkillGrantID)
	// ListPersonalAccessTokens List the authenticated user's personal access tokens
	// (GET /api/v1/personal-access-tokens)
	ListPersonalAccessTokens(w http.ResponseWriter, r *http.Request, params ListPersonalAccessTokensParams)
	// CreatePersonalAccessToken Create personal access token
	// (POST /api/v1/personal-access-tokens)
	CreatePersonalAccessToken(w http.ResponseWriter, r *http.Request)
	// RevokePersonalAccessToken Revoke a personal access token
	// (POST /api/v1/personal-access-tokens/{tokenID}/revoke)
	RevokePersonalAccessToken(w http.ResponseWriter, r *http.Request, tokenID string)
	// GetToolCatalog Get tool catalog
	// (GET /api/v1/tool-catalog)
	GetToolCatalog(w http.ResponseWriter, r *http.Request)
}

ServerInterface represents all server handlers.

func NewStrictHandler

func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface

func NewStrictHandlerWithOptions

func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) AcceptInvitation

func (siw *ServerInterfaceWrapper) AcceptInvitation(w http.ResponseWriter, r *http.Request)

AcceptInvitation operation middleware

func (*ServerInterfaceWrapper) ArchiveAgent

func (siw *ServerInterfaceWrapper) ArchiveAgent(w http.ResponseWriter, r *http.Request)

ArchiveAgent operation middleware

func (*ServerInterfaceWrapper) BootstrapDaemon

func (siw *ServerInterfaceWrapper) BootstrapDaemon(w http.ResponseWriter, r *http.Request)

BootstrapDaemon operation middleware

func (*ServerInterfaceWrapper) CancelAgent

func (siw *ServerInterfaceWrapper) CancelAgent(w http.ResponseWriter, r *http.Request)

CancelAgent operation middleware

func (*ServerInterfaceWrapper) CancelQueuedBacklogInput

func (siw *ServerInterfaceWrapper) CancelQueuedBacklogInput(w http.ResponseWriter, r *http.Request)

CancelQueuedBacklogInput operation middleware

func (*ServerInterfaceWrapper) CreateAgent

func (siw *ServerInterfaceWrapper) CreateAgent(w http.ResponseWriter, r *http.Request)

CreateAgent operation middleware

func (*ServerInterfaceWrapper) CreateAgentConfig

func (siw *ServerInterfaceWrapper) CreateAgentConfig(w http.ResponseWriter, r *http.Request)

CreateAgentConfig operation middleware

func (*ServerInterfaceWrapper) CreateAgentInput

func (siw *ServerInterfaceWrapper) CreateAgentInput(w http.ResponseWriter, r *http.Request)

CreateAgentInput operation middleware

func (*ServerInterfaceWrapper) CreateAgentProfile

func (siw *ServerInterfaceWrapper) CreateAgentProfile(w http.ResponseWriter, r *http.Request)

CreateAgentProfile operation middleware

func (*ServerInterfaceWrapper) CreateBYOMachineDaemonToken

func (siw *ServerInterfaceWrapper) CreateBYOMachineDaemonToken(w http.ResponseWriter, r *http.Request)

CreateBYOMachineDaemonToken operation middleware

func (*ServerInterfaceWrapper) CreateConfiguredModel

func (siw *ServerInterfaceWrapper) CreateConfiguredModel(w http.ResponseWriter, r *http.Request)

CreateConfiguredModel operation middleware

func (*ServerInterfaceWrapper) CreateIntegrationOAuthSetup

func (siw *ServerInterfaceWrapper) CreateIntegrationOAuthSetup(w http.ResponseWriter, r *http.Request)

CreateIntegrationOAuthSetup operation middleware

func (*ServerInterfaceWrapper) CreateMachine

func (siw *ServerInterfaceWrapper) CreateMachine(w http.ResponseWriter, r *http.Request)

CreateMachine operation middleware

func (*ServerInterfaceWrapper) CreateMachinePool

func (siw *ServerInterfaceWrapper) CreateMachinePool(w http.ResponseWriter, r *http.Request)

CreateMachinePool operation middleware

func (*ServerInterfaceWrapper) CreateModelProviderConfig

func (siw *ServerInterfaceWrapper) CreateModelProviderConfig(w http.ResponseWriter, r *http.Request)

CreateModelProviderConfig operation middleware

func (*ServerInterfaceWrapper) CreateOrgAPIKey

func (siw *ServerInterfaceWrapper) CreateOrgAPIKey(w http.ResponseWriter, r *http.Request)

CreateOrgAPIKey operation middleware

func (*ServerInterfaceWrapper) CreateOrgInvitation

func (siw *ServerInterfaceWrapper) CreateOrgInvitation(w http.ResponseWriter, r *http.Request)

CreateOrgInvitation operation middleware

func (*ServerInterfaceWrapper) CreateOrganization

func (siw *ServerInterfaceWrapper) CreateOrganization(w http.ResponseWriter, r *http.Request)

CreateOrganization operation middleware

func (*ServerInterfaceWrapper) CreatePersonalAccessToken

func (siw *ServerInterfaceWrapper) CreatePersonalAccessToken(w http.ResponseWriter, r *http.Request)

CreatePersonalAccessToken operation middleware

func (*ServerInterfaceWrapper) CreateProject

func (siw *ServerInterfaceWrapper) CreateProject(w http.ResponseWriter, r *http.Request)

CreateProject operation middleware

func (*ServerInterfaceWrapper) CreateProjectMachineGrant

func (siw *ServerInterfaceWrapper) CreateProjectMachineGrant(w http.ResponseWriter, r *http.Request)

CreateProjectMachineGrant operation middleware

func (*ServerInterfaceWrapper) CreateProjectMachinePoolGrant

func (siw *ServerInterfaceWrapper) CreateProjectMachinePoolGrant(w http.ResponseWriter, r *http.Request)

CreateProjectMachinePoolGrant operation middleware

func (*ServerInterfaceWrapper) CreateProjectModelGrant

func (siw *ServerInterfaceWrapper) CreateProjectModelGrant(w http.ResponseWriter, r *http.Request)

CreateProjectModelGrant operation middleware

func (*ServerInterfaceWrapper) CreateSecret

func (siw *ServerInterfaceWrapper) CreateSecret(w http.ResponseWriter, r *http.Request)

CreateSecret operation middleware

func (*ServerInterfaceWrapper) CreateSecretGrant

func (siw *ServerInterfaceWrapper) CreateSecretGrant(w http.ResponseWriter, r *http.Request)

CreateSecretGrant operation middleware

func (*ServerInterfaceWrapper) CreateSecretVersion

func (siw *ServerInterfaceWrapper) CreateSecretVersion(w http.ResponseWriter, r *http.Request)

CreateSecretVersion operation middleware

func (*ServerInterfaceWrapper) CreateSkill

func (siw *ServerInterfaceWrapper) CreateSkill(w http.ResponseWriter, r *http.Request)

CreateSkill operation middleware

func (*ServerInterfaceWrapper) CreateSkillGrant

func (siw *ServerInterfaceWrapper) CreateSkillGrant(w http.ResponseWriter, r *http.Request)

CreateSkillGrant operation middleware

func (*ServerInterfaceWrapper) CreateSlackSetup

func (siw *ServerInterfaceWrapper) CreateSlackSetup(w http.ResponseWriter, r *http.Request)

CreateSlackSetup operation middleware

func (*ServerInterfaceWrapper) DeclineInvitation

func (siw *ServerInterfaceWrapper) DeclineInvitation(w http.ResponseWriter, r *http.Request)

DeclineInvitation operation middleware

func (*ServerInterfaceWrapper) DeleteAgentProfile

func (siw *ServerInterfaceWrapper) DeleteAgentProfile(w http.ResponseWriter, r *http.Request)

DeleteAgentProfile operation middleware

func (*ServerInterfaceWrapper) DeleteConfiguredModel

func (siw *ServerInterfaceWrapper) DeleteConfiguredModel(w http.ResponseWriter, r *http.Request)

DeleteConfiguredModel operation middleware

func (*ServerInterfaceWrapper) DeleteCurrentUser

func (siw *ServerInterfaceWrapper) DeleteCurrentUser(w http.ResponseWriter, r *http.Request)

DeleteCurrentUser operation middleware

func (*ServerInterfaceWrapper) DeleteIntegrationInstall

func (siw *ServerInterfaceWrapper) DeleteIntegrationInstall(w http.ResponseWriter, r *http.Request)

DeleteIntegrationInstall operation middleware

func (*ServerInterfaceWrapper) DeleteMachine

func (siw *ServerInterfaceWrapper) DeleteMachine(w http.ResponseWriter, r *http.Request)

DeleteMachine operation middleware

func (*ServerInterfaceWrapper) DeleteMachinePool

func (siw *ServerInterfaceWrapper) DeleteMachinePool(w http.ResponseWriter, r *http.Request)

DeleteMachinePool operation middleware

func (*ServerInterfaceWrapper) DeleteModelProviderConfig

func (siw *ServerInterfaceWrapper) DeleteModelProviderConfig(w http.ResponseWriter, r *http.Request)

DeleteModelProviderConfig operation middleware

func (*ServerInterfaceWrapper) DeleteOrgInvitation

func (siw *ServerInterfaceWrapper) DeleteOrgInvitation(w http.ResponseWriter, r *http.Request)

DeleteOrgInvitation operation middleware

func (*ServerInterfaceWrapper) DeleteOrganization

func (siw *ServerInterfaceWrapper) DeleteOrganization(w http.ResponseWriter, r *http.Request)

DeleteOrganization operation middleware

func (*ServerInterfaceWrapper) DeleteProject

func (siw *ServerInterfaceWrapper) DeleteProject(w http.ResponseWriter, r *http.Request)

DeleteProject operation middleware

func (*ServerInterfaceWrapper) DeleteProjectMachineGrant

func (siw *ServerInterfaceWrapper) DeleteProjectMachineGrant(w http.ResponseWriter, r *http.Request)

DeleteProjectMachineGrant operation middleware

func (*ServerInterfaceWrapper) DeleteProjectMachinePoolGrant

func (siw *ServerInterfaceWrapper) DeleteProjectMachinePoolGrant(w http.ResponseWriter, r *http.Request)

DeleteProjectMachinePoolGrant operation middleware

func (*ServerInterfaceWrapper) DeleteProjectModelGrant

func (siw *ServerInterfaceWrapper) DeleteProjectModelGrant(w http.ResponseWriter, r *http.Request)

DeleteProjectModelGrant operation middleware

func (*ServerInterfaceWrapper) DeleteSecret

func (siw *ServerInterfaceWrapper) DeleteSecret(w http.ResponseWriter, r *http.Request)

DeleteSecret operation middleware

func (*ServerInterfaceWrapper) DeleteSecretGrant

func (siw *ServerInterfaceWrapper) DeleteSecretGrant(w http.ResponseWriter, r *http.Request)

DeleteSecretGrant operation middleware

func (*ServerInterfaceWrapper) DeleteSkill

func (siw *ServerInterfaceWrapper) DeleteSkill(w http.ResponseWriter, r *http.Request)

DeleteSkill operation middleware

func (*ServerInterfaceWrapper) DeleteSkillGrant

func (siw *ServerInterfaceWrapper) DeleteSkillGrant(w http.ResponseWriter, r *http.Request)

DeleteSkillGrant operation middleware

func (*ServerInterfaceWrapper) DemoteSteeringInputToQueued

func (siw *ServerInterfaceWrapper) DemoteSteeringInputToQueued(w http.ResponseWriter, r *http.Request)

DemoteSteeringInputToQueued operation middleware

func (*ServerInterfaceWrapper) EndMachineDaemonRuntime

func (siw *ServerInterfaceWrapper) EndMachineDaemonRuntime(w http.ResponseWriter, r *http.Request)

EndMachineDaemonRuntime operation middleware

func (*ServerInterfaceWrapper) GetActor

func (siw *ServerInterfaceWrapper) GetActor(w http.ResponseWriter, r *http.Request)

GetActor operation middleware

func (*ServerInterfaceWrapper) GetAgent

func (siw *ServerInterfaceWrapper) GetAgent(w http.ResponseWriter, r *http.Request)

GetAgent operation middleware

func (*ServerInterfaceWrapper) GetAgentConfig

func (siw *ServerInterfaceWrapper) GetAgentConfig(w http.ResponseWriter, r *http.Request)

GetAgentConfig operation middleware

func (*ServerInterfaceWrapper) GetAgentProfile

func (siw *ServerInterfaceWrapper) GetAgentProfile(w http.ResponseWriter, r *http.Request)

GetAgentProfile operation middleware

func (*ServerInterfaceWrapper) GetArtifact

func (siw *ServerInterfaceWrapper) GetArtifact(w http.ResponseWriter, r *http.Request)

GetArtifact operation middleware

func (*ServerInterfaceWrapper) GetArtifactContent

func (siw *ServerInterfaceWrapper) GetArtifactContent(w http.ResponseWriter, r *http.Request)

GetArtifactContent operation middleware

func (*ServerInterfaceWrapper) GetCurrentUser

func (siw *ServerInterfaceWrapper) GetCurrentUser(w http.ResponseWriter, r *http.Request)

GetCurrentUser operation middleware

func (*ServerInterfaceWrapper) GetDaemonSkillArchive

func (siw *ServerInterfaceWrapper) GetDaemonSkillArchive(w http.ResponseWriter, r *http.Request)

GetDaemonSkillArchive operation middleware

func (*ServerInterfaceWrapper) GetMachine

func (siw *ServerInterfaceWrapper) GetMachine(w http.ResponseWriter, r *http.Request)

GetMachine operation middleware

func (*ServerInterfaceWrapper) GetMachinePool

func (siw *ServerInterfaceWrapper) GetMachinePool(w http.ResponseWriter, r *http.Request)

GetMachinePool operation middleware

func (*ServerInterfaceWrapper) GetModelProviderConfig

func (siw *ServerInterfaceWrapper) GetModelProviderConfig(w http.ResponseWriter, r *http.Request)

GetModelProviderConfig operation middleware

func (*ServerInterfaceWrapper) GetOrgAPIKey

func (siw *ServerInterfaceWrapper) GetOrgAPIKey(w http.ResponseWriter, r *http.Request)

GetOrgAPIKey operation middleware

func (*ServerInterfaceWrapper) GetProjectAvailableSecret

func (siw *ServerInterfaceWrapper) GetProjectAvailableSecret(w http.ResponseWriter, r *http.Request)

GetProjectAvailableSecret operation middleware

func (*ServerInterfaceWrapper) GetProjectMachinePoolGrant

func (siw *ServerInterfaceWrapper) GetProjectMachinePoolGrant(w http.ResponseWriter, r *http.Request)

GetProjectMachinePoolGrant operation middleware

func (*ServerInterfaceWrapper) GetSecret

func (siw *ServerInterfaceWrapper) GetSecret(w http.ResponseWriter, r *http.Request)

GetSecret operation middleware

func (*ServerInterfaceWrapper) GetSkill

func (siw *ServerInterfaceWrapper) GetSkill(w http.ResponseWriter, r *http.Request)

GetSkill operation middleware

func (*ServerInterfaceWrapper) GetToolCatalog

func (siw *ServerInterfaceWrapper) GetToolCatalog(w http.ResponseWriter, r *http.Request)

GetToolCatalog operation middleware

func (*ServerInterfaceWrapper) ListActors

func (siw *ServerInterfaceWrapper) ListActors(w http.ResponseWriter, r *http.Request)

ListActors operation middleware

func (*ServerInterfaceWrapper) ListAgentInteractions

func (siw *ServerInterfaceWrapper) ListAgentInteractions(w http.ResponseWriter, r *http.Request)

ListAgentInteractions operation middleware

func (*ServerInterfaceWrapper) ListAgentProfiles

func (siw *ServerInterfaceWrapper) ListAgentProfiles(w http.ResponseWriter, r *http.Request)

ListAgentProfiles operation middleware

func (*ServerInterfaceWrapper) ListAgents

func (siw *ServerInterfaceWrapper) ListAgents(w http.ResponseWriter, r *http.Request)

ListAgents operation middleware

func (*ServerInterfaceWrapper) ListBYOMachineDaemonTokens

func (siw *ServerInterfaceWrapper) ListBYOMachineDaemonTokens(w http.ResponseWriter, r *http.Request)

ListBYOMachineDaemonTokens operation middleware

func (*ServerInterfaceWrapper) ListConfiguredModels

func (siw *ServerInterfaceWrapper) ListConfiguredModels(w http.ResponseWriter, r *http.Request)

ListConfiguredModels operation middleware

func (*ServerInterfaceWrapper) ListEvents

func (siw *ServerInterfaceWrapper) ListEvents(w http.ResponseWriter, r *http.Request)

ListEvents operation middleware

func (*ServerInterfaceWrapper) ListIntegrationInstalls

func (siw *ServerInterfaceWrapper) ListIntegrationInstalls(w http.ResponseWriter, r *http.Request)

ListIntegrationInstalls operation middleware

func (*ServerInterfaceWrapper) ListMachinePools

func (siw *ServerInterfaceWrapper) ListMachinePools(w http.ResponseWriter, r *http.Request)

ListMachinePools operation middleware

func (*ServerInterfaceWrapper) ListMemberProjectAccess

func (siw *ServerInterfaceWrapper) ListMemberProjectAccess(w http.ResponseWriter, r *http.Request)

ListMemberProjectAccess operation middleware

func (*ServerInterfaceWrapper) ListModelProviderConfigs

func (siw *ServerInterfaceWrapper) ListModelProviderConfigs(w http.ResponseWriter, r *http.Request)

ListModelProviderConfigs operation middleware

func (*ServerInterfaceWrapper) ListOrgAPIKeyProjectAccess

func (siw *ServerInterfaceWrapper) ListOrgAPIKeyProjectAccess(w http.ResponseWriter, r *http.Request)

ListOrgAPIKeyProjectAccess operation middleware

func (*ServerInterfaceWrapper) ListOrgAPIKeys

func (siw *ServerInterfaceWrapper) ListOrgAPIKeys(w http.ResponseWriter, r *http.Request)

ListOrgAPIKeys operation middleware

func (*ServerInterfaceWrapper) ListOrgInvitations

func (siw *ServerInterfaceWrapper) ListOrgInvitations(w http.ResponseWriter, r *http.Request)

ListOrgInvitations operation middleware

func (*ServerInterfaceWrapper) ListOrgMembers

func (siw *ServerInterfaceWrapper) ListOrgMembers(w http.ResponseWriter, r *http.Request)

ListOrgMembers operation middleware

func (*ServerInterfaceWrapper) ListPendingInvitations

func (siw *ServerInterfaceWrapper) ListPendingInvitations(w http.ResponseWriter, r *http.Request)

ListPendingInvitations operation middleware

func (*ServerInterfaceWrapper) ListPersonalAccessTokens

func (siw *ServerInterfaceWrapper) ListPersonalAccessTokens(w http.ResponseWriter, r *http.Request)

ListPersonalAccessTokens operation middleware

func (*ServerInterfaceWrapper) ListProjectAvailableSecrets

func (siw *ServerInterfaceWrapper) ListProjectAvailableSecrets(w http.ResponseWriter, r *http.Request)

ListProjectAvailableSecrets operation middleware

func (*ServerInterfaceWrapper) ListProjectAvailableSkills

func (siw *ServerInterfaceWrapper) ListProjectAvailableSkills(w http.ResponseWriter, r *http.Request)

ListProjectAvailableSkills operation middleware

func (*ServerInterfaceWrapper) ListProjectMachineGrants

func (siw *ServerInterfaceWrapper) ListProjectMachineGrants(w http.ResponseWriter, r *http.Request)

ListProjectMachineGrants operation middleware

func (*ServerInterfaceWrapper) ListProjectMachinePoolGrants

func (siw *ServerInterfaceWrapper) ListProjectMachinePoolGrants(w http.ResponseWriter, r *http.Request)

ListProjectMachinePoolGrants operation middleware

func (*ServerInterfaceWrapper) ListProjectModelGrants

func (siw *ServerInterfaceWrapper) ListProjectModelGrants(w http.ResponseWriter, r *http.Request)

ListProjectModelGrants operation middleware

func (*ServerInterfaceWrapper) ListQueuedBacklogInputs

func (siw *ServerInterfaceWrapper) ListQueuedBacklogInputs(w http.ResponseWriter, r *http.Request)

ListQueuedBacklogInputs operation middleware

func (*ServerInterfaceWrapper) ListSecretGrants

func (siw *ServerInterfaceWrapper) ListSecretGrants(w http.ResponseWriter, r *http.Request)

ListSecretGrants operation middleware

func (*ServerInterfaceWrapper) ListSecrets

func (siw *ServerInterfaceWrapper) ListSecrets(w http.ResponseWriter, r *http.Request)

ListSecrets operation middleware

func (*ServerInterfaceWrapper) ListSkillGrants

func (siw *ServerInterfaceWrapper) ListSkillGrants(w http.ResponseWriter, r *http.Request)

ListSkillGrants operation middleware

func (*ServerInterfaceWrapper) ListSkills

func (siw *ServerInterfaceWrapper) ListSkills(w http.ResponseWriter, r *http.Request)

ListSkills operation middleware

func (*ServerInterfaceWrapper) ListToolCalls

func (siw *ServerInterfaceWrapper) ListToolCalls(w http.ResponseWriter, r *http.Request)

ListToolCalls operation middleware

func (*ServerInterfaceWrapper) ListTurnEvents

func (siw *ServerInterfaceWrapper) ListTurnEvents(w http.ResponseWriter, r *http.Request)

ListTurnEvents operation middleware

func (*ServerInterfaceWrapper) ListTurns

func (siw *ServerInterfaceWrapper) ListTurns(w http.ResponseWriter, r *http.Request)

ListTurns operation middleware

func (*ServerInterfaceWrapper) ListVisibleMachines

func (siw *ServerInterfaceWrapper) ListVisibleMachines(w http.ResponseWriter, r *http.Request)

ListVisibleMachines operation middleware

func (*ServerInterfaceWrapper) ListVisibleProjectMachines

func (siw *ServerInterfaceWrapper) ListVisibleProjectMachines(w http.ResponseWriter, r *http.Request)

ListVisibleProjectMachines operation middleware

func (*ServerInterfaceWrapper) ListVisibleProjects

func (siw *ServerInterfaceWrapper) ListVisibleProjects(w http.ResponseWriter, r *http.Request)

ListVisibleProjects operation middleware

func (*ServerInterfaceWrapper) MoveQueuedBacklogInput

func (siw *ServerInterfaceWrapper) MoveQueuedBacklogInput(w http.ResponseWriter, r *http.Request)

MoveQueuedBacklogInput operation middleware

func (*ServerInterfaceWrapper) PromoteQueuedInputToSteering

func (siw *ServerInterfaceWrapper) PromoteQueuedInputToSteering(w http.ResponseWriter, r *http.Request)

PromoteQueuedInputToSteering operation middleware

func (*ServerInterfaceWrapper) PutActor

func (siw *ServerInterfaceWrapper) PutActor(w http.ResponseWriter, r *http.Request)

PutActor operation middleware

func (*ServerInterfaceWrapper) RecordMachineFailure

func (siw *ServerInterfaceWrapper) RecordMachineFailure(w http.ResponseWriter, r *http.Request)

RecordMachineFailure operation middleware

func (*ServerInterfaceWrapper) RegisterMachineDaemonRuntime

func (siw *ServerInterfaceWrapper) RegisterMachineDaemonRuntime(w http.ResponseWriter, r *http.Request)

RegisterMachineDaemonRuntime operation middleware

func (*ServerInterfaceWrapper) RemoveMemberProjectAccess

func (siw *ServerInterfaceWrapper) RemoveMemberProjectAccess(w http.ResponseWriter, r *http.Request)

RemoveMemberProjectAccess operation middleware

func (*ServerInterfaceWrapper) RemoveOrgAPIKeyProjectRole

func (siw *ServerInterfaceWrapper) RemoveOrgAPIKeyProjectRole(w http.ResponseWriter, r *http.Request)

RemoveOrgAPIKeyProjectRole operation middleware

func (*ServerInterfaceWrapper) RemoveOrgMember

func (siw *ServerInterfaceWrapper) RemoveOrgMember(w http.ResponseWriter, r *http.Request)

RemoveOrgMember operation middleware

func (*ServerInterfaceWrapper) ResolveAgentInteraction

func (siw *ServerInterfaceWrapper) ResolveAgentInteraction(w http.ResponseWriter, r *http.Request)

ResolveAgentInteraction operation middleware

func (*ServerInterfaceWrapper) RevokeMachineDaemonToken

func (siw *ServerInterfaceWrapper) RevokeMachineDaemonToken(w http.ResponseWriter, r *http.Request)

RevokeMachineDaemonToken operation middleware

func (*ServerInterfaceWrapper) RevokeOrgAPIKey

func (siw *ServerInterfaceWrapper) RevokeOrgAPIKey(w http.ResponseWriter, r *http.Request)

RevokeOrgAPIKey operation middleware

func (*ServerInterfaceWrapper) RevokePersonalAccessToken

func (siw *ServerInterfaceWrapper) RevokePersonalAccessToken(w http.ResponseWriter, r *http.Request)

RevokePersonalAccessToken operation middleware

func (*ServerInterfaceWrapper) SetMemberProjectAccess

func (siw *ServerInterfaceWrapper) SetMemberProjectAccess(w http.ResponseWriter, r *http.Request)

SetMemberProjectAccess operation middleware

func (*ServerInterfaceWrapper) SetOrgAPIKeyProjectRole

func (siw *ServerInterfaceWrapper) SetOrgAPIKeyProjectRole(w http.ResponseWriter, r *http.Request)

SetOrgAPIKeyProjectRole operation middleware

func (*ServerInterfaceWrapper) SleepMachineDaemonRuntime

func (siw *ServerInterfaceWrapper) SleepMachineDaemonRuntime(w http.ResponseWriter, r *http.Request)

SleepMachineDaemonRuntime operation middleware

func (*ServerInterfaceWrapper) SocketMachineDaemonRuntime

func (siw *ServerInterfaceWrapper) SocketMachineDaemonRuntime(w http.ResponseWriter, r *http.Request)

SocketMachineDaemonRuntime operation middleware

func (*ServerInterfaceWrapper) StartSecretMCPOAuth

func (siw *ServerInterfaceWrapper) StartSecretMCPOAuth(w http.ResponseWriter, r *http.Request)

StartSecretMCPOAuth operation middleware

func (*ServerInterfaceWrapper) StreamEvents

func (siw *ServerInterfaceWrapper) StreamEvents(w http.ResponseWriter, r *http.Request)

StreamEvents operation middleware

func (*ServerInterfaceWrapper) SubmitToolCallResult

func (siw *ServerInterfaceWrapper) SubmitToolCallResult(w http.ResponseWriter, r *http.Request)

SubmitToolCallResult operation middleware

func (*ServerInterfaceWrapper) UpdateAgentConfig

func (siw *ServerInterfaceWrapper) UpdateAgentConfig(w http.ResponseWriter, r *http.Request)

UpdateAgentConfig operation middleware

func (*ServerInterfaceWrapper) UpdateAgentProfile

func (siw *ServerInterfaceWrapper) UpdateAgentProfile(w http.ResponseWriter, r *http.Request)

UpdateAgentProfile operation middleware

func (*ServerInterfaceWrapper) UpdateConfiguredModel

func (siw *ServerInterfaceWrapper) UpdateConfiguredModel(w http.ResponseWriter, r *http.Request)

UpdateConfiguredModel operation middleware

func (*ServerInterfaceWrapper) UpdateMachine

func (siw *ServerInterfaceWrapper) UpdateMachine(w http.ResponseWriter, r *http.Request)

UpdateMachine operation middleware

func (*ServerInterfaceWrapper) UpdateMachinePool

func (siw *ServerInterfaceWrapper) UpdateMachinePool(w http.ResponseWriter, r *http.Request)

UpdateMachinePool operation middleware

func (*ServerInterfaceWrapper) UpdateModelProviderConfig

func (siw *ServerInterfaceWrapper) UpdateModelProviderConfig(w http.ResponseWriter, r *http.Request)

UpdateModelProviderConfig operation middleware

func (*ServerInterfaceWrapper) UpdateOrgAPIKey

func (siw *ServerInterfaceWrapper) UpdateOrgAPIKey(w http.ResponseWriter, r *http.Request)

UpdateOrgAPIKey operation middleware

func (*ServerInterfaceWrapper) UpdateOrgMember

func (siw *ServerInterfaceWrapper) UpdateOrgMember(w http.ResponseWriter, r *http.Request)

UpdateOrgMember operation middleware

func (*ServerInterfaceWrapper) UpdateProjectMachinePoolGrant

func (siw *ServerInterfaceWrapper) UpdateProjectMachinePoolGrant(w http.ResponseWriter, r *http.Request)

UpdateProjectMachinePoolGrant operation middleware

func (*ServerInterfaceWrapper) UpdateProjectModelGrant

func (siw *ServerInterfaceWrapper) UpdateProjectModelGrant(w http.ResponseWriter, r *http.Request)

UpdateProjectModelGrant operation middleware

func (*ServerInterfaceWrapper) UpdateSecret

func (siw *ServerInterfaceWrapper) UpdateSecret(w http.ResponseWriter, r *http.Request)

UpdateSecret operation middleware

type ServiceUnavailable

type ServiceUnavailable = Error

ServiceUnavailable defines model for ServiceUnavailable.

type ServiceUnavailableJSONResponse

type ServiceUnavailableJSONResponse Error

type SetMemberProjectAccess4XXJSONResponse

type SetMemberProjectAccess4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (SetMemberProjectAccess4XXJSONResponse) VisitSetMemberProjectAccessResponse

func (response SetMemberProjectAccess4XXJSONResponse) VisitSetMemberProjectAccessResponse(w http.ResponseWriter) error

type SetMemberProjectAccess5XXJSONResponse

type SetMemberProjectAccess5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (SetMemberProjectAccess5XXJSONResponse) VisitSetMemberProjectAccessResponse

func (response SetMemberProjectAccess5XXJSONResponse) VisitSetMemberProjectAccessResponse(w http.ResponseWriter) error

type SetMemberProjectAccess200JSONResponse

type SetMemberProjectAccess200JSONResponse ProjectMembershipGrant

func (SetMemberProjectAccess200JSONResponse) VisitSetMemberProjectAccessResponse

func (response SetMemberProjectAccess200JSONResponse) VisitSetMemberProjectAccessResponse(w http.ResponseWriter) error

type SetMemberProjectAccess400JSONResponse

type SetMemberProjectAccess400JSONResponse struct{ BadRequestJSONResponse }

func (SetMemberProjectAccess400JSONResponse) VisitSetMemberProjectAccessResponse

func (response SetMemberProjectAccess400JSONResponse) VisitSetMemberProjectAccessResponse(w http.ResponseWriter) error

type SetMemberProjectAccess401JSONResponse

type SetMemberProjectAccess401JSONResponse struct{ UnauthorizedJSONResponse }

func (SetMemberProjectAccess401JSONResponse) VisitSetMemberProjectAccessResponse

func (response SetMemberProjectAccess401JSONResponse) VisitSetMemberProjectAccessResponse(w http.ResponseWriter) error

type SetMemberProjectAccess403JSONResponse

type SetMemberProjectAccess403JSONResponse struct{ ForbiddenJSONResponse }

func (SetMemberProjectAccess403JSONResponse) VisitSetMemberProjectAccessResponse

func (response SetMemberProjectAccess403JSONResponse) VisitSetMemberProjectAccessResponse(w http.ResponseWriter) error

type SetMemberProjectAccess404JSONResponse

type SetMemberProjectAccess404JSONResponse struct{ NotFoundJSONResponse }

func (SetMemberProjectAccess404JSONResponse) VisitSetMemberProjectAccessResponse

func (response SetMemberProjectAccess404JSONResponse) VisitSetMemberProjectAccessResponse(w http.ResponseWriter) error

type SetMemberProjectAccess409JSONResponse

type SetMemberProjectAccess409JSONResponse struct{ ConflictJSONResponse }

func (SetMemberProjectAccess409JSONResponse) VisitSetMemberProjectAccessResponse

func (response SetMemberProjectAccess409JSONResponse) VisitSetMemberProjectAccessResponse(w http.ResponseWriter) error

type SetMemberProjectAccess503JSONResponse

type SetMemberProjectAccess503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (SetMemberProjectAccess503JSONResponse) VisitSetMemberProjectAccessResponse

func (response SetMemberProjectAccess503JSONResponse) VisitSetMemberProjectAccessResponse(w http.ResponseWriter) error

type SetMemberProjectAccessJSONRequestBody

type SetMemberProjectAccessJSONRequestBody = SetProjectMembershipRequest

SetMemberProjectAccessJSONRequestBody defines body for SetMemberProjectAccess for application/json ContentType.

type SetMemberProjectAccessRequestObject

type SetMemberProjectAccessRequestObject struct {
	OrgID     string `json:"orgID"`
	UserID    string `json:"userID"`
	ProjectID string `json:"projectID"`
	Body      *SetMemberProjectAccessJSONRequestBody
}

type SetMemberProjectAccessResponseObject

type SetMemberProjectAccessResponseObject interface {
	VisitSetMemberProjectAccessResponse(w http.ResponseWriter) error
}

type SetOrgAPIKeyProjectRole4XXJSONResponse

type SetOrgAPIKeyProjectRole4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (SetOrgAPIKeyProjectRole4XXJSONResponse) VisitSetOrgAPIKeyProjectRoleResponse

func (response SetOrgAPIKeyProjectRole4XXJSONResponse) VisitSetOrgAPIKeyProjectRoleResponse(w http.ResponseWriter) error

type SetOrgAPIKeyProjectRole5XXJSONResponse

type SetOrgAPIKeyProjectRole5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (SetOrgAPIKeyProjectRole5XXJSONResponse) VisitSetOrgAPIKeyProjectRoleResponse

func (response SetOrgAPIKeyProjectRole5XXJSONResponse) VisitSetOrgAPIKeyProjectRoleResponse(w http.ResponseWriter) error

type SetOrgAPIKeyProjectRole200JSONResponse

type SetOrgAPIKeyProjectRole200JSONResponse ProjectMembershipGrant

func (SetOrgAPIKeyProjectRole200JSONResponse) VisitSetOrgAPIKeyProjectRoleResponse

func (response SetOrgAPIKeyProjectRole200JSONResponse) VisitSetOrgAPIKeyProjectRoleResponse(w http.ResponseWriter) error

type SetOrgAPIKeyProjectRole400JSONResponse

type SetOrgAPIKeyProjectRole400JSONResponse struct{ BadRequestJSONResponse }

func (SetOrgAPIKeyProjectRole400JSONResponse) VisitSetOrgAPIKeyProjectRoleResponse

func (response SetOrgAPIKeyProjectRole400JSONResponse) VisitSetOrgAPIKeyProjectRoleResponse(w http.ResponseWriter) error

type SetOrgAPIKeyProjectRole401JSONResponse

type SetOrgAPIKeyProjectRole401JSONResponse struct{ UnauthorizedJSONResponse }

func (SetOrgAPIKeyProjectRole401JSONResponse) VisitSetOrgAPIKeyProjectRoleResponse

func (response SetOrgAPIKeyProjectRole401JSONResponse) VisitSetOrgAPIKeyProjectRoleResponse(w http.ResponseWriter) error

type SetOrgAPIKeyProjectRole403JSONResponse

type SetOrgAPIKeyProjectRole403JSONResponse struct{ ForbiddenJSONResponse }

func (SetOrgAPIKeyProjectRole403JSONResponse) VisitSetOrgAPIKeyProjectRoleResponse

func (response SetOrgAPIKeyProjectRole403JSONResponse) VisitSetOrgAPIKeyProjectRoleResponse(w http.ResponseWriter) error

type SetOrgAPIKeyProjectRole404JSONResponse

type SetOrgAPIKeyProjectRole404JSONResponse struct{ NotFoundJSONResponse }

func (SetOrgAPIKeyProjectRole404JSONResponse) VisitSetOrgAPIKeyProjectRoleResponse

func (response SetOrgAPIKeyProjectRole404JSONResponse) VisitSetOrgAPIKeyProjectRoleResponse(w http.ResponseWriter) error

type SetOrgAPIKeyProjectRole409JSONResponse

type SetOrgAPIKeyProjectRole409JSONResponse struct{ ConflictJSONResponse }

func (SetOrgAPIKeyProjectRole409JSONResponse) VisitSetOrgAPIKeyProjectRoleResponse

func (response SetOrgAPIKeyProjectRole409JSONResponse) VisitSetOrgAPIKeyProjectRoleResponse(w http.ResponseWriter) error

type SetOrgAPIKeyProjectRole503JSONResponse

type SetOrgAPIKeyProjectRole503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (SetOrgAPIKeyProjectRole503JSONResponse) VisitSetOrgAPIKeyProjectRoleResponse

func (response SetOrgAPIKeyProjectRole503JSONResponse) VisitSetOrgAPIKeyProjectRoleResponse(w http.ResponseWriter) error

type SetOrgAPIKeyProjectRoleJSONRequestBody

type SetOrgAPIKeyProjectRoleJSONRequestBody = SetProjectMembershipRequest

SetOrgAPIKeyProjectRoleJSONRequestBody defines body for SetOrgAPIKeyProjectRole for application/json ContentType.

type SetOrgAPIKeyProjectRoleRequestObject

type SetOrgAPIKeyProjectRoleRequestObject struct {
	OrgID     string `json:"orgID"`
	KeyID     string `json:"keyID"`
	ProjectID string `json:"projectID"`
	Body      *SetOrgAPIKeyProjectRoleJSONRequestBody
}

type SetOrgAPIKeyProjectRoleResponseObject

type SetOrgAPIKeyProjectRoleResponseObject interface {
	VisitSetOrgAPIKeyProjectRoleResponse(w http.ResponseWriter) error
}

type SetProjectMembershipRequest

type SetProjectMembershipRequest struct {
	// Role The member's project role (admin, developer, operator, or viewer).
	Role string `json:"role"`
}

SetProjectMembershipRequest defines model for SetProjectMembershipRequest.

type Skill

type Skill struct {
	CreatedAt   Timestamp      `json:"created_at"`
	Description string         `json:"description"`
	Id          SkillID        `json:"id"`
	Name        string         `json:"name"`
	OrgId       OrganizationID `json:"org_id"`
	Owner       SkillOwner     `json:"owner"`

	// Revision Latest revision number of the skill.
	Revision   int32           `json:"revision"`
	RevisionId SkillRevisionID `json:"revision_id"`
	SkillMd    *string         `json:"skill_md,omitempty"`
	UpdatedAt  Timestamp       `json:"updated_at"`
}

Skill defines model for Skill.

type SkillAvailability

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

SkillAvailability defines model for SkillAvailability.

func (SkillAvailability) AsDirectSkillAvailability

func (t SkillAvailability) AsDirectSkillAvailability() (DirectSkillAvailability, error)

AsDirectSkillAvailability returns the union data inside the SkillAvailability as a DirectSkillAvailability

func (SkillAvailability) AsGrantedSkillAvailability

func (t SkillAvailability) AsGrantedSkillAvailability() (GrantedSkillAvailability, error)

AsGrantedSkillAvailability returns the union data inside the SkillAvailability as a GrantedSkillAvailability

func (SkillAvailability) Discriminator

func (t SkillAvailability) Discriminator() (string, error)

func (*SkillAvailability) FromDirectSkillAvailability

func (t *SkillAvailability) FromDirectSkillAvailability(v DirectSkillAvailability) error

FromDirectSkillAvailability overwrites any union data inside the SkillAvailability as the provided DirectSkillAvailability

func (*SkillAvailability) FromGrantedSkillAvailability

func (t *SkillAvailability) FromGrantedSkillAvailability(v GrantedSkillAvailability) error

FromGrantedSkillAvailability overwrites any union data inside the SkillAvailability as the provided GrantedSkillAvailability

func (SkillAvailability) MarshalJSON

func (t SkillAvailability) MarshalJSON() ([]byte, error)

func (*SkillAvailability) MergeDirectSkillAvailability

func (t *SkillAvailability) MergeDirectSkillAvailability(v DirectSkillAvailability) error

MergeDirectSkillAvailability performs a merge with any union data inside the SkillAvailability, using the provided DirectSkillAvailability

func (*SkillAvailability) MergeGrantedSkillAvailability

func (t *SkillAvailability) MergeGrantedSkillAvailability(v GrantedSkillAvailability) error

MergeGrantedSkillAvailability performs a merge with any union data inside the SkillAvailability, using the provided GrantedSkillAvailability

func (*SkillAvailability) UnmarshalJSON

func (t *SkillAvailability) UnmarshalJSON(b []byte) error

func (SkillAvailability) ValueByDiscriminator

func (t SkillAvailability) ValueByDiscriminator() (interface{}, error)

type SkillAvailabilitySourceFilter

type SkillAvailabilitySourceFilter string

SkillAvailabilitySourceFilter defines model for SkillAvailabilitySourceFilter.

const (
	SkillAvailabilitySourceFilterDirect SkillAvailabilitySourceFilter = "direct"
	SkillAvailabilitySourceFilterGrant  SkillAvailabilitySourceFilter = "grant"
)

Defines values for SkillAvailabilitySourceFilter.

func (SkillAvailabilitySourceFilter) Valid

Valid indicates whether the value is a known member of the SkillAvailabilitySourceFilter enum.

type SkillGrant

type SkillGrant struct {
	CreatedAt       Timestamp      `json:"created_at"`
	Id              SkillGrantID   `json:"id"`
	OrgId           OrganizationID `json:"org_id"`
	SkillId         SkillID        `json:"skill_id"`
	TargetProjectId ProjectID      `json:"target_project_id"`
}

SkillGrant defines model for SkillGrant.

type SkillGrantCreateRequest

type SkillGrantCreateRequest struct {
	TargetProjectId ProjectID `json:"target_project_id"`
}

SkillGrantCreateRequest defines model for SkillGrantCreateRequest.

type SkillGrantID

type SkillGrantID = string

SkillGrantID defines model for SkillGrantID.

type SkillGrantListItem

type SkillGrantListItem struct {
	Grant         SkillGrant `json:"grant"`
	TargetProject Project    `json:"target_project"`
}

SkillGrantListItem defines model for SkillGrantListItem.

type SkillID

type SkillID = string

SkillID defines model for SkillID.

type SkillOwner

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

SkillOwner defines model for SkillOwner.

func (SkillOwner) AsOrgSkillOwner

func (t SkillOwner) AsOrgSkillOwner() (OrgSkillOwner, error)

AsOrgSkillOwner returns the union data inside the SkillOwner as a OrgSkillOwner

func (SkillOwner) AsProjectSkillOwner

func (t SkillOwner) AsProjectSkillOwner() (ProjectSkillOwner, error)

AsProjectSkillOwner returns the union data inside the SkillOwner as a ProjectSkillOwner

func (SkillOwner) AsUserSkillOwner

func (t SkillOwner) AsUserSkillOwner() (UserSkillOwner, error)

AsUserSkillOwner returns the union data inside the SkillOwner as a UserSkillOwner

func (SkillOwner) Discriminator

func (t SkillOwner) Discriminator() (string, error)

func (*SkillOwner) FromOrgSkillOwner

func (t *SkillOwner) FromOrgSkillOwner(v OrgSkillOwner) error

FromOrgSkillOwner overwrites any union data inside the SkillOwner as the provided OrgSkillOwner

func (*SkillOwner) FromProjectSkillOwner

func (t *SkillOwner) FromProjectSkillOwner(v ProjectSkillOwner) error

FromProjectSkillOwner overwrites any union data inside the SkillOwner as the provided ProjectSkillOwner

func (*SkillOwner) FromUserSkillOwner

func (t *SkillOwner) FromUserSkillOwner(v UserSkillOwner) error

FromUserSkillOwner overwrites any union data inside the SkillOwner as the provided UserSkillOwner

func (SkillOwner) MarshalJSON

func (t SkillOwner) MarshalJSON() ([]byte, error)

func (*SkillOwner) MergeOrgSkillOwner

func (t *SkillOwner) MergeOrgSkillOwner(v OrgSkillOwner) error

MergeOrgSkillOwner performs a merge with any union data inside the SkillOwner, using the provided OrgSkillOwner

func (*SkillOwner) MergeProjectSkillOwner

func (t *SkillOwner) MergeProjectSkillOwner(v ProjectSkillOwner) error

MergeProjectSkillOwner performs a merge with any union data inside the SkillOwner, using the provided ProjectSkillOwner

func (*SkillOwner) MergeUserSkillOwner

func (t *SkillOwner) MergeUserSkillOwner(v UserSkillOwner) error

MergeUserSkillOwner performs a merge with any union data inside the SkillOwner, using the provided UserSkillOwner

func (*SkillOwner) UnmarshalJSON

func (t *SkillOwner) UnmarshalJSON(b []byte) error

func (SkillOwner) ValueByDiscriminator

func (t SkillOwner) ValueByDiscriminator() (interface{}, error)

type SkillOwnerInput

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

SkillOwnerInput defines model for SkillOwnerInput.

func (SkillOwnerInput) AsOrgSkillOwnerInput

func (t SkillOwnerInput) AsOrgSkillOwnerInput() (OrgSkillOwnerInput, error)

AsOrgSkillOwnerInput returns the union data inside the SkillOwnerInput as a OrgSkillOwnerInput

func (SkillOwnerInput) AsProjectSkillOwnerInput

func (t SkillOwnerInput) AsProjectSkillOwnerInput() (ProjectSkillOwnerInput, error)

AsProjectSkillOwnerInput returns the union data inside the SkillOwnerInput as a ProjectSkillOwnerInput

func (SkillOwnerInput) AsUserSkillOwnerInput

func (t SkillOwnerInput) AsUserSkillOwnerInput() (UserSkillOwnerInput, error)

AsUserSkillOwnerInput returns the union data inside the SkillOwnerInput as a UserSkillOwnerInput

func (SkillOwnerInput) Discriminator

func (t SkillOwnerInput) Discriminator() (string, error)

func (*SkillOwnerInput) FromOrgSkillOwnerInput

func (t *SkillOwnerInput) FromOrgSkillOwnerInput(v OrgSkillOwnerInput) error

FromOrgSkillOwnerInput overwrites any union data inside the SkillOwnerInput as the provided OrgSkillOwnerInput

func (*SkillOwnerInput) FromProjectSkillOwnerInput

func (t *SkillOwnerInput) FromProjectSkillOwnerInput(v ProjectSkillOwnerInput) error

FromProjectSkillOwnerInput overwrites any union data inside the SkillOwnerInput as the provided ProjectSkillOwnerInput

func (*SkillOwnerInput) FromUserSkillOwnerInput

func (t *SkillOwnerInput) FromUserSkillOwnerInput(v UserSkillOwnerInput) error

FromUserSkillOwnerInput overwrites any union data inside the SkillOwnerInput as the provided UserSkillOwnerInput

func (SkillOwnerInput) MarshalJSON

func (t SkillOwnerInput) MarshalJSON() ([]byte, error)

func (*SkillOwnerInput) MergeOrgSkillOwnerInput

func (t *SkillOwnerInput) MergeOrgSkillOwnerInput(v OrgSkillOwnerInput) error

MergeOrgSkillOwnerInput performs a merge with any union data inside the SkillOwnerInput, using the provided OrgSkillOwnerInput

func (*SkillOwnerInput) MergeProjectSkillOwnerInput

func (t *SkillOwnerInput) MergeProjectSkillOwnerInput(v ProjectSkillOwnerInput) error

MergeProjectSkillOwnerInput performs a merge with any union data inside the SkillOwnerInput, using the provided ProjectSkillOwnerInput

func (*SkillOwnerInput) MergeUserSkillOwnerInput

func (t *SkillOwnerInput) MergeUserSkillOwnerInput(v UserSkillOwnerInput) error

MergeUserSkillOwnerInput performs a merge with any union data inside the SkillOwnerInput, using the provided UserSkillOwnerInput

func (*SkillOwnerInput) UnmarshalJSON

func (t *SkillOwnerInput) UnmarshalJSON(b []byte) error

func (SkillOwnerInput) ValueByDiscriminator

func (t SkillOwnerInput) ValueByDiscriminator() (interface{}, error)

type SkillOwnerKindFilter

type SkillOwnerKindFilter string

SkillOwnerKindFilter defines model for SkillOwnerKindFilter.

const (
	SkillOwnerKindFilterOrg     SkillOwnerKindFilter = "org"
	SkillOwnerKindFilterProject SkillOwnerKindFilter = "project"
	SkillOwnerKindFilterUser    SkillOwnerKindFilter = "user"
)

Defines values for SkillOwnerKindFilter.

func (SkillOwnerKindFilter) Valid

func (e SkillOwnerKindFilter) Valid() bool

Valid indicates whether the value is a known member of the SkillOwnerKindFilter enum.

type SkillOwnerProjectIDFilter

type SkillOwnerProjectIDFilter = ProjectID

SkillOwnerProjectIDFilter defines model for SkillOwnerProjectIDFilter.

type SkillRevisionID

type SkillRevisionID = string

SkillRevisionID defines model for SkillRevisionID.

type SlackSetup

type SlackSetup struct {
	ActionsUrl  string    `json:"actions_url"`
	EventsUrl   string    `json:"events_url"`
	ExpiresAt   Timestamp `json:"expires_at"`
	OauthUrl    string    `json:"oauth_url"`
	Provider    string    `json:"provider"`
	RedirectUri string    `json:"redirect_uri"`
	SlackAppId  string    `json:"slack_app_id"`
}

SlackSetup defines model for SlackSetup.

type SlackSetupIcon

type SlackSetupIcon struct {
	DataBase64 string  `json:"data_base64"`
	Filename   *string `json:"filename,omitempty"`
}

SlackSetupIcon defines model for SlackSetupIcon.

type SleepMachineDaemonRuntime4XXJSONResponse

type SleepMachineDaemonRuntime4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (SleepMachineDaemonRuntime4XXJSONResponse) VisitSleepMachineDaemonRuntimeResponse

func (response SleepMachineDaemonRuntime4XXJSONResponse) VisitSleepMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type SleepMachineDaemonRuntime5XXJSONResponse

type SleepMachineDaemonRuntime5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (SleepMachineDaemonRuntime5XXJSONResponse) VisitSleepMachineDaemonRuntimeResponse

func (response SleepMachineDaemonRuntime5XXJSONResponse) VisitSleepMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type SleepMachineDaemonRuntime200JSONResponse

type SleepMachineDaemonRuntime200JSONResponse DaemonRuntime

func (SleepMachineDaemonRuntime200JSONResponse) VisitSleepMachineDaemonRuntimeResponse

func (response SleepMachineDaemonRuntime200JSONResponse) VisitSleepMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type SleepMachineDaemonRuntime400JSONResponse

type SleepMachineDaemonRuntime400JSONResponse struct{ BadRequestJSONResponse }

func (SleepMachineDaemonRuntime400JSONResponse) VisitSleepMachineDaemonRuntimeResponse

func (response SleepMachineDaemonRuntime400JSONResponse) VisitSleepMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type SleepMachineDaemonRuntime401JSONResponse

type SleepMachineDaemonRuntime401JSONResponse struct{ UnauthorizedJSONResponse }

func (SleepMachineDaemonRuntime401JSONResponse) VisitSleepMachineDaemonRuntimeResponse

func (response SleepMachineDaemonRuntime401JSONResponse) VisitSleepMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type SleepMachineDaemonRuntime403JSONResponse

type SleepMachineDaemonRuntime403JSONResponse struct{ ForbiddenJSONResponse }

func (SleepMachineDaemonRuntime403JSONResponse) VisitSleepMachineDaemonRuntimeResponse

func (response SleepMachineDaemonRuntime403JSONResponse) VisitSleepMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type SleepMachineDaemonRuntime404JSONResponse

type SleepMachineDaemonRuntime404JSONResponse struct{ NotFoundJSONResponse }

func (SleepMachineDaemonRuntime404JSONResponse) VisitSleepMachineDaemonRuntimeResponse

func (response SleepMachineDaemonRuntime404JSONResponse) VisitSleepMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type SleepMachineDaemonRuntime409JSONResponse

type SleepMachineDaemonRuntime409JSONResponse Error

func (SleepMachineDaemonRuntime409JSONResponse) VisitSleepMachineDaemonRuntimeResponse

func (response SleepMachineDaemonRuntime409JSONResponse) VisitSleepMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type SleepMachineDaemonRuntime410JSONResponse

type SleepMachineDaemonRuntime410JSONResponse struct{ GoneJSONResponse }

func (SleepMachineDaemonRuntime410JSONResponse) VisitSleepMachineDaemonRuntimeResponse

func (response SleepMachineDaemonRuntime410JSONResponse) VisitSleepMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type SleepMachineDaemonRuntime503JSONResponse

type SleepMachineDaemonRuntime503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (SleepMachineDaemonRuntime503JSONResponse) VisitSleepMachineDaemonRuntimeResponse

func (response SleepMachineDaemonRuntime503JSONResponse) VisitSleepMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type SleepMachineDaemonRuntimeRequestObject

type SleepMachineDaemonRuntimeRequestObject struct {
	RuntimeID string `json:"runtimeID"`
}

type SleepMachineDaemonRuntimeResponseObject

type SleepMachineDaemonRuntimeResponseObject interface {
	VisitSleepMachineDaemonRuntimeResponse(w http.ResponseWriter) error
}

type SocketMachineDaemonRuntime4XXJSONResponse

type SocketMachineDaemonRuntime4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (SocketMachineDaemonRuntime4XXJSONResponse) VisitSocketMachineDaemonRuntimeResponse

func (response SocketMachineDaemonRuntime4XXJSONResponse) VisitSocketMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type SocketMachineDaemonRuntime5XXJSONResponse

type SocketMachineDaemonRuntime5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (SocketMachineDaemonRuntime5XXJSONResponse) VisitSocketMachineDaemonRuntimeResponse

func (response SocketMachineDaemonRuntime5XXJSONResponse) VisitSocketMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type SocketMachineDaemonRuntime101Response

type SocketMachineDaemonRuntime101Response struct {
}

func (SocketMachineDaemonRuntime101Response) VisitSocketMachineDaemonRuntimeResponse

func (response SocketMachineDaemonRuntime101Response) VisitSocketMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type SocketMachineDaemonRuntime400JSONResponse

type SocketMachineDaemonRuntime400JSONResponse struct{ BadRequestJSONResponse }

func (SocketMachineDaemonRuntime400JSONResponse) VisitSocketMachineDaemonRuntimeResponse

func (response SocketMachineDaemonRuntime400JSONResponse) VisitSocketMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type SocketMachineDaemonRuntime401JSONResponse

type SocketMachineDaemonRuntime401JSONResponse struct{ UnauthorizedJSONResponse }

func (SocketMachineDaemonRuntime401JSONResponse) VisitSocketMachineDaemonRuntimeResponse

func (response SocketMachineDaemonRuntime401JSONResponse) VisitSocketMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type SocketMachineDaemonRuntime403JSONResponse

type SocketMachineDaemonRuntime403JSONResponse struct{ ForbiddenJSONResponse }

func (SocketMachineDaemonRuntime403JSONResponse) VisitSocketMachineDaemonRuntimeResponse

func (response SocketMachineDaemonRuntime403JSONResponse) VisitSocketMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type SocketMachineDaemonRuntime404JSONResponse

type SocketMachineDaemonRuntime404JSONResponse struct{ NotFoundJSONResponse }

func (SocketMachineDaemonRuntime404JSONResponse) VisitSocketMachineDaemonRuntimeResponse

func (response SocketMachineDaemonRuntime404JSONResponse) VisitSocketMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type SocketMachineDaemonRuntime409JSONResponse

type SocketMachineDaemonRuntime409JSONResponse struct{ ConflictJSONResponse }

func (SocketMachineDaemonRuntime409JSONResponse) VisitSocketMachineDaemonRuntimeResponse

func (response SocketMachineDaemonRuntime409JSONResponse) VisitSocketMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type SocketMachineDaemonRuntime410JSONResponse

type SocketMachineDaemonRuntime410JSONResponse struct{ GoneJSONResponse }

func (SocketMachineDaemonRuntime410JSONResponse) VisitSocketMachineDaemonRuntimeResponse

func (response SocketMachineDaemonRuntime410JSONResponse) VisitSocketMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type SocketMachineDaemonRuntime503JSONResponse

type SocketMachineDaemonRuntime503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (SocketMachineDaemonRuntime503JSONResponse) VisitSocketMachineDaemonRuntimeResponse

func (response SocketMachineDaemonRuntime503JSONResponse) VisitSocketMachineDaemonRuntimeResponse(w http.ResponseWriter) error

type SocketMachineDaemonRuntimeRequestObject

type SocketMachineDaemonRuntimeRequestObject struct {
	RuntimeID string `json:"runtimeID"`
}

type SocketMachineDaemonRuntimeResponseObject

type SocketMachineDaemonRuntimeResponseObject interface {
	VisitSocketMachineDaemonRuntimeResponse(w http.ResponseWriter) error
}

type StartSecretMCPOAuth4XXJSONResponse

type StartSecretMCPOAuth4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (StartSecretMCPOAuth4XXJSONResponse) VisitStartSecretMCPOAuthResponse

func (response StartSecretMCPOAuth4XXJSONResponse) VisitStartSecretMCPOAuthResponse(w http.ResponseWriter) error

type StartSecretMCPOAuth5XXJSONResponse

type StartSecretMCPOAuth5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (StartSecretMCPOAuth5XXJSONResponse) VisitStartSecretMCPOAuthResponse

func (response StartSecretMCPOAuth5XXJSONResponse) VisitStartSecretMCPOAuthResponse(w http.ResponseWriter) error

type StartSecretMCPOAuth201JSONResponse

type StartSecretMCPOAuth201JSONResponse MCPOAuthStartResponse

func (StartSecretMCPOAuth201JSONResponse) VisitStartSecretMCPOAuthResponse

func (response StartSecretMCPOAuth201JSONResponse) VisitStartSecretMCPOAuthResponse(w http.ResponseWriter) error

type StartSecretMCPOAuth400JSONResponse

type StartSecretMCPOAuth400JSONResponse struct{ BadRequestJSONResponse }

func (StartSecretMCPOAuth400JSONResponse) VisitStartSecretMCPOAuthResponse

func (response StartSecretMCPOAuth400JSONResponse) VisitStartSecretMCPOAuthResponse(w http.ResponseWriter) error

type StartSecretMCPOAuth401JSONResponse

type StartSecretMCPOAuth401JSONResponse struct{ UnauthorizedJSONResponse }

func (StartSecretMCPOAuth401JSONResponse) VisitStartSecretMCPOAuthResponse

func (response StartSecretMCPOAuth401JSONResponse) VisitStartSecretMCPOAuthResponse(w http.ResponseWriter) error

type StartSecretMCPOAuth403JSONResponse

type StartSecretMCPOAuth403JSONResponse struct{ ForbiddenJSONResponse }

func (StartSecretMCPOAuth403JSONResponse) VisitStartSecretMCPOAuthResponse

func (response StartSecretMCPOAuth403JSONResponse) VisitStartSecretMCPOAuthResponse(w http.ResponseWriter) error

type StartSecretMCPOAuth404JSONResponse

type StartSecretMCPOAuth404JSONResponse struct{ NotFoundJSONResponse }

func (StartSecretMCPOAuth404JSONResponse) VisitStartSecretMCPOAuthResponse

func (response StartSecretMCPOAuth404JSONResponse) VisitStartSecretMCPOAuthResponse(w http.ResponseWriter) error

type StartSecretMCPOAuth409JSONResponse

type StartSecretMCPOAuth409JSONResponse struct{ ConflictJSONResponse }

func (StartSecretMCPOAuth409JSONResponse) VisitStartSecretMCPOAuthResponse

func (response StartSecretMCPOAuth409JSONResponse) VisitStartSecretMCPOAuthResponse(w http.ResponseWriter) error

type StartSecretMCPOAuth422JSONResponse

type StartSecretMCPOAuth422JSONResponse struct {
	UnprocessableEntityJSONResponse
}

func (StartSecretMCPOAuth422JSONResponse) VisitStartSecretMCPOAuthResponse

func (response StartSecretMCPOAuth422JSONResponse) VisitStartSecretMCPOAuthResponse(w http.ResponseWriter) error

type StartSecretMCPOAuth500JSONResponse

type StartSecretMCPOAuth500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (StartSecretMCPOAuth500JSONResponse) VisitStartSecretMCPOAuthResponse

func (response StartSecretMCPOAuth500JSONResponse) VisitStartSecretMCPOAuthResponse(w http.ResponseWriter) error

type StartSecretMCPOAuth502JSONResponse

type StartSecretMCPOAuth502JSONResponse struct{ BadGatewayJSONResponse }

func (StartSecretMCPOAuth502JSONResponse) VisitStartSecretMCPOAuthResponse

func (response StartSecretMCPOAuth502JSONResponse) VisitStartSecretMCPOAuthResponse(w http.ResponseWriter) error

type StartSecretMCPOAuth503JSONResponse

type StartSecretMCPOAuth503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (StartSecretMCPOAuth503JSONResponse) VisitStartSecretMCPOAuthResponse

func (response StartSecretMCPOAuth503JSONResponse) VisitStartSecretMCPOAuthResponse(w http.ResponseWriter) error

type StartSecretMCPOAuthJSONRequestBody

type StartSecretMCPOAuthJSONRequestBody = MCPOAuthStartRequest

StartSecretMCPOAuthJSONRequestBody defines body for StartSecretMCPOAuth for application/json ContentType.

type StartSecretMCPOAuthRequestObject

type StartSecretMCPOAuthRequestObject struct {
	OrgID string `json:"orgID"`
	Body  *StartSecretMCPOAuthJSONRequestBody
}

type StartSecretMCPOAuthResponseObject

type StartSecretMCPOAuthResponseObject interface {
	VisitStartSecretMCPOAuthResponse(w http.ResponseWriter) error
}

type StdHTTPServerOptions

type StdHTTPServerOptions struct {
	BaseURL          string
	BaseRouter       ServeMux
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type StreamEvents4XXJSONResponse

type StreamEvents4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (StreamEvents4XXJSONResponse) VisitStreamEventsResponse

func (response StreamEvents4XXJSONResponse) VisitStreamEventsResponse(w http.ResponseWriter) error

type StreamEvents5XXJSONResponse

type StreamEvents5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (StreamEvents5XXJSONResponse) VisitStreamEventsResponse

func (response StreamEvents5XXJSONResponse) VisitStreamEventsResponse(w http.ResponseWriter) error

type StreamEvents200TexteventStreamResponse

type StreamEvents200TexteventStreamResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (StreamEvents200TexteventStreamResponse) VisitStreamEventsResponse

func (response StreamEvents200TexteventStreamResponse) VisitStreamEventsResponse(w http.ResponseWriter) error

type StreamEvents400JSONResponse

type StreamEvents400JSONResponse struct{ BadRequestJSONResponse }

func (StreamEvents400JSONResponse) VisitStreamEventsResponse

func (response StreamEvents400JSONResponse) VisitStreamEventsResponse(w http.ResponseWriter) error

type StreamEvents401JSONResponse

type StreamEvents401JSONResponse struct{ UnauthorizedJSONResponse }

func (StreamEvents401JSONResponse) VisitStreamEventsResponse

func (response StreamEvents401JSONResponse) VisitStreamEventsResponse(w http.ResponseWriter) error

type StreamEvents403JSONResponse

type StreamEvents403JSONResponse struct{ ForbiddenJSONResponse }

func (StreamEvents403JSONResponse) VisitStreamEventsResponse

func (response StreamEvents403JSONResponse) VisitStreamEventsResponse(w http.ResponseWriter) error

type StreamEvents404JSONResponse

type StreamEvents404JSONResponse struct{ NotFoundJSONResponse }

func (StreamEvents404JSONResponse) VisitStreamEventsResponse

func (response StreamEvents404JSONResponse) VisitStreamEventsResponse(w http.ResponseWriter) error

type StreamEvents503JSONResponse

type StreamEvents503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (StreamEvents503JSONResponse) VisitStreamEventsResponse

func (response StreamEvents503JSONResponse) VisitStreamEventsResponse(w http.ResponseWriter) error

type StreamEventsParams

type StreamEventsParams struct {
	AfterSequence *int64 `form:"after_sequence,omitempty" json:"after_sequence,omitempty"`

	// StreamDeltas Opt in to ephemeral delta streamed frames while a model call is in flight. This includes partial assistant text, tool call, and reasoning output. Each frame carries the public `turn_id` and `model_call_context_id` it belongs to, and `tool_use` block starts carry the same public `tool_call_id` the durable `model_output` content block and `tool_result` event will use. Deltas are best-effort: they are not persisted and are not replayed on reconnect. The durable `model_output` event remains the source of truth. Default false.
	StreamDeltas *bool  `form:"stream_deltas,omitempty" json:"stream_deltas,omitempty"`
	LastEventID  *int64 `json:"Last-Event-ID,omitempty"`
}

StreamEventsParams defines parameters for StreamEvents.

type StreamEventsRequestObject

type StreamEventsRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	AgentID   string `json:"agentID"`
	Params    StreamEventsParams
}

type StreamEventsResponseObject

type StreamEventsResponseObject interface {
	VisitStreamEventsResponse(w http.ResponseWriter) error
}

type StrictHTTPServerOptions

type StrictHTTPServerOptions struct {
	RequestErrorHandlerFunc  func(w http.ResponseWriter, r *http.Request, err error)
	ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type StrictHandlerFunc

type StrictHandlerFunc func(ctx context.Context, w http.ResponseWriter, r *http.Request, request any) (any, error)

type StrictMiddlewareFunc

type StrictMiddlewareFunc func(f StrictHandlerFunc, operationID string) StrictHandlerFunc

type StrictServerInterface

type StrictServerInterface interface {
	// BootstrapDaemon Bootstrap daemon
	// (POST /api/v1/daemon/bootstrap)
	BootstrapDaemon(ctx context.Context, request BootstrapDaemonRequestObject) (BootstrapDaemonResponseObject, error)
	// RecordMachineFailure Record machine failure
	// (POST /api/v1/daemon/failures)
	RecordMachineFailure(ctx context.Context, request RecordMachineFailureRequestObject) (RecordMachineFailureResponseObject, error)
	// RegisterMachineDaemonRuntime Register machine daemon runtime
	// (POST /api/v1/daemon/runtimes)
	RegisterMachineDaemonRuntime(ctx context.Context, request RegisterMachineDaemonRuntimeRequestObject) (RegisterMachineDaemonRuntimeResponseObject, error)
	// EndMachineDaemonRuntime End machine daemon runtime
	// (POST /api/v1/daemon/runtimes/{runtimeID}/end)
	EndMachineDaemonRuntime(ctx context.Context, request EndMachineDaemonRuntimeRequestObject) (EndMachineDaemonRuntimeResponseObject, error)
	// SleepMachineDaemonRuntime Sleep machine daemon runtime
	// (POST /api/v1/daemon/runtimes/{runtimeID}/sleep)
	SleepMachineDaemonRuntime(ctx context.Context, request SleepMachineDaemonRuntimeRequestObject) (SleepMachineDaemonRuntimeResponseObject, error)
	// SocketMachineDaemonRuntime Socket machine daemon runtime
	// (GET /api/v1/daemon/runtimes/{runtimeID}/socket)
	SocketMachineDaemonRuntime(ctx context.Context, request SocketMachineDaemonRuntimeRequestObject) (SocketMachineDaemonRuntimeResponseObject, error)
	// GetDaemonSkillArchive Get daemon skill archive
	// (GET /api/v1/daemon/skills/{skillID}/archive)
	GetDaemonSkillArchive(ctx context.Context, request GetDaemonSkillArchiveRequestObject) (GetDaemonSkillArchiveResponseObject, error)
	// ListPendingInvitations List pending invitations
	// (GET /api/v1/invitations)
	ListPendingInvitations(ctx context.Context, request ListPendingInvitationsRequestObject) (ListPendingInvitationsResponseObject, error)
	// AcceptInvitation Accept invitation
	// (POST /api/v1/invitations/{invitationID}/accept)
	AcceptInvitation(ctx context.Context, request AcceptInvitationRequestObject) (AcceptInvitationResponseObject, error)
	// DeclineInvitation Decline invitation
	// (POST /api/v1/invitations/{invitationID}/decline)
	DeclineInvitation(ctx context.Context, request DeclineInvitationRequestObject) (DeclineInvitationResponseObject, error)
	// DeleteCurrentUser Delete the authenticated user's account
	// (DELETE /api/v1/me)
	DeleteCurrentUser(ctx context.Context, request DeleteCurrentUserRequestObject) (DeleteCurrentUserResponseObject, error)
	// GetCurrentUser Get the authenticated user and their organizations
	// (GET /api/v1/me)
	GetCurrentUser(ctx context.Context, request GetCurrentUserRequestObject) (GetCurrentUserResponseObject, error)
	// CreateOrganization Create organization
	// (POST /api/v1/orgs)
	CreateOrganization(ctx context.Context, request CreateOrganizationRequestObject) (CreateOrganizationResponseObject, error)
	// DeleteOrganization Delete organization
	// (DELETE /api/v1/orgs/{orgID})
	DeleteOrganization(ctx context.Context, request DeleteOrganizationRequestObject) (DeleteOrganizationResponseObject, error)
	// ListOrgAPIKeys List org API keys
	// (GET /api/v1/orgs/{orgID}/api-keys)
	ListOrgAPIKeys(ctx context.Context, request ListOrgAPIKeysRequestObject) (ListOrgAPIKeysResponseObject, error)
	// CreateOrgAPIKey Create org API key
	// (POST /api/v1/orgs/{orgID}/api-keys)
	CreateOrgAPIKey(ctx context.Context, request CreateOrgAPIKeyRequestObject) (CreateOrgAPIKeyResponseObject, error)
	// GetOrgAPIKey Get an org API key
	// (GET /api/v1/orgs/{orgID}/api-keys/{keyID})
	GetOrgAPIKey(ctx context.Context, request GetOrgAPIKeyRequestObject) (GetOrgAPIKeyResponseObject, error)
	// UpdateOrgAPIKey Update an org API key
	// (PATCH /api/v1/orgs/{orgID}/api-keys/{keyID})
	UpdateOrgAPIKey(ctx context.Context, request UpdateOrgAPIKeyRequestObject) (UpdateOrgAPIKeyResponseObject, error)
	// ListOrgAPIKeyProjectAccess List an org API key's explicit project role grants
	// (GET /api/v1/orgs/{orgID}/api-keys/{keyID}/projects)
	ListOrgAPIKeyProjectAccess(ctx context.Context, request ListOrgAPIKeyProjectAccessRequestObject) (ListOrgAPIKeyProjectAccessResponseObject, error)
	// RemoveOrgAPIKeyProjectRole Remove an org API key's project role grant
	// (DELETE /api/v1/orgs/{orgID}/api-keys/{keyID}/projects/{projectID})
	RemoveOrgAPIKeyProjectRole(ctx context.Context, request RemoveOrgAPIKeyProjectRoleRequestObject) (RemoveOrgAPIKeyProjectRoleResponseObject, error)
	// SetOrgAPIKeyProjectRole Set an org API key's role on a project
	// (PUT /api/v1/orgs/{orgID}/api-keys/{keyID}/projects/{projectID})
	SetOrgAPIKeyProjectRole(ctx context.Context, request SetOrgAPIKeyProjectRoleRequestObject) (SetOrgAPIKeyProjectRoleResponseObject, error)
	// RevokeOrgAPIKey Revoke an org API key
	// (POST /api/v1/orgs/{orgID}/api-keys/{keyID}/revoke)
	RevokeOrgAPIKey(ctx context.Context, request RevokeOrgAPIKeyRequestObject) (RevokeOrgAPIKeyResponseObject, error)
	// ListOrgInvitations List org invitations
	// (GET /api/v1/orgs/{orgID}/invitations)
	ListOrgInvitations(ctx context.Context, request ListOrgInvitationsRequestObject) (ListOrgInvitationsResponseObject, error)
	// CreateOrgInvitation Create org invitation
	// (POST /api/v1/orgs/{orgID}/invitations)
	CreateOrgInvitation(ctx context.Context, request CreateOrgInvitationRequestObject) (CreateOrgInvitationResponseObject, error)
	// DeleteOrgInvitation Delete org invitation
	// (DELETE /api/v1/orgs/{orgID}/invitations/{invitationID})
	DeleteOrgInvitation(ctx context.Context, request DeleteOrgInvitationRequestObject) (DeleteOrgInvitationResponseObject, error)
	// ListMachinePools List machine pools
	// (GET /api/v1/orgs/{orgID}/machine-pools)
	ListMachinePools(ctx context.Context, request ListMachinePoolsRequestObject) (ListMachinePoolsResponseObject, error)
	// CreateMachinePool Create machine pool
	// (POST /api/v1/orgs/{orgID}/machine-pools)
	CreateMachinePool(ctx context.Context, request CreateMachinePoolRequestObject) (CreateMachinePoolResponseObject, error)
	// DeleteMachinePool Delete machine pool
	// (DELETE /api/v1/orgs/{orgID}/machine-pools/{poolID})
	DeleteMachinePool(ctx context.Context, request DeleteMachinePoolRequestObject) (DeleteMachinePoolResponseObject, error)
	// GetMachinePool Get machine pool
	// (GET /api/v1/orgs/{orgID}/machine-pools/{poolID})
	GetMachinePool(ctx context.Context, request GetMachinePoolRequestObject) (GetMachinePoolResponseObject, error)
	// UpdateMachinePool Update machine pool
	// (PUT /api/v1/orgs/{orgID}/machine-pools/{poolID})
	UpdateMachinePool(ctx context.Context, request UpdateMachinePoolRequestObject) (UpdateMachinePoolResponseObject, error)
	// ListVisibleMachines List visible machines
	// (GET /api/v1/orgs/{orgID}/machines)
	ListVisibleMachines(ctx context.Context, request ListVisibleMachinesRequestObject) (ListVisibleMachinesResponseObject, error)
	// CreateMachine Create machine
	// (POST /api/v1/orgs/{orgID}/machines)
	CreateMachine(ctx context.Context, request CreateMachineRequestObject) (CreateMachineResponseObject, error)
	// DeleteMachine Delete machine
	// (DELETE /api/v1/orgs/{orgID}/machines/{machineID})
	DeleteMachine(ctx context.Context, request DeleteMachineRequestObject) (DeleteMachineResponseObject, error)
	// GetMachine Get machine
	// (GET /api/v1/orgs/{orgID}/machines/{machineID})
	GetMachine(ctx context.Context, request GetMachineRequestObject) (GetMachineResponseObject, error)
	// UpdateMachine Update machine execution defaults
	// (PATCH /api/v1/orgs/{orgID}/machines/{machineID})
	UpdateMachine(ctx context.Context, request UpdateMachineRequestObject) (UpdateMachineResponseObject, error)
	// ListBYOMachineDaemonTokens List byo machine daemon tokens
	// (GET /api/v1/orgs/{orgID}/machines/{machineID}/daemon-tokens)
	ListBYOMachineDaemonTokens(ctx context.Context, request ListBYOMachineDaemonTokensRequestObject) (ListBYOMachineDaemonTokensResponseObject, error)
	// CreateBYOMachineDaemonToken Create byo machine daemon token
	// (POST /api/v1/orgs/{orgID}/machines/{machineID}/daemon-tokens)
	CreateBYOMachineDaemonToken(ctx context.Context, request CreateBYOMachineDaemonTokenRequestObject) (CreateBYOMachineDaemonTokenResponseObject, error)
	// RevokeMachineDaemonToken Revoke machine daemon token
	// (POST /api/v1/orgs/{orgID}/machines/{machineID}/daemon-tokens/{tokenID}/revoke)
	RevokeMachineDaemonToken(ctx context.Context, request RevokeMachineDaemonTokenRequestObject) (RevokeMachineDaemonTokenResponseObject, error)
	// ListOrgMembers List organization members
	// (GET /api/v1/orgs/{orgID}/members)
	ListOrgMembers(ctx context.Context, request ListOrgMembersRequestObject) (ListOrgMembersResponseObject, error)
	// RemoveOrgMember Remove org member
	// (DELETE /api/v1/orgs/{orgID}/members/{userID})
	RemoveOrgMember(ctx context.Context, request RemoveOrgMemberRequestObject) (RemoveOrgMemberResponseObject, error)
	// UpdateOrgMember Update org member role
	// (PATCH /api/v1/orgs/{orgID}/members/{userID})
	UpdateOrgMember(ctx context.Context, request UpdateOrgMemberRequestObject) (UpdateOrgMemberResponseObject, error)
	// ListMemberProjectAccess List a member's explicit project role grants
	// (GET /api/v1/orgs/{orgID}/members/{userID}/projects)
	ListMemberProjectAccess(ctx context.Context, request ListMemberProjectAccessRequestObject) (ListMemberProjectAccessResponseObject, error)
	// RemoveMemberProjectAccess Remove a member's project role grant
	// (DELETE /api/v1/orgs/{orgID}/members/{userID}/projects/{projectID})
	RemoveMemberProjectAccess(ctx context.Context, request RemoveMemberProjectAccessRequestObject) (RemoveMemberProjectAccessResponseObject, error)
	// SetMemberProjectAccess Set a member's role on a project
	// (PUT /api/v1/orgs/{orgID}/members/{userID}/projects/{projectID})
	SetMemberProjectAccess(ctx context.Context, request SetMemberProjectAccessRequestObject) (SetMemberProjectAccessResponseObject, error)
	// ListModelProviderConfigs List model provider configs
	// (GET /api/v1/orgs/{orgID}/model-provider-configs)
	ListModelProviderConfigs(ctx context.Context, request ListModelProviderConfigsRequestObject) (ListModelProviderConfigsResponseObject, error)
	// CreateModelProviderConfig Create model provider config
	// (POST /api/v1/orgs/{orgID}/model-provider-configs)
	CreateModelProviderConfig(ctx context.Context, request CreateModelProviderConfigRequestObject) (CreateModelProviderConfigResponseObject, error)
	// DeleteModelProviderConfig Delete model provider config
	// (DELETE /api/v1/orgs/{orgID}/model-provider-configs/{modelProviderConfigID})
	DeleteModelProviderConfig(ctx context.Context, request DeleteModelProviderConfigRequestObject) (DeleteModelProviderConfigResponseObject, error)
	// GetModelProviderConfig Get model provider config
	// (GET /api/v1/orgs/{orgID}/model-provider-configs/{modelProviderConfigID})
	GetModelProviderConfig(ctx context.Context, request GetModelProviderConfigRequestObject) (GetModelProviderConfigResponseObject, error)
	// UpdateModelProviderConfig Update model provider config
	// (PUT /api/v1/orgs/{orgID}/model-provider-configs/{modelProviderConfigID})
	UpdateModelProviderConfig(ctx context.Context, request UpdateModelProviderConfigRequestObject) (UpdateModelProviderConfigResponseObject, error)
	// ListConfiguredModels List configured models
	// (GET /api/v1/orgs/{orgID}/model-provider-configs/{modelProviderConfigID}/models)
	ListConfiguredModels(ctx context.Context, request ListConfiguredModelsRequestObject) (ListConfiguredModelsResponseObject, error)
	// CreateConfiguredModel Create configured model
	// (POST /api/v1/orgs/{orgID}/model-provider-configs/{modelProviderConfigID}/models)
	CreateConfiguredModel(ctx context.Context, request CreateConfiguredModelRequestObject) (CreateConfiguredModelResponseObject, error)
	// DeleteConfiguredModel Delete configured model
	// (DELETE /api/v1/orgs/{orgID}/model-provider-configs/{modelProviderConfigID}/models/{configuredModelID})
	DeleteConfiguredModel(ctx context.Context, request DeleteConfiguredModelRequestObject) (DeleteConfiguredModelResponseObject, error)
	// UpdateConfiguredModel Update configured model
	// (PUT /api/v1/orgs/{orgID}/model-provider-configs/{modelProviderConfigID}/models/{configuredModelID})
	UpdateConfiguredModel(ctx context.Context, request UpdateConfiguredModelRequestObject) (UpdateConfiguredModelResponseObject, error)
	// ListVisibleProjects List visible projects
	// (GET /api/v1/orgs/{orgID}/projects)
	ListVisibleProjects(ctx context.Context, request ListVisibleProjectsRequestObject) (ListVisibleProjectsResponseObject, error)
	// CreateProject Create project
	// (POST /api/v1/orgs/{orgID}/projects)
	CreateProject(ctx context.Context, request CreateProjectRequestObject) (CreateProjectResponseObject, error)
	// DeleteProject Delete project
	// (DELETE /api/v1/orgs/{orgID}/projects/{projectID})
	DeleteProject(ctx context.Context, request DeleteProjectRequestObject) (DeleteProjectResponseObject, error)
	// ListActors List project actors
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/actors)
	ListActors(ctx context.Context, request ListActorsRequestObject) (ListActorsResponseObject, error)
	// PutActor Upsert an external actor
	// (PUT /api/v1/orgs/{orgID}/projects/{projectID}/actors)
	PutActor(ctx context.Context, request PutActorRequestObject) (PutActorResponseObject, error)
	// GetActor Get a project actor
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/actors/{actorID})
	GetActor(ctx context.Context, request GetActorRequestObject) (GetActorResponseObject, error)
	// CreateAgentConfig Create agent config
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agent-configs)
	CreateAgentConfig(ctx context.Context, request CreateAgentConfigRequestObject) (CreateAgentConfigResponseObject, error)
	// GetAgentConfig Get agent config
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agent-configs/{agentConfigID})
	GetAgentConfig(ctx context.Context, request GetAgentConfigRequestObject) (GetAgentConfigResponseObject, error)
	// ListAgentProfiles List agent profiles
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agent-profiles)
	ListAgentProfiles(ctx context.Context, request ListAgentProfilesRequestObject) (ListAgentProfilesResponseObject, error)
	// CreateAgentProfile Create agent profile
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agent-profiles)
	CreateAgentProfile(ctx context.Context, request CreateAgentProfileRequestObject) (CreateAgentProfileResponseObject, error)
	// DeleteAgentProfile Delete agent profile
	// (DELETE /api/v1/orgs/{orgID}/projects/{projectID}/agent-profiles/{agentProfileID})
	DeleteAgentProfile(ctx context.Context, request DeleteAgentProfileRequestObject) (DeleteAgentProfileResponseObject, error)
	// GetAgentProfile Get agent profile
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agent-profiles/{agentProfileID})
	GetAgentProfile(ctx context.Context, request GetAgentProfileRequestObject) (GetAgentProfileResponseObject, error)
	// UpdateAgentProfile Update agent profile
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agent-profiles/{agentProfileID}/config)
	UpdateAgentProfile(ctx context.Context, request UpdateAgentProfileRequestObject) (UpdateAgentProfileResponseObject, error)
	// CreateIntegrationOAuthSetup Create integration OAuth setup
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agent-profiles/{agentProfileID}/integration-oauth/setup)
	CreateIntegrationOAuthSetup(ctx context.Context, request CreateIntegrationOAuthSetupRequestObject) (CreateIntegrationOAuthSetupResponseObject, error)
	// CreateSlackSetup Create Slack app and OAuth setup
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agent-profiles/{agentProfileID}/slack-setup)
	CreateSlackSetup(ctx context.Context, request CreateSlackSetupRequestObject) (CreateSlackSetupResponseObject, error)
	// ListAgents List agents
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agents)
	ListAgents(ctx context.Context, request ListAgentsRequestObject) (ListAgentsResponseObject, error)
	// CreateAgent Create agent
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agents)
	CreateAgent(ctx context.Context, request CreateAgentRequestObject) (CreateAgentResponseObject, error)
	// GetAgent Get agent
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID})
	GetAgent(ctx context.Context, request GetAgentRequestObject) (GetAgentResponseObject, error)
	// ArchiveAgent Archive agent
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/archive)
	ArchiveAgent(ctx context.Context, request ArchiveAgentRequestObject) (ArchiveAgentResponseObject, error)
	// GetArtifact Get artifact
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/artifacts/{artifactID})
	GetArtifact(ctx context.Context, request GetArtifactRequestObject) (GetArtifactResponseObject, error)
	// GetArtifactContent Get artifact content
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/artifacts/{artifactID}/content)
	GetArtifactContent(ctx context.Context, request GetArtifactContentRequestObject) (GetArtifactContentResponseObject, error)
	// CancelAgent Cancel agent
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/cancel)
	CancelAgent(ctx context.Context, request CancelAgentRequestObject) (CancelAgentResponseObject, error)
	// UpdateAgentConfig Update agent config
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/config)
	UpdateAgentConfig(ctx context.Context, request UpdateAgentConfigRequestObject) (UpdateAgentConfigResponseObject, error)
	// ListEvents List events
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/events)
	ListEvents(ctx context.Context, request ListEventsRequestObject) (ListEventsResponseObject, error)
	// StreamEvents Stream events
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/events/stream)
	StreamEvents(ctx context.Context, request StreamEventsRequestObject) (StreamEventsResponseObject, error)
	// CreateAgentInput Create agent input
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/inputs)
	CreateAgentInput(ctx context.Context, request CreateAgentInputRequestObject) (CreateAgentInputResponseObject, error)
	// ListQueuedBacklogInputs List queued backlog inputs
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/inputs/backlog)
	ListQueuedBacklogInputs(ctx context.Context, request ListQueuedBacklogInputsRequestObject) (ListQueuedBacklogInputsResponseObject, error)
	// CancelQueuedBacklogInput Cancel queued backlog input
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/inputs/{inputID}/cancel)
	CancelQueuedBacklogInput(ctx context.Context, request CancelQueuedBacklogInputRequestObject) (CancelQueuedBacklogInputResponseObject, error)
	// DemoteSteeringInputToQueued Demote steering input to queued
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/inputs/{inputID}/demote_to_queued)
	DemoteSteeringInputToQueued(ctx context.Context, request DemoteSteeringInputToQueuedRequestObject) (DemoteSteeringInputToQueuedResponseObject, error)
	// MoveQueuedBacklogInput Move queued backlog input
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/inputs/{inputID}/move)
	MoveQueuedBacklogInput(ctx context.Context, request MoveQueuedBacklogInputRequestObject) (MoveQueuedBacklogInputResponseObject, error)
	// PromoteQueuedInputToSteering Promote queued input to steering
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/inputs/{inputID}/promote_to_steering)
	PromoteQueuedInputToSteering(ctx context.Context, request PromoteQueuedInputToSteeringRequestObject) (PromoteQueuedInputToSteeringResponseObject, error)
	// ListAgentInteractions List agent interactions
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/interactions)
	ListAgentInteractions(ctx context.Context, request ListAgentInteractionsRequestObject) (ListAgentInteractionsResponseObject, error)
	// ResolveAgentInteraction Resolve agent interaction
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/interactions/{interactionID}/resolve)
	ResolveAgentInteraction(ctx context.Context, request ResolveAgentInteractionRequestObject) (ResolveAgentInteractionResponseObject, error)
	// ListToolCalls List tool calls
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/tool-calls)
	ListToolCalls(ctx context.Context, request ListToolCallsRequestObject) (ListToolCallsResponseObject, error)
	// SubmitToolCallResult Submit a result for a ready custom tool call
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/tool-calls/{toolCallID}/result)
	SubmitToolCallResult(ctx context.Context, request SubmitToolCallResultRequestObject) (SubmitToolCallResultResponseObject, error)
	// ListTurns List turns
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/turns)
	ListTurns(ctx context.Context, request ListTurnsRequestObject) (ListTurnsResponseObject, error)
	// ListTurnEvents List turn events
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/turns/{turnID}/events)
	ListTurnEvents(ctx context.Context, request ListTurnEventsRequestObject) (ListTurnEventsResponseObject, error)
	// ListIntegrationInstalls List integration installs
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/integration-installs)
	ListIntegrationInstalls(ctx context.Context, request ListIntegrationInstallsRequestObject) (ListIntegrationInstallsResponseObject, error)
	// DeleteIntegrationInstall Delete integration install
	// (DELETE /api/v1/orgs/{orgID}/projects/{projectID}/integration-installs/{integrationInstallID})
	DeleteIntegrationInstall(ctx context.Context, request DeleteIntegrationInstallRequestObject) (DeleteIntegrationInstallResponseObject, error)
	// ListProjectMachineGrants List project machine grants
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/machine-grants)
	ListProjectMachineGrants(ctx context.Context, request ListProjectMachineGrantsRequestObject) (ListProjectMachineGrantsResponseObject, error)
	// CreateProjectMachineGrant Create project machine grant
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/machine-grants)
	CreateProjectMachineGrant(ctx context.Context, request CreateProjectMachineGrantRequestObject) (CreateProjectMachineGrantResponseObject, error)
	// DeleteProjectMachineGrant Delete project machine grant
	// (DELETE /api/v1/orgs/{orgID}/projects/{projectID}/machine-grants/{grantID})
	DeleteProjectMachineGrant(ctx context.Context, request DeleteProjectMachineGrantRequestObject) (DeleteProjectMachineGrantResponseObject, error)
	// ListProjectMachinePoolGrants List project machine pool grants
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/machine-pool-grants)
	ListProjectMachinePoolGrants(ctx context.Context, request ListProjectMachinePoolGrantsRequestObject) (ListProjectMachinePoolGrantsResponseObject, error)
	// CreateProjectMachinePoolGrant Create project machine pool grant
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/machine-pool-grants)
	CreateProjectMachinePoolGrant(ctx context.Context, request CreateProjectMachinePoolGrantRequestObject) (CreateProjectMachinePoolGrantResponseObject, error)
	// DeleteProjectMachinePoolGrant Delete project machine pool grant
	// (DELETE /api/v1/orgs/{orgID}/projects/{projectID}/machine-pool-grants/{poolGrantID})
	DeleteProjectMachinePoolGrant(ctx context.Context, request DeleteProjectMachinePoolGrantRequestObject) (DeleteProjectMachinePoolGrantResponseObject, error)
	// GetProjectMachinePoolGrant Get project machine pool grant
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/machine-pool-grants/{poolGrantID})
	GetProjectMachinePoolGrant(ctx context.Context, request GetProjectMachinePoolGrantRequestObject) (GetProjectMachinePoolGrantResponseObject, error)
	// UpdateProjectMachinePoolGrant Update project machine pool grant
	// (PATCH /api/v1/orgs/{orgID}/projects/{projectID}/machine-pool-grants/{poolGrantID})
	UpdateProjectMachinePoolGrant(ctx context.Context, request UpdateProjectMachinePoolGrantRequestObject) (UpdateProjectMachinePoolGrantResponseObject, error)
	// ListVisibleProjectMachines List visible project machines
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/machines)
	ListVisibleProjectMachines(ctx context.Context, request ListVisibleProjectMachinesRequestObject) (ListVisibleProjectMachinesResponseObject, error)
	// ListProjectModelGrants List project model grants
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/model-grants)
	ListProjectModelGrants(ctx context.Context, request ListProjectModelGrantsRequestObject) (ListProjectModelGrantsResponseObject, error)
	// CreateProjectModelGrant Create project model grant
	// (POST /api/v1/orgs/{orgID}/projects/{projectID}/model-grants)
	CreateProjectModelGrant(ctx context.Context, request CreateProjectModelGrantRequestObject) (CreateProjectModelGrantResponseObject, error)
	// DeleteProjectModelGrant Delete project model grant
	// (DELETE /api/v1/orgs/{orgID}/projects/{projectID}/model-grants/{modelGrantID})
	DeleteProjectModelGrant(ctx context.Context, request DeleteProjectModelGrantRequestObject) (DeleteProjectModelGrantResponseObject, error)
	// UpdateProjectModelGrant Update project model grant
	// (PATCH /api/v1/orgs/{orgID}/projects/{projectID}/model-grants/{modelGrantID})
	UpdateProjectModelGrant(ctx context.Context, request UpdateProjectModelGrantRequestObject) (UpdateProjectModelGrantResponseObject, error)
	// ListProjectAvailableSecrets List secrets available to project
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/secrets)
	ListProjectAvailableSecrets(ctx context.Context, request ListProjectAvailableSecretsRequestObject) (ListProjectAvailableSecretsResponseObject, error)
	// GetProjectAvailableSecret Get secret available to project
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/secrets/{secretID})
	GetProjectAvailableSecret(ctx context.Context, request GetProjectAvailableSecretRequestObject) (GetProjectAvailableSecretResponseObject, error)
	// ListProjectAvailableSkills List skills available to project
	// (GET /api/v1/orgs/{orgID}/projects/{projectID}/skills)
	ListProjectAvailableSkills(ctx context.Context, request ListProjectAvailableSkillsRequestObject) (ListProjectAvailableSkillsResponseObject, error)
	// ListSecrets List secrets visible through ownership authority
	// (GET /api/v1/orgs/{orgID}/secrets)
	ListSecrets(ctx context.Context, request ListSecretsRequestObject) (ListSecretsResponseObject, error)
	// CreateSecret Create secret
	// (POST /api/v1/orgs/{orgID}/secrets)
	CreateSecret(ctx context.Context, request CreateSecretRequestObject) (CreateSecretResponseObject, error)
	// StartSecretMCPOAuth Start MCP OAuth for a new secret
	// (POST /api/v1/orgs/{orgID}/secrets/mcp-oauth)
	StartSecretMCPOAuth(ctx context.Context, request StartSecretMCPOAuthRequestObject) (StartSecretMCPOAuthResponseObject, error)
	// DeleteSecret Delete secret
	// (DELETE /api/v1/orgs/{orgID}/secrets/{secretID})
	DeleteSecret(ctx context.Context, request DeleteSecretRequestObject) (DeleteSecretResponseObject, error)
	// GetSecret Get secret through ownership authority
	// (GET /api/v1/orgs/{orgID}/secrets/{secretID})
	GetSecret(ctx context.Context, request GetSecretRequestObject) (GetSecretResponseObject, error)
	// UpdateSecret Update secret metadata
	// (PATCH /api/v1/orgs/{orgID}/secrets/{secretID})
	UpdateSecret(ctx context.Context, request UpdateSecretRequestObject) (UpdateSecretResponseObject, error)
	// ListSecretGrants List secret grants
	// (GET /api/v1/orgs/{orgID}/secrets/{secretID}/grants)
	ListSecretGrants(ctx context.Context, request ListSecretGrantsRequestObject) (ListSecretGrantsResponseObject, error)
	// CreateSecretGrant Create secret grant
	// (POST /api/v1/orgs/{orgID}/secrets/{secretID}/grants)
	CreateSecretGrant(ctx context.Context, request CreateSecretGrantRequestObject) (CreateSecretGrantResponseObject, error)
	// DeleteSecretGrant Delete secret grant
	// (DELETE /api/v1/orgs/{orgID}/secrets/{secretID}/grants/{grantID})
	DeleteSecretGrant(ctx context.Context, request DeleteSecretGrantRequestObject) (DeleteSecretGrantResponseObject, error)
	// CreateSecretVersion Create secret version
	// (POST /api/v1/orgs/{orgID}/secrets/{secretID}/versions)
	CreateSecretVersion(ctx context.Context, request CreateSecretVersionRequestObject) (CreateSecretVersionResponseObject, error)
	// ListSkills List skills visible through ownership authority
	// (GET /api/v1/orgs/{orgID}/skills)
	ListSkills(ctx context.Context, request ListSkillsRequestObject) (ListSkillsResponseObject, error)
	// CreateSkill Create skill
	// (POST /api/v1/orgs/{orgID}/skills)
	CreateSkill(ctx context.Context, request CreateSkillRequestObject) (CreateSkillResponseObject, error)
	// DeleteSkill Delete skill
	// (DELETE /api/v1/orgs/{orgID}/skills/{skillID})
	DeleteSkill(ctx context.Context, request DeleteSkillRequestObject) (DeleteSkillResponseObject, error)
	// GetSkill Get skill through ownership authority
	// (GET /api/v1/orgs/{orgID}/skills/{skillID})
	GetSkill(ctx context.Context, request GetSkillRequestObject) (GetSkillResponseObject, error)
	// ListSkillGrants List skill grants
	// (GET /api/v1/orgs/{orgID}/skills/{skillID}/grants)
	ListSkillGrants(ctx context.Context, request ListSkillGrantsRequestObject) (ListSkillGrantsResponseObject, error)
	// CreateSkillGrant Create skill grant
	// (POST /api/v1/orgs/{orgID}/skills/{skillID}/grants)
	CreateSkillGrant(ctx context.Context, request CreateSkillGrantRequestObject) (CreateSkillGrantResponseObject, error)
	// DeleteSkillGrant Delete skill grant
	// (DELETE /api/v1/orgs/{orgID}/skills/{skillID}/grants/{grantID})
	DeleteSkillGrant(ctx context.Context, request DeleteSkillGrantRequestObject) (DeleteSkillGrantResponseObject, error)
	// ListPersonalAccessTokens List the authenticated user's personal access tokens
	// (GET /api/v1/personal-access-tokens)
	ListPersonalAccessTokens(ctx context.Context, request ListPersonalAccessTokensRequestObject) (ListPersonalAccessTokensResponseObject, error)
	// CreatePersonalAccessToken Create personal access token
	// (POST /api/v1/personal-access-tokens)
	CreatePersonalAccessToken(ctx context.Context, request CreatePersonalAccessTokenRequestObject) (CreatePersonalAccessTokenResponseObject, error)
	// RevokePersonalAccessToken Revoke a personal access token
	// (POST /api/v1/personal-access-tokens/{tokenID}/revoke)
	RevokePersonalAccessToken(ctx context.Context, request RevokePersonalAccessTokenRequestObject) (RevokePersonalAccessTokenResponseObject, error)
	// GetToolCatalog Get tool catalog
	// (GET /api/v1/tool-catalog)
	GetToolCatalog(ctx context.Context, request GetToolCatalogRequestObject) (GetToolCatalogResponseObject, error)
}

StrictServerInterface represents all server handlers.

type StructuredDataContentBlock

type StructuredDataContentBlock struct {
	// Metadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters. Keys beginning with `omnara_` are reserved for Omnara and may affect product behavior; use them only when intentionally invoking Omnara-defined behavior.
	Metadata ContentBlockMetadata           `json:"metadata,omitempty"`
	Type     StructuredDataContentBlockType `json:"type"`

	// Value Public JSON payload whose shape is determined by the event or interaction kind.
	Value JSONBlob `json:"value"`
}

StructuredDataContentBlock defines model for StructuredDataContentBlock.

type StructuredDataContentBlockType

type StructuredDataContentBlockType string

StructuredDataContentBlockType defines model for StructuredDataContentBlock.Type.

const (
	StructuredData StructuredDataContentBlockType = "structured_data"
)

Defines values for StructuredDataContentBlockType.

func (StructuredDataContentBlockType) Valid

Valid indicates whether the value is a known member of the StructuredDataContentBlockType enum.

type SubmitToolCallResult4XXJSONResponse

type SubmitToolCallResult4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (SubmitToolCallResult4XXJSONResponse) VisitSubmitToolCallResultResponse

func (response SubmitToolCallResult4XXJSONResponse) VisitSubmitToolCallResultResponse(w http.ResponseWriter) error

type SubmitToolCallResult5XXJSONResponse

type SubmitToolCallResult5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (SubmitToolCallResult5XXJSONResponse) VisitSubmitToolCallResultResponse

func (response SubmitToolCallResult5XXJSONResponse) VisitSubmitToolCallResultResponse(w http.ResponseWriter) error

type SubmitToolCallResult201JSONResponse

type SubmitToolCallResult201JSONResponse SubmitToolCallResultResponse

func (SubmitToolCallResult201JSONResponse) VisitSubmitToolCallResultResponse

func (response SubmitToolCallResult201JSONResponse) VisitSubmitToolCallResultResponse(w http.ResponseWriter) error

type SubmitToolCallResult400JSONResponse

type SubmitToolCallResult400JSONResponse struct{ BadRequestJSONResponse }

func (SubmitToolCallResult400JSONResponse) VisitSubmitToolCallResultResponse

func (response SubmitToolCallResult400JSONResponse) VisitSubmitToolCallResultResponse(w http.ResponseWriter) error

type SubmitToolCallResult401JSONResponse

type SubmitToolCallResult401JSONResponse struct{ UnauthorizedJSONResponse }

func (SubmitToolCallResult401JSONResponse) VisitSubmitToolCallResultResponse

func (response SubmitToolCallResult401JSONResponse) VisitSubmitToolCallResultResponse(w http.ResponseWriter) error

type SubmitToolCallResult403JSONResponse

type SubmitToolCallResult403JSONResponse struct{ ForbiddenJSONResponse }

func (SubmitToolCallResult403JSONResponse) VisitSubmitToolCallResultResponse

func (response SubmitToolCallResult403JSONResponse) VisitSubmitToolCallResultResponse(w http.ResponseWriter) error

type SubmitToolCallResult404JSONResponse

type SubmitToolCallResult404JSONResponse struct{ NotFoundJSONResponse }

func (SubmitToolCallResult404JSONResponse) VisitSubmitToolCallResultResponse

func (response SubmitToolCallResult404JSONResponse) VisitSubmitToolCallResultResponse(w http.ResponseWriter) error

type SubmitToolCallResult409JSONResponse

type SubmitToolCallResult409JSONResponse struct{ ConflictJSONResponse }

func (SubmitToolCallResult409JSONResponse) VisitSubmitToolCallResultResponse

func (response SubmitToolCallResult409JSONResponse) VisitSubmitToolCallResultResponse(w http.ResponseWriter) error

type SubmitToolCallResult503JSONResponse

type SubmitToolCallResult503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (SubmitToolCallResult503JSONResponse) VisitSubmitToolCallResultResponse

func (response SubmitToolCallResult503JSONResponse) VisitSubmitToolCallResultResponse(w http.ResponseWriter) error

type SubmitToolCallResultJSONRequestBody

type SubmitToolCallResultJSONRequestBody = SubmitToolCallResultRequest

SubmitToolCallResultJSONRequestBody defines body for SubmitToolCallResult for application/json ContentType.

type SubmitToolCallResultRequest

type SubmitToolCallResultRequest struct {
	// ContentBlocks At most 20 inline media blocks per submission, each holding up to 10 MiB of decoded media and up to 24 MiB decoded across the submission. Non-media blocks may hold up to 1 MiB combined. The whole request body is capped at 48 MiB.
	ContentBlocks []SubmitToolResultContentBlock `json:"content_blocks"`

	// Outcome Whether the custom tool call succeeded or failed.
	Outcome SubmitToolCallResultRequestOutcome `json:"outcome"`
}

SubmitToolCallResultRequest defines model for SubmitToolCallResultRequest.

type SubmitToolCallResultRequestObject

type SubmitToolCallResultRequestObject struct {
	OrgID      string     `json:"orgID"`
	ProjectID  string     `json:"projectID"`
	AgentID    string     `json:"agentID"`
	ToolCallID ToolCallID `json:"toolCallID"`
	Body       *SubmitToolCallResultJSONRequestBody
}

type SubmitToolCallResultRequestOutcome

type SubmitToolCallResultRequestOutcome string

SubmitToolCallResultRequestOutcome Whether the custom tool call succeeded or failed.

const (
	SubmitToolCallResultRequestOutcomeFailed    SubmitToolCallResultRequestOutcome = "failed"
	SubmitToolCallResultRequestOutcomeSucceeded SubmitToolCallResultRequestOutcome = "succeeded"
)

Defines values for SubmitToolCallResultRequestOutcome.

func (SubmitToolCallResultRequestOutcome) Valid

Valid indicates whether the value is a known member of the SubmitToolCallResultRequestOutcome enum.

type SubmitToolCallResultResponse

type SubmitToolCallResultResponse struct {
	// ToolCall A model-emitted tool call together with its current lifecycle state.
	ToolCall   ToolCall   `json:"tool_call"`
	ToolResult ToolResult `json:"tool_result"`
}

SubmitToolCallResultResponse defines model for SubmitToolCallResultResponse.

type SubmitToolCallResultResponseObject

type SubmitToolCallResultResponseObject interface {
	VisitSubmitToolCallResultResponse(w http.ResponseWriter) error
}

type SubmitToolResultContentBlock

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

SubmitToolResultContentBlock Submission accepts inline media. The persisted response exposes that media as a `media_ref` block.

func (SubmitToolResultContentBlock) AsInlineMediaContentBlock

func (t SubmitToolResultContentBlock) AsInlineMediaContentBlock() (InlineMediaContentBlock, error)

AsInlineMediaContentBlock returns the union data inside the SubmitToolResultContentBlock as a InlineMediaContentBlock

func (SubmitToolResultContentBlock) AsStructuredDataContentBlock

func (t SubmitToolResultContentBlock) AsStructuredDataContentBlock() (StructuredDataContentBlock, error)

AsStructuredDataContentBlock returns the union data inside the SubmitToolResultContentBlock as a StructuredDataContentBlock

func (SubmitToolResultContentBlock) AsTextContentBlock

func (t SubmitToolResultContentBlock) AsTextContentBlock() (TextContentBlock, error)

AsTextContentBlock returns the union data inside the SubmitToolResultContentBlock as a TextContentBlock

func (SubmitToolResultContentBlock) Discriminator

func (t SubmitToolResultContentBlock) Discriminator() (string, error)

func (*SubmitToolResultContentBlock) FromInlineMediaContentBlock

func (t *SubmitToolResultContentBlock) FromInlineMediaContentBlock(v InlineMediaContentBlock) error

FromInlineMediaContentBlock overwrites any union data inside the SubmitToolResultContentBlock as the provided InlineMediaContentBlock

func (*SubmitToolResultContentBlock) FromStructuredDataContentBlock

func (t *SubmitToolResultContentBlock) FromStructuredDataContentBlock(v StructuredDataContentBlock) error

FromStructuredDataContentBlock overwrites any union data inside the SubmitToolResultContentBlock as the provided StructuredDataContentBlock

func (*SubmitToolResultContentBlock) FromTextContentBlock

func (t *SubmitToolResultContentBlock) FromTextContentBlock(v TextContentBlock) error

FromTextContentBlock overwrites any union data inside the SubmitToolResultContentBlock as the provided TextContentBlock

func (SubmitToolResultContentBlock) MarshalJSON

func (t SubmitToolResultContentBlock) MarshalJSON() ([]byte, error)

func (*SubmitToolResultContentBlock) MergeInlineMediaContentBlock

func (t *SubmitToolResultContentBlock) MergeInlineMediaContentBlock(v InlineMediaContentBlock) error

MergeInlineMediaContentBlock performs a merge with any union data inside the SubmitToolResultContentBlock, using the provided InlineMediaContentBlock

func (*SubmitToolResultContentBlock) MergeStructuredDataContentBlock

func (t *SubmitToolResultContentBlock) MergeStructuredDataContentBlock(v StructuredDataContentBlock) error

MergeStructuredDataContentBlock performs a merge with any union data inside the SubmitToolResultContentBlock, using the provided StructuredDataContentBlock

func (*SubmitToolResultContentBlock) MergeTextContentBlock

func (t *SubmitToolResultContentBlock) MergeTextContentBlock(v TextContentBlock) error

MergeTextContentBlock performs a merge with any union data inside the SubmitToolResultContentBlock, using the provided TextContentBlock

func (*SubmitToolResultContentBlock) UnmarshalJSON

func (t *SubmitToolResultContentBlock) UnmarshalJSON(b []byte) error

func (SubmitToolResultContentBlock) ValueByDiscriminator

func (t SubmitToolResultContentBlock) ValueByDiscriminator() (interface{}, error)

type TextContentBlock

type TextContentBlock struct {
	// Metadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters. Keys beginning with `omnara_` are reserved for Omnara and may affect product behavior; use them only when intentionally invoking Omnara-defined behavior.
	Metadata ContentBlockMetadata `json:"metadata,omitempty"`
	Text     string               `json:"text"`
	Type     TextContentBlockType `json:"type"`
}

TextContentBlock defines model for TextContentBlock.

type TextContentBlockType

type TextContentBlockType string

TextContentBlockType defines model for TextContentBlock.Type.

const (
	TextContentBlockTypeText TextContentBlockType = "text"
)

Defines values for TextContentBlockType.

func (TextContentBlockType) Valid

func (e TextContentBlockType) Valid() bool

Valid indicates whether the value is a known member of the TextContentBlockType enum.

type Timestamp

type Timestamp = time.Time

Timestamp defines model for Timestamp.

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type ToolCall

type ToolCall struct {
	CompletedAt *Timestamp `json:"completed_at,omitempty"`
	CreatedAt   Timestamp  `json:"created_at"`
	Id          ToolCallID `json:"id"`

	// Input Non-null JSON object containing the arguments emitted for a tool call.
	Input ToolInput `json:"input"`
	Name  string    `json:"name"`

	// Outcome Terminal outcome, present only when state is completed.
	Outcome        *ToolCallOutcome `json:"outcome,omitempty"`
	ProviderCallId string           `json:"provider_call_id"`

	// State Current lifecycle state. awaiting_authorization has not evaluated its permission mode; awaiting_permission has an open authorization prompt; ready is authorized and eligible to run; running has an active worker; waiting has durable work that will complete the call independently; completed is terminal and includes outcome and completed_at. Custom calls remain ready until a consumer submits their result.
	State  ToolCallState `json:"state"`
	TurnId AgentTurnID   `json:"turn_id"`

	// Type Identifies who manages execution. Built-in and MCP calls are platform-managed; custom calls wait for an external consumer to submit their result.
	Type ToolCallType `json:"type"`
}

ToolCall A model-emitted tool call together with its current lifecycle state.

type ToolCallID

type ToolCallID = string

ToolCallID defines model for ToolCallID.

type ToolCallOutcome

type ToolCallOutcome string

ToolCallOutcome Terminal outcome, present only when state is completed.

const (
	ToolCallOutcomeCanceled  ToolCallOutcome = "canceled"
	ToolCallOutcomeDenied    ToolCallOutcome = "denied"
	ToolCallOutcomeFailed    ToolCallOutcome = "failed"
	ToolCallOutcomeSucceeded ToolCallOutcome = "succeeded"
)

Defines values for ToolCallOutcome.

func (ToolCallOutcome) Valid

func (e ToolCallOutcome) Valid() bool

Valid indicates whether the value is a known member of the ToolCallOutcome enum.

type ToolCallState

type ToolCallState string

ToolCallState Current lifecycle state. awaiting_authorization has not evaluated its permission mode; awaiting_permission has an open authorization prompt; ready is authorized and eligible to run; running has an active worker; waiting has durable work that will complete the call independently; completed is terminal and includes outcome and completed_at. Custom calls remain ready until a consumer submits their result.

const (
	ToolCallStateAwaitingAuthorization ToolCallState = "awaiting_authorization"
	ToolCallStateAwaitingPermission    ToolCallState = "awaiting_permission"
	ToolCallStateCompleted             ToolCallState = "completed"
	ToolCallStateReady                 ToolCallState = "ready"
	ToolCallStateRunning               ToolCallState = "running"
	ToolCallStateWaiting               ToolCallState = "waiting"
)

Defines values for ToolCallState.

func (ToolCallState) Valid

func (e ToolCallState) Valid() bool

Valid indicates whether the value is a known member of the ToolCallState enum.

type ToolCallType

type ToolCallType string

ToolCallType Identifies who manages execution. Built-in and MCP calls are platform-managed; custom calls wait for an external consumer to submit their result.

const (
	ToolCallTypeBuiltIn ToolCallType = "built_in"
	ToolCallTypeCustom  ToolCallType = "custom"
	ToolCallTypeMCP     ToolCallType = "mcp"
)

Defines values for ToolCallType.

func (ToolCallType) Valid

func (e ToolCallType) Valid() bool

Valid indicates whether the value is a known member of the ToolCallType enum.

type ToolCatalog

type ToolCatalog struct {
	BuiltInTools          []ToolCatalogEntry    `json:"built_in_tools"`
	CustomToolPermissions ToolPermissionProfile `json:"custom_tool_permissions"`
	McpToolPermissions    ToolPermissionProfile `json:"mcp_tool_permissions"`
}

ToolCatalog defines model for ToolCatalog.

type ToolCatalogEntry

type ToolCatalogEntry struct {
	DefaultPermission ToolPermissionSelection `json:"default_permission"`
	Description       string                  `json:"description"`
	Name              string                  `json:"name"`
	PermissionModes   []ToolPermissionMode    `json:"permission_modes"`
}

ToolCatalogEntry defines model for ToolCatalogEntry.

type ToolInput

type ToolInput = json.RawMessage

ToolInput Non-null JSON object containing the arguments emitted for a tool call.

type ToolPermissionMode

type ToolPermissionMode struct {
	Description      string                 `json:"description"`
	Label            string                 `json:"label"`
	Name             string                 `json:"name"`
	ParametersSchema map[string]interface{} `json:"parameters_schema"`
}

ToolPermissionMode defines model for ToolPermissionMode.

type ToolPermissionProfile

type ToolPermissionProfile struct {
	DefaultPermission ToolPermissionSelection `json:"default_permission"`
	PermissionModes   []ToolPermissionMode    `json:"permission_modes"`
}

ToolPermissionProfile defines model for ToolPermissionProfile.

type ToolPermissionSelection

type ToolPermissionSelection struct {
	Mode       string                 `json:"mode"`
	Parameters map[string]interface{} `json:"parameters"`
}

ToolPermissionSelection defines model for ToolPermissionSelection.

type ToolResult

type ToolResult struct {
	AgentId       AgentID                  `json:"agent_id"`
	ContentBlocks []ToolResultContentBlock `json:"content_blocks"`
	CreatedAt     Timestamp                `json:"created_at"`
	EventId       AgentEventID             `json:"event_id"`

	// Outcome Terminal outcome, present only when state is completed.
	Outcome    ToolCallOutcome `json:"outcome"`
	ToolCallId ToolCallID      `json:"tool_call_id"`
}

ToolResult defines model for ToolResult.

type ToolResultContentBlock

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

ToolResultContentBlock defines model for ToolResultContentBlock.

func (ToolResultContentBlock) AsMediaRefContentBlock

func (t ToolResultContentBlock) AsMediaRefContentBlock() (MediaRefContentBlock, error)

AsMediaRefContentBlock returns the union data inside the ToolResultContentBlock as a MediaRefContentBlock

func (ToolResultContentBlock) AsStructuredDataContentBlock

func (t ToolResultContentBlock) AsStructuredDataContentBlock() (StructuredDataContentBlock, error)

AsStructuredDataContentBlock returns the union data inside the ToolResultContentBlock as a StructuredDataContentBlock

func (ToolResultContentBlock) AsTextContentBlock

func (t ToolResultContentBlock) AsTextContentBlock() (TextContentBlock, error)

AsTextContentBlock returns the union data inside the ToolResultContentBlock as a TextContentBlock

func (ToolResultContentBlock) Discriminator

func (t ToolResultContentBlock) Discriminator() (string, error)

func (*ToolResultContentBlock) FromMediaRefContentBlock

func (t *ToolResultContentBlock) FromMediaRefContentBlock(v MediaRefContentBlock) error

FromMediaRefContentBlock overwrites any union data inside the ToolResultContentBlock as the provided MediaRefContentBlock

func (*ToolResultContentBlock) FromStructuredDataContentBlock

func (t *ToolResultContentBlock) FromStructuredDataContentBlock(v StructuredDataContentBlock) error

FromStructuredDataContentBlock overwrites any union data inside the ToolResultContentBlock as the provided StructuredDataContentBlock

func (*ToolResultContentBlock) FromTextContentBlock

func (t *ToolResultContentBlock) FromTextContentBlock(v TextContentBlock) error

FromTextContentBlock overwrites any union data inside the ToolResultContentBlock as the provided TextContentBlock

func (ToolResultContentBlock) MarshalJSON

func (t ToolResultContentBlock) MarshalJSON() ([]byte, error)

func (*ToolResultContentBlock) MergeMediaRefContentBlock

func (t *ToolResultContentBlock) MergeMediaRefContentBlock(v MediaRefContentBlock) error

MergeMediaRefContentBlock performs a merge with any union data inside the ToolResultContentBlock, using the provided MediaRefContentBlock

func (*ToolResultContentBlock) MergeStructuredDataContentBlock

func (t *ToolResultContentBlock) MergeStructuredDataContentBlock(v StructuredDataContentBlock) error

MergeStructuredDataContentBlock performs a merge with any union data inside the ToolResultContentBlock, using the provided StructuredDataContentBlock

func (*ToolResultContentBlock) MergeTextContentBlock

func (t *ToolResultContentBlock) MergeTextContentBlock(v TextContentBlock) error

MergeTextContentBlock performs a merge with any union data inside the ToolResultContentBlock, using the provided TextContentBlock

func (*ToolResultContentBlock) UnmarshalJSON

func (t *ToolResultContentBlock) UnmarshalJSON(b []byte) error

func (ToolResultContentBlock) ValueByDiscriminator

func (t ToolResultContentBlock) ValueByDiscriminator() (interface{}, error)

type ToolResultEvent

type ToolResultEvent struct {
	AgentId        AgentID                       `json:"agent_id"`
	ContentBlocks  []ToolResultContentBlock      `json:"content_blocks"`
	CreatedAt      Timestamp                     `json:"created_at"`
	EventKind      ToolResultEventEventKind      `json:"event_kind"`
	Id             AgentEventID                  `json:"id"`
	IsOpeningEvent ToolResultEventIsOpeningEvent `json:"is_opening_event"`
	OrgId          OrganizationID                `json:"org_id"`

	// Outcome Terminal outcome, present only when state is completed.
	Outcome   ToolCallOutcome `json:"outcome"`
	ProjectId ProjectID       `json:"project_id"`

	// Sequence Positive per-agent event, turn, or live-frame sequence.
	Sequence   AgentSequence `json:"sequence"`
	ToolCallId ToolCallID    `json:"tool_call_id"`
	TurnId     AgentTurnID   `json:"turn_id"`

	// TurnSequence Positive per-agent event, turn, or live-frame sequence.
	TurnSequence AgentSequence `json:"turn_sequence"`
}

ToolResultEvent defines model for ToolResultEvent.

type ToolResultEventEventKind

type ToolResultEventEventKind string

ToolResultEventEventKind defines model for ToolResultEvent.EventKind.

const (
	ToolResultEventEventKindToolResult ToolResultEventEventKind = "tool_result"
)

Defines values for ToolResultEventEventKind.

func (ToolResultEventEventKind) Valid

func (e ToolResultEventEventKind) Valid() bool

Valid indicates whether the value is a known member of the ToolResultEventEventKind enum.

type ToolResultEventIsOpeningEvent

type ToolResultEventIsOpeningEvent bool

ToolResultEventIsOpeningEvent defines model for ToolResultEvent.IsOpeningEvent.

const (
	ToolResultEventIsOpeningEventFalse ToolResultEventIsOpeningEvent = false
)

Defines values for ToolResultEventIsOpeningEvent.

func (ToolResultEventIsOpeningEvent) Valid

Valid indicates whether the value is a known member of the ToolResultEventIsOpeningEvent enum.

type Unauthorized

type Unauthorized = Error

Unauthorized defines model for Unauthorized.

type UnauthorizedJSONResponse

type UnauthorizedJSONResponse Error

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type UnprocessableEntity

type UnprocessableEntity = Error

UnprocessableEntity defines model for UnprocessableEntity.

type UnprocessableEntityJSONResponse

type UnprocessableEntityJSONResponse Error

type UpdateAgentConfig4XXJSONResponse

type UpdateAgentConfig4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (UpdateAgentConfig4XXJSONResponse) VisitUpdateAgentConfigResponse

func (response UpdateAgentConfig4XXJSONResponse) VisitUpdateAgentConfigResponse(w http.ResponseWriter) error

type UpdateAgentConfig5XXJSONResponse

type UpdateAgentConfig5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (UpdateAgentConfig5XXJSONResponse) VisitUpdateAgentConfigResponse

func (response UpdateAgentConfig5XXJSONResponse) VisitUpdateAgentConfigResponse(w http.ResponseWriter) error

type UpdateAgentConfig200JSONResponse

type UpdateAgentConfig200JSONResponse UpdateAgentConfigResponse

func (UpdateAgentConfig200JSONResponse) VisitUpdateAgentConfigResponse

func (response UpdateAgentConfig200JSONResponse) VisitUpdateAgentConfigResponse(w http.ResponseWriter) error

type UpdateAgentConfig400JSONResponse

type UpdateAgentConfig400JSONResponse struct{ BadRequestJSONResponse }

func (UpdateAgentConfig400JSONResponse) VisitUpdateAgentConfigResponse

func (response UpdateAgentConfig400JSONResponse) VisitUpdateAgentConfigResponse(w http.ResponseWriter) error

type UpdateAgentConfig401JSONResponse

type UpdateAgentConfig401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateAgentConfig401JSONResponse) VisitUpdateAgentConfigResponse

func (response UpdateAgentConfig401JSONResponse) VisitUpdateAgentConfigResponse(w http.ResponseWriter) error

type UpdateAgentConfig403JSONResponse

type UpdateAgentConfig403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateAgentConfig403JSONResponse) VisitUpdateAgentConfigResponse

func (response UpdateAgentConfig403JSONResponse) VisitUpdateAgentConfigResponse(w http.ResponseWriter) error

type UpdateAgentConfig404JSONResponse

type UpdateAgentConfig404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateAgentConfig404JSONResponse) VisitUpdateAgentConfigResponse

func (response UpdateAgentConfig404JSONResponse) VisitUpdateAgentConfigResponse(w http.ResponseWriter) error

type UpdateAgentConfig409JSONResponse

type UpdateAgentConfig409JSONResponse struct{ ConflictJSONResponse }

func (UpdateAgentConfig409JSONResponse) VisitUpdateAgentConfigResponse

func (response UpdateAgentConfig409JSONResponse) VisitUpdateAgentConfigResponse(w http.ResponseWriter) error

type UpdateAgentConfig503JSONResponse

type UpdateAgentConfig503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (UpdateAgentConfig503JSONResponse) VisitUpdateAgentConfigResponse

func (response UpdateAgentConfig503JSONResponse) VisitUpdateAgentConfigResponse(w http.ResponseWriter) error

type UpdateAgentConfigJSONRequestBody

type UpdateAgentConfigJSONRequestBody = CreateAgentConfigRequest

UpdateAgentConfigJSONRequestBody defines body for UpdateAgentConfig for application/json ContentType.

type UpdateAgentConfigParams

type UpdateAgentConfigParams struct {
	// IdempotencyKey Idempotency key for replay-safe mutating requests.
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

UpdateAgentConfigParams defines parameters for UpdateAgentConfig.

type UpdateAgentConfigRequestObject

type UpdateAgentConfigRequestObject struct {
	OrgID     string `json:"orgID"`
	ProjectID string `json:"projectID"`
	AgentID   string `json:"agentID"`
	Params    UpdateAgentConfigParams
	Body      *UpdateAgentConfigJSONRequestBody
}

type UpdateAgentConfigResponse

type UpdateAgentConfigResponse struct {
	AgentConfig AgentConfig  `json:"agent_config"`
	AgentInput  AgentInput   `json:"agent_input"`
	EventId     AgentEventID `json:"event_id"`
}

UpdateAgentConfigResponse defines model for UpdateAgentConfigResponse.

type UpdateAgentConfigResponseObject

type UpdateAgentConfigResponseObject interface {
	VisitUpdateAgentConfigResponse(w http.ResponseWriter) error
}

type UpdateAgentProfile4XXJSONResponse

type UpdateAgentProfile4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (UpdateAgentProfile4XXJSONResponse) VisitUpdateAgentProfileResponse

func (response UpdateAgentProfile4XXJSONResponse) VisitUpdateAgentProfileResponse(w http.ResponseWriter) error

type UpdateAgentProfile5XXJSONResponse

type UpdateAgentProfile5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (UpdateAgentProfile5XXJSONResponse) VisitUpdateAgentProfileResponse

func (response UpdateAgentProfile5XXJSONResponse) VisitUpdateAgentProfileResponse(w http.ResponseWriter) error

type UpdateAgentProfile200JSONResponse

type UpdateAgentProfile200JSONResponse AgentProfile

func (UpdateAgentProfile200JSONResponse) VisitUpdateAgentProfileResponse

func (response UpdateAgentProfile200JSONResponse) VisitUpdateAgentProfileResponse(w http.ResponseWriter) error

type UpdateAgentProfile400JSONResponse

type UpdateAgentProfile400JSONResponse struct{ BadRequestJSONResponse }

func (UpdateAgentProfile400JSONResponse) VisitUpdateAgentProfileResponse

func (response UpdateAgentProfile400JSONResponse) VisitUpdateAgentProfileResponse(w http.ResponseWriter) error

type UpdateAgentProfile401JSONResponse

type UpdateAgentProfile401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateAgentProfile401JSONResponse) VisitUpdateAgentProfileResponse

func (response UpdateAgentProfile401JSONResponse) VisitUpdateAgentProfileResponse(w http.ResponseWriter) error

type UpdateAgentProfile403JSONResponse

type UpdateAgentProfile403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateAgentProfile403JSONResponse) VisitUpdateAgentProfileResponse

func (response UpdateAgentProfile403JSONResponse) VisitUpdateAgentProfileResponse(w http.ResponseWriter) error

type UpdateAgentProfile404JSONResponse

type UpdateAgentProfile404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateAgentProfile404JSONResponse) VisitUpdateAgentProfileResponse

func (response UpdateAgentProfile404JSONResponse) VisitUpdateAgentProfileResponse(w http.ResponseWriter) error

type UpdateAgentProfile409JSONResponse

type UpdateAgentProfile409JSONResponse struct{ ConflictJSONResponse }

func (UpdateAgentProfile409JSONResponse) VisitUpdateAgentProfileResponse

func (response UpdateAgentProfile409JSONResponse) VisitUpdateAgentProfileResponse(w http.ResponseWriter) error

type UpdateAgentProfile503JSONResponse

type UpdateAgentProfile503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (UpdateAgentProfile503JSONResponse) VisitUpdateAgentProfileResponse

func (response UpdateAgentProfile503JSONResponse) VisitUpdateAgentProfileResponse(w http.ResponseWriter) error

type UpdateAgentProfileJSONRequestBody

type UpdateAgentProfileJSONRequestBody = UpdateAgentProfileRequest

UpdateAgentProfileJSONRequestBody defines body for UpdateAgentProfile for application/json ContentType.

type UpdateAgentProfileParams

type UpdateAgentProfileParams struct {
	// IdempotencyKey Idempotency key for replay-safe mutating requests.
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

UpdateAgentProfileParams defines parameters for UpdateAgentProfile.

type UpdateAgentProfileRequest

type UpdateAgentProfileRequest struct {
	Config                  AgentConfigID `json:"config"`
	ExpectedCurrentConfigId AgentConfigID `json:"expected_current_config_id"`
}

UpdateAgentProfileRequest defines model for UpdateAgentProfileRequest.

type UpdateAgentProfileRequestObject

type UpdateAgentProfileRequestObject struct {
	OrgID          string `json:"orgID"`
	ProjectID      string `json:"projectID"`
	AgentProfileID string `json:"agentProfileID"`
	Params         UpdateAgentProfileParams
	Body           *UpdateAgentProfileJSONRequestBody
}

type UpdateAgentProfileResponseObject

type UpdateAgentProfileResponseObject interface {
	VisitUpdateAgentProfileResponse(w http.ResponseWriter) error
}

type UpdateConfiguredModel4XXJSONResponse

type UpdateConfiguredModel4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (UpdateConfiguredModel4XXJSONResponse) VisitUpdateConfiguredModelResponse

func (response UpdateConfiguredModel4XXJSONResponse) VisitUpdateConfiguredModelResponse(w http.ResponseWriter) error

type UpdateConfiguredModel5XXJSONResponse

type UpdateConfiguredModel5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (UpdateConfiguredModel5XXJSONResponse) VisitUpdateConfiguredModelResponse

func (response UpdateConfiguredModel5XXJSONResponse) VisitUpdateConfiguredModelResponse(w http.ResponseWriter) error

type UpdateConfiguredModel200JSONResponse

type UpdateConfiguredModel200JSONResponse ConfiguredModel

func (UpdateConfiguredModel200JSONResponse) VisitUpdateConfiguredModelResponse

func (response UpdateConfiguredModel200JSONResponse) VisitUpdateConfiguredModelResponse(w http.ResponseWriter) error

type UpdateConfiguredModel400JSONResponse

type UpdateConfiguredModel400JSONResponse struct{ BadRequestJSONResponse }

func (UpdateConfiguredModel400JSONResponse) VisitUpdateConfiguredModelResponse

func (response UpdateConfiguredModel400JSONResponse) VisitUpdateConfiguredModelResponse(w http.ResponseWriter) error

type UpdateConfiguredModel401JSONResponse

type UpdateConfiguredModel401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateConfiguredModel401JSONResponse) VisitUpdateConfiguredModelResponse

func (response UpdateConfiguredModel401JSONResponse) VisitUpdateConfiguredModelResponse(w http.ResponseWriter) error

type UpdateConfiguredModel403JSONResponse

type UpdateConfiguredModel403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateConfiguredModel403JSONResponse) VisitUpdateConfiguredModelResponse

func (response UpdateConfiguredModel403JSONResponse) VisitUpdateConfiguredModelResponse(w http.ResponseWriter) error

type UpdateConfiguredModel404JSONResponse

type UpdateConfiguredModel404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateConfiguredModel404JSONResponse) VisitUpdateConfiguredModelResponse

func (response UpdateConfiguredModel404JSONResponse) VisitUpdateConfiguredModelResponse(w http.ResponseWriter) error

type UpdateConfiguredModel409JSONResponse

type UpdateConfiguredModel409JSONResponse struct{ ConflictJSONResponse }

func (UpdateConfiguredModel409JSONResponse) VisitUpdateConfiguredModelResponse

func (response UpdateConfiguredModel409JSONResponse) VisitUpdateConfiguredModelResponse(w http.ResponseWriter) error

type UpdateConfiguredModel503JSONResponse

type UpdateConfiguredModel503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (UpdateConfiguredModel503JSONResponse) VisitUpdateConfiguredModelResponse

func (response UpdateConfiguredModel503JSONResponse) VisitUpdateConfiguredModelResponse(w http.ResponseWriter) error

type UpdateConfiguredModelJSONRequestBody

type UpdateConfiguredModelJSONRequestBody = UpdateConfiguredModelRequest

UpdateConfiguredModelJSONRequestBody defines body for UpdateConfiguredModel for application/json ContentType.

type UpdateConfiguredModelRequest

type UpdateConfiguredModelRequest struct {
	// ApiVariantOptions Extra top-level JSON fields to include in provider requests for this configured model. Use this for provider-specific settings that Omnara does not expose as typed fields, such as OpenRouter `provider` routing or sampling parameters. Omnara still controls the fields it needs to run the agent correctly, including the model, prompt/messages, streaming, tools, and selected reasoning policy. For OpenRouter routing options, see https://openrouter.ai/docs/guides/routing/provider-selection and general request parameters at https://openrouter.ai/docs/api/reference/parameters.
	ApiVariantOptions ModelAPIVariantOptions `json:"api_variant_options,omitempty"`

	// ContextWindowTokens Total token window for this model, including input and output.
	ContextWindowTokens *int `json:"context_window_tokens,omitempty"`

	// DefaultCacheRetention Default prompt-cache hint for model requests. `none` means Omnara does not send a cache hint; providers may still apply their own automatic caching. `short` and `long` are translated to the closest supported control for the selected API.
	DefaultCacheRetention *ModelCacheRetention `json:"default_cache_retention,omitempty"`

	// DefaultMaxOutputTokens Default per-request output-token cap sent to the provider unless an agent config overrides it. Required for Anthropic Messages.
	DefaultMaxOutputTokens nullable.Nullable[int] `json:"default_max_output_tokens,omitempty"`

	// DefaultReasoningEffort Default reasoning effort to send for models/API formats that support effort-style reasoning controls. Requires supports_reasoning=true. When supported_reasoning_efforts is present, this value must be listed there.
	DefaultReasoningEffort *string `json:"default_reasoning_effort,omitempty"`

	// InputModalities Input types this configured model accepts. Omnara recognizes text, image, and file; an empty list leaves capabilities unspecified.
	InputModalities *[]string `json:"input_modalities,omitempty"`

	// MaxOutputTokens Configured output-token ceiling for this model. Omitted keeps the current value; it cannot be cleared.
	MaxOutputTokens *int `json:"max_output_tokens,omitempty"`

	// Name Admin-facing configured model name used by agent YAML as model.name. Renaming affects future YAML resolution but does not change existing agents.
	Name *string `json:"name,omitempty"`

	// OutputModalities Output types this configured model can return. Omnara currently consumes text output.
	OutputModalities *[]string `json:"output_modalities,omitempty"`

	// ProviderModelSlug Exact provider model slug sent to the provider endpoint.
	ProviderModelSlug *string `json:"provider_model_slug,omitempty"`

	// SupportedReasoningEfforts Reasoning effort values this configured model accepts. Requires supports_reasoning=true when non-empty.
	SupportedReasoningEfforts *[]string `json:"supported_reasoning_efforts,omitempty"`

	// SupportsReasoning Whether Omnara should use this model's reasoning features. For OpenAI Responses, this also enables encrypted reasoning replay for stateless calls. Omitted keeps the current value.
	SupportsReasoning *bool `json:"supports_reasoning,omitempty"`

	// SupportsTools Whether this configured model can receive tool definitions and emit tool calls. Agent configs with enabled tools are rejected when this is false. Omitted keeps the current value.
	SupportsTools *bool `json:"supports_tools,omitempty"`
}

UpdateConfiguredModelRequest Update a configured model. Omitted fields keep their current values. Runtime changes create a new immutable model revision; changing only name just renames the model.

type UpdateConfiguredModelRequestObject

type UpdateConfiguredModelRequestObject struct {
	OrgID                 string `json:"orgID"`
	ModelProviderConfigID string `json:"modelProviderConfigID"`
	ConfiguredModelID     string `json:"configuredModelID"`
	Body                  *UpdateConfiguredModelJSONRequestBody
}

type UpdateConfiguredModelResponseObject

type UpdateConfiguredModelResponseObject interface {
	VisitUpdateConfiguredModelResponse(w http.ResponseWriter) error
}

type UpdateMachine4XXJSONResponse

type UpdateMachine4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (UpdateMachine4XXJSONResponse) VisitUpdateMachineResponse

func (response UpdateMachine4XXJSONResponse) VisitUpdateMachineResponse(w http.ResponseWriter) error

type UpdateMachine5XXJSONResponse

type UpdateMachine5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (UpdateMachine5XXJSONResponse) VisitUpdateMachineResponse

func (response UpdateMachine5XXJSONResponse) VisitUpdateMachineResponse(w http.ResponseWriter) error

type UpdateMachine200JSONResponse

type UpdateMachine200JSONResponse Machine

func (UpdateMachine200JSONResponse) VisitUpdateMachineResponse

func (response UpdateMachine200JSONResponse) VisitUpdateMachineResponse(w http.ResponseWriter) error

type UpdateMachine400JSONResponse

type UpdateMachine400JSONResponse struct{ BadRequestJSONResponse }

func (UpdateMachine400JSONResponse) VisitUpdateMachineResponse

func (response UpdateMachine400JSONResponse) VisitUpdateMachineResponse(w http.ResponseWriter) error

type UpdateMachine401JSONResponse

type UpdateMachine401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateMachine401JSONResponse) VisitUpdateMachineResponse

func (response UpdateMachine401JSONResponse) VisitUpdateMachineResponse(w http.ResponseWriter) error

type UpdateMachine403JSONResponse

type UpdateMachine403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateMachine403JSONResponse) VisitUpdateMachineResponse

func (response UpdateMachine403JSONResponse) VisitUpdateMachineResponse(w http.ResponseWriter) error

type UpdateMachine404JSONResponse

type UpdateMachine404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateMachine404JSONResponse) VisitUpdateMachineResponse

func (response UpdateMachine404JSONResponse) VisitUpdateMachineResponse(w http.ResponseWriter) error

type UpdateMachine409JSONResponse

type UpdateMachine409JSONResponse struct{ ConflictJSONResponse }

func (UpdateMachine409JSONResponse) VisitUpdateMachineResponse

func (response UpdateMachine409JSONResponse) VisitUpdateMachineResponse(w http.ResponseWriter) error

type UpdateMachine503JSONResponse

type UpdateMachine503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (UpdateMachine503JSONResponse) VisitUpdateMachineResponse

func (response UpdateMachine503JSONResponse) VisitUpdateMachineResponse(w http.ResponseWriter) error

type UpdateMachineJSONRequestBody

type UpdateMachineJSONRequestBody = UpdateMachineRequest

UpdateMachineJSONRequestBody defines body for UpdateMachine for application/json ContentType.

type UpdateMachinePool4XXJSONResponse

type UpdateMachinePool4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (UpdateMachinePool4XXJSONResponse) VisitUpdateMachinePoolResponse

func (response UpdateMachinePool4XXJSONResponse) VisitUpdateMachinePoolResponse(w http.ResponseWriter) error

type UpdateMachinePool5XXJSONResponse

type UpdateMachinePool5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (UpdateMachinePool5XXJSONResponse) VisitUpdateMachinePoolResponse

func (response UpdateMachinePool5XXJSONResponse) VisitUpdateMachinePoolResponse(w http.ResponseWriter) error

type UpdateMachinePool200JSONResponse

type UpdateMachinePool200JSONResponse MachinePool

func (UpdateMachinePool200JSONResponse) VisitUpdateMachinePoolResponse

func (response UpdateMachinePool200JSONResponse) VisitUpdateMachinePoolResponse(w http.ResponseWriter) error

type UpdateMachinePool400JSONResponse

type UpdateMachinePool400JSONResponse struct{ BadRequestJSONResponse }

func (UpdateMachinePool400JSONResponse) VisitUpdateMachinePoolResponse

func (response UpdateMachinePool400JSONResponse) VisitUpdateMachinePoolResponse(w http.ResponseWriter) error

type UpdateMachinePool401JSONResponse

type UpdateMachinePool401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateMachinePool401JSONResponse) VisitUpdateMachinePoolResponse

func (response UpdateMachinePool401JSONResponse) VisitUpdateMachinePoolResponse(w http.ResponseWriter) error

type UpdateMachinePool403JSONResponse

type UpdateMachinePool403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateMachinePool403JSONResponse) VisitUpdateMachinePoolResponse

func (response UpdateMachinePool403JSONResponse) VisitUpdateMachinePoolResponse(w http.ResponseWriter) error

type UpdateMachinePool404JSONResponse

type UpdateMachinePool404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateMachinePool404JSONResponse) VisitUpdateMachinePoolResponse

func (response UpdateMachinePool404JSONResponse) VisitUpdateMachinePoolResponse(w http.ResponseWriter) error

type UpdateMachinePool409JSONResponse

type UpdateMachinePool409JSONResponse struct{ ConflictJSONResponse }

func (UpdateMachinePool409JSONResponse) VisitUpdateMachinePoolResponse

func (response UpdateMachinePool409JSONResponse) VisitUpdateMachinePoolResponse(w http.ResponseWriter) error

type UpdateMachinePool503JSONResponse

type UpdateMachinePool503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (UpdateMachinePool503JSONResponse) VisitUpdateMachinePoolResponse

func (response UpdateMachinePool503JSONResponse) VisitUpdateMachinePoolResponse(w http.ResponseWriter) error

type UpdateMachinePoolJSONRequestBody

type UpdateMachinePoolJSONRequestBody = UpdateMachinePoolRequest

UpdateMachinePoolJSONRequestBody defines body for UpdateMachinePool for application/json ContentType.

type UpdateMachinePoolRequest

type UpdateMachinePoolRequest struct {
	DefaultCwd        *string                  `json:"default_cwd,omitempty"`
	DefaultMachineCpu nullable.Nullable[int32] `json:"default_machine_cpu,omitempty"`

	// DefaultMachineEnv Default environment for pool machines. A machine's environment, including resolved secret_env values, is applied to the provider machine at provisioning, so the provider_options startup_script and the daemon run with it, and is resolved again for each process at launch.
	DefaultMachineEnv             *map[string]string       `json:"default_machine_env,omitempty"`
	DefaultMachineMemoryMb        nullable.Nullable[int32] `json:"default_machine_memory_mb,omitempty"`
	DefaultMachineProviderOptions *map[string]interface{}  `json:"default_machine_provider_options,omitempty"`

	// DefaultMachineSecretEnv Default secret environment for pool machines, mapping env names to generic secret references. References are resolved to secret values wherever the machine environment is applied.
	DefaultMachineSecretEnv *map[string]SecretID     `json:"default_machine_secret_env,omitempty"`
	Description             *string                  `json:"description,omitempty"`
	MaxMachineCpu           nullable.Nullable[int32] `json:"max_machine_cpu,omitempty"`
	MaxMachineMemoryMb      nullable.Nullable[int32] `json:"max_machine_memory_mb,omitempty"`
	MaxTotalCpu             nullable.Nullable[int32] `json:"max_total_cpu,omitempty"`
	MaxTotalMachines        *int32                   `json:"max_total_machines,omitempty"`
	MaxTotalMemoryMb        nullable.Nullable[int32] `json:"max_total_memory_mb,omitempty"`

	// Metadata User-supplied metadata stored on a machine, provided directly or copied from the machine pool that provisions it. A restriction of Metadata that leaves room for one reserved pair - Omnara sets observed_platform on the machine to the platform reported by its daemon, so the key is reserved and at most 15 user pairs are accepted.
	Metadata             MachineMetadata          `json:"metadata,omitempty"`
	MinMachineCpu        nullable.Nullable[int32] `json:"min_machine_cpu,omitempty"`
	MinMachineMemoryMb   nullable.Nullable[int32] `json:"min_machine_memory_mb,omitempty"`
	Name                 *string                  `json:"name,omitempty"`
	ProviderAuthSecretId *SecretID                `json:"provider_auth_secret_id,omitempty"`
	ProviderConfig       *map[string]interface{}  `json:"provider_config,omitempty"`

	// RuntimeProtectionEnabled Whether Omnara should delete a pool machine when its provider remains running after its daemon becomes inactive.
	RuntimeProtectionEnabled *bool `json:"runtime_protection_enabled,omitempty"`
}

UpdateMachinePoolRequest defines model for UpdateMachinePoolRequest.

type UpdateMachinePoolRequestObject

type UpdateMachinePoolRequestObject struct {
	OrgID  string `json:"orgID"`
	PoolID string `json:"poolID"`
	Body   *UpdateMachinePoolJSONRequestBody
}

type UpdateMachinePoolResponseObject

type UpdateMachinePoolResponseObject interface {
	VisitUpdateMachinePoolResponse(w http.ResponseWriter) error
}

type UpdateMachineRequest

type UpdateMachineRequest struct {
	Cwd       *string              `json:"cwd,omitempty"`
	Env       *map[string]string   `json:"env,omitempty"`
	SecretEnv *map[string]SecretID `json:"secret_env,omitempty"`
}

UpdateMachineRequest defines model for UpdateMachineRequest.

type UpdateMachineRequestObject

type UpdateMachineRequestObject struct {
	OrgID     string `json:"orgID"`
	MachineID string `json:"machineID"`
	Body      *UpdateMachineJSONRequestBody
}

type UpdateMachineResponseObject

type UpdateMachineResponseObject interface {
	VisitUpdateMachineResponse(w http.ResponseWriter) error
}

type UpdateModelProviderConfig4XXJSONResponse

type UpdateModelProviderConfig4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (UpdateModelProviderConfig4XXJSONResponse) VisitUpdateModelProviderConfigResponse

func (response UpdateModelProviderConfig4XXJSONResponse) VisitUpdateModelProviderConfigResponse(w http.ResponseWriter) error

type UpdateModelProviderConfig5XXJSONResponse

type UpdateModelProviderConfig5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (UpdateModelProviderConfig5XXJSONResponse) VisitUpdateModelProviderConfigResponse

func (response UpdateModelProviderConfig5XXJSONResponse) VisitUpdateModelProviderConfigResponse(w http.ResponseWriter) error

type UpdateModelProviderConfig200JSONResponse

type UpdateModelProviderConfig200JSONResponse ModelProviderConfig

func (UpdateModelProviderConfig200JSONResponse) VisitUpdateModelProviderConfigResponse

func (response UpdateModelProviderConfig200JSONResponse) VisitUpdateModelProviderConfigResponse(w http.ResponseWriter) error

type UpdateModelProviderConfig400JSONResponse

type UpdateModelProviderConfig400JSONResponse struct{ BadRequestJSONResponse }

func (UpdateModelProviderConfig400JSONResponse) VisitUpdateModelProviderConfigResponse

func (response UpdateModelProviderConfig400JSONResponse) VisitUpdateModelProviderConfigResponse(w http.ResponseWriter) error

type UpdateModelProviderConfig401JSONResponse

type UpdateModelProviderConfig401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateModelProviderConfig401JSONResponse) VisitUpdateModelProviderConfigResponse

func (response UpdateModelProviderConfig401JSONResponse) VisitUpdateModelProviderConfigResponse(w http.ResponseWriter) error

type UpdateModelProviderConfig403JSONResponse

type UpdateModelProviderConfig403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateModelProviderConfig403JSONResponse) VisitUpdateModelProviderConfigResponse

func (response UpdateModelProviderConfig403JSONResponse) VisitUpdateModelProviderConfigResponse(w http.ResponseWriter) error

type UpdateModelProviderConfig404JSONResponse

type UpdateModelProviderConfig404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateModelProviderConfig404JSONResponse) VisitUpdateModelProviderConfigResponse

func (response UpdateModelProviderConfig404JSONResponse) VisitUpdateModelProviderConfigResponse(w http.ResponseWriter) error

type UpdateModelProviderConfig409JSONResponse

type UpdateModelProviderConfig409JSONResponse struct{ ConflictJSONResponse }

func (UpdateModelProviderConfig409JSONResponse) VisitUpdateModelProviderConfigResponse

func (response UpdateModelProviderConfig409JSONResponse) VisitUpdateModelProviderConfigResponse(w http.ResponseWriter) error

type UpdateModelProviderConfig503JSONResponse

type UpdateModelProviderConfig503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (UpdateModelProviderConfig503JSONResponse) VisitUpdateModelProviderConfigResponse

func (response UpdateModelProviderConfig503JSONResponse) VisitUpdateModelProviderConfigResponse(w http.ResponseWriter) error

type UpdateModelProviderConfigJSONRequestBody

type UpdateModelProviderConfigJSONRequestBody = UpdateModelProviderConfigRequest

UpdateModelProviderConfigJSONRequestBody defines body for UpdateModelProviderConfig for application/json ContentType.

type UpdateModelProviderConfigRequest

type UpdateModelProviderConfigRequest struct {
	AuthKind *ModelProviderAuthKind `json:"auth_kind,omitempty"`

	// AuthOptions Non-secret API-key placement settings. Use an empty object with bearer_token. With api_key_header, set {"header_name":"..."}.
	AuthOptions json.RawMessage `json:"auth_options,omitempty"`

	// BaseUrl Provider endpoint base URL. Normal API mode requires a public HTTPS endpoint; localhost and loopback endpoints are accepted only when the API is running in insecure dev mode.
	BaseUrl            *string   `json:"base_url,omitempty"`
	CredentialSecretId *SecretID `json:"credential_secret_id,omitempty"`

	// EndpointPath URL path under base_url. This changes where requests are sent, not which API format Omnara speaks.
	EndpointPath *string `json:"endpoint_path,omitempty"`

	// RequestTimeoutMs Provider request timeout in milliseconds.
	RequestTimeoutMs *int `json:"request_timeout_ms,omitempty"`
}

UpdateModelProviderConfigRequest Update a provider config. Omitted fields keep their current values.

type UpdateModelProviderConfigRequestObject

type UpdateModelProviderConfigRequestObject struct {
	OrgID                 string `json:"orgID"`
	ModelProviderConfigID string `json:"modelProviderConfigID"`
	Body                  *UpdateModelProviderConfigJSONRequestBody
}

type UpdateModelProviderConfigResponseObject

type UpdateModelProviderConfigResponseObject interface {
	VisitUpdateModelProviderConfigResponse(w http.ResponseWriter) error
}

type UpdateOrgAPIKey4XXJSONResponse

type UpdateOrgAPIKey4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (UpdateOrgAPIKey4XXJSONResponse) VisitUpdateOrgAPIKeyResponse

func (response UpdateOrgAPIKey4XXJSONResponse) VisitUpdateOrgAPIKeyResponse(w http.ResponseWriter) error

type UpdateOrgAPIKey5XXJSONResponse

type UpdateOrgAPIKey5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (UpdateOrgAPIKey5XXJSONResponse) VisitUpdateOrgAPIKeyResponse

func (response UpdateOrgAPIKey5XXJSONResponse) VisitUpdateOrgAPIKeyResponse(w http.ResponseWriter) error

type UpdateOrgAPIKey200JSONResponse

type UpdateOrgAPIKey200JSONResponse OrgAPIKey

func (UpdateOrgAPIKey200JSONResponse) VisitUpdateOrgAPIKeyResponse

func (response UpdateOrgAPIKey200JSONResponse) VisitUpdateOrgAPIKeyResponse(w http.ResponseWriter) error

type UpdateOrgAPIKey400JSONResponse

type UpdateOrgAPIKey400JSONResponse struct{ BadRequestJSONResponse }

func (UpdateOrgAPIKey400JSONResponse) VisitUpdateOrgAPIKeyResponse

func (response UpdateOrgAPIKey400JSONResponse) VisitUpdateOrgAPIKeyResponse(w http.ResponseWriter) error

type UpdateOrgAPIKey401JSONResponse

type UpdateOrgAPIKey401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateOrgAPIKey401JSONResponse) VisitUpdateOrgAPIKeyResponse

func (response UpdateOrgAPIKey401JSONResponse) VisitUpdateOrgAPIKeyResponse(w http.ResponseWriter) error

type UpdateOrgAPIKey403JSONResponse

type UpdateOrgAPIKey403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateOrgAPIKey403JSONResponse) VisitUpdateOrgAPIKeyResponse

func (response UpdateOrgAPIKey403JSONResponse) VisitUpdateOrgAPIKeyResponse(w http.ResponseWriter) error

type UpdateOrgAPIKey404JSONResponse

type UpdateOrgAPIKey404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateOrgAPIKey404JSONResponse) VisitUpdateOrgAPIKeyResponse

func (response UpdateOrgAPIKey404JSONResponse) VisitUpdateOrgAPIKeyResponse(w http.ResponseWriter) error

type UpdateOrgAPIKey409JSONResponse

type UpdateOrgAPIKey409JSONResponse struct{ ConflictJSONResponse }

func (UpdateOrgAPIKey409JSONResponse) VisitUpdateOrgAPIKeyResponse

func (response UpdateOrgAPIKey409JSONResponse) VisitUpdateOrgAPIKeyResponse(w http.ResponseWriter) error

type UpdateOrgAPIKey503JSONResponse

type UpdateOrgAPIKey503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (UpdateOrgAPIKey503JSONResponse) VisitUpdateOrgAPIKeyResponse

func (response UpdateOrgAPIKey503JSONResponse) VisitUpdateOrgAPIKeyResponse(w http.ResponseWriter) error

type UpdateOrgAPIKeyJSONRequestBody

type UpdateOrgAPIKeyJSONRequestBody = UpdateOrgAPIKeyRequest

UpdateOrgAPIKeyJSONRequestBody defines body for UpdateOrgAPIKey for application/json ContentType.

type UpdateOrgAPIKeyRequest

type UpdateOrgAPIKeyRequest struct {
	Name *string `json:"name,omitempty"`

	// OrgRole The key's org role. Org API keys can never hold the owner role.
	OrgRole *OrgAPIKeyRole `json:"org_role,omitempty"`
}

UpdateOrgAPIKeyRequest defines model for UpdateOrgAPIKeyRequest.

type UpdateOrgAPIKeyRequestObject

type UpdateOrgAPIKeyRequestObject struct {
	OrgID string `json:"orgID"`
	KeyID string `json:"keyID"`
	Body  *UpdateOrgAPIKeyJSONRequestBody
}

type UpdateOrgAPIKeyResponseObject

type UpdateOrgAPIKeyResponseObject interface {
	VisitUpdateOrgAPIKeyResponse(w http.ResponseWriter) error
}

type UpdateOrgMember4XXJSONResponse

type UpdateOrgMember4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (UpdateOrgMember4XXJSONResponse) VisitUpdateOrgMemberResponse

func (response UpdateOrgMember4XXJSONResponse) VisitUpdateOrgMemberResponse(w http.ResponseWriter) error

type UpdateOrgMember5XXJSONResponse

type UpdateOrgMember5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (UpdateOrgMember5XXJSONResponse) VisitUpdateOrgMemberResponse

func (response UpdateOrgMember5XXJSONResponse) VisitUpdateOrgMemberResponse(w http.ResponseWriter) error

type UpdateOrgMember200JSONResponse

type UpdateOrgMember200JSONResponse OrganizationMembership

func (UpdateOrgMember200JSONResponse) VisitUpdateOrgMemberResponse

func (response UpdateOrgMember200JSONResponse) VisitUpdateOrgMemberResponse(w http.ResponseWriter) error

type UpdateOrgMember400JSONResponse

type UpdateOrgMember400JSONResponse struct{ BadRequestJSONResponse }

func (UpdateOrgMember400JSONResponse) VisitUpdateOrgMemberResponse

func (response UpdateOrgMember400JSONResponse) VisitUpdateOrgMemberResponse(w http.ResponseWriter) error

type UpdateOrgMember401JSONResponse

type UpdateOrgMember401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateOrgMember401JSONResponse) VisitUpdateOrgMemberResponse

func (response UpdateOrgMember401JSONResponse) VisitUpdateOrgMemberResponse(w http.ResponseWriter) error

type UpdateOrgMember403JSONResponse

type UpdateOrgMember403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateOrgMember403JSONResponse) VisitUpdateOrgMemberResponse

func (response UpdateOrgMember403JSONResponse) VisitUpdateOrgMemberResponse(w http.ResponseWriter) error

type UpdateOrgMember404JSONResponse

type UpdateOrgMember404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateOrgMember404JSONResponse) VisitUpdateOrgMemberResponse

func (response UpdateOrgMember404JSONResponse) VisitUpdateOrgMemberResponse(w http.ResponseWriter) error

type UpdateOrgMember409JSONResponse

type UpdateOrgMember409JSONResponse struct{ ConflictJSONResponse }

func (UpdateOrgMember409JSONResponse) VisitUpdateOrgMemberResponse

func (response UpdateOrgMember409JSONResponse) VisitUpdateOrgMemberResponse(w http.ResponseWriter) error

type UpdateOrgMember503JSONResponse

type UpdateOrgMember503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (UpdateOrgMember503JSONResponse) VisitUpdateOrgMemberResponse

func (response UpdateOrgMember503JSONResponse) VisitUpdateOrgMemberResponse(w http.ResponseWriter) error

type UpdateOrgMemberJSONRequestBody

type UpdateOrgMemberJSONRequestBody = UpdateOrgMemberRequest

UpdateOrgMemberJSONRequestBody defines body for UpdateOrgMember for application/json ContentType.

type UpdateOrgMemberRequest

type UpdateOrgMemberRequest struct {
	// Role The member's new org role (admin or member).
	Role string `json:"role"`
}

UpdateOrgMemberRequest defines model for UpdateOrgMemberRequest.

type UpdateOrgMemberRequestObject

type UpdateOrgMemberRequestObject struct {
	OrgID  string `json:"orgID"`
	UserID string `json:"userID"`
	Body   *UpdateOrgMemberJSONRequestBody
}

type UpdateOrgMemberResponseObject

type UpdateOrgMemberResponseObject interface {
	VisitUpdateOrgMemberResponse(w http.ResponseWriter) error
}

type UpdateProjectMachinePoolGrant4XXJSONResponse

type UpdateProjectMachinePoolGrant4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (UpdateProjectMachinePoolGrant4XXJSONResponse) VisitUpdateProjectMachinePoolGrantResponse

func (response UpdateProjectMachinePoolGrant4XXJSONResponse) VisitUpdateProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type UpdateProjectMachinePoolGrant5XXJSONResponse

type UpdateProjectMachinePoolGrant5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (UpdateProjectMachinePoolGrant5XXJSONResponse) VisitUpdateProjectMachinePoolGrantResponse

func (response UpdateProjectMachinePoolGrant5XXJSONResponse) VisitUpdateProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type UpdateProjectMachinePoolGrant200JSONResponse

type UpdateProjectMachinePoolGrant200JSONResponse ProjectMachinePoolGrant

func (UpdateProjectMachinePoolGrant200JSONResponse) VisitUpdateProjectMachinePoolGrantResponse

func (response UpdateProjectMachinePoolGrant200JSONResponse) VisitUpdateProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type UpdateProjectMachinePoolGrant400JSONResponse

type UpdateProjectMachinePoolGrant400JSONResponse struct{ BadRequestJSONResponse }

func (UpdateProjectMachinePoolGrant400JSONResponse) VisitUpdateProjectMachinePoolGrantResponse

func (response UpdateProjectMachinePoolGrant400JSONResponse) VisitUpdateProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type UpdateProjectMachinePoolGrant401JSONResponse

type UpdateProjectMachinePoolGrant401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateProjectMachinePoolGrant401JSONResponse) VisitUpdateProjectMachinePoolGrantResponse

func (response UpdateProjectMachinePoolGrant401JSONResponse) VisitUpdateProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type UpdateProjectMachinePoolGrant403JSONResponse

type UpdateProjectMachinePoolGrant403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateProjectMachinePoolGrant403JSONResponse) VisitUpdateProjectMachinePoolGrantResponse

func (response UpdateProjectMachinePoolGrant403JSONResponse) VisitUpdateProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type UpdateProjectMachinePoolGrant404JSONResponse

type UpdateProjectMachinePoolGrant404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateProjectMachinePoolGrant404JSONResponse) VisitUpdateProjectMachinePoolGrantResponse

func (response UpdateProjectMachinePoolGrant404JSONResponse) VisitUpdateProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type UpdateProjectMachinePoolGrant409JSONResponse

type UpdateProjectMachinePoolGrant409JSONResponse struct{ ConflictJSONResponse }

func (UpdateProjectMachinePoolGrant409JSONResponse) VisitUpdateProjectMachinePoolGrantResponse

func (response UpdateProjectMachinePoolGrant409JSONResponse) VisitUpdateProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type UpdateProjectMachinePoolGrant503JSONResponse

type UpdateProjectMachinePoolGrant503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (UpdateProjectMachinePoolGrant503JSONResponse) VisitUpdateProjectMachinePoolGrantResponse

func (response UpdateProjectMachinePoolGrant503JSONResponse) VisitUpdateProjectMachinePoolGrantResponse(w http.ResponseWriter) error

type UpdateProjectMachinePoolGrantJSONRequestBody

type UpdateProjectMachinePoolGrantJSONRequestBody = UpdateProjectMachinePoolGrantRequest

UpdateProjectMachinePoolGrantJSONRequestBody defines body for UpdateProjectMachinePoolGrant for application/json ContentType.

type UpdateProjectMachinePoolGrantRequest

type UpdateProjectMachinePoolGrantRequest struct {
	DefaultCwd                           *string                  `json:"default_cwd,omitempty"`
	DefaultMachineCpu                    nullable.Nullable[int32] `json:"default_machine_cpu,omitempty"`
	DefaultMachineEnvOverlay             *map[string]*string      `json:"default_machine_env_overlay,omitempty"`
	DefaultMachineMemoryMb               nullable.Nullable[int32] `json:"default_machine_memory_mb,omitempty"`
	DefaultMachineProviderOptionsOverlay *map[string]interface{}  `json:"default_machine_provider_options_overlay,omitempty"`
	DefaultMachineSecretEnvOverlay       *map[string]*string      `json:"default_machine_secret_env_overlay,omitempty"`
	Description                          *string                  `json:"description,omitempty"`
	MaxMachineCpu                        nullable.Nullable[int32] `json:"max_machine_cpu,omitempty"`
	MaxMachineMemoryMb                   nullable.Nullable[int32] `json:"max_machine_memory_mb,omitempty"`
	MaxTotalCpu                          nullable.Nullable[int32] `json:"max_total_cpu,omitempty"`
	MaxTotalMachines                     nullable.Nullable[int32] `json:"max_total_machines,omitempty"`
	MaxTotalMemoryMb                     nullable.Nullable[int32] `json:"max_total_memory_mb,omitempty"`

	// Metadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters.
	Metadata           Metadata                 `json:"metadata,omitempty"`
	MinMachineCpu      nullable.Nullable[int32] `json:"min_machine_cpu,omitempty"`
	MinMachineMemoryMb nullable.Nullable[int32] `json:"min_machine_memory_mb,omitempty"`
}

UpdateProjectMachinePoolGrantRequest Update a project machine pool grant. Omitted fields keep their current values. Null clears an override so the grant follows the machine pool again. Overlay objects and metadata are replaced whole when present; send an empty object to clear them.

type UpdateProjectMachinePoolGrantRequestObject

type UpdateProjectMachinePoolGrantRequestObject struct {
	OrgID       string `json:"orgID"`
	ProjectID   string `json:"projectID"`
	PoolGrantID string `json:"poolGrantID"`
	Body        *UpdateProjectMachinePoolGrantJSONRequestBody
}

type UpdateProjectMachinePoolGrantResponseObject

type UpdateProjectMachinePoolGrantResponseObject interface {
	VisitUpdateProjectMachinePoolGrantResponse(w http.ResponseWriter) error
}

type UpdateProjectModelGrant4XXJSONResponse

type UpdateProjectModelGrant4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (UpdateProjectModelGrant4XXJSONResponse) VisitUpdateProjectModelGrantResponse

func (response UpdateProjectModelGrant4XXJSONResponse) VisitUpdateProjectModelGrantResponse(w http.ResponseWriter) error

type UpdateProjectModelGrant5XXJSONResponse

type UpdateProjectModelGrant5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (UpdateProjectModelGrant5XXJSONResponse) VisitUpdateProjectModelGrantResponse

func (response UpdateProjectModelGrant5XXJSONResponse) VisitUpdateProjectModelGrantResponse(w http.ResponseWriter) error

type UpdateProjectModelGrant200JSONResponse

type UpdateProjectModelGrant200JSONResponse ProjectModelGrantEnvelope

func (UpdateProjectModelGrant200JSONResponse) VisitUpdateProjectModelGrantResponse

func (response UpdateProjectModelGrant200JSONResponse) VisitUpdateProjectModelGrantResponse(w http.ResponseWriter) error

type UpdateProjectModelGrant400JSONResponse

type UpdateProjectModelGrant400JSONResponse struct{ BadRequestJSONResponse }

func (UpdateProjectModelGrant400JSONResponse) VisitUpdateProjectModelGrantResponse

func (response UpdateProjectModelGrant400JSONResponse) VisitUpdateProjectModelGrantResponse(w http.ResponseWriter) error

type UpdateProjectModelGrant401JSONResponse

type UpdateProjectModelGrant401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateProjectModelGrant401JSONResponse) VisitUpdateProjectModelGrantResponse

func (response UpdateProjectModelGrant401JSONResponse) VisitUpdateProjectModelGrantResponse(w http.ResponseWriter) error

type UpdateProjectModelGrant403JSONResponse

type UpdateProjectModelGrant403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateProjectModelGrant403JSONResponse) VisitUpdateProjectModelGrantResponse

func (response UpdateProjectModelGrant403JSONResponse) VisitUpdateProjectModelGrantResponse(w http.ResponseWriter) error

type UpdateProjectModelGrant404JSONResponse

type UpdateProjectModelGrant404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateProjectModelGrant404JSONResponse) VisitUpdateProjectModelGrantResponse

func (response UpdateProjectModelGrant404JSONResponse) VisitUpdateProjectModelGrantResponse(w http.ResponseWriter) error

type UpdateProjectModelGrant409JSONResponse

type UpdateProjectModelGrant409JSONResponse struct{ ConflictJSONResponse }

func (UpdateProjectModelGrant409JSONResponse) VisitUpdateProjectModelGrantResponse

func (response UpdateProjectModelGrant409JSONResponse) VisitUpdateProjectModelGrantResponse(w http.ResponseWriter) error

type UpdateProjectModelGrant503JSONResponse

type UpdateProjectModelGrant503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (UpdateProjectModelGrant503JSONResponse) VisitUpdateProjectModelGrantResponse

func (response UpdateProjectModelGrant503JSONResponse) VisitUpdateProjectModelGrantResponse(w http.ResponseWriter) error

type UpdateProjectModelGrantJSONRequestBody

type UpdateProjectModelGrantJSONRequestBody = UpdateProjectModelGrantRequest

UpdateProjectModelGrantJSONRequestBody defines body for UpdateProjectModelGrant for application/json ContentType.

type UpdateProjectModelGrantRequest

type UpdateProjectModelGrantRequest struct {
	// ContextWindowTokens Project token-window limit. Cannot exceed the configured model's current limit.
	ContextWindowTokens   nullable.Nullable[int]                 `json:"context_window_tokens,omitempty"`
	DefaultCacheRetention nullable.Nullable[ModelCacheRetention] `json:"default_cache_retention,omitempty"`

	// DefaultMaxOutputTokens Project default per-request output-token cap.
	DefaultMaxOutputTokens nullable.Nullable[int] `json:"default_max_output_tokens,omitempty"`

	// DefaultReasoningEffort Project default reasoning effort.
	DefaultReasoningEffort nullable.Nullable[string] `json:"default_reasoning_effort,omitempty"`

	// InputModalities Project subset of configured-model input types.
	InputModalities *[]string `json:"input_modalities,omitempty"`

	// MaxOutputTokens Project output-token ceiling. Cannot exceed the configured model's ceiling.
	MaxOutputTokens nullable.Nullable[int] `json:"max_output_tokens,omitempty"`

	// OutputModalities Project subset of configured-model output types.
	OutputModalities *[]string `json:"output_modalities,omitempty"`

	// SupportedReasoningEfforts Project subset of configured-model reasoning efforts. If this excludes the inherited default_reasoning_effort, set default_reasoning_effort on the grant too.
	SupportedReasoningEfforts *[]string `json:"supported_reasoning_efforts,omitempty"`

	// SupportsReasoning Project-level reasoning gate. Can disable reasoning, but cannot enable reasoning when the configured model does not support it.
	SupportsReasoning nullable.Nullable[bool] `json:"supports_reasoning,omitempty"`

	// SupportsTools Project-level tool-use gate. Can disable tools, but cannot enable tools when the configured model does not support them.
	SupportsTools nullable.Nullable[bool] `json:"supports_tools,omitempty"`
}

UpdateProjectModelGrantRequest Update a project model grant's overrides. Omitted fields keep their current values. Null clears an override so the project inherits from the configured model; for arrays, an empty array clears the override.

type UpdateProjectModelGrantRequestObject

type UpdateProjectModelGrantRequestObject struct {
	OrgID        string `json:"orgID"`
	ProjectID    string `json:"projectID"`
	ModelGrantID string `json:"modelGrantID"`
	Body         *UpdateProjectModelGrantJSONRequestBody
}

type UpdateProjectModelGrantResponseObject

type UpdateProjectModelGrantResponseObject interface {
	VisitUpdateProjectModelGrantResponse(w http.ResponseWriter) error
}

type UpdateSecret4XXJSONResponse

type UpdateSecret4XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 4XX statuses. Subset of the Error code enum whose statuses are client errors.
		Code ClientErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (UpdateSecret4XXJSONResponse) VisitUpdateSecretResponse

func (response UpdateSecret4XXJSONResponse) VisitUpdateSecretResponse(w http.ResponseWriter) error

type UpdateSecret5XXJSONResponse

type UpdateSecret5XXJSONResponse struct {
	Body struct {
		// Code Stable error code carried by 5XX statuses. Subset of the Error code enum whose statuses are server errors.
		Code ServerErrorCode `json:"code"`

		// Error Human-readable error message. Do not match on it programmatically.
		Error string `json:"error"`
	}
	StatusCode int
}

func (UpdateSecret5XXJSONResponse) VisitUpdateSecretResponse

func (response UpdateSecret5XXJSONResponse) VisitUpdateSecretResponse(w http.ResponseWriter) error

type UpdateSecret200JSONResponse

type UpdateSecret200JSONResponse Secret

func (UpdateSecret200JSONResponse) VisitUpdateSecretResponse

func (response UpdateSecret200JSONResponse) VisitUpdateSecretResponse(w http.ResponseWriter) error

type UpdateSecret400JSONResponse

type UpdateSecret400JSONResponse struct{ BadRequestJSONResponse }

func (UpdateSecret400JSONResponse) VisitUpdateSecretResponse

func (response UpdateSecret400JSONResponse) VisitUpdateSecretResponse(w http.ResponseWriter) error

type UpdateSecret401JSONResponse

type UpdateSecret401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateSecret401JSONResponse) VisitUpdateSecretResponse

func (response UpdateSecret401JSONResponse) VisitUpdateSecretResponse(w http.ResponseWriter) error

type UpdateSecret403JSONResponse

type UpdateSecret403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateSecret403JSONResponse) VisitUpdateSecretResponse

func (response UpdateSecret403JSONResponse) VisitUpdateSecretResponse(w http.ResponseWriter) error

type UpdateSecret404JSONResponse

type UpdateSecret404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateSecret404JSONResponse) VisitUpdateSecretResponse

func (response UpdateSecret404JSONResponse) VisitUpdateSecretResponse(w http.ResponseWriter) error

type UpdateSecret409JSONResponse

type UpdateSecret409JSONResponse struct{ ConflictJSONResponse }

func (UpdateSecret409JSONResponse) VisitUpdateSecretResponse

func (response UpdateSecret409JSONResponse) VisitUpdateSecretResponse(w http.ResponseWriter) error

type UpdateSecret500JSONResponse

type UpdateSecret500JSONResponse struct {
	InternalServerErrorJSONResponse
}

func (UpdateSecret500JSONResponse) VisitUpdateSecretResponse

func (response UpdateSecret500JSONResponse) VisitUpdateSecretResponse(w http.ResponseWriter) error

type UpdateSecret503JSONResponse

type UpdateSecret503JSONResponse struct{ ServiceUnavailableJSONResponse }

func (UpdateSecret503JSONResponse) VisitUpdateSecretResponse

func (response UpdateSecret503JSONResponse) VisitUpdateSecretResponse(w http.ResponseWriter) error

type UpdateSecretJSONRequestBody

type UpdateSecretJSONRequestBody = UpdateSecretRequest

UpdateSecretJSONRequestBody defines body for UpdateSecret for application/json ContentType.

type UpdateSecretRequest

type UpdateSecretRequest struct {
	// Metadata Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters.
	Metadata Metadata `json:"metadata,omitempty"`
	Name     *string  `json:"name,omitempty"`
}

UpdateSecretRequest defines model for UpdateSecretRequest.

type UpdateSecretRequestObject

type UpdateSecretRequestObject struct {
	OrgID    string `json:"orgID"`
	SecretID string `json:"secretID"`
	Body     *UpdateSecretJSONRequestBody
}

type UpdateSecretResponseObject

type UpdateSecretResponseObject interface {
	VisitUpdateSecretResponse(w http.ResponseWriter) error
}

type UserID

type UserID = string

UserID defines model for UserID.

type UserSecretOwner

type UserSecretOwner struct {
	Kind   UserSecretOwnerKind `json:"kind"`
	UserId UserID              `json:"user_id"`
}

UserSecretOwner defines model for UserSecretOwner.

type UserSecretOwnerInput

type UserSecretOwnerInput struct {
	Kind UserSecretOwnerInputKind `json:"kind"`
}

UserSecretOwnerInput defines model for UserSecretOwnerInput.

type UserSecretOwnerInputKind

type UserSecretOwnerInputKind string

UserSecretOwnerInputKind defines model for UserSecretOwnerInput.Kind.

const (
	UserSecretOwnerInputKindUser UserSecretOwnerInputKind = "user"
)

Defines values for UserSecretOwnerInputKind.

func (UserSecretOwnerInputKind) Valid

func (e UserSecretOwnerInputKind) Valid() bool

Valid indicates whether the value is a known member of the UserSecretOwnerInputKind enum.

type UserSecretOwnerKind

type UserSecretOwnerKind string

UserSecretOwnerKind defines model for UserSecretOwner.Kind.

const (
	UserSecretOwnerKindUser UserSecretOwnerKind = "user"
)

Defines values for UserSecretOwnerKind.

func (UserSecretOwnerKind) Valid

func (e UserSecretOwnerKind) Valid() bool

Valid indicates whether the value is a known member of the UserSecretOwnerKind enum.

type UserSkillOwner

type UserSkillOwner struct {
	Kind   UserSkillOwnerKind `json:"kind"`
	UserId UserID             `json:"user_id"`
}

UserSkillOwner defines model for UserSkillOwner.

type UserSkillOwnerInput

type UserSkillOwnerInput struct {
	Kind UserSkillOwnerInputKind `json:"kind"`
}

UserSkillOwnerInput defines model for UserSkillOwnerInput.

type UserSkillOwnerInputKind

type UserSkillOwnerInputKind string

UserSkillOwnerInputKind defines model for UserSkillOwnerInput.Kind.

const (
	UserSkillOwnerInputKindUser UserSkillOwnerInputKind = "user"
)

Defines values for UserSkillOwnerInputKind.

func (UserSkillOwnerInputKind) Valid

func (e UserSkillOwnerInputKind) Valid() bool

Valid indicates whether the value is a known member of the UserSkillOwnerInputKind enum.

type UserSkillOwnerKind

type UserSkillOwnerKind string

UserSkillOwnerKind defines model for UserSkillOwner.Kind.

const (
	UserSkillOwnerKindUser UserSkillOwnerKind = "user"
)

Defines values for UserSkillOwnerKind.

func (UserSkillOwnerKind) Valid

func (e UserSkillOwnerKind) Valid() bool

Valid indicates whether the value is a known member of the UserSkillOwnerKind enum.

type VisibleMachine

type VisibleMachine struct {
	Access          MachineAccess                `json:"access"`
	ConnectionState MachineConnectionState       `json:"connection_state"`
	CreatedAt       Timestamp                    `json:"created_at"`
	DeletedAt       nullable.Nullable[Timestamp] `json:"deleted_at"`
	Description     string                       `json:"description"`
	DisplayName     string                       `json:"display_name"`
	Id              MachineID                    `json:"id"`
	LastObservedAt  nullable.Nullable[Timestamp] `json:"last_observed_at"`
	LifecycleState  MachineLifecycleState        `json:"lifecycle_state"`
	OrgId           OrganizationID               `json:"org_id"`
	Provider        string                       `json:"provider"`
	SourceKind      MachineSourceKind            `json:"source_kind"`
	UpdatedAt       Timestamp                    `json:"updated_at"`
}

VisibleMachine defines model for VisibleMachine.

type VisibleProject

type VisibleProject struct {
	Access    ProjectAccess  `json:"access"`
	CreatedAt Timestamp      `json:"created_at"`
	Id        ProjectID      `json:"id"`
	Name      string         `json:"name"`
	OrgId     OrganizationID `json:"org_id"`
	UpdatedAt Timestamp      `json:"updated_at"`
}

VisibleProject defines model for VisibleProject.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL