api

package
v0.0.0-...-30723ed Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package api 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 NewAdminBanTeamRequest

func NewAdminBanTeamRequest(server string, teamID openapi_types.UUID) (*http.Request, error)

NewAdminBanTeamRequest constructs an http.Request for the AdminBanTeam method

func NewAdminBanTeamsRequest

func NewAdminBanTeamsRequest(server string, body AdminBanTeamsJSONRequestBody) (*http.Request, error)

NewAdminBanTeamsRequest calls the generic AdminBanTeams builder with application/json body

func NewAdminBanTeamsRequestWithBody

func NewAdminBanTeamsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewAdminBanTeamsRequestWithBody constructs an http.Request for the AdminBanTeams method, with any body, and a specified content type

func NewAdminListClusterTeamCountsRequest

func NewAdminListClusterTeamCountsRequest(server string) (*http.Request, error)

NewAdminListClusterTeamCountsRequest constructs an http.Request for the AdminListClusterTeamCounts method

func NewAdminListClusterTeamsRequest

func NewAdminListClusterTeamsRequest(server string, clusterID ClusterID, params *AdminListClusterTeamsParams) (*http.Request, error)

NewAdminListClusterTeamsRequest constructs an http.Request for the AdminListClusterTeams method

func NewAdminUnbanTeamRequest

func NewAdminUnbanTeamRequest(server string, teamID openapi_types.UUID) (*http.Request, error)

NewAdminUnbanTeamRequest constructs an http.Request for the AdminUnbanTeam method

func NewDeleteAdminTeamsTeamIDApiKeysApiKeyIDRequest

func NewDeleteAdminTeamsTeamIDApiKeysApiKeyIDRequest(server string, teamID openapi_types.UUID, apiKeyID ApiKeyID) (*http.Request, error)

NewDeleteAdminTeamsTeamIDApiKeysApiKeyIDRequest constructs an http.Request for the DeleteAdminTeamsTeamIDApiKeysApiKeyID method

func NewDeleteApiKeysApiKeyIDRequest

func NewDeleteApiKeysApiKeyIDRequest(server string, apiKeyID ApiKeyID) (*http.Request, error)

NewDeleteApiKeysApiKeyIDRequest constructs an http.Request for the DeleteApiKeysApiKeyID method

func NewDeleteClustersClusterIDRigsInstancesInstanceIDRequest

func NewDeleteClustersClusterIDRigsInstancesInstanceIDRequest(server string, clusterID ClusterID, instanceID string, params *DeleteClustersClusterIDRigsInstancesInstanceIDParams) (*http.Request, error)

NewDeleteClustersClusterIDRigsInstancesInstanceIDRequest constructs an http.Request for the DeleteClustersClusterIDRigsInstancesInstanceID method

func NewDeleteEventsWebhooksWebhookIDRequest

func NewDeleteEventsWebhooksWebhookIDRequest(server string, webhookID WebhookID) (*http.Request, error)

NewDeleteEventsWebhooksWebhookIDRequest constructs an http.Request for the DeleteEventsWebhooksWebhookID method

func NewDeleteSandboxesSandboxIDRequest

func NewDeleteSandboxesSandboxIDRequest(server string, sandboxID SandboxID) (*http.Request, error)

NewDeleteSandboxesSandboxIDRequest constructs an http.Request for the DeleteSandboxesSandboxID method

func NewDeleteSecretsSecretIDRequest

func NewDeleteSecretsSecretIDRequest(server string, secretID SecretID) (*http.Request, error)

NewDeleteSecretsSecretIDRequest constructs an http.Request for the DeleteSecretsSecretID method

func NewDeleteTemplatesTagsRequest

func NewDeleteTemplatesTagsRequest(server string, body DeleteTemplatesTagsJSONRequestBody) (*http.Request, error)

NewDeleteTemplatesTagsRequest calls the generic DeleteTemplatesTags builder with application/json body

func NewDeleteTemplatesTagsRequestWithBody

func NewDeleteTemplatesTagsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteTemplatesTagsRequestWithBody constructs an http.Request for the DeleteTemplatesTags method, with any body, and a specified content type

func NewDeleteTemplatesTemplateIDRequest

func NewDeleteTemplatesTemplateIDRequest(server string, templateID TemplateID) (*http.Request, error)

NewDeleteTemplatesTemplateIDRequest constructs an http.Request for the DeleteTemplatesTemplateID method

func NewDeleteUnstableAdminTemplatesAliasesAliasIDRequest

func NewDeleteUnstableAdminTemplatesAliasesAliasIDRequest(server string, aliasID AliasID) (*http.Request, error)

NewDeleteUnstableAdminTemplatesAliasesAliasIDRequest constructs an http.Request for the DeleteUnstableAdminTemplatesAliasesAliasID method

func NewDeleteUnstableAdminTemplatesDefaultsTemplateIDRequest

func NewDeleteUnstableAdminTemplatesDefaultsTemplateIDRequest(server string, templateID TemplateID) (*http.Request, error)

NewDeleteUnstableAdminTemplatesDefaultsTemplateIDRequest constructs an http.Request for the DeleteUnstableAdminTemplatesDefaultsTemplateID method

func NewDeleteVolumesVolumeIDRequest

func NewDeleteVolumesVolumeIDRequest(server string, volumeID VolumeID) (*http.Request, error)

NewDeleteVolumesVolumeIDRequest constructs an http.Request for the DeleteVolumesVolumeID method

func NewGetAdminSandboxesRunningCountsRequest

func NewGetAdminSandboxesRunningCountsRequest(server string) (*http.Request, error)

NewGetAdminSandboxesRunningCountsRequest constructs an http.Request for the GetAdminSandboxesRunningCounts method

func NewGetAdminSandboxesSandboxIDRequest

func NewGetAdminSandboxesSandboxIDRequest(server string, sandboxID SandboxID) (*http.Request, error)

NewGetAdminSandboxesSandboxIDRequest constructs an http.Request for the GetAdminSandboxesSandboxID method

func NewGetAdminTeamsTeamIDApiKeysRequest

func NewGetAdminTeamsTeamIDApiKeysRequest(server string, teamID openapi_types.UUID) (*http.Request, error)

NewGetAdminTeamsTeamIDApiKeysRequest constructs an http.Request for the GetAdminTeamsTeamIDApiKeys method

func NewGetApiKeysRequest

func NewGetApiKeysRequest(server string) (*http.Request, error)

NewGetApiKeysRequest constructs an http.Request for the GetApiKeys method

func NewGetClustersClusterIDRigsRequest

func NewGetClustersClusterIDRigsRequest(server string, clusterID ClusterID) (*http.Request, error)

NewGetClustersClusterIDRigsRequest constructs an http.Request for the GetClustersClusterIDRigs method

func NewGetClustersClusterIDRigsRigIDErrorsRequest

func NewGetClustersClusterIDRigsRigIDErrorsRequest(server string, clusterID ClusterID, rigID RigID, params *GetClustersClusterIDRigsRigIDErrorsParams) (*http.Request, error)

NewGetClustersClusterIDRigsRigIDErrorsRequest constructs an http.Request for the GetClustersClusterIDRigsRigIDErrors method

func NewGetClustersClusterIDRigsRigIDInstancesRequest

func NewGetClustersClusterIDRigsRigIDInstancesRequest(server string, clusterID ClusterID, rigID RigID) (*http.Request, error)

NewGetClustersClusterIDRigsRigIDInstancesRequest constructs an http.Request for the GetClustersClusterIDRigsRigIDInstances method

func NewGetDefaultTemplatesRequest

func NewGetDefaultTemplatesRequest(server string) (*http.Request, error)

NewGetDefaultTemplatesRequest constructs an http.Request for the GetDefaultTemplates method

func NewGetEventsSandboxesRequest

func NewGetEventsSandboxesRequest(server string, params *GetEventsSandboxesParams) (*http.Request, error)

NewGetEventsSandboxesRequest constructs an http.Request for the GetEventsSandboxes method

func NewGetEventsSandboxesSandboxIDRequest

func NewGetEventsSandboxesSandboxIDRequest(server string, sandboxID SandboxID, params *GetEventsSandboxesSandboxIDParams) (*http.Request, error)

NewGetEventsSandboxesSandboxIDRequest constructs an http.Request for the GetEventsSandboxesSandboxID method

func NewGetEventsWebhooksRequest

func NewGetEventsWebhooksRequest(server string) (*http.Request, error)

NewGetEventsWebhooksRequest constructs an http.Request for the GetEventsWebhooks method

func NewGetEventsWebhooksWebhookIDDeliveriesRequest

func NewGetEventsWebhooksWebhookIDDeliveriesRequest(server string, webhookID WebhookID, params *GetEventsWebhooksWebhookIDDeliveriesParams) (*http.Request, error)

NewGetEventsWebhooksWebhookIDDeliveriesRequest constructs an http.Request for the GetEventsWebhooksWebhookIDDeliveries method

func NewGetEventsWebhooksWebhookIDRequest

func NewGetEventsWebhooksWebhookIDRequest(server string, webhookID WebhookID) (*http.Request, error)

NewGetEventsWebhooksWebhookIDRequest constructs an http.Request for the GetEventsWebhooksWebhookID method

func NewGetEventsWebhooksWebhookIDStatsRequest

func NewGetEventsWebhooksWebhookIDStatsRequest(server string, webhookID WebhookID, params *GetEventsWebhooksWebhookIDStatsParams) (*http.Request, error)

NewGetEventsWebhooksWebhookIDStatsRequest constructs an http.Request for the GetEventsWebhooksWebhookIDStats method

func NewGetHealthRequest

func NewGetHealthRequest(server string) (*http.Request, error)

NewGetHealthRequest constructs an http.Request for the GetHealth method

func NewGetNodesNodeIDRequest

func NewGetNodesNodeIDRequest(server string, nodeID NodeID, params *GetNodesNodeIDParams) (*http.Request, error)

NewGetNodesNodeIDRequest constructs an http.Request for the GetNodesNodeID method

func NewGetNodesNodeIDSandboxesRequest

func NewGetNodesNodeIDSandboxesRequest(server string, nodeID NodeID, params *GetNodesNodeIDSandboxesParams) (*http.Request, error)

NewGetNodesNodeIDSandboxesRequest constructs an http.Request for the GetNodesNodeIDSandboxes method

func NewGetNodesRequest

func NewGetNodesRequest(server string, params *GetNodesParams) (*http.Request, error)

NewGetNodesRequest constructs an http.Request for the GetNodes method

func NewGetSandboxesMetricsRequest

func NewGetSandboxesMetricsRequest(server string, params *GetSandboxesMetricsParams) (*http.Request, error)

NewGetSandboxesMetricsRequest constructs an http.Request for the GetSandboxesMetrics method

func NewGetSandboxesRequest

func NewGetSandboxesRequest(server string, params *GetSandboxesParams) (*http.Request, error)

NewGetSandboxesRequest constructs an http.Request for the GetSandboxes method

func NewGetSandboxesSandboxIDLogsRequest

func NewGetSandboxesSandboxIDLogsRequest(server string, sandboxID SandboxID, params *GetSandboxesSandboxIDLogsParams) (*http.Request, error)

NewGetSandboxesSandboxIDLogsRequest constructs an http.Request for the GetSandboxesSandboxIDLogs method

func NewGetSandboxesSandboxIDMetricsRequest

func NewGetSandboxesSandboxIDMetricsRequest(server string, sandboxID SandboxID, params *GetSandboxesSandboxIDMetricsParams) (*http.Request, error)

NewGetSandboxesSandboxIDMetricsRequest constructs an http.Request for the GetSandboxesSandboxIDMetrics method

func NewGetSandboxesSandboxIDRequest

func NewGetSandboxesSandboxIDRequest(server string, sandboxID SandboxID) (*http.Request, error)

NewGetSandboxesSandboxIDRequest constructs an http.Request for the GetSandboxesSandboxID method

func NewGetSecretsRequest

func NewGetSecretsRequest(server string, params *GetSecretsParams) (*http.Request, error)

NewGetSecretsRequest constructs an http.Request for the GetSecrets method

func NewGetSecretsSecretIDRequest

func NewGetSecretsSecretIDRequest(server string, secretID SecretID) (*http.Request, error)

NewGetSecretsSecretIDRequest constructs an http.Request for the GetSecretsSecretID method

func NewGetSnapshotsRequest

func NewGetSnapshotsRequest(server string, params *GetSnapshotsParams) (*http.Request, error)

NewGetSnapshotsRequest constructs an http.Request for the GetSnapshots method

func NewGetTeamsTeamIDMetricsMaxRequest

func NewGetTeamsTeamIDMetricsMaxRequest(server string, teamID TeamID, params *GetTeamsTeamIDMetricsMaxParams) (*http.Request, error)

NewGetTeamsTeamIDMetricsMaxRequest constructs an http.Request for the GetTeamsTeamIDMetricsMax method

func NewGetTeamsTeamIDMetricsRequest

func NewGetTeamsTeamIDMetricsRequest(server string, teamID TeamID, params *GetTeamsTeamIDMetricsParams) (*http.Request, error)

NewGetTeamsTeamIDMetricsRequest constructs an http.Request for the GetTeamsTeamIDMetrics method

func NewGetTemplatesAliasesAliasRequest

func NewGetTemplatesAliasesAliasRequest(server string, alias string) (*http.Request, error)

NewGetTemplatesAliasesAliasRequest constructs an http.Request for the GetTemplatesAliasesAlias method

func NewGetTemplatesRequest

func NewGetTemplatesRequest(server string, params *GetTemplatesParams) (*http.Request, error)

NewGetTemplatesRequest constructs an http.Request for the GetTemplates method

func NewGetTemplatesTemplateIDBuildsBuildIDLogsRequest

func NewGetTemplatesTemplateIDBuildsBuildIDLogsRequest(server string, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDLogsParams) (*http.Request, error)

NewGetTemplatesTemplateIDBuildsBuildIDLogsRequest constructs an http.Request for the GetTemplatesTemplateIDBuildsBuildIDLogs method

func NewGetTemplatesTemplateIDBuildsBuildIDStatusRequest

func NewGetTemplatesTemplateIDBuildsBuildIDStatusRequest(server string, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDStatusParams) (*http.Request, error)

NewGetTemplatesTemplateIDBuildsBuildIDStatusRequest constructs an http.Request for the GetTemplatesTemplateIDBuildsBuildIDStatus method

func NewGetTemplatesTemplateIDBuildsRequest

func NewGetTemplatesTemplateIDBuildsRequest(server string, templateID TemplateID, params *GetTemplatesTemplateIDBuildsParams) (*http.Request, error)

NewGetTemplatesTemplateIDBuildsRequest constructs an http.Request for the GetTemplatesTemplateIDBuilds method

func NewGetTemplatesTemplateIDFilesHashRequest

func NewGetTemplatesTemplateIDFilesHashRequest(server string, templateID TemplateID, hash string) (*http.Request, error)

NewGetTemplatesTemplateIDFilesHashRequest constructs an http.Request for the GetTemplatesTemplateIDFilesHash method

func NewGetTemplatesTemplateIDRequest

func NewGetTemplatesTemplateIDRequest(server string, templateID TemplateID, params *GetTemplatesTemplateIDParams) (*http.Request, error)

NewGetTemplatesTemplateIDRequest constructs an http.Request for the GetTemplatesTemplateID method

func NewGetTemplatesTemplateIDTagsCountRequest

func NewGetTemplatesTemplateIDTagsCountRequest(server string, templateID TemplateID) (*http.Request, error)

NewGetTemplatesTemplateIDTagsCountRequest constructs an http.Request for the GetTemplatesTemplateIDTagsCount method

func NewGetTemplatesTemplateIDTagsExistsRequest

func NewGetTemplatesTemplateIDTagsExistsRequest(server string, templateID TemplateID, params *GetTemplatesTemplateIDTagsExistsParams) (*http.Request, error)

NewGetTemplatesTemplateIDTagsExistsRequest constructs an http.Request for the GetTemplatesTemplateIDTagsExists method

func NewGetTemplatesTemplateIDTagsGroupsRequest

func NewGetTemplatesTemplateIDTagsGroupsRequest(server string, templateID TemplateID, params *GetTemplatesTemplateIDTagsGroupsParams) (*http.Request, error)

NewGetTemplatesTemplateIDTagsGroupsRequest constructs an http.Request for the GetTemplatesTemplateIDTagsGroups method

func NewGetTemplatesTemplateIDTagsRequest

func NewGetTemplatesTemplateIDTagsRequest(server string, templateID TemplateID) (*http.Request, error)

NewGetTemplatesTemplateIDTagsRequest constructs an http.Request for the GetTemplatesTemplateIDTags method

func NewGetTemplatesTemplateIDTagsTagAssignmentsRequest

func NewGetTemplatesTemplateIDTagsTagAssignmentsRequest(server string, templateID TemplateID, tag Tag, params *GetTemplatesTemplateIDTagsTagAssignmentsParams) (*http.Request, error)

NewGetTemplatesTemplateIDTagsTagAssignmentsRequest constructs an http.Request for the GetTemplatesTemplateIDTagsTagAssignments method

func NewGetUnstableAdminSandboxesSandboxIDBuildsRequest

func NewGetUnstableAdminSandboxesSandboxIDBuildsRequest(server string, sandboxID SandboxID, params *GetUnstableAdminSandboxesSandboxIDBuildsParams) (*http.Request, error)

NewGetUnstableAdminSandboxesSandboxIDBuildsRequest constructs an http.Request for the GetUnstableAdminSandboxesSandboxIDBuilds method

func NewGetUnstableAdminSandboxesSandboxIDOverviewRequest

func NewGetUnstableAdminSandboxesSandboxIDOverviewRequest(server string, sandboxID SandboxID) (*http.Request, error)

NewGetUnstableAdminSandboxesSandboxIDOverviewRequest constructs an http.Request for the GetUnstableAdminSandboxesSandboxIDOverview method

func NewGetUnstableAdminTeamsTeamIDRequest

func NewGetUnstableAdminTeamsTeamIDRequest(server string, teamID openapi_types.UUID) (*http.Request, error)

NewGetUnstableAdminTeamsTeamIDRequest constructs an http.Request for the GetUnstableAdminTeamsTeamID method

func NewGetUnstableAdminTemplatesAliasesRequest

func NewGetUnstableAdminTemplatesAliasesRequest(server string, params *GetUnstableAdminTemplatesAliasesParams) (*http.Request, error)

NewGetUnstableAdminTemplatesAliasesRequest constructs an http.Request for the GetUnstableAdminTemplatesAliases method

func NewGetUnstableAdminTemplatesLookupRequest

func NewGetUnstableAdminTemplatesLookupRequest(server string, params *GetUnstableAdminTemplatesLookupParams) (*http.Request, error)

NewGetUnstableAdminTemplatesLookupRequest constructs an http.Request for the GetUnstableAdminTemplatesLookup method

func NewGetUnstableBuildsBuildIDRequest

func NewGetUnstableBuildsBuildIDRequest(server string, buildID BuildID) (*http.Request, error)

NewGetUnstableBuildsBuildIDRequest constructs an http.Request for the GetUnstableBuildsBuildID method

func NewGetUnstableBuildsRequest

func NewGetUnstableBuildsRequest(server string, params *GetUnstableBuildsParams) (*http.Request, error)

NewGetUnstableBuildsRequest constructs an http.Request for the GetUnstableBuilds method

func NewGetUnstableBuildsStatusesRequest

func NewGetUnstableBuildsStatusesRequest(server string, params *GetUnstableBuildsStatusesParams) (*http.Request, error)

NewGetUnstableBuildsStatusesRequest constructs an http.Request for the GetUnstableBuildsStatuses method

func NewGetUnstableSandboxesSandboxIDRecordRequest

func NewGetUnstableSandboxesSandboxIDRecordRequest(server string, sandboxID SandboxID) (*http.Request, error)

NewGetUnstableSandboxesSandboxIDRecordRequest constructs an http.Request for the GetUnstableSandboxesSandboxIDRecord method

func NewGetUnstableTeamsTeamIDLimitsRequest

func NewGetUnstableTeamsTeamIDLimitsRequest(server string, teamID TeamID) (*http.Request, error)

NewGetUnstableTeamsTeamIDLimitsRequest constructs an http.Request for the GetUnstableTeamsTeamIDLimits method

func NewGetUnstableTeamsTeamIDStatusRequest

func NewGetUnstableTeamsTeamIDStatusRequest(server string, teamID TeamID) (*http.Request, error)

NewGetUnstableTeamsTeamIDStatusRequest constructs an http.Request for the GetUnstableTeamsTeamIDStatus method

func NewGetUnstableTemplatesSearchRequest

func NewGetUnstableTemplatesSearchRequest(server string, params *GetUnstableTemplatesSearchParams) (*http.Request, error)

NewGetUnstableTemplatesSearchRequest constructs an http.Request for the GetUnstableTemplatesSearch method

func NewGetV2SandboxesRequest

func NewGetV2SandboxesRequest(server string, params *GetV2SandboxesParams) (*http.Request, error)

NewGetV2SandboxesRequest constructs an http.Request for the GetV2Sandboxes method

func NewGetV2SandboxesSandboxIDLogsRequest

func NewGetV2SandboxesSandboxIDLogsRequest(server string, sandboxID SandboxID, params *GetV2SandboxesSandboxIDLogsParams) (*http.Request, error)

NewGetV2SandboxesSandboxIDLogsRequest constructs an http.Request for the GetV2SandboxesSandboxIDLogs method

func NewGetV2TemplatesRequest

func NewGetV2TemplatesRequest(server string, params *GetV2TemplatesParams) (*http.Request, error)

NewGetV2TemplatesRequest constructs an http.Request for the GetV2Templates method

func NewGetV2TemplatesTemplateIDRequest

func NewGetV2TemplatesTemplateIDRequest(server string, templateID TemplateID) (*http.Request, error)

NewGetV2TemplatesTemplateIDRequest constructs an http.Request for the GetV2TemplatesTemplateID method

func NewGetVolumesRequest

func NewGetVolumesRequest(server string) (*http.Request, error)

NewGetVolumesRequest constructs an http.Request for the GetVolumes method

func NewGetVolumesVolumeIDRequest

func NewGetVolumesVolumeIDRequest(server string, volumeID VolumeID) (*http.Request, error)

NewGetVolumesVolumeIDRequest constructs an http.Request for the GetVolumesVolumeID method

func NewManagementApplyProjectBanRequest

func NewManagementApplyProjectBanRequest(server string, projectID openapi_types.UUID, body ManagementApplyProjectBanJSONRequestBody) (*http.Request, error)

NewManagementApplyProjectBanRequest calls the generic ManagementApplyProjectBan builder with application/json body

func NewManagementApplyProjectBanRequestWithBody

func NewManagementApplyProjectBanRequestWithBody(server string, projectID openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewManagementApplyProjectBanRequestWithBody constructs an http.Request for the ManagementApplyProjectBan method, with any body, and a specified content type

func NewManagementApplyProjectBlockRequest

func NewManagementApplyProjectBlockRequest(server string, projectID openapi_types.UUID, body ManagementApplyProjectBlockJSONRequestBody) (*http.Request, error)

NewManagementApplyProjectBlockRequest calls the generic ManagementApplyProjectBlock builder with application/json body

func NewManagementApplyProjectBlockRequestWithBody

func NewManagementApplyProjectBlockRequestWithBody(server string, projectID openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewManagementApplyProjectBlockRequestWithBody constructs an http.Request for the ManagementApplyProjectBlock method, with any body, and a specified content type

func NewManagementApplyProjectMemberRequest

func NewManagementApplyProjectMemberRequest(server string, projectID openapi_types.UUID, userID openapi_types.UUID, body ManagementApplyProjectMemberJSONRequestBody) (*http.Request, error)

NewManagementApplyProjectMemberRequest calls the generic ManagementApplyProjectMember builder with application/json body

func NewManagementApplyProjectMemberRequestWithBody

func NewManagementApplyProjectMemberRequestWithBody(server string, projectID openapi_types.UUID, userID openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewManagementApplyProjectMemberRequestWithBody constructs an http.Request for the ManagementApplyProjectMember method, with any body, and a specified content type

func NewManagementClusterDestroyReadinessRequest

func NewManagementClusterDestroyReadinessRequest(server string, clusterID ClusterID) (*http.Request, error)

NewManagementClusterDestroyReadinessRequest constructs an http.Request for the ManagementClusterDestroyReadiness method

func NewManagementDeleteClusterRequest

func NewManagementDeleteClusterRequest(server string, clusterID ClusterID) (*http.Request, error)

NewManagementDeleteClusterRequest constructs an http.Request for the ManagementDeleteCluster method

func NewManagementDeleteProjectRequest

func NewManagementDeleteProjectRequest(server string, projectID openapi_types.UUID) (*http.Request, error)

NewManagementDeleteProjectRequest constructs an http.Request for the ManagementDeleteProject method

func NewManagementListClusterProjectsRequest

func NewManagementListClusterProjectsRequest(server string, clusterID ClusterID) (*http.Request, error)

NewManagementListClusterProjectsRequest constructs an http.Request for the ManagementListClusterProjects method

func NewManagementRemoveClusterRegistrationRequest

func NewManagementRemoveClusterRegistrationRequest(server string, clusterID ClusterID) (*http.Request, error)

NewManagementRemoveClusterRegistrationRequest constructs an http.Request for the ManagementRemoveClusterRegistration method

func NewManagementRequestClusterDeletionRequest

func NewManagementRequestClusterDeletionRequest(server string, clusterID ClusterID) (*http.Request, error)

NewManagementRequestClusterDeletionRequest constructs an http.Request for the ManagementRequestClusterDeletion method

func NewManagementSetProjectSettingsRequest

func NewManagementSetProjectSettingsRequest(server string, projectID openapi_types.UUID, body ManagementSetProjectSettingsJSONRequestBody) (*http.Request, error)

NewManagementSetProjectSettingsRequest calls the generic ManagementSetProjectSettings builder with application/json body

func NewManagementSetProjectSettingsRequestWithBody

func NewManagementSetProjectSettingsRequestWithBody(server string, projectID openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewManagementSetProjectSettingsRequestWithBody constructs an http.Request for the ManagementSetProjectSettings method, with any body, and a specified content type

func NewManagementTelemetryNamesRequest

func NewManagementTelemetryNamesRequest(server string) (*http.Request, error)

NewManagementTelemetryNamesRequest constructs an http.Request for the ManagementTelemetryNames method

func NewManagementUpsertProjectLimitsRequest

func NewManagementUpsertProjectLimitsRequest(server string, projectID openapi_types.UUID, body ManagementUpsertProjectLimitsJSONRequestBody) (*http.Request, error)

NewManagementUpsertProjectLimitsRequest calls the generic ManagementUpsertProjectLimits builder with application/json body

func NewManagementUpsertProjectLimitsRequestWithBody

func NewManagementUpsertProjectLimitsRequestWithBody(server string, projectID openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewManagementUpsertProjectLimitsRequestWithBody constructs an http.Request for the ManagementUpsertProjectLimits method, with any body, and a specified content type

func NewManagementUpsertProjectRequest

func NewManagementUpsertProjectRequest(server string, projectID openapi_types.UUID, body ManagementUpsertProjectJSONRequestBody) (*http.Request, error)

NewManagementUpsertProjectRequest calls the generic ManagementUpsertProject builder with application/json body

func NewManagementUpsertProjectRequestWithBody

func NewManagementUpsertProjectRequestWithBody(server string, projectID openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewManagementUpsertProjectRequestWithBody constructs an http.Request for the ManagementUpsertProject method, with any body, and a specified content type

func NewPatchApiKeysApiKeyIDRequest

func NewPatchApiKeysApiKeyIDRequest(server string, apiKeyID ApiKeyID, body PatchApiKeysApiKeyIDJSONRequestBody) (*http.Request, error)

NewPatchApiKeysApiKeyIDRequest calls the generic PatchApiKeysApiKeyID builder with application/json body

func NewPatchApiKeysApiKeyIDRequestWithBody

func NewPatchApiKeysApiKeyIDRequestWithBody(server string, apiKeyID ApiKeyID, contentType string, body io.Reader) (*http.Request, error)

NewPatchApiKeysApiKeyIDRequestWithBody constructs an http.Request for the PatchApiKeysApiKeyID method, with any body, and a specified content type

func NewPatchEventsWebhooksWebhookIDRequest

func NewPatchEventsWebhooksWebhookIDRequest(server string, webhookID WebhookID, body PatchEventsWebhooksWebhookIDJSONRequestBody) (*http.Request, error)

NewPatchEventsWebhooksWebhookIDRequest calls the generic PatchEventsWebhooksWebhookID builder with application/json body

func NewPatchEventsWebhooksWebhookIDRequestWithBody

func NewPatchEventsWebhooksWebhookIDRequestWithBody(server string, webhookID WebhookID, contentType string, body io.Reader) (*http.Request, error)

NewPatchEventsWebhooksWebhookIDRequestWithBody constructs an http.Request for the PatchEventsWebhooksWebhookID method, with any body, and a specified content type

func NewPatchTemplatesTemplateIDRequest

func NewPatchTemplatesTemplateIDRequest(server string, templateID TemplateID, body PatchTemplatesTemplateIDJSONRequestBody) (*http.Request, error)

NewPatchTemplatesTemplateIDRequest calls the generic PatchTemplatesTemplateID builder with application/json body

func NewPatchTemplatesTemplateIDRequestWithBody

func NewPatchTemplatesTemplateIDRequestWithBody(server string, templateID TemplateID, contentType string, body io.Reader) (*http.Request, error)

NewPatchTemplatesTemplateIDRequestWithBody constructs an http.Request for the PatchTemplatesTemplateID method, with any body, and a specified content type

func NewPatchUnstableAdminTemplatesDefaultsTemplateIDRequest

func NewPatchUnstableAdminTemplatesDefaultsTemplateIDRequest(server string, templateID TemplateID, body PatchUnstableAdminTemplatesDefaultsTemplateIDJSONRequestBody) (*http.Request, error)

NewPatchUnstableAdminTemplatesDefaultsTemplateIDRequest calls the generic PatchUnstableAdminTemplatesDefaultsTemplateID builder with application/json body

func NewPatchUnstableAdminTemplatesDefaultsTemplateIDRequestWithBody

func NewPatchUnstableAdminTemplatesDefaultsTemplateIDRequestWithBody(server string, templateID TemplateID, contentType string, body io.Reader) (*http.Request, error)

NewPatchUnstableAdminTemplatesDefaultsTemplateIDRequestWithBody constructs an http.Request for the PatchUnstableAdminTemplatesDefaultsTemplateID method, with any body, and a specified content type

func NewPatchV2TemplatesTemplateIDRequest

func NewPatchV2TemplatesTemplateIDRequest(server string, templateID TemplateID, body PatchV2TemplatesTemplateIDJSONRequestBody) (*http.Request, error)

NewPatchV2TemplatesTemplateIDRequest calls the generic PatchV2TemplatesTemplateID builder with application/json body

func NewPatchV2TemplatesTemplateIDRequestWithBody

func NewPatchV2TemplatesTemplateIDRequestWithBody(server string, templateID TemplateID, contentType string, body io.Reader) (*http.Request, error)

NewPatchV2TemplatesTemplateIDRequestWithBody constructs an http.Request for the PatchV2TemplatesTemplateID method, with any body, and a specified content type

func NewPostAdminTeamsTeamIDApiKeysRequest

func NewPostAdminTeamsTeamIDApiKeysRequest(server string, teamID openapi_types.UUID, body PostAdminTeamsTeamIDApiKeysJSONRequestBody) (*http.Request, error)

NewPostAdminTeamsTeamIDApiKeysRequest calls the generic PostAdminTeamsTeamIDApiKeys builder with application/json body

func NewPostAdminTeamsTeamIDApiKeysRequestWithBody

func NewPostAdminTeamsTeamIDApiKeysRequestWithBody(server string, teamID openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewPostAdminTeamsTeamIDApiKeysRequestWithBody constructs an http.Request for the PostAdminTeamsTeamIDApiKeys method, with any body, and a specified content type

func NewPostAdminTeamsTeamIDBuildsCancelRequest

func NewPostAdminTeamsTeamIDBuildsCancelRequest(server string, teamID openapi_types.UUID) (*http.Request, error)

NewPostAdminTeamsTeamIDBuildsCancelRequest constructs an http.Request for the PostAdminTeamsTeamIDBuildsCancel method

func NewPostAdminTeamsTeamIDSandboxesKillRequest

func NewPostAdminTeamsTeamIDSandboxesKillRequest(server string, teamID openapi_types.UUID) (*http.Request, error)

NewPostAdminTeamsTeamIDSandboxesKillRequest constructs an http.Request for the PostAdminTeamsTeamIDSandboxesKill method

func NewPostApiKeysRequest

func NewPostApiKeysRequest(server string, body PostApiKeysJSONRequestBody) (*http.Request, error)

NewPostApiKeysRequest calls the generic PostApiKeys builder with application/json body

func NewPostApiKeysRequestWithBody

func NewPostApiKeysRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostApiKeysRequestWithBody constructs an http.Request for the PostApiKeys method, with any body, and a specified content type

func NewPostEventsWebhooksRequest

func NewPostEventsWebhooksRequest(server string, body PostEventsWebhooksJSONRequestBody) (*http.Request, error)

NewPostEventsWebhooksRequest calls the generic PostEventsWebhooks builder with application/json body

func NewPostEventsWebhooksRequestWithBody

func NewPostEventsWebhooksRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostEventsWebhooksRequestWithBody constructs an http.Request for the PostEventsWebhooks method, with any body, and a specified content type

func NewPostNodesNodeIDRequest

func NewPostNodesNodeIDRequest(server string, nodeID NodeID, body PostNodesNodeIDJSONRequestBody) (*http.Request, error)

NewPostNodesNodeIDRequest calls the generic PostNodesNodeID builder with application/json body

func NewPostNodesNodeIDRequestWithBody

func NewPostNodesNodeIDRequestWithBody(server string, nodeID NodeID, contentType string, body io.Reader) (*http.Request, error)

NewPostNodesNodeIDRequestWithBody constructs an http.Request for the PostNodesNodeID method, with any body, and a specified content type

func NewPostSandboxesRequest

func NewPostSandboxesRequest(server string, body PostSandboxesJSONRequestBody) (*http.Request, error)

NewPostSandboxesRequest calls the generic PostSandboxes builder with application/json body

func NewPostSandboxesRequestWithBody

func NewPostSandboxesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostSandboxesRequestWithBody constructs an http.Request for the PostSandboxes method, with any body, and a specified content type

func NewPostSandboxesSandboxIDConnectRequest

func NewPostSandboxesSandboxIDConnectRequest(server string, sandboxID SandboxID, body PostSandboxesSandboxIDConnectJSONRequestBody) (*http.Request, error)

NewPostSandboxesSandboxIDConnectRequest calls the generic PostSandboxesSandboxIDConnect builder with application/json body

func NewPostSandboxesSandboxIDConnectRequestWithBody

func NewPostSandboxesSandboxIDConnectRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)

NewPostSandboxesSandboxIDConnectRequestWithBody constructs an http.Request for the PostSandboxesSandboxIDConnect method, with any body, and a specified content type

func NewPostSandboxesSandboxIDForkRequest

func NewPostSandboxesSandboxIDForkRequest(server string, sandboxID SandboxID, body PostSandboxesSandboxIDForkJSONRequestBody) (*http.Request, error)

NewPostSandboxesSandboxIDForkRequest calls the generic PostSandboxesSandboxIDFork builder with application/json body

func NewPostSandboxesSandboxIDForkRequestWithBody

func NewPostSandboxesSandboxIDForkRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)

NewPostSandboxesSandboxIDForkRequestWithBody constructs an http.Request for the PostSandboxesSandboxIDFork method, with any body, and a specified content type

func NewPostSandboxesSandboxIDPauseRequest

func NewPostSandboxesSandboxIDPauseRequest(server string, sandboxID SandboxID, body PostSandboxesSandboxIDPauseJSONRequestBody) (*http.Request, error)

NewPostSandboxesSandboxIDPauseRequest calls the generic PostSandboxesSandboxIDPause builder with application/json body

func NewPostSandboxesSandboxIDPauseRequestWithBody

func NewPostSandboxesSandboxIDPauseRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)

NewPostSandboxesSandboxIDPauseRequestWithBody constructs an http.Request for the PostSandboxesSandboxIDPause method, with any body, and a specified content type

func NewPostSandboxesSandboxIDRefreshesRequest

func NewPostSandboxesSandboxIDRefreshesRequest(server string, sandboxID SandboxID, body PostSandboxesSandboxIDRefreshesJSONRequestBody) (*http.Request, error)

NewPostSandboxesSandboxIDRefreshesRequest calls the generic PostSandboxesSandboxIDRefreshes builder with application/json body

func NewPostSandboxesSandboxIDRefreshesRequestWithBody

func NewPostSandboxesSandboxIDRefreshesRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)

NewPostSandboxesSandboxIDRefreshesRequestWithBody constructs an http.Request for the PostSandboxesSandboxIDRefreshes method, with any body, and a specified content type

func NewPostSandboxesSandboxIDResumeRequest

func NewPostSandboxesSandboxIDResumeRequest(server string, sandboxID SandboxID, body PostSandboxesSandboxIDResumeJSONRequestBody) (*http.Request, error)

NewPostSandboxesSandboxIDResumeRequest calls the generic PostSandboxesSandboxIDResume builder with application/json body

func NewPostSandboxesSandboxIDResumeRequestWithBody

func NewPostSandboxesSandboxIDResumeRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)

NewPostSandboxesSandboxIDResumeRequestWithBody constructs an http.Request for the PostSandboxesSandboxIDResume method, with any body, and a specified content type

func NewPostSandboxesSandboxIDSnapshotsRequest

func NewPostSandboxesSandboxIDSnapshotsRequest(server string, sandboxID SandboxID, params *PostSandboxesSandboxIDSnapshotsParams, body PostSandboxesSandboxIDSnapshotsJSONRequestBody) (*http.Request, error)

NewPostSandboxesSandboxIDSnapshotsRequest calls the generic PostSandboxesSandboxIDSnapshots builder with application/json body

func NewPostSandboxesSandboxIDSnapshotsRequestWithBody

func NewPostSandboxesSandboxIDSnapshotsRequestWithBody(server string, sandboxID SandboxID, params *PostSandboxesSandboxIDSnapshotsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostSandboxesSandboxIDSnapshotsRequestWithBody constructs an http.Request for the PostSandboxesSandboxIDSnapshots method, with any body, and a specified content type

func NewPostSandboxesSandboxIDTimeoutRequest

func NewPostSandboxesSandboxIDTimeoutRequest(server string, sandboxID SandboxID, body PostSandboxesSandboxIDTimeoutJSONRequestBody) (*http.Request, error)

NewPostSandboxesSandboxIDTimeoutRequest calls the generic PostSandboxesSandboxIDTimeout builder with application/json body

func NewPostSandboxesSandboxIDTimeoutRequestWithBody

func NewPostSandboxesSandboxIDTimeoutRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)

NewPostSandboxesSandboxIDTimeoutRequestWithBody constructs an http.Request for the PostSandboxesSandboxIDTimeout method, with any body, and a specified content type

func NewPostSecretsRequest

func NewPostSecretsRequest(server string, params *PostSecretsParams, body PostSecretsJSONRequestBody) (*http.Request, error)

NewPostSecretsRequest calls the generic PostSecrets builder with application/json body

func NewPostSecretsRequestWithBody

func NewPostSecretsRequestWithBody(server string, params *PostSecretsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostSecretsRequestWithBody constructs an http.Request for the PostSecrets method, with any body, and a specified content type

func NewPostSecretsSecretIDRequest

func NewPostSecretsSecretIDRequest(server string, secretID SecretID, body PostSecretsSecretIDJSONRequestBody) (*http.Request, error)

NewPostSecretsSecretIDRequest calls the generic PostSecretsSecretID builder with application/json body

func NewPostSecretsSecretIDRequestWithBody

func NewPostSecretsSecretIDRequestWithBody(server string, secretID SecretID, contentType string, body io.Reader) (*http.Request, error)

NewPostSecretsSecretIDRequestWithBody constructs an http.Request for the PostSecretsSecretID method, with any body, and a specified content type

func NewPostTemplatesTagsRequest

func NewPostTemplatesTagsRequest(server string, params *PostTemplatesTagsParams, body PostTemplatesTagsJSONRequestBody) (*http.Request, error)

NewPostTemplatesTagsRequest calls the generic PostTemplatesTags builder with application/json body

func NewPostTemplatesTagsRequestWithBody

func NewPostTemplatesTagsRequestWithBody(server string, params *PostTemplatesTagsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostTemplatesTagsRequestWithBody constructs an http.Request for the PostTemplatesTags method, with any body, and a specified content type

func NewPostUnstableAdminSandboxesSandboxIDBuildsRestoreRequest

func NewPostUnstableAdminSandboxesSandboxIDBuildsRestoreRequest(server string, sandboxID SandboxID, body PostUnstableAdminSandboxesSandboxIDBuildsRestoreJSONRequestBody) (*http.Request, error)

NewPostUnstableAdminSandboxesSandboxIDBuildsRestoreRequest calls the generic PostUnstableAdminSandboxesSandboxIDBuildsRestore builder with application/json body

func NewPostUnstableAdminSandboxesSandboxIDBuildsRestoreRequestWithBody

func NewPostUnstableAdminSandboxesSandboxIDBuildsRestoreRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)

NewPostUnstableAdminSandboxesSandboxIDBuildsRestoreRequestWithBody constructs an http.Request for the PostUnstableAdminSandboxesSandboxIDBuildsRestore method, with any body, and a specified content type

func NewPostUnstableAdminTeamsQueryRequest

func NewPostUnstableAdminTeamsQueryRequest(server string, body PostUnstableAdminTeamsQueryJSONRequestBody) (*http.Request, error)

NewPostUnstableAdminTeamsQueryRequest calls the generic PostUnstableAdminTeamsQuery builder with application/json body

func NewPostUnstableAdminTeamsQueryRequestWithBody

func NewPostUnstableAdminTeamsQueryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostUnstableAdminTeamsQueryRequestWithBody constructs an http.Request for the PostUnstableAdminTeamsQuery method, with any body, and a specified content type

func NewPostUnstableAdminTemplatesAliasesRequest

func NewPostUnstableAdminTemplatesAliasesRequest(server string, body PostUnstableAdminTemplatesAliasesJSONRequestBody) (*http.Request, error)

NewPostUnstableAdminTemplatesAliasesRequest calls the generic PostUnstableAdminTemplatesAliases builder with application/json body

func NewPostUnstableAdminTemplatesAliasesRequestWithBody

func NewPostUnstableAdminTemplatesAliasesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostUnstableAdminTemplatesAliasesRequestWithBody constructs an http.Request for the PostUnstableAdminTemplatesAliases method, with any body, and a specified content type

func NewPostUnstableAdminTemplatesDefaultsRequest

func NewPostUnstableAdminTemplatesDefaultsRequest(server string, body PostUnstableAdminTemplatesDefaultsJSONRequestBody) (*http.Request, error)

NewPostUnstableAdminTemplatesDefaultsRequest calls the generic PostUnstableAdminTemplatesDefaults builder with application/json body

func NewPostUnstableAdminTemplatesDefaultsRequestWithBody

func NewPostUnstableAdminTemplatesDefaultsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostUnstableAdminTemplatesDefaultsRequestWithBody constructs an http.Request for the PostUnstableAdminTemplatesDefaults method, with any body, and a specified content type

func NewPostV2SandboxesRequest

func NewPostV2SandboxesRequest(server string, params *PostV2SandboxesParams, body PostV2SandboxesJSONRequestBody) (*http.Request, error)

NewPostV2SandboxesRequest calls the generic PostV2Sandboxes builder with application/json body

func NewPostV2SandboxesRequestWithBody

func NewPostV2SandboxesRequestWithBody(server string, params *PostV2SandboxesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostV2SandboxesRequestWithBody constructs an http.Request for the PostV2Sandboxes method, with any body, and a specified content type

func NewPostV2SandboxesSandboxIDConnectRequest

func NewPostV2SandboxesSandboxIDConnectRequest(server string, sandboxID SandboxID, body PostV2SandboxesSandboxIDConnectJSONRequestBody) (*http.Request, error)

NewPostV2SandboxesSandboxIDConnectRequest calls the generic PostV2SandboxesSandboxIDConnect builder with application/json body

func NewPostV2SandboxesSandboxIDConnectRequestWithBody

func NewPostV2SandboxesSandboxIDConnectRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)

NewPostV2SandboxesSandboxIDConnectRequestWithBody constructs an http.Request for the PostV2SandboxesSandboxIDConnect method, with any body, and a specified content type

func NewPostV2TemplatesTemplateIDBuildsBuildIDRequest

func NewPostV2TemplatesTemplateIDBuildsBuildIDRequest(server string, templateID TemplateID, buildID BuildID, params *PostV2TemplatesTemplateIDBuildsBuildIDParams, body PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody) (*http.Request, error)

NewPostV2TemplatesTemplateIDBuildsBuildIDRequest calls the generic PostV2TemplatesTemplateIDBuildsBuildID builder with application/json body

func NewPostV2TemplatesTemplateIDBuildsBuildIDRequestWithBody

func NewPostV2TemplatesTemplateIDBuildsBuildIDRequestWithBody(server string, templateID TemplateID, buildID BuildID, params *PostV2TemplatesTemplateIDBuildsBuildIDParams, contentType string, body io.Reader) (*http.Request, error)

NewPostV2TemplatesTemplateIDBuildsBuildIDRequestWithBody constructs an http.Request for the PostV2TemplatesTemplateIDBuildsBuildID method, with any body, and a specified content type

func NewPostV3TemplatesRequest

func NewPostV3TemplatesRequest(server string, params *PostV3TemplatesParams, body PostV3TemplatesJSONRequestBody) (*http.Request, error)

NewPostV3TemplatesRequest calls the generic PostV3Templates builder with application/json body

func NewPostV3TemplatesRequestWithBody

func NewPostV3TemplatesRequestWithBody(server string, params *PostV3TemplatesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostV3TemplatesRequestWithBody constructs an http.Request for the PostV3Templates method, with any body, and a specified content type

func NewPostVolumesRequest

func NewPostVolumesRequest(server string, body PostVolumesJSONRequestBody) (*http.Request, error)

NewPostVolumesRequest calls the generic PostVolumes builder with application/json body

func NewPostVolumesRequestWithBody

func NewPostVolumesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostVolumesRequestWithBody constructs an http.Request for the PostVolumes method, with any body, and a specified content type

func NewPutClustersClusterIDRigsRigIDCapacityRequest

func NewPutClustersClusterIDRigsRigIDCapacityRequest(server string, clusterID ClusterID, rigID RigID, body PutClustersClusterIDRigsRigIDCapacityJSONRequestBody) (*http.Request, error)

NewPutClustersClusterIDRigsRigIDCapacityRequest calls the generic PutClustersClusterIDRigsRigIDCapacity builder with application/json body

func NewPutClustersClusterIDRigsRigIDCapacityRequestWithBody

func NewPutClustersClusterIDRigsRigIDCapacityRequestWithBody(server string, clusterID ClusterID, rigID RigID, contentType string, body io.Reader) (*http.Request, error)

NewPutClustersClusterIDRigsRigIDCapacityRequestWithBody constructs an http.Request for the PutClustersClusterIDRigsRigIDCapacity method, with any body, and a specified content type

func NewPutSandboxesSandboxIDNetworkRequest

func NewPutSandboxesSandboxIDNetworkRequest(server string, sandboxID SandboxID, body PutSandboxesSandboxIDNetworkJSONRequestBody) (*http.Request, error)

NewPutSandboxesSandboxIDNetworkRequest calls the generic PutSandboxesSandboxIDNetwork builder with application/json body

func NewPutSandboxesSandboxIDNetworkRequestWithBody

func NewPutSandboxesSandboxIDNetworkRequestWithBody(server string, sandboxID SandboxID, contentType string, body io.Reader) (*http.Request, error)

NewPutSandboxesSandboxIDNetworkRequestWithBody constructs an http.Request for the PutSandboxesSandboxIDNetwork method, with any body, and a specified content type

func NewPutUnstableAdminTeamsTeamIDSchedulingLabelsRequest

func NewPutUnstableAdminTeamsTeamIDSchedulingLabelsRequest(server string, teamID openapi_types.UUID, body PutUnstableAdminTeamsTeamIDSchedulingLabelsJSONRequestBody) (*http.Request, error)

NewPutUnstableAdminTeamsTeamIDSchedulingLabelsRequest calls the generic PutUnstableAdminTeamsTeamIDSchedulingLabels builder with application/json body

func NewPutUnstableAdminTeamsTeamIDSchedulingLabelsRequestWithBody

func NewPutUnstableAdminTeamsTeamIDSchedulingLabelsRequestWithBody(server string, teamID openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewPutUnstableAdminTeamsTeamIDSchedulingLabelsRequestWithBody constructs an http.Request for the PutUnstableAdminTeamsTeamIDSchedulingLabels method, with any body, and a specified content type

Types

type AWSRegistry

type AWSRegistry struct {
	// AwsAccessKeyId AWS Access Key ID for ECR authentication
	AwsAccessKeyId string `json:"awsAccessKeyId"`

	// AwsRegion AWS Region where the ECR registry is located
	AwsRegion string `json:"awsRegion"`

	// AwsSecretAccessKey AWS Secret Access Key for ECR authentication
	AwsSecretAccessKey string `json:"awsSecretAccessKey"`

	// Type Type of registry authentication
	Type AWSRegistryType `json:"type"`
}

AWSRegistry defines model for AWSRegistry.

type AWSRegistryType

type AWSRegistryType string

AWSRegistryType Type of registry authentication

const (
	Aws AWSRegistryType = "aws"
)

Defines values for AWSRegistryType.

func (AWSRegistryType) Valid

func (e AWSRegistryType) Valid() bool

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

type AdminBanTeamResponse

type AdminBanTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AdminTeamBanResult
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *AdminBanTeamResponse429Headers
}

func ParseAdminBanTeamResponse

func ParseAdminBanTeamResponse(rsp *http.Response) (*AdminBanTeamResponse, error)

ParseAdminBanTeamResponse parses an HTTP response from a AdminBanTeamWithResponse call

func (AdminBanTeamResponse) ContentType

func (r AdminBanTeamResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AdminBanTeamResponse) GetBody

func (r AdminBanTeamResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AdminBanTeamResponse) GetJSON200

func (r AdminBanTeamResponse) GetJSON200() *AdminTeamBanResult

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AdminBanTeamResponse) GetJSON400

func (r AdminBanTeamResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (AdminBanTeamResponse) GetJSON401

func (r AdminBanTeamResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (AdminBanTeamResponse) GetJSON404

func (r AdminBanTeamResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (AdminBanTeamResponse) GetJSON429

func (r AdminBanTeamResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (AdminBanTeamResponse) GetJSON500

func (r AdminBanTeamResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (AdminBanTeamResponse) Status

func (r AdminBanTeamResponse) Status() string

Status returns HTTPResponse.Status

func (AdminBanTeamResponse) StatusCode

func (r AdminBanTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminBanTeamResponse429Headers

type AdminBanTeamResponse429Headers struct {
	RetryAfter *int
}

AdminBanTeamResponse429Headers the declared response headers of an HTTP 429 response for AdminBanTeam

type AdminBanTeamsJSONRequestBody

type AdminBanTeamsJSONRequestBody = AdminTeamsBanRequest

AdminBanTeamsJSONRequestBody defines body for AdminBanTeams for application/json ContentType.

type AdminBanTeamsResponse

type AdminBanTeamsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AdminTeamsBanResult
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *AdminBanTeamsResponse429Headers
}

func ParseAdminBanTeamsResponse

func ParseAdminBanTeamsResponse(rsp *http.Response) (*AdminBanTeamsResponse, error)

ParseAdminBanTeamsResponse parses an HTTP response from a AdminBanTeamsWithResponse call

func (AdminBanTeamsResponse) ContentType

func (r AdminBanTeamsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AdminBanTeamsResponse) GetBody

func (r AdminBanTeamsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AdminBanTeamsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AdminBanTeamsResponse) GetJSON400

func (r AdminBanTeamsResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (AdminBanTeamsResponse) GetJSON401

func (r AdminBanTeamsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (AdminBanTeamsResponse) GetJSON429

func (r AdminBanTeamsResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (AdminBanTeamsResponse) GetJSON500

func (r AdminBanTeamsResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (AdminBanTeamsResponse) Status

func (r AdminBanTeamsResponse) Status() string

Status returns HTTPResponse.Status

func (AdminBanTeamsResponse) StatusCode

func (r AdminBanTeamsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminBanTeamsResponse429Headers

type AdminBanTeamsResponse429Headers struct {
	RetryAfter *int
}

AdminBanTeamsResponse429Headers the declared response headers of an HTTP 429 response for AdminBanTeams

type AdminBuildCancelResult

type AdminBuildCancelResult struct {
	// CancelledCount Number of builds successfully cancelled
	CancelledCount int `json:"cancelledCount"`

	// FailedCount Number of builds that failed to cancel
	FailedCount int `json:"failedCount"`
}

AdminBuildCancelResult defines model for AdminBuildCancelResult.

type AdminDefaultTemplate

type AdminDefaultTemplate struct {
	// Description Description of the default template
	Description *string `json:"description"`

	// TemplateID Identifier of the default template
	TemplateID string `json:"templateID"`
}

AdminDefaultTemplate defines model for AdminDefaultTemplate.

type AdminDefaultTemplateCreateRequest

type AdminDefaultTemplateCreateRequest struct {
	// Description Description of the default template; blank is stored as none
	Description *string `json:"description,omitempty"`

	// TemplateID Identifier of the template to make a default template
	TemplateID string `json:"templateID"`
}

AdminDefaultTemplateCreateRequest defines model for AdminDefaultTemplateCreateRequest.

type AdminDefaultTemplateUpdateRequest

type AdminDefaultTemplateUpdateRequest struct {
	// Description New description of the default template; null or blank clears it
	Description *string `json:"description"`
}

AdminDefaultTemplateUpdateRequest defines model for AdminDefaultTemplateUpdateRequest.

type AdminListClusterTeamCountsResponse

type AdminListClusterTeamCountsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ClusterTeamCountList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParseAdminListClusterTeamCountsResponse

func ParseAdminListClusterTeamCountsResponse(rsp *http.Response) (*AdminListClusterTeamCountsResponse, error)

ParseAdminListClusterTeamCountsResponse parses an HTTP response from a AdminListClusterTeamCountsWithResponse call

func (AdminListClusterTeamCountsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AdminListClusterTeamCountsResponse) GetBody

GetBody returns the raw response body bytes

func (AdminListClusterTeamCountsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AdminListClusterTeamCountsResponse) GetJSON401

func (r AdminListClusterTeamCountsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (AdminListClusterTeamCountsResponse) GetJSON500

func (r AdminListClusterTeamCountsResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (AdminListClusterTeamCountsResponse) Status

Status returns HTTPResponse.Status

func (AdminListClusterTeamCountsResponse) StatusCode

func (r AdminListClusterTeamCountsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminListClusterTeamsParams

type AdminListClusterTeamsParams struct {
	// Limit Maximum number of teams to return
	Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of teams to skip
	Offset *int32 `form:"offset,omitempty" json:"offset,omitempty"`

	// SortBy Column to order by
	SortBy    *AdminListClusterTeamsParamsSortBy    `form:"sortBy,omitempty" json:"sortBy,omitempty"`
	SortOrder *AdminListClusterTeamsParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`
}

AdminListClusterTeamsParams defines parameters for AdminListClusterTeams.

type AdminListClusterTeamsParamsSortBy

type AdminListClusterTeamsParamsSortBy string

AdminListClusterTeamsParamsSortBy defines parameters for AdminListClusterTeams.

const (
	AdminListClusterTeamsParamsSortByCreatedAt AdminListClusterTeamsParamsSortBy = "createdAt"
	AdminListClusterTeamsParamsSortByName      AdminListClusterTeamsParamsSortBy = "name"
)

Defines values for AdminListClusterTeamsParamsSortBy.

func (AdminListClusterTeamsParamsSortBy) Valid

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

type AdminListClusterTeamsParamsSortOrder

type AdminListClusterTeamsParamsSortOrder string

AdminListClusterTeamsParamsSortOrder defines parameters for AdminListClusterTeams.

const (
	AdminListClusterTeamsSortOrderAsc  AdminListClusterTeamsParamsSortOrder = "asc"
	AdminListClusterTeamsSortOrderDesc AdminListClusterTeamsParamsSortOrder = "desc"
)

Defines values for AdminListClusterTeamsParamsSortOrder.

func (AdminListClusterTeamsParamsSortOrder) Valid

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

type AdminListClusterTeamsResponse

type AdminListClusterTeamsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ClusterTeamListResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *N503
}

func ParseAdminListClusterTeamsResponse

func ParseAdminListClusterTeamsResponse(rsp *http.Response) (*AdminListClusterTeamsResponse, error)

ParseAdminListClusterTeamsResponse parses an HTTP response from a AdminListClusterTeamsWithResponse call

func (AdminListClusterTeamsResponse) ContentType

func (r AdminListClusterTeamsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AdminListClusterTeamsResponse) GetBody

func (r AdminListClusterTeamsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AdminListClusterTeamsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AdminListClusterTeamsResponse) GetJSON400

func (r AdminListClusterTeamsResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (AdminListClusterTeamsResponse) GetJSON401

func (r AdminListClusterTeamsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (AdminListClusterTeamsResponse) GetJSON404

func (r AdminListClusterTeamsResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (AdminListClusterTeamsResponse) GetJSON500

func (r AdminListClusterTeamsResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (AdminListClusterTeamsResponse) GetJSON503

func (r AdminListClusterTeamsResponse) GetJSON503() *N503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (AdminListClusterTeamsResponse) Status

Status returns HTTPResponse.Status

func (AdminListClusterTeamsResponse) StatusCode

func (r AdminListClusterTeamsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminSandbox

type AdminSandbox struct {
	// SandboxID Identifier of the sandbox
	SandboxID string `json:"sandboxID"`

	// State State after the sandbox's latest create, resume, pause or kill event
	State AdminSandboxState `json:"state"`

	// TeamID Identifier of the team that owns the sandbox
	TeamID openapi_types.UUID `json:"teamID"`
}

AdminSandbox defines model for AdminSandbox.

type AdminSandboxBuild

type AdminSandboxBuild struct {
	// AssignedAt When the build was assigned to the template under this tag
	AssignedAt time.Time `json:"assignedAt"`

	// BuildID Identifier of the build
	BuildID openapi_types.UUID `json:"buildID"`

	// ClusterNodeID Node that produced the build, null when it was not recorded
	ClusterNodeID *string `json:"clusterNodeID"`

	// IsCurrent Whether this build is the template's newest ready assignment under
	// the tag, the build a resume uses, regardless of the status filter
	IsCurrent bool `json:"isCurrent"`

	// Restorable Whether the restore route would accept this build: it is ready,
	// assigned under the default tag, not the current build, and its
	// snapshot template is not deleted
	Restorable bool `json:"restorable"`

	// Status Same value as statusGroup
	// Deprecated: Use statusGroup
	Status string `json:"status"`

	// StatusGroup Coarse build state derived from the build status: pending (pending,
	// waiting), in_progress (in_progress, building, snapshotting), ready
	// (ready, uploaded, success) or failed (any other status)
	StatusGroup AdminSandboxBuildStatusGroup `json:"statusGroup"`

	// Tag Tag the build is assigned under
	Tag string `json:"tag"`

	// TemplateID Identifier of the snapshot template the build is assigned to
	TemplateID string `json:"templateID"`
}

AdminSandboxBuild A build assigned to a sandbox's snapshot template under a tag

type AdminSandboxBuildList

type AdminSandboxBuildList struct {
	Items []AdminSandboxBuild `json:"items"`

	// SnapshotTemplateID Identifier of the template that holds the sandbox's snapshot, null
	// when the sandbox has no snapshot
	SnapshotTemplateID *string `json:"snapshotTemplateID"`

	// Total Number of assignments matching the tag and status filter, ignoring limit and offset
	Total int64 `json:"total"`
}

AdminSandboxBuildList defines model for AdminSandboxBuildList.

type AdminSandboxBuildRestoreRequest

type AdminSandboxBuildRestoreRequest struct {
	// BuildID Build to make current. It must be ready and already assigned to the
	// sandbox's snapshot template under the default tag.
	BuildID openapi_types.UUID `json:"buildID"`
}

AdminSandboxBuildRestoreRequest defines model for AdminSandboxBuildRestoreRequest.

type AdminSandboxBuildRestoreResult

type AdminSandboxBuildRestoreResult struct {
	// AssignedAt When the new assignment was written
	AssignedAt time.Time `json:"assignedAt"`

	// BuildID Build that is now the template's current default build
	BuildID openapi_types.UUID `json:"buildID"`

	// PreviousBuildID Build that was current before the restore, null when there was none
	PreviousBuildID *openapi_types.UUID `json:"previousBuildID"`

	// SandboxID Identifier of the sandbox
	SandboxID string `json:"sandboxID"`

	// TemplateID Identifier of the snapshot template that received the assignment
	TemplateID string `json:"templateID"`
}

AdminSandboxBuildRestoreResult defines model for AdminSandboxBuildRestoreResult.

type AdminSandboxBuildStatusGroup

type AdminSandboxBuildStatusGroup string

AdminSandboxBuildStatusGroup Coarse build state derived from the build status: pending (pending, waiting), in_progress (in_progress, building, snapshotting), ready (ready, uploaded, success) or failed (any other status)

const (
	AdminSandboxBuildStatusGroupFailed     AdminSandboxBuildStatusGroup = "failed"
	AdminSandboxBuildStatusGroupInProgress AdminSandboxBuildStatusGroup = "in_progress"
	AdminSandboxBuildStatusGroupPending    AdminSandboxBuildStatusGroup = "pending"
	AdminSandboxBuildStatusGroupReady      AdminSandboxBuildStatusGroup = "ready"
)

Defines values for AdminSandboxBuildStatusGroup.

func (AdminSandboxBuildStatusGroup) Valid

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

type AdminSandboxKillResult

type AdminSandboxKillResult struct {
	// FailedCount Number of sandboxes that failed to kill
	FailedCount int `json:"failedCount"`

	// KilledCount Number of sandboxes successfully killed
	KilledCount int `json:"killedCount"`
}

AdminSandboxKillResult defines model for AdminSandboxKillResult.

type AdminSandboxLastPause

type AdminSandboxLastPause struct {
	// AutoPause Whether the sandbox pauses instead of being killed on timeout, as of the most recent pause
	AutoPause bool `json:"autoPause"`

	// AutoPauseKind Kind of snapshot an auto-pause takes, as of the most recent pause
	AutoPauseKind AdminSandboxPauseKind `json:"autoPauseKind"`

	// Kind Kind of snapshot the most recent pause took
	Kind AdminSandboxPauseKind `json:"kind"`
}

AdminSandboxLastPause The snapshot as the most recent pause left it. A resume can change whether the sandbox auto-pauses without rewriting it, and restoring an older build does not change it.

type AdminSandboxOverview

type AdminSandboxOverview struct {
	// BuildCount Number of default-tag build assignments of the snapshot template
	BuildCount int64 `json:"buildCount"`

	// LastPause What the most recent pause recorded, null when the sandbox has no snapshot
	LastPause *AdminSandboxLastPause `json:"lastPause"`

	// LatestBuild Newest default-tag build assignment of the snapshot template, null
	// when there is no snapshot or no assignment
	LatestBuild *AdminSandboxOverviewBuild `json:"latestBuild"`

	// SandboxId Identifier of the sandbox
	SandboxId string `json:"sandboxId"`

	// SnapshotTemplateId Template that holds the sandbox's snapshot, null when the sandbox has no snapshot
	SnapshotTemplateId *string `json:"snapshotTemplateId"`

	// Team The team the sandbox belongs to
	Team AdminSandboxOverviewTeam `json:"team"`
}

AdminSandboxOverview Who owns a sandbox and what its snapshot holds, read from the database: the team, the snapshot template and its most recent pause, and the newest default-tag build assignment of that template

type AdminSandboxOverviewBuild

type AdminSandboxOverviewBuild struct {
	// AssignedAt When the build was assigned to the template under the tag
	AssignedAt time.Time `json:"assignedAt"`

	// BuildId Identifier of the build
	BuildId openapi_types.UUID `json:"buildId"`

	// ClusterNodeId Node that produced the build, null when it was not recorded
	ClusterNodeId *string `json:"clusterNodeId"`

	// IsCurrent Always true, the newest assignment is the one the template resolves to
	IsCurrent bool `json:"isCurrent"`

	// Restorable Always false, the newest assignment is already current
	Restorable bool `json:"restorable"`

	// Status Same value as statusGroup
	// Deprecated: Use statusGroup
	Status string `json:"status"`

	// StatusGroup Coarse build state, null when the stored group is not one of the known values
	StatusGroup *AdminSandboxBuildStatusGroup `json:"statusGroup"`

	// Tag Tag the build is assigned under
	Tag string `json:"tag"`

	// TemplateId Identifier of the snapshot template the build is assigned to
	TemplateId string `json:"templateId"`
}

AdminSandboxOverviewBuild The newest default-tag build assignment of a sandbox's snapshot template

type AdminSandboxOverviewTeam

type AdminSandboxOverviewTeam struct {
	// Email Contact email of the team
	Email *string `json:"email"`

	// Id Identifier of the team
	Id openapi_types.UUID `json:"id"`

	// Name Name of the team
	Name *string `json:"name"`
}

AdminSandboxOverviewTeam The team the sandbox belongs to

type AdminSandboxPauseKind

type AdminSandboxPauseKind string

AdminSandboxPauseKind What a pause kept: memory is a full snapshot that resumes where the sandbox left off, filesystem keeps only the root filesystem and boots it again on resume

const (
	AdminSandboxPauseKindFilesystem AdminSandboxPauseKind = "filesystem"
	AdminSandboxPauseKindMemory     AdminSandboxPauseKind = "memory"
)

Defines values for AdminSandboxPauseKind.

func (AdminSandboxPauseKind) Valid

func (e AdminSandboxPauseKind) Valid() bool

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

type AdminSandboxState

type AdminSandboxState string

AdminSandboxState State after the sandbox's latest create, resume, pause or kill event

const (
	AdminSandboxStateKilled  AdminSandboxState = "killed"
	AdminSandboxStatePaused  AdminSandboxState = "paused"
	AdminSandboxStateRunning AdminSandboxState = "running"
)

Defines values for AdminSandboxState.

func (AdminSandboxState) Valid

func (e AdminSandboxState) Valid() bool

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

type AdminTeam

type AdminTeam struct {
	BlockedReason           *string             `json:"blockedReason,omitempty"`
	ClusterId               *openapi_types.UUID `json:"clusterId,omitempty"`
	ClusterName             *string             `json:"clusterName,omitempty"`
	CreatedAt               time.Time           `json:"createdAt"`
	Email                   string              `json:"email"`
	Id                      openapi_types.UUID  `json:"id"`
	IsBanned                bool                `json:"isBanned"`
	IsBlocked               bool                `json:"isBlocked"`
	Name                    string              `json:"name"`
	SandboxSchedulingLabels []string            `json:"sandboxSchedulingLabels"`
	Slug                    string              `json:"slug"`
}

AdminTeam defines model for AdminTeam.

type AdminTeamBanFailure

type AdminTeamBanFailure struct {
	Error  string             `json:"error"`
	TeamID openapi_types.UUID `json:"teamID"`
}

AdminTeamBanFailure defines model for AdminTeamBanFailure.

type AdminTeamBanResult

type AdminTeamBanResult struct {
	// BuildCancelError Set when the cancel step failed or ran out of time; the counts cover what it did until then.
	BuildCancelError *string `json:"buildCancelError,omitempty"`

	// BuildsCancelled Number of the team's builds cancelled
	BuildsCancelled int `json:"buildsCancelled"`

	// BuildsFailedToCancel Number of the team's builds that failed to cancel
	BuildsFailedToCancel int `json:"buildsFailedToCancel"`

	// SandboxKillError Set when the kill step failed or ran out of time; the counts cover what it did until then.
	SandboxKillError *string `json:"sandboxKillError,omitempty"`

	// SandboxesFailedToKill Number of the team's sandboxes that failed to kill
	SandboxesFailedToKill int `json:"sandboxesFailedToKill"`

	// SandboxesKilled Number of the team's sandboxes killed
	SandboxesKilled int                `json:"sandboxesKilled"`
	TeamID          openapi_types.UUID `json:"teamID"`
}

AdminTeamBanResult The outcome of banning one team. The ban is stored before the team's sandboxes are killed and its builds cancelled, so it holds even when either step fails.

type AdminTeamList

type AdminTeamList struct {
	Items []AdminTeamListItem `json:"items"`

	// Total Number of teams matching the filters, ignoring limit and offset
	Total int64 `json:"total"`
}

AdminTeamList defines model for AdminTeamList.

type AdminTeamListItem

type AdminTeamListItem struct {
	CreatedAt time.Time          `json:"createdAt"`
	Email     string             `json:"email"`
	Id        openapi_types.UUID `json:"id"`
	IsBanned  bool               `json:"isBanned"`
	IsBlocked bool               `json:"isBlocked"`

	// MemberCount Number of users in the team
	MemberCount int64  `json:"memberCount"`
	Name        string `json:"name"`

	// RunningSandboxCount Running sandboxes from the same cached snapshot as `GET /admin/sandboxes/running-counts`. Present only when the list is sorted by `runningSandboxes`.
	RunningSandboxCount *int64 `json:"runningSandboxCount,omitempty"`
}

AdminTeamListItem defines model for AdminTeamListItem.

type AdminTeamListRequest

type AdminTeamListRequest struct {
	// CreatedAfter Only list teams created at or after this time
	CreatedAfter *time.Time `json:"createdAfter,omitempty"`

	// CreatedBefore Only list teams created at or before this time
	CreatedBefore *time.Time `json:"createdBefore,omitempty"`

	// HideBanned Leave out banned teams
	HideBanned *bool `json:"hideBanned,omitempty"`

	// HideBlocked Leave out blocked teams
	HideBlocked *bool `json:"hideBlocked,omitempty"`

	// Limit Maximum number of teams to return
	Limit *int32 `json:"limit,omitempty"`

	// Offset Number of matching teams to skip
	Offset *int32 `json:"offset,omitempty"`

	// ProjectIds Only list these teams. An empty list matches no team; omit it to list every team.
	ProjectIds *[]openapi_types.UUID `json:"projectIds,omitempty"`

	// Search A team ID, as a UUID or public project ID, matches that team exactly. Any other text matches a substring of the email, name or slug, ignoring case.
	Search *string `json:"search,omitempty"`

	// SortBy Column to order by, with newer teams first among equal values. Omit it
	// to list the newest teams first.
	SortBy *AdminTeamListSortField `json:"sortBy,omitempty"`

	// SortOrder Ignored when `sortBy` is omitted.
	SortOrder *OrderDirection `json:"sortOrder,omitempty"`
}

AdminTeamListRequest defines model for AdminTeamListRequest.

type AdminTeamListSortField

type AdminTeamListSortField string

AdminTeamListSortField Column to order by, with newer teams first among equal values. Omit it to list the newest teams first.

const (
	AdminTeamListSortFieldCreatedAt        AdminTeamListSortField = "createdAt"
	AdminTeamListSortFieldEmail            AdminTeamListSortField = "email"
	AdminTeamListSortFieldName             AdminTeamListSortField = "name"
	AdminTeamListSortFieldRunningSandboxes AdminTeamListSortField = "runningSandboxes"
)

Defines values for AdminTeamListSortField.

func (AdminTeamListSortField) Valid

func (e AdminTeamListSortField) Valid() bool

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

type AdminTeamRunningSandboxCounts

type AdminTeamRunningSandboxCounts map[string]int64

AdminTeamRunningSandboxCounts Cached live sandbox index count keyed by team ID. Counts may briefly include sandboxes transitioning out of running; teams without indexed sandboxes are omitted.

type AdminTeamSchedulingLabels

type AdminTeamSchedulingLabels struct {
	// Labels The team's full set of labels. A request's labels replace the current ones.
	Labels []string `json:"labels"`
}

AdminTeamSchedulingLabels defines model for AdminTeamSchedulingLabels.

type AdminTeamsBanRequest

type AdminTeamsBanRequest struct {
	TeamIDs []openapi_types.UUID `json:"teamIDs"`
}

AdminTeamsBanRequest defines model for AdminTeamsBanRequest.

type AdminTeamsBanResult

type AdminTeamsBanResult struct {
	// Banned Teams whose ban is stored, with the outcome of killing their sandboxes and cancelling their builds
	Banned []AdminTeamBanResult `json:"banned"`

	// Failed Teams whose ban could not be stored or put into force; retrying repeats every step
	Failed []AdminTeamBanFailure `json:"failed"`

	// NotFound Requested teams that do not exist
	NotFound []openapi_types.UUID `json:"notFound"`
}

AdminTeamsBanResult defines model for AdminTeamsBanResult.

type AdminTemplateAlias

type AdminTemplateAlias struct {
	// Alias The alias
	Alias string `json:"alias"`

	// Id Identifier of the alias
	Id openapi_types.UUID `json:"id"`

	// IsRenamable Whether building the template under another name replaces the alias
	IsRenamable bool `json:"isRenamable"`

	// Namespace Namespace of the alias, or null for an alias that resolves for every team
	Namespace *string `json:"namespace"`

	// TemplateID Identifier of the template the alias resolves to
	TemplateID string `json:"templateID"`
}

AdminTemplateAlias defines model for AdminTemplateAlias.

type AdminTemplateAliasCreateRequest

type AdminTemplateAliasCreateRequest struct {
	// Alias The alias, without a namespace or tag
	Alias string `json:"alias"`

	// TemplateID Identifier of the template the alias resolves to
	TemplateID string `json:"templateID"`
}

AdminTemplateAliasCreateRequest defines model for AdminTemplateAliasCreateRequest.

type AdminTemplateAliasDeleted

type AdminTemplateAliasDeleted struct {
	// Alias The removed alias
	Alias string `json:"alias"`

	// AliasID Identifier of the removed alias
	AliasID openapi_types.UUID `json:"aliasID"`

	// TemplateID Identifier of the template the alias resolved to
	TemplateID string `json:"templateID"`
}

AdminTemplateAliasDeleted defines model for AdminTemplateAliasDeleted.

type AdminTemplateAliases

type AdminTemplateAliases struct {
	// Aliases All aliases of the template, those without a namespace first
	Aliases []AdminTemplateAlias `json:"aliases"`

	// Public Whether the template is public
	Public bool              `json:"public"`
	Team   AdminTemplateTeam `json:"team"`

	// TemplateID Identifier of the template
	TemplateID string `json:"templateID"`
}

AdminTemplateAliases defines model for AdminTemplateAliases.

type AdminTemplateLookup

type AdminTemplateLookup struct {
	// Builds The template's newest builds of any tag and status, newest first, at most 100
	Builds []TemplateBuild `json:"builds"`

	// CreatedAt Time when the template was created
	CreatedAt time.Time `json:"createdAt"`

	// IsSnapshot Whether the template is a snapshot of a sandbox
	IsSnapshot bool `json:"isSnapshot"`

	// LastSpawnedAt Time when the template was last used
	LastSpawnedAt *time.Time `json:"lastSpawnedAt"`

	// MatchedBuildID The build the query matched, when it was a build ID
	MatchedBuildID *openapi_types.UUID `json:"matchedBuildID"`

	// Names Names of the template (namespace/alias format when namespaced)
	Names []string `json:"names"`

	// Public Whether the template is public
	Public bool `json:"public"`

	// SnapshotSandboxID The sandbox a snapshot template was taken from
	SnapshotSandboxID *string `json:"snapshotSandboxID"`

	// SpawnCount Number of times the template was used
	SpawnCount int64             `json:"spawnCount"`
	Team       AdminTemplateTeam `json:"team"`

	// TemplateID Identifier of the template
	TemplateID string `json:"templateID"`
}

AdminTemplateLookup defines model for AdminTemplateLookup.

type AdminTemplateTeam

type AdminTemplateTeam struct {
	// Email Contact email of the team
	Email string `json:"email"`

	// Id Identifier of the team that owns the template
	Id openapi_types.UUID `json:"id"`

	// Name Name of the team
	Name string `json:"name"`
}

AdminTemplateTeam defines model for AdminTemplateTeam.

type AdminUnbanTeamResponse

type AdminUnbanTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *AdminUnbanTeamResponse429Headers
}

func ParseAdminUnbanTeamResponse

func ParseAdminUnbanTeamResponse(rsp *http.Response) (*AdminUnbanTeamResponse, error)

ParseAdminUnbanTeamResponse parses an HTTP response from a AdminUnbanTeamWithResponse call

func (AdminUnbanTeamResponse) ContentType

func (r AdminUnbanTeamResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AdminUnbanTeamResponse) GetBody

func (r AdminUnbanTeamResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AdminUnbanTeamResponse) GetJSON400

func (r AdminUnbanTeamResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (AdminUnbanTeamResponse) GetJSON401

func (r AdminUnbanTeamResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (AdminUnbanTeamResponse) GetJSON404

func (r AdminUnbanTeamResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (AdminUnbanTeamResponse) GetJSON429

func (r AdminUnbanTeamResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (AdminUnbanTeamResponse) GetJSON500

func (r AdminUnbanTeamResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (AdminUnbanTeamResponse) Status

func (r AdminUnbanTeamResponse) Status() string

Status returns HTTPResponse.Status

func (AdminUnbanTeamResponse) StatusCode

func (r AdminUnbanTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AdminUnbanTeamResponse429Headers

type AdminUnbanTeamResponse429Headers struct {
	RetryAfter *int
}

AdminUnbanTeamResponse429Headers the declared response headers of an HTTP 429 response for AdminUnbanTeam

type AliasID

type AliasID = openapi_types.UUID

AliasID defines model for aliasID.

type ApiKeyID

type ApiKeyID = string

ApiKeyID defines model for apiKeyID.

type AssignTemplateTagsRequest

type AssignTemplateTagsRequest struct {
	// Tags Tags to assign to the template
	Tags []string `json:"tags"`

	// Target Target template in "name:tag" format
	Target string `json:"target"`
}

AssignTemplateTagsRequest defines model for AssignTemplateTagsRequest.

type AssignedTemplateTags

type AssignedTemplateTags struct {
	// BuildID Identifier of the build associated with these tags
	BuildID openapi_types.UUID `json:"buildID"`

	// Tags Assigned tags of the template
	Tags []string `json:"tags"`
}

AssignedTemplateTags defines model for AssignedTemplateTags.

type BuildID

type BuildID = string

BuildID defines model for buildID.

type BuildIDOrTemplate

type BuildIDOrTemplate = string

BuildIDOrTemplate defines model for buildIDOrTemplate.

type BuildIDs

type BuildIDs = []openapi_types.UUID

BuildIDs defines model for buildIDs.

type BuildInfo

type BuildInfo struct {
	// CreatedAt Build creation timestamp in RFC3339 format.
	CreatedAt time.Time `json:"createdAt"`

	// FinishedAt Build completion timestamp in RFC3339 format, if finished.
	FinishedAt *time.Time `json:"finishedAt"`

	// Names Template names related to this build, if available.
	Names *[]string `json:"names,omitempty"`

	// Status Build status as the builds list reports it.
	Status BuildStatus `json:"status"`

	// StatusMessage Failure message when status is `failed`, otherwise `null`.
	StatusMessage *string `json:"statusMessage"`
}

BuildInfo defines model for BuildInfo.

type BuildLogEntry

type BuildLogEntry struct {
	// Level State of the sandbox
	Level LogLevel `json:"level"`

	// Message Log message content
	Message string `json:"message"`

	// Step Step in the build process related to the log entry
	Step *string `json:"step,omitempty"`

	// Timestamp Timestamp of the log entry
	Timestamp time.Time `json:"timestamp"`
}

BuildLogEntry defines model for BuildLogEntry.

type BuildStatus

type BuildStatus string

BuildStatus Build status as the builds list reports it.

const (
	BuildStatusBuilding BuildStatus = "building"
	BuildStatusFailed   BuildStatus = "failed"
	BuildStatusSuccess  BuildStatus = "success"
)

Defines values for BuildStatus.

func (BuildStatus) Valid

func (e BuildStatus) Valid() bool

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

type BuildStatusItem

type BuildStatusItem struct {
	// FinishedAt Build completion timestamp in RFC3339 format, if finished.
	FinishedAt *time.Time `json:"finishedAt"`

	// Id Identifier of the build.
	Id openapi_types.UUID `json:"id"`

	// Status Build status as the builds list reports it.
	Status BuildStatus `json:"status"`

	// StatusMessage Failure message when status is `failed`, otherwise `null`.
	StatusMessage *string `json:"statusMessage"`
}

BuildStatusItem defines model for BuildStatusItem.

type BuildStatusReason

type BuildStatusReason struct {
	// LogEntries Log entries related to the status reason
	LogEntries *[]BuildLogEntry `json:"logEntries,omitempty"`

	// Message Message with the status reason, currently reporting only for error status
	Message string `json:"message"`

	// Step Step that failed
	Step *string `json:"step,omitempty"`
}

BuildStatusReason defines model for BuildStatusReason.

type BuildStatuses

type BuildStatuses = []BuildStatus

BuildStatuses defines model for buildStatuses.

type BuildsCursor

type BuildsCursor = string

BuildsCursor defines model for buildsCursor.

type BuildsLimit

type BuildsLimit = int32

BuildsLimit defines model for buildsLimit.

type BuildsListResponse

type BuildsListResponse struct {
	Data []ListedBuild `json:"data"`

	// NextCursor Cursor to pass to the next list request, or `null` if there is no next page.
	NextCursor *string `json:"nextCursor"`
}

BuildsListResponse defines model for BuildsListResponse.

type BuildsStatusesResponse

type BuildsStatusesResponse struct {
	// BuildStatuses List of build statuses
	BuildStatuses []BuildStatusItem `json:"buildStatuses"`
}

BuildsStatusesResponse defines model for BuildsStatusesResponse.

type CPUCount

type CPUCount = int32

CPUCount CPU cores for the sandbox

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

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

Creates a new Client, with reasonable defaults

func (*Client) AdminBanTeam

func (c *Client) AdminBanTeam(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

AdminBanTeam Ban a team

Marks the team as banned so its API keys stop authenticating, then kills its sandboxes and cancels its builds. The ban is stored first: a failure to kill or cancel is reported in the result and does not undo it. Killing and cancelling stop after a fixed time budget, and a step cut short is reported as failed. Banning an already banned team repeats the kill and cancel. The work continues if the caller disconnects.

Corresponds with PUT /unstable/admin/teams/{teamID}/ban (the `AdminBanTeam` operationId).

func (*Client) AdminBanTeams

func (c *Client) AdminBanTeams(ctx context.Context, body AdminBanTeamsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AdminBanTeams Ban teams

Bans up to 100 teams at once, as `PUT /unstable/admin/teams/{teamID}/ban` does, except that every team's ban is stored before any team's sandboxes are killed or builds cancelled, and the kills and cancellations of all teams share one time budget. One team's failure does not stop the others; the response sorts every requested team into banned, not found or failed. The work continues if the caller disconnects.

Takes a body of the `application/json` content type.

Corresponds with POST /unstable/admin/teams/bans (the `AdminBanTeams` operationId).

func (*Client) AdminBanTeamsWithBody

func (c *Client) AdminBanTeamsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

AdminBanTeamsWithBody Ban teams

Bans up to 100 teams at once, as `PUT /unstable/admin/teams/{teamID}/ban` does, except that every team's ban is stored before any team's sandboxes are killed or builds cancelled, and the kills and cancellations of all teams share one time budget. One team's failure does not stop the others; the response sorts every requested team into banned, not found or failed. The work continues if the caller disconnects.

Takes any type of body and a specified content type.

Corresponds with POST /unstable/admin/teams/bans (the `AdminBanTeams` operationId).

func (*Client) AdminListClusterTeamCounts

func (c *Client) AdminListClusterTeamCounts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

AdminListClusterTeamCounts Count each cluster's teams as admin

Returns the number of live teams assigned to each remote cluster. A cluster no live team is assigned to is absent. It reads only the teams, so it answers without a cluster service.

Corresponds with GET /unstable/admin/clusters/team-counts (the `AdminListClusterTeamCounts` operationId).

func (*Client) AdminListClusterTeams

func (c *Client) AdminListClusterTeams(ctx context.Context, clusterID ClusterID, params *AdminListClusterTeamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

AdminListClusterTeams List a cluster's teams as admin

Lists the teams assigned to the cluster.

Corresponds with GET /unstable/admin/clusters/{clusterID}/teams (the `AdminListClusterTeams` operationId).

func (*Client) AdminUnbanTeam

func (c *Client) AdminUnbanTeam(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

AdminUnbanTeam Unban a team

Clears the team's ban. Idempotent.

Corresponds with DELETE /unstable/admin/teams/{teamID}/ban (the `AdminUnbanTeam` operationId).

func (*Client) DeleteAdminTeamsTeamIDApiKeysApiKeyID

func (c *Client) DeleteAdminTeamsTeamIDApiKeysApiKeyID(ctx context.Context, teamID openapi_types.UUID, apiKeyID ApiKeyID, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteAdminTeamsTeamIDApiKeysApiKeyID Delete team API key as admin

Deletes a team API key for internal service workflows.

Corresponds with DELETE /admin/teams/{teamID}/api-keys/{apiKeyID} (the `DeleteAdminTeamsTeamIDApiKeysApiKeyID` operationId).

func (*Client) DeleteApiKeysApiKeyID

func (c *Client) DeleteApiKeysApiKeyID(ctx context.Context, apiKeyID ApiKeyID, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteApiKeysApiKeyID Delete team API key

Delete a team API key.

Corresponds with DELETE /api-keys/{apiKeyID} (the `DeleteApiKeysApiKeyID` operationId).

func (*Client) DeleteClustersClusterIDRigsInstancesInstanceID

func (c *Client) DeleteClustersClusterIDRigsInstancesInstanceID(ctx context.Context, clusterID ClusterID, instanceID string, params *DeleteClustersClusterIDRigsInstancesInstanceIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteClustersClusterIDRigsInstancesInstanceID Terminate an instance of a rig

Terminate an instance in whichever rig's scaling group it belongs to. The caller chooses whether the rig shrinks or the instance is replaced.

Corresponds with DELETE /clusters/{clusterID}/rigs/instances/{instanceID} (the `DeleteClustersClusterIDRigsInstancesInstanceID` operationId).

func (*Client) DeleteEventsWebhooksWebhookID

func (c *Client) DeleteEventsWebhooksWebhookID(ctx context.Context, webhookID WebhookID, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteEventsWebhooksWebhookID performs a DELETE /events/webhooks/{webhookID} (the `DeleteEventsWebhooksWebhookID` operationId) request.

Delete a registered webhook.

func (*Client) DeleteSandboxesSandboxID

func (c *Client) DeleteSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteSandboxesSandboxID Kill sandbox

Kill a sandbox.

Corresponds with DELETE /sandboxes/{sandboxID} (the `DeleteSandboxesSandboxID` operationId).

func (*Client) DeleteSecretsSecretID

func (c *Client) DeleteSecretsSecretID(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteSecretsSecretID Delete a secret

Revoke the secret and schedule its versions for cleanup.

Corresponds with DELETE /secrets/{secretID} (the `DeleteSecretsSecretID` operationId).

func (*Client) DeleteTemplatesTags

func (c *Client) DeleteTemplatesTags(ctx context.Context, body DeleteTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteTemplatesTags Delete template tags

Delete multiple tags from templates.

Takes a body of the `application/json` content type.

Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).

func (*Client) DeleteTemplatesTagsWithBody

func (c *Client) DeleteTemplatesTagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteTemplatesTagsWithBody Delete template tags

Delete multiple tags from templates.

Takes any type of body and a specified content type.

Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).

func (*Client) DeleteTemplatesTemplateID

func (c *Client) DeleteTemplatesTemplateID(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteTemplatesTemplateID Delete template

Delete a template.

Corresponds with DELETE /templates/{templateID} (the `DeleteTemplatesTemplateID` operationId).

func (*Client) DeleteUnstableAdminTemplatesAliasesAliasID

func (c *Client) DeleteUnstableAdminTemplatesAliasesAliasID(ctx context.Context, aliasID AliasID, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteUnstableAdminTemplatesAliasesAliasID Remove a template alias without a namespace as admin

Removes an alias without a namespace. A namespaced alias is not removed and answers 404.

Corresponds with DELETE /unstable/admin/templates/aliases/{aliasID} (the `DeleteUnstableAdminTemplatesAliasesAliasID` operationId).

func (*Client) DeleteUnstableAdminTemplatesDefaultsTemplateID

func (c *Client) DeleteUnstableAdminTemplatesDefaultsTemplateID(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteUnstableAdminTemplatesDefaultsTemplateID Remove a default template as admin

Stops a template being one of the platform's default templates. The template itself is not changed. Returns 404 when the template is not a default template.

Corresponds with DELETE /unstable/admin/templates/defaults/{templateID} (the `DeleteUnstableAdminTemplatesDefaultsTemplateID` operationId).

func (*Client) DeleteVolumesVolumeID

func (c *Client) DeleteVolumesVolumeID(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteVolumesVolumeID Delete team volume

Delete a team volume.

Corresponds with DELETE /volumes/{volumeID} (the `DeleteVolumesVolumeID` operationId).

func (*Client) GetAdminSandboxesRunningCounts

func (c *Client) GetAdminSandboxesRunningCounts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAdminSandboxesRunningCounts Count running sandboxes by team

Returns a shared snapshot normally refreshed after five seconds. A sandbox transitioning out of running can remain counted until removal.

Corresponds with GET /admin/sandboxes/running-counts (the `GetAdminSandboxesRunningCounts` operationId).

func (*Client) GetAdminSandboxesSandboxID

func (c *Client) GetAdminSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAdminSandboxesSandboxID Get a sandbox's team and state

Reads the team and state of a sandbox from its latest lifecycle event. The state lags the sandbox while that event is in flight. A sandbox whose events have expired is not found.

Corresponds with GET /admin/sandboxes/{sandboxID} (the `GetAdminSandboxesSandboxID` operationId).

func (*Client) GetAdminTeamsTeamIDApiKeys

func (c *Client) GetAdminTeamsTeamIDApiKeys(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAdminTeamsTeamIDApiKeys List team API keys as admin

Lists a team's API keys for internal service workflows. Unlike `GET /api-keys`, it does not resolve the team, so it also answers for a banned team.

Corresponds with GET /admin/teams/{teamID}/api-keys (the `GetAdminTeamsTeamIDApiKeys` operationId).

func (*Client) GetApiKeys

func (c *Client) GetApiKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetApiKeys List team API keys

List all team API keys.

Corresponds with GET /api-keys (the `GetApiKeys` operationId).

func (*Client) GetClustersClusterIDRigs

func (c *Client) GetClustersClusterIDRigs(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetClustersClusterIDRigs List rigs of a cluster

List the orchestrator node pools ("rigs") of a cluster with a snapshot of their scaling groups. Forwarded to the cluster's edge service; a cluster with no rig management configured returns an empty list, and the local cluster answers 501.

Corresponds with GET /clusters/{clusterID}/rigs (the `GetClustersClusterIDRigs` operationId).

func (*Client) GetClustersClusterIDRigsRigIDErrors

func (c *Client) GetClustersClusterIDRigsRigIDErrors(ctx context.Context, clusterID ClusterID, rigID RigID, params *GetClustersClusterIDRigsRigIDErrorsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetClustersClusterIDRigsRigIDErrors List recent scaling errors of a rig

List recent scaling errors on the rig's scaling group (e.g. failed instance creations due to resource exhaustion), newest first.

Corresponds with GET /clusters/{clusterID}/rigs/{rigID}/errors (the `GetClustersClusterIDRigsRigIDErrors` operationId).

func (*Client) GetClustersClusterIDRigsRigIDInstances

func (c *Client) GetClustersClusterIDRigsRigIDInstances(ctx context.Context, clusterID ClusterID, rigID RigID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetClustersClusterIDRigsRigIDInstances List the instances attached to a rig

List the instances attached to the rig's scaling group with their creation time and transition state, sorted by instance ID.

Corresponds with GET /clusters/{clusterID}/rigs/{rigID}/instances (the `GetClustersClusterIDRigsRigIDInstances` operationId).

func (*Client) GetDefaultTemplates

func (c *Client) GetDefaultTemplates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDefaultTemplates List default templates

Lists the platform's default templates, ordered by template ID. Deleted templates are left out. Templates that are not public are listed only to their own team and to admin callers. The build, resources and envd version are those of the newest ready build tagged `default`, the one a sandbox started from the template runs, and are zero or empty when there is none; `buildStatus` describes the newest build tagged `default` in any state. Usage fields (`spawnCount`, `buildCount`, `lastSpawnedAt`, `createdBy`) are reported only for the caller's own templates and to admin callers.

Corresponds with GET /default-templates (the `GetDefaultTemplates` operationId).

func (*Client) GetEventsSandboxes

func (c *Client) GetEventsSandboxes(ctx context.Context, params *GetEventsSandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetEventsSandboxes performs a GET /events/sandboxes (the `GetEventsSandboxes` operationId) request.

Get all sandbox events for the team associated with the API key.

func (*Client) GetEventsSandboxesSandboxID

func (c *Client) GetEventsSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, params *GetEventsSandboxesSandboxIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetEventsSandboxesSandboxID performs a GET /events/sandboxes/{sandboxID} (the `GetEventsSandboxesSandboxID` operationId) request.

Get sandbox events.

func (*Client) GetEventsWebhooks

func (c *Client) GetEventsWebhooks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetEventsWebhooks performs a GET /events/webhooks (the `GetEventsWebhooks` operationId) request.

List registered webhooks.

func (*Client) GetEventsWebhooksWebhookID

func (c *Client) GetEventsWebhooksWebhookID(ctx context.Context, webhookID WebhookID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetEventsWebhooksWebhookID performs a GET /events/webhooks/{webhookID} (the `GetEventsWebhooksWebhookID` operationId) request.

Get a registered webhook.

func (*Client) GetEventsWebhooksWebhookIDDeliveries

func (c *Client) GetEventsWebhooksWebhookIDDeliveries(ctx context.Context, webhookID WebhookID, params *GetEventsWebhooksWebhookIDDeliveriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetEventsWebhooksWebhookIDDeliveries performs a GET /events/webhooks/{webhookID}/deliveries (the `GetEventsWebhooksWebhookIDDeliveries` operationId) request.

List webhook delivery attempts.

func (*Client) GetEventsWebhooksWebhookIDStats

func (c *Client) GetEventsWebhooksWebhookIDStats(ctx context.Context, webhookID WebhookID, params *GetEventsWebhooksWebhookIDStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetEventsWebhooksWebhookIDStats performs a GET /events/webhooks/{webhookID}/stats (the `GetEventsWebhooksWebhookIDStats` operationId) request.

Get webhook delivery aggregate stats.

func (*Client) GetHealth

func (c *Client) GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetHealth Health check

Corresponds with GET /health (the `GetHealth` operationId).

func (*Client) GetNodes

func (c *Client) GetNodes(ctx context.Context, params *GetNodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetNodes List nodes

List all nodes.

Corresponds with GET /nodes (the `GetNodes` operationId).

func (*Client) GetNodesNodeID

func (c *Client) GetNodesNodeID(ctx context.Context, nodeID NodeID, params *GetNodesNodeIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetNodesNodeID Node info

Get node info.

Corresponds with GET /nodes/{nodeID} (the `GetNodesNodeID` operationId).

func (*Client) GetNodesNodeIDSandboxes

func (c *Client) GetNodesNodeIDSandboxes(ctx context.Context, nodeID NodeID, params *GetNodesNodeIDSandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetNodesNodeIDSandboxes Node sandboxes

List the sandboxes the API confirms are running on the node.

Corresponds with GET /nodes/{nodeID}/sandboxes (the `GetNodesNodeIDSandboxes` operationId).

func (*Client) GetSandboxes

func (c *Client) GetSandboxes(ctx context.Context, params *GetSandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSandboxes List running sandboxes

List all running sandboxes. Returns 400 when more than 5000 running sandboxes match; use GET /v2/sandboxes to page through them.

Corresponds with GET /sandboxes (the `GetSandboxes` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) GetSandboxesMetrics

func (c *Client) GetSandboxesMetrics(ctx context.Context, params *GetSandboxesMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSandboxesMetrics List sandbox metrics

List metrics for given sandboxes.

Corresponds with GET /sandboxes/metrics (the `GetSandboxesMetrics` operationId).

func (*Client) GetSandboxesSandboxID

func (c *Client) GetSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSandboxesSandboxID Sandbox

Get a sandbox by id.

Corresponds with GET /sandboxes/{sandboxID} (the `GetSandboxesSandboxID` operationId).

func (*Client) GetSandboxesSandboxIDLogs

func (c *Client) GetSandboxesSandboxIDLogs(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSandboxesSandboxIDLogs Sandbox logs

Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead.

Corresponds with GET /sandboxes/{sandboxID}/logs (the `GetSandboxesSandboxIDLogs` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) GetSandboxesSandboxIDMetrics

func (c *Client) GetSandboxesSandboxIDMetrics(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSandboxesSandboxIDMetrics Sandbox metrics

Get sandbox metrics.

Corresponds with GET /sandboxes/{sandboxID}/metrics (the `GetSandboxesSandboxIDMetrics` operationId).

func (*Client) GetSecrets

func (c *Client) GetSecrets(ctx context.Context, params *GetSecretsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSecrets List project secrets

List the project's secrets. No response carries a secret value.

Corresponds with GET /secrets (the `GetSecrets` operationId).

func (*Client) GetSecretsSecretID

func (c *Client) GetSecretsSecretID(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSecretsSecretID Get a secret

Get one secret's metadata, selected by identifier or name.

Corresponds with GET /secrets/{secretID} (the `GetSecretsSecretID` operationId).

func (*Client) GetSnapshots

func (c *Client) GetSnapshots(ctx context.Context, params *GetSnapshotsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSnapshots List snapshots

List all snapshots for the team.

Corresponds with GET /snapshots (the `GetSnapshots` operationId).

func (*Client) GetTeamsTeamIDMetrics

func (c *Client) GetTeamsTeamIDMetrics(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTeamsTeamIDMetrics Team metrics

Get metrics for the team.

Corresponds with GET /teams/{teamID}/metrics (the `GetTeamsTeamIDMetrics` operationId).

func (*Client) GetTeamsTeamIDMetricsMax

func (c *Client) GetTeamsTeamIDMetricsMax(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsMaxParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTeamsTeamIDMetricsMax Maximum team metrics

Get the maximum metrics for the team in the given interval.

Corresponds with GET /teams/{teamID}/metrics/max (the `GetTeamsTeamIDMetricsMax` operationId).

func (*Client) GetTemplates

func (c *Client) GetTemplates(ctx context.Context, params *GetTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTemplates List templates

List all templates. Returns 400 when the team has more than 5000 templates; use /v2/templates to page through them.

Corresponds with GET /templates (the `GetTemplates` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) GetTemplatesAliasesAlias

func (c *Client) GetTemplatesAliasesAlias(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTemplatesAliasesAlias Check template alias

Check if template with given alias exists.

Corresponds with GET /templates/aliases/{alias} (the `GetTemplatesAliasesAlias` operationId).

func (*Client) GetTemplatesTemplateID

func (c *Client) GetTemplatesTemplateID(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTemplatesTemplateID List template builds

List all builds for a template.

Corresponds with GET /templates/{templateID} (the `GetTemplatesTemplateID` operationId).

func (*Client) GetTemplatesTemplateIDBuilds

func (c *Client) GetTemplatesTemplateIDBuilds(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDBuildsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTemplatesTemplateIDBuilds List a template's builds

List the builds of a template, newest first. The template is given by its ID or name. A template named `aliases` is given by its ID or by its name with the team prefix.

Corresponds with GET /templates/{templateID}/builds (the `GetTemplatesTemplateIDBuilds` operationId).

func (*Client) GetTemplatesTemplateIDBuildsBuildIDLogs

func (c *Client) GetTemplatesTemplateIDBuildsBuildIDLogs(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTemplatesTemplateIDBuildsBuildIDLogs Template build logs

Get template build logs.

Corresponds with GET /templates/{templateID}/builds/{buildID}/logs (the `GetTemplatesTemplateIDBuildsBuildIDLogs` operationId).

func (*Client) GetTemplatesTemplateIDBuildsBuildIDStatus

func (c *Client) GetTemplatesTemplateIDBuildsBuildIDStatus(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTemplatesTemplateIDBuildsBuildIDStatus Template build status

Get template build info.

Corresponds with GET /templates/{templateID}/builds/{buildID}/status (the `GetTemplatesTemplateIDBuildsBuildIDStatus` operationId).

func (*Client) GetTemplatesTemplateIDFilesHash

func (c *Client) GetTemplatesTemplateIDFilesHash(ctx context.Context, templateID TemplateID, hash string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTemplatesTemplateIDFilesHash Template build file upload URL

Get an upload link for a tar file containing build layer files.

Corresponds with GET /templates/{templateID}/files/{hash} (the `GetTemplatesTemplateIDFilesHash` operationId).

func (*Client) GetTemplatesTemplateIDTags

func (c *Client) GetTemplatesTemplateIDTags(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTemplatesTemplateIDTags List template tags

List all tags for a template.

Corresponds with GET /templates/{templateID}/tags (the `GetTemplatesTemplateIDTags` operationId).

func (*Client) GetTemplatesTemplateIDTagsCount

func (c *Client) GetTemplatesTemplateIDTagsCount(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTemplatesTemplateIDTagsCount Count template tags

Returns the number of distinct tags of the template that have at least one ready build. Returns 404 when the template does not exist or belongs to another team.

Corresponds with GET /templates/{templateID}/tags/count (the `GetTemplatesTemplateIDTagsCount` operationId).

func (*Client) GetTemplatesTemplateIDTagsExists

func (c *Client) GetTemplatesTemplateIDTagsExists(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDTagsExistsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTemplatesTemplateIDTagsExists Check template tag

Checks whether a tag of the template has at least one ready build. Returns 404 when the template does not exist or belongs to another team.

Corresponds with GET /templates/{templateID}/tags/exists (the `GetTemplatesTemplateIDTagsExists` operationId).

func (*Client) GetTemplatesTemplateIDTagsGroups

func (c *Client) GetTemplatesTemplateIDTagsGroups(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDTagsGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTemplatesTemplateIDTagsGroups List template tag groups

Lists the template's tags that have at least one ready build, each with its most recent ready assignments, paginated over tags with a keyset cursor. Returns 404 when the template does not exist or belongs to another team.

Corresponds with GET /templates/{templateID}/tags/groups (the `GetTemplatesTemplateIDTagsGroups` operationId).

func (*Client) GetTemplatesTemplateIDTagsTagAssignments

func (c *Client) GetTemplatesTemplateIDTagsTagAssignments(ctx context.Context, templateID TemplateID, tag Tag, params *GetTemplatesTemplateIDTagsTagAssignmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTemplatesTemplateIDTagsTagAssignments List template tag assignments

Lists the ready assignments of one tag of the template, newest first, with keyset cursor pagination. Returns 404 when the template does not exist or belongs to another team.

Corresponds with GET /templates/{templateID}/tags/{tag}/assignments (the `GetTemplatesTemplateIDTagsTagAssignments` operationId).

func (*Client) GetUnstableAdminSandboxesSandboxIDBuilds

func (c *Client) GetUnstableAdminSandboxesSandboxIDBuilds(ctx context.Context, sandboxID SandboxID, params *GetUnstableAdminSandboxesSandboxIDBuildsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetUnstableAdminSandboxesSandboxIDBuilds List the builds of a sandbox's snapshot template

Lists the build assignments of the template that holds the sandbox's snapshot under one tag. Assignments without a creation time are left out. A sandbox without a snapshot returns no items and a null `snapshotTemplateID`; this route does not report whether the sandbox exists.

Corresponds with GET /unstable/admin/sandboxes/{sandboxID}/builds (the `GetUnstableAdminSandboxesSandboxIDBuilds` operationId).

func (*Client) GetUnstableAdminSandboxesSandboxIDOverview

func (c *Client) GetUnstableAdminSandboxesSandboxIDOverview(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetUnstableAdminSandboxesSandboxIDOverview Sandbox overview

Reads a sandbox's team, snapshot template, most recent pause and newest default-tag build from the database. The team comes from the stopped-sandbox log, or from the snapshot when the sandbox has not stopped. Returns 404 when neither knows the sandbox. A sandbox without a snapshot returns null `snapshotTemplateId`, `lastPause` and `latestBuild`.

Corresponds with GET /unstable/admin/sandboxes/{sandboxID}/overview (the `GetUnstableAdminSandboxesSandboxIDOverview` operationId).

func (*Client) GetUnstableAdminTeamsTeamID

func (c *Client) GetUnstableAdminTeamsTeamID(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetUnstableAdminTeamsTeamID Team as admin

Returns a team with its sandbox scheduling labels and cluster. It also answers for a banned or blocked team.

Corresponds with GET /unstable/admin/teams/{teamID} (the `GetUnstableAdminTeamsTeamID` operationId).

func (*Client) GetUnstableAdminTemplatesAliases

func (c *Client) GetUnstableAdminTemplatesAliases(ctx context.Context, params *GetUnstableAdminTemplatesAliasesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetUnstableAdminTemplatesAliases Search template aliases as admin

Finds the templates whose ID equals `search`, or that own an alias equal to `search` in any namespace, with their owning team and all their aliases. Deleted templates are left out. Results are ordered by template ID; the next page's token is returned in `X-Next-Token`.

Corresponds with GET /unstable/admin/templates/aliases (the `GetUnstableAdminTemplatesAliases` operationId).

func (*Client) GetUnstableAdminTemplatesLookup

func (c *Client) GetUnstableAdminTemplatesLookup(ctx context.Context, params *GetUnstableAdminTemplatesLookupParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetUnstableAdminTemplatesLookup Look up a template as admin

Resolves `query` as, in order: a build ID (a UUID, matched to the template of the build's newest assignment, with no fallback), a template ID, or a template name (`namespace/alias`, or an alias without a namespace). Returns the template with its owning team and its newest builds. Deleted templates are not found.

Corresponds with GET /unstable/admin/templates/lookup (the `GetUnstableAdminTemplatesLookup` operationId).

func (*Client) GetUnstableBuilds

func (c *Client) GetUnstableBuilds(ctx context.Context, params *GetUnstableBuildsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetUnstableBuilds List team builds

Lists the team's builds, newest first, with an optional filter by build ID, template ID or template alias and by status. `nextCursor` continues the listing. For E2B's own clients: it may change or disappear without notice.

Corresponds with GET /unstable/builds (the `GetUnstableBuilds` operationId).

func (*Client) GetUnstableBuildsBuildID

func (c *Client) GetUnstableBuildsBuildID(ctx context.Context, buildID BuildID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetUnstableBuildsBuildID Build details

Returns a build of the team with the names of its template. For E2B's own clients: it may change or disappear without notice.

Corresponds with GET /unstable/builds/{buildID} (the `GetUnstableBuildsBuildID` operationId).

func (*Client) GetUnstableBuildsStatuses

func (c *Client) GetUnstableBuildsStatuses(ctx context.Context, params *GetUnstableBuildsStatusesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetUnstableBuildsStatuses Build statuses

Returns the statuses of the team's builds with the given IDs; IDs of other teams' builds are left out. For E2B's own clients: it may change or disappear without notice.

Corresponds with GET /unstable/builds/statuses (the `GetUnstableBuildsStatuses` operationId).

func (*Client) GetUnstableSandboxesSandboxIDRecord

func (c *Client) GetUnstableSandboxesSandboxIDRecord(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetUnstableSandboxesSandboxIDRecord Sandbox record

Returns the team's latest recorded run of the sandbox, including runs that have already ended, and whether its monitoring, logs and events data are still retained. Returns 404 when the team has no recorded run of the sandbox.

Corresponds with GET /unstable/sandboxes/{sandboxID}/record (the `GetUnstableSandboxesSandboxIDRecord` operationId).

func (*Client) GetUnstableTeamsTeamIDLimits

func (c *Client) GetUnstableTeamsTeamIDLimits(ctx context.Context, teamID TeamID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetUnstableTeamsTeamIDLimits Team limits

Returns the team's effective resource limits. A team-authenticated request may read only its own team.

Corresponds with GET /unstable/teams/{teamID}/limits (the `GetUnstableTeamsTeamIDLimits` operationId).

func (*Client) GetUnstableTeamsTeamIDStatus

func (c *Client) GetUnstableTeamsTeamIDStatus(ctx context.Context, teamID TeamID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetUnstableTeamsTeamIDStatus Team access status

Returns whether the team is banned or blocked, and why it is blocked. A team-authenticated request may read only its own team.

Corresponds with GET /unstable/teams/{teamID}/status (the `GetUnstableTeamsTeamIDStatus` operationId).

func (*Client) GetUnstableTemplatesSearch

func (c *Client) GetUnstableTemplatesSearch(ctx context.Context, params *GetUnstableTemplatesSearchParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetUnstableTemplatesSearch Search templates

Lists the team's templates together with the platform's public default templates, which carry `isDefault: true`, with search, a visibility filter and sorts. Default templates are not listed to teams on a dedicated cluster, and those owned by another team carry zero or null usage fields. Results are newest first unless `sort` says otherwise; `nextCursor` continues the listing and is only valid with the same `sort`. For E2B's own clients: it may change or disappear without notice.

Corresponds with GET /unstable/templates/search (the `GetUnstableTemplatesSearch` operationId).

func (*Client) GetV2Sandboxes

func (c *Client) GetV2Sandboxes(ctx context.Context, params *GetV2SandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV2Sandboxes List sandboxes (v2)

List all sandboxes.

Corresponds with GET /v2/sandboxes (the `GetV2Sandboxes` operationId).

func (*Client) GetV2SandboxesSandboxIDLogs

func (c *Client) GetV2SandboxesSandboxIDLogs(ctx context.Context, sandboxID SandboxID, params *GetV2SandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV2SandboxesSandboxIDLogs Sandbox logs (v2)

Get sandbox logs.

Corresponds with GET /v2/sandboxes/{sandboxID}/logs (the `GetV2SandboxesSandboxIDLogs` operationId).

func (*Client) GetV2Templates

func (c *Client) GetV2Templates(ctx context.Context, params *GetV2TemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV2Templates List templates (v2)

List all templates.

Corresponds with GET /v2/templates (the `GetV2Templates` operationId).

func (*Client) GetV2TemplatesTemplateID

func (c *Client) GetV2TemplatesTemplateID(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetV2TemplatesTemplateID Template info (v2)

Get a template by its ID or name, with its default build and without its other builds.

Corresponds with GET /v2/templates/{templateID} (the `GetV2TemplatesTemplateID` operationId).

func (*Client) GetVolumes

func (c *Client) GetVolumes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetVolumes List team volumes

List all team volumes.

Corresponds with GET /volumes (the `GetVolumes` operationId).

func (*Client) GetVolumesVolumeID

func (c *Client) GetVolumesVolumeID(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetVolumesVolumeID Team volume

Get team volume info.

Corresponds with GET /volumes/{volumeID} (the `GetVolumesVolumeID` operationId).

func (*Client) ManagementApplyProjectBan

func (c *Client) ManagementApplyProjectBan(ctx context.Context, projectID openapi_types.UUID, body ManagementApplyProjectBanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ManagementApplyProjectBan Apply a project's ban state.

Records whether the project is banned. Authentication refuses a banned project's API keys and members. A revision that turns the ban on also kills the project's running sandboxes and cancels its builds in the background, and retries while the project stays banned and any of them remain. The newest revision wins: an older or duplicate revision is accepted without changing target state. Answers 404 when the project is missing or deleted.

Takes a body of the `application/json` content type.

Corresponds with PUT /unstable/management/projects/{projectID}/ban (the `ManagementApplyProjectBan` operationId).

func (*Client) ManagementApplyProjectBanWithBody

func (c *Client) ManagementApplyProjectBanWithBody(ctx context.Context, projectID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ManagementApplyProjectBanWithBody Apply a project's ban state.

Records whether the project is banned. Authentication refuses a banned project's API keys and members. A revision that turns the ban on also kills the project's running sandboxes and cancels its builds in the background, and retries while the project stays banned and any of them remain. The newest revision wins: an older or duplicate revision is accepted without changing target state. Answers 404 when the project is missing or deleted.

Takes any type of body and a specified content type.

Corresponds with PUT /unstable/management/projects/{projectID}/ban (the `ManagementApplyProjectBan` operationId).

func (*Client) ManagementApplyProjectBlock

func (c *Client) ManagementApplyProjectBlock(ctx context.Context, projectID openapi_types.UUID, body ManagementApplyProjectBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ManagementApplyProjectBlock Apply a project's block state.

Records whether the project is refused billable work, which the auth path reads before it lets a sandbox start. An older or duplicate revision is accepted without changing target state. Answers 404 when the project is missing or deleted.

Takes a body of the `application/json` content type.

Corresponds with PUT /unstable/management/projects/{projectID}/block (the `ManagementApplyProjectBlock` operationId).

func (*Client) ManagementApplyProjectBlockWithBody

func (c *Client) ManagementApplyProjectBlockWithBody(ctx context.Context, projectID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ManagementApplyProjectBlockWithBody Apply a project's block state.

Records whether the project is refused billable work, which the auth path reads before it lets a sandbox start. An older or duplicate revision is accepted without changing target state. Answers 404 when the project is missing or deleted.

Takes any type of body and a specified content type.

Corresponds with PUT /unstable/management/projects/{projectID}/block (the `ManagementApplyProjectBlock` operationId).

func (*Client) ManagementApplyProjectMember

func (c *Client) ManagementApplyProjectMember(ctx context.Context, projectID openapi_types.UUID, userID openapi_types.UUID, body ManagementApplyProjectMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ManagementApplyProjectMember Apply one versioned project member projection.

Applies the newest desired presence for one project member. An older or duplicate revision is accepted without changing target state.

Takes a body of the `application/json` content type.

Corresponds with PUT /unstable/management/projects/{projectID}/members/{userID} (the `ManagementApplyProjectMember` operationId).

func (*Client) ManagementApplyProjectMemberWithBody

func (c *Client) ManagementApplyProjectMemberWithBody(ctx context.Context, projectID openapi_types.UUID, userID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ManagementApplyProjectMemberWithBody Apply one versioned project member projection.

Applies the newest desired presence for one project member. An older or duplicate revision is accepted without changing target state.

Takes any type of body and a specified content type.

Corresponds with PUT /unstable/management/projects/{projectID}/members/{userID} (the `ManagementApplyProjectMember` operationId).

func (*Client) ManagementClusterDestroyReadiness

func (c *Client) ManagementClusterDestroyReadiness(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*http.Response, error)

ManagementClusterDestroyReadiness Check cluster destroy readiness.

Checks whether the cluster has deletion protection turned on, or more than one team uses this exact cluster, either as an assigned team or as the owner of active templates or snapshots on it. One team's own templates and snapshots do not block this check, because deleting the cluster soft-deletes them. Soft-deleted history does not count. Returns success if the cluster is absent. This read does not change resources or prevent later assignments or template creation.

Corresponds with GET /unstable/management/clusters/{clusterID}/destroy-readiness (the `ManagementClusterDestroyReadiness` operationId).

func (*Client) ManagementDeleteCluster

func (c *Client) ManagementDeleteCluster(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*http.Response, error)

ManagementDeleteCluster Delete a cluster and its environments.

Deletes a cluster after all team assignments are detached. Deletion protection on the cluster rejects the deletion, and so does a live team assignment, before anything changes. In one transaction, which no team assignment can interleave with, it then soft-deletes every live template, snapshot template and paused sandbox snapshot on the cluster, releases their aliases, and releases all environment references while preserving environment and build history; the cluster service records the deletion and then deletes the cluster. An assignment requested meanwhile waits and is then refused. If the cluster service does not delete the cluster, nothing is soft-deleted and the cluster stays recorded as being deleted. Deleting an absent cluster still releases its templates, and is refused while a live team is assigned to it. The local cluster's nil ID is rejected. Repeating a completed deletion succeeds.

Corresponds with DELETE /unstable/management/clusters/{clusterID} (the `ManagementDeleteCluster` operationId).

func (*Client) ManagementDeleteProject

func (c *Client) ManagementDeleteProject(ctx context.Context, projectID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

ManagementDeleteProject Soft-delete a project.

Marks the project deleted and blocked, releases its cluster assignment, scrubs its name and email to DELETED and its slug to deleted-<project ID>, which releases the old slug for reuse, deletes its memberships and API keys, soft-deletes its templates and snapshots, and enqueues the teardown of its running sandboxes, all in one transaction. The project row remains. Afterwards the project answers 404 to other management writes. Repeating the call answers 204 and repeats every step except the deletion time: it re-blocks and re-scrubs the project, clears a cluster assignment written since, deletes any memberships, keys, templates or snapshots created since, and enqueues the teardown again.

Corresponds with DELETE /unstable/management/projects/{projectID} (the `ManagementDeleteProject` operationId).

func (*Client) ManagementListClusterProjects

func (c *Client) ManagementListClusterProjects(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*http.Response, error)

ManagementListClusterProjects List the projects assigned to a cluster.

Returns the ID of every project whose team is assigned to the cluster, whichever way it was assigned. A deleted project is never assigned. An absent cluster has no projects.

Corresponds with GET /unstable/management/clusters/{clusterID}/projects (the `ManagementListClusterProjects` operationId).

func (*Client) ManagementRemoveClusterRegistration

func (c *Client) ManagementRemoveClusterRegistration(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*http.Response, error)

ManagementRemoveClusterRegistration Remove a cluster and leave surviving projects without a runtime.

Corresponds with DELETE /unstable/management/clusters/{clusterID}/registration (the `ManagementRemoveClusterRegistration` operationId).

func (*Client) ManagementRequestClusterDeletion

func (c *Client) ManagementRequestClusterDeletion(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*http.Response, error)

ManagementRequestClusterDeletion Record that a cluster is being deleted.

Records that the caller is deleting the cluster, for a caller that deletes the cluster's teams before the cluster itself. Refused while the cluster has deletion protection turned on; a protection change in flight commits before or after the check, never between. Once recorded, deletion protection cannot be turned on, so the cluster delete that follows is not refused for protection, and no team can be newly assigned to the cluster. An assignment either commits before this request returns, where the caller's next project listing finds it, or is refused with a conflict. Succeeds when the cluster is absent. Repeating the request succeeds. The local cluster's nil ID is rejected.

Corresponds with PUT /unstable/management/clusters/{clusterID}/deletion (the `ManagementRequestClusterDeletion` operationId).

func (*Client) ManagementSetProjectSettings

func (c *Client) ManagementSetProjectSettings(ctx context.Context, projectID openapi_types.UUID, body ManagementSetProjectSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ManagementSetProjectSettings Apply a project's settings revision.

Replaces the complete project settings document when the revision is newer than the stored revision. Omitted settings are removed. Older and duplicate revisions leave the stored document unchanged. Every successful delivery invalidates the cached team. Answers 404 when the project is missing or deleted.

Takes a body of the `application/json` content type.

Corresponds with PUT /unstable/management/projects/{projectID}/settings (the `ManagementSetProjectSettings` operationId).

func (*Client) ManagementSetProjectSettingsWithBody

func (c *Client) ManagementSetProjectSettingsWithBody(ctx context.Context, projectID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ManagementSetProjectSettingsWithBody Apply a project's settings revision.

Replaces the complete project settings document when the revision is newer than the stored revision. Omitted settings are removed. Older and duplicate revisions leave the stored document unchanged. Every successful delivery invalidates the cached team. Answers 404 when the project is missing or deleted.

Takes any type of body and a specified content type.

Corresponds with PUT /unstable/management/projects/{projectID}/settings (the `ManagementSetProjectSettings` operationId).

func (*Client) ManagementTelemetryNames

func (c *Client) ManagementTelemetryNames(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ManagementTelemetryNames Read team and cluster names for telemetry.

Requires a direct mutual TLS connection from the configured telemetry reader service identity. Bearer tokens and forwarded identity headers are not accepted. Returns regional team and cluster names without connection credentials. Deleted projects and clusters being deleted are omitted.

Corresponds with GET /unstable/management/telemetry/names (the `ManagementTelemetryNames` operationId).

func (*Client) ManagementUpsertProject

func (c *Client) ManagementUpsertProject(ctx context.Context, projectID openapi_types.UUID, body ManagementUpsertProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ManagementUpsertProject Create or reconcile a project.

Takes a body of the `application/json` content type.

Corresponds with PUT /unstable/management/projects/{projectID} (the `ManagementUpsertProject` operationId).

func (*Client) ManagementUpsertProjectLimits

func (c *Client) ManagementUpsertProjectLimits(ctx context.Context, projectID openapi_types.UUID, body ManagementUpsertProjectLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ManagementUpsertProjectLimits Reconcile effective limits for a project.

Takes a body of the `application/json` content type.

Corresponds with PUT /unstable/management/projects/{projectID}/limits (the `ManagementUpsertProjectLimits` operationId).

func (*Client) ManagementUpsertProjectLimitsWithBody

func (c *Client) ManagementUpsertProjectLimitsWithBody(ctx context.Context, projectID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ManagementUpsertProjectLimitsWithBody Reconcile effective limits for a project.

Takes any type of body and a specified content type.

Corresponds with PUT /unstable/management/projects/{projectID}/limits (the `ManagementUpsertProjectLimits` operationId).

func (*Client) ManagementUpsertProjectWithBody

func (c *Client) ManagementUpsertProjectWithBody(ctx context.Context, projectID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ManagementUpsertProjectWithBody Create or reconcile a project.

Takes any type of body and a specified content type.

Corresponds with PUT /unstable/management/projects/{projectID} (the `ManagementUpsertProject` operationId).

func (*Client) PatchApiKeysApiKeyID

func (c *Client) PatchApiKeysApiKeyID(ctx context.Context, apiKeyID ApiKeyID, body PatchApiKeysApiKeyIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchApiKeysApiKeyID Update team API key

Update a team API key.

Takes a body of the `application/json` content type.

Corresponds with PATCH /api-keys/{apiKeyID} (the `PatchApiKeysApiKeyID` operationId).

func (*Client) PatchApiKeysApiKeyIDWithBody

func (c *Client) PatchApiKeysApiKeyIDWithBody(ctx context.Context, apiKeyID ApiKeyID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchApiKeysApiKeyIDWithBody Update team API key

Update a team API key.

Takes any type of body and a specified content type.

Corresponds with PATCH /api-keys/{apiKeyID} (the `PatchApiKeysApiKeyID` operationId).

func (*Client) PatchEventsWebhooksWebhookID

func (c *Client) PatchEventsWebhooksWebhookID(ctx context.Context, webhookID WebhookID, body PatchEventsWebhooksWebhookIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchEventsWebhooksWebhookID performs a PATCH /events/webhooks/{webhookID} (the `PatchEventsWebhooksWebhookID` operationId) request. Takes a body of the `application/json` content type.

Update a registered webhook configuration.

func (*Client) PatchEventsWebhooksWebhookIDWithBody

func (c *Client) PatchEventsWebhooksWebhookIDWithBody(ctx context.Context, webhookID WebhookID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchEventsWebhooksWebhookIDWithBody performs a PATCH /events/webhooks/{webhookID} (the `PatchEventsWebhooksWebhookID` operationId) request, with any type of body and a specified content type.

Update a registered webhook configuration.

func (*Client) PatchTemplatesTemplateID

func (c *Client) PatchTemplatesTemplateID(ctx context.Context, templateID TemplateID, body PatchTemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchTemplatesTemplateID Update template

Takes a body of the `application/json` content type.

Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) PatchTemplatesTemplateIDWithBody

func (c *Client) PatchTemplatesTemplateIDWithBody(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchTemplatesTemplateIDWithBody Update template

Takes any type of body and a specified content type.

Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) PatchUnstableAdminTemplatesDefaultsTemplateID

func (c *Client) PatchUnstableAdminTemplatesDefaultsTemplateID(ctx context.Context, templateID TemplateID, body PatchUnstableAdminTemplatesDefaultsTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchUnstableAdminTemplatesDefaultsTemplateID Update a default template as admin

Updates the description of a default template. Returns 404 when the template is not a default template.

Takes a body of the `application/json` content type.

Corresponds with PATCH /unstable/admin/templates/defaults/{templateID} (the `PatchUnstableAdminTemplatesDefaultsTemplateID` operationId).

func (*Client) PatchUnstableAdminTemplatesDefaultsTemplateIDWithBody

func (c *Client) PatchUnstableAdminTemplatesDefaultsTemplateIDWithBody(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchUnstableAdminTemplatesDefaultsTemplateIDWithBody Update a default template as admin

Updates the description of a default template. Returns 404 when the template is not a default template.

Takes any type of body and a specified content type.

Corresponds with PATCH /unstable/admin/templates/defaults/{templateID} (the `PatchUnstableAdminTemplatesDefaultsTemplateID` operationId).

func (*Client) PatchV2TemplatesTemplateID

func (c *Client) PatchV2TemplatesTemplateID(ctx context.Context, templateID TemplateID, body PatchV2TemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchV2TemplatesTemplateID Update template (v2)

Update template.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).

func (*Client) PatchV2TemplatesTemplateIDWithBody

func (c *Client) PatchV2TemplatesTemplateIDWithBody(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchV2TemplatesTemplateIDWithBody Update template (v2)

Update template.

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).

func (*Client) PostAdminTeamsTeamIDApiKeys

func (c *Client) PostAdminTeamsTeamIDApiKeys(ctx context.Context, teamID openapi_types.UUID, body PostAdminTeamsTeamIDApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostAdminTeamsTeamIDApiKeys Create team API key as admin

Creates a team API key for internal service workflows.

Takes a body of the `application/json` content type.

Corresponds with POST /admin/teams/{teamID}/api-keys (the `PostAdminTeamsTeamIDApiKeys` operationId).

func (*Client) PostAdminTeamsTeamIDApiKeysWithBody

func (c *Client) PostAdminTeamsTeamIDApiKeysWithBody(ctx context.Context, teamID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostAdminTeamsTeamIDApiKeysWithBody Create team API key as admin

Creates a team API key for internal service workflows.

Takes any type of body and a specified content type.

Corresponds with POST /admin/teams/{teamID}/api-keys (the `PostAdminTeamsTeamIDApiKeys` operationId).

func (*Client) PostAdminTeamsTeamIDBuildsCancel

func (c *Client) PostAdminTeamsTeamIDBuildsCancel(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

PostAdminTeamsTeamIDBuildsCancel Cancel all builds for a team

Cancels all in-progress and pending builds for the specified team.

Corresponds with POST /admin/teams/{teamID}/builds/cancel (the `PostAdminTeamsTeamIDBuildsCancel` operationId).

func (*Client) PostAdminTeamsTeamIDSandboxesKill

func (c *Client) PostAdminTeamsTeamIDSandboxesKill(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

PostAdminTeamsTeamIDSandboxesKill Kill all sandboxes for a team

Kills all sandboxes for the specified team.

Corresponds with POST /admin/teams/{teamID}/sandboxes/kill (the `PostAdminTeamsTeamIDSandboxesKill` operationId).

func (*Client) PostApiKeys

func (c *Client) PostApiKeys(ctx context.Context, body PostApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostApiKeys Create team API key

Create a new team API key.

Takes a body of the `application/json` content type.

Corresponds with POST /api-keys (the `PostApiKeys` operationId).

func (*Client) PostApiKeysWithBody

func (c *Client) PostApiKeysWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostApiKeysWithBody Create team API key

Create a new team API key.

Takes any type of body and a specified content type.

Corresponds with POST /api-keys (the `PostApiKeys` operationId).

func (*Client) PostEventsWebhooks

func (c *Client) PostEventsWebhooks(ctx context.Context, body PostEventsWebhooksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostEventsWebhooks performs a POST /events/webhooks (the `PostEventsWebhooks` operationId) request. Takes a body of the `application/json` content type.

Register events webhook.

func (*Client) PostEventsWebhooksWithBody

func (c *Client) PostEventsWebhooksWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostEventsWebhooksWithBody performs a POST /events/webhooks (the `PostEventsWebhooks` operationId) request, with any type of body and a specified content type.

Register events webhook.

func (*Client) PostNodesNodeID

func (c *Client) PostNodesNodeID(ctx context.Context, nodeID NodeID, body PostNodesNodeIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostNodesNodeID Change node status

Change status of a node.

Takes a body of the `application/json` content type.

Corresponds with POST /nodes/{nodeID} (the `PostNodesNodeID` operationId).

func (*Client) PostNodesNodeIDWithBody

func (c *Client) PostNodesNodeIDWithBody(ctx context.Context, nodeID NodeID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostNodesNodeIDWithBody Change node status

Change status of a node.

Takes any type of body and a specified content type.

Corresponds with POST /nodes/{nodeID} (the `PostNodesNodeID` operationId).

func (*Client) PostSandboxes

func (c *Client) PostSandboxes(ctx context.Context, body PostSandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxes Create sandbox

Create a sandbox from the template. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.

Takes a body of the `application/json` content type.

Corresponds with POST /sandboxes (the `PostSandboxes` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) PostSandboxesSandboxIDConnect

func (c *Client) PostSandboxesSandboxIDConnect(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxesSandboxIDConnect Connect sandbox

Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.

Takes a body of the `application/json` content type.

Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) PostSandboxesSandboxIDConnectWithBody

func (c *Client) PostSandboxesSandboxIDConnectWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxesSandboxIDConnectWithBody Connect sandbox

Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.

Takes any type of body and a specified content type.

Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) PostSandboxesSandboxIDFork

func (c *Client) PostSandboxesSandboxIDFork(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDForkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxesSandboxIDFork Fork sandbox

Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.

Takes a body of the `application/json` content type.

Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).

func (*Client) PostSandboxesSandboxIDForkWithBody

func (c *Client) PostSandboxesSandboxIDForkWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxesSandboxIDForkWithBody Fork sandbox

Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.

Takes any type of body and a specified content type.

Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).

func (*Client) PostSandboxesSandboxIDPause

func (c *Client) PostSandboxesSandboxIDPause(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDPauseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxesSandboxIDPause Pause sandbox

Pause the sandbox. Answers 503 and leaves the sandbox running when it cannot be paused right now: its node is busy, it is being snapshotted, or `requireHealthyGuest` was set and the sandbox guest agent is not responding; retry later.

Takes a body of the `application/json` content type.

Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).

func (*Client) PostSandboxesSandboxIDPauseWithBody

func (c *Client) PostSandboxesSandboxIDPauseWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxesSandboxIDPauseWithBody Pause sandbox

Pause the sandbox. Answers 503 and leaves the sandbox running when it cannot be paused right now: its node is busy, it is being snapshotted, or `requireHealthyGuest` was set and the sandbox guest agent is not responding; retry later.

Takes any type of body and a specified content type.

Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).

func (*Client) PostSandboxesSandboxIDRefreshes

func (c *Client) PostSandboxesSandboxIDRefreshes(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDRefreshesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxesSandboxIDRefreshes Refresh sandbox

Refresh the sandbox extending its time to live.

Takes a body of the `application/json` content type.

Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).

func (*Client) PostSandboxesSandboxIDRefreshesWithBody

func (c *Client) PostSandboxesSandboxIDRefreshesWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxesSandboxIDRefreshesWithBody Refresh sandbox

Refresh the sandbox extending its time to live.

Takes any type of body and a specified content type.

Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).

func (*Client) PostSandboxesSandboxIDResume

func (c *Client) PostSandboxesSandboxIDResume(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDResumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxesSandboxIDResume Resume sandbox

Resume the sandbox. Answers 409 when the sandbox is already running, or when its snapshot was taken while the sandbox guest agent was not responding and a plain resume would restore that memory (error_code sandbox_snapshot_guest_agent_unresponsive); resume such a sandbox without memory (`memory: false`).

Takes a body of the `application/json` content type.

Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) PostSandboxesSandboxIDResumeWithBody

func (c *Client) PostSandboxesSandboxIDResumeWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxesSandboxIDResumeWithBody Resume sandbox

Resume the sandbox. Answers 409 when the sandbox is already running, or when its snapshot was taken while the sandbox guest agent was not responding and a plain resume would restore that memory (error_code sandbox_snapshot_guest_agent_unresponsive); resume such a sandbox without memory (`memory: false`).

Takes any type of body and a specified content type.

Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) PostSandboxesSandboxIDSnapshots

func (c *Client) PostSandboxesSandboxIDSnapshots(ctx context.Context, sandboxID SandboxID, params *PostSandboxesSandboxIDSnapshotsParams, body PostSandboxesSandboxIDSnapshotsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxesSandboxIDSnapshots Create snapshot

Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.

Takes a body of the `application/json` content type.

Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).

func (*Client) PostSandboxesSandboxIDSnapshotsWithBody

func (c *Client) PostSandboxesSandboxIDSnapshotsWithBody(ctx context.Context, sandboxID SandboxID, params *PostSandboxesSandboxIDSnapshotsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxesSandboxIDSnapshotsWithBody Create snapshot

Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.

Takes any type of body and a specified content type.

Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).

func (*Client) PostSandboxesSandboxIDTimeout

func (c *Client) PostSandboxesSandboxIDTimeout(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDTimeoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxesSandboxIDTimeout Set sandbox timeout

Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.

Takes a body of the `application/json` content type.

Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).

func (*Client) PostSandboxesSandboxIDTimeoutWithBody

func (c *Client) PostSandboxesSandboxIDTimeoutWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxesSandboxIDTimeoutWithBody Set sandbox timeout

Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.

Takes any type of body and a specified content type.

Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).

func (*Client) PostSandboxesWithBody

func (c *Client) PostSandboxesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSandboxesWithBody Create sandbox

Create a sandbox from the template. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.

Takes any type of body and a specified content type.

Corresponds with POST /sandboxes (the `PostSandboxes` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) PostSecrets

func (c *Client) PostSecrets(ctx context.Context, params *PostSecretsParams, body PostSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSecrets Create a secret

Create a secret by storing a runtime marker as its first version. The response carries metadata only. The value is not part of the Idempotency-Key comparison: reusing a key with a different value replays the first result.

Takes a body of the `application/json` content type.

Corresponds with POST /secrets (the `PostSecrets` operationId).

func (*Client) PostSecretsSecretID

func (c *Client) PostSecretsSecretID(ctx context.Context, secretID SecretID, body PostSecretsSecretIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSecretsSecretID Update a secret

Replace the secret's stored marker by appending a new version. The response carries metadata only.

Takes a body of the `application/json` content type.

Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).

func (*Client) PostSecretsSecretIDWithBody

func (c *Client) PostSecretsSecretIDWithBody(ctx context.Context, secretID SecretID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSecretsSecretIDWithBody Update a secret

Replace the secret's stored marker by appending a new version. The response carries metadata only.

Takes any type of body and a specified content type.

Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).

func (*Client) PostSecretsWithBody

func (c *Client) PostSecretsWithBody(ctx context.Context, params *PostSecretsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostSecretsWithBody Create a secret

Create a secret by storing a runtime marker as its first version. The response carries metadata only. The value is not part of the Idempotency-Key comparison: reusing a key with a different value replays the first result.

Takes any type of body and a specified content type.

Corresponds with POST /secrets (the `PostSecrets` operationId).

func (*Client) PostTemplatesTags

func (c *Client) PostTemplatesTags(ctx context.Context, params *PostTemplatesTagsParams, body PostTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostTemplatesTags Assign template tags

Assign tag(s) to a template build.

Takes a body of the `application/json` content type.

Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).

func (*Client) PostTemplatesTagsWithBody

func (c *Client) PostTemplatesTagsWithBody(ctx context.Context, params *PostTemplatesTagsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostTemplatesTagsWithBody Assign template tags

Assign tag(s) to a template build.

Takes any type of body and a specified content type.

Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).

func (*Client) PostUnstableAdminSandboxesSandboxIDBuildsRestore

func (c *Client) PostUnstableAdminSandboxesSandboxIDBuildsRestore(ctx context.Context, sandboxID SandboxID, body PostUnstableAdminSandboxesSandboxIDBuildsRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostUnstableAdminSandboxesSandboxIDBuildsRestore Make a build the current build of a sandbox's snapshot

Assigns a ready build of the sandbox's snapshot template to the template again under the default tag, so the sandbox resumes from that build. The snapshot takes the restored build's kind, filesystem-only or memory. Answers 404 when the sandbox has no snapshot, its snapshot template is deleted, or the build is not assigned to that template under the default tag, and 409 when the build is not ready or is already the current build.

Takes a body of the `application/json` content type.

Corresponds with POST /unstable/admin/sandboxes/{sandboxID}/builds/restore (the `PostUnstableAdminSandboxesSandboxIDBuildsRestore` operationId).

func (*Client) PostUnstableAdminSandboxesSandboxIDBuildsRestoreWithBody

func (c *Client) PostUnstableAdminSandboxesSandboxIDBuildsRestoreWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostUnstableAdminSandboxesSandboxIDBuildsRestoreWithBody Make a build the current build of a sandbox's snapshot

Assigns a ready build of the sandbox's snapshot template to the template again under the default tag, so the sandbox resumes from that build. The snapshot takes the restored build's kind, filesystem-only or memory. Answers 404 when the sandbox has no snapshot, its snapshot template is deleted, or the build is not assigned to that template under the default tag, and 409 when the build is not ready or is already the current build.

Takes any type of body and a specified content type.

Corresponds with POST /unstable/admin/sandboxes/{sandboxID}/builds/restore (the `PostUnstableAdminSandboxesSandboxIDBuildsRestore` operationId).

func (*Client) PostUnstableAdminTeamsQuery

func (c *Client) PostUnstableAdminTeamsQuery(ctx context.Context, body PostUnstableAdminTeamsQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostUnstableAdminTeamsQuery List teams as admin

Lists teams matching the filters in the request body, with each team's member count, and its running sandbox count when sorted by running sandboxes. A read despite the POST: the body carries a project ID list too long for a query string.

Takes a body of the `application/json` content type.

Corresponds with POST /unstable/admin/teams/query (the `PostUnstableAdminTeamsQuery` operationId).

func (*Client) PostUnstableAdminTeamsQueryWithBody

func (c *Client) PostUnstableAdminTeamsQueryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostUnstableAdminTeamsQueryWithBody List teams as admin

Lists teams matching the filters in the request body, with each team's member count, and its running sandbox count when sorted by running sandboxes. A read despite the POST: the body carries a project ID list too long for a query string.

Takes any type of body and a specified content type.

Corresponds with POST /unstable/admin/teams/query (the `PostUnstableAdminTeamsQuery` operationId).

func (*Client) PostUnstableAdminTemplatesAliases

func (c *Client) PostUnstableAdminTemplatesAliases(ctx context.Context, body PostUnstableAdminTemplatesAliasesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostUnstableAdminTemplatesAliases Add a template alias without a namespace as admin

Adds an alias without a namespace to a template, so the template resolves by that name for every team. The alias follows the rules of template names (lowercase letters, digits, `-` and `_`) and cannot equal a template ID. Returns 404 when the template does not exist and 409 when the alias is taken.

Takes a body of the `application/json` content type.

Corresponds with POST /unstable/admin/templates/aliases (the `PostUnstableAdminTemplatesAliases` operationId).

func (*Client) PostUnstableAdminTemplatesAliasesWithBody

func (c *Client) PostUnstableAdminTemplatesAliasesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostUnstableAdminTemplatesAliasesWithBody Add a template alias without a namespace as admin

Adds an alias without a namespace to a template, so the template resolves by that name for every team. The alias follows the rules of template names (lowercase letters, digits, `-` and `_`) and cannot equal a template ID. Returns 404 when the template does not exist and 409 when the alias is taken.

Takes any type of body and a specified content type.

Corresponds with POST /unstable/admin/templates/aliases (the `PostUnstableAdminTemplatesAliases` operationId).

func (*Client) PostUnstableAdminTemplatesDefaults

func (c *Client) PostUnstableAdminTemplatesDefaults(ctx context.Context, body PostUnstableAdminTemplatesDefaultsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostUnstableAdminTemplatesDefaults Add a default template as admin

Makes a template one of the platform's default templates. Returns 404 when the template does not exist and 409 when it is already a default template.

Takes a body of the `application/json` content type.

Corresponds with POST /unstable/admin/templates/defaults (the `PostUnstableAdminTemplatesDefaults` operationId).

func (*Client) PostUnstableAdminTemplatesDefaultsWithBody

func (c *Client) PostUnstableAdminTemplatesDefaultsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostUnstableAdminTemplatesDefaultsWithBody Add a default template as admin

Makes a template one of the platform's default templates. Returns 404 when the template does not exist and 409 when it is already a default template.

Takes any type of body and a specified content type.

Corresponds with POST /unstable/admin/templates/defaults (the `PostUnstableAdminTemplatesDefaults` operationId).

func (*Client) PostV2Sandboxes

func (c *Client) PostV2Sandboxes(ctx context.Context, params *PostV2SandboxesParams, body PostV2SandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV2Sandboxes Create sandbox (v2)

Create a sandbox from the template. All system communication with the sandbox is secured.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).

func (*Client) PostV2SandboxesSandboxIDConnect

func (c *Client) PostV2SandboxesSandboxIDConnect(ctx context.Context, sandboxID SandboxID, body PostV2SandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV2SandboxesSandboxIDConnect Connect sandbox (v2)

Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).

func (*Client) PostV2SandboxesSandboxIDConnectWithBody

func (c *Client) PostV2SandboxesSandboxIDConnectWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV2SandboxesSandboxIDConnectWithBody Connect sandbox (v2)

Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.

Takes any type of body and a specified content type.

Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).

func (*Client) PostV2SandboxesWithBody

func (c *Client) PostV2SandboxesWithBody(ctx context.Context, params *PostV2SandboxesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV2SandboxesWithBody Create sandbox (v2)

Create a sandbox from the template. All system communication with the sandbox is secured.

Takes any type of body and a specified content type.

Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).

func (*Client) PostV2TemplatesTemplateIDBuildsBuildID

func (c *Client) PostV2TemplatesTemplateIDBuildsBuildID(ctx context.Context, templateID TemplateID, buildID BuildID, params *PostV2TemplatesTemplateIDBuildsBuildIDParams, body PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV2TemplatesTemplateIDBuildsBuildID Start template build (v2)

Start the build. With an Idempotency-Key, replays continue to work after the build has left the waiting state.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).

func (*Client) PostV2TemplatesTemplateIDBuildsBuildIDWithBody

func (c *Client) PostV2TemplatesTemplateIDBuildsBuildIDWithBody(ctx context.Context, templateID TemplateID, buildID BuildID, params *PostV2TemplatesTemplateIDBuildsBuildIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV2TemplatesTemplateIDBuildsBuildIDWithBody Start template build (v2)

Start the build. With an Idempotency-Key, replays continue to work after the build has left the waiting state.

Takes any type of body and a specified content type.

Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).

func (*Client) PostV3Templates

func (c *Client) PostV3Templates(ctx context.Context, params *PostV3TemplatesParams, body PostV3TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV3Templates Create template (v3)

Create a new template.

Takes a body of the `application/json` content type.

Corresponds with POST /v3/templates (the `PostV3Templates` operationId).

func (*Client) PostV3TemplatesWithBody

func (c *Client) PostV3TemplatesWithBody(ctx context.Context, params *PostV3TemplatesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostV3TemplatesWithBody Create template (v3)

Create a new template.

Takes any type of body and a specified content type.

Corresponds with POST /v3/templates (the `PostV3Templates` operationId).

func (*Client) PostVolumes

func (c *Client) PostVolumes(ctx context.Context, body PostVolumesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostVolumes Create team volume

Create a new team volume.

Takes a body of the `application/json` content type.

Corresponds with POST /volumes (the `PostVolumes` operationId).

func (*Client) PostVolumesWithBody

func (c *Client) PostVolumesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostVolumesWithBody Create team volume

Create a new team volume.

Takes any type of body and a specified content type.

Corresponds with POST /volumes (the `PostVolumes` operationId).

func (*Client) PutClustersClusterIDRigsRigIDCapacity

func (c *Client) PutClustersClusterIDRigsRigIDCapacity(ctx context.Context, clusterID ClusterID, rigID RigID, body PutClustersClusterIDRigsRigIDCapacityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PutClustersClusterIDRigsRigIDCapacity Set the capacity of a rig

Set the desired instance count on the rig's scaling group. The value is passed to the cloud provider unchanged; violations of the group's bounds or conflicting concurrent operations surface as errors.

Takes a body of the `application/json` content type.

Corresponds with PUT /clusters/{clusterID}/rigs/{rigID}/capacity (the `PutClustersClusterIDRigsRigIDCapacity` operationId).

func (*Client) PutClustersClusterIDRigsRigIDCapacityWithBody

func (c *Client) PutClustersClusterIDRigsRigIDCapacityWithBody(ctx context.Context, clusterID ClusterID, rigID RigID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PutClustersClusterIDRigsRigIDCapacityWithBody Set the capacity of a rig

Set the desired instance count on the rig's scaling group. The value is passed to the cloud provider unchanged; violations of the group's bounds or conflicting concurrent operations surface as errors.

Takes any type of body and a specified content type.

Corresponds with PUT /clusters/{clusterID}/rigs/{rigID}/capacity (the `PutClustersClusterIDRigsRigIDCapacity` operationId).

func (*Client) PutSandboxesSandboxIDNetwork

func (c *Client) PutSandboxesSandboxIDNetwork(ctx context.Context, sandboxID SandboxID, body PutSandboxesSandboxIDNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PutSandboxesSandboxIDNetwork Update sandbox network

Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.

Takes a body of the `application/json` content type.

Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).

func (*Client) PutSandboxesSandboxIDNetworkWithBody

func (c *Client) PutSandboxesSandboxIDNetworkWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PutSandboxesSandboxIDNetworkWithBody Update sandbox network

Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.

Takes any type of body and a specified content type.

Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).

func (*Client) PutUnstableAdminTeamsTeamIDSchedulingLabels

func (c *Client) PutUnstableAdminTeamsTeamIDSchedulingLabels(ctx context.Context, teamID openapi_types.UUID, body PutUnstableAdminTeamsTeamIDSchedulingLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PutUnstableAdminTeamsTeamIDSchedulingLabels Replace a team's sandbox scheduling labels

Replaces the labels that place the team's new sandboxes on matching nodes. Labels are deduplicated, keeping the first occurrence of each.

Takes a body of the `application/json` content type.

Corresponds with PUT /unstable/admin/teams/{teamID}/scheduling-labels (the `PutUnstableAdminTeamsTeamIDSchedulingLabels` operationId).

func (*Client) PutUnstableAdminTeamsTeamIDSchedulingLabelsWithBody

func (c *Client) PutUnstableAdminTeamsTeamIDSchedulingLabelsWithBody(ctx context.Context, teamID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PutUnstableAdminTeamsTeamIDSchedulingLabelsWithBody Replace a team's sandbox scheduling labels

Replaces the labels that place the team's new sandboxes on matching nodes. Labels are deduplicated, keeping the first occurrence of each.

Takes any type of body and a specified content type.

Corresponds with PUT /unstable/admin/teams/{teamID}/scheduling-labels (the `PutUnstableAdminTeamsTeamIDSchedulingLabels` operationId).

type ClientInterface

type ClientInterface interface {

	// GetAdminSandboxesRunningCounts Count running sandboxes by team
	//
	// Returns a shared snapshot normally refreshed after five seconds. A
	// sandbox transitioning out of running can remain counted until removal.
	//
	// Corresponds with GET /admin/sandboxes/running-counts (the `GetAdminSandboxesRunningCounts` operationId).
	GetAdminSandboxesRunningCounts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAdminSandboxesSandboxID Get a sandbox's team and state
	//
	// Reads the team and state of a sandbox from its latest lifecycle event.
	// The state lags the sandbox while that event is in flight. A sandbox
	// whose events have expired is not found.
	//
	// Corresponds with GET /admin/sandboxes/{sandboxID} (the `GetAdminSandboxesSandboxID` operationId).
	GetAdminSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAdminTeamsTeamIDApiKeys List team API keys as admin
	//
	// Lists a team's API keys for internal service workflows. Unlike `GET /api-keys`, it does not resolve the team, so it also answers for a banned team.
	//
	// Corresponds with GET /admin/teams/{teamID}/api-keys (the `GetAdminTeamsTeamIDApiKeys` operationId).
	GetAdminTeamsTeamIDApiKeys(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAdminTeamsTeamIDApiKeysWithBody Create team API key as admin
	//
	// Creates a team API key for internal service workflows.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /admin/teams/{teamID}/api-keys (the `PostAdminTeamsTeamIDApiKeys` operationId).
	PostAdminTeamsTeamIDApiKeysWithBody(ctx context.Context, teamID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAdminTeamsTeamIDApiKeys Create team API key as admin
	//
	// Creates a team API key for internal service workflows.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /admin/teams/{teamID}/api-keys (the `PostAdminTeamsTeamIDApiKeys` operationId).
	PostAdminTeamsTeamIDApiKeys(ctx context.Context, teamID openapi_types.UUID, body PostAdminTeamsTeamIDApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAdminTeamsTeamIDApiKeysApiKeyID Delete team API key as admin
	//
	// Deletes a team API key for internal service workflows.
	//
	// Corresponds with DELETE /admin/teams/{teamID}/api-keys/{apiKeyID} (the `DeleteAdminTeamsTeamIDApiKeysApiKeyID` operationId).
	DeleteAdminTeamsTeamIDApiKeysApiKeyID(ctx context.Context, teamID openapi_types.UUID, apiKeyID ApiKeyID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAdminTeamsTeamIDBuildsCancel Cancel all builds for a team
	//
	// Cancels all in-progress and pending builds for the specified team.
	//
	// Corresponds with POST /admin/teams/{teamID}/builds/cancel (the `PostAdminTeamsTeamIDBuildsCancel` operationId).
	PostAdminTeamsTeamIDBuildsCancel(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostAdminTeamsTeamIDSandboxesKill Kill all sandboxes for a team
	//
	// Kills all sandboxes for the specified team.
	//
	// Corresponds with POST /admin/teams/{teamID}/sandboxes/kill (the `PostAdminTeamsTeamIDSandboxesKill` operationId).
	PostAdminTeamsTeamIDSandboxesKill(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiKeys List team API keys
	//
	// List all team API keys.
	//
	// Corresponds with GET /api-keys (the `GetApiKeys` operationId).
	GetApiKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostApiKeysWithBody Create team API key
	//
	// Create a new team API key.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api-keys (the `PostApiKeys` operationId).
	PostApiKeysWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostApiKeys Create team API key
	//
	// Create a new team API key.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api-keys (the `PostApiKeys` operationId).
	PostApiKeys(ctx context.Context, body PostApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteApiKeysApiKeyID Delete team API key
	//
	// Delete a team API key.
	//
	// Corresponds with DELETE /api-keys/{apiKeyID} (the `DeleteApiKeysApiKeyID` operationId).
	DeleteApiKeysApiKeyID(ctx context.Context, apiKeyID ApiKeyID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchApiKeysApiKeyIDWithBody Update team API key
	//
	// Update a team API key.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /api-keys/{apiKeyID} (the `PatchApiKeysApiKeyID` operationId).
	PatchApiKeysApiKeyIDWithBody(ctx context.Context, apiKeyID ApiKeyID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchApiKeysApiKeyID Update team API key
	//
	// Update a team API key.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /api-keys/{apiKeyID} (the `PatchApiKeysApiKeyID` operationId).
	PatchApiKeysApiKeyID(ctx context.Context, apiKeyID ApiKeyID, body PatchApiKeysApiKeyIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetClustersClusterIDRigs List rigs of a cluster
	//
	// List the orchestrator node pools ("rigs") of a cluster with a snapshot of their scaling groups. Forwarded to the cluster's edge service; a cluster with no rig management configured returns an empty list, and the local cluster answers 501.
	//
	// Corresponds with GET /clusters/{clusterID}/rigs (the `GetClustersClusterIDRigs` operationId).
	GetClustersClusterIDRigs(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteClustersClusterIDRigsInstancesInstanceID Terminate an instance of a rig
	//
	// Terminate an instance in whichever rig's scaling group it belongs to. The caller chooses whether the rig shrinks or the instance is replaced.
	//
	// Corresponds with DELETE /clusters/{clusterID}/rigs/instances/{instanceID} (the `DeleteClustersClusterIDRigsInstancesInstanceID` operationId).
	DeleteClustersClusterIDRigsInstancesInstanceID(ctx context.Context, clusterID ClusterID, instanceID string, params *DeleteClustersClusterIDRigsInstancesInstanceIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutClustersClusterIDRigsRigIDCapacityWithBody Set the capacity of a rig
	//
	// Set the desired instance count on the rig's scaling group. The value is passed to the cloud provider unchanged; violations of the group's bounds or conflicting concurrent operations surface as errors.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /clusters/{clusterID}/rigs/{rigID}/capacity (the `PutClustersClusterIDRigsRigIDCapacity` operationId).
	PutClustersClusterIDRigsRigIDCapacityWithBody(ctx context.Context, clusterID ClusterID, rigID RigID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutClustersClusterIDRigsRigIDCapacity Set the capacity of a rig
	//
	// Set the desired instance count on the rig's scaling group. The value is passed to the cloud provider unchanged; violations of the group's bounds or conflicting concurrent operations surface as errors.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /clusters/{clusterID}/rigs/{rigID}/capacity (the `PutClustersClusterIDRigsRigIDCapacity` operationId).
	PutClustersClusterIDRigsRigIDCapacity(ctx context.Context, clusterID ClusterID, rigID RigID, body PutClustersClusterIDRigsRigIDCapacityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetClustersClusterIDRigsRigIDErrors List recent scaling errors of a rig
	//
	// List recent scaling errors on the rig's scaling group (e.g. failed instance creations due to resource exhaustion), newest first.
	//
	// Corresponds with GET /clusters/{clusterID}/rigs/{rigID}/errors (the `GetClustersClusterIDRigsRigIDErrors` operationId).
	GetClustersClusterIDRigsRigIDErrors(ctx context.Context, clusterID ClusterID, rigID RigID, params *GetClustersClusterIDRigsRigIDErrorsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetClustersClusterIDRigsRigIDInstances List the instances attached to a rig
	//
	// List the instances attached to the rig's scaling group with their creation time and transition state, sorted by instance ID.
	//
	// Corresponds with GET /clusters/{clusterID}/rigs/{rigID}/instances (the `GetClustersClusterIDRigsRigIDInstances` operationId).
	GetClustersClusterIDRigsRigIDInstances(ctx context.Context, clusterID ClusterID, rigID RigID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDefaultTemplates List default templates
	//
	// Lists the platform's default templates, ordered by template ID. Deleted templates are left out. Templates that are not public are listed only to their own team and to admin callers. The build, resources and envd version are those of the newest ready build tagged `default`, the one a sandbox started from the template runs, and are zero or empty when there is none; `buildStatus` describes the newest build tagged `default` in any state. Usage fields (`spawnCount`, `buildCount`, `lastSpawnedAt`, `createdBy`) are reported only for the caller's own templates and to admin callers.
	//
	// Corresponds with GET /default-templates (the `GetDefaultTemplates` operationId).
	GetDefaultTemplates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEventsSandboxes performs a GET /events/sandboxes (the `GetEventsSandboxes` operationId) request.
	//
	// Get all sandbox events for the team associated with the API key.
	GetEventsSandboxes(ctx context.Context, params *GetEventsSandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEventsSandboxesSandboxID performs a GET /events/sandboxes/{sandboxID} (the `GetEventsSandboxesSandboxID` operationId) request.
	//
	// Get sandbox events.
	GetEventsSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, params *GetEventsSandboxesSandboxIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEventsWebhooks performs a GET /events/webhooks (the `GetEventsWebhooks` operationId) request.
	//
	// List registered webhooks.
	GetEventsWebhooks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostEventsWebhooksWithBody performs a POST /events/webhooks (the `PostEventsWebhooks` operationId) request,
	// with any type of body and a specified content type.
	//
	// Register events webhook.
	PostEventsWebhooksWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostEventsWebhooks performs a POST /events/webhooks (the `PostEventsWebhooks` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Register events webhook.
	PostEventsWebhooks(ctx context.Context, body PostEventsWebhooksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteEventsWebhooksWebhookID performs a DELETE /events/webhooks/{webhookID} (the `DeleteEventsWebhooksWebhookID` operationId) request.
	//
	// Delete a registered webhook.
	DeleteEventsWebhooksWebhookID(ctx context.Context, webhookID WebhookID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEventsWebhooksWebhookID performs a GET /events/webhooks/{webhookID} (the `GetEventsWebhooksWebhookID` operationId) request.
	//
	// Get a registered webhook.
	GetEventsWebhooksWebhookID(ctx context.Context, webhookID WebhookID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchEventsWebhooksWebhookIDWithBody performs a PATCH /events/webhooks/{webhookID} (the `PatchEventsWebhooksWebhookID` operationId) request,
	// with any type of body and a specified content type.
	//
	// Update a registered webhook configuration.
	PatchEventsWebhooksWebhookIDWithBody(ctx context.Context, webhookID WebhookID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchEventsWebhooksWebhookID performs a PATCH /events/webhooks/{webhookID} (the `PatchEventsWebhooksWebhookID` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Update a registered webhook configuration.
	PatchEventsWebhooksWebhookID(ctx context.Context, webhookID WebhookID, body PatchEventsWebhooksWebhookIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEventsWebhooksWebhookIDDeliveries performs a GET /events/webhooks/{webhookID}/deliveries (the `GetEventsWebhooksWebhookIDDeliveries` operationId) request.
	//
	// List webhook delivery attempts.
	GetEventsWebhooksWebhookIDDeliveries(ctx context.Context, webhookID WebhookID, params *GetEventsWebhooksWebhookIDDeliveriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEventsWebhooksWebhookIDStats performs a GET /events/webhooks/{webhookID}/stats (the `GetEventsWebhooksWebhookIDStats` operationId) request.
	//
	// Get webhook delivery aggregate stats.
	GetEventsWebhooksWebhookIDStats(ctx context.Context, webhookID WebhookID, params *GetEventsWebhooksWebhookIDStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetHealth Health check
	//
	// Corresponds with GET /health (the `GetHealth` operationId).
	GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetNodes List nodes
	//
	// List all nodes.
	//
	// Corresponds with GET /nodes (the `GetNodes` operationId).
	GetNodes(ctx context.Context, params *GetNodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetNodesNodeID Node info
	//
	// Get node info.
	//
	// Corresponds with GET /nodes/{nodeID} (the `GetNodesNodeID` operationId).
	GetNodesNodeID(ctx context.Context, nodeID NodeID, params *GetNodesNodeIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostNodesNodeIDWithBody Change node status
	//
	// Change status of a node.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /nodes/{nodeID} (the `PostNodesNodeID` operationId).
	PostNodesNodeIDWithBody(ctx context.Context, nodeID NodeID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostNodesNodeID Change node status
	//
	// Change status of a node.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /nodes/{nodeID} (the `PostNodesNodeID` operationId).
	PostNodesNodeID(ctx context.Context, nodeID NodeID, body PostNodesNodeIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetNodesNodeIDSandboxes Node sandboxes
	//
	// List the sandboxes the API confirms are running on the node.
	//
	// Corresponds with GET /nodes/{nodeID}/sandboxes (the `GetNodesNodeIDSandboxes` operationId).
	GetNodesNodeIDSandboxes(ctx context.Context, nodeID NodeID, params *GetNodesNodeIDSandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxes List running sandboxes
	//
	// List all running sandboxes. Returns 400 when more than 5000 running sandboxes match; use GET /v2/sandboxes to page through them.
	//
	// Corresponds with GET /sandboxes (the `GetSandboxes` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	GetSandboxes(ctx context.Context, params *GetSandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesWithBody Create sandbox
	//
	// Create a sandbox from the template. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /sandboxes (the `PostSandboxes` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxes Create sandbox
	//
	// Create a sandbox from the template. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /sandboxes (the `PostSandboxes` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxes(ctx context.Context, body PostSandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxesMetrics List sandbox metrics
	//
	// List metrics for given sandboxes.
	//
	// Corresponds with GET /sandboxes/metrics (the `GetSandboxesMetrics` operationId).
	GetSandboxesMetrics(ctx context.Context, params *GetSandboxesMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSandboxesSandboxID Kill sandbox
	//
	// Kill a sandbox.
	//
	// Corresponds with DELETE /sandboxes/{sandboxID} (the `DeleteSandboxesSandboxID` operationId).
	DeleteSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxesSandboxID Sandbox
	//
	// Get a sandbox by id.
	//
	// Corresponds with GET /sandboxes/{sandboxID} (the `GetSandboxesSandboxID` operationId).
	GetSandboxesSandboxID(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDConnectWithBody Connect sandbox
	//
	// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxesSandboxIDConnectWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDConnect Connect sandbox
	//
	// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxesSandboxIDConnect(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDForkWithBody Fork sandbox
	//
	// Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).
	PostSandboxesSandboxIDForkWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDFork Fork sandbox
	//
	// Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).
	PostSandboxesSandboxIDFork(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDForkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxesSandboxIDLogs Sandbox logs
	//
	// Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead.
	//
	// Corresponds with GET /sandboxes/{sandboxID}/logs (the `GetSandboxesSandboxIDLogs` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	GetSandboxesSandboxIDLogs(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxesSandboxIDMetrics Sandbox metrics
	//
	// Get sandbox metrics.
	//
	// Corresponds with GET /sandboxes/{sandboxID}/metrics (the `GetSandboxesSandboxIDMetrics` operationId).
	GetSandboxesSandboxIDMetrics(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutSandboxesSandboxIDNetworkWithBody Update sandbox network
	//
	// Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).
	PutSandboxesSandboxIDNetworkWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutSandboxesSandboxIDNetwork Update sandbox network
	//
	// Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).
	PutSandboxesSandboxIDNetwork(ctx context.Context, sandboxID SandboxID, body PutSandboxesSandboxIDNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDPauseWithBody Pause sandbox
	//
	// Pause the sandbox. Answers 503 and leaves the sandbox running when it cannot be paused right now: its node is busy, it is being snapshotted, or `requireHealthyGuest` was set and the sandbox guest agent is not responding; retry later.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).
	PostSandboxesSandboxIDPauseWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDPause Pause sandbox
	//
	// Pause the sandbox. Answers 503 and leaves the sandbox running when it cannot be paused right now: its node is busy, it is being snapshotted, or `requireHealthyGuest` was set and the sandbox guest agent is not responding; retry later.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).
	PostSandboxesSandboxIDPause(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDPauseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDRefreshesWithBody Refresh sandbox
	//
	// Refresh the sandbox extending its time to live.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).
	PostSandboxesSandboxIDRefreshesWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDRefreshes Refresh sandbox
	//
	// Refresh the sandbox extending its time to live.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).
	PostSandboxesSandboxIDRefreshes(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDRefreshesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDResumeWithBody Resume sandbox
	//
	// Resume the sandbox. Answers 409 when the sandbox is already running, or when its snapshot was taken while the sandbox guest agent was not responding and a plain resume would restore that memory (error_code sandbox_snapshot_guest_agent_unresponsive); resume such a sandbox without memory (`memory: false`).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxesSandboxIDResumeWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDResume Resume sandbox
	//
	// Resume the sandbox. Answers 409 when the sandbox is already running, or when its snapshot was taken while the sandbox guest agent was not responding and a plain resume would restore that memory (error_code sandbox_snapshot_guest_agent_unresponsive); resume such a sandbox without memory (`memory: false`).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxesSandboxIDResume(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDResumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDSnapshotsWithBody Create snapshot
	//
	// Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).
	PostSandboxesSandboxIDSnapshotsWithBody(ctx context.Context, sandboxID SandboxID, params *PostSandboxesSandboxIDSnapshotsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDSnapshots Create snapshot
	//
	// Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).
	PostSandboxesSandboxIDSnapshots(ctx context.Context, sandboxID SandboxID, params *PostSandboxesSandboxIDSnapshotsParams, body PostSandboxesSandboxIDSnapshotsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDTimeoutWithBody Set sandbox timeout
	//
	// Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).
	PostSandboxesSandboxIDTimeoutWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSandboxesSandboxIDTimeout Set sandbox timeout
	//
	// Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).
	PostSandboxesSandboxIDTimeout(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDTimeoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSecrets List project secrets
	//
	// List the project's secrets. No response carries a secret value.
	//
	// Corresponds with GET /secrets (the `GetSecrets` operationId).
	GetSecrets(ctx context.Context, params *GetSecretsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSecretsWithBody Create a secret
	//
	// Create a secret by storing a runtime marker as its first version. The response carries metadata only. The value is not part of the Idempotency-Key comparison: reusing a key with a different value replays the first result.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /secrets (the `PostSecrets` operationId).
	PostSecretsWithBody(ctx context.Context, params *PostSecretsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSecrets Create a secret
	//
	// Create a secret by storing a runtime marker as its first version. The response carries metadata only. The value is not part of the Idempotency-Key comparison: reusing a key with a different value replays the first result.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /secrets (the `PostSecrets` operationId).
	PostSecrets(ctx context.Context, params *PostSecretsParams, body PostSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSecretsSecretID Delete a secret
	//
	// Revoke the secret and schedule its versions for cleanup.
	//
	// Corresponds with DELETE /secrets/{secretID} (the `DeleteSecretsSecretID` operationId).
	DeleteSecretsSecretID(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSecretsSecretID Get a secret
	//
	// Get one secret's metadata, selected by identifier or name.
	//
	// Corresponds with GET /secrets/{secretID} (the `GetSecretsSecretID` operationId).
	GetSecretsSecretID(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSecretsSecretIDWithBody Update a secret
	//
	// Replace the secret's stored marker by appending a new version. The response carries metadata only.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).
	PostSecretsSecretIDWithBody(ctx context.Context, secretID SecretID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostSecretsSecretID Update a secret
	//
	// Replace the secret's stored marker by appending a new version. The response carries metadata only.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).
	PostSecretsSecretID(ctx context.Context, secretID SecretID, body PostSecretsSecretIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSnapshots List snapshots
	//
	// List all snapshots for the team.
	//
	// Corresponds with GET /snapshots (the `GetSnapshots` operationId).
	GetSnapshots(ctx context.Context, params *GetSnapshotsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeamsTeamIDMetrics Team metrics
	//
	// Get metrics for the team.
	//
	// Corresponds with GET /teams/{teamID}/metrics (the `GetTeamsTeamIDMetrics` operationId).
	GetTeamsTeamIDMetrics(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeamsTeamIDMetricsMax Maximum team metrics
	//
	// Get the maximum metrics for the team in the given interval.
	//
	// Corresponds with GET /teams/{teamID}/metrics/max (the `GetTeamsTeamIDMetricsMax` operationId).
	GetTeamsTeamIDMetricsMax(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsMaxParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplates List templates
	//
	// List all templates. Returns 400 when the team has more than 5000 templates; use /v2/templates to page through them.
	//
	// Corresponds with GET /templates (the `GetTemplates` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	GetTemplates(ctx context.Context, params *GetTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesAliasesAlias Check template alias
	//
	// Check if template with given alias exists.
	//
	// Corresponds with GET /templates/aliases/{alias} (the `GetTemplatesAliasesAlias` operationId).
	GetTemplatesAliasesAlias(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTemplatesTagsWithBody Delete template tags
	//
	// Delete multiple tags from templates.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).
	DeleteTemplatesTagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTemplatesTags Delete template tags
	//
	// Delete multiple tags from templates.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).
	DeleteTemplatesTags(ctx context.Context, body DeleteTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTemplatesTagsWithBody Assign template tags
	//
	// Assign tag(s) to a template build.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).
	PostTemplatesTagsWithBody(ctx context.Context, params *PostTemplatesTagsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostTemplatesTags Assign template tags
	//
	// Assign tag(s) to a template build.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).
	PostTemplatesTags(ctx context.Context, params *PostTemplatesTagsParams, body PostTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTemplatesTemplateID Delete template
	//
	// Delete a template.
	//
	// Corresponds with DELETE /templates/{templateID} (the `DeleteTemplatesTemplateID` operationId).
	DeleteTemplatesTemplateID(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesTemplateID List template builds
	//
	// List all builds for a template.
	//
	// Corresponds with GET /templates/{templateID} (the `GetTemplatesTemplateID` operationId).
	GetTemplatesTemplateID(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchTemplatesTemplateIDWithBody Update template
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PatchTemplatesTemplateIDWithBody(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchTemplatesTemplateID Update template
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PatchTemplatesTemplateID(ctx context.Context, templateID TemplateID, body PatchTemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesTemplateIDBuilds List a template's builds
	//
	// List the builds of a template, newest first. The template is given by its ID or name. A template named `aliases` is given by its ID or by its name with the team prefix.
	//
	// Corresponds with GET /templates/{templateID}/builds (the `GetTemplatesTemplateIDBuilds` operationId).
	GetTemplatesTemplateIDBuilds(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDBuildsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesTemplateIDBuildsBuildIDLogs Template build logs
	//
	// Get template build logs.
	//
	// Corresponds with GET /templates/{templateID}/builds/{buildID}/logs (the `GetTemplatesTemplateIDBuildsBuildIDLogs` operationId).
	GetTemplatesTemplateIDBuildsBuildIDLogs(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesTemplateIDBuildsBuildIDStatus Template build status
	//
	// Get template build info.
	//
	// Corresponds with GET /templates/{templateID}/builds/{buildID}/status (the `GetTemplatesTemplateIDBuildsBuildIDStatus` operationId).
	GetTemplatesTemplateIDBuildsBuildIDStatus(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesTemplateIDFilesHash Template build file upload URL
	//
	// Get an upload link for a tar file containing build layer files.
	//
	// Corresponds with GET /templates/{templateID}/files/{hash} (the `GetTemplatesTemplateIDFilesHash` operationId).
	GetTemplatesTemplateIDFilesHash(ctx context.Context, templateID TemplateID, hash string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesTemplateIDTags List template tags
	//
	// List all tags for a template.
	//
	// Corresponds with GET /templates/{templateID}/tags (the `GetTemplatesTemplateIDTags` operationId).
	GetTemplatesTemplateIDTags(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesTemplateIDTagsCount Count template tags
	//
	// Returns the number of distinct tags of the template that have at least one ready build. Returns 404 when the template does not exist or belongs to another team.
	//
	// Corresponds with GET /templates/{templateID}/tags/count (the `GetTemplatesTemplateIDTagsCount` operationId).
	GetTemplatesTemplateIDTagsCount(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesTemplateIDTagsExists Check template tag
	//
	// Checks whether a tag of the template has at least one ready build. Returns 404 when the template does not exist or belongs to another team.
	//
	// Corresponds with GET /templates/{templateID}/tags/exists (the `GetTemplatesTemplateIDTagsExists` operationId).
	GetTemplatesTemplateIDTagsExists(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDTagsExistsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesTemplateIDTagsGroups List template tag groups
	//
	// Lists the template's tags that have at least one ready build, each with its most recent ready assignments, paginated over tags with a keyset cursor. Returns 404 when the template does not exist or belongs to another team.
	//
	// Corresponds with GET /templates/{templateID}/tags/groups (the `GetTemplatesTemplateIDTagsGroups` operationId).
	GetTemplatesTemplateIDTagsGroups(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDTagsGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTemplatesTemplateIDTagsTagAssignments List template tag assignments
	//
	// Lists the ready assignments of one tag of the template, newest first, with keyset cursor pagination. Returns 404 when the template does not exist or belongs to another team.
	//
	// Corresponds with GET /templates/{templateID}/tags/{tag}/assignments (the `GetTemplatesTemplateIDTagsTagAssignments` operationId).
	GetTemplatesTemplateIDTagsTagAssignments(ctx context.Context, templateID TemplateID, tag Tag, params *GetTemplatesTemplateIDTagsTagAssignmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AdminListClusterTeamCounts Count each cluster's teams as admin
	//
	// Returns the number of live teams assigned to each remote cluster. A cluster no live team is assigned to is absent. It reads only the teams, so it answers without a cluster service.
	//
	// Corresponds with GET /unstable/admin/clusters/team-counts (the `AdminListClusterTeamCounts` operationId).
	AdminListClusterTeamCounts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AdminListClusterTeams List a cluster's teams as admin
	//
	// Lists the teams assigned to the cluster.
	//
	// Corresponds with GET /unstable/admin/clusters/{clusterID}/teams (the `AdminListClusterTeams` operationId).
	AdminListClusterTeams(ctx context.Context, clusterID ClusterID, params *AdminListClusterTeamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUnstableAdminSandboxesSandboxIDBuilds List the builds of a sandbox's snapshot template
	//
	// Lists the build assignments of the template that holds the sandbox's
	// snapshot under one tag. Assignments without a creation time are left
	// out. A sandbox without a snapshot returns no items and a null
	// `snapshotTemplateID`; this route does not report whether the sandbox
	// exists.
	//
	// Corresponds with GET /unstable/admin/sandboxes/{sandboxID}/builds (the `GetUnstableAdminSandboxesSandboxIDBuilds` operationId).
	GetUnstableAdminSandboxesSandboxIDBuilds(ctx context.Context, sandboxID SandboxID, params *GetUnstableAdminSandboxesSandboxIDBuildsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUnstableAdminSandboxesSandboxIDBuildsRestoreWithBody Make a build the current build of a sandbox's snapshot
	//
	// Assigns a ready build of the sandbox's snapshot template to the template
	// again under the default tag, so the sandbox resumes from that build.
	// The snapshot takes the restored build's kind, filesystem-only or
	// memory.
	// Answers 404 when the sandbox has no snapshot, its snapshot template is
	// deleted, or the build is not assigned to that template under the
	// default tag, and 409 when the build is not ready or is already the
	// current build.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /unstable/admin/sandboxes/{sandboxID}/builds/restore (the `PostUnstableAdminSandboxesSandboxIDBuildsRestore` operationId).
	PostUnstableAdminSandboxesSandboxIDBuildsRestoreWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUnstableAdminSandboxesSandboxIDBuildsRestore Make a build the current build of a sandbox's snapshot
	//
	// Assigns a ready build of the sandbox's snapshot template to the template
	// again under the default tag, so the sandbox resumes from that build.
	// The snapshot takes the restored build's kind, filesystem-only or
	// memory.
	// Answers 404 when the sandbox has no snapshot, its snapshot template is
	// deleted, or the build is not assigned to that template under the
	// default tag, and 409 when the build is not ready or is already the
	// current build.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /unstable/admin/sandboxes/{sandboxID}/builds/restore (the `PostUnstableAdminSandboxesSandboxIDBuildsRestore` operationId).
	PostUnstableAdminSandboxesSandboxIDBuildsRestore(ctx context.Context, sandboxID SandboxID, body PostUnstableAdminSandboxesSandboxIDBuildsRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUnstableAdminSandboxesSandboxIDOverview Sandbox overview
	//
	// Reads a sandbox's team, snapshot template, most recent pause and newest
	// default-tag build from the database. The team comes from the
	// stopped-sandbox log, or from the snapshot when the sandbox has not
	// stopped. Returns 404 when neither knows the sandbox. A sandbox without
	// a snapshot returns null `snapshotTemplateId`, `lastPause` and
	// `latestBuild`.
	//
	// Corresponds with GET /unstable/admin/sandboxes/{sandboxID}/overview (the `GetUnstableAdminSandboxesSandboxIDOverview` operationId).
	GetUnstableAdminSandboxesSandboxIDOverview(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AdminBanTeamsWithBody Ban teams
	//
	// Bans up to 100 teams at once, as
	// `PUT /unstable/admin/teams/{teamID}/ban` does, except that every
	// team's ban is stored before any team's sandboxes are killed or builds
	// cancelled, and the kills and cancellations of all teams share one time
	// budget. One team's failure does not stop the others; the response sorts
	// every requested team into banned, not found or failed. The work
	// continues if the caller disconnects.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /unstable/admin/teams/bans (the `AdminBanTeams` operationId).
	AdminBanTeamsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AdminBanTeams Ban teams
	//
	// Bans up to 100 teams at once, as
	// `PUT /unstable/admin/teams/{teamID}/ban` does, except that every
	// team's ban is stored before any team's sandboxes are killed or builds
	// cancelled, and the kills and cancellations of all teams share one time
	// budget. One team's failure does not stop the others; the response sorts
	// every requested team into banned, not found or failed. The work
	// continues if the caller disconnects.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /unstable/admin/teams/bans (the `AdminBanTeams` operationId).
	AdminBanTeams(ctx context.Context, body AdminBanTeamsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUnstableAdminTeamsQueryWithBody List teams as admin
	//
	// Lists teams matching the filters in the request body, with each team's
	// member count, and its running sandbox count when sorted by running
	// sandboxes. A read despite the POST: the body carries a project ID list
	// too long for a query string.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /unstable/admin/teams/query (the `PostUnstableAdminTeamsQuery` operationId).
	PostUnstableAdminTeamsQueryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUnstableAdminTeamsQuery List teams as admin
	//
	// Lists teams matching the filters in the request body, with each team's
	// member count, and its running sandbox count when sorted by running
	// sandboxes. A read despite the POST: the body carries a project ID list
	// too long for a query string.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /unstable/admin/teams/query (the `PostUnstableAdminTeamsQuery` operationId).
	PostUnstableAdminTeamsQuery(ctx context.Context, body PostUnstableAdminTeamsQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUnstableAdminTeamsTeamID Team as admin
	//
	// Returns a team with its sandbox scheduling labels and cluster. It also answers for a banned or blocked team.
	//
	// Corresponds with GET /unstable/admin/teams/{teamID} (the `GetUnstableAdminTeamsTeamID` operationId).
	GetUnstableAdminTeamsTeamID(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AdminUnbanTeam Unban a team
	//
	// Clears the team's ban. Idempotent.
	//
	// Corresponds with DELETE /unstable/admin/teams/{teamID}/ban (the `AdminUnbanTeam` operationId).
	AdminUnbanTeam(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AdminBanTeam Ban a team
	//
	// Marks the team as banned so its API keys stop authenticating, then
	// kills its sandboxes and cancels its builds. The ban is stored first:
	// a failure to kill or cancel is reported in the result and does not
	// undo it. Killing and cancelling stop after a fixed time budget, and a
	// step cut short is reported as failed. Banning an already banned team
	// repeats the kill and cancel. The work continues if the caller
	// disconnects.
	//
	// Corresponds with PUT /unstable/admin/teams/{teamID}/ban (the `AdminBanTeam` operationId).
	AdminBanTeam(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutUnstableAdminTeamsTeamIDSchedulingLabelsWithBody Replace a team's sandbox scheduling labels
	//
	// Replaces the labels that place the team's new sandboxes on matching
	// nodes. Labels are deduplicated, keeping the first occurrence of each.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /unstable/admin/teams/{teamID}/scheduling-labels (the `PutUnstableAdminTeamsTeamIDSchedulingLabels` operationId).
	PutUnstableAdminTeamsTeamIDSchedulingLabelsWithBody(ctx context.Context, teamID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutUnstableAdminTeamsTeamIDSchedulingLabels Replace a team's sandbox scheduling labels
	//
	// Replaces the labels that place the team's new sandboxes on matching
	// nodes. Labels are deduplicated, keeping the first occurrence of each.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /unstable/admin/teams/{teamID}/scheduling-labels (the `PutUnstableAdminTeamsTeamIDSchedulingLabels` operationId).
	PutUnstableAdminTeamsTeamIDSchedulingLabels(ctx context.Context, teamID openapi_types.UUID, body PutUnstableAdminTeamsTeamIDSchedulingLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUnstableAdminTemplatesAliases Search template aliases as admin
	//
	// Finds the templates whose ID equals `search`, or that own an alias equal to `search` in any namespace, with their owning team and all their aliases. Deleted templates are left out. Results are ordered by template ID; the next page's token is returned in `X-Next-Token`.
	//
	// Corresponds with GET /unstable/admin/templates/aliases (the `GetUnstableAdminTemplatesAliases` operationId).
	GetUnstableAdminTemplatesAliases(ctx context.Context, params *GetUnstableAdminTemplatesAliasesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUnstableAdminTemplatesAliasesWithBody Add a template alias without a namespace as admin
	//
	// Adds an alias without a namespace to a template, so the template resolves by that name for every team. The alias follows the rules of template names (lowercase letters, digits, `-` and `_`) and cannot equal a template ID. Returns 404 when the template does not exist and 409 when the alias is taken.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /unstable/admin/templates/aliases (the `PostUnstableAdminTemplatesAliases` operationId).
	PostUnstableAdminTemplatesAliasesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUnstableAdminTemplatesAliases Add a template alias without a namespace as admin
	//
	// Adds an alias without a namespace to a template, so the template resolves by that name for every team. The alias follows the rules of template names (lowercase letters, digits, `-` and `_`) and cannot equal a template ID. Returns 404 when the template does not exist and 409 when the alias is taken.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /unstable/admin/templates/aliases (the `PostUnstableAdminTemplatesAliases` operationId).
	PostUnstableAdminTemplatesAliases(ctx context.Context, body PostUnstableAdminTemplatesAliasesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteUnstableAdminTemplatesAliasesAliasID Remove a template alias without a namespace as admin
	//
	// Removes an alias without a namespace. A namespaced alias is not removed and answers 404.
	//
	// Corresponds with DELETE /unstable/admin/templates/aliases/{aliasID} (the `DeleteUnstableAdminTemplatesAliasesAliasID` operationId).
	DeleteUnstableAdminTemplatesAliasesAliasID(ctx context.Context, aliasID AliasID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUnstableAdminTemplatesDefaultsWithBody Add a default template as admin
	//
	// Makes a template one of the platform's default templates. Returns 404 when the template does not exist and 409 when it is already a default template.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /unstable/admin/templates/defaults (the `PostUnstableAdminTemplatesDefaults` operationId).
	PostUnstableAdminTemplatesDefaultsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUnstableAdminTemplatesDefaults Add a default template as admin
	//
	// Makes a template one of the platform's default templates. Returns 404 when the template does not exist and 409 when it is already a default template.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /unstable/admin/templates/defaults (the `PostUnstableAdminTemplatesDefaults` operationId).
	PostUnstableAdminTemplatesDefaults(ctx context.Context, body PostUnstableAdminTemplatesDefaultsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteUnstableAdminTemplatesDefaultsTemplateID Remove a default template as admin
	//
	// Stops a template being one of the platform's default templates. The template itself is not changed. Returns 404 when the template is not a default template.
	//
	// Corresponds with DELETE /unstable/admin/templates/defaults/{templateID} (the `DeleteUnstableAdminTemplatesDefaultsTemplateID` operationId).
	DeleteUnstableAdminTemplatesDefaultsTemplateID(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchUnstableAdminTemplatesDefaultsTemplateIDWithBody Update a default template as admin
	//
	// Updates the description of a default template. Returns 404 when the template is not a default template.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /unstable/admin/templates/defaults/{templateID} (the `PatchUnstableAdminTemplatesDefaultsTemplateID` operationId).
	PatchUnstableAdminTemplatesDefaultsTemplateIDWithBody(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchUnstableAdminTemplatesDefaultsTemplateID Update a default template as admin
	//
	// Updates the description of a default template. Returns 404 when the template is not a default template.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /unstable/admin/templates/defaults/{templateID} (the `PatchUnstableAdminTemplatesDefaultsTemplateID` operationId).
	PatchUnstableAdminTemplatesDefaultsTemplateID(ctx context.Context, templateID TemplateID, body PatchUnstableAdminTemplatesDefaultsTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUnstableAdminTemplatesLookup Look up a template as admin
	//
	// Resolves `query` as, in order: a build ID (a UUID, matched to the template of the build's newest assignment, with no fallback), a template ID, or a template name (`namespace/alias`, or an alias without a namespace). Returns the template with its owning team and its newest builds. Deleted templates are not found.
	//
	// Corresponds with GET /unstable/admin/templates/lookup (the `GetUnstableAdminTemplatesLookup` operationId).
	GetUnstableAdminTemplatesLookup(ctx context.Context, params *GetUnstableAdminTemplatesLookupParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUnstableBuilds List team builds
	//
	// Lists the team's builds, newest first, with an optional filter by build ID, template ID or template alias and by status. `nextCursor` continues the listing. For E2B's own clients: it may change or disappear without notice.
	//
	// Corresponds with GET /unstable/builds (the `GetUnstableBuilds` operationId).
	GetUnstableBuilds(ctx context.Context, params *GetUnstableBuildsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUnstableBuildsStatuses Build statuses
	//
	// Returns the statuses of the team's builds with the given IDs; IDs of other teams' builds are left out. For E2B's own clients: it may change or disappear without notice.
	//
	// Corresponds with GET /unstable/builds/statuses (the `GetUnstableBuildsStatuses` operationId).
	GetUnstableBuildsStatuses(ctx context.Context, params *GetUnstableBuildsStatusesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUnstableBuildsBuildID Build details
	//
	// Returns a build of the team with the names of its template. For E2B's own clients: it may change or disappear without notice.
	//
	// Corresponds with GET /unstable/builds/{buildID} (the `GetUnstableBuildsBuildID` operationId).
	GetUnstableBuildsBuildID(ctx context.Context, buildID BuildID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementDeleteCluster Delete a cluster and its environments.
	//
	// Deletes a cluster after all team assignments are detached. Deletion protection on the cluster rejects the deletion, and so does a live team assignment, before anything changes. In one transaction, which no team assignment can interleave with, it then soft-deletes every live template, snapshot template and paused sandbox snapshot on the cluster, releases their aliases, and releases all environment references while preserving environment and build history; the cluster service records the deletion and then deletes the cluster. An assignment requested meanwhile waits and is then refused. If the cluster service does not delete the cluster, nothing is soft-deleted and the cluster stays recorded as being deleted. Deleting an absent cluster still releases its templates, and is refused while a live team is assigned to it. The local cluster's nil ID is rejected. Repeating a completed deletion succeeds.
	//
	// Corresponds with DELETE /unstable/management/clusters/{clusterID} (the `ManagementDeleteCluster` operationId).
	ManagementDeleteCluster(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementRequestClusterDeletion Record that a cluster is being deleted.
	//
	// Records that the caller is deleting the cluster, for a caller that deletes the cluster's teams before the cluster itself. Refused while the cluster has deletion protection turned on; a protection change in flight commits before or after the check, never between. Once recorded, deletion protection cannot be turned on, so the cluster delete that follows is not refused for protection, and no team can be newly assigned to the cluster. An assignment either commits before this request returns, where the caller's next project listing finds it, or is refused with a conflict. Succeeds when the cluster is absent. Repeating the request succeeds. The local cluster's nil ID is rejected.
	//
	// Corresponds with PUT /unstable/management/clusters/{clusterID}/deletion (the `ManagementRequestClusterDeletion` operationId).
	ManagementRequestClusterDeletion(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementClusterDestroyReadiness Check cluster destroy readiness.
	//
	// Checks whether the cluster has deletion protection turned on, or more than one team uses this exact cluster, either as an assigned team or as the owner of active templates or snapshots on it. One team's own templates and snapshots do not block this check, because deleting the cluster soft-deletes them. Soft-deleted history does not count. Returns success if the cluster is absent. This read does not change resources or prevent later assignments or template creation.
	//
	// Corresponds with GET /unstable/management/clusters/{clusterID}/destroy-readiness (the `ManagementClusterDestroyReadiness` operationId).
	ManagementClusterDestroyReadiness(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementListClusterProjects List the projects assigned to a cluster.
	//
	// Returns the ID of every project whose team is assigned to the cluster, whichever way it was assigned. A deleted project is never assigned. An absent cluster has no projects.
	//
	// Corresponds with GET /unstable/management/clusters/{clusterID}/projects (the `ManagementListClusterProjects` operationId).
	ManagementListClusterProjects(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementRemoveClusterRegistration Remove a cluster and leave surviving projects without a runtime.
	//
	// Corresponds with DELETE /unstable/management/clusters/{clusterID}/registration (the `ManagementRemoveClusterRegistration` operationId).
	ManagementRemoveClusterRegistration(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementDeleteProject Soft-delete a project.
	//
	// Marks the project deleted and blocked, releases its cluster assignment, scrubs its name and email to DELETED and its slug to deleted-<project ID>, which releases the old slug for reuse, deletes its memberships and API keys, soft-deletes its templates and snapshots, and enqueues the teardown of its running sandboxes, all in one transaction. The project row remains. Afterwards the project answers 404 to other management writes. Repeating the call answers 204 and repeats every step except the deletion time: it re-blocks and re-scrubs the project, clears a cluster assignment written since, deletes any memberships, keys, templates or snapshots created since, and enqueues the teardown again.
	//
	// Corresponds with DELETE /unstable/management/projects/{projectID} (the `ManagementDeleteProject` operationId).
	ManagementDeleteProject(ctx context.Context, projectID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementUpsertProjectWithBody Create or reconcile a project.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /unstable/management/projects/{projectID} (the `ManagementUpsertProject` operationId).
	ManagementUpsertProjectWithBody(ctx context.Context, projectID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementUpsertProject Create or reconcile a project.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /unstable/management/projects/{projectID} (the `ManagementUpsertProject` operationId).
	ManagementUpsertProject(ctx context.Context, projectID openapi_types.UUID, body ManagementUpsertProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementApplyProjectBanWithBody Apply a project's ban state.
	//
	// Records whether the project is banned. Authentication refuses a banned project's API keys and members. A revision that turns the ban on also kills the project's running sandboxes and cancels its builds in the background, and retries while the project stays banned and any of them remain. The newest revision wins: an older or duplicate revision is accepted without changing target state. Answers 404 when the project is missing or deleted.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /unstable/management/projects/{projectID}/ban (the `ManagementApplyProjectBan` operationId).
	ManagementApplyProjectBanWithBody(ctx context.Context, projectID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementApplyProjectBan Apply a project's ban state.
	//
	// Records whether the project is banned. Authentication refuses a banned project's API keys and members. A revision that turns the ban on also kills the project's running sandboxes and cancels its builds in the background, and retries while the project stays banned and any of them remain. The newest revision wins: an older or duplicate revision is accepted without changing target state. Answers 404 when the project is missing or deleted.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /unstable/management/projects/{projectID}/ban (the `ManagementApplyProjectBan` operationId).
	ManagementApplyProjectBan(ctx context.Context, projectID openapi_types.UUID, body ManagementApplyProjectBanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementApplyProjectBlockWithBody Apply a project's block state.
	//
	// Records whether the project is refused billable work, which the auth path reads before it lets a sandbox start. An older or duplicate revision is accepted without changing target state. Answers 404 when the project is missing or deleted.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /unstable/management/projects/{projectID}/block (the `ManagementApplyProjectBlock` operationId).
	ManagementApplyProjectBlockWithBody(ctx context.Context, projectID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementApplyProjectBlock Apply a project's block state.
	//
	// Records whether the project is refused billable work, which the auth path reads before it lets a sandbox start. An older or duplicate revision is accepted without changing target state. Answers 404 when the project is missing or deleted.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /unstable/management/projects/{projectID}/block (the `ManagementApplyProjectBlock` operationId).
	ManagementApplyProjectBlock(ctx context.Context, projectID openapi_types.UUID, body ManagementApplyProjectBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementUpsertProjectLimitsWithBody Reconcile effective limits for a project.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /unstable/management/projects/{projectID}/limits (the `ManagementUpsertProjectLimits` operationId).
	ManagementUpsertProjectLimitsWithBody(ctx context.Context, projectID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementUpsertProjectLimits Reconcile effective limits for a project.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /unstable/management/projects/{projectID}/limits (the `ManagementUpsertProjectLimits` operationId).
	ManagementUpsertProjectLimits(ctx context.Context, projectID openapi_types.UUID, body ManagementUpsertProjectLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementApplyProjectMemberWithBody Apply one versioned project member projection.
	//
	// Applies the newest desired presence for one project member. An older or duplicate revision is accepted without changing target state.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /unstable/management/projects/{projectID}/members/{userID} (the `ManagementApplyProjectMember` operationId).
	ManagementApplyProjectMemberWithBody(ctx context.Context, projectID openapi_types.UUID, userID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementApplyProjectMember Apply one versioned project member projection.
	//
	// Applies the newest desired presence for one project member. An older or duplicate revision is accepted without changing target state.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /unstable/management/projects/{projectID}/members/{userID} (the `ManagementApplyProjectMember` operationId).
	ManagementApplyProjectMember(ctx context.Context, projectID openapi_types.UUID, userID openapi_types.UUID, body ManagementApplyProjectMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementSetProjectSettingsWithBody Apply a project's settings revision.
	//
	// Replaces the complete project settings document when the revision is newer than the stored revision. Omitted settings are removed. Older and duplicate revisions leave the stored document unchanged. Every successful delivery invalidates the cached team. Answers 404 when the project is missing or deleted.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /unstable/management/projects/{projectID}/settings (the `ManagementSetProjectSettings` operationId).
	ManagementSetProjectSettingsWithBody(ctx context.Context, projectID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementSetProjectSettings Apply a project's settings revision.
	//
	// Replaces the complete project settings document when the revision is newer than the stored revision. Omitted settings are removed. Older and duplicate revisions leave the stored document unchanged. Every successful delivery invalidates the cached team. Answers 404 when the project is missing or deleted.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /unstable/management/projects/{projectID}/settings (the `ManagementSetProjectSettings` operationId).
	ManagementSetProjectSettings(ctx context.Context, projectID openapi_types.UUID, body ManagementSetProjectSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ManagementTelemetryNames Read team and cluster names for telemetry.
	//
	// Requires a direct mutual TLS connection from the configured telemetry reader service identity. Bearer tokens and forwarded identity headers are not accepted. Returns regional team and cluster names without connection credentials. Deleted projects and clusters being deleted are omitted.
	//
	// Corresponds with GET /unstable/management/telemetry/names (the `ManagementTelemetryNames` operationId).
	ManagementTelemetryNames(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUnstableSandboxesSandboxIDRecord Sandbox record
	//
	// Returns the team's latest recorded run of the sandbox, including runs that have already ended, and whether its monitoring, logs and events data are still retained. Returns 404 when the team has no recorded run of the sandbox.
	//
	// Corresponds with GET /unstable/sandboxes/{sandboxID}/record (the `GetUnstableSandboxesSandboxIDRecord` operationId).
	GetUnstableSandboxesSandboxIDRecord(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUnstableTeamsTeamIDLimits Team limits
	//
	// Returns the team's effective resource limits. A team-authenticated request may read only its own team.
	//
	// Corresponds with GET /unstable/teams/{teamID}/limits (the `GetUnstableTeamsTeamIDLimits` operationId).
	GetUnstableTeamsTeamIDLimits(ctx context.Context, teamID TeamID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUnstableTeamsTeamIDStatus Team access status
	//
	// Returns whether the team is banned or blocked, and why it is blocked. A team-authenticated request may read only its own team.
	//
	// Corresponds with GET /unstable/teams/{teamID}/status (the `GetUnstableTeamsTeamIDStatus` operationId).
	GetUnstableTeamsTeamIDStatus(ctx context.Context, teamID TeamID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetUnstableTemplatesSearch Search templates
	//
	// Lists the team's templates together with the platform's public default templates, which carry `isDefault: true`, with search, a visibility filter and sorts. Default templates are not listed to teams on a dedicated cluster, and those owned by another team carry zero or null usage fields. Results are newest first unless `sort` says otherwise; `nextCursor` continues the listing and is only valid with the same `sort`. For E2B's own clients: it may change or disappear without notice.
	//
	// Corresponds with GET /unstable/templates/search (the `GetUnstableTemplatesSearch` operationId).
	GetUnstableTemplatesSearch(ctx context.Context, params *GetUnstableTemplatesSearchParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2Sandboxes List sandboxes (v2)
	//
	// List all sandboxes.
	//
	// Corresponds with GET /v2/sandboxes (the `GetV2Sandboxes` operationId).
	GetV2Sandboxes(ctx context.Context, params *GetV2SandboxesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2SandboxesWithBody Create sandbox (v2)
	//
	// Create a sandbox from the template. All system communication with the sandbox is secured.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).
	PostV2SandboxesWithBody(ctx context.Context, params *PostV2SandboxesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2Sandboxes Create sandbox (v2)
	//
	// Create a sandbox from the template. All system communication with the sandbox is secured.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).
	PostV2Sandboxes(ctx context.Context, params *PostV2SandboxesParams, body PostV2SandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2SandboxesSandboxIDConnectWithBody Connect sandbox (v2)
	//
	// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).
	PostV2SandboxesSandboxIDConnectWithBody(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2SandboxesSandboxIDConnect Connect sandbox (v2)
	//
	// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).
	PostV2SandboxesSandboxIDConnect(ctx context.Context, sandboxID SandboxID, body PostV2SandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2SandboxesSandboxIDLogs Sandbox logs (v2)
	//
	// Get sandbox logs.
	//
	// Corresponds with GET /v2/sandboxes/{sandboxID}/logs (the `GetV2SandboxesSandboxIDLogs` operationId).
	GetV2SandboxesSandboxIDLogs(ctx context.Context, sandboxID SandboxID, params *GetV2SandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2Templates List templates (v2)
	//
	// List all templates.
	//
	// Corresponds with GET /v2/templates (the `GetV2Templates` operationId).
	GetV2Templates(ctx context.Context, params *GetV2TemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2TemplatesTemplateID Template info (v2)
	//
	// Get a template by its ID or name, with its default build and without its other builds.
	//
	// Corresponds with GET /v2/templates/{templateID} (the `GetV2TemplatesTemplateID` operationId).
	GetV2TemplatesTemplateID(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV2TemplatesTemplateIDWithBody Update template (v2)
	//
	// Update template.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).
	PatchV2TemplatesTemplateIDWithBody(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchV2TemplatesTemplateID Update template (v2)
	//
	// Update template.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).
	PatchV2TemplatesTemplateID(ctx context.Context, templateID TemplateID, body PatchV2TemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2TemplatesTemplateIDBuildsBuildIDWithBody Start template build (v2)
	//
	// Start the build. With an Idempotency-Key, replays continue to work after the build has left the waiting state.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
	PostV2TemplatesTemplateIDBuildsBuildIDWithBody(ctx context.Context, templateID TemplateID, buildID BuildID, params *PostV2TemplatesTemplateIDBuildsBuildIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV2TemplatesTemplateIDBuildsBuildID Start template build (v2)
	//
	// Start the build. With an Idempotency-Key, replays continue to work after the build has left the waiting state.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
	PostV2TemplatesTemplateIDBuildsBuildID(ctx context.Context, templateID TemplateID, buildID BuildID, params *PostV2TemplatesTemplateIDBuildsBuildIDParams, body PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV3TemplatesWithBody Create template (v3)
	//
	// Create a new template.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
	PostV3TemplatesWithBody(ctx context.Context, params *PostV3TemplatesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV3Templates Create template (v3)
	//
	// Create a new template.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
	PostV3Templates(ctx context.Context, params *PostV3TemplatesParams, body PostV3TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVolumes List team volumes
	//
	// List all team volumes.
	//
	// Corresponds with GET /volumes (the `GetVolumes` operationId).
	GetVolumes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostVolumesWithBody Create team volume
	//
	// Create a new team volume.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /volumes (the `PostVolumes` operationId).
	PostVolumesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostVolumes Create team volume
	//
	// Create a new team volume.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /volumes (the `PostVolumes` operationId).
	PostVolumes(ctx context.Context, body PostVolumesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteVolumesVolumeID Delete team volume
	//
	// Delete a team volume.
	//
	// Corresponds with DELETE /volumes/{volumeID} (the `DeleteVolumesVolumeID` operationId).
	DeleteVolumesVolumeID(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVolumesVolumeID Team volume
	//
	// Get team volume info.
	//
	// Corresponds with GET /volumes/{volumeID} (the `GetVolumesVolumeID` operationId).
	GetVolumesVolumeID(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

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

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) AdminBanTeamWithResponse

func (c *ClientWithResponses) AdminBanTeamWithResponse(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*AdminBanTeamResponse, error)

AdminBanTeamWithResponse Ban a team

Marks the team as banned so its API keys stop authenticating, then kills its sandboxes and cancels its builds. The ban is stored first: a failure to kill or cancel is reported in the result and does not undo it. Killing and cancelling stop after a fixed time budget, and a step cut short is reported as failed. Banning an already banned team repeats the kill and cancel. The work continues if the caller disconnects.

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /unstable/admin/teams/{teamID}/ban (the `AdminBanTeam` operationId).

func (*ClientWithResponses) AdminBanTeamsWithBodyWithResponse

func (c *ClientWithResponses) AdminBanTeamsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminBanTeamsResponse, error)

AdminBanTeamsWithBodyWithResponse Ban teams

Bans up to 100 teams at once, as `PUT /unstable/admin/teams/{teamID}/ban` does, except that every team's ban is stored before any team's sandboxes are killed or builds cancelled, and the kills and cancellations of all teams share one time budget. One team's failure does not stop the others; the response sorts every requested team into banned, not found or failed. The work continues if the caller disconnects.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /unstable/admin/teams/bans (the `AdminBanTeams` operationId).

func (*ClientWithResponses) AdminBanTeamsWithResponse

func (c *ClientWithResponses) AdminBanTeamsWithResponse(ctx context.Context, body AdminBanTeamsJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminBanTeamsResponse, error)

AdminBanTeamsWithResponse Ban teams

Bans up to 100 teams at once, as `PUT /unstable/admin/teams/{teamID}/ban` does, except that every team's ban is stored before any team's sandboxes are killed or builds cancelled, and the kills and cancellations of all teams share one time budget. One team's failure does not stop the others; the response sorts every requested team into banned, not found or failed. The work continues if the caller disconnects.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /unstable/admin/teams/bans (the `AdminBanTeams` operationId).

func (*ClientWithResponses) AdminListClusterTeamCountsWithResponse

func (c *ClientWithResponses) AdminListClusterTeamCountsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminListClusterTeamCountsResponse, error)

AdminListClusterTeamCountsWithResponse Count each cluster's teams as admin

Returns the number of live teams assigned to each remote cluster. A cluster no live team is assigned to is absent. It reads only the teams, so it answers without a cluster service.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /unstable/admin/clusters/team-counts (the `AdminListClusterTeamCounts` operationId).

func (*ClientWithResponses) AdminListClusterTeamsWithResponse

func (c *ClientWithResponses) AdminListClusterTeamsWithResponse(ctx context.Context, clusterID ClusterID, params *AdminListClusterTeamsParams, reqEditors ...RequestEditorFn) (*AdminListClusterTeamsResponse, error)

AdminListClusterTeamsWithResponse List a cluster's teams as admin

Lists the teams assigned to the cluster.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /unstable/admin/clusters/{clusterID}/teams (the `AdminListClusterTeams` operationId).

func (*ClientWithResponses) AdminUnbanTeamWithResponse

func (c *ClientWithResponses) AdminUnbanTeamWithResponse(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*AdminUnbanTeamResponse, error)

AdminUnbanTeamWithResponse Unban a team

Clears the team's ban. Idempotent.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /unstable/admin/teams/{teamID}/ban (the `AdminUnbanTeam` operationId).

func (*ClientWithResponses) DeleteAdminTeamsTeamIDApiKeysApiKeyIDWithResponse

func (c *ClientWithResponses) DeleteAdminTeamsTeamIDApiKeysApiKeyIDWithResponse(ctx context.Context, teamID openapi_types.UUID, apiKeyID ApiKeyID, reqEditors ...RequestEditorFn) (*DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse, error)

DeleteAdminTeamsTeamIDApiKeysApiKeyIDWithResponse Delete team API key as admin

Deletes a team API key for internal service workflows.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /admin/teams/{teamID}/api-keys/{apiKeyID} (the `DeleteAdminTeamsTeamIDApiKeysApiKeyID` operationId).

func (*ClientWithResponses) DeleteApiKeysApiKeyIDWithResponse

func (c *ClientWithResponses) DeleteApiKeysApiKeyIDWithResponse(ctx context.Context, apiKeyID ApiKeyID, reqEditors ...RequestEditorFn) (*DeleteApiKeysApiKeyIDResponse, error)

DeleteApiKeysApiKeyIDWithResponse Delete team API key

Delete a team API key.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api-keys/{apiKeyID} (the `DeleteApiKeysApiKeyID` operationId).

func (*ClientWithResponses) DeleteClustersClusterIDRigsInstancesInstanceIDWithResponse

func (c *ClientWithResponses) DeleteClustersClusterIDRigsInstancesInstanceIDWithResponse(ctx context.Context, clusterID ClusterID, instanceID string, params *DeleteClustersClusterIDRigsInstancesInstanceIDParams, reqEditors ...RequestEditorFn) (*DeleteClustersClusterIDRigsInstancesInstanceIDResponse, error)

DeleteClustersClusterIDRigsInstancesInstanceIDWithResponse Terminate an instance of a rig

Terminate an instance in whichever rig's scaling group it belongs to. The caller chooses whether the rig shrinks or the instance is replaced.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /clusters/{clusterID}/rigs/instances/{instanceID} (the `DeleteClustersClusterIDRigsInstancesInstanceID` operationId).

func (*ClientWithResponses) DeleteEventsWebhooksWebhookIDWithResponse

func (c *ClientWithResponses) DeleteEventsWebhooksWebhookIDWithResponse(ctx context.Context, webhookID WebhookID, reqEditors ...RequestEditorFn) (*DeleteEventsWebhooksWebhookIDResponse, error)

DeleteEventsWebhooksWebhookIDWithResponse performs a DELETE /events/webhooks/{webhookID} (the `DeleteEventsWebhooksWebhookID` operationId) request.

Delete a registered webhook.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) DeleteSandboxesSandboxIDWithResponse

func (c *ClientWithResponses) DeleteSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*DeleteSandboxesSandboxIDResponse, error)

DeleteSandboxesSandboxIDWithResponse Kill sandbox

Kill a sandbox.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /sandboxes/{sandboxID} (the `DeleteSandboxesSandboxID` operationId).

func (*ClientWithResponses) DeleteSecretsSecretIDWithResponse

func (c *ClientWithResponses) DeleteSecretsSecretIDWithResponse(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*DeleteSecretsSecretIDResponse, error)

DeleteSecretsSecretIDWithResponse Delete a secret

Revoke the secret and schedule its versions for cleanup.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /secrets/{secretID} (the `DeleteSecretsSecretID` operationId).

func (*ClientWithResponses) DeleteTemplatesTagsWithBodyWithResponse

func (c *ClientWithResponses) DeleteTemplatesTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteTemplatesTagsResponse, error)

DeleteTemplatesTagsWithBodyWithResponse Delete template tags

Delete multiple tags from templates.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).

func (*ClientWithResponses) DeleteTemplatesTagsWithResponse

func (c *ClientWithResponses) DeleteTemplatesTagsWithResponse(ctx context.Context, body DeleteTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteTemplatesTagsResponse, error)

DeleteTemplatesTagsWithResponse Delete template tags

Delete multiple tags from templates.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).

func (*ClientWithResponses) DeleteTemplatesTemplateIDWithResponse

func (c *ClientWithResponses) DeleteTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*DeleteTemplatesTemplateIDResponse, error)

DeleteTemplatesTemplateIDWithResponse Delete template

Delete a template.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /templates/{templateID} (the `DeleteTemplatesTemplateID` operationId).

func (*ClientWithResponses) DeleteUnstableAdminTemplatesAliasesAliasIDWithResponse

func (c *ClientWithResponses) DeleteUnstableAdminTemplatesAliasesAliasIDWithResponse(ctx context.Context, aliasID AliasID, reqEditors ...RequestEditorFn) (*DeleteUnstableAdminTemplatesAliasesAliasIDResponse, error)

DeleteUnstableAdminTemplatesAliasesAliasIDWithResponse Remove a template alias without a namespace as admin

Removes an alias without a namespace. A namespaced alias is not removed and answers 404.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /unstable/admin/templates/aliases/{aliasID} (the `DeleteUnstableAdminTemplatesAliasesAliasID` operationId).

func (*ClientWithResponses) DeleteUnstableAdminTemplatesDefaultsTemplateIDWithResponse

func (c *ClientWithResponses) DeleteUnstableAdminTemplatesDefaultsTemplateIDWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*DeleteUnstableAdminTemplatesDefaultsTemplateIDResponse, error)

DeleteUnstableAdminTemplatesDefaultsTemplateIDWithResponse Remove a default template as admin

Stops a template being one of the platform's default templates. The template itself is not changed. Returns 404 when the template is not a default template.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /unstable/admin/templates/defaults/{templateID} (the `DeleteUnstableAdminTemplatesDefaultsTemplateID` operationId).

func (*ClientWithResponses) DeleteVolumesVolumeIDWithResponse

func (c *ClientWithResponses) DeleteVolumesVolumeIDWithResponse(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*DeleteVolumesVolumeIDResponse, error)

DeleteVolumesVolumeIDWithResponse Delete team volume

Delete a team volume.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /volumes/{volumeID} (the `DeleteVolumesVolumeID` operationId).

func (*ClientWithResponses) GetAdminSandboxesRunningCountsWithResponse

func (c *ClientWithResponses) GetAdminSandboxesRunningCountsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAdminSandboxesRunningCountsResponse, error)

GetAdminSandboxesRunningCountsWithResponse Count running sandboxes by team

Returns a shared snapshot normally refreshed after five seconds. A sandbox transitioning out of running can remain counted until removal.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /admin/sandboxes/running-counts (the `GetAdminSandboxesRunningCounts` operationId).

func (*ClientWithResponses) GetAdminSandboxesSandboxIDWithResponse

func (c *ClientWithResponses) GetAdminSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*GetAdminSandboxesSandboxIDResponse, error)

GetAdminSandboxesSandboxIDWithResponse Get a sandbox's team and state

Reads the team and state of a sandbox from its latest lifecycle event. The state lags the sandbox while that event is in flight. A sandbox whose events have expired is not found.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /admin/sandboxes/{sandboxID} (the `GetAdminSandboxesSandboxID` operationId).

func (*ClientWithResponses) GetAdminTeamsTeamIDApiKeysWithResponse

func (c *ClientWithResponses) GetAdminTeamsTeamIDApiKeysWithResponse(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAdminTeamsTeamIDApiKeysResponse, error)

GetAdminTeamsTeamIDApiKeysWithResponse List team API keys as admin

Lists a team's API keys for internal service workflows. Unlike `GET /api-keys`, it does not resolve the team, so it also answers for a banned team.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /admin/teams/{teamID}/api-keys (the `GetAdminTeamsTeamIDApiKeys` operationId).

func (*ClientWithResponses) GetApiKeysWithResponse

func (c *ClientWithResponses) GetApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiKeysResponse, error)

GetApiKeysWithResponse List team API keys

List all team API keys.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api-keys (the `GetApiKeys` operationId).

func (*ClientWithResponses) GetClustersClusterIDRigsRigIDErrorsWithResponse

func (c *ClientWithResponses) GetClustersClusterIDRigsRigIDErrorsWithResponse(ctx context.Context, clusterID ClusterID, rigID RigID, params *GetClustersClusterIDRigsRigIDErrorsParams, reqEditors ...RequestEditorFn) (*GetClustersClusterIDRigsRigIDErrorsResponse, error)

GetClustersClusterIDRigsRigIDErrorsWithResponse List recent scaling errors of a rig

List recent scaling errors on the rig's scaling group (e.g. failed instance creations due to resource exhaustion), newest first.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /clusters/{clusterID}/rigs/{rigID}/errors (the `GetClustersClusterIDRigsRigIDErrors` operationId).

func (*ClientWithResponses) GetClustersClusterIDRigsRigIDInstancesWithResponse

func (c *ClientWithResponses) GetClustersClusterIDRigsRigIDInstancesWithResponse(ctx context.Context, clusterID ClusterID, rigID RigID, reqEditors ...RequestEditorFn) (*GetClustersClusterIDRigsRigIDInstancesResponse, error)

GetClustersClusterIDRigsRigIDInstancesWithResponse List the instances attached to a rig

List the instances attached to the rig's scaling group with their creation time and transition state, sorted by instance ID.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /clusters/{clusterID}/rigs/{rigID}/instances (the `GetClustersClusterIDRigsRigIDInstances` operationId).

func (*ClientWithResponses) GetClustersClusterIDRigsWithResponse

func (c *ClientWithResponses) GetClustersClusterIDRigsWithResponse(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*GetClustersClusterIDRigsResponse, error)

GetClustersClusterIDRigsWithResponse List rigs of a cluster

List the orchestrator node pools ("rigs") of a cluster with a snapshot of their scaling groups. Forwarded to the cluster's edge service; a cluster with no rig management configured returns an empty list, and the local cluster answers 501.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /clusters/{clusterID}/rigs (the `GetClustersClusterIDRigs` operationId).

func (*ClientWithResponses) GetDefaultTemplatesWithResponse

func (c *ClientWithResponses) GetDefaultTemplatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDefaultTemplatesResponse, error)

GetDefaultTemplatesWithResponse List default templates

Lists the platform's default templates, ordered by template ID. Deleted templates are left out. Templates that are not public are listed only to their own team and to admin callers. The build, resources and envd version are those of the newest ready build tagged `default`, the one a sandbox started from the template runs, and are zero or empty when there is none; `buildStatus` describes the newest build tagged `default` in any state. Usage fields (`spawnCount`, `buildCount`, `lastSpawnedAt`, `createdBy`) are reported only for the caller's own templates and to admin callers.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /default-templates (the `GetDefaultTemplates` operationId).

func (*ClientWithResponses) GetEventsSandboxesSandboxIDWithResponse

func (c *ClientWithResponses) GetEventsSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, params *GetEventsSandboxesSandboxIDParams, reqEditors ...RequestEditorFn) (*GetEventsSandboxesSandboxIDResponse, error)

GetEventsSandboxesSandboxIDWithResponse performs a GET /events/sandboxes/{sandboxID} (the `GetEventsSandboxesSandboxID` operationId) request.

Get sandbox events.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetEventsSandboxesWithResponse

func (c *ClientWithResponses) GetEventsSandboxesWithResponse(ctx context.Context, params *GetEventsSandboxesParams, reqEditors ...RequestEditorFn) (*GetEventsSandboxesResponse, error)

GetEventsSandboxesWithResponse performs a GET /events/sandboxes (the `GetEventsSandboxes` operationId) request.

Get all sandbox events for the team associated with the API key.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetEventsWebhooksWebhookIDDeliveriesWithResponse

func (c *ClientWithResponses) GetEventsWebhooksWebhookIDDeliveriesWithResponse(ctx context.Context, webhookID WebhookID, params *GetEventsWebhooksWebhookIDDeliveriesParams, reqEditors ...RequestEditorFn) (*GetEventsWebhooksWebhookIDDeliveriesResponse, error)

GetEventsWebhooksWebhookIDDeliveriesWithResponse performs a GET /events/webhooks/{webhookID}/deliveries (the `GetEventsWebhooksWebhookIDDeliveries` operationId) request.

List webhook delivery attempts.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetEventsWebhooksWebhookIDStatsWithResponse

func (c *ClientWithResponses) GetEventsWebhooksWebhookIDStatsWithResponse(ctx context.Context, webhookID WebhookID, params *GetEventsWebhooksWebhookIDStatsParams, reqEditors ...RequestEditorFn) (*GetEventsWebhooksWebhookIDStatsResponse, error)

GetEventsWebhooksWebhookIDStatsWithResponse performs a GET /events/webhooks/{webhookID}/stats (the `GetEventsWebhooksWebhookIDStats` operationId) request.

Get webhook delivery aggregate stats.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetEventsWebhooksWebhookIDWithResponse

func (c *ClientWithResponses) GetEventsWebhooksWebhookIDWithResponse(ctx context.Context, webhookID WebhookID, reqEditors ...RequestEditorFn) (*GetEventsWebhooksWebhookIDResponse, error)

GetEventsWebhooksWebhookIDWithResponse performs a GET /events/webhooks/{webhookID} (the `GetEventsWebhooksWebhookID` operationId) request.

Get a registered webhook.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetEventsWebhooksWithResponse

func (c *ClientWithResponses) GetEventsWebhooksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEventsWebhooksResponse, error)

GetEventsWebhooksWithResponse performs a GET /events/webhooks (the `GetEventsWebhooks` operationId) request.

List registered webhooks.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetHealthWithResponse

func (c *ClientWithResponses) GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)

GetHealthWithResponse Health check

Returns a wrapper object for the known response body format(s).

Corresponds with GET /health (the `GetHealth` operationId).

func (*ClientWithResponses) GetNodesNodeIDSandboxesWithResponse

func (c *ClientWithResponses) GetNodesNodeIDSandboxesWithResponse(ctx context.Context, nodeID NodeID, params *GetNodesNodeIDSandboxesParams, reqEditors ...RequestEditorFn) (*GetNodesNodeIDSandboxesResponse, error)

GetNodesNodeIDSandboxesWithResponse Node sandboxes

List the sandboxes the API confirms are running on the node.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /nodes/{nodeID}/sandboxes (the `GetNodesNodeIDSandboxes` operationId).

func (*ClientWithResponses) GetNodesNodeIDWithResponse

func (c *ClientWithResponses) GetNodesNodeIDWithResponse(ctx context.Context, nodeID NodeID, params *GetNodesNodeIDParams, reqEditors ...RequestEditorFn) (*GetNodesNodeIDResponse, error)

GetNodesNodeIDWithResponse Node info

Get node info.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /nodes/{nodeID} (the `GetNodesNodeID` operationId).

func (*ClientWithResponses) GetNodesWithResponse

func (c *ClientWithResponses) GetNodesWithResponse(ctx context.Context, params *GetNodesParams, reqEditors ...RequestEditorFn) (*GetNodesResponse, error)

GetNodesWithResponse List nodes

List all nodes.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /nodes (the `GetNodes` operationId).

func (*ClientWithResponses) GetSandboxesMetricsWithResponse

func (c *ClientWithResponses) GetSandboxesMetricsWithResponse(ctx context.Context, params *GetSandboxesMetricsParams, reqEditors ...RequestEditorFn) (*GetSandboxesMetricsResponse, error)

GetSandboxesMetricsWithResponse List sandbox metrics

List metrics for given sandboxes.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /sandboxes/metrics (the `GetSandboxesMetrics` operationId).

func (*ClientWithResponses) GetSandboxesSandboxIDLogsWithResponse deprecated

func (c *ClientWithResponses) GetSandboxesSandboxIDLogsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDLogsResponse, error)

GetSandboxesSandboxIDLogsWithResponse Sandbox logs

Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /sandboxes/{sandboxID}/logs (the `GetSandboxesSandboxIDLogs` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) GetSandboxesSandboxIDMetricsWithResponse

func (c *ClientWithResponses) GetSandboxesSandboxIDMetricsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDMetricsParams, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDMetricsResponse, error)

GetSandboxesSandboxIDMetricsWithResponse Sandbox metrics

Get sandbox metrics.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /sandboxes/{sandboxID}/metrics (the `GetSandboxesSandboxIDMetrics` operationId).

func (*ClientWithResponses) GetSandboxesSandboxIDWithResponse

func (c *ClientWithResponses) GetSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDResponse, error)

GetSandboxesSandboxIDWithResponse Sandbox

Get a sandbox by id.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /sandboxes/{sandboxID} (the `GetSandboxesSandboxID` operationId).

func (*ClientWithResponses) GetSandboxesWithResponse deprecated

func (c *ClientWithResponses) GetSandboxesWithResponse(ctx context.Context, params *GetSandboxesParams, reqEditors ...RequestEditorFn) (*GetSandboxesResponse, error)

GetSandboxesWithResponse List running sandboxes

List all running sandboxes. Returns 400 when more than 5000 running sandboxes match; use GET /v2/sandboxes to page through them.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /sandboxes (the `GetSandboxes` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) GetSecretsSecretIDWithResponse

func (c *ClientWithResponses) GetSecretsSecretIDWithResponse(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*GetSecretsSecretIDResponse, error)

GetSecretsSecretIDWithResponse Get a secret

Get one secret's metadata, selected by identifier or name.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /secrets/{secretID} (the `GetSecretsSecretID` operationId).

func (*ClientWithResponses) GetSecretsWithResponse

func (c *ClientWithResponses) GetSecretsWithResponse(ctx context.Context, params *GetSecretsParams, reqEditors ...RequestEditorFn) (*GetSecretsResponse, error)

GetSecretsWithResponse List project secrets

List the project's secrets. No response carries a secret value.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /secrets (the `GetSecrets` operationId).

func (*ClientWithResponses) GetSnapshotsWithResponse

func (c *ClientWithResponses) GetSnapshotsWithResponse(ctx context.Context, params *GetSnapshotsParams, reqEditors ...RequestEditorFn) (*GetSnapshotsResponse, error)

GetSnapshotsWithResponse List snapshots

List all snapshots for the team.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /snapshots (the `GetSnapshots` operationId).

func (*ClientWithResponses) GetTeamsTeamIDMetricsMaxWithResponse

func (c *ClientWithResponses) GetTeamsTeamIDMetricsMaxWithResponse(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsMaxParams, reqEditors ...RequestEditorFn) (*GetTeamsTeamIDMetricsMaxResponse, error)

GetTeamsTeamIDMetricsMaxWithResponse Maximum team metrics

Get the maximum metrics for the team in the given interval.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /teams/{teamID}/metrics/max (the `GetTeamsTeamIDMetricsMax` operationId).

func (*ClientWithResponses) GetTeamsTeamIDMetricsWithResponse

func (c *ClientWithResponses) GetTeamsTeamIDMetricsWithResponse(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsParams, reqEditors ...RequestEditorFn) (*GetTeamsTeamIDMetricsResponse, error)

GetTeamsTeamIDMetricsWithResponse Team metrics

Get metrics for the team.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /teams/{teamID}/metrics (the `GetTeamsTeamIDMetrics` operationId).

func (*ClientWithResponses) GetTemplatesAliasesAliasWithResponse

func (c *ClientWithResponses) GetTemplatesAliasesAliasWithResponse(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*GetTemplatesAliasesAliasResponse, error)

GetTemplatesAliasesAliasWithResponse Check template alias

Check if template with given alias exists.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /templates/aliases/{alias} (the `GetTemplatesAliasesAlias` operationId).

func (*ClientWithResponses) GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse

func (c *ClientWithResponses) GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDLogsParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDBuildsBuildIDLogsResponse, error)

GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse Template build logs

Get template build logs.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /templates/{templateID}/builds/{buildID}/logs (the `GetTemplatesTemplateIDBuildsBuildIDLogs` operationId).

func (*ClientWithResponses) GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse

func (c *ClientWithResponses) GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDStatusParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDBuildsBuildIDStatusResponse, error)

GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse Template build status

Get template build info.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /templates/{templateID}/builds/{buildID}/status (the `GetTemplatesTemplateIDBuildsBuildIDStatus` operationId).

func (*ClientWithResponses) GetTemplatesTemplateIDBuildsWithResponse

func (c *ClientWithResponses) GetTemplatesTemplateIDBuildsWithResponse(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDBuildsParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDBuildsResponse, error)

GetTemplatesTemplateIDBuildsWithResponse List a template's builds

List the builds of a template, newest first. The template is given by its ID or name. A template named `aliases` is given by its ID or by its name with the team prefix.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /templates/{templateID}/builds (the `GetTemplatesTemplateIDBuilds` operationId).

func (*ClientWithResponses) GetTemplatesTemplateIDFilesHashWithResponse

func (c *ClientWithResponses) GetTemplatesTemplateIDFilesHashWithResponse(ctx context.Context, templateID TemplateID, hash string, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDFilesHashResponse, error)

GetTemplatesTemplateIDFilesHashWithResponse Template build file upload URL

Get an upload link for a tar file containing build layer files.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /templates/{templateID}/files/{hash} (the `GetTemplatesTemplateIDFilesHash` operationId).

func (*ClientWithResponses) GetTemplatesTemplateIDTagsCountWithResponse

func (c *ClientWithResponses) GetTemplatesTemplateIDTagsCountWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsCountResponse, error)

GetTemplatesTemplateIDTagsCountWithResponse Count template tags

Returns the number of distinct tags of the template that have at least one ready build. Returns 404 when the template does not exist or belongs to another team.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /templates/{templateID}/tags/count (the `GetTemplatesTemplateIDTagsCount` operationId).

func (*ClientWithResponses) GetTemplatesTemplateIDTagsExistsWithResponse

func (c *ClientWithResponses) GetTemplatesTemplateIDTagsExistsWithResponse(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDTagsExistsParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsExistsResponse, error)

GetTemplatesTemplateIDTagsExistsWithResponse Check template tag

Checks whether a tag of the template has at least one ready build. Returns 404 when the template does not exist or belongs to another team.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /templates/{templateID}/tags/exists (the `GetTemplatesTemplateIDTagsExists` operationId).

func (*ClientWithResponses) GetTemplatesTemplateIDTagsGroupsWithResponse

func (c *ClientWithResponses) GetTemplatesTemplateIDTagsGroupsWithResponse(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDTagsGroupsParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsGroupsResponse, error)

GetTemplatesTemplateIDTagsGroupsWithResponse List template tag groups

Lists the template's tags that have at least one ready build, each with its most recent ready assignments, paginated over tags with a keyset cursor. Returns 404 when the template does not exist or belongs to another team.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /templates/{templateID}/tags/groups (the `GetTemplatesTemplateIDTagsGroups` operationId).

func (*ClientWithResponses) GetTemplatesTemplateIDTagsTagAssignmentsWithResponse

func (c *ClientWithResponses) GetTemplatesTemplateIDTagsTagAssignmentsWithResponse(ctx context.Context, templateID TemplateID, tag Tag, params *GetTemplatesTemplateIDTagsTagAssignmentsParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsTagAssignmentsResponse, error)

GetTemplatesTemplateIDTagsTagAssignmentsWithResponse List template tag assignments

Lists the ready assignments of one tag of the template, newest first, with keyset cursor pagination. Returns 404 when the template does not exist or belongs to another team.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /templates/{templateID}/tags/{tag}/assignments (the `GetTemplatesTemplateIDTagsTagAssignments` operationId).

func (*ClientWithResponses) GetTemplatesTemplateIDTagsWithResponse

func (c *ClientWithResponses) GetTemplatesTemplateIDTagsWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsResponse, error)

GetTemplatesTemplateIDTagsWithResponse List template tags

List all tags for a template.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /templates/{templateID}/tags (the `GetTemplatesTemplateIDTags` operationId).

func (*ClientWithResponses) GetTemplatesTemplateIDWithResponse

func (c *ClientWithResponses) GetTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDResponse, error)

GetTemplatesTemplateIDWithResponse List template builds

List all builds for a template.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /templates/{templateID} (the `GetTemplatesTemplateID` operationId).

func (*ClientWithResponses) GetTemplatesWithResponse deprecated

func (c *ClientWithResponses) GetTemplatesWithResponse(ctx context.Context, params *GetTemplatesParams, reqEditors ...RequestEditorFn) (*GetTemplatesResponse, error)

GetTemplatesWithResponse List templates

List all templates. Returns 400 when the team has more than 5000 templates; use /v2/templates to page through them.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /templates (the `GetTemplates` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) GetUnstableAdminSandboxesSandboxIDBuildsWithResponse

func (c *ClientWithResponses) GetUnstableAdminSandboxesSandboxIDBuildsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetUnstableAdminSandboxesSandboxIDBuildsParams, reqEditors ...RequestEditorFn) (*GetUnstableAdminSandboxesSandboxIDBuildsResponse, error)

GetUnstableAdminSandboxesSandboxIDBuildsWithResponse List the builds of a sandbox's snapshot template

Lists the build assignments of the template that holds the sandbox's snapshot under one tag. Assignments without a creation time are left out. A sandbox without a snapshot returns no items and a null `snapshotTemplateID`; this route does not report whether the sandbox exists.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /unstable/admin/sandboxes/{sandboxID}/builds (the `GetUnstableAdminSandboxesSandboxIDBuilds` operationId).

func (*ClientWithResponses) GetUnstableAdminSandboxesSandboxIDOverviewWithResponse

func (c *ClientWithResponses) GetUnstableAdminSandboxesSandboxIDOverviewWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*GetUnstableAdminSandboxesSandboxIDOverviewResponse, error)

GetUnstableAdminSandboxesSandboxIDOverviewWithResponse Sandbox overview

Reads a sandbox's team, snapshot template, most recent pause and newest default-tag build from the database. The team comes from the stopped-sandbox log, or from the snapshot when the sandbox has not stopped. Returns 404 when neither knows the sandbox. A sandbox without a snapshot returns null `snapshotTemplateId`, `lastPause` and `latestBuild`.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /unstable/admin/sandboxes/{sandboxID}/overview (the `GetUnstableAdminSandboxesSandboxIDOverview` operationId).

func (*ClientWithResponses) GetUnstableAdminTeamsTeamIDWithResponse

func (c *ClientWithResponses) GetUnstableAdminTeamsTeamIDWithResponse(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetUnstableAdminTeamsTeamIDResponse, error)

GetUnstableAdminTeamsTeamIDWithResponse Team as admin

Returns a team with its sandbox scheduling labels and cluster. It also answers for a banned or blocked team.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /unstable/admin/teams/{teamID} (the `GetUnstableAdminTeamsTeamID` operationId).

func (*ClientWithResponses) GetUnstableAdminTemplatesAliasesWithResponse

func (c *ClientWithResponses) GetUnstableAdminTemplatesAliasesWithResponse(ctx context.Context, params *GetUnstableAdminTemplatesAliasesParams, reqEditors ...RequestEditorFn) (*GetUnstableAdminTemplatesAliasesResponse, error)

GetUnstableAdminTemplatesAliasesWithResponse Search template aliases as admin

Finds the templates whose ID equals `search`, or that own an alias equal to `search` in any namespace, with their owning team and all their aliases. Deleted templates are left out. Results are ordered by template ID; the next page's token is returned in `X-Next-Token`.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /unstable/admin/templates/aliases (the `GetUnstableAdminTemplatesAliases` operationId).

func (*ClientWithResponses) GetUnstableAdminTemplatesLookupWithResponse

func (c *ClientWithResponses) GetUnstableAdminTemplatesLookupWithResponse(ctx context.Context, params *GetUnstableAdminTemplatesLookupParams, reqEditors ...RequestEditorFn) (*GetUnstableAdminTemplatesLookupResponse, error)

GetUnstableAdminTemplatesLookupWithResponse Look up a template as admin

Resolves `query` as, in order: a build ID (a UUID, matched to the template of the build's newest assignment, with no fallback), a template ID, or a template name (`namespace/alias`, or an alias without a namespace). Returns the template with its owning team and its newest builds. Deleted templates are not found.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /unstable/admin/templates/lookup (the `GetUnstableAdminTemplatesLookup` operationId).

func (*ClientWithResponses) GetUnstableBuildsBuildIDWithResponse

func (c *ClientWithResponses) GetUnstableBuildsBuildIDWithResponse(ctx context.Context, buildID BuildID, reqEditors ...RequestEditorFn) (*GetUnstableBuildsBuildIDResponse, error)

GetUnstableBuildsBuildIDWithResponse Build details

Returns a build of the team with the names of its template. For E2B's own clients: it may change or disappear without notice.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /unstable/builds/{buildID} (the `GetUnstableBuildsBuildID` operationId).

func (*ClientWithResponses) GetUnstableBuildsStatusesWithResponse

func (c *ClientWithResponses) GetUnstableBuildsStatusesWithResponse(ctx context.Context, params *GetUnstableBuildsStatusesParams, reqEditors ...RequestEditorFn) (*GetUnstableBuildsStatusesResponse, error)

GetUnstableBuildsStatusesWithResponse Build statuses

Returns the statuses of the team's builds with the given IDs; IDs of other teams' builds are left out. For E2B's own clients: it may change or disappear without notice.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /unstable/builds/statuses (the `GetUnstableBuildsStatuses` operationId).

func (*ClientWithResponses) GetUnstableBuildsWithResponse

func (c *ClientWithResponses) GetUnstableBuildsWithResponse(ctx context.Context, params *GetUnstableBuildsParams, reqEditors ...RequestEditorFn) (*GetUnstableBuildsResponse, error)

GetUnstableBuildsWithResponse List team builds

Lists the team's builds, newest first, with an optional filter by build ID, template ID or template alias and by status. `nextCursor` continues the listing. For E2B's own clients: it may change or disappear without notice.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /unstable/builds (the `GetUnstableBuilds` operationId).

func (*ClientWithResponses) GetUnstableSandboxesSandboxIDRecordWithResponse

func (c *ClientWithResponses) GetUnstableSandboxesSandboxIDRecordWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*GetUnstableSandboxesSandboxIDRecordResponse, error)

GetUnstableSandboxesSandboxIDRecordWithResponse Sandbox record

Returns the team's latest recorded run of the sandbox, including runs that have already ended, and whether its monitoring, logs and events data are still retained. Returns 404 when the team has no recorded run of the sandbox.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /unstable/sandboxes/{sandboxID}/record (the `GetUnstableSandboxesSandboxIDRecord` operationId).

func (*ClientWithResponses) GetUnstableTeamsTeamIDLimitsWithResponse

func (c *ClientWithResponses) GetUnstableTeamsTeamIDLimitsWithResponse(ctx context.Context, teamID TeamID, reqEditors ...RequestEditorFn) (*GetUnstableTeamsTeamIDLimitsResponse, error)

GetUnstableTeamsTeamIDLimitsWithResponse Team limits

Returns the team's effective resource limits. A team-authenticated request may read only its own team.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /unstable/teams/{teamID}/limits (the `GetUnstableTeamsTeamIDLimits` operationId).

func (*ClientWithResponses) GetUnstableTeamsTeamIDStatusWithResponse

func (c *ClientWithResponses) GetUnstableTeamsTeamIDStatusWithResponse(ctx context.Context, teamID TeamID, reqEditors ...RequestEditorFn) (*GetUnstableTeamsTeamIDStatusResponse, error)

GetUnstableTeamsTeamIDStatusWithResponse Team access status

Returns whether the team is banned or blocked, and why it is blocked. A team-authenticated request may read only its own team.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /unstable/teams/{teamID}/status (the `GetUnstableTeamsTeamIDStatus` operationId).

func (*ClientWithResponses) GetUnstableTemplatesSearchWithResponse

func (c *ClientWithResponses) GetUnstableTemplatesSearchWithResponse(ctx context.Context, params *GetUnstableTemplatesSearchParams, reqEditors ...RequestEditorFn) (*GetUnstableTemplatesSearchResponse, error)

GetUnstableTemplatesSearchWithResponse Search templates

Lists the team's templates together with the platform's public default templates, which carry `isDefault: true`, with search, a visibility filter and sorts. Default templates are not listed to teams on a dedicated cluster, and those owned by another team carry zero or null usage fields. Results are newest first unless `sort` says otherwise; `nextCursor` continues the listing and is only valid with the same `sort`. For E2B's own clients: it may change or disappear without notice.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /unstable/templates/search (the `GetUnstableTemplatesSearch` operationId).

func (*ClientWithResponses) GetV2SandboxesSandboxIDLogsWithResponse

func (c *ClientWithResponses) GetV2SandboxesSandboxIDLogsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetV2SandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*GetV2SandboxesSandboxIDLogsResponse, error)

GetV2SandboxesSandboxIDLogsWithResponse Sandbox logs (v2)

Get sandbox logs.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/sandboxes/{sandboxID}/logs (the `GetV2SandboxesSandboxIDLogs` operationId).

func (*ClientWithResponses) GetV2SandboxesWithResponse

func (c *ClientWithResponses) GetV2SandboxesWithResponse(ctx context.Context, params *GetV2SandboxesParams, reqEditors ...RequestEditorFn) (*GetV2SandboxesResponse, error)

GetV2SandboxesWithResponse List sandboxes (v2)

List all sandboxes.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/sandboxes (the `GetV2Sandboxes` operationId).

func (*ClientWithResponses) GetV2TemplatesTemplateIDWithResponse

func (c *ClientWithResponses) GetV2TemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*GetV2TemplatesTemplateIDResponse, error)

GetV2TemplatesTemplateIDWithResponse Template info (v2)

Get a template by its ID or name, with its default build and without its other builds.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/templates/{templateID} (the `GetV2TemplatesTemplateID` operationId).

func (*ClientWithResponses) GetV2TemplatesWithResponse

func (c *ClientWithResponses) GetV2TemplatesWithResponse(ctx context.Context, params *GetV2TemplatesParams, reqEditors ...RequestEditorFn) (*GetV2TemplatesResponse, error)

GetV2TemplatesWithResponse List templates (v2)

List all templates.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/templates (the `GetV2Templates` operationId).

func (*ClientWithResponses) GetVolumesVolumeIDWithResponse

func (c *ClientWithResponses) GetVolumesVolumeIDWithResponse(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*GetVolumesVolumeIDResponse, error)

GetVolumesVolumeIDWithResponse Team volume

Get team volume info.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /volumes/{volumeID} (the `GetVolumesVolumeID` operationId).

func (*ClientWithResponses) GetVolumesWithResponse

func (c *ClientWithResponses) GetVolumesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVolumesResponse, error)

GetVolumesWithResponse List team volumes

List all team volumes.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /volumes (the `GetVolumes` operationId).

func (*ClientWithResponses) ManagementApplyProjectBanWithBodyWithResponse

func (c *ClientWithResponses) ManagementApplyProjectBanWithBodyWithResponse(ctx context.Context, projectID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementApplyProjectBanResponse, error)

ManagementApplyProjectBanWithBodyWithResponse Apply a project's ban state.

Records whether the project is banned. Authentication refuses a banned project's API keys and members. A revision that turns the ban on also kills the project's running sandboxes and cancels its builds in the background, and retries while the project stays banned and any of them remain. The newest revision wins: an older or duplicate revision is accepted without changing target state. Answers 404 when the project is missing or deleted.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /unstable/management/projects/{projectID}/ban (the `ManagementApplyProjectBan` operationId).

func (*ClientWithResponses) ManagementApplyProjectBanWithResponse

func (c *ClientWithResponses) ManagementApplyProjectBanWithResponse(ctx context.Context, projectID openapi_types.UUID, body ManagementApplyProjectBanJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementApplyProjectBanResponse, error)

ManagementApplyProjectBanWithResponse Apply a project's ban state.

Records whether the project is banned. Authentication refuses a banned project's API keys and members. A revision that turns the ban on also kills the project's running sandboxes and cancels its builds in the background, and retries while the project stays banned and any of them remain. The newest revision wins: an older or duplicate revision is accepted without changing target state. Answers 404 when the project is missing or deleted.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /unstable/management/projects/{projectID}/ban (the `ManagementApplyProjectBan` operationId).

func (*ClientWithResponses) ManagementApplyProjectBlockWithBodyWithResponse

func (c *ClientWithResponses) ManagementApplyProjectBlockWithBodyWithResponse(ctx context.Context, projectID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementApplyProjectBlockResponse, error)

ManagementApplyProjectBlockWithBodyWithResponse Apply a project's block state.

Records whether the project is refused billable work, which the auth path reads before it lets a sandbox start. An older or duplicate revision is accepted without changing target state. Answers 404 when the project is missing or deleted.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /unstable/management/projects/{projectID}/block (the `ManagementApplyProjectBlock` operationId).

func (*ClientWithResponses) ManagementApplyProjectBlockWithResponse

func (c *ClientWithResponses) ManagementApplyProjectBlockWithResponse(ctx context.Context, projectID openapi_types.UUID, body ManagementApplyProjectBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementApplyProjectBlockResponse, error)

ManagementApplyProjectBlockWithResponse Apply a project's block state.

Records whether the project is refused billable work, which the auth path reads before it lets a sandbox start. An older or duplicate revision is accepted without changing target state. Answers 404 when the project is missing or deleted.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /unstable/management/projects/{projectID}/block (the `ManagementApplyProjectBlock` operationId).

func (*ClientWithResponses) ManagementApplyProjectMemberWithBodyWithResponse

func (c *ClientWithResponses) ManagementApplyProjectMemberWithBodyWithResponse(ctx context.Context, projectID openapi_types.UUID, userID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementApplyProjectMemberResponse, error)

ManagementApplyProjectMemberWithBodyWithResponse Apply one versioned project member projection.

Applies the newest desired presence for one project member. An older or duplicate revision is accepted without changing target state.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /unstable/management/projects/{projectID}/members/{userID} (the `ManagementApplyProjectMember` operationId).

func (*ClientWithResponses) ManagementApplyProjectMemberWithResponse

func (c *ClientWithResponses) ManagementApplyProjectMemberWithResponse(ctx context.Context, projectID openapi_types.UUID, userID openapi_types.UUID, body ManagementApplyProjectMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementApplyProjectMemberResponse, error)

ManagementApplyProjectMemberWithResponse Apply one versioned project member projection.

Applies the newest desired presence for one project member. An older or duplicate revision is accepted without changing target state.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /unstable/management/projects/{projectID}/members/{userID} (the `ManagementApplyProjectMember` operationId).

func (*ClientWithResponses) ManagementClusterDestroyReadinessWithResponse

func (c *ClientWithResponses) ManagementClusterDestroyReadinessWithResponse(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*ManagementClusterDestroyReadinessResponse, error)

ManagementClusterDestroyReadinessWithResponse Check cluster destroy readiness.

Checks whether the cluster has deletion protection turned on, or more than one team uses this exact cluster, either as an assigned team or as the owner of active templates or snapshots on it. One team's own templates and snapshots do not block this check, because deleting the cluster soft-deletes them. Soft-deleted history does not count. Returns success if the cluster is absent. This read does not change resources or prevent later assignments or template creation.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /unstable/management/clusters/{clusterID}/destroy-readiness (the `ManagementClusterDestroyReadiness` operationId).

func (*ClientWithResponses) ManagementDeleteClusterWithResponse

func (c *ClientWithResponses) ManagementDeleteClusterWithResponse(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*ManagementDeleteClusterResponse, error)

ManagementDeleteClusterWithResponse Delete a cluster and its environments.

Deletes a cluster after all team assignments are detached. Deletion protection on the cluster rejects the deletion, and so does a live team assignment, before anything changes. In one transaction, which no team assignment can interleave with, it then soft-deletes every live template, snapshot template and paused sandbox snapshot on the cluster, releases their aliases, and releases all environment references while preserving environment and build history; the cluster service records the deletion and then deletes the cluster. An assignment requested meanwhile waits and is then refused. If the cluster service does not delete the cluster, nothing is soft-deleted and the cluster stays recorded as being deleted. Deleting an absent cluster still releases its templates, and is refused while a live team is assigned to it. The local cluster's nil ID is rejected. Repeating a completed deletion succeeds.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /unstable/management/clusters/{clusterID} (the `ManagementDeleteCluster` operationId).

func (*ClientWithResponses) ManagementDeleteProjectWithResponse

func (c *ClientWithResponses) ManagementDeleteProjectWithResponse(ctx context.Context, projectID openapi_types.UUID, reqEditors ...RequestEditorFn) (*ManagementDeleteProjectResponse, error)

ManagementDeleteProjectWithResponse Soft-delete a project.

Marks the project deleted and blocked, releases its cluster assignment, scrubs its name and email to DELETED and its slug to deleted-<project ID>, which releases the old slug for reuse, deletes its memberships and API keys, soft-deletes its templates and snapshots, and enqueues the teardown of its running sandboxes, all in one transaction. The project row remains. Afterwards the project answers 404 to other management writes. Repeating the call answers 204 and repeats every step except the deletion time: it re-blocks and re-scrubs the project, clears a cluster assignment written since, deletes any memberships, keys, templates or snapshots created since, and enqueues the teardown again.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /unstable/management/projects/{projectID} (the `ManagementDeleteProject` operationId).

func (*ClientWithResponses) ManagementListClusterProjectsWithResponse

func (c *ClientWithResponses) ManagementListClusterProjectsWithResponse(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*ManagementListClusterProjectsResponse, error)

ManagementListClusterProjectsWithResponse List the projects assigned to a cluster.

Returns the ID of every project whose team is assigned to the cluster, whichever way it was assigned. A deleted project is never assigned. An absent cluster has no projects.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /unstable/management/clusters/{clusterID}/projects (the `ManagementListClusterProjects` operationId).

func (*ClientWithResponses) ManagementRemoveClusterRegistrationWithResponse

func (c *ClientWithResponses) ManagementRemoveClusterRegistrationWithResponse(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*ManagementRemoveClusterRegistrationResponse, error)

ManagementRemoveClusterRegistrationWithResponse Remove a cluster and leave surviving projects without a runtime.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /unstable/management/clusters/{clusterID}/registration (the `ManagementRemoveClusterRegistration` operationId).

func (*ClientWithResponses) ManagementRequestClusterDeletionWithResponse

func (c *ClientWithResponses) ManagementRequestClusterDeletionWithResponse(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*ManagementRequestClusterDeletionResponse, error)

ManagementRequestClusterDeletionWithResponse Record that a cluster is being deleted.

Records that the caller is deleting the cluster, for a caller that deletes the cluster's teams before the cluster itself. Refused while the cluster has deletion protection turned on; a protection change in flight commits before or after the check, never between. Once recorded, deletion protection cannot be turned on, so the cluster delete that follows is not refused for protection, and no team can be newly assigned to the cluster. An assignment either commits before this request returns, where the caller's next project listing finds it, or is refused with a conflict. Succeeds when the cluster is absent. Repeating the request succeeds. The local cluster's nil ID is rejected.

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /unstable/management/clusters/{clusterID}/deletion (the `ManagementRequestClusterDeletion` operationId).

func (*ClientWithResponses) ManagementSetProjectSettingsWithBodyWithResponse

func (c *ClientWithResponses) ManagementSetProjectSettingsWithBodyWithResponse(ctx context.Context, projectID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementSetProjectSettingsResponse, error)

ManagementSetProjectSettingsWithBodyWithResponse Apply a project's settings revision.

Replaces the complete project settings document when the revision is newer than the stored revision. Omitted settings are removed. Older and duplicate revisions leave the stored document unchanged. Every successful delivery invalidates the cached team. Answers 404 when the project is missing or deleted.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /unstable/management/projects/{projectID}/settings (the `ManagementSetProjectSettings` operationId).

func (*ClientWithResponses) ManagementSetProjectSettingsWithResponse

func (c *ClientWithResponses) ManagementSetProjectSettingsWithResponse(ctx context.Context, projectID openapi_types.UUID, body ManagementSetProjectSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementSetProjectSettingsResponse, error)

ManagementSetProjectSettingsWithResponse Apply a project's settings revision.

Replaces the complete project settings document when the revision is newer than the stored revision. Omitted settings are removed. Older and duplicate revisions leave the stored document unchanged. Every successful delivery invalidates the cached team. Answers 404 when the project is missing or deleted.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /unstable/management/projects/{projectID}/settings (the `ManagementSetProjectSettings` operationId).

func (*ClientWithResponses) ManagementTelemetryNamesWithResponse

func (c *ClientWithResponses) ManagementTelemetryNamesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ManagementTelemetryNamesResponse, error)

ManagementTelemetryNamesWithResponse Read team and cluster names for telemetry.

Requires a direct mutual TLS connection from the configured telemetry reader service identity. Bearer tokens and forwarded identity headers are not accepted. Returns regional team and cluster names without connection credentials. Deleted projects and clusters being deleted are omitted.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /unstable/management/telemetry/names (the `ManagementTelemetryNames` operationId).

func (*ClientWithResponses) ManagementUpsertProjectLimitsWithBodyWithResponse

func (c *ClientWithResponses) ManagementUpsertProjectLimitsWithBodyWithResponse(ctx context.Context, projectID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementUpsertProjectLimitsResponse, error)

ManagementUpsertProjectLimitsWithBodyWithResponse Reconcile effective limits for a project.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /unstable/management/projects/{projectID}/limits (the `ManagementUpsertProjectLimits` operationId).

func (*ClientWithResponses) ManagementUpsertProjectLimitsWithResponse

func (c *ClientWithResponses) ManagementUpsertProjectLimitsWithResponse(ctx context.Context, projectID openapi_types.UUID, body ManagementUpsertProjectLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementUpsertProjectLimitsResponse, error)

ManagementUpsertProjectLimitsWithResponse Reconcile effective limits for a project.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /unstable/management/projects/{projectID}/limits (the `ManagementUpsertProjectLimits` operationId).

func (*ClientWithResponses) ManagementUpsertProjectWithBodyWithResponse

func (c *ClientWithResponses) ManagementUpsertProjectWithBodyWithResponse(ctx context.Context, projectID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementUpsertProjectResponse, error)

ManagementUpsertProjectWithBodyWithResponse Create or reconcile a project.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /unstable/management/projects/{projectID} (the `ManagementUpsertProject` operationId).

func (*ClientWithResponses) ManagementUpsertProjectWithResponse

func (c *ClientWithResponses) ManagementUpsertProjectWithResponse(ctx context.Context, projectID openapi_types.UUID, body ManagementUpsertProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementUpsertProjectResponse, error)

ManagementUpsertProjectWithResponse Create or reconcile a project.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /unstable/management/projects/{projectID} (the `ManagementUpsertProject` operationId).

func (*ClientWithResponses) PatchApiKeysApiKeyIDWithBodyWithResponse

func (c *ClientWithResponses) PatchApiKeysApiKeyIDWithBodyWithResponse(ctx context.Context, apiKeyID ApiKeyID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchApiKeysApiKeyIDResponse, error)

PatchApiKeysApiKeyIDWithBodyWithResponse Update team API key

Update a team API key.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api-keys/{apiKeyID} (the `PatchApiKeysApiKeyID` operationId).

func (*ClientWithResponses) PatchApiKeysApiKeyIDWithResponse

func (c *ClientWithResponses) PatchApiKeysApiKeyIDWithResponse(ctx context.Context, apiKeyID ApiKeyID, body PatchApiKeysApiKeyIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchApiKeysApiKeyIDResponse, error)

PatchApiKeysApiKeyIDWithResponse Update team API key

Update a team API key.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api-keys/{apiKeyID} (the `PatchApiKeysApiKeyID` operationId).

func (*ClientWithResponses) PatchEventsWebhooksWebhookIDWithBodyWithResponse

func (c *ClientWithResponses) PatchEventsWebhooksWebhookIDWithBodyWithResponse(ctx context.Context, webhookID WebhookID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchEventsWebhooksWebhookIDResponse, error)

PatchEventsWebhooksWebhookIDWithBodyWithResponse performs a PATCH /events/webhooks/{webhookID} (the `PatchEventsWebhooksWebhookID` operationId) request, with any type of body and a specified content type.

Update a registered webhook configuration.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PatchEventsWebhooksWebhookIDWithResponse

func (c *ClientWithResponses) PatchEventsWebhooksWebhookIDWithResponse(ctx context.Context, webhookID WebhookID, body PatchEventsWebhooksWebhookIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchEventsWebhooksWebhookIDResponse, error)

PatchEventsWebhooksWebhookIDWithResponse performs a PATCH /events/webhooks/{webhookID} (the `PatchEventsWebhooksWebhookID` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Update a registered webhook configuration.

func (*ClientWithResponses) PatchTemplatesTemplateIDWithBodyWithResponse deprecated

func (c *ClientWithResponses) PatchTemplatesTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchTemplatesTemplateIDResponse, error)

PatchTemplatesTemplateIDWithBodyWithResponse Update template

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) PatchTemplatesTemplateIDWithResponse

func (c *ClientWithResponses) PatchTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, body PatchTemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchTemplatesTemplateIDResponse, error)

PatchTemplatesTemplateIDWithResponse Update template

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) PatchUnstableAdminTemplatesDefaultsTemplateIDWithBodyWithResponse

func (c *ClientWithResponses) PatchUnstableAdminTemplatesDefaultsTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchUnstableAdminTemplatesDefaultsTemplateIDResponse, error)

PatchUnstableAdminTemplatesDefaultsTemplateIDWithBodyWithResponse Update a default template as admin

Updates the description of a default template. Returns 404 when the template is not a default template.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /unstable/admin/templates/defaults/{templateID} (the `PatchUnstableAdminTemplatesDefaultsTemplateID` operationId).

func (*ClientWithResponses) PatchUnstableAdminTemplatesDefaultsTemplateIDWithResponse

func (c *ClientWithResponses) PatchUnstableAdminTemplatesDefaultsTemplateIDWithResponse(ctx context.Context, templateID TemplateID, body PatchUnstableAdminTemplatesDefaultsTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchUnstableAdminTemplatesDefaultsTemplateIDResponse, error)

PatchUnstableAdminTemplatesDefaultsTemplateIDWithResponse Update a default template as admin

Updates the description of a default template. Returns 404 when the template is not a default template.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /unstable/admin/templates/defaults/{templateID} (the `PatchUnstableAdminTemplatesDefaultsTemplateID` operationId).

func (*ClientWithResponses) PatchV2TemplatesTemplateIDWithBodyWithResponse

func (c *ClientWithResponses) PatchV2TemplatesTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV2TemplatesTemplateIDResponse, error)

PatchV2TemplatesTemplateIDWithBodyWithResponse Update template (v2)

Update template.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).

func (*ClientWithResponses) PatchV2TemplatesTemplateIDWithResponse

func (c *ClientWithResponses) PatchV2TemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, body PatchV2TemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2TemplatesTemplateIDResponse, error)

PatchV2TemplatesTemplateIDWithResponse Update template (v2)

Update template.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).

func (*ClientWithResponses) PostAdminTeamsTeamIDApiKeysWithBodyWithResponse

func (c *ClientWithResponses) PostAdminTeamsTeamIDApiKeysWithBodyWithResponse(ctx context.Context, teamID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAdminTeamsTeamIDApiKeysResponse, error)

PostAdminTeamsTeamIDApiKeysWithBodyWithResponse Create team API key as admin

Creates a team API key for internal service workflows.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /admin/teams/{teamID}/api-keys (the `PostAdminTeamsTeamIDApiKeys` operationId).

func (*ClientWithResponses) PostAdminTeamsTeamIDApiKeysWithResponse

func (c *ClientWithResponses) PostAdminTeamsTeamIDApiKeysWithResponse(ctx context.Context, teamID openapi_types.UUID, body PostAdminTeamsTeamIDApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAdminTeamsTeamIDApiKeysResponse, error)

PostAdminTeamsTeamIDApiKeysWithResponse Create team API key as admin

Creates a team API key for internal service workflows.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /admin/teams/{teamID}/api-keys (the `PostAdminTeamsTeamIDApiKeys` operationId).

func (*ClientWithResponses) PostAdminTeamsTeamIDBuildsCancelWithResponse

func (c *ClientWithResponses) PostAdminTeamsTeamIDBuildsCancelWithResponse(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*PostAdminTeamsTeamIDBuildsCancelResponse, error)

PostAdminTeamsTeamIDBuildsCancelWithResponse Cancel all builds for a team

Cancels all in-progress and pending builds for the specified team.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /admin/teams/{teamID}/builds/cancel (the `PostAdminTeamsTeamIDBuildsCancel` operationId).

func (*ClientWithResponses) PostAdminTeamsTeamIDSandboxesKillWithResponse

func (c *ClientWithResponses) PostAdminTeamsTeamIDSandboxesKillWithResponse(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*PostAdminTeamsTeamIDSandboxesKillResponse, error)

PostAdminTeamsTeamIDSandboxesKillWithResponse Kill all sandboxes for a team

Kills all sandboxes for the specified team.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /admin/teams/{teamID}/sandboxes/kill (the `PostAdminTeamsTeamIDSandboxesKill` operationId).

func (*ClientWithResponses) PostApiKeysWithBodyWithResponse

func (c *ClientWithResponses) PostApiKeysWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiKeysResponse, error)

PostApiKeysWithBodyWithResponse Create team API key

Create a new team API key.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api-keys (the `PostApiKeys` operationId).

func (*ClientWithResponses) PostApiKeysWithResponse

func (c *ClientWithResponses) PostApiKeysWithResponse(ctx context.Context, body PostApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiKeysResponse, error)

PostApiKeysWithResponse Create team API key

Create a new team API key.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api-keys (the `PostApiKeys` operationId).

func (*ClientWithResponses) PostEventsWebhooksWithBodyWithResponse

func (c *ClientWithResponses) PostEventsWebhooksWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostEventsWebhooksResponse, error)

PostEventsWebhooksWithBodyWithResponse performs a POST /events/webhooks (the `PostEventsWebhooks` operationId) request, with any type of body and a specified content type.

Register events webhook.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostEventsWebhooksWithResponse

func (c *ClientWithResponses) PostEventsWebhooksWithResponse(ctx context.Context, body PostEventsWebhooksJSONRequestBody, reqEditors ...RequestEditorFn) (*PostEventsWebhooksResponse, error)

PostEventsWebhooksWithResponse performs a POST /events/webhooks (the `PostEventsWebhooks` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Register events webhook.

func (*ClientWithResponses) PostNodesNodeIDWithBodyWithResponse

func (c *ClientWithResponses) PostNodesNodeIDWithBodyWithResponse(ctx context.Context, nodeID NodeID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodesNodeIDResponse, error)

PostNodesNodeIDWithBodyWithResponse Change node status

Change status of a node.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /nodes/{nodeID} (the `PostNodesNodeID` operationId).

func (*ClientWithResponses) PostNodesNodeIDWithResponse

func (c *ClientWithResponses) PostNodesNodeIDWithResponse(ctx context.Context, nodeID NodeID, body PostNodesNodeIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodesNodeIDResponse, error)

PostNodesNodeIDWithResponse Change node status

Change status of a node.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /nodes/{nodeID} (the `PostNodesNodeID` operationId).

func (*ClientWithResponses) PostSandboxesSandboxIDConnectWithBodyWithResponse deprecated

func (c *ClientWithResponses) PostSandboxesSandboxIDConnectWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDConnectResponse, error)

PostSandboxesSandboxIDConnectWithBodyWithResponse Connect sandbox

Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) PostSandboxesSandboxIDConnectWithResponse

func (c *ClientWithResponses) PostSandboxesSandboxIDConnectWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDConnectResponse, error)

PostSandboxesSandboxIDConnectWithResponse Connect sandbox

Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) PostSandboxesSandboxIDForkWithBodyWithResponse

func (c *ClientWithResponses) PostSandboxesSandboxIDForkWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDForkResponse, error)

PostSandboxesSandboxIDForkWithBodyWithResponse Fork sandbox

Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).

func (*ClientWithResponses) PostSandboxesSandboxIDForkWithResponse

func (c *ClientWithResponses) PostSandboxesSandboxIDForkWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDForkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDForkResponse, error)

PostSandboxesSandboxIDForkWithResponse Fork sandbox

Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).

func (*ClientWithResponses) PostSandboxesSandboxIDPauseWithBodyWithResponse

func (c *ClientWithResponses) PostSandboxesSandboxIDPauseWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDPauseResponse, error)

PostSandboxesSandboxIDPauseWithBodyWithResponse Pause sandbox

Pause the sandbox. Answers 503 and leaves the sandbox running when it cannot be paused right now: its node is busy, it is being snapshotted, or `requireHealthyGuest` was set and the sandbox guest agent is not responding; retry later.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).

func (*ClientWithResponses) PostSandboxesSandboxIDPauseWithResponse

func (c *ClientWithResponses) PostSandboxesSandboxIDPauseWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDPauseJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDPauseResponse, error)

PostSandboxesSandboxIDPauseWithResponse Pause sandbox

Pause the sandbox. Answers 503 and leaves the sandbox running when it cannot be paused right now: its node is busy, it is being snapshotted, or `requireHealthyGuest` was set and the sandbox guest agent is not responding; retry later.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).

func (*ClientWithResponses) PostSandboxesSandboxIDRefreshesWithBodyWithResponse

func (c *ClientWithResponses) PostSandboxesSandboxIDRefreshesWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDRefreshesResponse, error)

PostSandboxesSandboxIDRefreshesWithBodyWithResponse Refresh sandbox

Refresh the sandbox extending its time to live.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).

func (*ClientWithResponses) PostSandboxesSandboxIDRefreshesWithResponse

func (c *ClientWithResponses) PostSandboxesSandboxIDRefreshesWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDRefreshesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDRefreshesResponse, error)

PostSandboxesSandboxIDRefreshesWithResponse Refresh sandbox

Refresh the sandbox extending its time to live.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).

func (*ClientWithResponses) PostSandboxesSandboxIDResumeWithBodyWithResponse deprecated

func (c *ClientWithResponses) PostSandboxesSandboxIDResumeWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDResumeResponse, error)

PostSandboxesSandboxIDResumeWithBodyWithResponse Resume sandbox

Resume the sandbox. Answers 409 when the sandbox is already running, or when its snapshot was taken while the sandbox guest agent was not responding and a plain resume would restore that memory (error_code sandbox_snapshot_guest_agent_unresponsive); resume such a sandbox without memory (`memory: false`).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) PostSandboxesSandboxIDResumeWithResponse

func (c *ClientWithResponses) PostSandboxesSandboxIDResumeWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDResumeJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDResumeResponse, error)

PostSandboxesSandboxIDResumeWithResponse Resume sandbox

Resume the sandbox. Answers 409 when the sandbox is already running, or when its snapshot was taken while the sandbox guest agent was not responding and a plain resume would restore that memory (error_code sandbox_snapshot_guest_agent_unresponsive); resume such a sandbox without memory (`memory: false`).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) PostSandboxesSandboxIDSnapshotsWithBodyWithResponse

func (c *ClientWithResponses) PostSandboxesSandboxIDSnapshotsWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, params *PostSandboxesSandboxIDSnapshotsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDSnapshotsResponse, error)

PostSandboxesSandboxIDSnapshotsWithBodyWithResponse Create snapshot

Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).

func (*ClientWithResponses) PostSandboxesSandboxIDSnapshotsWithResponse

PostSandboxesSandboxIDSnapshotsWithResponse Create snapshot

Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).

func (*ClientWithResponses) PostSandboxesSandboxIDTimeoutWithBodyWithResponse

func (c *ClientWithResponses) PostSandboxesSandboxIDTimeoutWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDTimeoutResponse, error)

PostSandboxesSandboxIDTimeoutWithBodyWithResponse Set sandbox timeout

Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).

func (*ClientWithResponses) PostSandboxesSandboxIDTimeoutWithResponse

func (c *ClientWithResponses) PostSandboxesSandboxIDTimeoutWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDTimeoutJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDTimeoutResponse, error)

PostSandboxesSandboxIDTimeoutWithResponse Set sandbox timeout

Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).

func (*ClientWithResponses) PostSandboxesWithBodyWithResponse deprecated

func (c *ClientWithResponses) PostSandboxesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesResponse, error)

PostSandboxesWithBodyWithResponse Create sandbox

Create a sandbox from the template. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes (the `PostSandboxes` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) PostSandboxesWithResponse

func (c *ClientWithResponses) PostSandboxesWithResponse(ctx context.Context, body PostSandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesResponse, error)

PostSandboxesWithResponse Create sandbox

Create a sandbox from the template. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /sandboxes (the `PostSandboxes` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) PostSecretsSecretIDWithBodyWithResponse

func (c *ClientWithResponses) PostSecretsSecretIDWithBodyWithResponse(ctx context.Context, secretID SecretID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSecretsSecretIDResponse, error)

PostSecretsSecretIDWithBodyWithResponse Update a secret

Replace the secret's stored marker by appending a new version. The response carries metadata only.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).

func (*ClientWithResponses) PostSecretsSecretIDWithResponse

func (c *ClientWithResponses) PostSecretsSecretIDWithResponse(ctx context.Context, secretID SecretID, body PostSecretsSecretIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSecretsSecretIDResponse, error)

PostSecretsSecretIDWithResponse Update a secret

Replace the secret's stored marker by appending a new version. The response carries metadata only.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).

func (*ClientWithResponses) PostSecretsWithBodyWithResponse

func (c *ClientWithResponses) PostSecretsWithBodyWithResponse(ctx context.Context, params *PostSecretsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSecretsResponse, error)

PostSecretsWithBodyWithResponse Create a secret

Create a secret by storing a runtime marker as its first version. The response carries metadata only. The value is not part of the Idempotency-Key comparison: reusing a key with a different value replays the first result.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /secrets (the `PostSecrets` operationId).

func (*ClientWithResponses) PostSecretsWithResponse

func (c *ClientWithResponses) PostSecretsWithResponse(ctx context.Context, params *PostSecretsParams, body PostSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSecretsResponse, error)

PostSecretsWithResponse Create a secret

Create a secret by storing a runtime marker as its first version. The response carries metadata only. The value is not part of the Idempotency-Key comparison: reusing a key with a different value replays the first result.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /secrets (the `PostSecrets` operationId).

func (*ClientWithResponses) PostTemplatesTagsWithBodyWithResponse

func (c *ClientWithResponses) PostTemplatesTagsWithBodyWithResponse(ctx context.Context, params *PostTemplatesTagsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTemplatesTagsResponse, error)

PostTemplatesTagsWithBodyWithResponse Assign template tags

Assign tag(s) to a template build.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).

func (*ClientWithResponses) PostTemplatesTagsWithResponse

PostTemplatesTagsWithResponse Assign template tags

Assign tag(s) to a template build.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).

func (*ClientWithResponses) PostUnstableAdminSandboxesSandboxIDBuildsRestoreWithBodyWithResponse

func (c *ClientWithResponses) PostUnstableAdminSandboxesSandboxIDBuildsRestoreWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse, error)

PostUnstableAdminSandboxesSandboxIDBuildsRestoreWithBodyWithResponse Make a build the current build of a sandbox's snapshot

Assigns a ready build of the sandbox's snapshot template to the template again under the default tag, so the sandbox resumes from that build. The snapshot takes the restored build's kind, filesystem-only or memory. Answers 404 when the sandbox has no snapshot, its snapshot template is deleted, or the build is not assigned to that template under the default tag, and 409 when the build is not ready or is already the current build.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /unstable/admin/sandboxes/{sandboxID}/builds/restore (the `PostUnstableAdminSandboxesSandboxIDBuildsRestore` operationId).

func (*ClientWithResponses) PostUnstableAdminSandboxesSandboxIDBuildsRestoreWithResponse

func (c *ClientWithResponses) PostUnstableAdminSandboxesSandboxIDBuildsRestoreWithResponse(ctx context.Context, sandboxID SandboxID, body PostUnstableAdminSandboxesSandboxIDBuildsRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse, error)

PostUnstableAdminSandboxesSandboxIDBuildsRestoreWithResponse Make a build the current build of a sandbox's snapshot

Assigns a ready build of the sandbox's snapshot template to the template again under the default tag, so the sandbox resumes from that build. The snapshot takes the restored build's kind, filesystem-only or memory. Answers 404 when the sandbox has no snapshot, its snapshot template is deleted, or the build is not assigned to that template under the default tag, and 409 when the build is not ready or is already the current build.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /unstable/admin/sandboxes/{sandboxID}/builds/restore (the `PostUnstableAdminSandboxesSandboxIDBuildsRestore` operationId).

func (*ClientWithResponses) PostUnstableAdminTeamsQueryWithBodyWithResponse

func (c *ClientWithResponses) PostUnstableAdminTeamsQueryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUnstableAdminTeamsQueryResponse, error)

PostUnstableAdminTeamsQueryWithBodyWithResponse List teams as admin

Lists teams matching the filters in the request body, with each team's member count, and its running sandbox count when sorted by running sandboxes. A read despite the POST: the body carries a project ID list too long for a query string.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /unstable/admin/teams/query (the `PostUnstableAdminTeamsQuery` operationId).

func (*ClientWithResponses) PostUnstableAdminTeamsQueryWithResponse

func (c *ClientWithResponses) PostUnstableAdminTeamsQueryWithResponse(ctx context.Context, body PostUnstableAdminTeamsQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUnstableAdminTeamsQueryResponse, error)

PostUnstableAdminTeamsQueryWithResponse List teams as admin

Lists teams matching the filters in the request body, with each team's member count, and its running sandbox count when sorted by running sandboxes. A read despite the POST: the body carries a project ID list too long for a query string.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /unstable/admin/teams/query (the `PostUnstableAdminTeamsQuery` operationId).

func (*ClientWithResponses) PostUnstableAdminTemplatesAliasesWithBodyWithResponse

func (c *ClientWithResponses) PostUnstableAdminTemplatesAliasesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUnstableAdminTemplatesAliasesResponse, error)

PostUnstableAdminTemplatesAliasesWithBodyWithResponse Add a template alias without a namespace as admin

Adds an alias without a namespace to a template, so the template resolves by that name for every team. The alias follows the rules of template names (lowercase letters, digits, `-` and `_`) and cannot equal a template ID. Returns 404 when the template does not exist and 409 when the alias is taken.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /unstable/admin/templates/aliases (the `PostUnstableAdminTemplatesAliases` operationId).

func (*ClientWithResponses) PostUnstableAdminTemplatesAliasesWithResponse

PostUnstableAdminTemplatesAliasesWithResponse Add a template alias without a namespace as admin

Adds an alias without a namespace to a template, so the template resolves by that name for every team. The alias follows the rules of template names (lowercase letters, digits, `-` and `_`) and cannot equal a template ID. Returns 404 when the template does not exist and 409 when the alias is taken.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /unstable/admin/templates/aliases (the `PostUnstableAdminTemplatesAliases` operationId).

func (*ClientWithResponses) PostUnstableAdminTemplatesDefaultsWithBodyWithResponse

func (c *ClientWithResponses) PostUnstableAdminTemplatesDefaultsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUnstableAdminTemplatesDefaultsResponse, error)

PostUnstableAdminTemplatesDefaultsWithBodyWithResponse Add a default template as admin

Makes a template one of the platform's default templates. Returns 404 when the template does not exist and 409 when it is already a default template.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /unstable/admin/templates/defaults (the `PostUnstableAdminTemplatesDefaults` operationId).

func (*ClientWithResponses) PostUnstableAdminTemplatesDefaultsWithResponse

PostUnstableAdminTemplatesDefaultsWithResponse Add a default template as admin

Makes a template one of the platform's default templates. Returns 404 when the template does not exist and 409 when it is already a default template.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /unstable/admin/templates/defaults (the `PostUnstableAdminTemplatesDefaults` operationId).

func (*ClientWithResponses) PostV2SandboxesSandboxIDConnectWithBodyWithResponse

func (c *ClientWithResponses) PostV2SandboxesSandboxIDConnectWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2SandboxesSandboxIDConnectResponse, error)

PostV2SandboxesSandboxIDConnectWithBodyWithResponse Connect sandbox (v2)

Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).

func (*ClientWithResponses) PostV2SandboxesSandboxIDConnectWithResponse

func (c *ClientWithResponses) PostV2SandboxesSandboxIDConnectWithResponse(ctx context.Context, sandboxID SandboxID, body PostV2SandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2SandboxesSandboxIDConnectResponse, error)

PostV2SandboxesSandboxIDConnectWithResponse Connect sandbox (v2)

Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).

func (*ClientWithResponses) PostV2SandboxesWithBodyWithResponse

func (c *ClientWithResponses) PostV2SandboxesWithBodyWithResponse(ctx context.Context, params *PostV2SandboxesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2SandboxesResponse, error)

PostV2SandboxesWithBodyWithResponse Create sandbox (v2)

Create a sandbox from the template. All system communication with the sandbox is secured.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).

func (*ClientWithResponses) PostV2SandboxesWithResponse

func (c *ClientWithResponses) PostV2SandboxesWithResponse(ctx context.Context, params *PostV2SandboxesParams, body PostV2SandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2SandboxesResponse, error)

PostV2SandboxesWithResponse Create sandbox (v2)

Create a sandbox from the template. All system communication with the sandbox is secured.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).

func (*ClientWithResponses) PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse

func (c *ClientWithResponses) PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, params *PostV2TemplatesTemplateIDBuildsBuildIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)

PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse Start template build (v2)

Start the build. With an Idempotency-Key, replays continue to work after the build has left the waiting state.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).

func (*ClientWithResponses) PostV2TemplatesTemplateIDBuildsBuildIDWithResponse

PostV2TemplatesTemplateIDBuildsBuildIDWithResponse Start template build (v2)

Start the build. With an Idempotency-Key, replays continue to work after the build has left the waiting state.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).

func (*ClientWithResponses) PostV3TemplatesWithBodyWithResponse

func (c *ClientWithResponses) PostV3TemplatesWithBodyWithResponse(ctx context.Context, params *PostV3TemplatesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV3TemplatesResponse, error)

PostV3TemplatesWithBodyWithResponse Create template (v3)

Create a new template.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v3/templates (the `PostV3Templates` operationId).

func (*ClientWithResponses) PostV3TemplatesWithResponse

func (c *ClientWithResponses) PostV3TemplatesWithResponse(ctx context.Context, params *PostV3TemplatesParams, body PostV3TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV3TemplatesResponse, error)

PostV3TemplatesWithResponse Create template (v3)

Create a new template.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v3/templates (the `PostV3Templates` operationId).

func (*ClientWithResponses) PostVolumesWithBodyWithResponse

func (c *ClientWithResponses) PostVolumesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVolumesResponse, error)

PostVolumesWithBodyWithResponse Create team volume

Create a new team volume.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /volumes (the `PostVolumes` operationId).

func (*ClientWithResponses) PostVolumesWithResponse

func (c *ClientWithResponses) PostVolumesWithResponse(ctx context.Context, body PostVolumesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVolumesResponse, error)

PostVolumesWithResponse Create team volume

Create a new team volume.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /volumes (the `PostVolumes` operationId).

func (*ClientWithResponses) PutClustersClusterIDRigsRigIDCapacityWithBodyWithResponse

func (c *ClientWithResponses) PutClustersClusterIDRigsRigIDCapacityWithBodyWithResponse(ctx context.Context, clusterID ClusterID, rigID RigID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutClustersClusterIDRigsRigIDCapacityResponse, error)

PutClustersClusterIDRigsRigIDCapacityWithBodyWithResponse Set the capacity of a rig

Set the desired instance count on the rig's scaling group. The value is passed to the cloud provider unchanged; violations of the group's bounds or conflicting concurrent operations surface as errors.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /clusters/{clusterID}/rigs/{rigID}/capacity (the `PutClustersClusterIDRigsRigIDCapacity` operationId).

func (*ClientWithResponses) PutClustersClusterIDRigsRigIDCapacityWithResponse

func (c *ClientWithResponses) PutClustersClusterIDRigsRigIDCapacityWithResponse(ctx context.Context, clusterID ClusterID, rigID RigID, body PutClustersClusterIDRigsRigIDCapacityJSONRequestBody, reqEditors ...RequestEditorFn) (*PutClustersClusterIDRigsRigIDCapacityResponse, error)

PutClustersClusterIDRigsRigIDCapacityWithResponse Set the capacity of a rig

Set the desired instance count on the rig's scaling group. The value is passed to the cloud provider unchanged; violations of the group's bounds or conflicting concurrent operations surface as errors.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /clusters/{clusterID}/rigs/{rigID}/capacity (the `PutClustersClusterIDRigsRigIDCapacity` operationId).

func (*ClientWithResponses) PutSandboxesSandboxIDNetworkWithBodyWithResponse

func (c *ClientWithResponses) PutSandboxesSandboxIDNetworkWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSandboxesSandboxIDNetworkResponse, error)

PutSandboxesSandboxIDNetworkWithBodyWithResponse Update sandbox network

Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).

func (*ClientWithResponses) PutSandboxesSandboxIDNetworkWithResponse

func (c *ClientWithResponses) PutSandboxesSandboxIDNetworkWithResponse(ctx context.Context, sandboxID SandboxID, body PutSandboxesSandboxIDNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*PutSandboxesSandboxIDNetworkResponse, error)

PutSandboxesSandboxIDNetworkWithResponse Update sandbox network

Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).

func (*ClientWithResponses) PutUnstableAdminTeamsTeamIDSchedulingLabelsWithBodyWithResponse

func (c *ClientWithResponses) PutUnstableAdminTeamsTeamIDSchedulingLabelsWithBodyWithResponse(ctx context.Context, teamID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutUnstableAdminTeamsTeamIDSchedulingLabelsResponse, error)

PutUnstableAdminTeamsTeamIDSchedulingLabelsWithBodyWithResponse Replace a team's sandbox scheduling labels

Replaces the labels that place the team's new sandboxes on matching nodes. Labels are deduplicated, keeping the first occurrence of each.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /unstable/admin/teams/{teamID}/scheduling-labels (the `PutUnstableAdminTeamsTeamIDSchedulingLabels` operationId).

func (*ClientWithResponses) PutUnstableAdminTeamsTeamIDSchedulingLabelsWithResponse

PutUnstableAdminTeamsTeamIDSchedulingLabelsWithResponse Replace a team's sandbox scheduling labels

Replaces the labels that place the team's new sandboxes on matching nodes. Labels are deduplicated, keeping the first occurrence of each.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /unstable/admin/teams/{teamID}/scheduling-labels (the `PutUnstableAdminTeamsTeamIDSchedulingLabels` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// GetAdminSandboxesRunningCountsWithResponse Count running sandboxes by team
	//
	// Returns a shared snapshot normally refreshed after five seconds. A
	// sandbox transitioning out of running can remain counted until removal.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /admin/sandboxes/running-counts (the `GetAdminSandboxesRunningCounts` operationId).
	GetAdminSandboxesRunningCountsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAdminSandboxesRunningCountsResponse, error)

	// GetAdminSandboxesSandboxIDWithResponse Get a sandbox's team and state
	//
	// Reads the team and state of a sandbox from its latest lifecycle event.
	// The state lags the sandbox while that event is in flight. A sandbox
	// whose events have expired is not found.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /admin/sandboxes/{sandboxID} (the `GetAdminSandboxesSandboxID` operationId).
	GetAdminSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*GetAdminSandboxesSandboxIDResponse, error)

	// GetAdminTeamsTeamIDApiKeysWithResponse List team API keys as admin
	//
	// Lists a team's API keys for internal service workflows. Unlike `GET /api-keys`, it does not resolve the team, so it also answers for a banned team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /admin/teams/{teamID}/api-keys (the `GetAdminTeamsTeamIDApiKeys` operationId).
	GetAdminTeamsTeamIDApiKeysWithResponse(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAdminTeamsTeamIDApiKeysResponse, error)

	// PostAdminTeamsTeamIDApiKeysWithBodyWithResponse Create team API key as admin
	//
	// Creates a team API key for internal service workflows.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /admin/teams/{teamID}/api-keys (the `PostAdminTeamsTeamIDApiKeys` operationId).
	PostAdminTeamsTeamIDApiKeysWithBodyWithResponse(ctx context.Context, teamID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAdminTeamsTeamIDApiKeysResponse, error)

	// PostAdminTeamsTeamIDApiKeysWithResponse Create team API key as admin
	//
	// Creates a team API key for internal service workflows.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /admin/teams/{teamID}/api-keys (the `PostAdminTeamsTeamIDApiKeys` operationId).
	PostAdminTeamsTeamIDApiKeysWithResponse(ctx context.Context, teamID openapi_types.UUID, body PostAdminTeamsTeamIDApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAdminTeamsTeamIDApiKeysResponse, error)

	// DeleteAdminTeamsTeamIDApiKeysApiKeyIDWithResponse Delete team API key as admin
	//
	// Deletes a team API key for internal service workflows.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /admin/teams/{teamID}/api-keys/{apiKeyID} (the `DeleteAdminTeamsTeamIDApiKeysApiKeyID` operationId).
	DeleteAdminTeamsTeamIDApiKeysApiKeyIDWithResponse(ctx context.Context, teamID openapi_types.UUID, apiKeyID ApiKeyID, reqEditors ...RequestEditorFn) (*DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse, error)

	// PostAdminTeamsTeamIDBuildsCancelWithResponse Cancel all builds for a team
	//
	// Cancels all in-progress and pending builds for the specified team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /admin/teams/{teamID}/builds/cancel (the `PostAdminTeamsTeamIDBuildsCancel` operationId).
	PostAdminTeamsTeamIDBuildsCancelWithResponse(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*PostAdminTeamsTeamIDBuildsCancelResponse, error)

	// PostAdminTeamsTeamIDSandboxesKillWithResponse Kill all sandboxes for a team
	//
	// Kills all sandboxes for the specified team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /admin/teams/{teamID}/sandboxes/kill (the `PostAdminTeamsTeamIDSandboxesKill` operationId).
	PostAdminTeamsTeamIDSandboxesKillWithResponse(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*PostAdminTeamsTeamIDSandboxesKillResponse, error)

	// GetApiKeysWithResponse List team API keys
	//
	// List all team API keys.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api-keys (the `GetApiKeys` operationId).
	GetApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiKeysResponse, error)

	// PostApiKeysWithBodyWithResponse Create team API key
	//
	// Create a new team API key.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api-keys (the `PostApiKeys` operationId).
	PostApiKeysWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApiKeysResponse, error)

	// PostApiKeysWithResponse Create team API key
	//
	// Create a new team API key.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api-keys (the `PostApiKeys` operationId).
	PostApiKeysWithResponse(ctx context.Context, body PostApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApiKeysResponse, error)

	// DeleteApiKeysApiKeyIDWithResponse Delete team API key
	//
	// Delete a team API key.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api-keys/{apiKeyID} (the `DeleteApiKeysApiKeyID` operationId).
	DeleteApiKeysApiKeyIDWithResponse(ctx context.Context, apiKeyID ApiKeyID, reqEditors ...RequestEditorFn) (*DeleteApiKeysApiKeyIDResponse, error)

	// PatchApiKeysApiKeyIDWithBodyWithResponse Update team API key
	//
	// Update a team API key.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api-keys/{apiKeyID} (the `PatchApiKeysApiKeyID` operationId).
	PatchApiKeysApiKeyIDWithBodyWithResponse(ctx context.Context, apiKeyID ApiKeyID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchApiKeysApiKeyIDResponse, error)

	// PatchApiKeysApiKeyIDWithResponse Update team API key
	//
	// Update a team API key.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api-keys/{apiKeyID} (the `PatchApiKeysApiKeyID` operationId).
	PatchApiKeysApiKeyIDWithResponse(ctx context.Context, apiKeyID ApiKeyID, body PatchApiKeysApiKeyIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchApiKeysApiKeyIDResponse, error)

	// GetClustersClusterIDRigsWithResponse List rigs of a cluster
	//
	// List the orchestrator node pools ("rigs") of a cluster with a snapshot of their scaling groups. Forwarded to the cluster's edge service; a cluster with no rig management configured returns an empty list, and the local cluster answers 501.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /clusters/{clusterID}/rigs (the `GetClustersClusterIDRigs` operationId).
	GetClustersClusterIDRigsWithResponse(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*GetClustersClusterIDRigsResponse, error)

	// DeleteClustersClusterIDRigsInstancesInstanceIDWithResponse Terminate an instance of a rig
	//
	// Terminate an instance in whichever rig's scaling group it belongs to. The caller chooses whether the rig shrinks or the instance is replaced.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /clusters/{clusterID}/rigs/instances/{instanceID} (the `DeleteClustersClusterIDRigsInstancesInstanceID` operationId).
	DeleteClustersClusterIDRigsInstancesInstanceIDWithResponse(ctx context.Context, clusterID ClusterID, instanceID string, params *DeleteClustersClusterIDRigsInstancesInstanceIDParams, reqEditors ...RequestEditorFn) (*DeleteClustersClusterIDRigsInstancesInstanceIDResponse, error)

	// PutClustersClusterIDRigsRigIDCapacityWithBodyWithResponse Set the capacity of a rig
	//
	// Set the desired instance count on the rig's scaling group. The value is passed to the cloud provider unchanged; violations of the group's bounds or conflicting concurrent operations surface as errors.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /clusters/{clusterID}/rigs/{rigID}/capacity (the `PutClustersClusterIDRigsRigIDCapacity` operationId).
	PutClustersClusterIDRigsRigIDCapacityWithBodyWithResponse(ctx context.Context, clusterID ClusterID, rigID RigID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutClustersClusterIDRigsRigIDCapacityResponse, error)

	// PutClustersClusterIDRigsRigIDCapacityWithResponse Set the capacity of a rig
	//
	// Set the desired instance count on the rig's scaling group. The value is passed to the cloud provider unchanged; violations of the group's bounds or conflicting concurrent operations surface as errors.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /clusters/{clusterID}/rigs/{rigID}/capacity (the `PutClustersClusterIDRigsRigIDCapacity` operationId).
	PutClustersClusterIDRigsRigIDCapacityWithResponse(ctx context.Context, clusterID ClusterID, rigID RigID, body PutClustersClusterIDRigsRigIDCapacityJSONRequestBody, reqEditors ...RequestEditorFn) (*PutClustersClusterIDRigsRigIDCapacityResponse, error)

	// GetClustersClusterIDRigsRigIDErrorsWithResponse List recent scaling errors of a rig
	//
	// List recent scaling errors on the rig's scaling group (e.g. failed instance creations due to resource exhaustion), newest first.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /clusters/{clusterID}/rigs/{rigID}/errors (the `GetClustersClusterIDRigsRigIDErrors` operationId).
	GetClustersClusterIDRigsRigIDErrorsWithResponse(ctx context.Context, clusterID ClusterID, rigID RigID, params *GetClustersClusterIDRigsRigIDErrorsParams, reqEditors ...RequestEditorFn) (*GetClustersClusterIDRigsRigIDErrorsResponse, error)

	// GetClustersClusterIDRigsRigIDInstancesWithResponse List the instances attached to a rig
	//
	// List the instances attached to the rig's scaling group with their creation time and transition state, sorted by instance ID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /clusters/{clusterID}/rigs/{rigID}/instances (the `GetClustersClusterIDRigsRigIDInstances` operationId).
	GetClustersClusterIDRigsRigIDInstancesWithResponse(ctx context.Context, clusterID ClusterID, rigID RigID, reqEditors ...RequestEditorFn) (*GetClustersClusterIDRigsRigIDInstancesResponse, error)

	// GetDefaultTemplatesWithResponse List default templates
	//
	// Lists the platform's default templates, ordered by template ID. Deleted templates are left out. Templates that are not public are listed only to their own team and to admin callers. The build, resources and envd version are those of the newest ready build tagged `default`, the one a sandbox started from the template runs, and are zero or empty when there is none; `buildStatus` describes the newest build tagged `default` in any state. Usage fields (`spawnCount`, `buildCount`, `lastSpawnedAt`, `createdBy`) are reported only for the caller's own templates and to admin callers.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /default-templates (the `GetDefaultTemplates` operationId).
	GetDefaultTemplatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDefaultTemplatesResponse, error)

	// GetEventsSandboxesWithResponse performs a GET /events/sandboxes (the `GetEventsSandboxes` operationId) request.
	//
	// Get all sandbox events for the team associated with the API key.
	//
	// Returns a wrapper object for the known response body format(s).
	GetEventsSandboxesWithResponse(ctx context.Context, params *GetEventsSandboxesParams, reqEditors ...RequestEditorFn) (*GetEventsSandboxesResponse, error)

	// GetEventsSandboxesSandboxIDWithResponse performs a GET /events/sandboxes/{sandboxID} (the `GetEventsSandboxesSandboxID` operationId) request.
	//
	// Get sandbox events.
	//
	// Returns a wrapper object for the known response body format(s).
	GetEventsSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, params *GetEventsSandboxesSandboxIDParams, reqEditors ...RequestEditorFn) (*GetEventsSandboxesSandboxIDResponse, error)

	// GetEventsWebhooksWithResponse performs a GET /events/webhooks (the `GetEventsWebhooks` operationId) request.
	//
	// List registered webhooks.
	//
	// Returns a wrapper object for the known response body format(s).
	GetEventsWebhooksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEventsWebhooksResponse, error)

	// PostEventsWebhooksWithBodyWithResponse performs a POST /events/webhooks (the `PostEventsWebhooks` operationId) request,
	// with any type of body and a specified content type.
	//
	// Register events webhook.
	//
	// Returns a wrapper object for the known response body format(s).
	PostEventsWebhooksWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostEventsWebhooksResponse, error)

	// PostEventsWebhooksWithResponse performs a POST /events/webhooks (the `PostEventsWebhooks` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Register events webhook.
	PostEventsWebhooksWithResponse(ctx context.Context, body PostEventsWebhooksJSONRequestBody, reqEditors ...RequestEditorFn) (*PostEventsWebhooksResponse, error)

	// DeleteEventsWebhooksWebhookIDWithResponse performs a DELETE /events/webhooks/{webhookID} (the `DeleteEventsWebhooksWebhookID` operationId) request.
	//
	// Delete a registered webhook.
	//
	// Returns a wrapper object for the known response body format(s).
	DeleteEventsWebhooksWebhookIDWithResponse(ctx context.Context, webhookID WebhookID, reqEditors ...RequestEditorFn) (*DeleteEventsWebhooksWebhookIDResponse, error)

	// GetEventsWebhooksWebhookIDWithResponse performs a GET /events/webhooks/{webhookID} (the `GetEventsWebhooksWebhookID` operationId) request.
	//
	// Get a registered webhook.
	//
	// Returns a wrapper object for the known response body format(s).
	GetEventsWebhooksWebhookIDWithResponse(ctx context.Context, webhookID WebhookID, reqEditors ...RequestEditorFn) (*GetEventsWebhooksWebhookIDResponse, error)

	// PatchEventsWebhooksWebhookIDWithBodyWithResponse performs a PATCH /events/webhooks/{webhookID} (the `PatchEventsWebhooksWebhookID` operationId) request,
	// with any type of body and a specified content type.
	//
	// Update a registered webhook configuration.
	//
	// Returns a wrapper object for the known response body format(s).
	PatchEventsWebhooksWebhookIDWithBodyWithResponse(ctx context.Context, webhookID WebhookID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchEventsWebhooksWebhookIDResponse, error)

	// PatchEventsWebhooksWebhookIDWithResponse performs a PATCH /events/webhooks/{webhookID} (the `PatchEventsWebhooksWebhookID` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Update a registered webhook configuration.
	PatchEventsWebhooksWebhookIDWithResponse(ctx context.Context, webhookID WebhookID, body PatchEventsWebhooksWebhookIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchEventsWebhooksWebhookIDResponse, error)

	// GetEventsWebhooksWebhookIDDeliveriesWithResponse performs a GET /events/webhooks/{webhookID}/deliveries (the `GetEventsWebhooksWebhookIDDeliveries` operationId) request.
	//
	// List webhook delivery attempts.
	//
	// Returns a wrapper object for the known response body format(s).
	GetEventsWebhooksWebhookIDDeliveriesWithResponse(ctx context.Context, webhookID WebhookID, params *GetEventsWebhooksWebhookIDDeliveriesParams, reqEditors ...RequestEditorFn) (*GetEventsWebhooksWebhookIDDeliveriesResponse, error)

	// GetEventsWebhooksWebhookIDStatsWithResponse performs a GET /events/webhooks/{webhookID}/stats (the `GetEventsWebhooksWebhookIDStats` operationId) request.
	//
	// Get webhook delivery aggregate stats.
	//
	// Returns a wrapper object for the known response body format(s).
	GetEventsWebhooksWebhookIDStatsWithResponse(ctx context.Context, webhookID WebhookID, params *GetEventsWebhooksWebhookIDStatsParams, reqEditors ...RequestEditorFn) (*GetEventsWebhooksWebhookIDStatsResponse, error)

	// GetHealthWithResponse Health check
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /health (the `GetHealth` operationId).
	GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)

	// GetNodesWithResponse List nodes
	//
	// List all nodes.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /nodes (the `GetNodes` operationId).
	GetNodesWithResponse(ctx context.Context, params *GetNodesParams, reqEditors ...RequestEditorFn) (*GetNodesResponse, error)

	// GetNodesNodeIDWithResponse Node info
	//
	// Get node info.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /nodes/{nodeID} (the `GetNodesNodeID` operationId).
	GetNodesNodeIDWithResponse(ctx context.Context, nodeID NodeID, params *GetNodesNodeIDParams, reqEditors ...RequestEditorFn) (*GetNodesNodeIDResponse, error)

	// PostNodesNodeIDWithBodyWithResponse Change node status
	//
	// Change status of a node.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /nodes/{nodeID} (the `PostNodesNodeID` operationId).
	PostNodesNodeIDWithBodyWithResponse(ctx context.Context, nodeID NodeID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodesNodeIDResponse, error)

	// PostNodesNodeIDWithResponse Change node status
	//
	// Change status of a node.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /nodes/{nodeID} (the `PostNodesNodeID` operationId).
	PostNodesNodeIDWithResponse(ctx context.Context, nodeID NodeID, body PostNodesNodeIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodesNodeIDResponse, error)

	// GetNodesNodeIDSandboxesWithResponse Node sandboxes
	//
	// List the sandboxes the API confirms are running on the node.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /nodes/{nodeID}/sandboxes (the `GetNodesNodeIDSandboxes` operationId).
	GetNodesNodeIDSandboxesWithResponse(ctx context.Context, nodeID NodeID, params *GetNodesNodeIDSandboxesParams, reqEditors ...RequestEditorFn) (*GetNodesNodeIDSandboxesResponse, error)

	// GetSandboxesWithResponse List running sandboxes
	//
	// List all running sandboxes. Returns 400 when more than 5000 running sandboxes match; use GET /v2/sandboxes to page through them.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /sandboxes (the `GetSandboxes` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	GetSandboxesWithResponse(ctx context.Context, params *GetSandboxesParams, reqEditors ...RequestEditorFn) (*GetSandboxesResponse, error)

	// PostSandboxesWithBodyWithResponse Create sandbox
	//
	// Create a sandbox from the template. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes (the `PostSandboxes` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesResponse, error)

	// PostSandboxesWithResponse Create sandbox
	//
	// Create a sandbox from the template. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes (the `PostSandboxes` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxesWithResponse(ctx context.Context, body PostSandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesResponse, error)

	// GetSandboxesMetricsWithResponse List sandbox metrics
	//
	// List metrics for given sandboxes.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /sandboxes/metrics (the `GetSandboxesMetrics` operationId).
	GetSandboxesMetricsWithResponse(ctx context.Context, params *GetSandboxesMetricsParams, reqEditors ...RequestEditorFn) (*GetSandboxesMetricsResponse, error)

	// DeleteSandboxesSandboxIDWithResponse Kill sandbox
	//
	// Kill a sandbox.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /sandboxes/{sandboxID} (the `DeleteSandboxesSandboxID` operationId).
	DeleteSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*DeleteSandboxesSandboxIDResponse, error)

	// GetSandboxesSandboxIDWithResponse Sandbox
	//
	// Get a sandbox by id.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /sandboxes/{sandboxID} (the `GetSandboxesSandboxID` operationId).
	GetSandboxesSandboxIDWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDResponse, error)

	// PostSandboxesSandboxIDConnectWithBodyWithResponse Connect sandbox
	//
	// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxesSandboxIDConnectWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDConnectResponse, error)

	// PostSandboxesSandboxIDConnectWithResponse Connect sandbox
	//
	// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/connect (the `PostSandboxesSandboxIDConnect` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxesSandboxIDConnectWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDConnectResponse, error)

	// PostSandboxesSandboxIDForkWithBodyWithResponse Fork sandbox
	//
	// Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).
	PostSandboxesSandboxIDForkWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDForkResponse, error)

	// PostSandboxesSandboxIDForkWithResponse Fork sandbox
	//
	// Fork the sandbox: checkpoint the running sandbox in place (it is briefly paused, snapshotted with its full memory state, and resumed on its node, keeping its ID and expiration untouched) and create count new sandboxes from that snapshot. Returns one result per requested fork, each carrying either the created sandbox or the error that prevented it from starting. A non-201 status means the request failed before any fork was attempted.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/fork (the `PostSandboxesSandboxIDFork` operationId).
	PostSandboxesSandboxIDForkWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDForkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDForkResponse, error)

	// GetSandboxesSandboxIDLogsWithResponse Sandbox logs
	//
	// Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /sandboxes/{sandboxID}/logs (the `GetSandboxesSandboxIDLogs` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	GetSandboxesSandboxIDLogsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDLogsResponse, error)

	// GetSandboxesSandboxIDMetricsWithResponse Sandbox metrics
	//
	// Get sandbox metrics.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /sandboxes/{sandboxID}/metrics (the `GetSandboxesSandboxIDMetrics` operationId).
	GetSandboxesSandboxIDMetricsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetSandboxesSandboxIDMetricsParams, reqEditors ...RequestEditorFn) (*GetSandboxesSandboxIDMetricsResponse, error)

	// PutSandboxesSandboxIDNetworkWithBodyWithResponse Update sandbox network
	//
	// Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).
	PutSandboxesSandboxIDNetworkWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSandboxesSandboxIDNetworkResponse, error)

	// PutSandboxesSandboxIDNetworkWithResponse Update sandbox network
	//
	// Update the network configuration for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting field clears it.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /sandboxes/{sandboxID}/network (the `PutSandboxesSandboxIDNetwork` operationId).
	PutSandboxesSandboxIDNetworkWithResponse(ctx context.Context, sandboxID SandboxID, body PutSandboxesSandboxIDNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*PutSandboxesSandboxIDNetworkResponse, error)

	// PostSandboxesSandboxIDPauseWithBodyWithResponse Pause sandbox
	//
	// Pause the sandbox. Answers 503 and leaves the sandbox running when it cannot be paused right now: its node is busy, it is being snapshotted, or `requireHealthyGuest` was set and the sandbox guest agent is not responding; retry later.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).
	PostSandboxesSandboxIDPauseWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDPauseResponse, error)

	// PostSandboxesSandboxIDPauseWithResponse Pause sandbox
	//
	// Pause the sandbox. Answers 503 and leaves the sandbox running when it cannot be paused right now: its node is busy, it is being snapshotted, or `requireHealthyGuest` was set and the sandbox guest agent is not responding; retry later.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/pause (the `PostSandboxesSandboxIDPause` operationId).
	PostSandboxesSandboxIDPauseWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDPauseJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDPauseResponse, error)

	// PostSandboxesSandboxIDRefreshesWithBodyWithResponse Refresh sandbox
	//
	// Refresh the sandbox extending its time to live.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).
	PostSandboxesSandboxIDRefreshesWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDRefreshesResponse, error)

	// PostSandboxesSandboxIDRefreshesWithResponse Refresh sandbox
	//
	// Refresh the sandbox extending its time to live.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/refreshes (the `PostSandboxesSandboxIDRefreshes` operationId).
	PostSandboxesSandboxIDRefreshesWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDRefreshesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDRefreshesResponse, error)

	// PostSandboxesSandboxIDResumeWithBodyWithResponse Resume sandbox
	//
	// Resume the sandbox. Answers 409 when the sandbox is already running, or when its snapshot was taken while the sandbox guest agent was not responding and a plain resume would restore that memory (error_code sandbox_snapshot_guest_agent_unresponsive); resume such a sandbox without memory (`memory: false`).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxesSandboxIDResumeWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDResumeResponse, error)

	// PostSandboxesSandboxIDResumeWithResponse Resume sandbox
	//
	// Resume the sandbox. Answers 409 when the sandbox is already running, or when its snapshot was taken while the sandbox guest agent was not responding and a plain resume would restore that memory (error_code sandbox_snapshot_guest_agent_unresponsive); resume such a sandbox without memory (`memory: false`).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/resume (the `PostSandboxesSandboxIDResume` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostSandboxesSandboxIDResumeWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDResumeJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDResumeResponse, error)

	// PostSandboxesSandboxIDSnapshotsWithBodyWithResponse Create snapshot
	//
	// Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).
	PostSandboxesSandboxIDSnapshotsWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, params *PostSandboxesSandboxIDSnapshotsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDSnapshotsResponse, error)

	// PostSandboxesSandboxIDSnapshotsWithResponse Create snapshot
	//
	// Create a persistent snapshot from the sandbox's current state. Snapshots can be used to create new sandboxes and persist beyond the original sandbox's lifetime.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/snapshots (the `PostSandboxesSandboxIDSnapshots` operationId).
	PostSandboxesSandboxIDSnapshotsWithResponse(ctx context.Context, sandboxID SandboxID, params *PostSandboxesSandboxIDSnapshotsParams, body PostSandboxesSandboxIDSnapshotsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDSnapshotsResponse, error)

	// PostSandboxesSandboxIDTimeoutWithBodyWithResponse Set sandbox timeout
	//
	// Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).
	PostSandboxesSandboxIDTimeoutWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDTimeoutResponse, error)

	// PostSandboxesSandboxIDTimeoutWithResponse Set sandbox timeout
	//
	// Set the timeout for the sandbox. The sandbox will expire x seconds from the time of the request. Calling this method multiple times overwrites the TTL, each time using the current timestamp as the starting point to measure the timeout duration.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sandboxes/{sandboxID}/timeout (the `PostSandboxesSandboxIDTimeout` operationId).
	PostSandboxesSandboxIDTimeoutWithResponse(ctx context.Context, sandboxID SandboxID, body PostSandboxesSandboxIDTimeoutJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSandboxesSandboxIDTimeoutResponse, error)

	// GetSecretsWithResponse List project secrets
	//
	// List the project's secrets. No response carries a secret value.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /secrets (the `GetSecrets` operationId).
	GetSecretsWithResponse(ctx context.Context, params *GetSecretsParams, reqEditors ...RequestEditorFn) (*GetSecretsResponse, error)

	// PostSecretsWithBodyWithResponse Create a secret
	//
	// Create a secret by storing a runtime marker as its first version. The response carries metadata only. The value is not part of the Idempotency-Key comparison: reusing a key with a different value replays the first result.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /secrets (the `PostSecrets` operationId).
	PostSecretsWithBodyWithResponse(ctx context.Context, params *PostSecretsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSecretsResponse, error)

	// PostSecretsWithResponse Create a secret
	//
	// Create a secret by storing a runtime marker as its first version. The response carries metadata only. The value is not part of the Idempotency-Key comparison: reusing a key with a different value replays the first result.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /secrets (the `PostSecrets` operationId).
	PostSecretsWithResponse(ctx context.Context, params *PostSecretsParams, body PostSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSecretsResponse, error)

	// DeleteSecretsSecretIDWithResponse Delete a secret
	//
	// Revoke the secret and schedule its versions for cleanup.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /secrets/{secretID} (the `DeleteSecretsSecretID` operationId).
	DeleteSecretsSecretIDWithResponse(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*DeleteSecretsSecretIDResponse, error)

	// GetSecretsSecretIDWithResponse Get a secret
	//
	// Get one secret's metadata, selected by identifier or name.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /secrets/{secretID} (the `GetSecretsSecretID` operationId).
	GetSecretsSecretIDWithResponse(ctx context.Context, secretID SecretID, reqEditors ...RequestEditorFn) (*GetSecretsSecretIDResponse, error)

	// PostSecretsSecretIDWithBodyWithResponse Update a secret
	//
	// Replace the secret's stored marker by appending a new version. The response carries metadata only.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).
	PostSecretsSecretIDWithBodyWithResponse(ctx context.Context, secretID SecretID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSecretsSecretIDResponse, error)

	// PostSecretsSecretIDWithResponse Update a secret
	//
	// Replace the secret's stored marker by appending a new version. The response carries metadata only.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /secrets/{secretID} (the `PostSecretsSecretID` operationId).
	PostSecretsSecretIDWithResponse(ctx context.Context, secretID SecretID, body PostSecretsSecretIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostSecretsSecretIDResponse, error)

	// GetSnapshotsWithResponse List snapshots
	//
	// List all snapshots for the team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /snapshots (the `GetSnapshots` operationId).
	GetSnapshotsWithResponse(ctx context.Context, params *GetSnapshotsParams, reqEditors ...RequestEditorFn) (*GetSnapshotsResponse, error)

	// GetTeamsTeamIDMetricsWithResponse Team metrics
	//
	// Get metrics for the team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /teams/{teamID}/metrics (the `GetTeamsTeamIDMetrics` operationId).
	GetTeamsTeamIDMetricsWithResponse(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsParams, reqEditors ...RequestEditorFn) (*GetTeamsTeamIDMetricsResponse, error)

	// GetTeamsTeamIDMetricsMaxWithResponse Maximum team metrics
	//
	// Get the maximum metrics for the team in the given interval.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /teams/{teamID}/metrics/max (the `GetTeamsTeamIDMetricsMax` operationId).
	GetTeamsTeamIDMetricsMaxWithResponse(ctx context.Context, teamID TeamID, params *GetTeamsTeamIDMetricsMaxParams, reqEditors ...RequestEditorFn) (*GetTeamsTeamIDMetricsMaxResponse, error)

	// GetTemplatesWithResponse List templates
	//
	// List all templates. Returns 400 when the team has more than 5000 templates; use /v2/templates to page through them.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates (the `GetTemplates` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	GetTemplatesWithResponse(ctx context.Context, params *GetTemplatesParams, reqEditors ...RequestEditorFn) (*GetTemplatesResponse, error)

	// GetTemplatesAliasesAliasWithResponse Check template alias
	//
	// Check if template with given alias exists.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates/aliases/{alias} (the `GetTemplatesAliasesAlias` operationId).
	GetTemplatesAliasesAliasWithResponse(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*GetTemplatesAliasesAliasResponse, error)

	// DeleteTemplatesTagsWithBodyWithResponse Delete template tags
	//
	// Delete multiple tags from templates.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).
	DeleteTemplatesTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteTemplatesTagsResponse, error)

	// DeleteTemplatesTagsWithResponse Delete template tags
	//
	// Delete multiple tags from templates.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /templates/tags (the `DeleteTemplatesTags` operationId).
	DeleteTemplatesTagsWithResponse(ctx context.Context, body DeleteTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteTemplatesTagsResponse, error)

	// PostTemplatesTagsWithBodyWithResponse Assign template tags
	//
	// Assign tag(s) to a template build.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).
	PostTemplatesTagsWithBodyWithResponse(ctx context.Context, params *PostTemplatesTagsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostTemplatesTagsResponse, error)

	// PostTemplatesTagsWithResponse Assign template tags
	//
	// Assign tag(s) to a template build.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /templates/tags (the `PostTemplatesTags` operationId).
	PostTemplatesTagsWithResponse(ctx context.Context, params *PostTemplatesTagsParams, body PostTemplatesTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTemplatesTagsResponse, error)

	// DeleteTemplatesTemplateIDWithResponse Delete template
	//
	// Delete a template.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /templates/{templateID} (the `DeleteTemplatesTemplateID` operationId).
	DeleteTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*DeleteTemplatesTemplateIDResponse, error)

	// GetTemplatesTemplateIDWithResponse List template builds
	//
	// List all builds for a template.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates/{templateID} (the `GetTemplatesTemplateID` operationId).
	GetTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDResponse, error)

	// PatchTemplatesTemplateIDWithBodyWithResponse Update template
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PatchTemplatesTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchTemplatesTemplateIDResponse, error)

	// PatchTemplatesTemplateIDWithResponse Update template
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /templates/{templateID} (the `PatchTemplatesTemplateID` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PatchTemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, body PatchTemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchTemplatesTemplateIDResponse, error)

	// GetTemplatesTemplateIDBuildsWithResponse List a template's builds
	//
	// List the builds of a template, newest first. The template is given by its ID or name. A template named `aliases` is given by its ID or by its name with the team prefix.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates/{templateID}/builds (the `GetTemplatesTemplateIDBuilds` operationId).
	GetTemplatesTemplateIDBuildsWithResponse(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDBuildsParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDBuildsResponse, error)

	// GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse Template build logs
	//
	// Get template build logs.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates/{templateID}/builds/{buildID}/logs (the `GetTemplatesTemplateIDBuildsBuildIDLogs` operationId).
	GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDLogsParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDBuildsBuildIDLogsResponse, error)

	// GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse Template build status
	//
	// Get template build info.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates/{templateID}/builds/{buildID}/status (the `GetTemplatesTemplateIDBuildsBuildIDStatus` operationId).
	GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, params *GetTemplatesTemplateIDBuildsBuildIDStatusParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDBuildsBuildIDStatusResponse, error)

	// GetTemplatesTemplateIDFilesHashWithResponse Template build file upload URL
	//
	// Get an upload link for a tar file containing build layer files.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates/{templateID}/files/{hash} (the `GetTemplatesTemplateIDFilesHash` operationId).
	GetTemplatesTemplateIDFilesHashWithResponse(ctx context.Context, templateID TemplateID, hash string, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDFilesHashResponse, error)

	// GetTemplatesTemplateIDTagsWithResponse List template tags
	//
	// List all tags for a template.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates/{templateID}/tags (the `GetTemplatesTemplateIDTags` operationId).
	GetTemplatesTemplateIDTagsWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsResponse, error)

	// GetTemplatesTemplateIDTagsCountWithResponse Count template tags
	//
	// Returns the number of distinct tags of the template that have at least one ready build. Returns 404 when the template does not exist or belongs to another team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates/{templateID}/tags/count (the `GetTemplatesTemplateIDTagsCount` operationId).
	GetTemplatesTemplateIDTagsCountWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsCountResponse, error)

	// GetTemplatesTemplateIDTagsExistsWithResponse Check template tag
	//
	// Checks whether a tag of the template has at least one ready build. Returns 404 when the template does not exist or belongs to another team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates/{templateID}/tags/exists (the `GetTemplatesTemplateIDTagsExists` operationId).
	GetTemplatesTemplateIDTagsExistsWithResponse(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDTagsExistsParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsExistsResponse, error)

	// GetTemplatesTemplateIDTagsGroupsWithResponse List template tag groups
	//
	// Lists the template's tags that have at least one ready build, each with its most recent ready assignments, paginated over tags with a keyset cursor. Returns 404 when the template does not exist or belongs to another team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates/{templateID}/tags/groups (the `GetTemplatesTemplateIDTagsGroups` operationId).
	GetTemplatesTemplateIDTagsGroupsWithResponse(ctx context.Context, templateID TemplateID, params *GetTemplatesTemplateIDTagsGroupsParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsGroupsResponse, error)

	// GetTemplatesTemplateIDTagsTagAssignmentsWithResponse List template tag assignments
	//
	// Lists the ready assignments of one tag of the template, newest first, with keyset cursor pagination. Returns 404 when the template does not exist or belongs to another team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /templates/{templateID}/tags/{tag}/assignments (the `GetTemplatesTemplateIDTagsTagAssignments` operationId).
	GetTemplatesTemplateIDTagsTagAssignmentsWithResponse(ctx context.Context, templateID TemplateID, tag Tag, params *GetTemplatesTemplateIDTagsTagAssignmentsParams, reqEditors ...RequestEditorFn) (*GetTemplatesTemplateIDTagsTagAssignmentsResponse, error)

	// AdminListClusterTeamCountsWithResponse Count each cluster's teams as admin
	//
	// Returns the number of live teams assigned to each remote cluster. A cluster no live team is assigned to is absent. It reads only the teams, so it answers without a cluster service.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /unstable/admin/clusters/team-counts (the `AdminListClusterTeamCounts` operationId).
	AdminListClusterTeamCountsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AdminListClusterTeamCountsResponse, error)

	// AdminListClusterTeamsWithResponse List a cluster's teams as admin
	//
	// Lists the teams assigned to the cluster.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /unstable/admin/clusters/{clusterID}/teams (the `AdminListClusterTeams` operationId).
	AdminListClusterTeamsWithResponse(ctx context.Context, clusterID ClusterID, params *AdminListClusterTeamsParams, reqEditors ...RequestEditorFn) (*AdminListClusterTeamsResponse, error)

	// GetUnstableAdminSandboxesSandboxIDBuildsWithResponse List the builds of a sandbox's snapshot template
	//
	// Lists the build assignments of the template that holds the sandbox's
	// snapshot under one tag. Assignments without a creation time are left
	// out. A sandbox without a snapshot returns no items and a null
	// `snapshotTemplateID`; this route does not report whether the sandbox
	// exists.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /unstable/admin/sandboxes/{sandboxID}/builds (the `GetUnstableAdminSandboxesSandboxIDBuilds` operationId).
	GetUnstableAdminSandboxesSandboxIDBuildsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetUnstableAdminSandboxesSandboxIDBuildsParams, reqEditors ...RequestEditorFn) (*GetUnstableAdminSandboxesSandboxIDBuildsResponse, error)

	// PostUnstableAdminSandboxesSandboxIDBuildsRestoreWithBodyWithResponse Make a build the current build of a sandbox's snapshot
	//
	// Assigns a ready build of the sandbox's snapshot template to the template
	// again under the default tag, so the sandbox resumes from that build.
	// The snapshot takes the restored build's kind, filesystem-only or
	// memory.
	// Answers 404 when the sandbox has no snapshot, its snapshot template is
	// deleted, or the build is not assigned to that template under the
	// default tag, and 409 when the build is not ready or is already the
	// current build.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /unstable/admin/sandboxes/{sandboxID}/builds/restore (the `PostUnstableAdminSandboxesSandboxIDBuildsRestore` operationId).
	PostUnstableAdminSandboxesSandboxIDBuildsRestoreWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse, error)

	// PostUnstableAdminSandboxesSandboxIDBuildsRestoreWithResponse Make a build the current build of a sandbox's snapshot
	//
	// Assigns a ready build of the sandbox's snapshot template to the template
	// again under the default tag, so the sandbox resumes from that build.
	// The snapshot takes the restored build's kind, filesystem-only or
	// memory.
	// Answers 404 when the sandbox has no snapshot, its snapshot template is
	// deleted, or the build is not assigned to that template under the
	// default tag, and 409 when the build is not ready or is already the
	// current build.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /unstable/admin/sandboxes/{sandboxID}/builds/restore (the `PostUnstableAdminSandboxesSandboxIDBuildsRestore` operationId).
	PostUnstableAdminSandboxesSandboxIDBuildsRestoreWithResponse(ctx context.Context, sandboxID SandboxID, body PostUnstableAdminSandboxesSandboxIDBuildsRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse, error)

	// GetUnstableAdminSandboxesSandboxIDOverviewWithResponse Sandbox overview
	//
	// Reads a sandbox's team, snapshot template, most recent pause and newest
	// default-tag build from the database. The team comes from the
	// stopped-sandbox log, or from the snapshot when the sandbox has not
	// stopped. Returns 404 when neither knows the sandbox. A sandbox without
	// a snapshot returns null `snapshotTemplateId`, `lastPause` and
	// `latestBuild`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /unstable/admin/sandboxes/{sandboxID}/overview (the `GetUnstableAdminSandboxesSandboxIDOverview` operationId).
	GetUnstableAdminSandboxesSandboxIDOverviewWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*GetUnstableAdminSandboxesSandboxIDOverviewResponse, error)

	// AdminBanTeamsWithBodyWithResponse Ban teams
	//
	// Bans up to 100 teams at once, as
	// `PUT /unstable/admin/teams/{teamID}/ban` does, except that every
	// team's ban is stored before any team's sandboxes are killed or builds
	// cancelled, and the kills and cancellations of all teams share one time
	// budget. One team's failure does not stop the others; the response sorts
	// every requested team into banned, not found or failed. The work
	// continues if the caller disconnects.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /unstable/admin/teams/bans (the `AdminBanTeams` operationId).
	AdminBanTeamsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminBanTeamsResponse, error)

	// AdminBanTeamsWithResponse Ban teams
	//
	// Bans up to 100 teams at once, as
	// `PUT /unstable/admin/teams/{teamID}/ban` does, except that every
	// team's ban is stored before any team's sandboxes are killed or builds
	// cancelled, and the kills and cancellations of all teams share one time
	// budget. One team's failure does not stop the others; the response sorts
	// every requested team into banned, not found or failed. The work
	// continues if the caller disconnects.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /unstable/admin/teams/bans (the `AdminBanTeams` operationId).
	AdminBanTeamsWithResponse(ctx context.Context, body AdminBanTeamsJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminBanTeamsResponse, error)

	// PostUnstableAdminTeamsQueryWithBodyWithResponse List teams as admin
	//
	// Lists teams matching the filters in the request body, with each team's
	// member count, and its running sandbox count when sorted by running
	// sandboxes. A read despite the POST: the body carries a project ID list
	// too long for a query string.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /unstable/admin/teams/query (the `PostUnstableAdminTeamsQuery` operationId).
	PostUnstableAdminTeamsQueryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUnstableAdminTeamsQueryResponse, error)

	// PostUnstableAdminTeamsQueryWithResponse List teams as admin
	//
	// Lists teams matching the filters in the request body, with each team's
	// member count, and its running sandbox count when sorted by running
	// sandboxes. A read despite the POST: the body carries a project ID list
	// too long for a query string.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /unstable/admin/teams/query (the `PostUnstableAdminTeamsQuery` operationId).
	PostUnstableAdminTeamsQueryWithResponse(ctx context.Context, body PostUnstableAdminTeamsQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUnstableAdminTeamsQueryResponse, error)

	// GetUnstableAdminTeamsTeamIDWithResponse Team as admin
	//
	// Returns a team with its sandbox scheduling labels and cluster. It also answers for a banned or blocked team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /unstable/admin/teams/{teamID} (the `GetUnstableAdminTeamsTeamID` operationId).
	GetUnstableAdminTeamsTeamIDWithResponse(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetUnstableAdminTeamsTeamIDResponse, error)

	// AdminUnbanTeamWithResponse Unban a team
	//
	// Clears the team's ban. Idempotent.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /unstable/admin/teams/{teamID}/ban (the `AdminUnbanTeam` operationId).
	AdminUnbanTeamWithResponse(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*AdminUnbanTeamResponse, error)

	// AdminBanTeamWithResponse Ban a team
	//
	// Marks the team as banned so its API keys stop authenticating, then
	// kills its sandboxes and cancels its builds. The ban is stored first:
	// a failure to kill or cancel is reported in the result and does not
	// undo it. Killing and cancelling stop after a fixed time budget, and a
	// step cut short is reported as failed. Banning an already banned team
	// repeats the kill and cancel. The work continues if the caller
	// disconnects.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /unstable/admin/teams/{teamID}/ban (the `AdminBanTeam` operationId).
	AdminBanTeamWithResponse(ctx context.Context, teamID openapi_types.UUID, reqEditors ...RequestEditorFn) (*AdminBanTeamResponse, error)

	// PutUnstableAdminTeamsTeamIDSchedulingLabelsWithBodyWithResponse Replace a team's sandbox scheduling labels
	//
	// Replaces the labels that place the team's new sandboxes on matching
	// nodes. Labels are deduplicated, keeping the first occurrence of each.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /unstable/admin/teams/{teamID}/scheduling-labels (the `PutUnstableAdminTeamsTeamIDSchedulingLabels` operationId).
	PutUnstableAdminTeamsTeamIDSchedulingLabelsWithBodyWithResponse(ctx context.Context, teamID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutUnstableAdminTeamsTeamIDSchedulingLabelsResponse, error)

	// PutUnstableAdminTeamsTeamIDSchedulingLabelsWithResponse Replace a team's sandbox scheduling labels
	//
	// Replaces the labels that place the team's new sandboxes on matching
	// nodes. Labels are deduplicated, keeping the first occurrence of each.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /unstable/admin/teams/{teamID}/scheduling-labels (the `PutUnstableAdminTeamsTeamIDSchedulingLabels` operationId).
	PutUnstableAdminTeamsTeamIDSchedulingLabelsWithResponse(ctx context.Context, teamID openapi_types.UUID, body PutUnstableAdminTeamsTeamIDSchedulingLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*PutUnstableAdminTeamsTeamIDSchedulingLabelsResponse, error)

	// GetUnstableAdminTemplatesAliasesWithResponse Search template aliases as admin
	//
	// Finds the templates whose ID equals `search`, or that own an alias equal to `search` in any namespace, with their owning team and all their aliases. Deleted templates are left out. Results are ordered by template ID; the next page's token is returned in `X-Next-Token`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /unstable/admin/templates/aliases (the `GetUnstableAdminTemplatesAliases` operationId).
	GetUnstableAdminTemplatesAliasesWithResponse(ctx context.Context, params *GetUnstableAdminTemplatesAliasesParams, reqEditors ...RequestEditorFn) (*GetUnstableAdminTemplatesAliasesResponse, error)

	// PostUnstableAdminTemplatesAliasesWithBodyWithResponse Add a template alias without a namespace as admin
	//
	// Adds an alias without a namespace to a template, so the template resolves by that name for every team. The alias follows the rules of template names (lowercase letters, digits, `-` and `_`) and cannot equal a template ID. Returns 404 when the template does not exist and 409 when the alias is taken.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /unstable/admin/templates/aliases (the `PostUnstableAdminTemplatesAliases` operationId).
	PostUnstableAdminTemplatesAliasesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUnstableAdminTemplatesAliasesResponse, error)

	// PostUnstableAdminTemplatesAliasesWithResponse Add a template alias without a namespace as admin
	//
	// Adds an alias without a namespace to a template, so the template resolves by that name for every team. The alias follows the rules of template names (lowercase letters, digits, `-` and `_`) and cannot equal a template ID. Returns 404 when the template does not exist and 409 when the alias is taken.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /unstable/admin/templates/aliases (the `PostUnstableAdminTemplatesAliases` operationId).
	PostUnstableAdminTemplatesAliasesWithResponse(ctx context.Context, body PostUnstableAdminTemplatesAliasesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUnstableAdminTemplatesAliasesResponse, error)

	// DeleteUnstableAdminTemplatesAliasesAliasIDWithResponse Remove a template alias without a namespace as admin
	//
	// Removes an alias without a namespace. A namespaced alias is not removed and answers 404.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /unstable/admin/templates/aliases/{aliasID} (the `DeleteUnstableAdminTemplatesAliasesAliasID` operationId).
	DeleteUnstableAdminTemplatesAliasesAliasIDWithResponse(ctx context.Context, aliasID AliasID, reqEditors ...RequestEditorFn) (*DeleteUnstableAdminTemplatesAliasesAliasIDResponse, error)

	// PostUnstableAdminTemplatesDefaultsWithBodyWithResponse Add a default template as admin
	//
	// Makes a template one of the platform's default templates. Returns 404 when the template does not exist and 409 when it is already a default template.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /unstable/admin/templates/defaults (the `PostUnstableAdminTemplatesDefaults` operationId).
	PostUnstableAdminTemplatesDefaultsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUnstableAdminTemplatesDefaultsResponse, error)

	// PostUnstableAdminTemplatesDefaultsWithResponse Add a default template as admin
	//
	// Makes a template one of the platform's default templates. Returns 404 when the template does not exist and 409 when it is already a default template.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /unstable/admin/templates/defaults (the `PostUnstableAdminTemplatesDefaults` operationId).
	PostUnstableAdminTemplatesDefaultsWithResponse(ctx context.Context, body PostUnstableAdminTemplatesDefaultsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUnstableAdminTemplatesDefaultsResponse, error)

	// DeleteUnstableAdminTemplatesDefaultsTemplateIDWithResponse Remove a default template as admin
	//
	// Stops a template being one of the platform's default templates. The template itself is not changed. Returns 404 when the template is not a default template.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /unstable/admin/templates/defaults/{templateID} (the `DeleteUnstableAdminTemplatesDefaultsTemplateID` operationId).
	DeleteUnstableAdminTemplatesDefaultsTemplateIDWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*DeleteUnstableAdminTemplatesDefaultsTemplateIDResponse, error)

	// PatchUnstableAdminTemplatesDefaultsTemplateIDWithBodyWithResponse Update a default template as admin
	//
	// Updates the description of a default template. Returns 404 when the template is not a default template.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /unstable/admin/templates/defaults/{templateID} (the `PatchUnstableAdminTemplatesDefaultsTemplateID` operationId).
	PatchUnstableAdminTemplatesDefaultsTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchUnstableAdminTemplatesDefaultsTemplateIDResponse, error)

	// PatchUnstableAdminTemplatesDefaultsTemplateIDWithResponse Update a default template as admin
	//
	// Updates the description of a default template. Returns 404 when the template is not a default template.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /unstable/admin/templates/defaults/{templateID} (the `PatchUnstableAdminTemplatesDefaultsTemplateID` operationId).
	PatchUnstableAdminTemplatesDefaultsTemplateIDWithResponse(ctx context.Context, templateID TemplateID, body PatchUnstableAdminTemplatesDefaultsTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchUnstableAdminTemplatesDefaultsTemplateIDResponse, error)

	// GetUnstableAdminTemplatesLookupWithResponse Look up a template as admin
	//
	// Resolves `query` as, in order: a build ID (a UUID, matched to the template of the build's newest assignment, with no fallback), a template ID, or a template name (`namespace/alias`, or an alias without a namespace). Returns the template with its owning team and its newest builds. Deleted templates are not found.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /unstable/admin/templates/lookup (the `GetUnstableAdminTemplatesLookup` operationId).
	GetUnstableAdminTemplatesLookupWithResponse(ctx context.Context, params *GetUnstableAdminTemplatesLookupParams, reqEditors ...RequestEditorFn) (*GetUnstableAdminTemplatesLookupResponse, error)

	// GetUnstableBuildsWithResponse List team builds
	//
	// Lists the team's builds, newest first, with an optional filter by build ID, template ID or template alias and by status. `nextCursor` continues the listing. For E2B's own clients: it may change or disappear without notice.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /unstable/builds (the `GetUnstableBuilds` operationId).
	GetUnstableBuildsWithResponse(ctx context.Context, params *GetUnstableBuildsParams, reqEditors ...RequestEditorFn) (*GetUnstableBuildsResponse, error)

	// GetUnstableBuildsStatusesWithResponse Build statuses
	//
	// Returns the statuses of the team's builds with the given IDs; IDs of other teams' builds are left out. For E2B's own clients: it may change or disappear without notice.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /unstable/builds/statuses (the `GetUnstableBuildsStatuses` operationId).
	GetUnstableBuildsStatusesWithResponse(ctx context.Context, params *GetUnstableBuildsStatusesParams, reqEditors ...RequestEditorFn) (*GetUnstableBuildsStatusesResponse, error)

	// GetUnstableBuildsBuildIDWithResponse Build details
	//
	// Returns a build of the team with the names of its template. For E2B's own clients: it may change or disappear without notice.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /unstable/builds/{buildID} (the `GetUnstableBuildsBuildID` operationId).
	GetUnstableBuildsBuildIDWithResponse(ctx context.Context, buildID BuildID, reqEditors ...RequestEditorFn) (*GetUnstableBuildsBuildIDResponse, error)

	// ManagementDeleteClusterWithResponse Delete a cluster and its environments.
	//
	// Deletes a cluster after all team assignments are detached. Deletion protection on the cluster rejects the deletion, and so does a live team assignment, before anything changes. In one transaction, which no team assignment can interleave with, it then soft-deletes every live template, snapshot template and paused sandbox snapshot on the cluster, releases their aliases, and releases all environment references while preserving environment and build history; the cluster service records the deletion and then deletes the cluster. An assignment requested meanwhile waits and is then refused. If the cluster service does not delete the cluster, nothing is soft-deleted and the cluster stays recorded as being deleted. Deleting an absent cluster still releases its templates, and is refused while a live team is assigned to it. The local cluster's nil ID is rejected. Repeating a completed deletion succeeds.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /unstable/management/clusters/{clusterID} (the `ManagementDeleteCluster` operationId).
	ManagementDeleteClusterWithResponse(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*ManagementDeleteClusterResponse, error)

	// ManagementRequestClusterDeletionWithResponse Record that a cluster is being deleted.
	//
	// Records that the caller is deleting the cluster, for a caller that deletes the cluster's teams before the cluster itself. Refused while the cluster has deletion protection turned on; a protection change in flight commits before or after the check, never between. Once recorded, deletion protection cannot be turned on, so the cluster delete that follows is not refused for protection, and no team can be newly assigned to the cluster. An assignment either commits before this request returns, where the caller's next project listing finds it, or is refused with a conflict. Succeeds when the cluster is absent. Repeating the request succeeds. The local cluster's nil ID is rejected.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /unstable/management/clusters/{clusterID}/deletion (the `ManagementRequestClusterDeletion` operationId).
	ManagementRequestClusterDeletionWithResponse(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*ManagementRequestClusterDeletionResponse, error)

	// ManagementClusterDestroyReadinessWithResponse Check cluster destroy readiness.
	//
	// Checks whether the cluster has deletion protection turned on, or more than one team uses this exact cluster, either as an assigned team or as the owner of active templates or snapshots on it. One team's own templates and snapshots do not block this check, because deleting the cluster soft-deletes them. Soft-deleted history does not count. Returns success if the cluster is absent. This read does not change resources or prevent later assignments or template creation.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /unstable/management/clusters/{clusterID}/destroy-readiness (the `ManagementClusterDestroyReadiness` operationId).
	ManagementClusterDestroyReadinessWithResponse(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*ManagementClusterDestroyReadinessResponse, error)

	// ManagementListClusterProjectsWithResponse List the projects assigned to a cluster.
	//
	// Returns the ID of every project whose team is assigned to the cluster, whichever way it was assigned. A deleted project is never assigned. An absent cluster has no projects.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /unstable/management/clusters/{clusterID}/projects (the `ManagementListClusterProjects` operationId).
	ManagementListClusterProjectsWithResponse(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*ManagementListClusterProjectsResponse, error)

	// ManagementRemoveClusterRegistrationWithResponse Remove a cluster and leave surviving projects without a runtime.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /unstable/management/clusters/{clusterID}/registration (the `ManagementRemoveClusterRegistration` operationId).
	ManagementRemoveClusterRegistrationWithResponse(ctx context.Context, clusterID ClusterID, reqEditors ...RequestEditorFn) (*ManagementRemoveClusterRegistrationResponse, error)

	// ManagementDeleteProjectWithResponse Soft-delete a project.
	//
	// Marks the project deleted and blocked, releases its cluster assignment, scrubs its name and email to DELETED and its slug to deleted-<project ID>, which releases the old slug for reuse, deletes its memberships and API keys, soft-deletes its templates and snapshots, and enqueues the teardown of its running sandboxes, all in one transaction. The project row remains. Afterwards the project answers 404 to other management writes. Repeating the call answers 204 and repeats every step except the deletion time: it re-blocks and re-scrubs the project, clears a cluster assignment written since, deletes any memberships, keys, templates or snapshots created since, and enqueues the teardown again.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /unstable/management/projects/{projectID} (the `ManagementDeleteProject` operationId).
	ManagementDeleteProjectWithResponse(ctx context.Context, projectID openapi_types.UUID, reqEditors ...RequestEditorFn) (*ManagementDeleteProjectResponse, error)

	// ManagementUpsertProjectWithBodyWithResponse Create or reconcile a project.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /unstable/management/projects/{projectID} (the `ManagementUpsertProject` operationId).
	ManagementUpsertProjectWithBodyWithResponse(ctx context.Context, projectID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementUpsertProjectResponse, error)

	// ManagementUpsertProjectWithResponse Create or reconcile a project.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /unstable/management/projects/{projectID} (the `ManagementUpsertProject` operationId).
	ManagementUpsertProjectWithResponse(ctx context.Context, projectID openapi_types.UUID, body ManagementUpsertProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementUpsertProjectResponse, error)

	// ManagementApplyProjectBanWithBodyWithResponse Apply a project's ban state.
	//
	// Records whether the project is banned. Authentication refuses a banned project's API keys and members. A revision that turns the ban on also kills the project's running sandboxes and cancels its builds in the background, and retries while the project stays banned and any of them remain. The newest revision wins: an older or duplicate revision is accepted without changing target state. Answers 404 when the project is missing or deleted.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /unstable/management/projects/{projectID}/ban (the `ManagementApplyProjectBan` operationId).
	ManagementApplyProjectBanWithBodyWithResponse(ctx context.Context, projectID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementApplyProjectBanResponse, error)

	// ManagementApplyProjectBanWithResponse Apply a project's ban state.
	//
	// Records whether the project is banned. Authentication refuses a banned project's API keys and members. A revision that turns the ban on also kills the project's running sandboxes and cancels its builds in the background, and retries while the project stays banned and any of them remain. The newest revision wins: an older or duplicate revision is accepted without changing target state. Answers 404 when the project is missing or deleted.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /unstable/management/projects/{projectID}/ban (the `ManagementApplyProjectBan` operationId).
	ManagementApplyProjectBanWithResponse(ctx context.Context, projectID openapi_types.UUID, body ManagementApplyProjectBanJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementApplyProjectBanResponse, error)

	// ManagementApplyProjectBlockWithBodyWithResponse Apply a project's block state.
	//
	// Records whether the project is refused billable work, which the auth path reads before it lets a sandbox start. An older or duplicate revision is accepted without changing target state. Answers 404 when the project is missing or deleted.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /unstable/management/projects/{projectID}/block (the `ManagementApplyProjectBlock` operationId).
	ManagementApplyProjectBlockWithBodyWithResponse(ctx context.Context, projectID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementApplyProjectBlockResponse, error)

	// ManagementApplyProjectBlockWithResponse Apply a project's block state.
	//
	// Records whether the project is refused billable work, which the auth path reads before it lets a sandbox start. An older or duplicate revision is accepted without changing target state. Answers 404 when the project is missing or deleted.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /unstable/management/projects/{projectID}/block (the `ManagementApplyProjectBlock` operationId).
	ManagementApplyProjectBlockWithResponse(ctx context.Context, projectID openapi_types.UUID, body ManagementApplyProjectBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementApplyProjectBlockResponse, error)

	// ManagementUpsertProjectLimitsWithBodyWithResponse Reconcile effective limits for a project.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /unstable/management/projects/{projectID}/limits (the `ManagementUpsertProjectLimits` operationId).
	ManagementUpsertProjectLimitsWithBodyWithResponse(ctx context.Context, projectID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementUpsertProjectLimitsResponse, error)

	// ManagementUpsertProjectLimitsWithResponse Reconcile effective limits for a project.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /unstable/management/projects/{projectID}/limits (the `ManagementUpsertProjectLimits` operationId).
	ManagementUpsertProjectLimitsWithResponse(ctx context.Context, projectID openapi_types.UUID, body ManagementUpsertProjectLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementUpsertProjectLimitsResponse, error)

	// ManagementApplyProjectMemberWithBodyWithResponse Apply one versioned project member projection.
	//
	// Applies the newest desired presence for one project member. An older or duplicate revision is accepted without changing target state.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /unstable/management/projects/{projectID}/members/{userID} (the `ManagementApplyProjectMember` operationId).
	ManagementApplyProjectMemberWithBodyWithResponse(ctx context.Context, projectID openapi_types.UUID, userID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementApplyProjectMemberResponse, error)

	// ManagementApplyProjectMemberWithResponse Apply one versioned project member projection.
	//
	// Applies the newest desired presence for one project member. An older or duplicate revision is accepted without changing target state.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /unstable/management/projects/{projectID}/members/{userID} (the `ManagementApplyProjectMember` operationId).
	ManagementApplyProjectMemberWithResponse(ctx context.Context, projectID openapi_types.UUID, userID openapi_types.UUID, body ManagementApplyProjectMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementApplyProjectMemberResponse, error)

	// ManagementSetProjectSettingsWithBodyWithResponse Apply a project's settings revision.
	//
	// Replaces the complete project settings document when the revision is newer than the stored revision. Omitted settings are removed. Older and duplicate revisions leave the stored document unchanged. Every successful delivery invalidates the cached team. Answers 404 when the project is missing or deleted.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /unstable/management/projects/{projectID}/settings (the `ManagementSetProjectSettings` operationId).
	ManagementSetProjectSettingsWithBodyWithResponse(ctx context.Context, projectID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagementSetProjectSettingsResponse, error)

	// ManagementSetProjectSettingsWithResponse Apply a project's settings revision.
	//
	// Replaces the complete project settings document when the revision is newer than the stored revision. Omitted settings are removed. Older and duplicate revisions leave the stored document unchanged. Every successful delivery invalidates the cached team. Answers 404 when the project is missing or deleted.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /unstable/management/projects/{projectID}/settings (the `ManagementSetProjectSettings` operationId).
	ManagementSetProjectSettingsWithResponse(ctx context.Context, projectID openapi_types.UUID, body ManagementSetProjectSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagementSetProjectSettingsResponse, error)

	// ManagementTelemetryNamesWithResponse Read team and cluster names for telemetry.
	//
	// Requires a direct mutual TLS connection from the configured telemetry reader service identity. Bearer tokens and forwarded identity headers are not accepted. Returns regional team and cluster names without connection credentials. Deleted projects and clusters being deleted are omitted.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /unstable/management/telemetry/names (the `ManagementTelemetryNames` operationId).
	ManagementTelemetryNamesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ManagementTelemetryNamesResponse, error)

	// GetUnstableSandboxesSandboxIDRecordWithResponse Sandbox record
	//
	// Returns the team's latest recorded run of the sandbox, including runs that have already ended, and whether its monitoring, logs and events data are still retained. Returns 404 when the team has no recorded run of the sandbox.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /unstable/sandboxes/{sandboxID}/record (the `GetUnstableSandboxesSandboxIDRecord` operationId).
	GetUnstableSandboxesSandboxIDRecordWithResponse(ctx context.Context, sandboxID SandboxID, reqEditors ...RequestEditorFn) (*GetUnstableSandboxesSandboxIDRecordResponse, error)

	// GetUnstableTeamsTeamIDLimitsWithResponse Team limits
	//
	// Returns the team's effective resource limits. A team-authenticated request may read only its own team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /unstable/teams/{teamID}/limits (the `GetUnstableTeamsTeamIDLimits` operationId).
	GetUnstableTeamsTeamIDLimitsWithResponse(ctx context.Context, teamID TeamID, reqEditors ...RequestEditorFn) (*GetUnstableTeamsTeamIDLimitsResponse, error)

	// GetUnstableTeamsTeamIDStatusWithResponse Team access status
	//
	// Returns whether the team is banned or blocked, and why it is blocked. A team-authenticated request may read only its own team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /unstable/teams/{teamID}/status (the `GetUnstableTeamsTeamIDStatus` operationId).
	GetUnstableTeamsTeamIDStatusWithResponse(ctx context.Context, teamID TeamID, reqEditors ...RequestEditorFn) (*GetUnstableTeamsTeamIDStatusResponse, error)

	// GetUnstableTemplatesSearchWithResponse Search templates
	//
	// Lists the team's templates together with the platform's public default templates, which carry `isDefault: true`, with search, a visibility filter and sorts. Default templates are not listed to teams on a dedicated cluster, and those owned by another team carry zero or null usage fields. Results are newest first unless `sort` says otherwise; `nextCursor` continues the listing and is only valid with the same `sort`. For E2B's own clients: it may change or disappear without notice.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /unstable/templates/search (the `GetUnstableTemplatesSearch` operationId).
	GetUnstableTemplatesSearchWithResponse(ctx context.Context, params *GetUnstableTemplatesSearchParams, reqEditors ...RequestEditorFn) (*GetUnstableTemplatesSearchResponse, error)

	// GetV2SandboxesWithResponse List sandboxes (v2)
	//
	// List all sandboxes.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/sandboxes (the `GetV2Sandboxes` operationId).
	GetV2SandboxesWithResponse(ctx context.Context, params *GetV2SandboxesParams, reqEditors ...RequestEditorFn) (*GetV2SandboxesResponse, error)

	// PostV2SandboxesWithBodyWithResponse Create sandbox (v2)
	//
	// Create a sandbox from the template. All system communication with the sandbox is secured.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).
	PostV2SandboxesWithBodyWithResponse(ctx context.Context, params *PostV2SandboxesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2SandboxesResponse, error)

	// PostV2SandboxesWithResponse Create sandbox (v2)
	//
	// Create a sandbox from the template. All system communication with the sandbox is secured.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/sandboxes (the `PostV2Sandboxes` operationId).
	PostV2SandboxesWithResponse(ctx context.Context, params *PostV2SandboxesParams, body PostV2SandboxesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2SandboxesResponse, error)

	// PostV2SandboxesSandboxIDConnectWithBodyWithResponse Connect sandbox (v2)
	//
	// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).
	PostV2SandboxesSandboxIDConnectWithBodyWithResponse(ctx context.Context, sandboxID SandboxID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2SandboxesSandboxIDConnectResponse, error)

	// PostV2SandboxesSandboxIDConnectWithResponse Connect sandbox (v2)
	//
	// Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. The request body is optional; an omitted timeout defaults to 300 seconds. Answers 409 with error_code sandbox_snapshot_guest_agent_unresponsive when the paused sandbox's snapshot was taken while its guest agent was not responding and the request did not ask for `memory: false`.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/sandboxes/{sandboxID}/connect (the `PostV2SandboxesSandboxIDConnect` operationId).
	PostV2SandboxesSandboxIDConnectWithResponse(ctx context.Context, sandboxID SandboxID, body PostV2SandboxesSandboxIDConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2SandboxesSandboxIDConnectResponse, error)

	// GetV2SandboxesSandboxIDLogsWithResponse Sandbox logs (v2)
	//
	// Get sandbox logs.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/sandboxes/{sandboxID}/logs (the `GetV2SandboxesSandboxIDLogs` operationId).
	GetV2SandboxesSandboxIDLogsWithResponse(ctx context.Context, sandboxID SandboxID, params *GetV2SandboxesSandboxIDLogsParams, reqEditors ...RequestEditorFn) (*GetV2SandboxesSandboxIDLogsResponse, error)

	// GetV2TemplatesWithResponse List templates (v2)
	//
	// List all templates.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/templates (the `GetV2Templates` operationId).
	GetV2TemplatesWithResponse(ctx context.Context, params *GetV2TemplatesParams, reqEditors ...RequestEditorFn) (*GetV2TemplatesResponse, error)

	// GetV2TemplatesTemplateIDWithResponse Template info (v2)
	//
	// Get a template by its ID or name, with its default build and without its other builds.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/templates/{templateID} (the `GetV2TemplatesTemplateID` operationId).
	GetV2TemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, reqEditors ...RequestEditorFn) (*GetV2TemplatesTemplateIDResponse, error)

	// PatchV2TemplatesTemplateIDWithBodyWithResponse Update template (v2)
	//
	// Update template.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).
	PatchV2TemplatesTemplateIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV2TemplatesTemplateIDResponse, error)

	// PatchV2TemplatesTemplateIDWithResponse Update template (v2)
	//
	// Update template.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/templates/{templateID} (the `PatchV2TemplatesTemplateID` operationId).
	PatchV2TemplatesTemplateIDWithResponse(ctx context.Context, templateID TemplateID, body PatchV2TemplatesTemplateIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV2TemplatesTemplateIDResponse, error)

	// PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse Start template build (v2)
	//
	// Start the build. With an Idempotency-Key, replays continue to work after the build has left the waiting state.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
	PostV2TemplatesTemplateIDBuildsBuildIDWithBodyWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, params *PostV2TemplatesTemplateIDBuildsBuildIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)

	// PostV2TemplatesTemplateIDBuildsBuildIDWithResponse Start template build (v2)
	//
	// Start the build. With an Idempotency-Key, replays continue to work after the build has left the waiting state.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/templates/{templateID}/builds/{buildID} (the `PostV2TemplatesTemplateIDBuildsBuildID` operationId).
	PostV2TemplatesTemplateIDBuildsBuildIDWithResponse(ctx context.Context, templateID TemplateID, buildID BuildID, params *PostV2TemplatesTemplateIDBuildsBuildIDParams, body PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)

	// PostV3TemplatesWithBodyWithResponse Create template (v3)
	//
	// Create a new template.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
	PostV3TemplatesWithBodyWithResponse(ctx context.Context, params *PostV3TemplatesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV3TemplatesResponse, error)

	// PostV3TemplatesWithResponse Create template (v3)
	//
	// Create a new template.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v3/templates (the `PostV3Templates` operationId).
	PostV3TemplatesWithResponse(ctx context.Context, params *PostV3TemplatesParams, body PostV3TemplatesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV3TemplatesResponse, error)

	// GetVolumesWithResponse List team volumes
	//
	// List all team volumes.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /volumes (the `GetVolumes` operationId).
	GetVolumesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVolumesResponse, error)

	// PostVolumesWithBodyWithResponse Create team volume
	//
	// Create a new team volume.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /volumes (the `PostVolumes` operationId).
	PostVolumesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVolumesResponse, error)

	// PostVolumesWithResponse Create team volume
	//
	// Create a new team volume.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /volumes (the `PostVolumes` operationId).
	PostVolumesWithResponse(ctx context.Context, body PostVolumesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVolumesResponse, error)

	// DeleteVolumesVolumeIDWithResponse Delete team volume
	//
	// Delete a team volume.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /volumes/{volumeID} (the `DeleteVolumesVolumeID` operationId).
	DeleteVolumesVolumeIDWithResponse(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*DeleteVolumesVolumeIDResponse, error)

	// GetVolumesVolumeIDWithResponse Team volume
	//
	// Get team volume info.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /volumes/{volumeID} (the `GetVolumesVolumeID` operationId).
	GetVolumesVolumeIDWithResponse(ctx context.Context, volumeID VolumeID, reqEditors ...RequestEditorFn) (*GetVolumesVolumeIDResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type ClusterID

type ClusterID = openapi_types.UUID

ClusterID defines model for clusterID.

type ClusterTeamCount

type ClusterTeamCount struct {
	ClusterId openapi_types.UUID `json:"clusterId"`

	// TeamCount Number of live teams assigned to the cluster
	TeamCount int64 `json:"teamCount"`
}

ClusterTeamCount defines model for ClusterTeamCount.

type ClusterTeamCountList

type ClusterTeamCountList struct {
	Items []ClusterTeamCount `json:"items"`
}

ClusterTeamCountList defines model for ClusterTeamCountList.

type ClusterTeamListItem

type ClusterTeamListItem struct {
	CreatedAt time.Time          `json:"createdAt"`
	Email     string             `json:"email"`
	Id        openapi_types.UUID `json:"id"`
	IsBanned  bool               `json:"isBanned"`
	Name      *string            `json:"name,omitempty"`
	Slug      *string            `json:"slug,omitempty"`
}

ClusterTeamListItem defines model for ClusterTeamListItem.

type ClusterTeamListResponse

type ClusterTeamListResponse struct {
	Items []ClusterTeamListItem `json:"items"`

	// Total Number of teams assigned to the cluster, ignoring limit and offset
	Total int64 `json:"total"`
}

ClusterTeamListResponse defines model for ClusterTeamListResponse.

type ConnectSandbox

type ConnectSandbox struct {
	// Memory Defaults to true. When false and the sandbox is paused, resume from disk state only: the sandbox cold-boots fresh and any memory in the snapshot is ignored, never modified or deleted. Disk state has crash-recovery semantics — writes not flushed before the pause may be lost. A no-op for snapshots that contain no memory. Rejected with an error in environments where this capability is not enabled, never silently downgraded to a memory restore. A snapshot taken while the sandbox guest agent was not responding (envdUnresponsiveAtPause) can only be resumed this way, and needs no enablement.
	Memory *bool `json:"memory,omitempty"`

	// Timeout Timeout in seconds from the current time after which the sandbox should expire
	Timeout int32 `json:"timeout"`
}

ConnectSandbox defines model for ConnectSandbox.

type ConnectSandboxV2

type ConnectSandboxV2 struct {
	// Memory Defaults to true. When false and the sandbox is paused, resume from disk state only: the sandbox cold-boots fresh and any memory in the snapshot is ignored, never modified or deleted. Disk state has crash-recovery semantics — writes not flushed before the pause may be lost. A no-op for snapshots that contain no memory. Rejected with an error in environments where this capability is not enabled, never silently downgraded to a memory restore. A snapshot taken while the sandbox guest agent was not responding (envdUnresponsiveAtPause) can only be resumed this way, and needs no enablement.
	Memory *bool `json:"memory,omitempty"`

	// Timeout Timeout in seconds from the current time after which the sandbox should expire
	Timeout *int32 `json:"timeout,omitempty"`
}

ConnectSandboxV2 defines model for ConnectSandboxV2.

type CreatedTeamAPIKey

type CreatedTeamAPIKey struct {
	// CreatedAt Timestamp of API key creation
	CreatedAt time.Time `json:"createdAt"`
	CreatedBy *TeamUser `json:"createdBy,omitempty"`

	// Id Identifier of the API key
	Id openapi_types.UUID `json:"id"`

	// Key Raw value of the API key
	Key string `json:"key"`

	// LastUsed Last time this API key was used
	LastUsed *time.Time               `json:"lastUsed,omitempty"`
	Mask     IdentifierMaskingDetails `json:"mask"`

	// Name Name of the API key
	Name string `json:"name"`
}

CreatedTeamAPIKey defines model for CreatedTeamAPIKey.

type DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse

type DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse429Headers
}

func ParseDeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse

func ParseDeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse(rsp *http.Response) (*DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse, error)

ParseDeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse parses an HTTP response from a DeleteAdminTeamsTeamIDApiKeysApiKeyIDWithResponse call

func (DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse429Headers

type DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse429Headers struct {
	RetryAfter *int
}

DeleteAdminTeamsTeamIDApiKeysApiKeyIDResponse429Headers the declared response headers of an HTTP 429 response for DeleteAdminTeamsTeamIDApiKeysApiKeyID

type DeleteApiKeysApiKeyIDResponse

type DeleteApiKeysApiKeyIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteApiKeysApiKeyIDResponse429Headers
}

func ParseDeleteApiKeysApiKeyIDResponse

func ParseDeleteApiKeysApiKeyIDResponse(rsp *http.Response) (*DeleteApiKeysApiKeyIDResponse, error)

ParseDeleteApiKeysApiKeyIDResponse parses an HTTP response from a DeleteApiKeysApiKeyIDWithResponse call

func (DeleteApiKeysApiKeyIDResponse) ContentType

func (r DeleteApiKeysApiKeyIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteApiKeysApiKeyIDResponse) GetBody

func (r DeleteApiKeysApiKeyIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteApiKeysApiKeyIDResponse) GetJSON401

func (r DeleteApiKeysApiKeyIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteApiKeysApiKeyIDResponse) GetJSON404

func (r DeleteApiKeysApiKeyIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteApiKeysApiKeyIDResponse) GetJSON429

func (r DeleteApiKeysApiKeyIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteApiKeysApiKeyIDResponse) GetJSON500

func (r DeleteApiKeysApiKeyIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteApiKeysApiKeyIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteApiKeysApiKeyIDResponse) StatusCode

func (r DeleteApiKeysApiKeyIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteApiKeysApiKeyIDResponse429Headers

type DeleteApiKeysApiKeyIDResponse429Headers struct {
	RetryAfter *int
}

DeleteApiKeysApiKeyIDResponse429Headers the declared response headers of an HTTP 429 response for DeleteApiKeysApiKeyID

type DeleteClustersClusterIDRigsInstancesInstanceIDParams

type DeleteClustersClusterIDRigsInstancesInstanceIDParams struct {
	// DecrementDesired When true, desired capacity is decremented (rig shrinks); when false, the scaling group launches a replacement instance
	DecrementDesired bool `form:"decrementDesired" json:"decrementDesired"`
}

DeleteClustersClusterIDRigsInstancesInstanceIDParams defines parameters for DeleteClustersClusterIDRigsInstancesInstanceID.

type DeleteClustersClusterIDRigsInstancesInstanceIDResponse

type DeleteClustersClusterIDRigsInstancesInstanceIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *N501
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteClustersClusterIDRigsInstancesInstanceIDResponse429Headers
}

func ParseDeleteClustersClusterIDRigsInstancesInstanceIDResponse

func ParseDeleteClustersClusterIDRigsInstancesInstanceIDResponse(rsp *http.Response) (*DeleteClustersClusterIDRigsInstancesInstanceIDResponse, error)

ParseDeleteClustersClusterIDRigsInstancesInstanceIDResponse parses an HTTP response from a DeleteClustersClusterIDRigsInstancesInstanceIDWithResponse call

func (DeleteClustersClusterIDRigsInstancesInstanceIDResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteClustersClusterIDRigsInstancesInstanceIDResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (DeleteClustersClusterIDRigsInstancesInstanceIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteClustersClusterIDRigsInstancesInstanceIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteClustersClusterIDRigsInstancesInstanceIDResponse429Headers

type DeleteClustersClusterIDRigsInstancesInstanceIDResponse429Headers struct {
	RetryAfter *int
}

DeleteClustersClusterIDRigsInstancesInstanceIDResponse429Headers the declared response headers of an HTTP 429 response for DeleteClustersClusterIDRigsInstancesInstanceID

type DeleteEventsWebhooksWebhookIDResponse

type DeleteEventsWebhooksWebhookIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *N503
}

func ParseDeleteEventsWebhooksWebhookIDResponse

func ParseDeleteEventsWebhooksWebhookIDResponse(rsp *http.Response) (*DeleteEventsWebhooksWebhookIDResponse, error)

ParseDeleteEventsWebhooksWebhookIDResponse parses an HTTP response from a DeleteEventsWebhooksWebhookIDWithResponse call

func (DeleteEventsWebhooksWebhookIDResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteEventsWebhooksWebhookIDResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteEventsWebhooksWebhookIDResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteEventsWebhooksWebhookIDResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteEventsWebhooksWebhookIDResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteEventsWebhooksWebhookIDResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteEventsWebhooksWebhookIDResponse) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (DeleteEventsWebhooksWebhookIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteEventsWebhooksWebhookIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteSandboxesSandboxIDResponse

type DeleteSandboxesSandboxIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteSandboxesSandboxIDResponse429Headers
}

func ParseDeleteSandboxesSandboxIDResponse

func ParseDeleteSandboxesSandboxIDResponse(rsp *http.Response) (*DeleteSandboxesSandboxIDResponse, error)

ParseDeleteSandboxesSandboxIDResponse parses an HTTP response from a DeleteSandboxesSandboxIDWithResponse call

func (DeleteSandboxesSandboxIDResponse) ContentType

func (r DeleteSandboxesSandboxIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteSandboxesSandboxIDResponse) GetBody

func (r DeleteSandboxesSandboxIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteSandboxesSandboxIDResponse) GetJSON401

func (r DeleteSandboxesSandboxIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteSandboxesSandboxIDResponse) GetJSON404

func (r DeleteSandboxesSandboxIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteSandboxesSandboxIDResponse) GetJSON409

func (r DeleteSandboxesSandboxIDResponse) GetJSON409() *N409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteSandboxesSandboxIDResponse) GetJSON429

func (r DeleteSandboxesSandboxIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteSandboxesSandboxIDResponse) GetJSON500

func (r DeleteSandboxesSandboxIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteSandboxesSandboxIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteSandboxesSandboxIDResponse) StatusCode

func (r DeleteSandboxesSandboxIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSandboxesSandboxIDResponse429Headers

type DeleteSandboxesSandboxIDResponse429Headers struct {
	RetryAfter *int
}

DeleteSandboxesSandboxIDResponse429Headers the declared response headers of an HTTP 429 response for DeleteSandboxesSandboxID

type DeleteSecretsSecretIDResponse

type DeleteSecretsSecretIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *N502
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *N504
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteSecretsSecretIDResponse429Headers
}

func ParseDeleteSecretsSecretIDResponse

func ParseDeleteSecretsSecretIDResponse(rsp *http.Response) (*DeleteSecretsSecretIDResponse, error)

ParseDeleteSecretsSecretIDResponse parses an HTTP response from a DeleteSecretsSecretIDWithResponse call

func (DeleteSecretsSecretIDResponse) ContentType

func (r DeleteSecretsSecretIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteSecretsSecretIDResponse) GetBody

func (r DeleteSecretsSecretIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteSecretsSecretIDResponse) GetJSON400

func (r DeleteSecretsSecretIDResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteSecretsSecretIDResponse) GetJSON401

func (r DeleteSecretsSecretIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteSecretsSecretIDResponse) GetJSON403

func (r DeleteSecretsSecretIDResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteSecretsSecretIDResponse) GetJSON404

func (r DeleteSecretsSecretIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteSecretsSecretIDResponse) GetJSON409

func (r DeleteSecretsSecretIDResponse) GetJSON409() *N409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteSecretsSecretIDResponse) GetJSON429

func (r DeleteSecretsSecretIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteSecretsSecretIDResponse) GetJSON500

func (r DeleteSecretsSecretIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteSecretsSecretIDResponse) GetJSON502

func (r DeleteSecretsSecretIDResponse) GetJSON502() *N502

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (DeleteSecretsSecretIDResponse) GetJSON504

func (r DeleteSecretsSecretIDResponse) GetJSON504() *N504

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (DeleteSecretsSecretIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteSecretsSecretIDResponse) StatusCode

func (r DeleteSecretsSecretIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSecretsSecretIDResponse429Headers

type DeleteSecretsSecretIDResponse429Headers struct {
	RetryAfter *int
}

DeleteSecretsSecretIDResponse429Headers the declared response headers of an HTTP 429 response for DeleteSecretsSecretID

type DeleteTemplateTagsRequest

type DeleteTemplateTagsRequest struct {
	// Name Name of the template
	Name string `json:"name"`

	// Tags Tags to delete
	Tags []string `json:"tags"`
}

DeleteTemplateTagsRequest defines model for DeleteTemplateTagsRequest.

type DeleteTemplatesTagsJSONRequestBody

type DeleteTemplatesTagsJSONRequestBody = DeleteTemplateTagsRequest

DeleteTemplatesTagsJSONRequestBody defines body for DeleteTemplatesTags for application/json ContentType.

type DeleteTemplatesTagsResponse

type DeleteTemplatesTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteTemplatesTagsResponse429Headers
}

func ParseDeleteTemplatesTagsResponse

func ParseDeleteTemplatesTagsResponse(rsp *http.Response) (*DeleteTemplatesTagsResponse, error)

ParseDeleteTemplatesTagsResponse parses an HTTP response from a DeleteTemplatesTagsWithResponse call

func (DeleteTemplatesTagsResponse) ContentType

func (r DeleteTemplatesTagsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteTemplatesTagsResponse) GetBody

func (r DeleteTemplatesTagsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteTemplatesTagsResponse) GetJSON400

func (r DeleteTemplatesTagsResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteTemplatesTagsResponse) GetJSON401

func (r DeleteTemplatesTagsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteTemplatesTagsResponse) GetJSON404

func (r DeleteTemplatesTagsResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteTemplatesTagsResponse) GetJSON429

func (r DeleteTemplatesTagsResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteTemplatesTagsResponse) GetJSON500

func (r DeleteTemplatesTagsResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteTemplatesTagsResponse) Status

Status returns HTTPResponse.Status

func (DeleteTemplatesTagsResponse) StatusCode

func (r DeleteTemplatesTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTemplatesTagsResponse429Headers

type DeleteTemplatesTagsResponse429Headers struct {
	RetryAfter *int
}

DeleteTemplatesTagsResponse429Headers the declared response headers of an HTTP 429 response for DeleteTemplatesTags

type DeleteTemplatesTemplateIDResponse

type DeleteTemplatesTemplateIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteTemplatesTemplateIDResponse429Headers
}

func ParseDeleteTemplatesTemplateIDResponse

func ParseDeleteTemplatesTemplateIDResponse(rsp *http.Response) (*DeleteTemplatesTemplateIDResponse, error)

ParseDeleteTemplatesTemplateIDResponse parses an HTTP response from a DeleteTemplatesTemplateIDWithResponse call

func (DeleteTemplatesTemplateIDResponse) ContentType

func (r DeleteTemplatesTemplateIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteTemplatesTemplateIDResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteTemplatesTemplateIDResponse) GetJSON401

func (r DeleteTemplatesTemplateIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteTemplatesTemplateIDResponse) GetJSON429

func (r DeleteTemplatesTemplateIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteTemplatesTemplateIDResponse) GetJSON500

func (r DeleteTemplatesTemplateIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteTemplatesTemplateIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteTemplatesTemplateIDResponse) StatusCode

func (r DeleteTemplatesTemplateIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTemplatesTemplateIDResponse429Headers

type DeleteTemplatesTemplateIDResponse429Headers struct {
	RetryAfter *int
}

DeleteTemplatesTemplateIDResponse429Headers the declared response headers of an HTTP 429 response for DeleteTemplatesTemplateID

type DeleteUnstableAdminTemplatesAliasesAliasIDResponse

type DeleteUnstableAdminTemplatesAliasesAliasIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AdminTemplateAliasDeleted
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParseDeleteUnstableAdminTemplatesAliasesAliasIDResponse

func ParseDeleteUnstableAdminTemplatesAliasesAliasIDResponse(rsp *http.Response) (*DeleteUnstableAdminTemplatesAliasesAliasIDResponse, error)

ParseDeleteUnstableAdminTemplatesAliasesAliasIDResponse parses an HTTP response from a DeleteUnstableAdminTemplatesAliasesAliasIDWithResponse call

func (DeleteUnstableAdminTemplatesAliasesAliasIDResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteUnstableAdminTemplatesAliasesAliasIDResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteUnstableAdminTemplatesAliasesAliasIDResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteUnstableAdminTemplatesAliasesAliasIDResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteUnstableAdminTemplatesAliasesAliasIDResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteUnstableAdminTemplatesAliasesAliasIDResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteUnstableAdminTemplatesAliasesAliasIDResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteUnstableAdminTemplatesAliasesAliasIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteUnstableAdminTemplatesAliasesAliasIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteUnstableAdminTemplatesDefaultsTemplateIDResponse

type DeleteUnstableAdminTemplatesDefaultsTemplateIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParseDeleteUnstableAdminTemplatesDefaultsTemplateIDResponse

func ParseDeleteUnstableAdminTemplatesDefaultsTemplateIDResponse(rsp *http.Response) (*DeleteUnstableAdminTemplatesDefaultsTemplateIDResponse, error)

ParseDeleteUnstableAdminTemplatesDefaultsTemplateIDResponse parses an HTTP response from a DeleteUnstableAdminTemplatesDefaultsTemplateIDWithResponse call

func (DeleteUnstableAdminTemplatesDefaultsTemplateIDResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteUnstableAdminTemplatesDefaultsTemplateIDResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteUnstableAdminTemplatesDefaultsTemplateIDResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteUnstableAdminTemplatesDefaultsTemplateIDResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteUnstableAdminTemplatesDefaultsTemplateIDResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteUnstableAdminTemplatesDefaultsTemplateIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteUnstableAdminTemplatesDefaultsTemplateIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteVolumesVolumeIDResponse

type DeleteVolumesVolumeIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteVolumesVolumeIDResponse429Headers
}

func ParseDeleteVolumesVolumeIDResponse

func ParseDeleteVolumesVolumeIDResponse(rsp *http.Response) (*DeleteVolumesVolumeIDResponse, error)

ParseDeleteVolumesVolumeIDResponse parses an HTTP response from a DeleteVolumesVolumeIDWithResponse call

func (DeleteVolumesVolumeIDResponse) ContentType

func (r DeleteVolumesVolumeIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteVolumesVolumeIDResponse) GetBody

func (r DeleteVolumesVolumeIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteVolumesVolumeIDResponse) GetJSON401

func (r DeleteVolumesVolumeIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteVolumesVolumeIDResponse) GetJSON404

func (r DeleteVolumesVolumeIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteVolumesVolumeIDResponse) GetJSON429

func (r DeleteVolumesVolumeIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteVolumesVolumeIDResponse) GetJSON500

func (r DeleteVolumesVolumeIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteVolumesVolumeIDResponse) Status

Status returns HTTPResponse.Status

func (DeleteVolumesVolumeIDResponse) StatusCode

func (r DeleteVolumesVolumeIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteVolumesVolumeIDResponse429Headers

type DeleteVolumesVolumeIDResponse429Headers struct {
	RetryAfter *int
}

DeleteVolumesVolumeIDResponse429Headers the declared response headers of an HTTP 429 response for DeleteVolumesVolumeID

type DiskMetrics

type DiskMetrics struct {
	// Device Device name
	Device string `json:"device"`

	// FilesystemType Filesystem type (e.g., ext4, xfs)
	FilesystemType string `json:"filesystemType"`

	// MountPoint Mount point of the disk
	MountPoint string `json:"mountPoint"`

	// TotalBytes Total space in bytes
	TotalBytes uint64 `json:"totalBytes"`

	// UsedBytes Used space in bytes
	UsedBytes uint64 `json:"usedBytes"`
}

DiskMetrics defines model for DiskMetrics.

type DiskSizeMB

type DiskSizeMB = int32

DiskSizeMB Disk size for the sandbox in MiB

type EnvVars

type EnvVars map[string]string

EnvVars defines model for EnvVars.

type EnvdUnresponsiveAtPause

type EnvdUnresponsiveAtPause = bool

EnvdUnresponsiveAtPause True when the snapshot a paused sandbox would resume from was taken while the sandbox guest agent was not responding. A plain resume of it is refused with 409 and error_code sandbox_snapshot_guest_agent_unresponsive, because restoring that memory would bring the unresponsive agent back; resume it without memory (`memory: false`), which cold-boots the sandbox from its disk. Omitted for a running sandbox and for a snapshot whose agent answered.

type EnvdVersion

type EnvdVersion = string

EnvdVersion Version of the envd running in the sandbox

type Error

type Error struct {
	// Code Error code
	Code int32 `json:"code"`

	// ErrorCode Machine-readable semantic error code. Not a closed set; initial values: sandbox_capacity_unavailable, sandbox_placement_timeout, sandbox_no_compatible_node, sandbox_create_failed (a node could not create the sandbox this time; retry), sandbox_create_refused (a node refused the sandbox for a reason no retry changes, such as a vcpu count out of bounds in the stored build; a server error, since no request field reaches that check), internal_server_error, secret_limit_reached, idempotency_request_mismatch, idempotency_in_progress, idempotency_outcome_unknown, sandbox_snapshot_guest_agent_unresponsive (a plain resume of a snapshot taken while the sandbox guest agent was not responding; resume it with memory: false).
	ErrorCode *string `json:"error_code,omitempty"`

	// Message Error
	Message string `json:"message"`
}

Error defines model for Error.

type FromImageRegistry

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

FromImageRegistry defines model for FromImageRegistry.

func (FromImageRegistry) AsAWSRegistry

func (t FromImageRegistry) AsAWSRegistry() (AWSRegistry, error)

AsAWSRegistry returns the union data inside the FromImageRegistry as a AWSRegistry

func (FromImageRegistry) AsGCPRegistry

func (t FromImageRegistry) AsGCPRegistry() (GCPRegistry, error)

AsGCPRegistry returns the union data inside the FromImageRegistry as a GCPRegistry

func (FromImageRegistry) AsGeneralRegistry

func (t FromImageRegistry) AsGeneralRegistry() (GeneralRegistry, error)

AsGeneralRegistry returns the union data inside the FromImageRegistry as a GeneralRegistry

func (FromImageRegistry) Discriminator

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

func (*FromImageRegistry) FromAWSRegistry

func (t *FromImageRegistry) FromAWSRegistry(v AWSRegistry) error

FromAWSRegistry overwrites any union data inside the FromImageRegistry as the provided AWSRegistry

func (*FromImageRegistry) FromGCPRegistry

func (t *FromImageRegistry) FromGCPRegistry(v GCPRegistry) error

FromGCPRegistry overwrites any union data inside the FromImageRegistry as the provided GCPRegistry

func (*FromImageRegistry) FromGeneralRegistry

func (t *FromImageRegistry) FromGeneralRegistry(v GeneralRegistry) error

FromGeneralRegistry overwrites any union data inside the FromImageRegistry as the provided GeneralRegistry

func (FromImageRegistry) MarshalJSON

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

func (*FromImageRegistry) MergeAWSRegistry

func (t *FromImageRegistry) MergeAWSRegistry(v AWSRegistry) error

MergeAWSRegistry performs a merge with any union data inside the FromImageRegistry, using the provided AWSRegistry

func (*FromImageRegistry) MergeGCPRegistry

func (t *FromImageRegistry) MergeGCPRegistry(v GCPRegistry) error

MergeGCPRegistry performs a merge with any union data inside the FromImageRegistry, using the provided GCPRegistry

func (*FromImageRegistry) MergeGeneralRegistry

func (t *FromImageRegistry) MergeGeneralRegistry(v GeneralRegistry) error

MergeGeneralRegistry performs a merge with any union data inside the FromImageRegistry, using the provided GeneralRegistry

func (*FromImageRegistry) UnmarshalJSON

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

func (FromImageRegistry) ValueByDiscriminator

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

type GCPRegistry

type GCPRegistry struct {
	// ServiceAccountJson Service Account JSON for GCP authentication
	ServiceAccountJson string `json:"serviceAccountJson"`

	// Type Type of registry authentication
	Type GCPRegistryType `json:"type"`
}

GCPRegistry defines model for GCPRegistry.

type GCPRegistryType

type GCPRegistryType string

GCPRegistryType Type of registry authentication

const (
	Gcp GCPRegistryType = "gcp"
)

Defines values for GCPRegistryType.

func (GCPRegistryType) Valid

func (e GCPRegistryType) Valid() bool

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

type GeneralRegistry

type GeneralRegistry struct {
	// Password Password to use for the registry
	Password string `json:"password"`

	// Type Type of registry authentication
	Type GeneralRegistryType `json:"type"`

	// Username Username to use for the registry
	Username string `json:"username"`
}

GeneralRegistry defines model for GeneralRegistry.

type GeneralRegistryType

type GeneralRegistryType string

GeneralRegistryType Type of registry authentication

const (
	Registry GeneralRegistryType = "registry"
)

Defines values for GeneralRegistryType.

func (GeneralRegistryType) Valid

func (e GeneralRegistryType) Valid() bool

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

type GetAdminSandboxesRunningCountsResponse

type GetAdminSandboxesRunningCountsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AdminTeamRunningSandboxCounts
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetAdminSandboxesRunningCountsResponse429Headers
}

func ParseGetAdminSandboxesRunningCountsResponse

func ParseGetAdminSandboxesRunningCountsResponse(rsp *http.Response) (*GetAdminSandboxesRunningCountsResponse, error)

ParseGetAdminSandboxesRunningCountsResponse parses an HTTP response from a GetAdminSandboxesRunningCountsWithResponse call

func (GetAdminSandboxesRunningCountsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAdminSandboxesRunningCountsResponse) GetBody

GetBody returns the raw response body bytes

func (GetAdminSandboxesRunningCountsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAdminSandboxesRunningCountsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAdminSandboxesRunningCountsResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetAdminSandboxesRunningCountsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetAdminSandboxesRunningCountsResponse) Status

Status returns HTTPResponse.Status

func (GetAdminSandboxesRunningCountsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetAdminSandboxesRunningCountsResponse429Headers

type GetAdminSandboxesRunningCountsResponse429Headers struct {
	RetryAfter *int
}

GetAdminSandboxesRunningCountsResponse429Headers the declared response headers of an HTTP 429 response for GetAdminSandboxesRunningCounts

type GetAdminSandboxesSandboxIDResponse

type GetAdminSandboxesSandboxIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AdminSandbox
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetAdminSandboxesSandboxIDResponse429Headers
}

func ParseGetAdminSandboxesSandboxIDResponse

func ParseGetAdminSandboxesSandboxIDResponse(rsp *http.Response) (*GetAdminSandboxesSandboxIDResponse, error)

ParseGetAdminSandboxesSandboxIDResponse parses an HTTP response from a GetAdminSandboxesSandboxIDWithResponse call

func (GetAdminSandboxesSandboxIDResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAdminSandboxesSandboxIDResponse) GetBody

GetBody returns the raw response body bytes

func (GetAdminSandboxesSandboxIDResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAdminSandboxesSandboxIDResponse) GetJSON400

func (r GetAdminSandboxesSandboxIDResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetAdminSandboxesSandboxIDResponse) GetJSON401

func (r GetAdminSandboxesSandboxIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAdminSandboxesSandboxIDResponse) GetJSON404

func (r GetAdminSandboxesSandboxIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetAdminSandboxesSandboxIDResponse) GetJSON429

func (r GetAdminSandboxesSandboxIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetAdminSandboxesSandboxIDResponse) GetJSON500

func (r GetAdminSandboxesSandboxIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetAdminSandboxesSandboxIDResponse) Status

Status returns HTTPResponse.Status

func (GetAdminSandboxesSandboxIDResponse) StatusCode

func (r GetAdminSandboxesSandboxIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAdminSandboxesSandboxIDResponse429Headers

type GetAdminSandboxesSandboxIDResponse429Headers struct {
	RetryAfter *int
}

GetAdminSandboxesSandboxIDResponse429Headers the declared response headers of an HTTP 429 response for GetAdminSandboxesSandboxID

type GetAdminTeamsTeamIDApiKeysResponse

type GetAdminTeamsTeamIDApiKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]TeamAPIKey
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParseGetAdminTeamsTeamIDApiKeysResponse

func ParseGetAdminTeamsTeamIDApiKeysResponse(rsp *http.Response) (*GetAdminTeamsTeamIDApiKeysResponse, error)

ParseGetAdminTeamsTeamIDApiKeysResponse parses an HTTP response from a GetAdminTeamsTeamIDApiKeysWithResponse call

func (GetAdminTeamsTeamIDApiKeysResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAdminTeamsTeamIDApiKeysResponse) GetBody

GetBody returns the raw response body bytes

func (GetAdminTeamsTeamIDApiKeysResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAdminTeamsTeamIDApiKeysResponse) GetJSON400

func (r GetAdminTeamsTeamIDApiKeysResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetAdminTeamsTeamIDApiKeysResponse) GetJSON401

func (r GetAdminTeamsTeamIDApiKeysResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAdminTeamsTeamIDApiKeysResponse) GetJSON500

func (r GetAdminTeamsTeamIDApiKeysResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetAdminTeamsTeamIDApiKeysResponse) Status

Status returns HTTPResponse.Status

func (GetAdminTeamsTeamIDApiKeysResponse) StatusCode

func (r GetAdminTeamsTeamIDApiKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetApiKeysResponse

type GetApiKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]TeamAPIKey
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetApiKeysResponse429Headers
}

func ParseGetApiKeysResponse

func ParseGetApiKeysResponse(rsp *http.Response) (*GetApiKeysResponse, error)

ParseGetApiKeysResponse parses an HTTP response from a GetApiKeysWithResponse call

func (GetApiKeysResponse) ContentType

func (r GetApiKeysResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetApiKeysResponse) GetBody

func (r GetApiKeysResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetApiKeysResponse) GetJSON200

func (r GetApiKeysResponse) GetJSON200() *[]TeamAPIKey

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetApiKeysResponse) GetJSON401

func (r GetApiKeysResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetApiKeysResponse) GetJSON429

func (r GetApiKeysResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetApiKeysResponse) GetJSON500

func (r GetApiKeysResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetApiKeysResponse) Status

func (r GetApiKeysResponse) Status() string

Status returns HTTPResponse.Status

func (GetApiKeysResponse) StatusCode

func (r GetApiKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetApiKeysResponse429Headers

type GetApiKeysResponse429Headers struct {
	RetryAfter *int
}

GetApiKeysResponse429Headers the declared response headers of an HTTP 429 response for GetApiKeys

type GetClustersClusterIDRigsResponse

type GetClustersClusterIDRigsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Rig
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *N501
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetClustersClusterIDRigsResponse429Headers
}

func ParseGetClustersClusterIDRigsResponse

func ParseGetClustersClusterIDRigsResponse(rsp *http.Response) (*GetClustersClusterIDRigsResponse, error)

ParseGetClustersClusterIDRigsResponse parses an HTTP response from a GetClustersClusterIDRigsWithResponse call

func (GetClustersClusterIDRigsResponse) ContentType

func (r GetClustersClusterIDRigsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetClustersClusterIDRigsResponse) GetBody

func (r GetClustersClusterIDRigsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetClustersClusterIDRigsResponse) GetJSON200

func (r GetClustersClusterIDRigsResponse) GetJSON200() *[]Rig

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetClustersClusterIDRigsResponse) GetJSON401

func (r GetClustersClusterIDRigsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetClustersClusterIDRigsResponse) GetJSON404

func (r GetClustersClusterIDRigsResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetClustersClusterIDRigsResponse) GetJSON429

func (r GetClustersClusterIDRigsResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetClustersClusterIDRigsResponse) GetJSON500

func (r GetClustersClusterIDRigsResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetClustersClusterIDRigsResponse) GetJSON501

func (r GetClustersClusterIDRigsResponse) GetJSON501() *N501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (GetClustersClusterIDRigsResponse) Status

Status returns HTTPResponse.Status

func (GetClustersClusterIDRigsResponse) StatusCode

func (r GetClustersClusterIDRigsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetClustersClusterIDRigsResponse429Headers

type GetClustersClusterIDRigsResponse429Headers struct {
	RetryAfter *int
}

GetClustersClusterIDRigsResponse429Headers the declared response headers of an HTTP 429 response for GetClustersClusterIDRigs

type GetClustersClusterIDRigsRigIDErrorsParams

type GetClustersClusterIDRigsRigIDErrorsParams struct {
	// Limit Maximum number of errors to return
	Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}

GetClustersClusterIDRigsRigIDErrorsParams defines parameters for GetClustersClusterIDRigsRigIDErrors.

type GetClustersClusterIDRigsRigIDErrorsResponse

type GetClustersClusterIDRigsRigIDErrorsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]RigError
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *N501
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetClustersClusterIDRigsRigIDErrorsResponse429Headers
}

func ParseGetClustersClusterIDRigsRigIDErrorsResponse

func ParseGetClustersClusterIDRigsRigIDErrorsResponse(rsp *http.Response) (*GetClustersClusterIDRigsRigIDErrorsResponse, error)

ParseGetClustersClusterIDRigsRigIDErrorsResponse parses an HTTP response from a GetClustersClusterIDRigsRigIDErrorsWithResponse call

func (GetClustersClusterIDRigsRigIDErrorsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetClustersClusterIDRigsRigIDErrorsResponse) GetBody

GetBody returns the raw response body bytes

func (GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetClustersClusterIDRigsRigIDErrorsResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (GetClustersClusterIDRigsRigIDErrorsResponse) Status

Status returns HTTPResponse.Status

func (GetClustersClusterIDRigsRigIDErrorsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetClustersClusterIDRigsRigIDErrorsResponse429Headers

type GetClustersClusterIDRigsRigIDErrorsResponse429Headers struct {
	RetryAfter *int
}

GetClustersClusterIDRigsRigIDErrorsResponse429Headers the declared response headers of an HTTP 429 response for GetClustersClusterIDRigsRigIDErrors

type GetClustersClusterIDRigsRigIDInstancesResponse

type GetClustersClusterIDRigsRigIDInstancesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]RigInstance
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *N501
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetClustersClusterIDRigsRigIDInstancesResponse429Headers
}

func ParseGetClustersClusterIDRigsRigIDInstancesResponse

func ParseGetClustersClusterIDRigsRigIDInstancesResponse(rsp *http.Response) (*GetClustersClusterIDRigsRigIDInstancesResponse, error)

ParseGetClustersClusterIDRigsRigIDInstancesResponse parses an HTTP response from a GetClustersClusterIDRigsRigIDInstancesWithResponse call

func (GetClustersClusterIDRigsRigIDInstancesResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetClustersClusterIDRigsRigIDInstancesResponse) GetBody

GetBody returns the raw response body bytes

func (GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetClustersClusterIDRigsRigIDInstancesResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (GetClustersClusterIDRigsRigIDInstancesResponse) Status

Status returns HTTPResponse.Status

func (GetClustersClusterIDRigsRigIDInstancesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetClustersClusterIDRigsRigIDInstancesResponse429Headers

type GetClustersClusterIDRigsRigIDInstancesResponse429Headers struct {
	RetryAfter *int
}

GetClustersClusterIDRigsRigIDInstancesResponse429Headers the declared response headers of an HTTP 429 response for GetClustersClusterIDRigsRigIDInstances

type GetDefaultTemplatesResponse

type GetDefaultTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Template
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetDefaultTemplatesResponse429Headers
}

func ParseGetDefaultTemplatesResponse

func ParseGetDefaultTemplatesResponse(rsp *http.Response) (*GetDefaultTemplatesResponse, error)

ParseGetDefaultTemplatesResponse parses an HTTP response from a GetDefaultTemplatesWithResponse call

func (GetDefaultTemplatesResponse) ContentType

func (r GetDefaultTemplatesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDefaultTemplatesResponse) GetBody

func (r GetDefaultTemplatesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDefaultTemplatesResponse) GetJSON200

func (r GetDefaultTemplatesResponse) GetJSON200() *[]Template

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDefaultTemplatesResponse) GetJSON401

func (r GetDefaultTemplatesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetDefaultTemplatesResponse) GetJSON429

func (r GetDefaultTemplatesResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetDefaultTemplatesResponse) GetJSON500

func (r GetDefaultTemplatesResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetDefaultTemplatesResponse) Status

Status returns HTTPResponse.Status

func (GetDefaultTemplatesResponse) StatusCode

func (r GetDefaultTemplatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDefaultTemplatesResponse429Headers

type GetDefaultTemplatesResponse429Headers struct {
	RetryAfter *int
}

GetDefaultTemplatesResponse429Headers the declared response headers of an HTTP 429 response for GetDefaultTemplates

type GetEventsSandboxesParams

type GetEventsSandboxesParams struct {
	Offset   *int32 `form:"offset,omitempty" json:"offset,omitempty"`
	Limit    *int32 `form:"limit,omitempty" json:"limit,omitempty"`
	OrderAsc *bool  `form:"orderAsc,omitempty" json:"orderAsc,omitempty"`

	// Types Filter events to the provided event types
	Types *[]string `form:"types,omitempty" json:"types,omitempty"`
}

GetEventsSandboxesParams defines parameters for GetEventsSandboxes.

type GetEventsSandboxesResponse

type GetEventsSandboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]SandboxEvent
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParseGetEventsSandboxesResponse

func ParseGetEventsSandboxesResponse(rsp *http.Response) (*GetEventsSandboxesResponse, error)

ParseGetEventsSandboxesResponse parses an HTTP response from a GetEventsSandboxesWithResponse call

func (GetEventsSandboxesResponse) ContentType

func (r GetEventsSandboxesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetEventsSandboxesResponse) GetBody

func (r GetEventsSandboxesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetEventsSandboxesResponse) GetJSON200

func (r GetEventsSandboxesResponse) GetJSON200() *[]SandboxEvent

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetEventsSandboxesResponse) GetJSON400

func (r GetEventsSandboxesResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetEventsSandboxesResponse) GetJSON401

func (r GetEventsSandboxesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetEventsSandboxesResponse) GetJSON404

func (r GetEventsSandboxesResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetEventsSandboxesResponse) GetJSON500

func (r GetEventsSandboxesResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetEventsSandboxesResponse) Status

Status returns HTTPResponse.Status

func (GetEventsSandboxesResponse) StatusCode

func (r GetEventsSandboxesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetEventsSandboxesSandboxIDParams

type GetEventsSandboxesSandboxIDParams struct {
	Offset   *int32 `form:"offset,omitempty" json:"offset,omitempty"`
	Limit    *int32 `form:"limit,omitempty" json:"limit,omitempty"`
	OrderAsc *bool  `form:"orderAsc,omitempty" json:"orderAsc,omitempty"`

	// Types Filter events to the provided event types
	Types *[]string `form:"types,omitempty" json:"types,omitempty"`
}

GetEventsSandboxesSandboxIDParams defines parameters for GetEventsSandboxesSandboxID.

type GetEventsSandboxesSandboxIDResponse

type GetEventsSandboxesSandboxIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]SandboxEvent
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParseGetEventsSandboxesSandboxIDResponse

func ParseGetEventsSandboxesSandboxIDResponse(rsp *http.Response) (*GetEventsSandboxesSandboxIDResponse, error)

ParseGetEventsSandboxesSandboxIDResponse parses an HTTP response from a GetEventsSandboxesSandboxIDWithResponse call

func (GetEventsSandboxesSandboxIDResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetEventsSandboxesSandboxIDResponse) GetBody

GetBody returns the raw response body bytes

func (GetEventsSandboxesSandboxIDResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetEventsSandboxesSandboxIDResponse) GetJSON400

func (r GetEventsSandboxesSandboxIDResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetEventsSandboxesSandboxIDResponse) GetJSON401

func (r GetEventsSandboxesSandboxIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetEventsSandboxesSandboxIDResponse) GetJSON404

func (r GetEventsSandboxesSandboxIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetEventsSandboxesSandboxIDResponse) GetJSON500

func (r GetEventsSandboxesSandboxIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetEventsSandboxesSandboxIDResponse) Status

Status returns HTTPResponse.Status

func (GetEventsSandboxesSandboxIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetEventsWebhooksResponse

type GetEventsWebhooksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]WebhookDetail
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParseGetEventsWebhooksResponse

func ParseGetEventsWebhooksResponse(rsp *http.Response) (*GetEventsWebhooksResponse, error)

ParseGetEventsWebhooksResponse parses an HTTP response from a GetEventsWebhooksWithResponse call

func (GetEventsWebhooksResponse) ContentType

func (r GetEventsWebhooksResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetEventsWebhooksResponse) GetBody

func (r GetEventsWebhooksResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetEventsWebhooksResponse) GetJSON200

func (r GetEventsWebhooksResponse) GetJSON200() *[]WebhookDetail

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetEventsWebhooksResponse) GetJSON401

func (r GetEventsWebhooksResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetEventsWebhooksResponse) GetJSON404

func (r GetEventsWebhooksResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetEventsWebhooksResponse) GetJSON500

func (r GetEventsWebhooksResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetEventsWebhooksResponse) Status

func (r GetEventsWebhooksResponse) Status() string

Status returns HTTPResponse.Status

func (GetEventsWebhooksResponse) StatusCode

func (r GetEventsWebhooksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetEventsWebhooksWebhookIDDeliveriesParams

type GetEventsWebhooksWebhookIDDeliveriesParams struct {
	// Cursor Opaque cursor from the previous response's nextCursor field.
	Cursor   *string `form:"cursor,omitempty" json:"cursor,omitempty"`
	Limit    *int32  `form:"limit,omitempty" json:"limit,omitempty"`
	OrderAsc *bool   `form:"orderAsc,omitempty" json:"orderAsc,omitempty"`

	// Start Include deliveries at or after this timestamp.
	Start *time.Time `form:"start,omitempty" json:"start,omitempty"`

	// End Include deliveries before this timestamp.
	End *time.Time `form:"end,omitempty" json:"end,omitempty"`

	// DeliveryStatus Filter deliveries by delivery status
	DeliveryStatus *[]GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatus `form:"deliveryStatus,omitempty" json:"deliveryStatus,omitempty"`

	// EventType Filter deliveries by event type
	EventType *[]string `form:"eventType,omitempty" json:"eventType,omitempty"`
}

GetEventsWebhooksWebhookIDDeliveriesParams defines parameters for GetEventsWebhooksWebhookIDDeliveries.

type GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatus

type GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatus string

GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatus defines parameters for GetEventsWebhooksWebhookIDDeliveries.

const (
	GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatusFailed  GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatus = "failed"
	GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatusSuccess GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatus = "success"
)

Defines values for GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatus.

func (GetEventsWebhooksWebhookIDDeliveriesParamsDeliveryStatus) Valid

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

type GetEventsWebhooksWebhookIDDeliveriesResponse

type GetEventsWebhooksWebhookIDDeliveriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WebhookDeliveriesListPayload
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParseGetEventsWebhooksWebhookIDDeliveriesResponse

func ParseGetEventsWebhooksWebhookIDDeliveriesResponse(rsp *http.Response) (*GetEventsWebhooksWebhookIDDeliveriesResponse, error)

ParseGetEventsWebhooksWebhookIDDeliveriesResponse parses an HTTP response from a GetEventsWebhooksWebhookIDDeliveriesWithResponse call

func (GetEventsWebhooksWebhookIDDeliveriesResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetEventsWebhooksWebhookIDDeliveriesResponse) GetBody

GetBody returns the raw response body bytes

func (GetEventsWebhooksWebhookIDDeliveriesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetEventsWebhooksWebhookIDDeliveriesResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetEventsWebhooksWebhookIDDeliveriesResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetEventsWebhooksWebhookIDDeliveriesResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetEventsWebhooksWebhookIDDeliveriesResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetEventsWebhooksWebhookIDDeliveriesResponse) Status

Status returns HTTPResponse.Status

func (GetEventsWebhooksWebhookIDDeliveriesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetEventsWebhooksWebhookIDResponse

type GetEventsWebhooksWebhookIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WebhookDetail
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParseGetEventsWebhooksWebhookIDResponse

func ParseGetEventsWebhooksWebhookIDResponse(rsp *http.Response) (*GetEventsWebhooksWebhookIDResponse, error)

ParseGetEventsWebhooksWebhookIDResponse parses an HTTP response from a GetEventsWebhooksWebhookIDWithResponse call

func (GetEventsWebhooksWebhookIDResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetEventsWebhooksWebhookIDResponse) GetBody

GetBody returns the raw response body bytes

func (GetEventsWebhooksWebhookIDResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetEventsWebhooksWebhookIDResponse) GetJSON401

func (r GetEventsWebhooksWebhookIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetEventsWebhooksWebhookIDResponse) GetJSON404

func (r GetEventsWebhooksWebhookIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetEventsWebhooksWebhookIDResponse) GetJSON500

func (r GetEventsWebhooksWebhookIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetEventsWebhooksWebhookIDResponse) Status

Status returns HTTPResponse.Status

func (GetEventsWebhooksWebhookIDResponse) StatusCode

func (r GetEventsWebhooksWebhookIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetEventsWebhooksWebhookIDStatsParams

type GetEventsWebhooksWebhookIDStatsParams struct {
	// Start Inclusive stats range start. Defaults to 24 hours ago.
	Start *time.Time `form:"start,omitempty" json:"start,omitempty"`

	// End Exclusive stats range end. Defaults to now.
	End *time.Time `form:"end,omitempty" json:"end,omitempty"`
}

GetEventsWebhooksWebhookIDStatsParams defines parameters for GetEventsWebhooksWebhookIDStats.

type GetEventsWebhooksWebhookIDStatsResponse

type GetEventsWebhooksWebhookIDStatsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WebhookDeliveryStats
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParseGetEventsWebhooksWebhookIDStatsResponse

func ParseGetEventsWebhooksWebhookIDStatsResponse(rsp *http.Response) (*GetEventsWebhooksWebhookIDStatsResponse, error)

ParseGetEventsWebhooksWebhookIDStatsResponse parses an HTTP response from a GetEventsWebhooksWebhookIDStatsWithResponse call

func (GetEventsWebhooksWebhookIDStatsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetEventsWebhooksWebhookIDStatsResponse) GetBody

GetBody returns the raw response body bytes

func (GetEventsWebhooksWebhookIDStatsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetEventsWebhooksWebhookIDStatsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetEventsWebhooksWebhookIDStatsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetEventsWebhooksWebhookIDStatsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetEventsWebhooksWebhookIDStatsResponse) Status

Status returns HTTPResponse.Status

func (GetEventsWebhooksWebhookIDStatsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetHealthResponse

type GetHealthResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetHealthResponse429Headers
}

func ParseGetHealthResponse

func ParseGetHealthResponse(rsp *http.Response) (*GetHealthResponse, error)

ParseGetHealthResponse parses an HTTP response from a GetHealthWithResponse call

func (GetHealthResponse) ContentType

func (r GetHealthResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetHealthResponse) GetBody

func (r GetHealthResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetHealthResponse) GetJSON401

func (r GetHealthResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetHealthResponse) GetJSON429

func (r GetHealthResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetHealthResponse) Status

func (r GetHealthResponse) Status() string

Status returns HTTPResponse.Status

func (GetHealthResponse) StatusCode

func (r GetHealthResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetHealthResponse429Headers

type GetHealthResponse429Headers struct {
	RetryAfter *int
}

GetHealthResponse429Headers the declared response headers of an HTTP 429 response for GetHealth

type GetNodesNodeIDParams

type GetNodesNodeIDParams struct {
	// ClusterID Identifier of the cluster
	ClusterID *openapi_types.UUID `form:"clusterID,omitempty" json:"clusterID,omitempty"`
}

GetNodesNodeIDParams defines parameters for GetNodesNodeID.

type GetNodesNodeIDResponse

type GetNodesNodeIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *NodeDetail
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetNodesNodeIDResponse429Headers
}

func ParseGetNodesNodeIDResponse

func ParseGetNodesNodeIDResponse(rsp *http.Response) (*GetNodesNodeIDResponse, error)

ParseGetNodesNodeIDResponse parses an HTTP response from a GetNodesNodeIDWithResponse call

func (GetNodesNodeIDResponse) ContentType

func (r GetNodesNodeIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetNodesNodeIDResponse) GetBody

func (r GetNodesNodeIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetNodesNodeIDResponse) GetJSON200

func (r GetNodesNodeIDResponse) GetJSON200() *NodeDetail

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetNodesNodeIDResponse) GetJSON401

func (r GetNodesNodeIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetNodesNodeIDResponse) GetJSON404

func (r GetNodesNodeIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetNodesNodeIDResponse) GetJSON429

func (r GetNodesNodeIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetNodesNodeIDResponse) GetJSON500

func (r GetNodesNodeIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetNodesNodeIDResponse) Status

func (r GetNodesNodeIDResponse) Status() string

Status returns HTTPResponse.Status

func (GetNodesNodeIDResponse) StatusCode

func (r GetNodesNodeIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetNodesNodeIDResponse429Headers

type GetNodesNodeIDResponse429Headers struct {
	RetryAfter *int
}

GetNodesNodeIDResponse429Headers the declared response headers of an HTTP 429 response for GetNodesNodeID

type GetNodesNodeIDSandboxesParams

type GetNodesNodeIDSandboxesParams struct {
	// ClusterID Identifier of the cluster
	ClusterID *openapi_types.UUID `form:"clusterID,omitempty" json:"clusterID,omitempty"`
}

GetNodesNodeIDSandboxesParams defines parameters for GetNodesNodeIDSandboxes.

type GetNodesNodeIDSandboxesResponse

type GetNodesNodeIDSandboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *NodeSandboxes
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetNodesNodeIDSandboxesResponse429Headers
}

func ParseGetNodesNodeIDSandboxesResponse

func ParseGetNodesNodeIDSandboxesResponse(rsp *http.Response) (*GetNodesNodeIDSandboxesResponse, error)

ParseGetNodesNodeIDSandboxesResponse parses an HTTP response from a GetNodesNodeIDSandboxesWithResponse call

func (GetNodesNodeIDSandboxesResponse) ContentType

func (r GetNodesNodeIDSandboxesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetNodesNodeIDSandboxesResponse) GetBody

func (r GetNodesNodeIDSandboxesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetNodesNodeIDSandboxesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetNodesNodeIDSandboxesResponse) GetJSON401

func (r GetNodesNodeIDSandboxesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetNodesNodeIDSandboxesResponse) GetJSON404

func (r GetNodesNodeIDSandboxesResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetNodesNodeIDSandboxesResponse) GetJSON429

func (r GetNodesNodeIDSandboxesResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetNodesNodeIDSandboxesResponse) GetJSON500

func (r GetNodesNodeIDSandboxesResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetNodesNodeIDSandboxesResponse) Status

Status returns HTTPResponse.Status

func (GetNodesNodeIDSandboxesResponse) StatusCode

func (r GetNodesNodeIDSandboxesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetNodesNodeIDSandboxesResponse429Headers

type GetNodesNodeIDSandboxesResponse429Headers struct {
	RetryAfter *int
}

GetNodesNodeIDSandboxesResponse429Headers the declared response headers of an HTTP 429 response for GetNodesNodeIDSandboxes

type GetNodesParams

type GetNodesParams struct {
	// ClusterID Identifier of the cluster
	ClusterID *openapi_types.UUID `form:"clusterID,omitempty" json:"clusterID,omitempty"`
}

GetNodesParams defines parameters for GetNodes.

type GetNodesResponse

type GetNodesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Node
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetNodesResponse429Headers
}

func ParseGetNodesResponse

func ParseGetNodesResponse(rsp *http.Response) (*GetNodesResponse, error)

ParseGetNodesResponse parses an HTTP response from a GetNodesWithResponse call

func (GetNodesResponse) ContentType

func (r GetNodesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetNodesResponse) GetBody

func (r GetNodesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetNodesResponse) GetJSON200

func (r GetNodesResponse) GetJSON200() *[]Node

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetNodesResponse) GetJSON401

func (r GetNodesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetNodesResponse) GetJSON429

func (r GetNodesResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetNodesResponse) GetJSON500

func (r GetNodesResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetNodesResponse) Status

func (r GetNodesResponse) Status() string

Status returns HTTPResponse.Status

func (GetNodesResponse) StatusCode

func (r GetNodesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetNodesResponse429Headers

type GetNodesResponse429Headers struct {
	RetryAfter *int
}

GetNodesResponse429Headers the declared response headers of an HTTP 429 response for GetNodes

type GetSandboxesMetricsParams

type GetSandboxesMetricsParams struct {
	// SandboxIds Comma-separated list of sandbox IDs to get metrics for
	SandboxIds []string `form:"sandbox_ids" json:"sandbox_ids"`
}

GetSandboxesMetricsParams defines parameters for GetSandboxesMetrics.

type GetSandboxesMetricsResponse

type GetSandboxesMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SandboxesWithMetrics
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSandboxesMetricsResponse429Headers
}

func ParseGetSandboxesMetricsResponse

func ParseGetSandboxesMetricsResponse(rsp *http.Response) (*GetSandboxesMetricsResponse, error)

ParseGetSandboxesMetricsResponse parses an HTTP response from a GetSandboxesMetricsWithResponse call

func (GetSandboxesMetricsResponse) ContentType

func (r GetSandboxesMetricsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxesMetricsResponse) GetBody

func (r GetSandboxesMetricsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSandboxesMetricsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxesMetricsResponse) GetJSON400

func (r GetSandboxesMetricsResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetSandboxesMetricsResponse) GetJSON401

func (r GetSandboxesMetricsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxesMetricsResponse) GetJSON429

func (r GetSandboxesMetricsResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetSandboxesMetricsResponse) GetJSON500

func (r GetSandboxesMetricsResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetSandboxesMetricsResponse) Status

Status returns HTTPResponse.Status

func (GetSandboxesMetricsResponse) StatusCode

func (r GetSandboxesMetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxesMetricsResponse429Headers

type GetSandboxesMetricsResponse429Headers struct {
	RetryAfter *int
}

GetSandboxesMetricsResponse429Headers the declared response headers of an HTTP 429 response for GetSandboxesMetrics

type GetSandboxesParams

type GetSandboxesParams struct {
	// Metadata Metadata query used to filter the sandboxes (e.g. "user=abc&app=prod"). Each key and values must be URL encoded.
	Metadata *string `form:"metadata,omitempty" json:"metadata,omitempty"`
}

GetSandboxesParams defines parameters for GetSandboxes.

type GetSandboxesResponse

type GetSandboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]ListedSandbox
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSandboxesResponse429Headers
}

func ParseGetSandboxesResponse

func ParseGetSandboxesResponse(rsp *http.Response) (*GetSandboxesResponse, error)

ParseGetSandboxesResponse parses an HTTP response from a GetSandboxesWithResponse call

func (GetSandboxesResponse) ContentType

func (r GetSandboxesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxesResponse) GetBody

func (r GetSandboxesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSandboxesResponse) GetJSON200

func (r GetSandboxesResponse) GetJSON200() *[]ListedSandbox

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxesResponse) GetJSON400

func (r GetSandboxesResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetSandboxesResponse) GetJSON401

func (r GetSandboxesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxesResponse) GetJSON429

func (r GetSandboxesResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetSandboxesResponse) GetJSON500

func (r GetSandboxesResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetSandboxesResponse) Status

func (r GetSandboxesResponse) Status() string

Status returns HTTPResponse.Status

func (GetSandboxesResponse) StatusCode

func (r GetSandboxesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxesResponse429Headers

type GetSandboxesResponse429Headers struct {
	RetryAfter *int
}

GetSandboxesResponse429Headers the declared response headers of an HTTP 429 response for GetSandboxes

type GetSandboxesSandboxIDLogsParams

type GetSandboxesSandboxIDLogsParams struct {
	// Start Starting timestamp of the logs that should be returned in milliseconds
	Start *int64 `form:"start,omitempty" json:"start,omitempty"`

	// Limit Maximum number of logs that should be returned
	Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}

GetSandboxesSandboxIDLogsParams defines parameters for GetSandboxesSandboxIDLogs.

type GetSandboxesSandboxIDLogsResponse

type GetSandboxesSandboxIDLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SandboxLogs
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSandboxesSandboxIDLogsResponse429Headers
}

func ParseGetSandboxesSandboxIDLogsResponse

func ParseGetSandboxesSandboxIDLogsResponse(rsp *http.Response) (*GetSandboxesSandboxIDLogsResponse, error)

ParseGetSandboxesSandboxIDLogsResponse parses an HTTP response from a GetSandboxesSandboxIDLogsWithResponse call

func (GetSandboxesSandboxIDLogsResponse) ContentType

func (r GetSandboxesSandboxIDLogsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxesSandboxIDLogsResponse) GetBody

GetBody returns the raw response body bytes

func (GetSandboxesSandboxIDLogsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxesSandboxIDLogsResponse) GetJSON401

func (r GetSandboxesSandboxIDLogsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxesSandboxIDLogsResponse) GetJSON404

func (r GetSandboxesSandboxIDLogsResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSandboxesSandboxIDLogsResponse) GetJSON429

func (r GetSandboxesSandboxIDLogsResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetSandboxesSandboxIDLogsResponse) GetJSON500

func (r GetSandboxesSandboxIDLogsResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetSandboxesSandboxIDLogsResponse) Status

Status returns HTTPResponse.Status

func (GetSandboxesSandboxIDLogsResponse) StatusCode

func (r GetSandboxesSandboxIDLogsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxesSandboxIDLogsResponse429Headers

type GetSandboxesSandboxIDLogsResponse429Headers struct {
	RetryAfter *int
}

GetSandboxesSandboxIDLogsResponse429Headers the declared response headers of an HTTP 429 response for GetSandboxesSandboxIDLogs

type GetSandboxesSandboxIDMetricsParams

type GetSandboxesSandboxIDMetricsParams struct {
	// Start Unix timestamp for the start of the interval, in seconds, for which the metrics
	Start *int64 `form:"start,omitempty" json:"start,omitempty"`
	End   *int64 `form:"end,omitempty" json:"end,omitempty"`
}

GetSandboxesSandboxIDMetricsParams defines parameters for GetSandboxesSandboxIDMetrics.

type GetSandboxesSandboxIDMetricsResponse

type GetSandboxesSandboxIDMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]SandboxMetric
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSandboxesSandboxIDMetricsResponse429Headers
}

func ParseGetSandboxesSandboxIDMetricsResponse

func ParseGetSandboxesSandboxIDMetricsResponse(rsp *http.Response) (*GetSandboxesSandboxIDMetricsResponse, error)

ParseGetSandboxesSandboxIDMetricsResponse parses an HTTP response from a GetSandboxesSandboxIDMetricsWithResponse call

func (GetSandboxesSandboxIDMetricsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxesSandboxIDMetricsResponse) GetBody

GetBody returns the raw response body bytes

func (GetSandboxesSandboxIDMetricsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxesSandboxIDMetricsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetSandboxesSandboxIDMetricsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxesSandboxIDMetricsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSandboxesSandboxIDMetricsResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetSandboxesSandboxIDMetricsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetSandboxesSandboxIDMetricsResponse) Status

Status returns HTTPResponse.Status

func (GetSandboxesSandboxIDMetricsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetSandboxesSandboxIDMetricsResponse429Headers

type GetSandboxesSandboxIDMetricsResponse429Headers struct {
	RetryAfter *int
}

GetSandboxesSandboxIDMetricsResponse429Headers the declared response headers of an HTTP 429 response for GetSandboxesSandboxIDMetrics

type GetSandboxesSandboxIDResponse

type GetSandboxesSandboxIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SandboxDetail
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSandboxesSandboxIDResponse429Headers
}

func ParseGetSandboxesSandboxIDResponse

func ParseGetSandboxesSandboxIDResponse(rsp *http.Response) (*GetSandboxesSandboxIDResponse, error)

ParseGetSandboxesSandboxIDResponse parses an HTTP response from a GetSandboxesSandboxIDWithResponse call

func (GetSandboxesSandboxIDResponse) ContentType

func (r GetSandboxesSandboxIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSandboxesSandboxIDResponse) GetBody

func (r GetSandboxesSandboxIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSandboxesSandboxIDResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSandboxesSandboxIDResponse) GetJSON401

func (r GetSandboxesSandboxIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSandboxesSandboxIDResponse) GetJSON404

func (r GetSandboxesSandboxIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSandboxesSandboxIDResponse) GetJSON429

func (r GetSandboxesSandboxIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetSandboxesSandboxIDResponse) GetJSON500

func (r GetSandboxesSandboxIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetSandboxesSandboxIDResponse) Status

Status returns HTTPResponse.Status

func (GetSandboxesSandboxIDResponse) StatusCode

func (r GetSandboxesSandboxIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxesSandboxIDResponse429Headers

type GetSandboxesSandboxIDResponse429Headers struct {
	RetryAfter *int
}

GetSandboxesSandboxIDResponse429Headers the declared response headers of an HTTP 429 response for GetSandboxesSandboxID

type GetSecretsParams

type GetSecretsParams struct {
	// NextToken Cursor to start the list from
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// Limit Maximum number of items to return per page
	Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
}

GetSecretsParams defines parameters for GetSecrets.

type GetSecretsResponse

type GetSecretsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Secret
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *N502
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *N504
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetSecretsResponse200Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSecretsResponse429Headers
}

func ParseGetSecretsResponse

func ParseGetSecretsResponse(rsp *http.Response) (*GetSecretsResponse, error)

ParseGetSecretsResponse parses an HTTP response from a GetSecretsWithResponse call

func (GetSecretsResponse) ContentType

func (r GetSecretsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSecretsResponse) GetBody

func (r GetSecretsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSecretsResponse) GetJSON200

func (r GetSecretsResponse) GetJSON200() *[]Secret

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSecretsResponse) GetJSON400

func (r GetSecretsResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetSecretsResponse) GetJSON401

func (r GetSecretsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSecretsResponse) GetJSON403

func (r GetSecretsResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSecretsResponse) GetJSON404

func (r GetSecretsResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSecretsResponse) GetJSON409

func (r GetSecretsResponse) GetJSON409() *N409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetSecretsResponse) GetJSON429

func (r GetSecretsResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetSecretsResponse) GetJSON500

func (r GetSecretsResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetSecretsResponse) GetJSON502

func (r GetSecretsResponse) GetJSON502() *N502

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (GetSecretsResponse) GetJSON504

func (r GetSecretsResponse) GetJSON504() *N504

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (GetSecretsResponse) Status

func (r GetSecretsResponse) Status() string

Status returns HTTPResponse.Status

func (GetSecretsResponse) StatusCode

func (r GetSecretsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSecretsResponse200Headers

type GetSecretsResponse200Headers struct {
	XNextToken *string
}

GetSecretsResponse200Headers the declared response headers of an HTTP 200 response for GetSecrets

type GetSecretsResponse429Headers

type GetSecretsResponse429Headers struct {
	RetryAfter *int
}

GetSecretsResponse429Headers the declared response headers of an HTTP 429 response for GetSecrets

type GetSecretsSecretIDResponse

type GetSecretsSecretIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Secret
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *N502
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *N504
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSecretsSecretIDResponse429Headers
}

func ParseGetSecretsSecretIDResponse

func ParseGetSecretsSecretIDResponse(rsp *http.Response) (*GetSecretsSecretIDResponse, error)

ParseGetSecretsSecretIDResponse parses an HTTP response from a GetSecretsSecretIDWithResponse call

func (GetSecretsSecretIDResponse) ContentType

func (r GetSecretsSecretIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSecretsSecretIDResponse) GetBody

func (r GetSecretsSecretIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSecretsSecretIDResponse) GetJSON200

func (r GetSecretsSecretIDResponse) GetJSON200() *Secret

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSecretsSecretIDResponse) GetJSON400

func (r GetSecretsSecretIDResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetSecretsSecretIDResponse) GetJSON401

func (r GetSecretsSecretIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSecretsSecretIDResponse) GetJSON403

func (r GetSecretsSecretIDResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSecretsSecretIDResponse) GetJSON404

func (r GetSecretsSecretIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSecretsSecretIDResponse) GetJSON409

func (r GetSecretsSecretIDResponse) GetJSON409() *N409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetSecretsSecretIDResponse) GetJSON429

func (r GetSecretsSecretIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetSecretsSecretIDResponse) GetJSON500

func (r GetSecretsSecretIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetSecretsSecretIDResponse) GetJSON502

func (r GetSecretsSecretIDResponse) GetJSON502() *N502

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (GetSecretsSecretIDResponse) GetJSON504

func (r GetSecretsSecretIDResponse) GetJSON504() *N504

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (GetSecretsSecretIDResponse) Status

Status returns HTTPResponse.Status

func (GetSecretsSecretIDResponse) StatusCode

func (r GetSecretsSecretIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSecretsSecretIDResponse429Headers

type GetSecretsSecretIDResponse429Headers struct {
	RetryAfter *int
}

GetSecretsSecretIDResponse429Headers the declared response headers of an HTTP 429 response for GetSecretsSecretID

type GetSnapshotsParams

type GetSnapshotsParams struct {
	SandboxID *string `form:"sandboxID,omitempty" json:"sandboxID,omitempty"`

	// Name Filter snapshots by name or ID, optionally tag-qualified (e.g. "my-snapshot", "my-team/my-snapshot" or "my-snapshot:v1").
	Name *string `form:"name,omitempty" json:"name,omitempty"`

	// Limit Maximum number of items to return per page
	Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// NextToken Cursor to start the list from
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`
}

GetSnapshotsParams defines parameters for GetSnapshots.

type GetSnapshotsResponse

type GetSnapshotsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]SnapshotInfo
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetSnapshotsResponse200Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSnapshotsResponse429Headers
}

func ParseGetSnapshotsResponse

func ParseGetSnapshotsResponse(rsp *http.Response) (*GetSnapshotsResponse, error)

ParseGetSnapshotsResponse parses an HTTP response from a GetSnapshotsWithResponse call

func (GetSnapshotsResponse) ContentType

func (r GetSnapshotsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSnapshotsResponse) GetBody

func (r GetSnapshotsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSnapshotsResponse) GetJSON200

func (r GetSnapshotsResponse) GetJSON200() *[]SnapshotInfo

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSnapshotsResponse) GetJSON401

func (r GetSnapshotsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSnapshotsResponse) GetJSON429

func (r GetSnapshotsResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetSnapshotsResponse) GetJSON500

func (r GetSnapshotsResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetSnapshotsResponse) Status

func (r GetSnapshotsResponse) Status() string

Status returns HTTPResponse.Status

func (GetSnapshotsResponse) StatusCode

func (r GetSnapshotsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSnapshotsResponse200Headers

type GetSnapshotsResponse200Headers struct {
	XNextToken *string
}

GetSnapshotsResponse200Headers the declared response headers of an HTTP 200 response for GetSnapshots

type GetSnapshotsResponse429Headers

type GetSnapshotsResponse429Headers struct {
	RetryAfter *int
}

GetSnapshotsResponse429Headers the declared response headers of an HTTP 429 response for GetSnapshots

type GetTeamsTeamIDMetricsMaxParams

type GetTeamsTeamIDMetricsMaxParams struct {
	// Start Unix timestamp for the start of the interval, in seconds, for which the metrics
	Start *int64 `form:"start,omitempty" json:"start,omitempty"`
	End   *int64 `form:"end,omitempty" json:"end,omitempty"`

	// Metric Metric to retrieve the maximum value for
	Metric GetTeamsTeamIDMetricsMaxParamsMetric `form:"metric" json:"metric"`
}

GetTeamsTeamIDMetricsMaxParams defines parameters for GetTeamsTeamIDMetricsMax.

type GetTeamsTeamIDMetricsMaxParamsMetric

type GetTeamsTeamIDMetricsMaxParamsMetric string

GetTeamsTeamIDMetricsMaxParamsMetric defines parameters for GetTeamsTeamIDMetricsMax.

const (
	ConcurrentSandboxes GetTeamsTeamIDMetricsMaxParamsMetric = "concurrent_sandboxes"
	SandboxStartRate    GetTeamsTeamIDMetricsMaxParamsMetric = "sandbox_start_rate"
)

Defines values for GetTeamsTeamIDMetricsMaxParamsMetric.

func (GetTeamsTeamIDMetricsMaxParamsMetric) Valid

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

type GetTeamsTeamIDMetricsMaxResponse

type GetTeamsTeamIDMetricsMaxResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *MaxTeamMetric
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTeamsTeamIDMetricsMaxResponse429Headers
}

func ParseGetTeamsTeamIDMetricsMaxResponse

func ParseGetTeamsTeamIDMetricsMaxResponse(rsp *http.Response) (*GetTeamsTeamIDMetricsMaxResponse, error)

ParseGetTeamsTeamIDMetricsMaxResponse parses an HTTP response from a GetTeamsTeamIDMetricsMaxWithResponse call

func (GetTeamsTeamIDMetricsMaxResponse) ContentType

func (r GetTeamsTeamIDMetricsMaxResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTeamsTeamIDMetricsMaxResponse) GetBody

func (r GetTeamsTeamIDMetricsMaxResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTeamsTeamIDMetricsMaxResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTeamsTeamIDMetricsMaxResponse) GetJSON400

func (r GetTeamsTeamIDMetricsMaxResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetTeamsTeamIDMetricsMaxResponse) GetJSON401

func (r GetTeamsTeamIDMetricsMaxResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTeamsTeamIDMetricsMaxResponse) GetJSON403

func (r GetTeamsTeamIDMetricsMaxResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTeamsTeamIDMetricsMaxResponse) GetJSON429

func (r GetTeamsTeamIDMetricsMaxResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTeamsTeamIDMetricsMaxResponse) GetJSON500

func (r GetTeamsTeamIDMetricsMaxResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTeamsTeamIDMetricsMaxResponse) Status

Status returns HTTPResponse.Status

func (GetTeamsTeamIDMetricsMaxResponse) StatusCode

func (r GetTeamsTeamIDMetricsMaxResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeamsTeamIDMetricsMaxResponse429Headers

type GetTeamsTeamIDMetricsMaxResponse429Headers struct {
	RetryAfter *int
}

GetTeamsTeamIDMetricsMaxResponse429Headers the declared response headers of an HTTP 429 response for GetTeamsTeamIDMetricsMax

type GetTeamsTeamIDMetricsParams

type GetTeamsTeamIDMetricsParams struct {
	// Start Unix timestamp for the start of the interval, in seconds, for which the metrics
	Start *int64 `form:"start,omitempty" json:"start,omitempty"`
	End   *int64 `form:"end,omitempty" json:"end,omitempty"`
}

GetTeamsTeamIDMetricsParams defines parameters for GetTeamsTeamIDMetrics.

type GetTeamsTeamIDMetricsResponse

type GetTeamsTeamIDMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]TeamMetric
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTeamsTeamIDMetricsResponse429Headers
}

func ParseGetTeamsTeamIDMetricsResponse

func ParseGetTeamsTeamIDMetricsResponse(rsp *http.Response) (*GetTeamsTeamIDMetricsResponse, error)

ParseGetTeamsTeamIDMetricsResponse parses an HTTP response from a GetTeamsTeamIDMetricsWithResponse call

func (GetTeamsTeamIDMetricsResponse) ContentType

func (r GetTeamsTeamIDMetricsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTeamsTeamIDMetricsResponse) GetBody

func (r GetTeamsTeamIDMetricsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTeamsTeamIDMetricsResponse) GetJSON200

func (r GetTeamsTeamIDMetricsResponse) GetJSON200() *[]TeamMetric

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTeamsTeamIDMetricsResponse) GetJSON400

func (r GetTeamsTeamIDMetricsResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetTeamsTeamIDMetricsResponse) GetJSON401

func (r GetTeamsTeamIDMetricsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTeamsTeamIDMetricsResponse) GetJSON403

func (r GetTeamsTeamIDMetricsResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTeamsTeamIDMetricsResponse) GetJSON429

func (r GetTeamsTeamIDMetricsResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTeamsTeamIDMetricsResponse) GetJSON500

func (r GetTeamsTeamIDMetricsResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTeamsTeamIDMetricsResponse) Status

Status returns HTTPResponse.Status

func (GetTeamsTeamIDMetricsResponse) StatusCode

func (r GetTeamsTeamIDMetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeamsTeamIDMetricsResponse429Headers

type GetTeamsTeamIDMetricsResponse429Headers struct {
	RetryAfter *int
}

GetTeamsTeamIDMetricsResponse429Headers the declared response headers of an HTTP 429 response for GetTeamsTeamIDMetrics

type GetTemplatesAliasesAliasResponse

type GetTemplatesAliasesAliasResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TemplateAliasResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesAliasesAliasResponse429Headers
}

func ParseGetTemplatesAliasesAliasResponse

func ParseGetTemplatesAliasesAliasResponse(rsp *http.Response) (*GetTemplatesAliasesAliasResponse, error)

ParseGetTemplatesAliasesAliasResponse parses an HTTP response from a GetTemplatesAliasesAliasWithResponse call

func (GetTemplatesAliasesAliasResponse) ContentType

func (r GetTemplatesAliasesAliasResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesAliasesAliasResponse) GetBody

func (r GetTemplatesAliasesAliasResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTemplatesAliasesAliasResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplatesAliasesAliasResponse) GetJSON400

func (r GetTemplatesAliasesAliasResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetTemplatesAliasesAliasResponse) GetJSON403

func (r GetTemplatesAliasesAliasResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTemplatesAliasesAliasResponse) GetJSON404

func (r GetTemplatesAliasesAliasResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTemplatesAliasesAliasResponse) GetJSON429

func (r GetTemplatesAliasesAliasResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesAliasesAliasResponse) GetJSON500

func (r GetTemplatesAliasesAliasResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesAliasesAliasResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesAliasesAliasResponse) StatusCode

func (r GetTemplatesAliasesAliasResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesAliasesAliasResponse429Headers

type GetTemplatesAliasesAliasResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesAliasesAliasResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesAliasesAlias

type GetTemplatesParams

type GetTemplatesParams struct {
	TeamID *string `form:"teamID,omitempty" json:"teamID,omitempty"`
}

GetTemplatesParams defines parameters for GetTemplates.

type GetTemplatesResponse

type GetTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Template
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesResponse429Headers
}

func ParseGetTemplatesResponse

func ParseGetTemplatesResponse(rsp *http.Response) (*GetTemplatesResponse, error)

ParseGetTemplatesResponse parses an HTTP response from a GetTemplatesWithResponse call

func (GetTemplatesResponse) ContentType

func (r GetTemplatesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesResponse) GetBody

func (r GetTemplatesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTemplatesResponse) GetJSON200

func (r GetTemplatesResponse) GetJSON200() *[]Template

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplatesResponse) GetJSON400

func (r GetTemplatesResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetTemplatesResponse) GetJSON401

func (r GetTemplatesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplatesResponse) GetJSON429

func (r GetTemplatesResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesResponse) GetJSON500

func (r GetTemplatesResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesResponse) Status

func (r GetTemplatesResponse) Status() string

Status returns HTTPResponse.Status

func (GetTemplatesResponse) StatusCode

func (r GetTemplatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesResponse429Headers

type GetTemplatesResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesResponse429Headers the declared response headers of an HTTP 429 response for GetTemplates

type GetTemplatesTemplateIDBuildsBuildIDLogsParams

type GetTemplatesTemplateIDBuildsBuildIDLogsParams struct {
	// Cursor Starting timestamp of the logs that should be returned in milliseconds
	Cursor *int64 `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Maximum number of logs that should be returned
	Limit     *int32         `form:"limit,omitempty" json:"limit,omitempty"`
	Direction *LogsDirection `form:"direction,omitempty" json:"direction,omitempty"`
	Level     *LogLevel      `form:"level,omitempty" json:"level,omitempty"`

	// Source Source of the logs that should be returned from
	Source *LogsSource `form:"source,omitempty" json:"source,omitempty"`
}

GetTemplatesTemplateIDBuildsBuildIDLogsParams defines parameters for GetTemplatesTemplateIDBuildsBuildIDLogs.

type GetTemplatesTemplateIDBuildsBuildIDLogsResponse

type GetTemplatesTemplateIDBuildsBuildIDLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TemplateBuildLogsResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesTemplateIDBuildsBuildIDLogsResponse429Headers
}

func ParseGetTemplatesTemplateIDBuildsBuildIDLogsResponse

func ParseGetTemplatesTemplateIDBuildsBuildIDLogsResponse(rsp *http.Response) (*GetTemplatesTemplateIDBuildsBuildIDLogsResponse, error)

ParseGetTemplatesTemplateIDBuildsBuildIDLogsResponse parses an HTTP response from a GetTemplatesTemplateIDBuildsBuildIDLogsWithResponse call

func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetBody

GetBody returns the raw response body bytes

func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDBuildsBuildIDLogsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesTemplateIDBuildsBuildIDLogsResponse429Headers

type GetTemplatesTemplateIDBuildsBuildIDLogsResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesTemplateIDBuildsBuildIDLogsResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateIDBuildsBuildIDLogs

type GetTemplatesTemplateIDBuildsBuildIDStatusParams

type GetTemplatesTemplateIDBuildsBuildIDStatusParams struct {
	// LogsOffset Index of the starting build log that should be returned with the template
	LogsOffset *int32 `form:"logsOffset,omitempty" json:"logsOffset,omitempty"`

	// Limit Maximum number of logs that should be returned
	Limit *int32    `form:"limit,omitempty" json:"limit,omitempty"`
	Level *LogLevel `form:"level,omitempty" json:"level,omitempty"`
}

GetTemplatesTemplateIDBuildsBuildIDStatusParams defines parameters for GetTemplatesTemplateIDBuildsBuildIDStatus.

type GetTemplatesTemplateIDBuildsBuildIDStatusResponse

type GetTemplatesTemplateIDBuildsBuildIDStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TemplateBuildInfo
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesTemplateIDBuildsBuildIDStatusResponse429Headers
}

func ParseGetTemplatesTemplateIDBuildsBuildIDStatusResponse

func ParseGetTemplatesTemplateIDBuildsBuildIDStatusResponse(rsp *http.Response) (*GetTemplatesTemplateIDBuildsBuildIDStatusResponse, error)

ParseGetTemplatesTemplateIDBuildsBuildIDStatusResponse parses an HTTP response from a GetTemplatesTemplateIDBuildsBuildIDStatusWithResponse call

func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetBody

GetBody returns the raw response body bytes

func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDBuildsBuildIDStatusResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesTemplateIDBuildsBuildIDStatusResponse429Headers

type GetTemplatesTemplateIDBuildsBuildIDStatusResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesTemplateIDBuildsBuildIDStatusResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateIDBuildsBuildIDStatus

type GetTemplatesTemplateIDBuildsParams

type GetTemplatesTemplateIDBuildsParams struct {
	// NextToken Cursor to start the list from
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// Limit Maximum number of items to return per page
	Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Statuses Comma-separated list of build statuses to include. Every status when omitted.
	Statuses *TemplateBuildStatuses `form:"statuses,omitempty" json:"statuses,omitempty"`

	// Tags Comma-separated list of tags. Only the builds these tags point at are returned. Every build when omitted.
	Tags *TemplateBuildTags `form:"tags,omitempty" json:"tags,omitempty"`
}

GetTemplatesTemplateIDBuildsParams defines parameters for GetTemplatesTemplateIDBuilds.

type GetTemplatesTemplateIDBuildsResponse

type GetTemplatesTemplateIDBuildsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]TemplateBuildWithTags
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetTemplatesTemplateIDBuildsResponse200Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesTemplateIDBuildsResponse429Headers
}

func ParseGetTemplatesTemplateIDBuildsResponse

func ParseGetTemplatesTemplateIDBuildsResponse(rsp *http.Response) (*GetTemplatesTemplateIDBuildsResponse, error)

ParseGetTemplatesTemplateIDBuildsResponse parses an HTTP response from a GetTemplatesTemplateIDBuildsWithResponse call

func (GetTemplatesTemplateIDBuildsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesTemplateIDBuildsResponse) GetBody

GetBody returns the raw response body bytes

func (GetTemplatesTemplateIDBuildsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplatesTemplateIDBuildsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetTemplatesTemplateIDBuildsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplatesTemplateIDBuildsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTemplatesTemplateIDBuildsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTemplatesTemplateIDBuildsResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesTemplateIDBuildsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesTemplateIDBuildsResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDBuildsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesTemplateIDBuildsResponse200Headers

type GetTemplatesTemplateIDBuildsResponse200Headers struct {
	XNextToken *string
}

GetTemplatesTemplateIDBuildsResponse200Headers the declared response headers of an HTTP 200 response for GetTemplatesTemplateIDBuilds

type GetTemplatesTemplateIDBuildsResponse429Headers

type GetTemplatesTemplateIDBuildsResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesTemplateIDBuildsResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateIDBuilds

type GetTemplatesTemplateIDFilesHashResponse

type GetTemplatesTemplateIDFilesHashResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *TemplateBuildFileUpload
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesTemplateIDFilesHashResponse429Headers
}

func ParseGetTemplatesTemplateIDFilesHashResponse

func ParseGetTemplatesTemplateIDFilesHashResponse(rsp *http.Response) (*GetTemplatesTemplateIDFilesHashResponse, error)

ParseGetTemplatesTemplateIDFilesHashResponse parses an HTTP response from a GetTemplatesTemplateIDFilesHashWithResponse call

func (GetTemplatesTemplateIDFilesHashResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesTemplateIDFilesHashResponse) GetBody

GetBody returns the raw response body bytes

func (GetTemplatesTemplateIDFilesHashResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (GetTemplatesTemplateIDFilesHashResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetTemplatesTemplateIDFilesHashResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplatesTemplateIDFilesHashResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTemplatesTemplateIDFilesHashResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesTemplateIDFilesHashResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesTemplateIDFilesHashResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDFilesHashResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesTemplateIDFilesHashResponse429Headers

type GetTemplatesTemplateIDFilesHashResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesTemplateIDFilesHashResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateIDFilesHash

type GetTemplatesTemplateIDParams

type GetTemplatesTemplateIDParams struct {
	// NextToken Cursor to start the list from
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// Limit Maximum number of items to return per page
	Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
}

GetTemplatesTemplateIDParams defines parameters for GetTemplatesTemplateID.

type GetTemplatesTemplateIDResponse

type GetTemplatesTemplateIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TemplateWithBuilds
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetTemplatesTemplateIDResponse200Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesTemplateIDResponse429Headers
}

func ParseGetTemplatesTemplateIDResponse

func ParseGetTemplatesTemplateIDResponse(rsp *http.Response) (*GetTemplatesTemplateIDResponse, error)

ParseGetTemplatesTemplateIDResponse parses an HTTP response from a GetTemplatesTemplateIDWithResponse call

func (GetTemplatesTemplateIDResponse) ContentType

func (r GetTemplatesTemplateIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesTemplateIDResponse) GetBody

func (r GetTemplatesTemplateIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTemplatesTemplateIDResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplatesTemplateIDResponse) GetJSON401

func (r GetTemplatesTemplateIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplatesTemplateIDResponse) GetJSON429

func (r GetTemplatesTemplateIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesTemplateIDResponse) GetJSON500

func (r GetTemplatesTemplateIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesTemplateIDResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDResponse) StatusCode

func (r GetTemplatesTemplateIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesTemplateIDResponse200Headers

type GetTemplatesTemplateIDResponse200Headers struct {
	XNextToken *string
}

GetTemplatesTemplateIDResponse200Headers the declared response headers of an HTTP 200 response for GetTemplatesTemplateID

type GetTemplatesTemplateIDResponse429Headers

type GetTemplatesTemplateIDResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesTemplateIDResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateID

type GetTemplatesTemplateIDTagsCountResponse

type GetTemplatesTemplateIDTagsCountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TemplateTagsCountResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesTemplateIDTagsCountResponse429Headers
}

func ParseGetTemplatesTemplateIDTagsCountResponse

func ParseGetTemplatesTemplateIDTagsCountResponse(rsp *http.Response) (*GetTemplatesTemplateIDTagsCountResponse, error)

ParseGetTemplatesTemplateIDTagsCountResponse parses an HTTP response from a GetTemplatesTemplateIDTagsCountWithResponse call

func (GetTemplatesTemplateIDTagsCountResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesTemplateIDTagsCountResponse) GetBody

GetBody returns the raw response body bytes

func (GetTemplatesTemplateIDTagsCountResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplatesTemplateIDTagsCountResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplatesTemplateIDTagsCountResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTemplatesTemplateIDTagsCountResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTemplatesTemplateIDTagsCountResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesTemplateIDTagsCountResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesTemplateIDTagsCountResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDTagsCountResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesTemplateIDTagsCountResponse429Headers

type GetTemplatesTemplateIDTagsCountResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesTemplateIDTagsCountResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateIDTagsCount

type GetTemplatesTemplateIDTagsExistsParams

type GetTemplatesTemplateIDTagsExistsParams struct {
	// Tag Template tag name to check.
	Tag TagQuery `form:"tag" json:"tag"`
}

GetTemplatesTemplateIDTagsExistsParams defines parameters for GetTemplatesTemplateIDTagsExists.

type GetTemplatesTemplateIDTagsExistsResponse

type GetTemplatesTemplateIDTagsExistsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TemplateTagExistsResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesTemplateIDTagsExistsResponse429Headers
}

func ParseGetTemplatesTemplateIDTagsExistsResponse

func ParseGetTemplatesTemplateIDTagsExistsResponse(rsp *http.Response) (*GetTemplatesTemplateIDTagsExistsResponse, error)

ParseGetTemplatesTemplateIDTagsExistsResponse parses an HTTP response from a GetTemplatesTemplateIDTagsExistsWithResponse call

func (GetTemplatesTemplateIDTagsExistsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesTemplateIDTagsExistsResponse) GetBody

GetBody returns the raw response body bytes

func (GetTemplatesTemplateIDTagsExistsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplatesTemplateIDTagsExistsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetTemplatesTemplateIDTagsExistsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplatesTemplateIDTagsExistsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTemplatesTemplateIDTagsExistsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTemplatesTemplateIDTagsExistsResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesTemplateIDTagsExistsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesTemplateIDTagsExistsResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDTagsExistsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesTemplateIDTagsExistsResponse429Headers

type GetTemplatesTemplateIDTagsExistsResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesTemplateIDTagsExistsResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateIDTagsExists

type GetTemplatesTemplateIDTagsGroupsParams

type GetTemplatesTemplateIDTagsGroupsParams struct {
	// AssignmentLimit Maximum number of ready assignment rows to return per tag.
	AssignmentLimit *TagAssignmentLimit `form:"assignmentLimit,omitempty" json:"assignmentLimit,omitempty"`

	// TagsLimit Maximum number of distinct tags to return per page.
	TagsLimit *TagGroupsLimit `form:"tagsLimit,omitempty" json:"tagsLimit,omitempty"`

	// TagsCursor Cursor returned by the previous list response in `{sort}|{latest_assigned_at}|{tag}` format (sort-tagged, RFC3339Nano).
	TagsCursor *TagGroupsCursor `form:"tagsCursor,omitempty" json:"tagsCursor,omitempty"`

	// Search Substring filter on tag name. Allowed characters are `a-z`, `0-9`, `.`, `_`, `-`.
	Search *TagGroupsSearch `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sort order for the returned tag groups.
	Sort *GetTemplatesTemplateIDTagsGroupsParamsSort `form:"sort,omitempty" json:"sort,omitempty"`
}

GetTemplatesTemplateIDTagsGroupsParams defines parameters for GetTemplatesTemplateIDTagsGroups.

type GetTemplatesTemplateIDTagsGroupsParamsSort

type GetTemplatesTemplateIDTagsGroupsParamsSort string

GetTemplatesTemplateIDTagsGroupsParamsSort defines parameters for GetTemplatesTemplateIDTagsGroups.

const (
	GetTemplatesTemplateIDTagsGroupsParamsSortLatestAsc  GetTemplatesTemplateIDTagsGroupsParamsSort = "latest_asc"
	GetTemplatesTemplateIDTagsGroupsParamsSortLatestDesc GetTemplatesTemplateIDTagsGroupsParamsSort = "latest_desc"
	GetTemplatesTemplateIDTagsGroupsParamsSortNameAsc    GetTemplatesTemplateIDTagsGroupsParamsSort = "name_asc"
	GetTemplatesTemplateIDTagsGroupsParamsSortNameDesc   GetTemplatesTemplateIDTagsGroupsParamsSort = "name_desc"
)

Defines values for GetTemplatesTemplateIDTagsGroupsParamsSort.

func (GetTemplatesTemplateIDTagsGroupsParamsSort) Valid

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

type GetTemplatesTemplateIDTagsGroupsResponse

type GetTemplatesTemplateIDTagsGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TemplateTagGroupsResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesTemplateIDTagsGroupsResponse429Headers
}

func ParseGetTemplatesTemplateIDTagsGroupsResponse

func ParseGetTemplatesTemplateIDTagsGroupsResponse(rsp *http.Response) (*GetTemplatesTemplateIDTagsGroupsResponse, error)

ParseGetTemplatesTemplateIDTagsGroupsResponse parses an HTTP response from a GetTemplatesTemplateIDTagsGroupsWithResponse call

func (GetTemplatesTemplateIDTagsGroupsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesTemplateIDTagsGroupsResponse) GetBody

GetBody returns the raw response body bytes

func (GetTemplatesTemplateIDTagsGroupsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplatesTemplateIDTagsGroupsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetTemplatesTemplateIDTagsGroupsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplatesTemplateIDTagsGroupsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTemplatesTemplateIDTagsGroupsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTemplatesTemplateIDTagsGroupsResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesTemplateIDTagsGroupsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesTemplateIDTagsGroupsResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDTagsGroupsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesTemplateIDTagsGroupsResponse429Headers

type GetTemplatesTemplateIDTagsGroupsResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesTemplateIDTagsGroupsResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateIDTagsGroups

type GetTemplatesTemplateIDTagsResponse

type GetTemplatesTemplateIDTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]TemplateTag
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesTemplateIDTagsResponse429Headers
}

func ParseGetTemplatesTemplateIDTagsResponse

func ParseGetTemplatesTemplateIDTagsResponse(rsp *http.Response) (*GetTemplatesTemplateIDTagsResponse, error)

ParseGetTemplatesTemplateIDTagsResponse parses an HTTP response from a GetTemplatesTemplateIDTagsWithResponse call

func (GetTemplatesTemplateIDTagsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesTemplateIDTagsResponse) GetBody

GetBody returns the raw response body bytes

func (GetTemplatesTemplateIDTagsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplatesTemplateIDTagsResponse) GetJSON401

func (r GetTemplatesTemplateIDTagsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplatesTemplateIDTagsResponse) GetJSON403

func (r GetTemplatesTemplateIDTagsResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTemplatesTemplateIDTagsResponse) GetJSON404

func (r GetTemplatesTemplateIDTagsResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTemplatesTemplateIDTagsResponse) GetJSON429

func (r GetTemplatesTemplateIDTagsResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesTemplateIDTagsResponse) GetJSON500

func (r GetTemplatesTemplateIDTagsResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesTemplateIDTagsResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDTagsResponse) StatusCode

func (r GetTemplatesTemplateIDTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesTemplateIDTagsResponse429Headers

type GetTemplatesTemplateIDTagsResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesTemplateIDTagsResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateIDTags

type GetTemplatesTemplateIDTagsTagAssignmentsParams

type GetTemplatesTemplateIDTagsTagAssignmentsParams struct {
	// Cursor Cursor returned by the previous list response in `assigned_at|assignment_id` format.
	Cursor *TagAssignmentsCursor `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Maximum number of assignment rows to return per page.
	Limit *TagAssignmentsLimit `form:"limit,omitempty" json:"limit,omitempty"`
}

GetTemplatesTemplateIDTagsTagAssignmentsParams defines parameters for GetTemplatesTemplateIDTagsTagAssignments.

type GetTemplatesTemplateIDTagsTagAssignmentsResponse

type GetTemplatesTemplateIDTagsTagAssignmentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TemplateTagAssignmentsResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTemplatesTemplateIDTagsTagAssignmentsResponse429Headers
}

func ParseGetTemplatesTemplateIDTagsTagAssignmentsResponse

func ParseGetTemplatesTemplateIDTagsTagAssignmentsResponse(rsp *http.Response) (*GetTemplatesTemplateIDTagsTagAssignmentsResponse, error)

ParseGetTemplatesTemplateIDTagsTagAssignmentsResponse parses an HTTP response from a GetTemplatesTemplateIDTagsTagAssignmentsWithResponse call

func (GetTemplatesTemplateIDTagsTagAssignmentsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTemplatesTemplateIDTagsTagAssignmentsResponse) GetBody

GetBody returns the raw response body bytes

func (GetTemplatesTemplateIDTagsTagAssignmentsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTemplatesTemplateIDTagsTagAssignmentsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetTemplatesTemplateIDTagsTagAssignmentsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTemplatesTemplateIDTagsTagAssignmentsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTemplatesTemplateIDTagsTagAssignmentsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTemplatesTemplateIDTagsTagAssignmentsResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTemplatesTemplateIDTagsTagAssignmentsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetTemplatesTemplateIDTagsTagAssignmentsResponse) Status

Status returns HTTPResponse.Status

func (GetTemplatesTemplateIDTagsTagAssignmentsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetTemplatesTemplateIDTagsTagAssignmentsResponse429Headers

type GetTemplatesTemplateIDTagsTagAssignmentsResponse429Headers struct {
	RetryAfter *int
}

GetTemplatesTemplateIDTagsTagAssignmentsResponse429Headers the declared response headers of an HTTP 429 response for GetTemplatesTemplateIDTagsTagAssignments

type GetUnstableAdminSandboxesSandboxIDBuildsParams

type GetUnstableAdminSandboxesSandboxIDBuildsParams struct {
	// StatusGroup Only list builds in these status groups, comma-separated. Omit to list every group.
	StatusGroup *[]AdminSandboxBuildStatusGroup `form:"statusGroup,omitempty" json:"statusGroup,omitempty"`

	// Tag Tag whose assignments are listed
	Tag *string `form:"tag,omitempty" json:"tag,omitempty"`

	// Order Direction of the assignment time order
	Order *OrderDirection `form:"order,omitempty" json:"order,omitempty"`

	// Limit Maximum number of builds to return
	Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of matching builds to skip
	Offset *int32 `form:"offset,omitempty" json:"offset,omitempty"`
}

GetUnstableAdminSandboxesSandboxIDBuildsParams defines parameters for GetUnstableAdminSandboxesSandboxIDBuilds.

type GetUnstableAdminSandboxesSandboxIDBuildsResponse

type GetUnstableAdminSandboxesSandboxIDBuildsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AdminSandboxBuildList
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetUnstableAdminSandboxesSandboxIDBuildsResponse429Headers
}

func ParseGetUnstableAdminSandboxesSandboxIDBuildsResponse

func ParseGetUnstableAdminSandboxesSandboxIDBuildsResponse(rsp *http.Response) (*GetUnstableAdminSandboxesSandboxIDBuildsResponse, error)

ParseGetUnstableAdminSandboxesSandboxIDBuildsResponse parses an HTTP response from a GetUnstableAdminSandboxesSandboxIDBuildsWithResponse call

func (GetUnstableAdminSandboxesSandboxIDBuildsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUnstableAdminSandboxesSandboxIDBuildsResponse) GetBody

GetBody returns the raw response body bytes

func (GetUnstableAdminSandboxesSandboxIDBuildsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUnstableAdminSandboxesSandboxIDBuildsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetUnstableAdminSandboxesSandboxIDBuildsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetUnstableAdminSandboxesSandboxIDBuildsResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetUnstableAdminSandboxesSandboxIDBuildsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetUnstableAdminSandboxesSandboxIDBuildsResponse) Status

Status returns HTTPResponse.Status

func (GetUnstableAdminSandboxesSandboxIDBuildsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetUnstableAdminSandboxesSandboxIDBuildsResponse429Headers

type GetUnstableAdminSandboxesSandboxIDBuildsResponse429Headers struct {
	RetryAfter *int
}

GetUnstableAdminSandboxesSandboxIDBuildsResponse429Headers the declared response headers of an HTTP 429 response for GetUnstableAdminSandboxesSandboxIDBuilds

type GetUnstableAdminSandboxesSandboxIDOverviewResponse

type GetUnstableAdminSandboxesSandboxIDOverviewResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AdminSandboxOverview
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetUnstableAdminSandboxesSandboxIDOverviewResponse429Headers
}

func ParseGetUnstableAdminSandboxesSandboxIDOverviewResponse

func ParseGetUnstableAdminSandboxesSandboxIDOverviewResponse(rsp *http.Response) (*GetUnstableAdminSandboxesSandboxIDOverviewResponse, error)

ParseGetUnstableAdminSandboxesSandboxIDOverviewResponse parses an HTTP response from a GetUnstableAdminSandboxesSandboxIDOverviewWithResponse call

func (GetUnstableAdminSandboxesSandboxIDOverviewResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUnstableAdminSandboxesSandboxIDOverviewResponse) GetBody

GetBody returns the raw response body bytes

func (GetUnstableAdminSandboxesSandboxIDOverviewResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUnstableAdminSandboxesSandboxIDOverviewResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetUnstableAdminSandboxesSandboxIDOverviewResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetUnstableAdminSandboxesSandboxIDOverviewResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetUnstableAdminSandboxesSandboxIDOverviewResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetUnstableAdminSandboxesSandboxIDOverviewResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetUnstableAdminSandboxesSandboxIDOverviewResponse) Status

Status returns HTTPResponse.Status

func (GetUnstableAdminSandboxesSandboxIDOverviewResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetUnstableAdminSandboxesSandboxIDOverviewResponse429Headers

type GetUnstableAdminSandboxesSandboxIDOverviewResponse429Headers struct {
	RetryAfter *int
}

GetUnstableAdminSandboxesSandboxIDOverviewResponse429Headers the declared response headers of an HTTP 429 response for GetUnstableAdminSandboxesSandboxIDOverview

type GetUnstableAdminTeamsTeamIDResponse

type GetUnstableAdminTeamsTeamIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AdminTeam
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetUnstableAdminTeamsTeamIDResponse429Headers
}

func ParseGetUnstableAdminTeamsTeamIDResponse

func ParseGetUnstableAdminTeamsTeamIDResponse(rsp *http.Response) (*GetUnstableAdminTeamsTeamIDResponse, error)

ParseGetUnstableAdminTeamsTeamIDResponse parses an HTTP response from a GetUnstableAdminTeamsTeamIDWithResponse call

func (GetUnstableAdminTeamsTeamIDResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUnstableAdminTeamsTeamIDResponse) GetBody

GetBody returns the raw response body bytes

func (GetUnstableAdminTeamsTeamIDResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUnstableAdminTeamsTeamIDResponse) GetJSON400

func (r GetUnstableAdminTeamsTeamIDResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetUnstableAdminTeamsTeamIDResponse) GetJSON401

func (r GetUnstableAdminTeamsTeamIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetUnstableAdminTeamsTeamIDResponse) GetJSON404

func (r GetUnstableAdminTeamsTeamIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetUnstableAdminTeamsTeamIDResponse) GetJSON429

func (r GetUnstableAdminTeamsTeamIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetUnstableAdminTeamsTeamIDResponse) GetJSON500

func (r GetUnstableAdminTeamsTeamIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetUnstableAdminTeamsTeamIDResponse) Status

Status returns HTTPResponse.Status

func (GetUnstableAdminTeamsTeamIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetUnstableAdminTeamsTeamIDResponse429Headers

type GetUnstableAdminTeamsTeamIDResponse429Headers struct {
	RetryAfter *int
}

GetUnstableAdminTeamsTeamIDResponse429Headers the declared response headers of an HTTP 429 response for GetUnstableAdminTeamsTeamID

type GetUnstableAdminTemplatesAliasesParams

type GetUnstableAdminTemplatesAliasesParams struct {
	// Search Exact template ID or alias
	Search string `form:"search" json:"search"`

	// NextToken Cursor to start the list from
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// Limit Maximum number of items to return per page
	Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
}

GetUnstableAdminTemplatesAliasesParams defines parameters for GetUnstableAdminTemplatesAliases.

type GetUnstableAdminTemplatesAliasesResponse

type GetUnstableAdminTemplatesAliasesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]AdminTemplateAliases
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetUnstableAdminTemplatesAliasesResponse200Headers
}

func ParseGetUnstableAdminTemplatesAliasesResponse

func ParseGetUnstableAdminTemplatesAliasesResponse(rsp *http.Response) (*GetUnstableAdminTemplatesAliasesResponse, error)

ParseGetUnstableAdminTemplatesAliasesResponse parses an HTTP response from a GetUnstableAdminTemplatesAliasesWithResponse call

func (GetUnstableAdminTemplatesAliasesResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUnstableAdminTemplatesAliasesResponse) GetBody

GetBody returns the raw response body bytes

func (GetUnstableAdminTemplatesAliasesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUnstableAdminTemplatesAliasesResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetUnstableAdminTemplatesAliasesResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetUnstableAdminTemplatesAliasesResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetUnstableAdminTemplatesAliasesResponse) Status

Status returns HTTPResponse.Status

func (GetUnstableAdminTemplatesAliasesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetUnstableAdminTemplatesAliasesResponse200Headers

type GetUnstableAdminTemplatesAliasesResponse200Headers struct {
	XNextToken *string
}

GetUnstableAdminTemplatesAliasesResponse200Headers the declared response headers of an HTTP 200 response for GetUnstableAdminTemplatesAliases

type GetUnstableAdminTemplatesLookupParams

type GetUnstableAdminTemplatesLookupParams struct {
	// Query Build ID, template ID, or template name
	Query string `form:"query" json:"query"`
}

GetUnstableAdminTemplatesLookupParams defines parameters for GetUnstableAdminTemplatesLookup.

type GetUnstableAdminTemplatesLookupResponse

type GetUnstableAdminTemplatesLookupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AdminTemplateLookup
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParseGetUnstableAdminTemplatesLookupResponse

func ParseGetUnstableAdminTemplatesLookupResponse(rsp *http.Response) (*GetUnstableAdminTemplatesLookupResponse, error)

ParseGetUnstableAdminTemplatesLookupResponse parses an HTTP response from a GetUnstableAdminTemplatesLookupWithResponse call

func (GetUnstableAdminTemplatesLookupResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUnstableAdminTemplatesLookupResponse) GetBody

GetBody returns the raw response body bytes

func (GetUnstableAdminTemplatesLookupResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUnstableAdminTemplatesLookupResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetUnstableAdminTemplatesLookupResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetUnstableAdminTemplatesLookupResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetUnstableAdminTemplatesLookupResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetUnstableAdminTemplatesLookupResponse) Status

Status returns HTTPResponse.Status

func (GetUnstableAdminTemplatesLookupResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetUnstableBuildsBuildIDResponse

type GetUnstableBuildsBuildIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BuildInfo
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetUnstableBuildsBuildIDResponse429Headers
}

func ParseGetUnstableBuildsBuildIDResponse

func ParseGetUnstableBuildsBuildIDResponse(rsp *http.Response) (*GetUnstableBuildsBuildIDResponse, error)

ParseGetUnstableBuildsBuildIDResponse parses an HTTP response from a GetUnstableBuildsBuildIDWithResponse call

func (GetUnstableBuildsBuildIDResponse) ContentType

func (r GetUnstableBuildsBuildIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUnstableBuildsBuildIDResponse) GetBody

func (r GetUnstableBuildsBuildIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetUnstableBuildsBuildIDResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUnstableBuildsBuildIDResponse) GetJSON400

func (r GetUnstableBuildsBuildIDResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetUnstableBuildsBuildIDResponse) GetJSON401

func (r GetUnstableBuildsBuildIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetUnstableBuildsBuildIDResponse) GetJSON403

func (r GetUnstableBuildsBuildIDResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetUnstableBuildsBuildIDResponse) GetJSON404

func (r GetUnstableBuildsBuildIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetUnstableBuildsBuildIDResponse) GetJSON429

func (r GetUnstableBuildsBuildIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetUnstableBuildsBuildIDResponse) GetJSON500

func (r GetUnstableBuildsBuildIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetUnstableBuildsBuildIDResponse) Status

Status returns HTTPResponse.Status

func (GetUnstableBuildsBuildIDResponse) StatusCode

func (r GetUnstableBuildsBuildIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUnstableBuildsBuildIDResponse429Headers

type GetUnstableBuildsBuildIDResponse429Headers struct {
	RetryAfter *int
}

GetUnstableBuildsBuildIDResponse429Headers the declared response headers of an HTTP 429 response for GetUnstableBuildsBuildID

type GetUnstableBuildsParams

type GetUnstableBuildsParams struct {
	// BuildIdOrTemplate Optional filter by build identifier, template identifier, or template alias.
	BuildIdOrTemplate *BuildIDOrTemplate `form:"build_id_or_template,omitempty" json:"build_id_or_template,omitempty"`

	// Statuses Comma-separated list of build statuses to include.
	Statuses *BuildStatuses `form:"statuses,omitempty" json:"statuses,omitempty"`

	// Limit Maximum number of builds to return per page.
	Limit *BuildsLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Cursor returned by the previous list response in `created_at|build_id` format.
	Cursor *BuildsCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

GetUnstableBuildsParams defines parameters for GetUnstableBuilds.

type GetUnstableBuildsResponse

type GetUnstableBuildsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BuildsListResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetUnstableBuildsResponse429Headers
}

func ParseGetUnstableBuildsResponse

func ParseGetUnstableBuildsResponse(rsp *http.Response) (*GetUnstableBuildsResponse, error)

ParseGetUnstableBuildsResponse parses an HTTP response from a GetUnstableBuildsWithResponse call

func (GetUnstableBuildsResponse) ContentType

func (r GetUnstableBuildsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUnstableBuildsResponse) GetBody

func (r GetUnstableBuildsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetUnstableBuildsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUnstableBuildsResponse) GetJSON400

func (r GetUnstableBuildsResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetUnstableBuildsResponse) GetJSON401

func (r GetUnstableBuildsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetUnstableBuildsResponse) GetJSON403

func (r GetUnstableBuildsResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetUnstableBuildsResponse) GetJSON429

func (r GetUnstableBuildsResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetUnstableBuildsResponse) GetJSON500

func (r GetUnstableBuildsResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetUnstableBuildsResponse) Status

func (r GetUnstableBuildsResponse) Status() string

Status returns HTTPResponse.Status

func (GetUnstableBuildsResponse) StatusCode

func (r GetUnstableBuildsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUnstableBuildsResponse429Headers

type GetUnstableBuildsResponse429Headers struct {
	RetryAfter *int
}

GetUnstableBuildsResponse429Headers the declared response headers of an HTTP 429 response for GetUnstableBuilds

type GetUnstableBuildsStatusesParams

type GetUnstableBuildsStatusesParams struct {
	// BuildIds Comma-separated list of build IDs to get statuses for.
	BuildIds BuildIDs `form:"build_ids" json:"build_ids"`
}

GetUnstableBuildsStatusesParams defines parameters for GetUnstableBuildsStatuses.

type GetUnstableBuildsStatusesResponse

type GetUnstableBuildsStatusesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BuildsStatusesResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetUnstableBuildsStatusesResponse429Headers
}

func ParseGetUnstableBuildsStatusesResponse

func ParseGetUnstableBuildsStatusesResponse(rsp *http.Response) (*GetUnstableBuildsStatusesResponse, error)

ParseGetUnstableBuildsStatusesResponse parses an HTTP response from a GetUnstableBuildsStatusesWithResponse call

func (GetUnstableBuildsStatusesResponse) ContentType

func (r GetUnstableBuildsStatusesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUnstableBuildsStatusesResponse) GetBody

GetBody returns the raw response body bytes

func (GetUnstableBuildsStatusesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUnstableBuildsStatusesResponse) GetJSON400

func (r GetUnstableBuildsStatusesResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetUnstableBuildsStatusesResponse) GetJSON401

func (r GetUnstableBuildsStatusesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetUnstableBuildsStatusesResponse) GetJSON403

func (r GetUnstableBuildsStatusesResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetUnstableBuildsStatusesResponse) GetJSON429

func (r GetUnstableBuildsStatusesResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetUnstableBuildsStatusesResponse) GetJSON500

func (r GetUnstableBuildsStatusesResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetUnstableBuildsStatusesResponse) Status

Status returns HTTPResponse.Status

func (GetUnstableBuildsStatusesResponse) StatusCode

func (r GetUnstableBuildsStatusesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUnstableBuildsStatusesResponse429Headers

type GetUnstableBuildsStatusesResponse429Headers struct {
	RetryAfter *int
}

GetUnstableBuildsStatusesResponse429Headers the declared response headers of an HTTP 429 response for GetUnstableBuildsStatuses

type GetUnstableSandboxesSandboxIDRecordResponse

type GetUnstableSandboxesSandboxIDRecordResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SandboxRecord
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetUnstableSandboxesSandboxIDRecordResponse429Headers
}

func ParseGetUnstableSandboxesSandboxIDRecordResponse

func ParseGetUnstableSandboxesSandboxIDRecordResponse(rsp *http.Response) (*GetUnstableSandboxesSandboxIDRecordResponse, error)

ParseGetUnstableSandboxesSandboxIDRecordResponse parses an HTTP response from a GetUnstableSandboxesSandboxIDRecordWithResponse call

func (GetUnstableSandboxesSandboxIDRecordResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUnstableSandboxesSandboxIDRecordResponse) GetBody

GetBody returns the raw response body bytes

func (GetUnstableSandboxesSandboxIDRecordResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUnstableSandboxesSandboxIDRecordResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetUnstableSandboxesSandboxIDRecordResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetUnstableSandboxesSandboxIDRecordResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetUnstableSandboxesSandboxIDRecordResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetUnstableSandboxesSandboxIDRecordResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetUnstableSandboxesSandboxIDRecordResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetUnstableSandboxesSandboxIDRecordResponse) Status

Status returns HTTPResponse.Status

func (GetUnstableSandboxesSandboxIDRecordResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetUnstableSandboxesSandboxIDRecordResponse429Headers

type GetUnstableSandboxesSandboxIDRecordResponse429Headers struct {
	RetryAfter *int
}

GetUnstableSandboxesSandboxIDRecordResponse429Headers the declared response headers of an HTTP 429 response for GetUnstableSandboxesSandboxIDRecord

type GetUnstableTeamsTeamIDLimitsResponse

type GetUnstableTeamsTeamIDLimitsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TeamLimitsResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetUnstableTeamsTeamIDLimitsResponse429Headers
}

func ParseGetUnstableTeamsTeamIDLimitsResponse

func ParseGetUnstableTeamsTeamIDLimitsResponse(rsp *http.Response) (*GetUnstableTeamsTeamIDLimitsResponse, error)

ParseGetUnstableTeamsTeamIDLimitsResponse parses an HTTP response from a GetUnstableTeamsTeamIDLimitsWithResponse call

func (GetUnstableTeamsTeamIDLimitsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUnstableTeamsTeamIDLimitsResponse) GetBody

GetBody returns the raw response body bytes

func (GetUnstableTeamsTeamIDLimitsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUnstableTeamsTeamIDLimitsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetUnstableTeamsTeamIDLimitsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetUnstableTeamsTeamIDLimitsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetUnstableTeamsTeamIDLimitsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetUnstableTeamsTeamIDLimitsResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetUnstableTeamsTeamIDLimitsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetUnstableTeamsTeamIDLimitsResponse) Status

Status returns HTTPResponse.Status

func (GetUnstableTeamsTeamIDLimitsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetUnstableTeamsTeamIDLimitsResponse429Headers

type GetUnstableTeamsTeamIDLimitsResponse429Headers struct {
	RetryAfter *int
}

GetUnstableTeamsTeamIDLimitsResponse429Headers the declared response headers of an HTTP 429 response for GetUnstableTeamsTeamIDLimits

type GetUnstableTeamsTeamIDStatusResponse

type GetUnstableTeamsTeamIDStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TeamStatusResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetUnstableTeamsTeamIDStatusResponse429Headers
}

func ParseGetUnstableTeamsTeamIDStatusResponse

func ParseGetUnstableTeamsTeamIDStatusResponse(rsp *http.Response) (*GetUnstableTeamsTeamIDStatusResponse, error)

ParseGetUnstableTeamsTeamIDStatusResponse parses an HTTP response from a GetUnstableTeamsTeamIDStatusWithResponse call

func (GetUnstableTeamsTeamIDStatusResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUnstableTeamsTeamIDStatusResponse) GetBody

GetBody returns the raw response body bytes

func (GetUnstableTeamsTeamIDStatusResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUnstableTeamsTeamIDStatusResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetUnstableTeamsTeamIDStatusResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetUnstableTeamsTeamIDStatusResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetUnstableTeamsTeamIDStatusResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetUnstableTeamsTeamIDStatusResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetUnstableTeamsTeamIDStatusResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetUnstableTeamsTeamIDStatusResponse) Status

Status returns HTTPResponse.Status

func (GetUnstableTeamsTeamIDStatusResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetUnstableTeamsTeamIDStatusResponse429Headers

type GetUnstableTeamsTeamIDStatusResponse429Headers struct {
	RetryAfter *int
}

GetUnstableTeamsTeamIDStatusResponse429Headers the declared response headers of an HTTP 429 response for GetUnstableTeamsTeamIDStatus

type GetUnstableTemplatesSearchParams

type GetUnstableTemplatesSearchParams struct {
	// Search Case-insensitive substring match on the template ID, its aliases and its names.
	Search *TemplatesSearch `form:"search,omitempty" json:"search,omitempty"`

	// Sort Sort column and direction.
	Sort *GetUnstableTemplatesSearchParamsSort `form:"sort,omitempty" json:"sort,omitempty"`

	// Public Only list public (true) or only non-public (false) templates.
	Public *TemplatesPublic `form:"public,omitempty" json:"public,omitempty"`

	// Limit Maximum number of templates to return per page.
	Limit *TemplatesLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Cursor returned by the previous page in `{sort}|{value}|{templateID}` format. Rejected if its sort does not match the request.
	Cursor *TemplatesCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}

GetUnstableTemplatesSearchParams defines parameters for GetUnstableTemplatesSearch.

type GetUnstableTemplatesSearchParamsSort

type GetUnstableTemplatesSearchParamsSort string

GetUnstableTemplatesSearchParamsSort defines parameters for GetUnstableTemplatesSearch.

const (
	GetUnstableTemplatesSearchParamsSortCreatedAtAsc  GetUnstableTemplatesSearchParamsSort = "created_at_asc"
	GetUnstableTemplatesSearchParamsSortCreatedAtDesc GetUnstableTemplatesSearchParamsSort = "created_at_desc"
	GetUnstableTemplatesSearchParamsSortUpdatedAtAsc  GetUnstableTemplatesSearchParamsSort = "updated_at_asc"
	GetUnstableTemplatesSearchParamsSortUpdatedAtDesc GetUnstableTemplatesSearchParamsSort = "updated_at_desc"
)

Defines values for GetUnstableTemplatesSearchParamsSort.

func (GetUnstableTemplatesSearchParamsSort) Valid

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

type GetUnstableTemplatesSearchResponse

type GetUnstableTemplatesSearchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TemplateSearchResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetUnstableTemplatesSearchResponse429Headers
}

func ParseGetUnstableTemplatesSearchResponse

func ParseGetUnstableTemplatesSearchResponse(rsp *http.Response) (*GetUnstableTemplatesSearchResponse, error)

ParseGetUnstableTemplatesSearchResponse parses an HTTP response from a GetUnstableTemplatesSearchWithResponse call

func (GetUnstableTemplatesSearchResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetUnstableTemplatesSearchResponse) GetBody

GetBody returns the raw response body bytes

func (GetUnstableTemplatesSearchResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetUnstableTemplatesSearchResponse) GetJSON400

func (r GetUnstableTemplatesSearchResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetUnstableTemplatesSearchResponse) GetJSON401

func (r GetUnstableTemplatesSearchResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetUnstableTemplatesSearchResponse) GetJSON429

func (r GetUnstableTemplatesSearchResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetUnstableTemplatesSearchResponse) GetJSON500

func (r GetUnstableTemplatesSearchResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetUnstableTemplatesSearchResponse) Status

Status returns HTTPResponse.Status

func (GetUnstableTemplatesSearchResponse) StatusCode

func (r GetUnstableTemplatesSearchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetUnstableTemplatesSearchResponse429Headers

type GetUnstableTemplatesSearchResponse429Headers struct {
	RetryAfter *int
}

GetUnstableTemplatesSearchResponse429Headers the declared response headers of an HTTP 429 response for GetUnstableTemplatesSearch

type GetV2SandboxesParams

type GetV2SandboxesParams struct {
	// Metadata Metadata query used to filter the sandboxes (e.g. "user=abc&app=prod"). Each key and values must be URL encoded.
	Metadata *string `form:"metadata,omitempty" json:"metadata,omitempty"`

	// State Filter sandboxes by one or more states
	State *[]SandboxState `form:"state,omitempty" json:"state,omitempty"`

	// Order Sort direction by sandbox start time. Defaults to desc (newest first).
	Order *OrderDirection `form:"order,omitempty" json:"order,omitempty"`

	// StartedAfter Return sandboxes started at or after this timestamp.
	StartedAfter *time.Time `form:"startedAfter,omitempty" json:"startedAfter,omitempty"`

	// Template Filter sandboxes by a template ID or alias.
	Template *string `form:"template,omitempty" json:"template,omitempty"`

	// NextToken Cursor to start the list from
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// Limit Maximum number of items to return per page
	Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
}

GetV2SandboxesParams defines parameters for GetV2Sandboxes.

type GetV2SandboxesResponse

type GetV2SandboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]ListedSandbox
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetV2SandboxesResponse200Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetV2SandboxesResponse429Headers
}

func ParseGetV2SandboxesResponse

func ParseGetV2SandboxesResponse(rsp *http.Response) (*GetV2SandboxesResponse, error)

ParseGetV2SandboxesResponse parses an HTTP response from a GetV2SandboxesWithResponse call

func (GetV2SandboxesResponse) ContentType

func (r GetV2SandboxesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV2SandboxesResponse) GetBody

func (r GetV2SandboxesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV2SandboxesResponse) GetJSON200

func (r GetV2SandboxesResponse) GetJSON200() *[]ListedSandbox

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV2SandboxesResponse) GetJSON400

func (r GetV2SandboxesResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetV2SandboxesResponse) GetJSON401

func (r GetV2SandboxesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetV2SandboxesResponse) GetJSON429

func (r GetV2SandboxesResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetV2SandboxesResponse) GetJSON500

func (r GetV2SandboxesResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetV2SandboxesResponse) Status

func (r GetV2SandboxesResponse) Status() string

Status returns HTTPResponse.Status

func (GetV2SandboxesResponse) StatusCode

func (r GetV2SandboxesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV2SandboxesResponse200Headers

type GetV2SandboxesResponse200Headers struct {
	XNextToken    *string
	XTotalRunning *int32
}

GetV2SandboxesResponse200Headers the declared response headers of an HTTP 200 response for GetV2Sandboxes

type GetV2SandboxesResponse429Headers

type GetV2SandboxesResponse429Headers struct {
	RetryAfter *int
}

GetV2SandboxesResponse429Headers the declared response headers of an HTTP 429 response for GetV2Sandboxes

type GetV2SandboxesSandboxIDLogsParams

type GetV2SandboxesSandboxIDLogsParams struct {
	// Cursor Starting timestamp of the logs that should be returned in milliseconds
	Cursor *int64 `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Maximum number of logs that should be returned
	Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`

	// Direction Direction of the logs that should be returned
	Direction *LogsDirection `form:"direction,omitempty" json:"direction,omitempty"`

	// Level Minimum log level to return. Logs below this level are excluded
	Level *LogLevel `form:"level,omitempty" json:"level,omitempty"`

	// Search Case-sensitive substring match on log message content
	Search *string `form:"search,omitempty" json:"search,omitempty"`
}

GetV2SandboxesSandboxIDLogsParams defines parameters for GetV2SandboxesSandboxIDLogs.

type GetV2SandboxesSandboxIDLogsResponse

type GetV2SandboxesSandboxIDLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SandboxLogsV2Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetV2SandboxesSandboxIDLogsResponse429Headers
}

func ParseGetV2SandboxesSandboxIDLogsResponse

func ParseGetV2SandboxesSandboxIDLogsResponse(rsp *http.Response) (*GetV2SandboxesSandboxIDLogsResponse, error)

ParseGetV2SandboxesSandboxIDLogsResponse parses an HTTP response from a GetV2SandboxesSandboxIDLogsWithResponse call

func (GetV2SandboxesSandboxIDLogsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV2SandboxesSandboxIDLogsResponse) GetBody

GetBody returns the raw response body bytes

func (GetV2SandboxesSandboxIDLogsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV2SandboxesSandboxIDLogsResponse) GetJSON401

func (r GetV2SandboxesSandboxIDLogsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetV2SandboxesSandboxIDLogsResponse) GetJSON404

func (r GetV2SandboxesSandboxIDLogsResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetV2SandboxesSandboxIDLogsResponse) GetJSON429

func (r GetV2SandboxesSandboxIDLogsResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetV2SandboxesSandboxIDLogsResponse) GetJSON500

func (r GetV2SandboxesSandboxIDLogsResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetV2SandboxesSandboxIDLogsResponse) Status

Status returns HTTPResponse.Status

func (GetV2SandboxesSandboxIDLogsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV2SandboxesSandboxIDLogsResponse429Headers

type GetV2SandboxesSandboxIDLogsResponse429Headers struct {
	RetryAfter *int
}

GetV2SandboxesSandboxIDLogsResponse429Headers the declared response headers of an HTTP 429 response for GetV2SandboxesSandboxIDLogs

type GetV2TemplatesParams

type GetV2TemplatesParams struct {
	TeamID *string `form:"teamID,omitempty" json:"teamID,omitempty"`

	// NextToken Cursor to start the list from
	NextToken *PaginationNextToken `form:"nextToken,omitempty" json:"nextToken,omitempty"`

	// Limit Maximum number of items to return per page
	Limit *PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
}

GetV2TemplatesParams defines parameters for GetV2Templates.

type GetV2TemplatesResponse

type GetV2TemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Template
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetV2TemplatesResponse200Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetV2TemplatesResponse429Headers
}

func ParseGetV2TemplatesResponse

func ParseGetV2TemplatesResponse(rsp *http.Response) (*GetV2TemplatesResponse, error)

ParseGetV2TemplatesResponse parses an HTTP response from a GetV2TemplatesWithResponse call

func (GetV2TemplatesResponse) ContentType

func (r GetV2TemplatesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV2TemplatesResponse) GetBody

func (r GetV2TemplatesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV2TemplatesResponse) GetJSON200

func (r GetV2TemplatesResponse) GetJSON200() *[]Template

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV2TemplatesResponse) GetJSON400

func (r GetV2TemplatesResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetV2TemplatesResponse) GetJSON401

func (r GetV2TemplatesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetV2TemplatesResponse) GetJSON403

func (r GetV2TemplatesResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetV2TemplatesResponse) GetJSON429

func (r GetV2TemplatesResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetV2TemplatesResponse) GetJSON500

func (r GetV2TemplatesResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetV2TemplatesResponse) Status

func (r GetV2TemplatesResponse) Status() string

Status returns HTTPResponse.Status

func (GetV2TemplatesResponse) StatusCode

func (r GetV2TemplatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV2TemplatesResponse200Headers

type GetV2TemplatesResponse200Headers struct {
	XNextToken *string
}

GetV2TemplatesResponse200Headers the declared response headers of an HTTP 200 response for GetV2Templates

type GetV2TemplatesResponse429Headers

type GetV2TemplatesResponse429Headers struct {
	RetryAfter *int
}

GetV2TemplatesResponse429Headers the declared response headers of an HTTP 429 response for GetV2Templates

type GetV2TemplatesTemplateIDResponse

type GetV2TemplatesTemplateIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TemplateV2
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetV2TemplatesTemplateIDResponse429Headers
}

func ParseGetV2TemplatesTemplateIDResponse

func ParseGetV2TemplatesTemplateIDResponse(rsp *http.Response) (*GetV2TemplatesTemplateIDResponse, error)

ParseGetV2TemplatesTemplateIDResponse parses an HTTP response from a GetV2TemplatesTemplateIDWithResponse call

func (GetV2TemplatesTemplateIDResponse) ContentType

func (r GetV2TemplatesTemplateIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV2TemplatesTemplateIDResponse) GetBody

func (r GetV2TemplatesTemplateIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV2TemplatesTemplateIDResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetV2TemplatesTemplateIDResponse) GetJSON400

func (r GetV2TemplatesTemplateIDResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetV2TemplatesTemplateIDResponse) GetJSON401

func (r GetV2TemplatesTemplateIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetV2TemplatesTemplateIDResponse) GetJSON403

func (r GetV2TemplatesTemplateIDResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetV2TemplatesTemplateIDResponse) GetJSON404

func (r GetV2TemplatesTemplateIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetV2TemplatesTemplateIDResponse) GetJSON429

func (r GetV2TemplatesTemplateIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetV2TemplatesTemplateIDResponse) GetJSON500

func (r GetV2TemplatesTemplateIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetV2TemplatesTemplateIDResponse) Status

Status returns HTTPResponse.Status

func (GetV2TemplatesTemplateIDResponse) StatusCode

func (r GetV2TemplatesTemplateIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV2TemplatesTemplateIDResponse429Headers

type GetV2TemplatesTemplateIDResponse429Headers struct {
	RetryAfter *int
}

GetV2TemplatesTemplateIDResponse429Headers the declared response headers of an HTTP 429 response for GetV2TemplatesTemplateID

type GetVolumesResponse

type GetVolumesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Volume
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetVolumesResponse429Headers
}

func ParseGetVolumesResponse

func ParseGetVolumesResponse(rsp *http.Response) (*GetVolumesResponse, error)

ParseGetVolumesResponse parses an HTTP response from a GetVolumesWithResponse call

func (GetVolumesResponse) ContentType

func (r GetVolumesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVolumesResponse) GetBody

func (r GetVolumesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetVolumesResponse) GetJSON200

func (r GetVolumesResponse) GetJSON200() *[]Volume

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVolumesResponse) GetJSON401

func (r GetVolumesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetVolumesResponse) GetJSON429

func (r GetVolumesResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetVolumesResponse) GetJSON500

func (r GetVolumesResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetVolumesResponse) Status

func (r GetVolumesResponse) Status() string

Status returns HTTPResponse.Status

func (GetVolumesResponse) StatusCode

func (r GetVolumesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVolumesResponse429Headers

type GetVolumesResponse429Headers struct {
	RetryAfter *int
}

GetVolumesResponse429Headers the declared response headers of an HTTP 429 response for GetVolumes

type GetVolumesVolumeIDResponse

type GetVolumesVolumeIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *VolumeAndToken
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetVolumesVolumeIDResponse429Headers
}

func ParseGetVolumesVolumeIDResponse

func ParseGetVolumesVolumeIDResponse(rsp *http.Response) (*GetVolumesVolumeIDResponse, error)

ParseGetVolumesVolumeIDResponse parses an HTTP response from a GetVolumesVolumeIDWithResponse call

func (GetVolumesVolumeIDResponse) ContentType

func (r GetVolumesVolumeIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVolumesVolumeIDResponse) GetBody

func (r GetVolumesVolumeIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetVolumesVolumeIDResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVolumesVolumeIDResponse) GetJSON401

func (r GetVolumesVolumeIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetVolumesVolumeIDResponse) GetJSON404

func (r GetVolumesVolumeIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetVolumesVolumeIDResponse) GetJSON429

func (r GetVolumesVolumeIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetVolumesVolumeIDResponse) GetJSON500

func (r GetVolumesVolumeIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetVolumesVolumeIDResponse) Status

Status returns HTTPResponse.Status

func (GetVolumesVolumeIDResponse) StatusCode

func (r GetVolumesVolumeIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVolumesVolumeIDResponse429Headers

type GetVolumesVolumeIDResponse429Headers struct {
	RetryAfter *int
}

GetVolumesVolumeIDResponse429Headers the declared response headers of an HTTP 429 response for GetVolumesVolumeID

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type IdempotencyKey

type IdempotencyKey = string

IdempotencyKey defines model for idempotencyKey.

type IdentifierMaskingDetails

type IdentifierMaskingDetails struct {
	// MaskedValuePrefix Prefix used in masked version of the token or key
	MaskedValuePrefix string `json:"maskedValuePrefix"`

	// MaskedValueSuffix Suffix used in masked version of the token or key
	MaskedValueSuffix string `json:"maskedValueSuffix"`

	// Prefix Prefix that identifies the token or key type
	Prefix string `json:"prefix"`

	// ValueLength Length of the token or key
	ValueLength int `json:"valueLength"`
}

IdentifierMaskingDetails defines model for IdentifierMaskingDetails.

type ListedBuild

type ListedBuild struct {
	// CpuCount CPU cores configured for the build.
	CpuCount int64 `json:"cpuCount"`

	// CreatedAt Build creation timestamp in RFC3339 format.
	CreatedAt time.Time `json:"createdAt"`

	// DiskSizeMB Disk size in MiB configured for the build, if recorded.
	DiskSizeMB *int64 `json:"diskSizeMB"`

	// EnvdVersion envd version the build was created with, if recorded.
	EnvdVersion *string `json:"envdVersion"`

	// FinishedAt Build completion timestamp in RFC3339 format, if finished.
	FinishedAt *time.Time `json:"finishedAt"`

	// Id Identifier of the build.
	Id openapi_types.UUID `json:"id"`

	// MemoryMB Memory in MiB configured for the build.
	MemoryMB int64 `json:"memoryMB"`

	// Status Build status as the builds list reports it.
	Status BuildStatus `json:"status"`

	// StatusMessage Failure message when status is `failed`, otherwise `null`.
	StatusMessage *string `json:"statusMessage"`

	// Template Template alias when present, otherwise template ID.
	Template string `json:"template"`

	// TemplateId Identifier of the template.
	TemplateId string `json:"templateId"`
}

ListedBuild defines model for ListedBuild.

type ListedSandbox

type ListedSandbox struct {
	// Alias Alias of the template
	Alias *string `json:"alias,omitempty"`

	// ClientID Identifier of the client
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ClientID string `json:"clientID"`

	// CpuCount CPU cores for the sandbox
	CpuCount CPUCount `json:"cpuCount"`

	// DiskSizeMB Disk size for the sandbox in MiB
	DiskSizeMB DiskSizeMB `json:"diskSizeMB"`

	// EndAt Time when the sandbox will expire
	EndAt time.Time `json:"endAt"`

	// EnvdUnresponsiveAtPause True when the snapshot a paused sandbox would resume from was taken while the sandbox guest agent was not responding. A plain resume of it is refused with 409 and error_code sandbox_snapshot_guest_agent_unresponsive, because restoring that memory would bring the unresponsive agent back; resume it without memory (`memory: false`), which cold-boots the sandbox from its disk. Omitted for a running sandbox and for a snapshot whose agent answered.
	EnvdUnresponsiveAtPause *EnvdUnresponsiveAtPause `json:"envdUnresponsiveAtPause,omitempty"`

	// EnvdVersion Version of the envd running in the sandbox
	EnvdVersion EnvdVersion `json:"envdVersion"`

	// MemoryMB Memory for the sandbox in MiB
	MemoryMB MemoryMB         `json:"memoryMB"`
	Metadata *SandboxMetadata `json:"metadata,omitempty"`

	// SandboxID Identifier of the sandbox
	SandboxID string `json:"sandboxID"`

	// StartedAt Time when the sandbox was started
	StartedAt time.Time `json:"startedAt"`

	// State State of the sandbox
	State SandboxState `json:"state"`

	// TemplateID Identifier of the template from which is the sandbox created
	TemplateID   string                `json:"templateID"`
	VolumeMounts *[]SandboxVolumeMount `json:"volumeMounts,omitempty"`
}

ListedSandbox defines model for ListedSandbox.

type LogLevel

type LogLevel string

LogLevel State of the sandbox

const (
	LogLevelDebug LogLevel = "debug"
	LogLevelError LogLevel = "error"
	LogLevelInfo  LogLevel = "info"
	LogLevelWarn  LogLevel = "warn"
)

Defines values for LogLevel.

func (LogLevel) Valid

func (e LogLevel) Valid() bool

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

type LogsDirection

type LogsDirection string

LogsDirection Direction of the logs that should be returned

const (
	LogsDirectionBackward LogsDirection = "backward"
	LogsDirectionForward  LogsDirection = "forward"
)

Defines values for LogsDirection.

func (LogsDirection) Valid

func (e LogsDirection) Valid() bool

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

type LogsSource

type LogsSource string

LogsSource Source of the logs that should be returned

const (
	LogsSourcePersistent LogsSource = "persistent"
	LogsSourceTemporary  LogsSource = "temporary"
)

Defines values for LogsSource.

func (LogsSource) Valid

func (e LogsSource) Valid() bool

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

type MachineInfo

type MachineInfo struct {
	// CpuArchitecture CPU architecture of the node
	CpuArchitecture string `json:"cpuArchitecture"`

	// CpuFamily CPU family of the node
	CpuFamily string `json:"cpuFamily"`

	// CpuModel CPU model of the node
	CpuModel string `json:"cpuModel"`

	// CpuModelName CPU model name of the node
	CpuModelName string `json:"cpuModelName"`
}

MachineInfo defines model for MachineInfo.

type ManagementApplyProjectBanJSONRequestBody

type ManagementApplyProjectBanJSONRequestBody = ManagementProjectBanRequest

ManagementApplyProjectBanJSONRequestBody defines body for ManagementApplyProjectBan for application/json ContentType.

type ManagementApplyProjectBanResponse

type ManagementApplyProjectBanResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParseManagementApplyProjectBanResponse

func ParseManagementApplyProjectBanResponse(rsp *http.Response) (*ManagementApplyProjectBanResponse, error)

ParseManagementApplyProjectBanResponse parses an HTTP response from a ManagementApplyProjectBanWithResponse call

func (ManagementApplyProjectBanResponse) ContentType

func (r ManagementApplyProjectBanResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ManagementApplyProjectBanResponse) GetBody

GetBody returns the raw response body bytes

func (ManagementApplyProjectBanResponse) GetJSON400

func (r ManagementApplyProjectBanResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ManagementApplyProjectBanResponse) GetJSON401

func (r ManagementApplyProjectBanResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ManagementApplyProjectBanResponse) GetJSON404

func (r ManagementApplyProjectBanResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ManagementApplyProjectBanResponse) GetJSON500

func (r ManagementApplyProjectBanResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ManagementApplyProjectBanResponse) Status

Status returns HTTPResponse.Status

func (ManagementApplyProjectBanResponse) StatusCode

func (r ManagementApplyProjectBanResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ManagementApplyProjectBlockJSONRequestBody

type ManagementApplyProjectBlockJSONRequestBody = ManagementProjectBlockRequest

ManagementApplyProjectBlockJSONRequestBody defines body for ManagementApplyProjectBlock for application/json ContentType.

type ManagementApplyProjectBlockResponse

type ManagementApplyProjectBlockResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParseManagementApplyProjectBlockResponse

func ParseManagementApplyProjectBlockResponse(rsp *http.Response) (*ManagementApplyProjectBlockResponse, error)

ParseManagementApplyProjectBlockResponse parses an HTTP response from a ManagementApplyProjectBlockWithResponse call

func (ManagementApplyProjectBlockResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ManagementApplyProjectBlockResponse) GetBody

GetBody returns the raw response body bytes

func (ManagementApplyProjectBlockResponse) GetJSON400

func (r ManagementApplyProjectBlockResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ManagementApplyProjectBlockResponse) GetJSON401

func (r ManagementApplyProjectBlockResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ManagementApplyProjectBlockResponse) GetJSON404

func (r ManagementApplyProjectBlockResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ManagementApplyProjectBlockResponse) GetJSON500

func (r ManagementApplyProjectBlockResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ManagementApplyProjectBlockResponse) Status

Status returns HTTPResponse.Status

func (ManagementApplyProjectBlockResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ManagementApplyProjectMemberJSONRequestBody

type ManagementApplyProjectMemberJSONRequestBody = ManagementProjectMemberApplyRequest

ManagementApplyProjectMemberJSONRequestBody defines body for ManagementApplyProjectMember for application/json ContentType.

type ManagementApplyProjectMemberResponse

type ManagementApplyProjectMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParseManagementApplyProjectMemberResponse

func ParseManagementApplyProjectMemberResponse(rsp *http.Response) (*ManagementApplyProjectMemberResponse, error)

ParseManagementApplyProjectMemberResponse parses an HTTP response from a ManagementApplyProjectMemberWithResponse call

func (ManagementApplyProjectMemberResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ManagementApplyProjectMemberResponse) GetBody

GetBody returns the raw response body bytes

func (ManagementApplyProjectMemberResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ManagementApplyProjectMemberResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ManagementApplyProjectMemberResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ManagementApplyProjectMemberResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (ManagementApplyProjectMemberResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ManagementApplyProjectMemberResponse) Status

Status returns HTTPResponse.Status

func (ManagementApplyProjectMemberResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ManagementClusterDestroyReadinessResponse

type ManagementClusterDestroyReadinessResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *N503
}

func ParseManagementClusterDestroyReadinessResponse

func ParseManagementClusterDestroyReadinessResponse(rsp *http.Response) (*ManagementClusterDestroyReadinessResponse, error)

ParseManagementClusterDestroyReadinessResponse parses an HTTP response from a ManagementClusterDestroyReadinessWithResponse call

func (ManagementClusterDestroyReadinessResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ManagementClusterDestroyReadinessResponse) GetBody

GetBody returns the raw response body bytes

func (ManagementClusterDestroyReadinessResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ManagementClusterDestroyReadinessResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ManagementClusterDestroyReadinessResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (ManagementClusterDestroyReadinessResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ManagementClusterDestroyReadinessResponse) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (ManagementClusterDestroyReadinessResponse) Status

Status returns HTTPResponse.Status

func (ManagementClusterDestroyReadinessResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ManagementClusterProjects

type ManagementClusterProjects struct {
	ProjectIds []openapi_types.UUID `json:"project_ids"`
}

ManagementClusterProjects defines model for ManagementClusterProjects.

type ManagementDecidedAt

type ManagementDecidedAt = time.Time

ManagementDecidedAt When the caller decided this revision, in RFC 3339. Stored with the revision and used to measure how long the decision took to apply here. Omit it when the caller does not know; the delivery is then counted as origin unknown rather than as zero lag.

type ManagementDeleteClusterResponse

type ManagementDeleteClusterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *N503
}

func ParseManagementDeleteClusterResponse

func ParseManagementDeleteClusterResponse(rsp *http.Response) (*ManagementDeleteClusterResponse, error)

ParseManagementDeleteClusterResponse parses an HTTP response from a ManagementDeleteClusterWithResponse call

func (ManagementDeleteClusterResponse) ContentType

func (r ManagementDeleteClusterResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ManagementDeleteClusterResponse) GetBody

func (r ManagementDeleteClusterResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ManagementDeleteClusterResponse) GetJSON400

func (r ManagementDeleteClusterResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ManagementDeleteClusterResponse) GetJSON401

func (r ManagementDeleteClusterResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ManagementDeleteClusterResponse) GetJSON409

func (r ManagementDeleteClusterResponse) GetJSON409() *N409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (ManagementDeleteClusterResponse) GetJSON500

func (r ManagementDeleteClusterResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ManagementDeleteClusterResponse) GetJSON503

func (r ManagementDeleteClusterResponse) GetJSON503() *N503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (ManagementDeleteClusterResponse) Status

Status returns HTTPResponse.Status

func (ManagementDeleteClusterResponse) StatusCode

func (r ManagementDeleteClusterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ManagementDeleteProjectResponse

type ManagementDeleteProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParseManagementDeleteProjectResponse

func ParseManagementDeleteProjectResponse(rsp *http.Response) (*ManagementDeleteProjectResponse, error)

ParseManagementDeleteProjectResponse parses an HTTP response from a ManagementDeleteProjectWithResponse call

func (ManagementDeleteProjectResponse) ContentType

func (r ManagementDeleteProjectResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ManagementDeleteProjectResponse) GetBody

func (r ManagementDeleteProjectResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ManagementDeleteProjectResponse) GetJSON400

func (r ManagementDeleteProjectResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ManagementDeleteProjectResponse) GetJSON401

func (r ManagementDeleteProjectResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ManagementDeleteProjectResponse) GetJSON404

func (r ManagementDeleteProjectResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ManagementDeleteProjectResponse) GetJSON500

func (r ManagementDeleteProjectResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ManagementDeleteProjectResponse) Status

Status returns HTTPResponse.Status

func (ManagementDeleteProjectResponse) StatusCode

func (r ManagementDeleteProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ManagementListClusterProjectsResponse

type ManagementListClusterProjectsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ManagementClusterProjects
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParseManagementListClusterProjectsResponse

func ParseManagementListClusterProjectsResponse(rsp *http.Response) (*ManagementListClusterProjectsResponse, error)

ParseManagementListClusterProjectsResponse parses an HTTP response from a ManagementListClusterProjectsWithResponse call

func (ManagementListClusterProjectsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ManagementListClusterProjectsResponse) GetBody

GetBody returns the raw response body bytes

func (ManagementListClusterProjectsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ManagementListClusterProjectsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ManagementListClusterProjectsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ManagementListClusterProjectsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ManagementListClusterProjectsResponse) Status

Status returns HTTPResponse.Status

func (ManagementListClusterProjectsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ManagementProject

type ManagementProject struct {
	// ClusterId Remote cluster fixed at creation. Omit to create a local project or to preserve an existing project's cluster. A different cluster returns 409. The response reports the stored cluster; local projects omit it.
	ClusterId *openapi_types.UUID `json:"cluster_id,omitempty"`

	// Email Contact address recorded on the project.
	Email string             `json:"email"`
	Id    openapi_types.UUID `json:"id"`
	Name  string             `json:"name"`

	// Slug Changing it renames the project, and its template names follow: each name held under an earlier slug is also given under the new one, and the old names keep working. A name the new slug already holds is left as it is. A slug already held on this control plane is a 409, on a rename as much as on a create.
	Slug string `json:"slug"`
}

ManagementProject defines model for ManagementProject.

type ManagementProjectBanRequest

type ManagementProjectBanRequest struct {
	// Banned Whether the project is refused at authentication.
	Banned bool `json:"banned"`

	// DecidedAt When the caller decided this revision, in RFC 3339. Stored with the revision and used to measure how long the decision took to apply here. Omit it when the caller does not know; the delivery is then counted as origin unknown rather than as zero lag.
	DecidedAt *ManagementDecidedAt `json:"decided_at,omitempty"`

	// Revision Monotonic per-project revision. Older or duplicate revisions succeed without changing stored state.
	Revision int64 `json:"revision"`
}

ManagementProjectBanRequest Desired project ban state. A newer revision replaces the state, including any intervening manual ban or unban.

type ManagementProjectBlockRequest

type ManagementProjectBlockRequest struct {
	// Blocked Whether the project is refused billable work.
	Blocked bool `json:"blocked"`

	// DecidedAt When the caller decided this revision, in RFC 3339. Stored with the revision and used to measure how long the decision took to apply here. Omit it when the caller does not know; the delivery is then counted as origin unknown rather than as zero lag.
	DecidedAt *ManagementDecidedAt `json:"decided_at,omitempty"`

	// Reason Reason included in blocked-request errors. Cleared when blocked is false.
	Reason *string `json:"reason,omitempty"`

	// Revision Monotonic per-project revision. Older or duplicate revisions succeed without changing stored state.
	Revision int64 `json:"revision"`
}

ManagementProjectBlockRequest Desired project block state. A newer revision replaces the state, including any intervening manual block or unblock.

type ManagementProjectLimits

type ManagementProjectLimits struct {
	// ApiTeamRpsDelete Requests per second a project may make to each delete endpoint. Zero disables the limit.
	ApiTeamRpsDelete int64 `json:"api_team_rps_delete"`

	// ApiTeamRpsList Requests per second a project may make to each list endpoint. Zero disables the limit.
	ApiTeamRpsList           int64 `json:"api_team_rps_list"`
	ConcurrentSandboxes      int32 `json:"concurrent_sandboxes"`
	ConcurrentTemplateBuilds int32 `json:"concurrent_template_builds"`

	// DecidedAt When the caller decided this revision, in RFC 3339. Stored with the revision and used to measure how long the decision took to apply here. Omit it when the caller does not know; the delivery is then counted as origin unknown rather than as zero lag.
	DecidedAt *ManagementDecidedAt `json:"decided_at,omitempty"`

	// DefaultFreeDiskSizeMb The default free-space growth target when a template build request omits one. May sit anywhere at or below the maximum free-space growth target, and usually sits well below it; a delivery whose default exceeds the maximum is rejected.
	DefaultFreeDiskSizeMb int64 `json:"default_free_disk_size_mb"`
	DiskMb                int64 `json:"disk_mb"`
	EventsTtlDays         int32 `json:"events_ttl_days"`

	// MaxDiskSizeMb The same ceiling as max_free_disk_size_mb, under the name it was first published with. Kept until every deployed sender and receiver speaks the other name.
	MaxDiskSizeMb *int64 `json:"max_disk_size_mb,omitempty"`

	// MaxFreeDiskSizeMb The most a template build may request as its free-space growth target.
	MaxFreeDiskSizeMb     *int64 `json:"max_free_disk_size_mb,omitempty"`
	MaxRamMb              int64  `json:"max_ram_mb"`
	MaxSandboxLengthHours int32  `json:"max_sandbox_length_hours"`

	// MaxSecrets Live secrets the project may hold.
	MaxSecrets int32 `json:"max_secrets"`
	MaxVcpu    int32 `json:"max_vcpu"`

	// Revision The caller's version of this answer, raised whenever the limits it resolved for the project change. Delivery is over a network, so two pushes can be in flight at once and arrive in either order: this side stores the revision it accepted and drops a delivery at or below it, which is what keeps a delayed retry from putting the project back on limits it has already left.
	//
	// Comparable only against earlier revisions for the same project.
	Revision int64 `json:"revision"`
	// contains filtered or unexported fields
}

ManagementProjectLimits A project's effective limits, already resolved by the caller. Every field is absolute: this side stores what it is given and performs no arithmetic of its own.

The minimums below are the contract for what a limit may be, at least as strict as the CHECK constraints on default_limits. project_limits stores the same values under looser constraints on purpose — it is a push target, and a floor that only rejects the impossible keeps a future decision about what is allowed a change to this schema rather than a migration.

`max_disk_size_mb` and `max_free_disk_size_mb` are one ceiling under two names, and either name alone carries it. A caller that sends both must send them equal; a caller that sends neither is refused. Sending both is what a caller does while receivers older than the second name are still running.

func (ManagementProjectLimits) AsManagementProjectLimits0

func (t ManagementProjectLimits) AsManagementProjectLimits0() (ManagementProjectLimits0, error)

AsManagementProjectLimits0 returns the union data inside the ManagementProjectLimits as a ManagementProjectLimits0

func (ManagementProjectLimits) AsManagementProjectLimits1

func (t ManagementProjectLimits) AsManagementProjectLimits1() (ManagementProjectLimits1, error)

AsManagementProjectLimits1 returns the union data inside the ManagementProjectLimits as a ManagementProjectLimits1

func (*ManagementProjectLimits) FromManagementProjectLimits0

func (t *ManagementProjectLimits) FromManagementProjectLimits0(v ManagementProjectLimits0) error

FromManagementProjectLimits0 overwrites any union data inside the ManagementProjectLimits as the provided ManagementProjectLimits0

func (*ManagementProjectLimits) FromManagementProjectLimits1

func (t *ManagementProjectLimits) FromManagementProjectLimits1(v ManagementProjectLimits1) error

FromManagementProjectLimits1 overwrites any union data inside the ManagementProjectLimits as the provided ManagementProjectLimits1

func (ManagementProjectLimits) MarshalJSON

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

func (*ManagementProjectLimits) MergeManagementProjectLimits0

func (t *ManagementProjectLimits) MergeManagementProjectLimits0(v ManagementProjectLimits0) error

MergeManagementProjectLimits0 performs a merge with any union data inside the ManagementProjectLimits, using the provided ManagementProjectLimits0

func (*ManagementProjectLimits) MergeManagementProjectLimits1

func (t *ManagementProjectLimits) MergeManagementProjectLimits1(v ManagementProjectLimits1) error

MergeManagementProjectLimits1 performs a merge with any union data inside the ManagementProjectLimits, using the provided ManagementProjectLimits1

func (*ManagementProjectLimits) UnmarshalJSON

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

type ManagementProjectLimits0

type ManagementProjectLimits0 = interface{}

ManagementProjectLimits0 defines model for ManagementProjectLimits.0.

type ManagementProjectLimits1

type ManagementProjectLimits1 = interface{}

ManagementProjectLimits1 defines model for ManagementProjectLimits.1.

type ManagementProjectMemberApplyRequest

type ManagementProjectMemberApplyRequest struct {
	Identities *[]ManagementProjectMemberIdentity `json:"identities,omitempty"`

	// IsDefault Whether this membership is the user's default team. Omitted requests from older sources remain non-default.
	IsDefault *bool `json:"is_default,omitempty"`
	Present   bool  `json:"present"`
	Revision  int64 `json:"revision"`

	// Role The member's effective role on the project. A viewer may only read. An omitted role keeps the stored one, and a new member without one is stored as member.
	Role *ManagementProjectMemberApplyRequestRole `json:"role,omitempty"`
}

ManagementProjectMemberApplyRequest defines model for ManagementProjectMemberApplyRequest.

type ManagementProjectMemberApplyRequestRole

type ManagementProjectMemberApplyRequestRole string

ManagementProjectMemberApplyRequestRole The member's effective role on the project. A viewer may only read. An omitted role keeps the stored one, and a new member without one is stored as member.

Defines values for ManagementProjectMemberApplyRequestRole.

func (ManagementProjectMemberApplyRequestRole) Valid

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

type ManagementProjectMemberIdentity

type ManagementProjectMemberIdentity struct {
	Issuer  string `json:"issuer"`
	Subject string `json:"subject"`
}

ManagementProjectMemberIdentity defines model for ManagementProjectMemberIdentity.

type ManagementProjectSettingsRequest

type ManagementProjectSettingsRequest struct {
	// Revision Monotonic per-project revision. Older or duplicate revisions succeed without changing stored state.
	Revision int64 `json:"revision"`

	// Settings The project's stored settings. PUT replaces the complete document.
	Settings ProjectSettings `json:"settings"`
}

ManagementProjectSettingsRequest defines model for ManagementProjectSettingsRequest.

type ManagementProjectUpsertRequest

type ManagementProjectUpsertRequest struct {
	// ClusterId Remote cluster fixed at creation. Omit to create a local project or to preserve an existing project's cluster. A different cluster returns 409. The response reports the stored cluster; local projects omit it.
	ClusterId *openapi_types.UUID `json:"cluster_id,omitempty"`

	// Email Contact address recorded on the project.
	Email string `json:"email"`
	Name  string `json:"name"`

	// Slug Changing it renames the project, and its template names follow: each name held under an earlier slug is also given under the new one, and the old names keep working. A name the new slug already holds is left as it is. A slug already held on this control plane is a 409, on a rename as much as on a create.
	Slug string `json:"slug"`
}

ManagementProjectUpsertRequest The properties of a project this side stores. Name, slug and email are synchronized on every accepted push. The cluster is fixed at creation.

A project's tier is not among them, and this side assigns none. Limits arrive separately and in full through managementUpsertProjectLimits.

type ManagementRemoveClusterRegistrationResponse

type ManagementRemoveClusterRegistrationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParseManagementRemoveClusterRegistrationResponse

func ParseManagementRemoveClusterRegistrationResponse(rsp *http.Response) (*ManagementRemoveClusterRegistrationResponse, error)

ParseManagementRemoveClusterRegistrationResponse parses an HTTP response from a ManagementRemoveClusterRegistrationWithResponse call

func (ManagementRemoveClusterRegistrationResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ManagementRemoveClusterRegistrationResponse) GetBody

GetBody returns the raw response body bytes

func (ManagementRemoveClusterRegistrationResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (ManagementRemoveClusterRegistrationResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ManagementRemoveClusterRegistrationResponse) Status

Status returns HTTPResponse.Status

func (ManagementRemoveClusterRegistrationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ManagementRequestClusterDeletionResponse

type ManagementRequestClusterDeletionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *N503
}

func ParseManagementRequestClusterDeletionResponse

func ParseManagementRequestClusterDeletionResponse(rsp *http.Response) (*ManagementRequestClusterDeletionResponse, error)

ParseManagementRequestClusterDeletionResponse parses an HTTP response from a ManagementRequestClusterDeletionWithResponse call

func (ManagementRequestClusterDeletionResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ManagementRequestClusterDeletionResponse) GetBody

GetBody returns the raw response body bytes

func (ManagementRequestClusterDeletionResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ManagementRequestClusterDeletionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ManagementRequestClusterDeletionResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (ManagementRequestClusterDeletionResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ManagementRequestClusterDeletionResponse) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (ManagementRequestClusterDeletionResponse) Status

Status returns HTTPResponse.Status

func (ManagementRequestClusterDeletionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ManagementSetProjectSettingsJSONRequestBody

type ManagementSetProjectSettingsJSONRequestBody = ManagementProjectSettingsRequest

ManagementSetProjectSettingsJSONRequestBody defines body for ManagementSetProjectSettings for application/json ContentType.

type ManagementSetProjectSettingsResponse

type ManagementSetProjectSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParseManagementSetProjectSettingsResponse

func ParseManagementSetProjectSettingsResponse(rsp *http.Response) (*ManagementSetProjectSettingsResponse, error)

ParseManagementSetProjectSettingsResponse parses an HTTP response from a ManagementSetProjectSettingsWithResponse call

func (ManagementSetProjectSettingsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ManagementSetProjectSettingsResponse) GetBody

GetBody returns the raw response body bytes

func (ManagementSetProjectSettingsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ManagementSetProjectSettingsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ManagementSetProjectSettingsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ManagementSetProjectSettingsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ManagementSetProjectSettingsResponse) Status

Status returns HTTPResponse.Status

func (ManagementSetProjectSettingsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ManagementTelemetryNamesResponse

type ManagementTelemetryNamesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TelemetryNames
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParseManagementTelemetryNamesResponse

func ParseManagementTelemetryNamesResponse(rsp *http.Response) (*ManagementTelemetryNamesResponse, error)

ParseManagementTelemetryNamesResponse parses an HTTP response from a ManagementTelemetryNamesWithResponse call

func (ManagementTelemetryNamesResponse) ContentType

func (r ManagementTelemetryNamesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ManagementTelemetryNamesResponse) GetBody

func (r ManagementTelemetryNamesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ManagementTelemetryNamesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ManagementTelemetryNamesResponse) GetJSON401

func (r ManagementTelemetryNamesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ManagementTelemetryNamesResponse) GetJSON500

func (r ManagementTelemetryNamesResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ManagementTelemetryNamesResponse) Status

Status returns HTTPResponse.Status

func (ManagementTelemetryNamesResponse) StatusCode

func (r ManagementTelemetryNamesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ManagementUpsertProjectJSONRequestBody

type ManagementUpsertProjectJSONRequestBody = ManagementProjectUpsertRequest

ManagementUpsertProjectJSONRequestBody defines body for ManagementUpsertProject for application/json ContentType.

type ManagementUpsertProjectLimitsJSONRequestBody

type ManagementUpsertProjectLimitsJSONRequestBody = ManagementProjectLimits

ManagementUpsertProjectLimitsJSONRequestBody defines body for ManagementUpsertProjectLimits for application/json ContentType.

type ManagementUpsertProjectLimitsResponse

type ManagementUpsertProjectLimitsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParseManagementUpsertProjectLimitsResponse

func ParseManagementUpsertProjectLimitsResponse(rsp *http.Response) (*ManagementUpsertProjectLimitsResponse, error)

ParseManagementUpsertProjectLimitsResponse parses an HTTP response from a ManagementUpsertProjectLimitsWithResponse call

func (ManagementUpsertProjectLimitsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ManagementUpsertProjectLimitsResponse) GetBody

GetBody returns the raw response body bytes

func (ManagementUpsertProjectLimitsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ManagementUpsertProjectLimitsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ManagementUpsertProjectLimitsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ManagementUpsertProjectLimitsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ManagementUpsertProjectLimitsResponse) Status

Status returns HTTPResponse.Status

func (ManagementUpsertProjectLimitsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ManagementUpsertProjectResponse

type ManagementUpsertProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ManagementProject
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *ManagementProject
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
	// Headers503 the parsed response headers for an HTTP 503 response
	Headers503 *ManagementUpsertProjectResponse503Headers
}

func ParseManagementUpsertProjectResponse

func ParseManagementUpsertProjectResponse(rsp *http.Response) (*ManagementUpsertProjectResponse, error)

ParseManagementUpsertProjectResponse parses an HTTP response from a ManagementUpsertProjectWithResponse call

func (ManagementUpsertProjectResponse) ContentType

func (r ManagementUpsertProjectResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ManagementUpsertProjectResponse) GetBody

func (r ManagementUpsertProjectResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ManagementUpsertProjectResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ManagementUpsertProjectResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (ManagementUpsertProjectResponse) GetJSON400

func (r ManagementUpsertProjectResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ManagementUpsertProjectResponse) GetJSON401

func (r ManagementUpsertProjectResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ManagementUpsertProjectResponse) GetJSON404

func (r ManagementUpsertProjectResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ManagementUpsertProjectResponse) GetJSON409

func (r ManagementUpsertProjectResponse) GetJSON409() *N409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (ManagementUpsertProjectResponse) GetJSON500

func (r ManagementUpsertProjectResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ManagementUpsertProjectResponse) GetJSON503

func (r ManagementUpsertProjectResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (ManagementUpsertProjectResponse) Status

Status returns HTTPResponse.Status

func (ManagementUpsertProjectResponse) StatusCode

func (r ManagementUpsertProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ManagementUpsertProjectResponse503Headers

type ManagementUpsertProjectResponse503Headers struct {
	ShouldRetry *bool
}

ManagementUpsertProjectResponse503Headers the declared response headers of an HTTP 503 response for ManagementUpsertProject

type MaxTeamMetric

type MaxTeamMetric struct {
	// Timestamp Timestamp of the metric entry
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Timestamp time.Time `json:"timestamp"`

	// TimestampUnix Timestamp of the metric entry in Unix time (seconds since epoch)
	TimestampUnix int64 `json:"timestampUnix"`

	// Value The maximum value of the requested metric in the given interval
	Value float32 `json:"value"`
}

MaxTeamMetric Team metric with timestamp

type Mcp

type Mcp map[string]interface{}

Mcp MCP configuration for the sandbox

type MemoryMB

type MemoryMB = int32

MemoryMB Memory for the sandbox in MiB

type MinFreeDiskMb

type MinFreeDiskMb = int32

MinFreeDiskMb Requested minimum free space after the template's build steps, in MiB. Omit to use the team's default. Set to 0 to request no minimum free-disk growth. The filesystem is never shrunk, including inherited or already-larger filesystems. Growth is best effort, so filesystem metadata can leave the available space slightly below the requested minimum.

type N400

type N400 = Error

N400 defines model for 400.

type N401

type N401 = Error

N401 defines model for 401.

type N403

type N403 = Error

N403 defines model for 403.

type N404

type N404 = Error

N404 defines model for 404.

type N409

type N409 = Error

N409 defines model for 409.

type N429

type N429 = Error

N429 defines model for 429.

type N500

type N500 = Error

N500 defines model for 500.

type N501

type N501 = Error

N501 defines model for 501.

type N502

type N502 = Error

N502 defines model for 502.

type N503

type N503 = Error

N503 defines model for 503.

type N504

type N504 = Error

N504 defines model for 504.

type NewSandbox

type NewSandbox struct {
	// AllowInternetAccess Allow sandbox to access the internet. When set to false, it behaves the same as specifying denyOut to 0.0.0.0/0 in the network config.
	AllowInternetAccess *bool `json:"allow_internet_access,omitempty"`

	// AutoPause Automatically pauses the sandbox after the timeout
	AutoPause *bool `json:"autoPause,omitempty"`

	// AutoPauseMemory Controls the snapshot kind taken when the sandbox auto-pauses on timeout (only relevant when autoPause is true). When false, the auto-pause drops the in-memory state and persists only the filesystem (a filesystem-only snapshot); resuming it cold-boots (reboots) the sandbox from disk. Such a snapshot cannot be auto-resumed by traffic and must be resumed explicitly, so it cannot be combined with autoResume. Defaults to true (full memory snapshot).
	AutoPauseMemory *bool `json:"autoPauseMemory,omitempty"`

	// AutoResume Auto-resume configuration for paused sandboxes.
	AutoResume *SandboxAutoResumeConfig `json:"autoResume,omitempty"`

	// CpuCount Online vCPU target for the sandbox. Defaults to the template's cpuCount; at most its maxCpuCount (fixed-size templates accept only their cpuCount).
	CpuCount *CPUCount `json:"cpuCount,omitempty"`
	EnvVars  *EnvVars  `json:"envVars,omitempty"`

	// Iam Sandbox workload identity configuration. A non-empty, valid tokens map enables workload identity for the sandbox.
	Iam *SandboxIam `json:"iam,omitempty"`

	// Mcp MCP configuration for the sandbox
	Mcp *Mcp `json:"mcp,omitempty"`

	// MemoryMB Memory for the sandbox in MiB. Defaults to the template's memoryMB; at most its maxMemoryMB, in steps of 128 MiB above memoryMB (templates without a maxMemoryMB accept only their memoryMB).
	MemoryMB *MemoryMB             `json:"memoryMB,omitempty"`
	Metadata *SandboxMetadata      `json:"metadata,omitempty"`
	Network  *SandboxNetworkConfig `json:"network,omitempty"`

	// Secure Ignored. All system communication with the sandbox is always secured; the template's envd version must support secured access.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Secure *bool `json:"secure,omitempty"`

	// TemplateID Identifier of the required template
	TemplateID string `json:"templateID"`

	// Timeout Time to live for the sandbox in seconds.
	Timeout      *int32                `json:"timeout,omitempty"`
	VolumeMounts *[]SandboxVolumeMount `json:"volumeMounts,omitempty"`
}

NewSandbox defines model for NewSandbox.

type NewSandboxV2

type NewSandboxV2 struct {
	// AllowInternetAccess Allow sandbox to access the internet. When set to false, it behaves the same as specifying denyOut to 0.0.0.0/0 in the network config.
	AllowInternetAccess *bool `json:"allow_internet_access,omitempty"`

	// AutoPause Automatically pauses the sandbox after the timeout
	AutoPause *bool `json:"autoPause,omitempty"`

	// AutoPauseMemory Controls the snapshot kind taken when the sandbox auto-pauses on timeout (only relevant when autoPause is true). When false, the auto-pause drops the in-memory state and persists only the filesystem (a filesystem-only snapshot); resuming it cold-boots (reboots) the sandbox from disk. Such a snapshot cannot be auto-resumed by traffic and must be resumed explicitly, so it cannot be combined with autoResume. Defaults to true (full memory snapshot).
	AutoPauseMemory *bool `json:"autoPauseMemory,omitempty"`

	// AutoResume Auto-resume configuration for paused sandboxes.
	AutoResume *SandboxAutoResumeConfig `json:"autoResume,omitempty"`

	// CpuCount Online vCPU target for the sandbox. Defaults to the template's cpuCount; at most its maxCpuCount (fixed-size templates accept only their cpuCount).
	CpuCount *CPUCount `json:"cpuCount,omitempty"`
	EnvVars  *EnvVars  `json:"envVars,omitempty"`

	// Iam Sandbox workload identity configuration. A non-empty, valid tokens map enables workload identity for the sandbox.
	Iam *SandboxIam `json:"iam,omitempty"`

	// Mcp MCP configuration for the sandbox
	Mcp *Mcp `json:"mcp,omitempty"`

	// MemoryMB Memory for the sandbox in MiB. Defaults to the template's memoryMB; at most its maxMemoryMB, in steps of 128 MiB above memoryMB (templates without a maxMemoryMB accept only their memoryMB).
	MemoryMB *MemoryMB             `json:"memoryMB,omitempty"`
	Metadata *SandboxMetadata      `json:"metadata,omitempty"`
	Network  *SandboxNetworkConfig `json:"network,omitempty"`

	// TemplateID Identifier of the required template
	TemplateID string `json:"templateID"`

	// Timeout Time to live for the sandbox in seconds.
	Timeout      *int32                `json:"timeout,omitempty"`
	VolumeMounts *[]SandboxVolumeMount `json:"volumeMounts,omitempty"`
}

NewSandboxV2 Sandbox creation request. All system communication with the sandbox is always secured; the template's envd version must support secured access.

type NewSecret

type NewSecret struct {
	// Metadata Customer metadata of the secret. Always present, empty when unset. At most 32 entries; keys are limited to 128 bytes, values to 1024 bytes, and a secret's metadata to 8192 bytes in total.
	Metadata *SecretMetadata `json:"metadata,omitempty"`

	// Name Name of the secret, unique within the project. Names are lower-cased before storage and returned in that canonical form; the sec_ prefix is reserved for secret identifiers.
	Name string `json:"name"`

	// Value Runtime marker stored as the secret's first version. The runtime resolves it to a value at sandbox egress.
	Value string `json:"value"`
}

NewSecret defines model for NewSecret.

type NewTeamAPIKey

type NewTeamAPIKey struct {
	// Name Name of the API key
	Name string `json:"name"`
}

NewTeamAPIKey defines model for NewTeamAPIKey.

type NewVolume

type NewVolume struct {
	// Name Name of the volume
	Name string `json:"name"`
}

NewVolume defines model for NewVolume.

type Node

type Node struct {
	// Capabilities Capabilities of the orchestrator build, for example park-owner
	Capabilities *[]string `json:"capabilities,omitempty"`

	// ClusterID Identifier of the cluster
	ClusterID string `json:"clusterID"`

	// Commit Commit of the orchestrator
	Commit string `json:"commit"`

	// CreateFails Number of sandbox create fails
	CreateFails uint64 `json:"createFails"`

	// CreateSuccesses Number of sandbox create successes
	CreateSuccesses uint64 `json:"createSuccesses"`

	// Id Identifier of the node
	Id          string      `json:"id"`
	MachineInfo MachineInfo `json:"machineInfo"`

	// MaxSandboxes Cached node-scoped sandbox admission limit. Nonpositive values reject creation.
	MaxSandboxes int64 `json:"maxSandboxes"`

	// Metrics Node metrics
	Metrics NodeMetrics `json:"metrics"`

	// OutstandingWork Cached count of work holds on the node. Zero means idle or not yet reported; it does not by itself authorize deletion.
	OutstandingWork uint64 `json:"outstandingWork"`

	// SandboxCount Number of sandboxes running on the node
	SandboxCount uint32 `json:"sandboxCount"`

	// SandboxStartingCount Number of starting Sandboxes
	SandboxStartingCount int `json:"sandboxStartingCount"`

	// ServiceInstanceID Service instance identifier of the node
	ServiceInstanceID string `json:"serviceInstanceID"`

	// Status Status of the node.
	// - standby: the node refuses new sandboxes and keeps serving the ones it holds; it can return to ready.
	// - not_ready: the node is starting and cannot take new work yet. It becomes ready by itself and cannot be set through the API.
	Status NodeStatus `json:"status"`

	// StatusChangedAt Time when the node status was last changed
	StatusChangedAt time.Time `json:"statusChangedAt"`

	// StatusOwner Owner recorded by the current standby override
	StatusOwner *string `json:"statusOwner,omitempty"`

	// Version Version of the orchestrator
	Version string `json:"version"`
}

Node defines model for Node.

type NodeDetail

type NodeDetail struct {
	// Capabilities Capabilities of the orchestrator build, for example park-owner
	Capabilities *[]string `json:"capabilities,omitempty"`

	// ClusterID Identifier of the cluster
	ClusterID string `json:"clusterID"`

	// Commit Commit of the orchestrator
	Commit string `json:"commit"`

	// CreateFails Number of sandbox create fails
	CreateFails uint64 `json:"createFails"`

	// CreateSuccesses Number of sandbox create successes
	CreateSuccesses uint64 `json:"createSuccesses"`

	// Id Identifier of the node
	Id          string      `json:"id"`
	MachineInfo MachineInfo `json:"machineInfo"`

	// MaxSandboxes Cached node-scoped sandbox admission limit. Nonpositive values reject creation.
	MaxSandboxes int64 `json:"maxSandboxes"`

	// Metrics Node metrics
	Metrics NodeMetrics `json:"metrics"`

	// OutstandingWork Cached count of work holds on the node. Zero means idle or not yet reported; it does not by itself authorize deletion.
	OutstandingWork uint64 `json:"outstandingWork"`

	// SandboxCount Number of sandboxes running on the node
	SandboxCount uint32 `json:"sandboxCount"`

	// ServiceInstanceID Service instance identifier of the node
	ServiceInstanceID string `json:"serviceInstanceID"`

	// Status Status of the node.
	// - standby: the node refuses new sandboxes and keeps serving the ones it holds; it can return to ready.
	// - not_ready: the node is starting and cannot take new work yet. It becomes ready by itself and cannot be set through the API.
	Status NodeStatus `json:"status"`

	// StatusChangedAt Time when the node status was last changed
	StatusChangedAt time.Time `json:"statusChangedAt"`

	// StatusOwner Owner recorded by the current standby override
	StatusOwner *string `json:"statusOwner,omitempty"`

	// Version Version of the orchestrator
	Version string `json:"version"`
}

NodeDetail defines model for NodeDetail.

type NodeID

type NodeID = string

NodeID defines model for nodeID.

type NodeMetrics

type NodeMetrics struct {
	// AllocatedCPU Number of allocated CPU cores
	AllocatedCPU uint32 `json:"allocatedCPU"`

	// AllocatedMemoryBytes Amount of allocated memory in bytes
	AllocatedMemoryBytes uint64 `json:"allocatedMemoryBytes"`

	// CpuCount Total number of CPU cores on the node
	CpuCount uint32 `json:"cpuCount"`

	// CpuPercent Node CPU usage percentage
	CpuPercent uint32 `json:"cpuPercent"`

	// Disks Detailed metrics for each disk/mount point
	Disks []DiskMetrics `json:"disks"`

	// HugePageSizeBytes Size of a single hugepage in bytes
	HugePageSizeBytes uint64 `json:"hugePageSizeBytes"`

	// HugePagesReserved Number of reserved hugepages (committed but not yet faulted)
	HugePagesReserved uint64 `json:"hugePagesReserved"`

	// HugePagesTotal Total number of preallocated hugepages on the node
	HugePagesTotal uint64 `json:"hugePagesTotal"`

	// HugePagesUsed Number of hugepages in use (total - free)
	HugePagesUsed uint64 `json:"hugePagesUsed"`

	// MemoryTotalBytes Total node memory in bytes
	MemoryTotalBytes uint64 `json:"memoryTotalBytes"`

	// MemoryUsedBytes Node memory used in bytes
	MemoryUsedBytes uint64 `json:"memoryUsedBytes"`
}

NodeMetrics Node metrics

type NodeSandbox

type NodeSandbox struct {
	// ExecutionID Identifier of the running execution
	ExecutionID openapi_types.UUID `json:"executionID"`

	// LifecycleHoldUntil Deadline of the operation holding the sandbox's lifecycle, absent when it is not held
	LifecycleHoldUntil *time.Time `json:"lifecycleHoldUntil,omitempty"`

	// NetworkMode Network the execution runs on, legacy, egress-router or full-router
	NetworkMode string `json:"networkMode"`

	// SandboxID Identifier of the sandbox
	SandboxID string `json:"sandboxID"`

	// TeamID Identifier of the team
	TeamID openapi_types.UUID `json:"teamID"`

	// VolumesAttached Whether the sandbox runs with managed volumes attached
	VolumesAttached bool `json:"volumesAttached"`
}

NodeSandbox defines model for NodeSandbox.

type NodeSandboxes

type NodeSandboxes struct {
	Items []NodeSandbox `json:"items"`

	// NodeID Identifier of the node
	NodeID string `json:"nodeID"`

	// ObservedAt Time the node's sandboxes were read
	ObservedAt time.Time `json:"observedAt"`
}

NodeSandboxes The sandboxes the API confirms are running on a node, as the node and the API's records agree on them when read. A guest the node runs for an execution the API records elsewhere, or does not record, is left out.

type NodeStatus

type NodeStatus string

NodeStatus Status of the node. - standby: the node refuses new sandboxes and keeps serving the ones it holds; it can return to ready. - not_ready: the node is starting and cannot take new work yet. It becomes ready by itself and cannot be set through the API.

const (
	NodeStatusConnecting   NodeStatus = "connecting"
	NodeStatusDraining     NodeStatus = "draining"
	NodeStatusNotReady     NodeStatus = "not_ready"
	NodeStatusReady        NodeStatus = "ready"
	NodeStatusShuttingDown NodeStatus = "shutting_down"
	NodeStatusStandby      NodeStatus = "standby"
	NodeStatusUnhealthy    NodeStatus = "unhealthy"
)

Defines values for NodeStatus.

func (NodeStatus) Valid

func (e NodeStatus) Valid() bool

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

type NodeStatusChange

type NodeStatusChange struct {
	// ClusterID Identifier of the cluster
	ClusterID *openapi_types.UUID `json:"clusterID,omitempty"`

	// Force Apply the status and owner regardless of the recorded owner
	Force *bool `json:"force,omitempty"`

	// Owner Owner of a standby override; required to release a standby that carries one
	Owner *string `json:"owner,omitempty"`

	// Status Status of the node.
	// - standby: the node refuses new sandboxes and keeps serving the ones it holds; it can return to ready.
	// - not_ready: the node is starting and cannot take new work yet. It becomes ready by itself and cannot be set through the API.
	Status NodeStatus `json:"status"`
}

NodeStatusChange defines model for NodeStatusChange.

type OrderDirection

type OrderDirection string

OrderDirection Sort direction

const (
	Asc  OrderDirection = "asc"
	Desc OrderDirection = "desc"
)

Defines values for OrderDirection.

func (OrderDirection) Valid

func (e OrderDirection) Valid() bool

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

type PaginationLimit

type PaginationLimit = int32

PaginationLimit defines model for paginationLimit.

type PaginationNextToken

type PaginationNextToken = string

PaginationNextToken defines model for paginationNextToken.

type PatchApiKeysApiKeyIDJSONRequestBody

type PatchApiKeysApiKeyIDJSONRequestBody = UpdateTeamAPIKey

PatchApiKeysApiKeyIDJSONRequestBody defines body for PatchApiKeysApiKeyID for application/json ContentType.

type PatchApiKeysApiKeyIDResponse

type PatchApiKeysApiKeyIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PatchApiKeysApiKeyIDResponse429Headers
}

func ParsePatchApiKeysApiKeyIDResponse

func ParsePatchApiKeysApiKeyIDResponse(rsp *http.Response) (*PatchApiKeysApiKeyIDResponse, error)

ParsePatchApiKeysApiKeyIDResponse parses an HTTP response from a PatchApiKeysApiKeyIDWithResponse call

func (PatchApiKeysApiKeyIDResponse) ContentType

func (r PatchApiKeysApiKeyIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchApiKeysApiKeyIDResponse) GetBody

func (r PatchApiKeysApiKeyIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchApiKeysApiKeyIDResponse) GetJSON401

func (r PatchApiKeysApiKeyIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchApiKeysApiKeyIDResponse) GetJSON404

func (r PatchApiKeysApiKeyIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PatchApiKeysApiKeyIDResponse) GetJSON429

func (r PatchApiKeysApiKeyIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PatchApiKeysApiKeyIDResponse) GetJSON500

func (r PatchApiKeysApiKeyIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PatchApiKeysApiKeyIDResponse) Status

Status returns HTTPResponse.Status

func (PatchApiKeysApiKeyIDResponse) StatusCode

func (r PatchApiKeysApiKeyIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchApiKeysApiKeyIDResponse429Headers

type PatchApiKeysApiKeyIDResponse429Headers struct {
	RetryAfter *int
}

PatchApiKeysApiKeyIDResponse429Headers the declared response headers of an HTTP 429 response for PatchApiKeysApiKeyID

type PatchEventsWebhooksWebhookIDJSONRequestBody

type PatchEventsWebhooksWebhookIDJSONRequestBody = WebhookConfiguration

PatchEventsWebhooksWebhookIDJSONRequestBody defines body for PatchEventsWebhooksWebhookID for application/json ContentType.

type PatchEventsWebhooksWebhookIDResponse

type PatchEventsWebhooksWebhookIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WebhookDetail
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *N503
}

func ParsePatchEventsWebhooksWebhookIDResponse

func ParsePatchEventsWebhooksWebhookIDResponse(rsp *http.Response) (*PatchEventsWebhooksWebhookIDResponse, error)

ParsePatchEventsWebhooksWebhookIDResponse parses an HTTP response from a PatchEventsWebhooksWebhookIDWithResponse call

func (PatchEventsWebhooksWebhookIDResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchEventsWebhooksWebhookIDResponse) GetBody

GetBody returns the raw response body bytes

func (PatchEventsWebhooksWebhookIDResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchEventsWebhooksWebhookIDResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PatchEventsWebhooksWebhookIDResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchEventsWebhooksWebhookIDResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PatchEventsWebhooksWebhookIDResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PatchEventsWebhooksWebhookIDResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PatchEventsWebhooksWebhookIDResponse) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PatchEventsWebhooksWebhookIDResponse) Status

Status returns HTTPResponse.Status

func (PatchEventsWebhooksWebhookIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchTemplatesTemplateIDJSONRequestBody deprecated

type PatchTemplatesTemplateIDJSONRequestBody = TemplateUpdateRequest

PatchTemplatesTemplateIDJSONRequestBody defines body for PatchTemplatesTemplateID for application/json ContentType.

Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set

type PatchTemplatesTemplateIDResponse

type PatchTemplatesTemplateIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PatchTemplatesTemplateIDResponse429Headers
}

func ParsePatchTemplatesTemplateIDResponse

func ParsePatchTemplatesTemplateIDResponse(rsp *http.Response) (*PatchTemplatesTemplateIDResponse, error)

ParsePatchTemplatesTemplateIDResponse parses an HTTP response from a PatchTemplatesTemplateIDWithResponse call

func (PatchTemplatesTemplateIDResponse) ContentType

func (r PatchTemplatesTemplateIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchTemplatesTemplateIDResponse) GetBody

func (r PatchTemplatesTemplateIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchTemplatesTemplateIDResponse) GetJSON400

func (r PatchTemplatesTemplateIDResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PatchTemplatesTemplateIDResponse) GetJSON401

func (r PatchTemplatesTemplateIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchTemplatesTemplateIDResponse) GetJSON429

func (r PatchTemplatesTemplateIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PatchTemplatesTemplateIDResponse) GetJSON500

func (r PatchTemplatesTemplateIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PatchTemplatesTemplateIDResponse) Status

Status returns HTTPResponse.Status

func (PatchTemplatesTemplateIDResponse) StatusCode

func (r PatchTemplatesTemplateIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchTemplatesTemplateIDResponse429Headers

type PatchTemplatesTemplateIDResponse429Headers struct {
	RetryAfter *int
}

PatchTemplatesTemplateIDResponse429Headers the declared response headers of an HTTP 429 response for PatchTemplatesTemplateID

type PatchUnstableAdminTemplatesDefaultsTemplateIDJSONRequestBody

type PatchUnstableAdminTemplatesDefaultsTemplateIDJSONRequestBody = AdminDefaultTemplateUpdateRequest

PatchUnstableAdminTemplatesDefaultsTemplateIDJSONRequestBody defines body for PatchUnstableAdminTemplatesDefaultsTemplateID for application/json ContentType.

type PatchUnstableAdminTemplatesDefaultsTemplateIDResponse

type PatchUnstableAdminTemplatesDefaultsTemplateIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AdminDefaultTemplate
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParsePatchUnstableAdminTemplatesDefaultsTemplateIDResponse

func ParsePatchUnstableAdminTemplatesDefaultsTemplateIDResponse(rsp *http.Response) (*PatchUnstableAdminTemplatesDefaultsTemplateIDResponse, error)

ParsePatchUnstableAdminTemplatesDefaultsTemplateIDResponse parses an HTTP response from a PatchUnstableAdminTemplatesDefaultsTemplateIDWithResponse call

func (PatchUnstableAdminTemplatesDefaultsTemplateIDResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchUnstableAdminTemplatesDefaultsTemplateIDResponse) GetBody

GetBody returns the raw response body bytes

func (PatchUnstableAdminTemplatesDefaultsTemplateIDResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchUnstableAdminTemplatesDefaultsTemplateIDResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PatchUnstableAdminTemplatesDefaultsTemplateIDResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchUnstableAdminTemplatesDefaultsTemplateIDResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PatchUnstableAdminTemplatesDefaultsTemplateIDResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PatchUnstableAdminTemplatesDefaultsTemplateIDResponse) Status

Status returns HTTPResponse.Status

func (PatchUnstableAdminTemplatesDefaultsTemplateIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchV2TemplatesTemplateIDJSONRequestBody

type PatchV2TemplatesTemplateIDJSONRequestBody = TemplateUpdateRequest

PatchV2TemplatesTemplateIDJSONRequestBody defines body for PatchV2TemplatesTemplateID for application/json ContentType.

type PatchV2TemplatesTemplateIDResponse

type PatchV2TemplatesTemplateIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TemplateUpdateResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PatchV2TemplatesTemplateIDResponse429Headers
}

func ParsePatchV2TemplatesTemplateIDResponse

func ParsePatchV2TemplatesTemplateIDResponse(rsp *http.Response) (*PatchV2TemplatesTemplateIDResponse, error)

ParsePatchV2TemplatesTemplateIDResponse parses an HTTP response from a PatchV2TemplatesTemplateIDWithResponse call

func (PatchV2TemplatesTemplateIDResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchV2TemplatesTemplateIDResponse) GetBody

GetBody returns the raw response body bytes

func (PatchV2TemplatesTemplateIDResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchV2TemplatesTemplateIDResponse) GetJSON400

func (r PatchV2TemplatesTemplateIDResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PatchV2TemplatesTemplateIDResponse) GetJSON401

func (r PatchV2TemplatesTemplateIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchV2TemplatesTemplateIDResponse) GetJSON429

func (r PatchV2TemplatesTemplateIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PatchV2TemplatesTemplateIDResponse) GetJSON500

func (r PatchV2TemplatesTemplateIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PatchV2TemplatesTemplateIDResponse) Status

Status returns HTTPResponse.Status

func (PatchV2TemplatesTemplateIDResponse) StatusCode

func (r PatchV2TemplatesTemplateIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchV2TemplatesTemplateIDResponse429Headers

type PatchV2TemplatesTemplateIDResponse429Headers struct {
	RetryAfter *int
}

PatchV2TemplatesTemplateIDResponse429Headers the declared response headers of an HTTP 429 response for PatchV2TemplatesTemplateID

type PostAdminTeamsTeamIDApiKeysJSONRequestBody

type PostAdminTeamsTeamIDApiKeysJSONRequestBody = NewTeamAPIKey

PostAdminTeamsTeamIDApiKeysJSONRequestBody defines body for PostAdminTeamsTeamIDApiKeys for application/json ContentType.

type PostAdminTeamsTeamIDApiKeysResponse

type PostAdminTeamsTeamIDApiKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *CreatedTeamAPIKey
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostAdminTeamsTeamIDApiKeysResponse429Headers
}

func ParsePostAdminTeamsTeamIDApiKeysResponse

func ParsePostAdminTeamsTeamIDApiKeysResponse(rsp *http.Response) (*PostAdminTeamsTeamIDApiKeysResponse, error)

ParsePostAdminTeamsTeamIDApiKeysResponse parses an HTTP response from a PostAdminTeamsTeamIDApiKeysWithResponse call

func (PostAdminTeamsTeamIDApiKeysResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostAdminTeamsTeamIDApiKeysResponse) GetBody

GetBody returns the raw response body bytes

func (PostAdminTeamsTeamIDApiKeysResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostAdminTeamsTeamIDApiKeysResponse) GetJSON400

func (r PostAdminTeamsTeamIDApiKeysResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostAdminTeamsTeamIDApiKeysResponse) GetJSON401

func (r PostAdminTeamsTeamIDApiKeysResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostAdminTeamsTeamIDApiKeysResponse) GetJSON403

func (r PostAdminTeamsTeamIDApiKeysResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostAdminTeamsTeamIDApiKeysResponse) GetJSON404

func (r PostAdminTeamsTeamIDApiKeysResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostAdminTeamsTeamIDApiKeysResponse) GetJSON429

func (r PostAdminTeamsTeamIDApiKeysResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostAdminTeamsTeamIDApiKeysResponse) GetJSON500

func (r PostAdminTeamsTeamIDApiKeysResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostAdminTeamsTeamIDApiKeysResponse) Status

Status returns HTTPResponse.Status

func (PostAdminTeamsTeamIDApiKeysResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostAdminTeamsTeamIDApiKeysResponse429Headers

type PostAdminTeamsTeamIDApiKeysResponse429Headers struct {
	RetryAfter *int
}

PostAdminTeamsTeamIDApiKeysResponse429Headers the declared response headers of an HTTP 429 response for PostAdminTeamsTeamIDApiKeys

type PostAdminTeamsTeamIDBuildsCancelResponse

type PostAdminTeamsTeamIDBuildsCancelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AdminBuildCancelResult
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostAdminTeamsTeamIDBuildsCancelResponse429Headers
}

func ParsePostAdminTeamsTeamIDBuildsCancelResponse

func ParsePostAdminTeamsTeamIDBuildsCancelResponse(rsp *http.Response) (*PostAdminTeamsTeamIDBuildsCancelResponse, error)

ParsePostAdminTeamsTeamIDBuildsCancelResponse parses an HTTP response from a PostAdminTeamsTeamIDBuildsCancelWithResponse call

func (PostAdminTeamsTeamIDBuildsCancelResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostAdminTeamsTeamIDBuildsCancelResponse) GetBody

GetBody returns the raw response body bytes

func (PostAdminTeamsTeamIDBuildsCancelResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostAdminTeamsTeamIDBuildsCancelResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostAdminTeamsTeamIDBuildsCancelResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostAdminTeamsTeamIDBuildsCancelResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostAdminTeamsTeamIDBuildsCancelResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostAdminTeamsTeamIDBuildsCancelResponse) Status

Status returns HTTPResponse.Status

func (PostAdminTeamsTeamIDBuildsCancelResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostAdminTeamsTeamIDBuildsCancelResponse429Headers

type PostAdminTeamsTeamIDBuildsCancelResponse429Headers struct {
	RetryAfter *int
}

PostAdminTeamsTeamIDBuildsCancelResponse429Headers the declared response headers of an HTTP 429 response for PostAdminTeamsTeamIDBuildsCancel

type PostAdminTeamsTeamIDSandboxesKillResponse

type PostAdminTeamsTeamIDSandboxesKillResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AdminSandboxKillResult
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostAdminTeamsTeamIDSandboxesKillResponse429Headers
}

func ParsePostAdminTeamsTeamIDSandboxesKillResponse

func ParsePostAdminTeamsTeamIDSandboxesKillResponse(rsp *http.Response) (*PostAdminTeamsTeamIDSandboxesKillResponse, error)

ParsePostAdminTeamsTeamIDSandboxesKillResponse parses an HTTP response from a PostAdminTeamsTeamIDSandboxesKillWithResponse call

func (PostAdminTeamsTeamIDSandboxesKillResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostAdminTeamsTeamIDSandboxesKillResponse) GetBody

GetBody returns the raw response body bytes

func (PostAdminTeamsTeamIDSandboxesKillResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostAdminTeamsTeamIDSandboxesKillResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostAdminTeamsTeamIDSandboxesKillResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostAdminTeamsTeamIDSandboxesKillResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostAdminTeamsTeamIDSandboxesKillResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostAdminTeamsTeamIDSandboxesKillResponse) Status

Status returns HTTPResponse.Status

func (PostAdminTeamsTeamIDSandboxesKillResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostAdminTeamsTeamIDSandboxesKillResponse429Headers

type PostAdminTeamsTeamIDSandboxesKillResponse429Headers struct {
	RetryAfter *int
}

PostAdminTeamsTeamIDSandboxesKillResponse429Headers the declared response headers of an HTTP 429 response for PostAdminTeamsTeamIDSandboxesKill

type PostApiKeysJSONRequestBody

type PostApiKeysJSONRequestBody = NewTeamAPIKey

PostApiKeysJSONRequestBody defines body for PostApiKeys for application/json ContentType.

type PostApiKeysResponse

type PostApiKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *CreatedTeamAPIKey
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostApiKeysResponse429Headers
}

func ParsePostApiKeysResponse

func ParsePostApiKeysResponse(rsp *http.Response) (*PostApiKeysResponse, error)

ParsePostApiKeysResponse parses an HTTP response from a PostApiKeysWithResponse call

func (PostApiKeysResponse) ContentType

func (r PostApiKeysResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostApiKeysResponse) GetBody

func (r PostApiKeysResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostApiKeysResponse) GetJSON201

func (r PostApiKeysResponse) GetJSON201() *CreatedTeamAPIKey

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostApiKeysResponse) GetJSON401

func (r PostApiKeysResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostApiKeysResponse) GetJSON429

func (r PostApiKeysResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostApiKeysResponse) GetJSON500

func (r PostApiKeysResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostApiKeysResponse) Status

func (r PostApiKeysResponse) Status() string

Status returns HTTPResponse.Status

func (PostApiKeysResponse) StatusCode

func (r PostApiKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostApiKeysResponse429Headers

type PostApiKeysResponse429Headers struct {
	RetryAfter *int
}

PostApiKeysResponse429Headers the declared response headers of an HTTP 429 response for PostApiKeys

type PostEventsWebhooksJSONRequestBody

type PostEventsWebhooksJSONRequestBody = WebhookCreate

PostEventsWebhooksJSONRequestBody defines body for PostEventsWebhooks for application/json ContentType.

type PostEventsWebhooksResponse

type PostEventsWebhooksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *WebhookCreation
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *N503
}

func ParsePostEventsWebhooksResponse

func ParsePostEventsWebhooksResponse(rsp *http.Response) (*PostEventsWebhooksResponse, error)

ParsePostEventsWebhooksResponse parses an HTTP response from a PostEventsWebhooksWithResponse call

func (PostEventsWebhooksResponse) ContentType

func (r PostEventsWebhooksResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostEventsWebhooksResponse) GetBody

func (r PostEventsWebhooksResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostEventsWebhooksResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostEventsWebhooksResponse) GetJSON400

func (r PostEventsWebhooksResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostEventsWebhooksResponse) GetJSON401

func (r PostEventsWebhooksResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostEventsWebhooksResponse) GetJSON404

func (r PostEventsWebhooksResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostEventsWebhooksResponse) GetJSON409

func (r PostEventsWebhooksResponse) GetJSON409() *N409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostEventsWebhooksResponse) GetJSON500

func (r PostEventsWebhooksResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostEventsWebhooksResponse) GetJSON503

func (r PostEventsWebhooksResponse) GetJSON503() *N503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostEventsWebhooksResponse) Status

Status returns HTTPResponse.Status

func (PostEventsWebhooksResponse) StatusCode

func (r PostEventsWebhooksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostNodesNodeIDJSONRequestBody

type PostNodesNodeIDJSONRequestBody = NodeStatusChange

PostNodesNodeIDJSONRequestBody defines body for PostNodesNodeID for application/json ContentType.

type PostNodesNodeIDResponse

type PostNodesNodeIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostNodesNodeIDResponse429Headers
}

func ParsePostNodesNodeIDResponse

func ParsePostNodesNodeIDResponse(rsp *http.Response) (*PostNodesNodeIDResponse, error)

ParsePostNodesNodeIDResponse parses an HTTP response from a PostNodesNodeIDWithResponse call

func (PostNodesNodeIDResponse) ContentType

func (r PostNodesNodeIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostNodesNodeIDResponse) GetBody

func (r PostNodesNodeIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostNodesNodeIDResponse) GetJSON400

func (r PostNodesNodeIDResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostNodesNodeIDResponse) GetJSON401

func (r PostNodesNodeIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostNodesNodeIDResponse) GetJSON404

func (r PostNodesNodeIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostNodesNodeIDResponse) GetJSON409

func (r PostNodesNodeIDResponse) GetJSON409() *N409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostNodesNodeIDResponse) GetJSON429

func (r PostNodesNodeIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostNodesNodeIDResponse) GetJSON500

func (r PostNodesNodeIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostNodesNodeIDResponse) Status

func (r PostNodesNodeIDResponse) Status() string

Status returns HTTPResponse.Status

func (PostNodesNodeIDResponse) StatusCode

func (r PostNodesNodeIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostNodesNodeIDResponse429Headers

type PostNodesNodeIDResponse429Headers struct {
	RetryAfter *int
}

PostNodesNodeIDResponse429Headers the declared response headers of an HTTP 429 response for PostNodesNodeID

type PostSandboxesJSONRequestBody deprecated

type PostSandboxesJSONRequestBody = NewSandbox

PostSandboxesJSONRequestBody defines body for PostSandboxes for application/json ContentType.

Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set

type PostSandboxesResponse

type PostSandboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Sandbox
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *N503
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *N504
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostSandboxesResponse429Headers
}

func ParsePostSandboxesResponse

func ParsePostSandboxesResponse(rsp *http.Response) (*PostSandboxesResponse, error)

ParsePostSandboxesResponse parses an HTTP response from a PostSandboxesWithResponse call

func (PostSandboxesResponse) ContentType

func (r PostSandboxesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxesResponse) GetBody

func (r PostSandboxesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostSandboxesResponse) GetJSON201

func (r PostSandboxesResponse) GetJSON201() *Sandbox

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostSandboxesResponse) GetJSON400

func (r PostSandboxesResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSandboxesResponse) GetJSON401

func (r PostSandboxesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxesResponse) GetJSON429

func (r PostSandboxesResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostSandboxesResponse) GetJSON500

func (r PostSandboxesResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostSandboxesResponse) GetJSON503

func (r PostSandboxesResponse) GetJSON503() *N503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSandboxesResponse) GetJSON504

func (r PostSandboxesResponse) GetJSON504() *N504

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (PostSandboxesResponse) Status

func (r PostSandboxesResponse) Status() string

Status returns HTTPResponse.Status

func (PostSandboxesResponse) StatusCode

func (r PostSandboxesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSandboxesResponse429Headers

type PostSandboxesResponse429Headers struct {
	RetryAfter *int
}

PostSandboxesResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxes

type PostSandboxesSandboxIDConnectJSONRequestBody deprecated

type PostSandboxesSandboxIDConnectJSONRequestBody = ConnectSandbox

PostSandboxesSandboxIDConnectJSONRequestBody defines body for PostSandboxesSandboxIDConnect for application/json ContentType.

Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set

type PostSandboxesSandboxIDConnectResponse

type PostSandboxesSandboxIDConnectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Sandbox
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Sandbox
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *N503
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *N504
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostSandboxesSandboxIDConnectResponse429Headers
}

func ParsePostSandboxesSandboxIDConnectResponse

func ParsePostSandboxesSandboxIDConnectResponse(rsp *http.Response) (*PostSandboxesSandboxIDConnectResponse, error)

ParsePostSandboxesSandboxIDConnectResponse parses an HTTP response from a PostSandboxesSandboxIDConnectWithResponse call

func (PostSandboxesSandboxIDConnectResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxesSandboxIDConnectResponse) GetBody

GetBody returns the raw response body bytes

func (PostSandboxesSandboxIDConnectResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostSandboxesSandboxIDConnectResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostSandboxesSandboxIDConnectResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSandboxesSandboxIDConnectResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxesSandboxIDConnectResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxesSandboxIDConnectResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSandboxesSandboxIDConnectResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostSandboxesSandboxIDConnectResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostSandboxesSandboxIDConnectResponse) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSandboxesSandboxIDConnectResponse) GetJSON504

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (PostSandboxesSandboxIDConnectResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxesSandboxIDConnectResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostSandboxesSandboxIDConnectResponse429Headers

type PostSandboxesSandboxIDConnectResponse429Headers struct {
	RetryAfter *int
}

PostSandboxesSandboxIDConnectResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxesSandboxIDConnect

type PostSandboxesSandboxIDForkJSONRequestBody

type PostSandboxesSandboxIDForkJSONRequestBody = SandboxForkRequest

PostSandboxesSandboxIDForkJSONRequestBody defines body for PostSandboxesSandboxIDFork for application/json ContentType.

type PostSandboxesSandboxIDForkResponse

type PostSandboxesSandboxIDForkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *[]SandboxForkResult
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *N503
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostSandboxesSandboxIDForkResponse429Headers
}

func ParsePostSandboxesSandboxIDForkResponse

func ParsePostSandboxesSandboxIDForkResponse(rsp *http.Response) (*PostSandboxesSandboxIDForkResponse, error)

ParsePostSandboxesSandboxIDForkResponse parses an HTTP response from a PostSandboxesSandboxIDForkWithResponse call

func (PostSandboxesSandboxIDForkResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxesSandboxIDForkResponse) GetBody

GetBody returns the raw response body bytes

func (PostSandboxesSandboxIDForkResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostSandboxesSandboxIDForkResponse) GetJSON401

func (r PostSandboxesSandboxIDForkResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxesSandboxIDForkResponse) GetJSON404

func (r PostSandboxesSandboxIDForkResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxesSandboxIDForkResponse) GetJSON409

func (r PostSandboxesSandboxIDForkResponse) GetJSON409() *N409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSandboxesSandboxIDForkResponse) GetJSON429

func (r PostSandboxesSandboxIDForkResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostSandboxesSandboxIDForkResponse) GetJSON500

func (r PostSandboxesSandboxIDForkResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostSandboxesSandboxIDForkResponse) GetJSON503

func (r PostSandboxesSandboxIDForkResponse) GetJSON503() *N503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSandboxesSandboxIDForkResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxesSandboxIDForkResponse) StatusCode

func (r PostSandboxesSandboxIDForkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSandboxesSandboxIDForkResponse429Headers

type PostSandboxesSandboxIDForkResponse429Headers struct {
	RetryAfter *int
}

PostSandboxesSandboxIDForkResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxesSandboxIDFork

type PostSandboxesSandboxIDPauseJSONRequestBody

type PostSandboxesSandboxIDPauseJSONRequestBody = SandboxPauseRequest

PostSandboxesSandboxIDPauseJSONRequestBody defines body for PostSandboxesSandboxIDPause for application/json ContentType.

type PostSandboxesSandboxIDPauseResponse

type PostSandboxesSandboxIDPauseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *N503
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostSandboxesSandboxIDPauseResponse429Headers
}

func ParsePostSandboxesSandboxIDPauseResponse

func ParsePostSandboxesSandboxIDPauseResponse(rsp *http.Response) (*PostSandboxesSandboxIDPauseResponse, error)

ParsePostSandboxesSandboxIDPauseResponse parses an HTTP response from a PostSandboxesSandboxIDPauseWithResponse call

func (PostSandboxesSandboxIDPauseResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxesSandboxIDPauseResponse) GetBody

GetBody returns the raw response body bytes

func (PostSandboxesSandboxIDPauseResponse) GetJSON400

func (r PostSandboxesSandboxIDPauseResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSandboxesSandboxIDPauseResponse) GetJSON401

func (r PostSandboxesSandboxIDPauseResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxesSandboxIDPauseResponse) GetJSON404

func (r PostSandboxesSandboxIDPauseResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxesSandboxIDPauseResponse) GetJSON409

func (r PostSandboxesSandboxIDPauseResponse) GetJSON409() *N409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSandboxesSandboxIDPauseResponse) GetJSON429

func (r PostSandboxesSandboxIDPauseResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostSandboxesSandboxIDPauseResponse) GetJSON500

func (r PostSandboxesSandboxIDPauseResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostSandboxesSandboxIDPauseResponse) GetJSON503

func (r PostSandboxesSandboxIDPauseResponse) GetJSON503() *N503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSandboxesSandboxIDPauseResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxesSandboxIDPauseResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostSandboxesSandboxIDPauseResponse429Headers

type PostSandboxesSandboxIDPauseResponse429Headers struct {
	RetryAfter *int
}

PostSandboxesSandboxIDPauseResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxesSandboxIDPause

type PostSandboxesSandboxIDRefreshesJSONRequestBody

type PostSandboxesSandboxIDRefreshesJSONRequestBody = SandboxRefreshRequest

PostSandboxesSandboxIDRefreshesJSONRequestBody defines body for PostSandboxesSandboxIDRefreshes for application/json ContentType.

type PostSandboxesSandboxIDRefreshesResponse

type PostSandboxesSandboxIDRefreshesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostSandboxesSandboxIDRefreshesResponse429Headers
}

func ParsePostSandboxesSandboxIDRefreshesResponse

func ParsePostSandboxesSandboxIDRefreshesResponse(rsp *http.Response) (*PostSandboxesSandboxIDRefreshesResponse, error)

ParsePostSandboxesSandboxIDRefreshesResponse parses an HTTP response from a PostSandboxesSandboxIDRefreshesWithResponse call

func (PostSandboxesSandboxIDRefreshesResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxesSandboxIDRefreshesResponse) GetBody

GetBody returns the raw response body bytes

func (PostSandboxesSandboxIDRefreshesResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxesSandboxIDRefreshesResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxesSandboxIDRefreshesResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostSandboxesSandboxIDRefreshesResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxesSandboxIDRefreshesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostSandboxesSandboxIDRefreshesResponse429Headers

type PostSandboxesSandboxIDRefreshesResponse429Headers struct {
	RetryAfter *int
}

PostSandboxesSandboxIDRefreshesResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxesSandboxIDRefreshes

type PostSandboxesSandboxIDResumeJSONRequestBody deprecated

type PostSandboxesSandboxIDResumeJSONRequestBody = ResumedSandbox

PostSandboxesSandboxIDResumeJSONRequestBody defines body for PostSandboxesSandboxIDResume for application/json ContentType.

Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set

type PostSandboxesSandboxIDResumeResponse

type PostSandboxesSandboxIDResumeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Sandbox
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *N503
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *N504
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostSandboxesSandboxIDResumeResponse429Headers
}

func ParsePostSandboxesSandboxIDResumeResponse

func ParsePostSandboxesSandboxIDResumeResponse(rsp *http.Response) (*PostSandboxesSandboxIDResumeResponse, error)

ParsePostSandboxesSandboxIDResumeResponse parses an HTTP response from a PostSandboxesSandboxIDResumeWithResponse call

func (PostSandboxesSandboxIDResumeResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxesSandboxIDResumeResponse) GetBody

GetBody returns the raw response body bytes

func (PostSandboxesSandboxIDResumeResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostSandboxesSandboxIDResumeResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSandboxesSandboxIDResumeResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxesSandboxIDResumeResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxesSandboxIDResumeResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSandboxesSandboxIDResumeResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostSandboxesSandboxIDResumeResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostSandboxesSandboxIDResumeResponse) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSandboxesSandboxIDResumeResponse) GetJSON504

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (PostSandboxesSandboxIDResumeResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxesSandboxIDResumeResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostSandboxesSandboxIDResumeResponse429Headers

type PostSandboxesSandboxIDResumeResponse429Headers struct {
	RetryAfter *int
}

PostSandboxesSandboxIDResumeResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxesSandboxIDResume

type PostSandboxesSandboxIDSnapshotsJSONRequestBody

type PostSandboxesSandboxIDSnapshotsJSONRequestBody = SandboxSnapshotRequest

PostSandboxesSandboxIDSnapshotsJSONRequestBody defines body for PostSandboxesSandboxIDSnapshots for application/json ContentType.

type PostSandboxesSandboxIDSnapshotsParams

type PostSandboxesSandboxIDSnapshotsParams struct {
	// IdempotencyKey Optional team-scoped key for retrying the request. Use 1 to 255 lowercase ASCII letters,
	// digits, or hyphens (a-z, 0-9, -), such as a lowercase UUID. The HTTP method, path, query,
	// and request content identify the request. When idempotency is enabled, a matching retry of
	// a completed request replays its status and body, including the IDs of any resources it
	// created, without repeating the operation. A failure explicitly classified as safe to retry
	// (Should-Retry: true) permits a fresh attempt with the same key and request. Only one
	// attempt can run at a time. A different request returns 409 with error_code
	// idempotency_request_mismatch. A matching request whose original has no recorded response
	// yet and is within its expected response window returns 409 with error_code
	// idempotency_in_progress. A matching request whose original has no recorded response and
	// whose expected response deadline has passed or is unknown returns 422 with error_code
	// idempotency_outcome_unknown. These conflicts and unknown outcomes do not execute the
	// request again. If the key's record is unavailable or idempotency is misconfigured, the
	// request returns 503; Should-Retry tells whether to retry with the same key. After the
	// retention period expires, the key can start a new operation.
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

PostSandboxesSandboxIDSnapshotsParams defines parameters for PostSandboxesSandboxIDSnapshots.

type PostSandboxesSandboxIDSnapshotsResponse

type PostSandboxesSandboxIDSnapshotsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *SnapshotInfo
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *Error
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *PostSandboxesSandboxIDSnapshotsResponse400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *PostSandboxesSandboxIDSnapshotsResponse404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *PostSandboxesSandboxIDSnapshotsResponse409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *PostSandboxesSandboxIDSnapshotsResponse422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostSandboxesSandboxIDSnapshotsResponse429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *PostSandboxesSandboxIDSnapshotsResponse500Headers
	// Headers503 the parsed response headers for an HTTP 503 response
	Headers503 *PostSandboxesSandboxIDSnapshotsResponse503Headers
}

func ParsePostSandboxesSandboxIDSnapshotsResponse

func ParsePostSandboxesSandboxIDSnapshotsResponse(rsp *http.Response) (*PostSandboxesSandboxIDSnapshotsResponse, error)

ParsePostSandboxesSandboxIDSnapshotsResponse parses an HTTP response from a PostSandboxesSandboxIDSnapshotsWithResponse call

func (PostSandboxesSandboxIDSnapshotsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxesSandboxIDSnapshotsResponse) GetBody

GetBody returns the raw response body bytes

func (PostSandboxesSandboxIDSnapshotsResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostSandboxesSandboxIDSnapshotsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSandboxesSandboxIDSnapshotsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxesSandboxIDSnapshotsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxesSandboxIDSnapshotsResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSandboxesSandboxIDSnapshotsResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostSandboxesSandboxIDSnapshotsResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostSandboxesSandboxIDSnapshotsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostSandboxesSandboxIDSnapshotsResponse) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSandboxesSandboxIDSnapshotsResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxesSandboxIDSnapshotsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostSandboxesSandboxIDSnapshotsResponse400Headers

type PostSandboxesSandboxIDSnapshotsResponse400Headers struct {
	ShouldRetry *bool
}

PostSandboxesSandboxIDSnapshotsResponse400Headers the declared response headers of an HTTP 400 response for PostSandboxesSandboxIDSnapshots

type PostSandboxesSandboxIDSnapshotsResponse404Headers

type PostSandboxesSandboxIDSnapshotsResponse404Headers struct {
	ShouldRetry *bool
}

PostSandboxesSandboxIDSnapshotsResponse404Headers the declared response headers of an HTTP 404 response for PostSandboxesSandboxIDSnapshots

type PostSandboxesSandboxIDSnapshotsResponse409Headers

type PostSandboxesSandboxIDSnapshotsResponse409Headers struct {
	ShouldRetry *bool
}

PostSandboxesSandboxIDSnapshotsResponse409Headers the declared response headers of an HTTP 409 response for PostSandboxesSandboxIDSnapshots

type PostSandboxesSandboxIDSnapshotsResponse422Headers

type PostSandboxesSandboxIDSnapshotsResponse422Headers struct {
	ShouldRetry *bool
}

PostSandboxesSandboxIDSnapshotsResponse422Headers the declared response headers of an HTTP 422 response for PostSandboxesSandboxIDSnapshots

type PostSandboxesSandboxIDSnapshotsResponse429Headers

type PostSandboxesSandboxIDSnapshotsResponse429Headers struct {
	RetryAfter *int
}

PostSandboxesSandboxIDSnapshotsResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxesSandboxIDSnapshots

type PostSandboxesSandboxIDSnapshotsResponse500Headers

type PostSandboxesSandboxIDSnapshotsResponse500Headers struct {
	ShouldRetry *bool
}

PostSandboxesSandboxIDSnapshotsResponse500Headers the declared response headers of an HTTP 500 response for PostSandboxesSandboxIDSnapshots

type PostSandboxesSandboxIDSnapshotsResponse503Headers

type PostSandboxesSandboxIDSnapshotsResponse503Headers struct {
	ShouldRetry *bool
}

PostSandboxesSandboxIDSnapshotsResponse503Headers the declared response headers of an HTTP 503 response for PostSandboxesSandboxIDSnapshots

type PostSandboxesSandboxIDTimeoutJSONRequestBody

type PostSandboxesSandboxIDTimeoutJSONRequestBody = SandboxTimeoutRequest

PostSandboxesSandboxIDTimeoutJSONRequestBody defines body for PostSandboxesSandboxIDTimeout for application/json ContentType.

type PostSandboxesSandboxIDTimeoutResponse

type PostSandboxesSandboxIDTimeoutResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostSandboxesSandboxIDTimeoutResponse429Headers
}

func ParsePostSandboxesSandboxIDTimeoutResponse

func ParsePostSandboxesSandboxIDTimeoutResponse(rsp *http.Response) (*PostSandboxesSandboxIDTimeoutResponse, error)

ParsePostSandboxesSandboxIDTimeoutResponse parses an HTTP response from a PostSandboxesSandboxIDTimeoutWithResponse call

func (PostSandboxesSandboxIDTimeoutResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSandboxesSandboxIDTimeoutResponse) GetBody

GetBody returns the raw response body bytes

func (PostSandboxesSandboxIDTimeoutResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSandboxesSandboxIDTimeoutResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSandboxesSandboxIDTimeoutResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostSandboxesSandboxIDTimeoutResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostSandboxesSandboxIDTimeoutResponse) Status

Status returns HTTPResponse.Status

func (PostSandboxesSandboxIDTimeoutResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostSandboxesSandboxIDTimeoutResponse429Headers

type PostSandboxesSandboxIDTimeoutResponse429Headers struct {
	RetryAfter *int
}

PostSandboxesSandboxIDTimeoutResponse429Headers the declared response headers of an HTTP 429 response for PostSandboxesSandboxIDTimeout

type PostSecretsJSONRequestBody

type PostSecretsJSONRequestBody = NewSecret

PostSecretsJSONRequestBody defines body for PostSecrets for application/json ContentType.

type PostSecretsParams

type PostSecretsParams struct {
	// IdempotencyKey Optional team-scoped key for retrying the request. Use 1 to 255 lowercase ASCII letters,
	// digits, or hyphens (a-z, 0-9, -), such as a lowercase UUID. The HTTP method, path, query,
	// and request content identify the request. When idempotency is enabled, a matching retry of
	// a completed request replays its status and body, including the IDs of any resources it
	// created, without repeating the operation. A failure explicitly classified as safe to retry
	// (Should-Retry: true) permits a fresh attempt with the same key and request. Only one
	// attempt can run at a time. A different request returns 409 with error_code
	// idempotency_request_mismatch. A matching request whose original has no recorded response
	// yet and is within its expected response window returns 409 with error_code
	// idempotency_in_progress. A matching request whose original has no recorded response and
	// whose expected response deadline has passed or is unknown returns 422 with error_code
	// idempotency_outcome_unknown. These conflicts and unknown outcomes do not execute the
	// request again. If the key's record is unavailable or idempotency is misconfigured, the
	// request returns 503; Should-Retry tells whether to retry with the same key. After the
	// retention period expires, the key can start a new operation.
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

PostSecretsParams defines parameters for PostSecrets.

type PostSecretsResponse

type PostSecretsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Secret
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON413 the response for an HTTP 413 `application/json` response
	JSON413 *Error
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *Error
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *Error
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *PostSecretsResponse400Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *PostSecretsResponse403Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *PostSecretsResponse409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *PostSecretsResponse422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostSecretsResponse429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *PostSecretsResponse500Headers
	// Headers502 the parsed response headers for an HTTP 502 response
	Headers502 *PostSecretsResponse502Headers
	// Headers503 the parsed response headers for an HTTP 503 response
	Headers503 *PostSecretsResponse503Headers
	// Headers504 the parsed response headers for an HTTP 504 response
	Headers504 *PostSecretsResponse504Headers
}

func ParsePostSecretsResponse

func ParsePostSecretsResponse(rsp *http.Response) (*PostSecretsResponse, error)

ParsePostSecretsResponse parses an HTTP response from a PostSecretsWithResponse call

func (PostSecretsResponse) ContentType

func (r PostSecretsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSecretsResponse) GetBody

func (r PostSecretsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostSecretsResponse) GetJSON201

func (r PostSecretsResponse) GetJSON201() *Secret

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostSecretsResponse) GetJSON400

func (r PostSecretsResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSecretsResponse) GetJSON401

func (r PostSecretsResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSecretsResponse) GetJSON403

func (r PostSecretsResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostSecretsResponse) GetJSON404

func (r PostSecretsResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSecretsResponse) GetJSON409

func (r PostSecretsResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSecretsResponse) GetJSON413

func (r PostSecretsResponse) GetJSON413() *Error

GetJSON413 returns the response for an HTTP 413 `application/json` response

func (PostSecretsResponse) GetJSON422

func (r PostSecretsResponse) GetJSON422() *Error

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostSecretsResponse) GetJSON429

func (r PostSecretsResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostSecretsResponse) GetJSON500

func (r PostSecretsResponse) GetJSON500() *Error

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostSecretsResponse) GetJSON502

func (r PostSecretsResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostSecretsResponse) GetJSON503

func (r PostSecretsResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostSecretsResponse) GetJSON504

func (r PostSecretsResponse) GetJSON504() *Error

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (PostSecretsResponse) Status

func (r PostSecretsResponse) Status() string

Status returns HTTPResponse.Status

func (PostSecretsResponse) StatusCode

func (r PostSecretsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSecretsResponse400Headers

type PostSecretsResponse400Headers struct {
	ShouldRetry *bool
}

PostSecretsResponse400Headers the declared response headers of an HTTP 400 response for PostSecrets

type PostSecretsResponse403Headers

type PostSecretsResponse403Headers struct {
	ShouldRetry *bool
}

PostSecretsResponse403Headers the declared response headers of an HTTP 403 response for PostSecrets

type PostSecretsResponse409Headers

type PostSecretsResponse409Headers struct {
	ShouldRetry *bool
}

PostSecretsResponse409Headers the declared response headers of an HTTP 409 response for PostSecrets

type PostSecretsResponse422Headers

type PostSecretsResponse422Headers struct {
	ShouldRetry *bool
}

PostSecretsResponse422Headers the declared response headers of an HTTP 422 response for PostSecrets

type PostSecretsResponse429Headers

type PostSecretsResponse429Headers struct {
	RetryAfter *int
}

PostSecretsResponse429Headers the declared response headers of an HTTP 429 response for PostSecrets

type PostSecretsResponse500Headers

type PostSecretsResponse500Headers struct {
	ShouldRetry *bool
}

PostSecretsResponse500Headers the declared response headers of an HTTP 500 response for PostSecrets

type PostSecretsResponse502Headers

type PostSecretsResponse502Headers struct {
	ShouldRetry *bool
}

PostSecretsResponse502Headers the declared response headers of an HTTP 502 response for PostSecrets

type PostSecretsResponse503Headers

type PostSecretsResponse503Headers struct {
	ShouldRetry *bool
}

PostSecretsResponse503Headers the declared response headers of an HTTP 503 response for PostSecrets

type PostSecretsResponse504Headers

type PostSecretsResponse504Headers struct {
	ShouldRetry *bool
}

PostSecretsResponse504Headers the declared response headers of an HTTP 504 response for PostSecrets

type PostSecretsSecretIDJSONRequestBody

type PostSecretsSecretIDJSONRequestBody = SecretUpdate

PostSecretsSecretIDJSONRequestBody defines body for PostSecretsSecretID for application/json ContentType.

type PostSecretsSecretIDResponse

type PostSecretsSecretIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Secret
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *N403
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *N502
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *N504
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostSecretsSecretIDResponse429Headers
}

func ParsePostSecretsSecretIDResponse

func ParsePostSecretsSecretIDResponse(rsp *http.Response) (*PostSecretsSecretIDResponse, error)

ParsePostSecretsSecretIDResponse parses an HTTP response from a PostSecretsSecretIDWithResponse call

func (PostSecretsSecretIDResponse) ContentType

func (r PostSecretsSecretIDResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostSecretsSecretIDResponse) GetBody

func (r PostSecretsSecretIDResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostSecretsSecretIDResponse) GetJSON200

func (r PostSecretsSecretIDResponse) GetJSON200() *Secret

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostSecretsSecretIDResponse) GetJSON400

func (r PostSecretsSecretIDResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostSecretsSecretIDResponse) GetJSON401

func (r PostSecretsSecretIDResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostSecretsSecretIDResponse) GetJSON403

func (r PostSecretsSecretIDResponse) GetJSON403() *N403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostSecretsSecretIDResponse) GetJSON404

func (r PostSecretsSecretIDResponse) GetJSON404() *N404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostSecretsSecretIDResponse) GetJSON409

func (r PostSecretsSecretIDResponse) GetJSON409() *N409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostSecretsSecretIDResponse) GetJSON429

func (r PostSecretsSecretIDResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostSecretsSecretIDResponse) GetJSON500

func (r PostSecretsSecretIDResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostSecretsSecretIDResponse) GetJSON502

func (r PostSecretsSecretIDResponse) GetJSON502() *N502

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (PostSecretsSecretIDResponse) GetJSON504

func (r PostSecretsSecretIDResponse) GetJSON504() *N504

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (PostSecretsSecretIDResponse) Status

Status returns HTTPResponse.Status

func (PostSecretsSecretIDResponse) StatusCode

func (r PostSecretsSecretIDResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostSecretsSecretIDResponse429Headers

type PostSecretsSecretIDResponse429Headers struct {
	RetryAfter *int
}

PostSecretsSecretIDResponse429Headers the declared response headers of an HTTP 429 response for PostSecretsSecretID

type PostTemplatesTagsJSONRequestBody

type PostTemplatesTagsJSONRequestBody = AssignTemplateTagsRequest

PostTemplatesTagsJSONRequestBody defines body for PostTemplatesTags for application/json ContentType.

type PostTemplatesTagsParams

type PostTemplatesTagsParams struct {
	// IdempotencyKey Optional team-scoped key for retrying the request. Use 1 to 255 lowercase ASCII letters,
	// digits, or hyphens (a-z, 0-9, -), such as a lowercase UUID. The HTTP method, path, query,
	// and request content identify the request. When idempotency is enabled, a matching retry of
	// a completed request replays its status and body, including the IDs of any resources it
	// created, without repeating the operation. A failure explicitly classified as safe to retry
	// (Should-Retry: true) permits a fresh attempt with the same key and request. Only one
	// attempt can run at a time. A different request returns 409 with error_code
	// idempotency_request_mismatch. A matching request whose original has no recorded response
	// yet and is within its expected response window returns 409 with error_code
	// idempotency_in_progress. A matching request whose original has no recorded response and
	// whose expected response deadline has passed or is unknown returns 422 with error_code
	// idempotency_outcome_unknown. These conflicts and unknown outcomes do not execute the
	// request again. If the key's record is unavailable or idempotency is misconfigured, the
	// request returns 503; Should-Retry tells whether to retry with the same key. After the
	// retention period expires, the key can start a new operation.
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

PostTemplatesTagsParams defines parameters for PostTemplatesTags.

type PostTemplatesTagsResponse

type PostTemplatesTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *AssignedTemplateTags
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *Error
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *Error
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *PostTemplatesTagsResponse400Headers
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *PostTemplatesTagsResponse401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *PostTemplatesTagsResponse403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *PostTemplatesTagsResponse404Headers
	// Headers408 the parsed response headers for an HTTP 408 response
	Headers408 *PostTemplatesTagsResponse408Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *PostTemplatesTagsResponse409Headers
	// Headers413 the parsed response headers for an HTTP 413 response
	Headers413 *PostTemplatesTagsResponse413Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *PostTemplatesTagsResponse422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostTemplatesTagsResponse429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *PostTemplatesTagsResponse500Headers
	// Headers503 the parsed response headers for an HTTP 503 response
	Headers503 *PostTemplatesTagsResponse503Headers
}

func ParsePostTemplatesTagsResponse

func ParsePostTemplatesTagsResponse(rsp *http.Response) (*PostTemplatesTagsResponse, error)

ParsePostTemplatesTagsResponse parses an HTTP response from a PostTemplatesTagsWithResponse call

func (PostTemplatesTagsResponse) ContentType

func (r PostTemplatesTagsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostTemplatesTagsResponse) GetBody

func (r PostTemplatesTagsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostTemplatesTagsResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostTemplatesTagsResponse) GetJSON400

func (r PostTemplatesTagsResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostTemplatesTagsResponse) GetJSON401

func (r PostTemplatesTagsResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostTemplatesTagsResponse) GetJSON403

func (r PostTemplatesTagsResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostTemplatesTagsResponse) GetJSON404

func (r PostTemplatesTagsResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostTemplatesTagsResponse) GetJSON408

func (r PostTemplatesTagsResponse) GetJSON408() *Error

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (PostTemplatesTagsResponse) GetJSON409

func (r PostTemplatesTagsResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostTemplatesTagsResponse) GetJSON422

func (r PostTemplatesTagsResponse) GetJSON422() *Error

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostTemplatesTagsResponse) GetJSON429

func (r PostTemplatesTagsResponse) GetJSON429() *Error

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostTemplatesTagsResponse) GetJSON500

func (r PostTemplatesTagsResponse) GetJSON500() *Error

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostTemplatesTagsResponse) GetJSON503

func (r PostTemplatesTagsResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostTemplatesTagsResponse) Status

func (r PostTemplatesTagsResponse) Status() string

Status returns HTTPResponse.Status

func (PostTemplatesTagsResponse) StatusCode

func (r PostTemplatesTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTemplatesTagsResponse400Headers

type PostTemplatesTagsResponse400Headers struct {
	ShouldRetry *bool
}

PostTemplatesTagsResponse400Headers the declared response headers of an HTTP 400 response for PostTemplatesTags

type PostTemplatesTagsResponse401Headers

type PostTemplatesTagsResponse401Headers struct {
	ShouldRetry *bool
}

PostTemplatesTagsResponse401Headers the declared response headers of an HTTP 401 response for PostTemplatesTags

type PostTemplatesTagsResponse403Headers

type PostTemplatesTagsResponse403Headers struct {
	ShouldRetry *bool
}

PostTemplatesTagsResponse403Headers the declared response headers of an HTTP 403 response for PostTemplatesTags

type PostTemplatesTagsResponse404Headers

type PostTemplatesTagsResponse404Headers struct {
	ShouldRetry *bool
}

PostTemplatesTagsResponse404Headers the declared response headers of an HTTP 404 response for PostTemplatesTags

type PostTemplatesTagsResponse408Headers

type PostTemplatesTagsResponse408Headers struct {
	ShouldRetry *bool
}

PostTemplatesTagsResponse408Headers the declared response headers of an HTTP 408 response for PostTemplatesTags

type PostTemplatesTagsResponse409Headers

type PostTemplatesTagsResponse409Headers struct {
	ShouldRetry *bool
}

PostTemplatesTagsResponse409Headers the declared response headers of an HTTP 409 response for PostTemplatesTags

type PostTemplatesTagsResponse413Headers

type PostTemplatesTagsResponse413Headers struct {
	ShouldRetry *bool
}

PostTemplatesTagsResponse413Headers the declared response headers of an HTTP 413 response for PostTemplatesTags

type PostTemplatesTagsResponse422Headers

type PostTemplatesTagsResponse422Headers struct {
	ShouldRetry *bool
}

PostTemplatesTagsResponse422Headers the declared response headers of an HTTP 422 response for PostTemplatesTags

type PostTemplatesTagsResponse429Headers

type PostTemplatesTagsResponse429Headers struct {
	RetryAfter  *int
	ShouldRetry *bool
}

PostTemplatesTagsResponse429Headers the declared response headers of an HTTP 429 response for PostTemplatesTags

type PostTemplatesTagsResponse500Headers

type PostTemplatesTagsResponse500Headers struct {
	ShouldRetry *bool
}

PostTemplatesTagsResponse500Headers the declared response headers of an HTTP 500 response for PostTemplatesTags

type PostTemplatesTagsResponse503Headers

type PostTemplatesTagsResponse503Headers struct {
	ShouldRetry *bool
}

PostTemplatesTagsResponse503Headers the declared response headers of an HTTP 503 response for PostTemplatesTags

type PostUnstableAdminSandboxesSandboxIDBuildsRestoreJSONRequestBody

type PostUnstableAdminSandboxesSandboxIDBuildsRestoreJSONRequestBody = AdminSandboxBuildRestoreRequest

PostUnstableAdminSandboxesSandboxIDBuildsRestoreJSONRequestBody defines body for PostUnstableAdminSandboxesSandboxIDBuildsRestore for application/json ContentType.

type PostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse

type PostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AdminSandboxBuildRestoreResult
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse429Headers
}

func ParsePostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse

func ParsePostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse(rsp *http.Response) (*PostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse, error)

ParsePostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse parses an HTTP response from a PostUnstableAdminSandboxesSandboxIDBuildsRestoreWithResponse call

func (PostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse) GetBody

GetBody returns the raw response body bytes

func (PostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse) Status

Status returns HTTPResponse.Status

func (PostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse429Headers

type PostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse429Headers struct {
	RetryAfter *int
}

PostUnstableAdminSandboxesSandboxIDBuildsRestoreResponse429Headers the declared response headers of an HTTP 429 response for PostUnstableAdminSandboxesSandboxIDBuildsRestore

type PostUnstableAdminTeamsQueryJSONRequestBody

type PostUnstableAdminTeamsQueryJSONRequestBody = AdminTeamListRequest

PostUnstableAdminTeamsQueryJSONRequestBody defines body for PostUnstableAdminTeamsQuery for application/json ContentType.

type PostUnstableAdminTeamsQueryResponse

type PostUnstableAdminTeamsQueryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AdminTeamList
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostUnstableAdminTeamsQueryResponse429Headers
}

func ParsePostUnstableAdminTeamsQueryResponse

func ParsePostUnstableAdminTeamsQueryResponse(rsp *http.Response) (*PostUnstableAdminTeamsQueryResponse, error)

ParsePostUnstableAdminTeamsQueryResponse parses an HTTP response from a PostUnstableAdminTeamsQueryWithResponse call

func (PostUnstableAdminTeamsQueryResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostUnstableAdminTeamsQueryResponse) GetBody

GetBody returns the raw response body bytes

func (PostUnstableAdminTeamsQueryResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostUnstableAdminTeamsQueryResponse) GetJSON400

func (r PostUnstableAdminTeamsQueryResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostUnstableAdminTeamsQueryResponse) GetJSON401

func (r PostUnstableAdminTeamsQueryResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostUnstableAdminTeamsQueryResponse) GetJSON429

func (r PostUnstableAdminTeamsQueryResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostUnstableAdminTeamsQueryResponse) GetJSON500

func (r PostUnstableAdminTeamsQueryResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostUnstableAdminTeamsQueryResponse) Status

Status returns HTTPResponse.Status

func (PostUnstableAdminTeamsQueryResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostUnstableAdminTeamsQueryResponse429Headers

type PostUnstableAdminTeamsQueryResponse429Headers struct {
	RetryAfter *int
}

PostUnstableAdminTeamsQueryResponse429Headers the declared response headers of an HTTP 429 response for PostUnstableAdminTeamsQuery

type PostUnstableAdminTemplatesAliasesJSONRequestBody

type PostUnstableAdminTemplatesAliasesJSONRequestBody = AdminTemplateAliasCreateRequest

PostUnstableAdminTemplatesAliasesJSONRequestBody defines body for PostUnstableAdminTemplatesAliases for application/json ContentType.

type PostUnstableAdminTemplatesAliasesResponse

type PostUnstableAdminTemplatesAliasesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *AdminTemplateAlias
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParsePostUnstableAdminTemplatesAliasesResponse

func ParsePostUnstableAdminTemplatesAliasesResponse(rsp *http.Response) (*PostUnstableAdminTemplatesAliasesResponse, error)

ParsePostUnstableAdminTemplatesAliasesResponse parses an HTTP response from a PostUnstableAdminTemplatesAliasesWithResponse call

func (PostUnstableAdminTemplatesAliasesResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostUnstableAdminTemplatesAliasesResponse) GetBody

GetBody returns the raw response body bytes

func (PostUnstableAdminTemplatesAliasesResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostUnstableAdminTemplatesAliasesResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostUnstableAdminTemplatesAliasesResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostUnstableAdminTemplatesAliasesResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostUnstableAdminTemplatesAliasesResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostUnstableAdminTemplatesAliasesResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostUnstableAdminTemplatesAliasesResponse) Status

Status returns HTTPResponse.Status

func (PostUnstableAdminTemplatesAliasesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostUnstableAdminTemplatesDefaultsJSONRequestBody

type PostUnstableAdminTemplatesDefaultsJSONRequestBody = AdminDefaultTemplateCreateRequest

PostUnstableAdminTemplatesDefaultsJSONRequestBody defines body for PostUnstableAdminTemplatesDefaults for application/json ContentType.

type PostUnstableAdminTemplatesDefaultsResponse

type PostUnstableAdminTemplatesDefaultsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *AdminDefaultTemplate
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
}

func ParsePostUnstableAdminTemplatesDefaultsResponse

func ParsePostUnstableAdminTemplatesDefaultsResponse(rsp *http.Response) (*PostUnstableAdminTemplatesDefaultsResponse, error)

ParsePostUnstableAdminTemplatesDefaultsResponse parses an HTTP response from a PostUnstableAdminTemplatesDefaultsWithResponse call

func (PostUnstableAdminTemplatesDefaultsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostUnstableAdminTemplatesDefaultsResponse) GetBody

GetBody returns the raw response body bytes

func (PostUnstableAdminTemplatesDefaultsResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostUnstableAdminTemplatesDefaultsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostUnstableAdminTemplatesDefaultsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostUnstableAdminTemplatesDefaultsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostUnstableAdminTemplatesDefaultsResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostUnstableAdminTemplatesDefaultsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostUnstableAdminTemplatesDefaultsResponse) Status

Status returns HTTPResponse.Status

func (PostUnstableAdminTemplatesDefaultsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV2SandboxesJSONRequestBody

type PostV2SandboxesJSONRequestBody = NewSandboxV2

PostV2SandboxesJSONRequestBody defines body for PostV2Sandboxes for application/json ContentType.

type PostV2SandboxesParams

type PostV2SandboxesParams struct {
	// IdempotencyKey Optional team-scoped key for retrying sandbox creation. Use 1 to 255 lowercase ASCII
	// letters, digits, or hyphens (a-z, 0-9, -), such as a lowercase UUID. When idempotency is enabled,
	// matching retries replay a completed status and body for the retention period. A creation
	// failure explicitly classified as safe to retry (Should-Retry: true) permits a fresh
	// attempt with the same key and parameters. Only one attempt can run at a time.
	// Different request parameters return 409 with error_code idempotency_request_mismatch.
	// An in-progress request returns 409 with error_code idempotency_in_progress; an unknown
	// outcome returns 422 with error_code idempotency_outcome_unknown. These retries do not execute the request again.
	// Retries do not extend retention. If a fresh attempt's request deadline plus response
	// persistence budget would exceed the remaining retention, the previous error is replayed.
	// After the key expires, it can start a new creation.
	IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}

PostV2SandboxesParams defines parameters for PostV2Sandboxes.

type PostV2SandboxesResponse

type PostV2SandboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Sandbox
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *Error
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *Error
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *Error
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *PostV2SandboxesResponse400Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *PostV2SandboxesResponse403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *PostV2SandboxesResponse404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *PostV2SandboxesResponse409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *PostV2SandboxesResponse422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostV2SandboxesResponse429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *PostV2SandboxesResponse500Headers
	// Headers503 the parsed response headers for an HTTP 503 response
	Headers503 *PostV2SandboxesResponse503Headers
	// Headers504 the parsed response headers for an HTTP 504 response
	Headers504 *PostV2SandboxesResponse504Headers
}

func ParsePostV2SandboxesResponse

func ParsePostV2SandboxesResponse(rsp *http.Response) (*PostV2SandboxesResponse, error)

ParsePostV2SandboxesResponse parses an HTTP response from a PostV2SandboxesWithResponse call

func (PostV2SandboxesResponse) ContentType

func (r PostV2SandboxesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV2SandboxesResponse) GetBody

func (r PostV2SandboxesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostV2SandboxesResponse) GetJSON201

func (r PostV2SandboxesResponse) GetJSON201() *Sandbox

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostV2SandboxesResponse) GetJSON400

func (r PostV2SandboxesResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostV2SandboxesResponse) GetJSON401

func (r PostV2SandboxesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostV2SandboxesResponse) GetJSON403

func (r PostV2SandboxesResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostV2SandboxesResponse) GetJSON404

func (r PostV2SandboxesResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostV2SandboxesResponse) GetJSON409

func (r PostV2SandboxesResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostV2SandboxesResponse) GetJSON422

func (r PostV2SandboxesResponse) GetJSON422() *Error

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostV2SandboxesResponse) GetJSON429

func (r PostV2SandboxesResponse) GetJSON429() *Error

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostV2SandboxesResponse) GetJSON500

func (r PostV2SandboxesResponse) GetJSON500() *Error

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostV2SandboxesResponse) GetJSON503

func (r PostV2SandboxesResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostV2SandboxesResponse) GetJSON504

func (r PostV2SandboxesResponse) GetJSON504() *Error

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (PostV2SandboxesResponse) Status

func (r PostV2SandboxesResponse) Status() string

Status returns HTTPResponse.Status

func (PostV2SandboxesResponse) StatusCode

func (r PostV2SandboxesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV2SandboxesResponse400Headers

type PostV2SandboxesResponse400Headers struct {
	ShouldRetry *bool
}

PostV2SandboxesResponse400Headers the declared response headers of an HTTP 400 response for PostV2Sandboxes

type PostV2SandboxesResponse403Headers

type PostV2SandboxesResponse403Headers struct {
	ShouldRetry *bool
}

PostV2SandboxesResponse403Headers the declared response headers of an HTTP 403 response for PostV2Sandboxes

type PostV2SandboxesResponse404Headers

type PostV2SandboxesResponse404Headers struct {
	ShouldRetry *bool
}

PostV2SandboxesResponse404Headers the declared response headers of an HTTP 404 response for PostV2Sandboxes

type PostV2SandboxesResponse409Headers

type PostV2SandboxesResponse409Headers struct {
	ShouldRetry *bool
}

PostV2SandboxesResponse409Headers the declared response headers of an HTTP 409 response for PostV2Sandboxes

type PostV2SandboxesResponse422Headers

type PostV2SandboxesResponse422Headers struct {
	ShouldRetry *bool
}

PostV2SandboxesResponse422Headers the declared response headers of an HTTP 422 response for PostV2Sandboxes

type PostV2SandboxesResponse429Headers

type PostV2SandboxesResponse429Headers struct {
	RetryAfter  *int
	ShouldRetry *bool
}

PostV2SandboxesResponse429Headers the declared response headers of an HTTP 429 response for PostV2Sandboxes

type PostV2SandboxesResponse500Headers

type PostV2SandboxesResponse500Headers struct {
	ShouldRetry *bool
}

PostV2SandboxesResponse500Headers the declared response headers of an HTTP 500 response for PostV2Sandboxes

type PostV2SandboxesResponse503Headers

type PostV2SandboxesResponse503Headers struct {
	ShouldRetry *bool
}

PostV2SandboxesResponse503Headers the declared response headers of an HTTP 503 response for PostV2Sandboxes

type PostV2SandboxesResponse504Headers

type PostV2SandboxesResponse504Headers struct {
	ShouldRetry *bool
}

PostV2SandboxesResponse504Headers the declared response headers of an HTTP 504 response for PostV2Sandboxes

type PostV2SandboxesSandboxIDConnectJSONRequestBody

type PostV2SandboxesSandboxIDConnectJSONRequestBody = ConnectSandboxV2

PostV2SandboxesSandboxIDConnectJSONRequestBody defines body for PostV2SandboxesSandboxIDConnect for application/json ContentType.

type PostV2SandboxesSandboxIDConnectResponse

type PostV2SandboxesSandboxIDConnectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Sandbox
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Sandbox
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *N503
	// JSON504 the response for an HTTP 504 `application/json` response
	JSON504 *N504
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostV2SandboxesSandboxIDConnectResponse429Headers
}

func ParsePostV2SandboxesSandboxIDConnectResponse

func ParsePostV2SandboxesSandboxIDConnectResponse(rsp *http.Response) (*PostV2SandboxesSandboxIDConnectResponse, error)

ParsePostV2SandboxesSandboxIDConnectResponse parses an HTTP response from a PostV2SandboxesSandboxIDConnectWithResponse call

func (PostV2SandboxesSandboxIDConnectResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV2SandboxesSandboxIDConnectResponse) GetBody

GetBody returns the raw response body bytes

func (PostV2SandboxesSandboxIDConnectResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PostV2SandboxesSandboxIDConnectResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostV2SandboxesSandboxIDConnectResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostV2SandboxesSandboxIDConnectResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostV2SandboxesSandboxIDConnectResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostV2SandboxesSandboxIDConnectResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostV2SandboxesSandboxIDConnectResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostV2SandboxesSandboxIDConnectResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostV2SandboxesSandboxIDConnectResponse) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostV2SandboxesSandboxIDConnectResponse) GetJSON504

GetJSON504 returns the response for an HTTP 504 `application/json` response

func (PostV2SandboxesSandboxIDConnectResponse) Status

Status returns HTTPResponse.Status

func (PostV2SandboxesSandboxIDConnectResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV2SandboxesSandboxIDConnectResponse429Headers

type PostV2SandboxesSandboxIDConnectResponse429Headers struct {
	RetryAfter *int
}

PostV2SandboxesSandboxIDConnectResponse429Headers the declared response headers of an HTTP 429 response for PostV2SandboxesSandboxIDConnect

type PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody

type PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody = TemplateBuildStartV2

PostV2TemplatesTemplateIDBuildsBuildIDJSONRequestBody defines body for PostV2TemplatesTemplateIDBuildsBuildID for application/json ContentType.

type PostV2TemplatesTemplateIDBuildsBuildIDParams

type PostV2TemplatesTemplateIDBuildsBuildIDParams struct {
	// IdempotencyKey Optional team-scoped key for retrying the request. Use 1 to 255 lowercase ASCII letters,
	// digits, or hyphens (a-z, 0-9, -), such as a lowercase UUID. The HTTP method, path, query,
	// and request content identify the request. When idempotency is enabled, a matching retry of
	// a completed request replays its status and body, including the IDs of any resources it
	// created, without repeating the operation. A failure explicitly classified as safe to retry
	// (Should-Retry: true) permits a fresh attempt with the same key and request. Only one
	// attempt can run at a time. A different request returns 409 with error_code
	// idempotency_request_mismatch. A matching request whose original has no recorded response
	// yet and is within its expected response window returns 409 with error_code
	// idempotency_in_progress. A matching request whose original has no recorded response and
	// whose expected response deadline has passed or is unknown returns 422 with error_code
	// idempotency_outcome_unknown. These conflicts and unknown outcomes do not execute the
	// request again. If the key's record is unavailable or idempotency is misconfigured, the
	// request returns 503; Should-Retry tells whether to retry with the same key. After the
	// retention period expires, the key can start a new operation.
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

PostV2TemplatesTemplateIDBuildsBuildIDParams defines parameters for PostV2TemplatesTemplateIDBuildsBuildID.

type PostV2TemplatesTemplateIDBuildsBuildIDResponse

type PostV2TemplatesTemplateIDBuildsBuildIDResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *Error
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *PostV2TemplatesTemplateIDBuildsBuildIDResponse400Headers
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *PostV2TemplatesTemplateIDBuildsBuildIDResponse401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *PostV2TemplatesTemplateIDBuildsBuildIDResponse403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *PostV2TemplatesTemplateIDBuildsBuildIDResponse404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *PostV2TemplatesTemplateIDBuildsBuildIDResponse409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *PostV2TemplatesTemplateIDBuildsBuildIDResponse422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostV2TemplatesTemplateIDBuildsBuildIDResponse429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *PostV2TemplatesTemplateIDBuildsBuildIDResponse500Headers
	// Headers503 the parsed response headers for an HTTP 503 response
	Headers503 *PostV2TemplatesTemplateIDBuildsBuildIDResponse503Headers
}

func ParsePostV2TemplatesTemplateIDBuildsBuildIDResponse

func ParsePostV2TemplatesTemplateIDBuildsBuildIDResponse(rsp *http.Response) (*PostV2TemplatesTemplateIDBuildsBuildIDResponse, error)

ParsePostV2TemplatesTemplateIDBuildsBuildIDResponse parses an HTTP response from a PostV2TemplatesTemplateIDBuildsBuildIDWithResponse call

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetBody

GetBody returns the raw response body bytes

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) GetJSON503

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) Status

Status returns HTTPResponse.Status

func (PostV2TemplatesTemplateIDBuildsBuildIDResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV2TemplatesTemplateIDBuildsBuildIDResponse400Headers

type PostV2TemplatesTemplateIDBuildsBuildIDResponse400Headers struct {
	ShouldRetry *bool
}

PostV2TemplatesTemplateIDBuildsBuildIDResponse400Headers the declared response headers of an HTTP 400 response for PostV2TemplatesTemplateIDBuildsBuildID

type PostV2TemplatesTemplateIDBuildsBuildIDResponse401Headers

type PostV2TemplatesTemplateIDBuildsBuildIDResponse401Headers struct {
	ShouldRetry *bool
}

PostV2TemplatesTemplateIDBuildsBuildIDResponse401Headers the declared response headers of an HTTP 401 response for PostV2TemplatesTemplateIDBuildsBuildID

type PostV2TemplatesTemplateIDBuildsBuildIDResponse403Headers

type PostV2TemplatesTemplateIDBuildsBuildIDResponse403Headers struct {
	ShouldRetry *bool
}

PostV2TemplatesTemplateIDBuildsBuildIDResponse403Headers the declared response headers of an HTTP 403 response for PostV2TemplatesTemplateIDBuildsBuildID

type PostV2TemplatesTemplateIDBuildsBuildIDResponse404Headers

type PostV2TemplatesTemplateIDBuildsBuildIDResponse404Headers struct {
	ShouldRetry *bool
}

PostV2TemplatesTemplateIDBuildsBuildIDResponse404Headers the declared response headers of an HTTP 404 response for PostV2TemplatesTemplateIDBuildsBuildID

type PostV2TemplatesTemplateIDBuildsBuildIDResponse409Headers

type PostV2TemplatesTemplateIDBuildsBuildIDResponse409Headers struct {
	ShouldRetry *bool
}

PostV2TemplatesTemplateIDBuildsBuildIDResponse409Headers the declared response headers of an HTTP 409 response for PostV2TemplatesTemplateIDBuildsBuildID

type PostV2TemplatesTemplateIDBuildsBuildIDResponse422Headers

type PostV2TemplatesTemplateIDBuildsBuildIDResponse422Headers struct {
	ShouldRetry *bool
}

PostV2TemplatesTemplateIDBuildsBuildIDResponse422Headers the declared response headers of an HTTP 422 response for PostV2TemplatesTemplateIDBuildsBuildID

type PostV2TemplatesTemplateIDBuildsBuildIDResponse429Headers

type PostV2TemplatesTemplateIDBuildsBuildIDResponse429Headers struct {
	RetryAfter *int
}

PostV2TemplatesTemplateIDBuildsBuildIDResponse429Headers the declared response headers of an HTTP 429 response for PostV2TemplatesTemplateIDBuildsBuildID

type PostV2TemplatesTemplateIDBuildsBuildIDResponse500Headers

type PostV2TemplatesTemplateIDBuildsBuildIDResponse500Headers struct {
	ShouldRetry *bool
}

PostV2TemplatesTemplateIDBuildsBuildIDResponse500Headers the declared response headers of an HTTP 500 response for PostV2TemplatesTemplateIDBuildsBuildID

type PostV2TemplatesTemplateIDBuildsBuildIDResponse503Headers

type PostV2TemplatesTemplateIDBuildsBuildIDResponse503Headers struct {
	ShouldRetry *bool
}

PostV2TemplatesTemplateIDBuildsBuildIDResponse503Headers the declared response headers of an HTTP 503 response for PostV2TemplatesTemplateIDBuildsBuildID

type PostV3TemplatesJSONRequestBody

type PostV3TemplatesJSONRequestBody = TemplateBuildRequestV3

PostV3TemplatesJSONRequestBody defines body for PostV3Templates for application/json ContentType.

type PostV3TemplatesParams

type PostV3TemplatesParams struct {
	// IdempotencyKey Optional team-scoped key for retrying the request. Use 1 to 255 lowercase ASCII letters,
	// digits, or hyphens (a-z, 0-9, -), such as a lowercase UUID. The HTTP method, path, query,
	// and request content identify the request. When idempotency is enabled, a matching retry of
	// a completed request replays its status and body, including the IDs of any resources it
	// created, without repeating the operation. A failure explicitly classified as safe to retry
	// (Should-Retry: true) permits a fresh attempt with the same key and request. Only one
	// attempt can run at a time. A different request returns 409 with error_code
	// idempotency_request_mismatch. A matching request whose original has no recorded response
	// yet and is within its expected response window returns 409 with error_code
	// idempotency_in_progress. A matching request whose original has no recorded response and
	// whose expected response deadline has passed or is unknown returns 422 with error_code
	// idempotency_outcome_unknown. These conflicts and unknown outcomes do not execute the
	// request again. If the key's record is unavailable or idempotency is misconfigured, the
	// request returns 503; Should-Retry tells whether to retry with the same key. After the
	// retention period expires, the key can start a new operation.
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

PostV3TemplatesParams defines parameters for PostV3Templates.

type PostV3TemplatesResponse

type PostV3TemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *TemplateRequestResponseV3
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *Error
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *Error
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *PostV3TemplatesResponse400Headers
	// Headers401 the parsed response headers for an HTTP 401 response
	Headers401 *PostV3TemplatesResponse401Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *PostV3TemplatesResponse403Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *PostV3TemplatesResponse409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *PostV3TemplatesResponse422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostV3TemplatesResponse429Headers
	// Headers500 the parsed response headers for an HTTP 500 response
	Headers500 *PostV3TemplatesResponse500Headers
	// Headers503 the parsed response headers for an HTTP 503 response
	Headers503 *PostV3TemplatesResponse503Headers
}

func ParsePostV3TemplatesResponse

func ParsePostV3TemplatesResponse(rsp *http.Response) (*PostV3TemplatesResponse, error)

ParsePostV3TemplatesResponse parses an HTTP response from a PostV3TemplatesWithResponse call

func (PostV3TemplatesResponse) ContentType

func (r PostV3TemplatesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostV3TemplatesResponse) GetBody

func (r PostV3TemplatesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostV3TemplatesResponse) GetJSON202

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (PostV3TemplatesResponse) GetJSON400

func (r PostV3TemplatesResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostV3TemplatesResponse) GetJSON401

func (r PostV3TemplatesResponse) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostV3TemplatesResponse) GetJSON403

func (r PostV3TemplatesResponse) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostV3TemplatesResponse) GetJSON409

func (r PostV3TemplatesResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostV3TemplatesResponse) GetJSON422

func (r PostV3TemplatesResponse) GetJSON422() *Error

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostV3TemplatesResponse) GetJSON429

func (r PostV3TemplatesResponse) GetJSON429() *Error

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostV3TemplatesResponse) GetJSON500

func (r PostV3TemplatesResponse) GetJSON500() *Error

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostV3TemplatesResponse) GetJSON503

func (r PostV3TemplatesResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PostV3TemplatesResponse) Status

func (r PostV3TemplatesResponse) Status() string

Status returns HTTPResponse.Status

func (PostV3TemplatesResponse) StatusCode

func (r PostV3TemplatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV3TemplatesResponse400Headers

type PostV3TemplatesResponse400Headers struct {
	ShouldRetry *bool
}

PostV3TemplatesResponse400Headers the declared response headers of an HTTP 400 response for PostV3Templates

type PostV3TemplatesResponse401Headers

type PostV3TemplatesResponse401Headers struct {
	ShouldRetry *bool
}

PostV3TemplatesResponse401Headers the declared response headers of an HTTP 401 response for PostV3Templates

type PostV3TemplatesResponse403Headers

type PostV3TemplatesResponse403Headers struct {
	ShouldRetry *bool
}

PostV3TemplatesResponse403Headers the declared response headers of an HTTP 403 response for PostV3Templates

type PostV3TemplatesResponse409Headers

type PostV3TemplatesResponse409Headers struct {
	ShouldRetry *bool
}

PostV3TemplatesResponse409Headers the declared response headers of an HTTP 409 response for PostV3Templates

type PostV3TemplatesResponse422Headers

type PostV3TemplatesResponse422Headers struct {
	ShouldRetry *bool
}

PostV3TemplatesResponse422Headers the declared response headers of an HTTP 422 response for PostV3Templates

type PostV3TemplatesResponse429Headers

type PostV3TemplatesResponse429Headers struct {
	RetryAfter  *int
	ShouldRetry *bool
}

PostV3TemplatesResponse429Headers the declared response headers of an HTTP 429 response for PostV3Templates

type PostV3TemplatesResponse500Headers

type PostV3TemplatesResponse500Headers struct {
	ShouldRetry *bool
}

PostV3TemplatesResponse500Headers the declared response headers of an HTTP 500 response for PostV3Templates

type PostV3TemplatesResponse503Headers

type PostV3TemplatesResponse503Headers struct {
	ShouldRetry *bool
}

PostV3TemplatesResponse503Headers the declared response headers of an HTTP 503 response for PostV3Templates

type PostVolumesJSONRequestBody

type PostVolumesJSONRequestBody = NewVolume

PostVolumesJSONRequestBody defines body for PostVolumes for application/json ContentType.

type PostVolumesResponse

type PostVolumesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *VolumeAndToken
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PostVolumesResponse429Headers
}

func ParsePostVolumesResponse

func ParsePostVolumesResponse(rsp *http.Response) (*PostVolumesResponse, error)

ParsePostVolumesResponse parses an HTTP response from a PostVolumesWithResponse call

func (PostVolumesResponse) ContentType

func (r PostVolumesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostVolumesResponse) GetBody

func (r PostVolumesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PostVolumesResponse) GetJSON201

func (r PostVolumesResponse) GetJSON201() *VolumeAndToken

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PostVolumesResponse) GetJSON400

func (r PostVolumesResponse) GetJSON400() *N400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostVolumesResponse) GetJSON401

func (r PostVolumesResponse) GetJSON401() *N401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostVolumesResponse) GetJSON429

func (r PostVolumesResponse) GetJSON429() *N429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PostVolumesResponse) GetJSON500

func (r PostVolumesResponse) GetJSON500() *N500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostVolumesResponse) Status

func (r PostVolumesResponse) Status() string

Status returns HTTPResponse.Status

func (PostVolumesResponse) StatusCode

func (r PostVolumesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostVolumesResponse429Headers

type PostVolumesResponse429Headers struct {
	RetryAfter *int
}

PostVolumesResponse429Headers the declared response headers of an HTTP 429 response for PostVolumes

type ProjectSettings

type ProjectSettings struct {
	SandboxSettings SandboxSettings `json:"sandboxSettings"`
}

ProjectSettings The project's stored settings. PUT replaces the complete document.

type PutClustersClusterIDRigsRigIDCapacityJSONRequestBody

type PutClustersClusterIDRigsRigIDCapacityJSONRequestBody = RigCapacityChange

PutClustersClusterIDRigsRigIDCapacityJSONRequestBody defines body for PutClustersClusterIDRigsRigIDCapacity for application/json ContentType.

type PutClustersClusterIDRigsRigIDCapacityResponse

type PutClustersClusterIDRigsRigIDCapacityResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *N501
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PutClustersClusterIDRigsRigIDCapacityResponse429Headers
}

func ParsePutClustersClusterIDRigsRigIDCapacityResponse

func ParsePutClustersClusterIDRigsRigIDCapacityResponse(rsp *http.Response) (*PutClustersClusterIDRigsRigIDCapacityResponse, error)

ParsePutClustersClusterIDRigsRigIDCapacityResponse parses an HTTP response from a PutClustersClusterIDRigsRigIDCapacityWithResponse call

func (PutClustersClusterIDRigsRigIDCapacityResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutClustersClusterIDRigsRigIDCapacityResponse) GetBody

GetBody returns the raw response body bytes

func (PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PutClustersClusterIDRigsRigIDCapacityResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (PutClustersClusterIDRigsRigIDCapacityResponse) Status

Status returns HTTPResponse.Status

func (PutClustersClusterIDRigsRigIDCapacityResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutClustersClusterIDRigsRigIDCapacityResponse429Headers

type PutClustersClusterIDRigsRigIDCapacityResponse429Headers struct {
	RetryAfter *int
}

PutClustersClusterIDRigsRigIDCapacityResponse429Headers the declared response headers of an HTTP 429 response for PutClustersClusterIDRigsRigIDCapacity

type PutSandboxesSandboxIDNetworkJSONRequestBody

type PutSandboxesSandboxIDNetworkJSONRequestBody = SandboxNetworkUpdateConfig

PutSandboxesSandboxIDNetworkJSONRequestBody defines body for PutSandboxesSandboxIDNetwork for application/json ContentType.

type PutSandboxesSandboxIDNetworkResponse

type PutSandboxesSandboxIDNetworkResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *N409
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PutSandboxesSandboxIDNetworkResponse429Headers
}

func ParsePutSandboxesSandboxIDNetworkResponse

func ParsePutSandboxesSandboxIDNetworkResponse(rsp *http.Response) (*PutSandboxesSandboxIDNetworkResponse, error)

ParsePutSandboxesSandboxIDNetworkResponse parses an HTTP response from a PutSandboxesSandboxIDNetworkWithResponse call

func (PutSandboxesSandboxIDNetworkResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutSandboxesSandboxIDNetworkResponse) GetBody

GetBody returns the raw response body bytes

func (PutSandboxesSandboxIDNetworkResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PutSandboxesSandboxIDNetworkResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PutSandboxesSandboxIDNetworkResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PutSandboxesSandboxIDNetworkResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PutSandboxesSandboxIDNetworkResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PutSandboxesSandboxIDNetworkResponse) Status

Status returns HTTPResponse.Status

func (PutSandboxesSandboxIDNetworkResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutSandboxesSandboxIDNetworkResponse429Headers

type PutSandboxesSandboxIDNetworkResponse429Headers struct {
	RetryAfter *int
}

PutSandboxesSandboxIDNetworkResponse429Headers the declared response headers of an HTTP 429 response for PutSandboxesSandboxIDNetwork

type PutUnstableAdminTeamsTeamIDSchedulingLabelsJSONRequestBody

type PutUnstableAdminTeamsTeamIDSchedulingLabelsJSONRequestBody = AdminTeamSchedulingLabels

PutUnstableAdminTeamsTeamIDSchedulingLabelsJSONRequestBody defines body for PutUnstableAdminTeamsTeamIDSchedulingLabels for application/json ContentType.

type PutUnstableAdminTeamsTeamIDSchedulingLabelsResponse

type PutUnstableAdminTeamsTeamIDSchedulingLabelsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AdminTeamSchedulingLabels
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *N400
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *N401
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *N404
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *N429
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *N500
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *PutUnstableAdminTeamsTeamIDSchedulingLabelsResponse429Headers
}

func ParsePutUnstableAdminTeamsTeamIDSchedulingLabelsResponse

func ParsePutUnstableAdminTeamsTeamIDSchedulingLabelsResponse(rsp *http.Response) (*PutUnstableAdminTeamsTeamIDSchedulingLabelsResponse, error)

ParsePutUnstableAdminTeamsTeamIDSchedulingLabelsResponse parses an HTTP response from a PutUnstableAdminTeamsTeamIDSchedulingLabelsWithResponse call

func (PutUnstableAdminTeamsTeamIDSchedulingLabelsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PutUnstableAdminTeamsTeamIDSchedulingLabelsResponse) GetBody

GetBody returns the raw response body bytes

func (PutUnstableAdminTeamsTeamIDSchedulingLabelsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PutUnstableAdminTeamsTeamIDSchedulingLabelsResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PutUnstableAdminTeamsTeamIDSchedulingLabelsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PutUnstableAdminTeamsTeamIDSchedulingLabelsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PutUnstableAdminTeamsTeamIDSchedulingLabelsResponse) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (PutUnstableAdminTeamsTeamIDSchedulingLabelsResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PutUnstableAdminTeamsTeamIDSchedulingLabelsResponse) Status

Status returns HTTPResponse.Status

func (PutUnstableAdminTeamsTeamIDSchedulingLabelsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutUnstableAdminTeamsTeamIDSchedulingLabelsResponse429Headers

type PutUnstableAdminTeamsTeamIDSchedulingLabelsResponse429Headers struct {
	RetryAfter *int
}

PutUnstableAdminTeamsTeamIDSchedulingLabelsResponse429Headers the declared response headers of an HTTP 429 response for PutUnstableAdminTeamsTeamIDSchedulingLabels

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ResumedSandbox

type ResumedSandbox struct {
	// AutoPause Automatically pauses the sandbox after the timeout
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	AutoPause *bool `json:"autoPause,omitempty"`

	// CpuCount Online vCPU target for the resumed sandbox. Defaults to the snapshot's cpuCount; at most the template's maxCpuCount (fixed-size templates accept only their cpuCount).
	CpuCount *CPUCount `json:"cpuCount,omitempty"`

	// Memory Defaults to true. When false, resume from disk state only: the sandbox cold-boots fresh and any memory in the snapshot is ignored, never modified or deleted. Disk state has crash-recovery semantics — writes not flushed before the pause may be lost. A no-op for snapshots that contain no memory. Rejected with an error in environments where this capability is not enabled, never silently downgraded to a memory restore. A snapshot taken while the sandbox guest agent was not responding (envdUnresponsiveAtPause) can only be resumed this way, and needs no enablement.
	Memory *bool `json:"memory,omitempty"`

	// MemoryMB Memory for the resumed sandbox in MiB. Defaults to the memory the sandbox had when it was paused; at least that, and at most the template's maxMemoryMB, in steps of 128 MiB above its memoryMB.
	MemoryMB *MemoryMB `json:"memoryMB,omitempty"`

	// Timeout Time to live for the sandbox in seconds.
	Timeout *int32 `json:"timeout,omitempty"`
}

ResumedSandbox defines model for ResumedSandbox.

type Rig

type Rig struct {
	// CapacityCurrent Number of instances currently attached to the rig
	CapacityCurrent int32 `json:"capacityCurrent"`

	// CapacityDesired Desired number of instances in the rig
	CapacityDesired int32 `json:"capacityDesired"`

	// CapacityMax Maximum capacity enforced on the rig's scaling group. Omitted when nothing enforces bounds (GCP MIG without an active autoscaler).
	CapacityMax *int32 `json:"capacityMax,omitempty"`

	// CapacityMin Minimum capacity enforced on the rig's scaling group. Omitted when nothing enforces bounds (GCP MIG without an active autoscaler).
	CapacityMin *int32 `json:"capacityMin,omitempty"`

	// Id Rig identifier (e.g. "default")
	Id string `json:"id"`

	// Provider Cloud provider backing the rig ("aws" or "gcp")
	Provider string `json:"provider"`

	// ResourceID Canonical cloud resource ID of the scaling group backing the rig (ARN on AWS, self-link on GCP)
	ResourceID string `json:"resourceID"`
}

Rig An orchestrator node pool backed by one cloud scaling group

type RigCapacityChange

type RigCapacityChange struct {
	// Desired Absolute desired number of instances in the rig
	Desired int32 `json:"desired"`
}

RigCapacityChange Desired capacity to set on the rig's scaling group

type RigError

type RigError struct {
	// Action Action being performed when the error occurred (e.g. CREATING)
	Action *string `json:"action,omitempty"`

	// Code Provider-specific error code (e.g. ZONE_RESOURCE_POOL_EXHAUSTED, Failed)
	Code string `json:"code"`

	// Instance Instance the error relates to, if any
	Instance *string `json:"instance,omitempty"`

	// Message Human-readable error message
	Message string `json:"message"`

	// Timestamp When the error occurred
	Timestamp time.Time `json:"timestamp"`
}

RigError Scaling error on the rig's scaling group, e.g. a failed instance creation due to resource exhaustion

type RigID

type RigID = string

RigID defines model for rigID.

type RigInstance

type RigInstance struct {
	// CreatedAt When the provider created the instance. Omitted while the instance is transitioning.
	CreatedAt *time.Time `json:"createdAt,omitempty"`

	// Id Provider instance ID (EC2 instance ID on AWS, instance name on GCP), also the node ID the orchestrator reports
	Id string `json:"id"`

	// Terminating The instance is on its way out of the group and can never become healthy again
	Terminating bool `json:"terminating"`

	// Transitioning The provider is creating, deleting, recreating or otherwise mutating the instance
	Transitioning bool `json:"transitioning"`
}

RigInstance An instance attached to a rig's scaling group

type Sandbox

type Sandbox struct {
	// Alias Alias of the template
	Alias *string `json:"alias,omitempty"`

	// ClientID Identifier of the client
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ClientID string `json:"clientID"`

	// Domain Base domain where the sandbox traffic is accessible
	Domain *string `json:"domain,omitempty"`

	// EnvdAccessToken Access token used for envd communication
	EnvdAccessToken *string `json:"envdAccessToken,omitempty"`

	// EnvdVersion Version of the envd running in the sandbox
	EnvdVersion EnvdVersion `json:"envdVersion"`

	// SandboxID Identifier of the sandbox
	SandboxID string `json:"sandboxID"`

	// TemplateID Identifier of the template from which is the sandbox created
	TemplateID string `json:"templateID"`

	// TrafficAccessToken Token required for accessing sandbox via proxy.
	TrafficAccessToken *string `json:"trafficAccessToken,omitempty"`
}

Sandbox defines model for Sandbox.

type SandboxAutoResumeConfig

type SandboxAutoResumeConfig struct {
	// Enabled Auto-resume enabled flag for paused sandboxes. Default false.
	Enabled SandboxAutoResumeEnabled `json:"enabled"`
}

SandboxAutoResumeConfig Auto-resume configuration for paused sandboxes.

type SandboxAutoResumeEnabled

type SandboxAutoResumeEnabled = bool

SandboxAutoResumeEnabled Auto-resume enabled flag for paused sandboxes. Default false.

type SandboxDetail

type SandboxDetail struct {
	// Alias Alias of the template
	Alias *string `json:"alias,omitempty"`

	// AllowInternetAccess Whether internet access was explicitly enabled or disabled for the sandbox. Null means it was not explicitly set.
	AllowInternetAccess *bool `json:"allowInternetAccess,omitempty"`

	// ClientID Identifier of the client
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ClientID string `json:"clientID"`

	// CpuCount CPU cores for the sandbox
	CpuCount CPUCount `json:"cpuCount"`

	// DiskSizeMB Disk size for the sandbox in MiB
	DiskSizeMB DiskSizeMB `json:"diskSizeMB"`

	// Domain Base domain where the sandbox traffic is accessible
	Domain *string `json:"domain,omitempty"`

	// EndAt Time when the sandbox will expire
	EndAt time.Time `json:"endAt"`

	// EnvdAccessToken Access token used for envd communication
	EnvdAccessToken *string `json:"envdAccessToken,omitempty"`

	// EnvdUnresponsiveAtPause True when the snapshot a paused sandbox would resume from was taken while the sandbox guest agent was not responding. A plain resume of it is refused with 409 and error_code sandbox_snapshot_guest_agent_unresponsive, because restoring that memory would bring the unresponsive agent back; resume it without memory (`memory: false`), which cold-boots the sandbox from its disk. Omitted for a running sandbox and for a snapshot whose agent answered.
	EnvdUnresponsiveAtPause *EnvdUnresponsiveAtPause `json:"envdUnresponsiveAtPause,omitempty"`

	// EnvdVersion Version of the envd running in the sandbox
	EnvdVersion EnvdVersion `json:"envdVersion"`

	// Lifecycle Sandbox lifecycle policy returned by sandbox info.
	Lifecycle *SandboxLifecycle `json:"lifecycle,omitempty"`

	// MemoryMB Memory for the sandbox in MiB
	MemoryMB MemoryMB              `json:"memoryMB"`
	Metadata *SandboxMetadata      `json:"metadata,omitempty"`
	Network  *SandboxNetworkConfig `json:"network,omitempty"`

	// PauseMode What the sandbox's latest pause saved. `full` saved the filesystem and the memory, and resuming restores the sandbox where it left off. `filesystem` saved only the filesystem, and resuming reboots the sandbox from disk. Returned for a paused sandbox once its pause has finished, and omitted while it is still pausing.
	PauseMode *SandboxPauseMode `json:"pauseMode,omitempty"`

	// SandboxID Identifier of the sandbox
	SandboxID string `json:"sandboxID"`

	// StartedAt Time when the sandbox was started
	StartedAt time.Time `json:"startedAt"`

	// State State of the sandbox
	State SandboxState `json:"state"`

	// TemplateID Identifier of the template from which is the sandbox created
	TemplateID   string                `json:"templateID"`
	VolumeMounts *[]SandboxVolumeMount `json:"volumeMounts,omitempty"`
}

SandboxDetail defines model for SandboxDetail.

type SandboxEgressProxyConfig

type SandboxEgressProxyConfig struct {
	// Address SOCKS5 proxy address in host:port format (e.g. "proxy.example.com:1080").
	Address string `json:"address"`

	// Password Optional SOCKS5 password (RFC 1929), max 255 bytes.
	Password *string `json:"password,omitempty"`

	// Tls TLS for the connection to the SOCKS5 proxy. The SOCKS5 negotiation and the tunneled traffic both run inside the TLS session, so the proxy credentials are not sent in the clear. This secures only the hop to the proxy; what the proxy does onward is its own concern. A half-close from the sandbox reaches the proxy as a TLS close_notify, not a TCP FIN, and a proxy that treats close_notify as a full close cuts the reply short.
	Tls *SandboxEgressProxyTLSConfig `json:"tls,omitempty"`

	// Username Optional SOCKS5 username (RFC 1929), max 255 bytes.
	Username *string `json:"username,omitempty"`
}

SandboxEgressProxyConfig SOCKS5 proxy for sandbox egress. Outbound TCP is tunneled through the proxy after allow/deny filtering; the sandbox is unaware. Domain-matched flows use remote DNS (ATYP=domain).

type SandboxEgressProxyTLSConfig

type SandboxEgressProxyTLSConfig struct {
	// CaCert One or more PEM-encoded certificates to verify the proxy against, for a proxy fronted by a private CA. These replace the system trust store, which is what is used when this is omitted. The system trust store depends on the host the orchestrator runs on, so set this to get the same verification everywhere.
	CaCert *string `json:"caCert,omitempty"`

	// Enabled Connect to the proxy over TLS. When false, no other field in this object may be set.
	Enabled bool `json:"enabled"`

	// ServerName Name to verify the proxy certificate against, and to send as SNI. Defaults to the host part of address. Set this only when the certificate does not match the address the proxy is reached at.
	ServerName *string `json:"serverName,omitempty"`
}

SandboxEgressProxyTLSConfig TLS for the connection to the SOCKS5 proxy. The SOCKS5 negotiation and the tunneled traffic both run inside the TLS session, so the proxy credentials are not sent in the clear. This secures only the hop to the proxy; what the proxy does onward is its own concern. A half-close from the sandbox reaches the proxy as a TLS close_notify, not a TCP FIN, and a proxy that treats close_notify as a full close cuts the reply short.

type SandboxEvent

type SandboxEvent struct {
	// EventCategory Category of the event (e.g., 'lifecycle', 'process', etc.)
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	EventCategory *string `json:"eventCategory,omitempty"`

	// EventData Optional JSON data associated with the event
	EventData *map[string]interface{} `json:"eventData,omitempty"`

	// EventLabel Label for the specific event type (e.g., 'sandbox_started', 'process_oom', etc.)
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	EventLabel *string `json:"eventLabel,omitempty"`

	// Id Event unique identifier
	Id openapi_types.UUID `json:"id"`

	// SandboxBuildId Unique identifier for the sandbox build
	SandboxBuildId string `json:"sandboxBuildId"`

	// SandboxExecutionId Unique identifier for the sandbox execution
	SandboxExecutionId string `json:"sandboxExecutionId"`

	// SandboxId Unique identifier for the sandbox
	SandboxId string `json:"sandboxId"`

	// SandboxTeamId Team identifier associated with the sandbox
	SandboxTeamId openapi_types.UUID `json:"sandboxTeamId"`

	// SandboxTemplateId Unique identifier for the sandbox template
	SandboxTemplateId string `json:"sandboxTemplateId"`

	// Timestamp Timestamp of the event
	Timestamp time.Time `json:"timestamp"`

	// Type Event name
	Type string `json:"type"`

	// Version Event structure version
	Version string `json:"version"`
}

SandboxEvent Sandbox event

type SandboxForkRequest

type SandboxForkRequest struct {
	// Count Number of forked sandboxes to create. All forks boot from the same snapshot, so the snapshot is captured once regardless of count. Each fork succeeds or fails independently; the outcome of each is reported in its entry of the response list.
	Count *int32 `json:"count,omitempty"`

	// Timeout Time to live for the new forked sandboxes in seconds.
	Timeout *int32 `json:"timeout,omitempty"`
}

SandboxForkRequest defines model for SandboxForkRequest.

type SandboxForkResult

type SandboxForkResult struct {
	Error   *Error   `json:"error,omitempty"`
	Sandbox *Sandbox `json:"sandbox,omitempty"`
}

SandboxForkResult Result of one requested fork. Exactly one of sandbox or error is set: sandbox when the fork started successfully, error when it failed to start.

type SandboxID

type SandboxID = string

SandboxID defines model for sandboxID.

type SandboxIam

type SandboxIam struct {
	// Tokens Named workload-token definitions, keyed by a caller-chosen token name.
	Tokens *SandboxIamTokens `json:"tokens,omitempty"`
}

SandboxIam Sandbox workload identity configuration. A non-empty, valid tokens map enables workload identity for the sandbox.

type SandboxIamToken

type SandboxIamToken struct {
	// Audience Audience of the workload token, stored exactly as provided.
	Audience string `json:"audience"`

	// TokenType Workload token type.
	TokenType string `json:"tokenType"`
}

SandboxIamToken defines model for SandboxIamToken.

type SandboxIamTokens

type SandboxIamTokens map[string]SandboxIamToken

SandboxIamTokens Named workload-token definitions, keyed by a caller-chosen token name.

type SandboxLifecycle

type SandboxLifecycle struct {
	// AutoResume Whether the sandbox can auto-resume.
	AutoResume bool `json:"autoResume"`

	// OnTimeout Action taken when the sandbox times out.
	OnTimeout SandboxOnTimeout `json:"onTimeout"`
}

SandboxLifecycle Sandbox lifecycle policy returned by sandbox info.

type SandboxLog

type SandboxLog struct {
	// Line Log line content
	Line string `json:"line"`

	// Timestamp Timestamp of the log entry
	Timestamp time.Time `json:"timestamp"`
}

SandboxLog Log entry with timestamp and line

type SandboxLogEntry

type SandboxLogEntry struct {
	Fields map[string]string `json:"fields"`

	// Level State of the sandbox
	Level LogLevel `json:"level"`

	// Message Log message content
	Message string `json:"message"`

	// Timestamp Timestamp of the log entry
	Timestamp time.Time `json:"timestamp"`
}

SandboxLogEntry defines model for SandboxLogEntry.

type SandboxLogs

type SandboxLogs struct {
	// LogEntries Structured logs of the sandbox
	LogEntries []SandboxLogEntry `json:"logEntries"`

	// Logs Logs of the sandbox
	Logs []SandboxLog `json:"logs"`
}

SandboxLogs defines model for SandboxLogs.

type SandboxLogsV2Response

type SandboxLogsV2Response struct {
	// Logs Sandbox logs structured
	Logs []SandboxLogEntry `json:"logs"`
}

SandboxLogsV2Response defines model for SandboxLogsV2Response.

type SandboxMetadata

type SandboxMetadata map[string]string

SandboxMetadata defines model for SandboxMetadata.

type SandboxMetric

type SandboxMetric struct {
	// CpuCount Number of CPU cores
	CpuCount int32 `json:"cpuCount"`

	// CpuUsedPct CPU usage percentage
	CpuUsedPct float32 `json:"cpuUsedPct"`

	// DiskTotal Total disk space in bytes
	DiskTotal int64 `json:"diskTotal"`

	// DiskUsed Disk used in bytes
	DiskUsed int64 `json:"diskUsed"`

	// MemCache Cached memory (page cache) in bytes
	MemCache int64 `json:"memCache"`

	// MemTotal Total memory in bytes
	MemTotal int64 `json:"memTotal"`

	// MemUsed Memory used in bytes
	MemUsed int64 `json:"memUsed"`

	// Timestamp Timestamp of the metric entry
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Timestamp time.Time `json:"timestamp"`

	// TimestampUnix Timestamp of the metric entry in Unix time (seconds since epoch)
	TimestampUnix int64 `json:"timestampUnix"`
}

SandboxMetric Metric entry with timestamp and line

type SandboxNetworkConfig

type SandboxNetworkConfig struct {
	// AllowOut List of allowed destinations for egress traffic. Each entry can be a CIDR block (e.g. "8.8.8.8/32"), a bare IP address (e.g. "8.8.8.8"), or a domain name (e.g. "example.com", "*.example.com"). Allowed entries always take precedence over denied entries. When allowOut contains a domain, the servers in dnsServers (8.8.8.8 by default) are also allowed.
	AllowOut *[]string `json:"allowOut,omitempty"`

	// AllowPublicTraffic Whether sandbox URLs accept traffic without the sandbox's traffic access token. When omitted or null on create, the project's default applies, which is true unless the project changed it.
	AllowPublicTraffic *bool `json:"allowPublicTraffic,omitempty"`

	// DenyOut List of denied CIDR blocks or IP addresses for egress traffic. Domain names are not supported for deny rules.
	DenyOut *[]string `json:"denyOut,omitempty"`

	// DnsServers DNS servers the sandbox can reach when allowOut contains a domain. Each entry must be an IPv4 address, and all traffic to it is allowed. Omit it to allow the default nameserver 8.8.8.8, or pass an empty list to allow none. This does not change the sandbox's /etc/resolv.conf.
	DnsServers *[]string `json:"dnsServers,omitempty"`

	// EgressProxy SOCKS5 proxy for sandbox egress. Outbound TCP is tunneled through the proxy after allow/deny filtering; the sandbox is unaware. Domain-matched flows use remote DNS (ATYP=domain).
	EgressProxy *SandboxEgressProxyConfig `json:"egressProxy,omitempty"`

	// HttpsPorts Sandbox ports that serve HTTPS rather than plaintext HTTP. Affects how the proxy reaches the service inside the sandbox; the public URL is HTTPS either way. Certificates are not verified, so self-signed ones work. The envd port (49983) cannot be listed.
	HttpsPorts *[]uint32 `json:"httpsPorts,omitempty"`

	// MaskRequestHost Specify host mask which will be used for all sandbox requests
	MaskRequestHost *string `json:"maskRequestHost,omitempty"`

	// Rules Per-domain transform rules applied to matching outbound HTTPS requests. Keys may be exact DNS names (for example, "api.example.com") or a leading wildcard (for example, "*.example.com"), and are normalized to lowercase on write. Wildcards match subdomains at any depth but not the apex domain; a bare "*" is invalid. Exact rules take precedence, followed by the longest matching wildcard suffix, and matching rule sets are not merged. Broad wildcards such as "*.com" are allowed and may expose transformed credentials to every matching destination the sandbox contacts. Rules do not grant network access; configure allowOut separately to permit the destination.
	Rules *map[string][]SandboxNetworkRule `json:"rules,omitempty"`
}

SandboxNetworkConfig defines model for SandboxNetworkConfig.

type SandboxNetworkRule

type SandboxNetworkRule struct {
	// Transform Transformations applied to matching egress requests before forwarding.
	Transform *SandboxNetworkTransform `json:"transform,omitempty"`
}

SandboxNetworkRule Transform rule applied to egress requests matching a domain pattern.

type SandboxNetworkTransform

type SandboxNetworkTransform struct {
	// Headers HTTP headers to inject or override in matching requests. An existing header with the same name is replaced. Values are plain strings; secret resolution happens client-side before sending to the API.
	Headers *map[string]string `json:"headers,omitempty"`
}

SandboxNetworkTransform Transformations applied to matching egress requests before forwarding.

type SandboxNetworkUpdateConfig

type SandboxNetworkUpdateConfig struct {
	// AllowOut List of allowed destinations for egress traffic. Each entry can be a CIDR block (e.g. "8.8.8.8/32"), a bare IP address (e.g. "8.8.8.8"), or a domain name (e.g. "example.com", "*.example.com"). Allowed entries always take precedence over denied entries. When allowOut contains a domain, the servers in dnsServers (8.8.8.8 by default) are also allowed.
	AllowOut *[]string `json:"allowOut,omitempty"`

	// AllowInternetAccess Allow sandbox to access the internet. When set to false, it behaves the same as specifying denyOut to 0.0.0.0/0 in the network config.
	AllowInternetAccess *bool `json:"allow_internet_access,omitempty"`

	// DenyOut List of denied CIDR blocks or IP addresses for egress traffic. Domain names are not supported for deny rules.
	DenyOut *[]string `json:"denyOut,omitempty"`

	// DnsServers DNS servers the sandbox can reach when allowOut contains a domain. Each entry must be an IPv4 address, and all traffic to it is allowed. Omit it to reset to the default nameserver 8.8.8.8, or pass an empty list to allow none. This does not change the sandbox's /etc/resolv.conf.
	DnsServers *[]string `json:"dnsServers,omitempty"`

	// EgressProxy SOCKS5 proxy for sandbox egress. Outbound TCP is tunneled through the proxy after allow/deny filtering; the sandbox is unaware. Domain-matched flows use remote DNS (ATYP=domain).
	EgressProxy *SandboxEgressProxyConfig `json:"egressProxy,omitempty"`

	// Rules Per-domain transform rules applied to matching outbound HTTPS requests. Replaces all existing rules when provided. Keys may be exact DNS names or a single leading wildcard (for example, "*.example.com"), and are normalized to lowercase on write. Wildcards match subdomains at any depth but not the apex domain; a bare "*" is invalid. Exact rules take precedence, followed by the longest matching wildcard suffix, and matching rule sets are not merged. Broad wildcards such as "*.com" are allowed and may expose transformed credentials to every matching destination the sandbox contacts. Rules do not grant network access; configure allowOut separately to permit the destination.
	Rules *map[string][]SandboxNetworkRule `json:"rules,omitempty"`
}

SandboxNetworkUpdateConfig Network configuration update for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting a field clears it.

type SandboxOnTimeout

type SandboxOnTimeout string

SandboxOnTimeout Action taken when the sandbox times out.

const (
	Kill  SandboxOnTimeout = "kill"
	Pause SandboxOnTimeout = "pause"
)

Defines values for SandboxOnTimeout.

func (SandboxOnTimeout) Valid

func (e SandboxOnTimeout) Valid() bool

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

type SandboxPauseMode

type SandboxPauseMode string

SandboxPauseMode What the sandbox's latest pause saved. `full` saved the filesystem and the memory, and resuming restores the sandbox where it left off. `filesystem` saved only the filesystem, and resuming reboots the sandbox from disk. Returned for a paused sandbox once its pause has finished, and omitted while it is still pausing.

const (
	Filesystem SandboxPauseMode = "filesystem"
	Full       SandboxPauseMode = "full"
)

Defines values for SandboxPauseMode.

func (SandboxPauseMode) Valid

func (e SandboxPauseMode) Valid() bool

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

type SandboxPauseRequest

type SandboxPauseRequest struct {
	// Memory Whether to capture a full memory snapshot. When false, only the filesystem is persisted and resuming the sandbox cold-boots (reboots) it from disk, losing in-memory state, running processes, and open connections. Resume it with an explicit request (connect or resume); auto-resume, which can be triggered by arbitrary traffic, refuses such a sandbox. Defaults to true.
	Memory *bool `json:"memory,omitempty"`

	// RequireHealthyGuest The pause checks that the sandbox guest agent answers before it takes the snapshot. By default an unresponsive agent is recorded on the snapshot and the pause proceeds; the sandbox then shows `envdUnresponsiveAtPause` and a later resume must ask for `memory: false`, since restoring that memory would bring the unresponsive agent back. With this true, the pause is instead refused with 503 while the agent does not answer, and the sandbox keeps running. A filesystem-only pause (`memory: false`) is always refused while the agent does not answer, whatever this says.
	RequireHealthyGuest *bool `json:"requireHealthyGuest,omitempty"`
}

SandboxPauseRequest defines model for SandboxPauseRequest.

type SandboxRecord

type SandboxRecord struct {
	// Alias Alias of the template
	Alias *string `json:"alias,omitempty"`

	// CpuCount CPU cores for the sandbox
	CpuCount CPUCount `json:"cpuCount"`

	// DiskSizeMB Disk size for the sandbox in MiB
	DiskSizeMB DiskSizeMB `json:"diskSizeMB"`

	// Domain Base domain where the sandbox traffic is accessible
	Domain *string `json:"domain,omitempty"`

	// EventsRetentionExpired Whether the sandbox ended more than the team's events retention window ago, so its events data is no longer available
	EventsRetentionExpired bool `json:"eventsRetentionExpired"`

	// MemoryMB Memory for the sandbox in MiB
	MemoryMB MemoryMB `json:"memoryMB"`

	// RetentionExpired Whether the sandbox ended more than the fixed retention window ago, so its monitoring and logs data is no longer available
	RetentionExpired bool `json:"retentionExpired"`

	// SandboxID Identifier of the sandbox
	SandboxID string `json:"sandboxID"`

	// StartedAt Time when the sandbox was started
	StartedAt time.Time `json:"startedAt"`

	// StoppedAt Time when the sandbox was stopped
	StoppedAt *time.Time `json:"stoppedAt,omitempty"`

	// TemplateID Identifier of the template from which is the sandbox created
	TemplateID string `json:"templateID"`
}

SandboxRecord defines model for SandboxRecord.

type SandboxRefreshRequest

type SandboxRefreshRequest struct {
	// Duration Duration for which the sandbox should be kept alive in seconds
	Duration *int `json:"duration,omitempty"`
}

SandboxRefreshRequest defines model for SandboxRefreshRequest.

type SandboxSettings

type SandboxSettings struct {
	// DefaultAllowPublicTraffic Whether new sandboxes without an explicit network.allowPublicTraffic accept traffic without a traffic access token. Omission uses the public default. Existing sandboxes, resumes and forks keep their settings.
	DefaultAllowPublicTraffic *bool `json:"defaultAllowPublicTraffic,omitempty"`
}

SandboxSettings defines model for SandboxSettings.

type SandboxSnapshotRequest

type SandboxSnapshotRequest struct {
	// Memory Whether to capture a full memory snapshot. When false, only the filesystem is persisted: the snapshot is smaller and faster to take, and sandboxes created from it cold-boot (start fresh from disk) instead of restoring memory, so they begin without the source sandbox's running processes, in-memory state, and open connections. The source sandbox keeps running in both cases. Defaults to true.
	Memory *bool `json:"memory,omitempty"`

	// Name Optional name for the snapshot template. If a snapshot template with this name already exists, a new build will be assigned to the existing template instead of creating a new one.
	Name *string `json:"name,omitempty"`
}

SandboxSnapshotRequest defines model for SandboxSnapshotRequest.

type SandboxState

type SandboxState string

SandboxState State of the sandbox

const (
	Paused  SandboxState = "paused"
	Running SandboxState = "running"
)

Defines values for SandboxState.

func (SandboxState) Valid

func (e SandboxState) Valid() bool

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

type SandboxTimeoutRequest

type SandboxTimeoutRequest struct {
	// Timeout Timeout in seconds from the current time after which the sandbox should expire
	Timeout int32 `json:"timeout"`
}

SandboxTimeoutRequest defines model for SandboxTimeoutRequest.

type SandboxVolumeMount

type SandboxVolumeMount struct {
	// Name Name of the volume
	Name string `json:"name"`

	// Path Path of the volume
	Path string `json:"path"`
}

SandboxVolumeMount defines model for SandboxVolumeMount.

type SandboxesWithMetrics

type SandboxesWithMetrics struct {
	Sandboxes map[string]SandboxMetric `json:"sandboxes"`
}

SandboxesWithMetrics defines model for SandboxesWithMetrics.

type Secret

type Secret struct {
	// CreatedAt Time when the secret was created
	CreatedAt time.Time `json:"createdAt"`

	// CurrentVersion Version served to readers that do not name one
	CurrentVersion int64 `json:"currentVersion"`

	// Metadata Customer metadata of the secret. Always present, empty when unset. At most 32 entries; keys are limited to 128 bytes, values to 1024 bytes, and a secret's metadata to 8192 bytes in total.
	Metadata SecretMetadata `json:"metadata"`

	// Name Name of the secret, unique within the project
	Name string `json:"name"`

	// SecretID Identifier of the secret
	SecretID string `json:"secretID"`

	// UpdatedAt Time when the secret was last updated
	UpdatedAt time.Time `json:"updatedAt"`
}

Secret Metadata of a secret. It never carries the secret value.

type SecretID

type SecretID = string

SecretID Identifier of the secret (sec_ prefixed), or its canonical lower-case name

type SecretMetadata

type SecretMetadata map[string]string

SecretMetadata Customer metadata of the secret. Always present, empty when unset. At most 32 entries; keys are limited to 128 bytes, values to 1024 bytes, and a secret's metadata to 8192 bytes in total.

type SecretUpdate

type SecretUpdate struct {
	// Metadata Customer metadata of the secret. Always present, empty when unset. At most 32 entries; keys are limited to 128 bytes, values to 1024 bytes, and a secret's metadata to 8192 bytes in total.
	Metadata *SecretMetadata `json:"metadata,omitempty"`

	// Value Runtime marker stored as the secret's new version. The runtime resolves it to a value at sandbox egress.
	Value string `json:"value"`
}

SecretUpdate defines model for SecretUpdate.

type SnapshotInfo

type SnapshotInfo struct {
	// Names Full names of the snapshot template including team namespace and tag (e.g. team-slug/my-snapshot:v2)
	Names []string `json:"names"`

	// SnapshotID Identifier of the snapshot template including the tag. Uses namespace/alias when a name was provided (e.g. team-slug/my-snapshot:default), otherwise falls back to the raw template ID (e.g. abc123:default).
	SnapshotID string `json:"snapshotID"`
}

SnapshotInfo defines model for SnapshotInfo.

type Tag

type Tag = string

Tag Tag name

type TagAssignmentLimit

type TagAssignmentLimit = int32

TagAssignmentLimit defines model for tagAssignmentLimit.

type TagAssignmentsCursor

type TagAssignmentsCursor = string

TagAssignmentsCursor defines model for tagAssignmentsCursor.

type TagAssignmentsLimit

type TagAssignmentsLimit = int32

TagAssignmentsLimit defines model for tagAssignmentsLimit.

type TagGroupsCursor

type TagGroupsCursor = string

TagGroupsCursor defines model for tagGroupsCursor.

type TagGroupsLimit

type TagGroupsLimit = int32

TagGroupsLimit defines model for tagGroupsLimit.

type TagGroupsSearch

type TagGroupsSearch = string

TagGroupsSearch defines model for tagGroupsSearch.

type TagGroupsSort

type TagGroupsSort string

TagGroupsSort defines model for tagGroupsSort.

const (
	TagGroupsSortLatestAsc  TagGroupsSort = "latest_asc"
	TagGroupsSortLatestDesc TagGroupsSort = "latest_desc"
	TagGroupsSortNameAsc    TagGroupsSort = "name_asc"
	TagGroupsSortNameDesc   TagGroupsSort = "name_desc"
)

Defines values for TagGroupsSort.

func (TagGroupsSort) Valid

func (e TagGroupsSort) Valid() bool

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

type TagQuery

type TagQuery = string

TagQuery defines model for tagQuery.

type TeamAPIKey

type TeamAPIKey struct {
	// CreatedAt Timestamp of API key creation
	CreatedAt time.Time `json:"createdAt"`
	CreatedBy *TeamUser `json:"createdBy,omitempty"`

	// Id Identifier of the API key
	Id openapi_types.UUID `json:"id"`

	// LastUsed Last time this API key was used
	LastUsed *time.Time               `json:"lastUsed,omitempty"`
	Mask     IdentifierMaskingDetails `json:"mask"`

	// Name Name of the API key
	Name string `json:"name"`
}

TeamAPIKey defines model for TeamAPIKey.

type TeamID

type TeamID = string

TeamID defines model for teamID.

type TeamLimits

type TeamLimits struct {
	// ApiTeamRpsDelete Requests per second the team may make to delete endpoints
	ApiTeamRpsDelete int64 `json:"apiTeamRpsDelete"`

	// ApiTeamRpsList Requests per second the team may make to list endpoints
	ApiTeamRpsList int64 `json:"apiTeamRpsList"`

	// ConcurrentSandboxes Maximum number of sandboxes running at once
	ConcurrentSandboxes int64 `json:"concurrentSandboxes"`

	// ConcurrentTemplateBuilds Maximum number of template builds running at once
	ConcurrentTemplateBuilds int64 `json:"concurrentTemplateBuilds"`

	// DefaultFreeDiskSizeMb Free disk space a template build gets when it requests none, in MiB
	DefaultFreeDiskSizeMb int64 `json:"defaultFreeDiskSizeMb"`

	// DiskMb Disk size per sandbox, in MiB
	DiskMb int64 `json:"diskMb"`

	// EventsTtlDays Number of days sandbox events are kept
	EventsTtlDays int64 `json:"eventsTtlDays"`

	// MaxFreeDiskSizeMb Maximum free disk space a template build may request, in MiB
	MaxFreeDiskSizeMb int64 `json:"maxFreeDiskSizeMb"`

	// MaxLengthHours Maximum sandbox lifetime, in hours
	MaxLengthHours int64 `json:"maxLengthHours"`

	// MaxRamMb Maximum memory per sandbox, in MiB
	MaxRamMb int64 `json:"maxRamMb"`

	// MaxSecrets Maximum number of secrets the team may store
	MaxSecrets int64 `json:"maxSecrets"`

	// MaxVcpu Maximum vCPUs per sandbox
	MaxVcpu int64 `json:"maxVcpu"`
}

TeamLimits The team's effective resource limits

type TeamLimitsResponse

type TeamLimitsResponse struct {
	// Limits The team's effective resource limits
	Limits TeamLimits `json:"limits"`
}

TeamLimitsResponse defines model for TeamLimitsResponse.

type TeamMetric

type TeamMetric struct {
	// ConcurrentSandboxes The number of concurrent sandboxes for the team
	ConcurrentSandboxes int32 `json:"concurrentSandboxes"`

	// SandboxStartRate Number of sandboxes started per second
	SandboxStartRate float32 `json:"sandboxStartRate"`

	// Timestamp Timestamp of the metric entry
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Timestamp time.Time `json:"timestamp"`

	// TimestampUnix Timestamp of the metric entry in Unix time (seconds since epoch)
	TimestampUnix int64 `json:"timestampUnix"`
}

TeamMetric Team metric with timestamp

type TeamStatusResponse

type TeamStatusResponse struct {
	// BlockedReason Why the team is blocked, if a reason was recorded
	BlockedReason *string `json:"blockedReason"`

	// IsBanned Whether the team is banned
	IsBanned bool `json:"isBanned"`

	// IsBlocked Whether the team is blocked
	IsBlocked bool `json:"isBlocked"`
}

TeamStatusResponse defines model for TeamStatusResponse.

type TeamUser

type TeamUser struct {
	// Email Email of the user
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Email *string `json:"email"`

	// Id Identifier of the user
	Id openapi_types.UUID `json:"id"`
}

TeamUser defines model for TeamUser.

type TelemetryClusterName

type TelemetryClusterName struct {
	ClientId *string            `json:"clientId,omitempty"`
	Id       openapi_types.UUID `json:"id"`
	Name     string             `json:"name"`
}

TelemetryClusterName defines model for TelemetryClusterName.

type TelemetryNames

type TelemetryNames struct {
	Clusters []TelemetryClusterName       `json:"clusters"`
	Teams    map[string]TelemetryTeamName `json:"teams"`
}

TelemetryNames defines model for TelemetryNames.

type TelemetryTeamName

type TelemetryTeamName struct {
	ClusterId *openapi_types.UUID `json:"clusterId,omitempty"`
	Name      string              `json:"name"`
}

TelemetryTeamName defines model for TelemetryTeamName.

type Template

type Template struct {
	// Aliases Aliases of the template
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Aliases []string `json:"aliases"`

	// BuildCount Number of times the template was built
	BuildCount int32 `json:"buildCount"`

	// BuildID Identifier of the last successful build for given template
	BuildID string `json:"buildID"`

	// BuildStatus Status of the template build
	BuildStatus TemplateBuildStatus `json:"buildStatus"`

	// CpuCount CPU cores for the sandbox
	CpuCount CPUCount `json:"cpuCount"`

	// CreatedAt Time when the template was created
	CreatedAt time.Time `json:"createdAt"`
	CreatedBy *TeamUser `json:"createdBy"`

	// Description Description of the template
	Description *string `json:"description,omitempty"`

	// DiskSizeMB Disk size for the sandbox in MiB
	DiskSizeMB DiskSizeMB `json:"diskSizeMB"`

	// EnvdVersion Version of the envd running in the sandbox
	EnvdVersion EnvdVersion `json:"envdVersion"`

	// IsDefault Whether the template is one of the platform's default templates. A default template owned by another team carries zero or null usage fields (`spawnCount`, `buildCount`, `lastSpawnedAt`, `createdBy`).
	IsDefault *bool `json:"isDefault,omitempty"`

	// LastSpawnedAt Time when the template was last used
	LastSpawnedAt *time.Time `json:"lastSpawnedAt"`

	// MaxCpuCount Maximum CPU count for resizable templates; absent for fixed-size templates.
	MaxCpuCount *CPUCount `json:"maxCpuCount,omitempty"`

	// MaxMemoryMB Memory the template's sandboxes can grow to, in MiB; absent for templates whose memory cannot grow.
	MaxMemoryMB *MemoryMB `json:"maxMemoryMB,omitempty"`

	// MemoryMB Memory in MiB a sandbox created from this template starts with: the build's memory, or for a snapshot template of a grown sandbox the size it was taken at. A create that names no memoryMB starts at this size.
	MemoryMB MemoryMB `json:"memoryMB"`

	// Names Names of the template (namespace/alias format when namespaced)
	Names []string `json:"names"`

	// Public Whether the template is public or only accessible by the team
	Public bool `json:"public"`

	// SpawnCount Number of times the template was used
	SpawnCount int64 `json:"spawnCount"`

	// TemplateID Identifier of the template
	TemplateID string `json:"templateID"`

	// UpdatedAt Time when the template was last updated
	UpdatedAt time.Time `json:"updatedAt"`
}

Template defines model for Template.

type TemplateAliasResponse

type TemplateAliasResponse struct {
	// Public Whether the template is public or only accessible by the team
	Public bool `json:"public"`

	// TemplateID Identifier of the template
	TemplateID string `json:"templateID"`
}

TemplateAliasResponse defines model for TemplateAliasResponse.

type TemplateBuild

type TemplateBuild struct {
	// BuildID Identifier of the build
	BuildID openapi_types.UUID `json:"buildID"`

	// CpuCount CPU cores for the sandbox
	CpuCount CPUCount `json:"cpuCount"`

	// CreatedAt Time when the build was created
	CreatedAt time.Time `json:"createdAt"`

	// DiskSizeMB Disk size for the sandbox in MiB
	DiskSizeMB *DiskSizeMB `json:"diskSizeMB,omitempty"`

	// EnvdVersion Version of the envd running in the sandbox
	EnvdVersion *EnvdVersion `json:"envdVersion,omitempty"`

	// FinishedAt Time when the build was finished
	FinishedAt *time.Time `json:"finishedAt,omitempty"`

	// MaxCpuCount Maximum CPU count for resizable templates; absent for fixed-size templates.
	MaxCpuCount *CPUCount `json:"maxCpuCount,omitempty"`

	// MaxMemoryMB Memory the template's sandboxes can grow to, in MiB; absent for templates whose memory cannot grow.
	MaxMemoryMB *MemoryMB `json:"maxMemoryMB,omitempty"`

	// MemoryMB Memory in MiB a sandbox created from this build starts with: the build's memory, or for a snapshot of a grown sandbox the size it was taken at. A create that names no memoryMB starts at this size.
	MemoryMB MemoryMB `json:"memoryMB"`

	// Status Status of the template build
	Status TemplateBuildStatus `json:"status"`

	// UpdatedAt Time when the build was last updated
	UpdatedAt time.Time `json:"updatedAt"`
}

TemplateBuild defines model for TemplateBuild.

type TemplateBuildFileUpload

type TemplateBuildFileUpload struct {
	// Headers Request headers that must be sent with the upload request
	Headers *map[string]string `json:"headers,omitempty"`

	// Present Whether the file is already present in the cache
	Present bool `json:"present"`

	// Url Url where the file should be uploaded to
	Url *string `json:"url,omitempty"`
}

TemplateBuildFileUpload defines model for TemplateBuildFileUpload.

type TemplateBuildInfo

type TemplateBuildInfo struct {
	// BuildID Identifier of the build
	BuildID string `json:"buildID"`

	// LogEntries Build logs structured
	LogEntries []BuildLogEntry `json:"logEntries"`

	// Logs Build logs (always empty since the V1 build path was removed, use logEntries)
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Logs   []string           `json:"logs"`
	Reason *BuildStatusReason `json:"reason,omitempty"`

	// Status Status of the template build
	Status TemplateBuildStatus `json:"status"`

	// TemplateID Identifier of the template
	TemplateID string `json:"templateID"`
}

TemplateBuildInfo defines model for TemplateBuildInfo.

type TemplateBuildLogsResponse

type TemplateBuildLogsResponse struct {
	// Logs Build logs structured
	Logs []BuildLogEntry `json:"logs"`
}

TemplateBuildLogsResponse defines model for TemplateBuildLogsResponse.

type TemplateBuildRequestV3

type TemplateBuildRequestV3 struct {
	// Alias Alias of the template. Deprecated, use name instead.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Alias *string `json:"alias,omitempty"`

	// CpuCount CPU cores for the sandbox
	CpuCount *CPUCount `json:"cpuCount,omitempty"`

	// MaxCpuCount Maximum CPU count the template's sandboxes can be resized to; makes the template resizable. Must be at least cpuCount.
	MaxCpuCount *CPUCount `json:"maxCpuCount,omitempty"`

	// MaxMemoryMB Memory the template's sandboxes can grow to, in MiB. memoryMB is what they boot with; the rest is added when a sandbox asks for it. Must be at least memoryMB, and the difference a multiple of 128 MiB.
	MaxMemoryMB *MemoryMB `json:"maxMemoryMB,omitempty"`

	// MemoryMB Memory for the sandbox in MiB
	MemoryMB *MemoryMB `json:"memoryMB,omitempty"`

	// MinFreeDiskMb Requested minimum free space after the template's build steps, in MiB. Omit to use the team's default. Set to 0 to request no minimum free-disk growth. The filesystem is never shrunk, including inherited or already-larger filesystems. Growth is best effort, so filesystem metadata can leave the available space slightly below the requested minimum.
	MinFreeDiskMb *MinFreeDiskMb `json:"minFreeDiskMb,omitempty"`

	// Name Name of the template. Can include a tag with colon separator (e.g. "my-template" or "my-template:v1"). If tag is included, it will be treated as if the tag was provided in the tags array.
	Name *string `json:"name,omitempty"`

	// Tags Tags to assign to the template build
	Tags *[]string `json:"tags,omitempty"`

	// TeamID Identifier of the team, as its UUID or its public project ID (prj_)
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	TeamID *string `json:"teamID,omitempty"`
}

TemplateBuildRequestV3 defines model for TemplateBuildRequestV3.

type TemplateBuildStartV2

type TemplateBuildStartV2 struct {
	// Force Whether the whole build should be forced to run regardless of the cache
	Force *bool `json:"force,omitempty"`

	// FromImage Image to use as a base for the template build
	FromImage         *string            `json:"fromImage,omitempty"`
	FromImageRegistry *FromImageRegistry `json:"fromImageRegistry,omitempty"`

	// FromTemplate Template to use as a base for the template build
	FromTemplate *string `json:"fromTemplate,omitempty"`

	// ReadyCmd Ready check command to execute in the template after the build
	ReadyCmd *string `json:"readyCmd,omitempty"`

	// StartCmd Start command to execute in the template after the build
	StartCmd *string `json:"startCmd,omitempty"`

	// Steps List of steps to execute in the template build
	Steps *[]TemplateStep `json:"steps,omitempty"`
}

TemplateBuildStartV2 Exactly one of fromImage or fromTemplate must be given and non-empty.

type TemplateBuildStatus

type TemplateBuildStatus string

TemplateBuildStatus Status of the template build

const (
	TemplateBuildStatusBuilding TemplateBuildStatus = "building"
	TemplateBuildStatusError    TemplateBuildStatus = "error"
	TemplateBuildStatusReady    TemplateBuildStatus = "ready"
	TemplateBuildStatusWaiting  TemplateBuildStatus = "waiting"
)

Defines values for TemplateBuildStatus.

func (TemplateBuildStatus) Valid

func (e TemplateBuildStatus) Valid() bool

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

type TemplateBuildStatuses

type TemplateBuildStatuses = []TemplateBuildStatus

TemplateBuildStatuses defines model for templateBuildStatuses.

type TemplateBuildTags

type TemplateBuildTags = []string

TemplateBuildTags defines model for templateBuildTags.

type TemplateBuildWithTags

type TemplateBuildWithTags struct {
	// BuildID Identifier of the build
	BuildID openapi_types.UUID `json:"buildID"`

	// CpuCount CPU cores for the sandbox
	CpuCount CPUCount `json:"cpuCount"`

	// CreatedAt Time when the build was created
	CreatedAt time.Time `json:"createdAt"`

	// DiskSizeMB Disk size for the sandbox in MiB
	DiskSizeMB *DiskSizeMB `json:"diskSizeMB,omitempty"`

	// EnvdVersion Version of the envd running in the sandbox
	EnvdVersion *EnvdVersion `json:"envdVersion,omitempty"`

	// FinishedAt Time when the build was finished
	FinishedAt *time.Time `json:"finishedAt,omitempty"`

	// MaxCpuCount Maximum CPU count for resizable templates; absent for fixed-size templates.
	MaxCpuCount *CPUCount `json:"maxCpuCount,omitempty"`

	// MaxMemoryMB Memory the template's sandboxes can grow to, in MiB; absent for templates whose memory cannot grow.
	MaxMemoryMB *MemoryMB `json:"maxMemoryMB,omitempty"`

	// MemoryMB Memory in MiB a sandbox created from this build starts with: the build's memory, or for a snapshot of a grown sandbox the size it was taken at. A create that names no memoryMB starts at this size.
	MemoryMB MemoryMB `json:"memoryMB"`

	// Status Status of the template build
	Status TemplateBuildStatus `json:"status"`

	// Tags Tags of the template that point at this build. A tag points at the latest ready build it was assigned to, the build a sandbox created with that tag starts from.
	Tags []string `json:"tags"`

	// UpdatedAt Time when the build was last updated
	UpdatedAt time.Time `json:"updatedAt"`
}

TemplateBuildWithTags defines model for TemplateBuildWithTags.

type TemplateID

type TemplateID = string

TemplateID defines model for templateID.

type TemplateRequestResponseV3

type TemplateRequestResponseV3 struct {
	// Aliases Aliases of the template
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Aliases []string `json:"aliases"`

	// BuildID Identifier of the last successful build for given template
	BuildID string `json:"buildID"`

	// Names Names of the template
	Names []string `json:"names"`

	// Public Whether the template is public or only accessible by the team
	Public bool `json:"public"`

	// Tags Tags assigned to the template build
	Tags []string `json:"tags"`

	// TemplateID Identifier of the template
	TemplateID string `json:"templateID"`
}

TemplateRequestResponseV3 defines model for TemplateRequestResponseV3.

type TemplateSearchResponse

type TemplateSearchResponse struct {
	Data []Template `json:"data"`

	// NextCursor Cursor of the next page, or null on the last page
	NextCursor *string `json:"nextCursor"`
}

TemplateSearchResponse defines model for TemplateSearchResponse.

type TemplateStep

type TemplateStep struct {
	// Args Arguments for the step
	Args *[]string `json:"args,omitempty"`

	// FilesHash Hash of the files used in the step (lowercase hex SHA-256)
	FilesHash *string `json:"filesHash,omitempty"`

	// Force Whether the step should be forced to run regardless of the cache
	Force *bool `json:"force,omitempty"`

	// Type Type of the step
	Type string `json:"type"`
}

TemplateStep Step in the template build process

type TemplateTag

type TemplateTag struct {
	// BuildID Identifier of the build associated with this tag
	BuildID openapi_types.UUID `json:"buildID"`

	// CreatedAt Time when the tag was assigned
	CreatedAt time.Time `json:"createdAt"`

	// Tag The tag name
	Tag string `json:"tag"`
}

TemplateTag defines model for TemplateTag.

type TemplateTagAssignment

type TemplateTagAssignment struct {
	// AssignedAt Time when the tag was assigned to the build.
	AssignedAt time.Time `json:"assignedAt"`

	// AssignmentId Identifier of the tag assignment event.
	AssignmentId openapi_types.UUID `json:"assignmentId"`

	// BuildCreatedAt Time when the assigned build was created.
	BuildCreatedAt time.Time `json:"buildCreatedAt"`

	// BuildFinishedAt Time when the assigned build finished.
	BuildFinishedAt *time.Time `json:"buildFinishedAt"`

	// BuildId Identifier of the assigned build.
	BuildId openapi_types.UUID `json:"buildId"`
}

TemplateTagAssignment defines model for TemplateTagAssignment.

type TemplateTagAssignmentsResponse

type TemplateTagAssignmentsResponse struct {
	// Data Ready assignment events for the tag, sorted latest first.
	Data []TemplateTagAssignment `json:"data"`

	// NextCursor Cursor to pass to the next list request, or `null` if there is no next page.
	NextCursor *string `json:"nextCursor"`
}

TemplateTagAssignmentsResponse defines model for TemplateTagAssignmentsResponse.

type TemplateTagExistsResponse

type TemplateTagExistsResponse struct {
	// Exists Whether the template tag has at least one ready assignment.
	Exists bool `json:"exists"`

	// NormalizedTag Normalized template tag name.
	NormalizedTag string `json:"normalizedTag"`
}

TemplateTagExistsResponse defines model for TemplateTagExistsResponse.

type TemplateTagGroup

type TemplateTagGroup struct {
	// Assignments Ready assignment events for this tag, sorted latest first.
	Assignments []TemplateTagAssignment `json:"assignments"`

	// HasMore Whether more ready assignment events exist beyond the requested assignment limit.
	HasMore bool `json:"hasMore"`

	// Tag Template tag name.
	Tag string `json:"tag"`
}

TemplateTagGroup defines model for TemplateTagGroup.

type TemplateTagGroupsResponse

type TemplateTagGroupsResponse struct {
	// NextCursor Cursor to pass as `tagsCursor` for the next page, or `null` if there is no next page.
	NextCursor *string            `json:"nextCursor"`
	Tags       []TemplateTagGroup `json:"tags"`
}

TemplateTagGroupsResponse defines model for TemplateTagGroupsResponse.

type TemplateTagsCountResponse

type TemplateTagsCountResponse struct {
	// Total Total distinct ready tags for the template.
	Total int64 `json:"total"`
}

TemplateTagsCountResponse defines model for TemplateTagsCountResponse.

type TemplateUpdateRequest

type TemplateUpdateRequest struct {
	// Public Whether the template is public or only accessible by the team
	Public *bool `json:"public,omitempty"`
}

TemplateUpdateRequest defines model for TemplateUpdateRequest.

type TemplateUpdateResponse

type TemplateUpdateResponse struct {
	// Names Names of the template (namespace/alias format when namespaced)
	Names []string `json:"names"`
}

TemplateUpdateResponse defines model for TemplateUpdateResponse.

type TemplateV2

type TemplateV2 struct {
	// BuildCount Number of times the template was built
	BuildCount int32 `json:"buildCount"`

	// BuildStatus Status of the template build
	BuildStatus TemplateBuildStatus `json:"buildStatus"`

	// CreatedAt Time when the template was created
	CreatedAt    time.Time      `json:"createdAt"`
	CreatedBy    *TeamUser      `json:"createdBy"`
	DefaultBuild *TemplateBuild `json:"defaultBuild,omitempty"`

	// Description Description of the template
	Description *string `json:"description,omitempty"`

	// IsDefault Whether the template is one of the platform's default templates
	IsDefault bool `json:"isDefault"`

	// LastSpawnedAt Time when the template was last used
	LastSpawnedAt *time.Time `json:"lastSpawnedAt"`

	// Names Names of the template (namespace/alias format when namespaced)
	Names []string `json:"names"`

	// Public Whether the template is public or only accessible by the team
	Public bool `json:"public"`

	// SpawnCount Number of times the template was used
	SpawnCount int64 `json:"spawnCount"`

	// TemplateID Identifier of the template
	TemplateID string `json:"templateID"`

	// UpdatedAt Time when the template was last updated
	UpdatedAt time.Time `json:"updatedAt"`
}

TemplateV2 A template with its default build. `defaultBuild` is the build a sandbox created without a tag starts from, the latest ready build tagged default; it is absent until such a build is ready. `buildStatus` is the status of the latest build tagged default in any state: it is `building` while a rebuild runs, although sandboxes still start from the default build.

type TemplateWithBuilds

type TemplateWithBuilds struct {
	// Aliases Aliases of the template
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Aliases []string `json:"aliases"`

	// BuildCount Number of times the template was built
	BuildCount int32 `json:"buildCount"`

	// BuildID Identifier of the last successful build for given template
	BuildID string `json:"buildID"`

	// BuildStatus Status of the template build
	BuildStatus TemplateBuildStatus `json:"buildStatus"`

	// Builds List of builds for the template
	Builds []TemplateBuild `json:"builds"`

	// CpuCount CPU cores for the sandbox
	CpuCount CPUCount `json:"cpuCount"`

	// CreatedAt Time when the template was created
	CreatedAt time.Time `json:"createdAt"`
	CreatedBy *TeamUser `json:"createdBy"`

	// Description Description of the template
	Description *string `json:"description,omitempty"`

	// DiskSizeMB Disk size for the sandbox in MiB
	DiskSizeMB DiskSizeMB `json:"diskSizeMB"`

	// EnvdVersion Version of the envd running in the sandbox
	EnvdVersion EnvdVersion `json:"envdVersion"`

	// IsDefault Whether the template is one of the platform's default templates. A default template owned by another team carries zero or null usage fields (`spawnCount`, `buildCount`, `lastSpawnedAt`, `createdBy`).
	IsDefault *bool `json:"isDefault,omitempty"`

	// LastSpawnedAt Time when the template was last used
	LastSpawnedAt *time.Time `json:"lastSpawnedAt"`

	// MaxCpuCount Maximum CPU count for resizable templates; absent for fixed-size templates.
	MaxCpuCount *CPUCount `json:"maxCpuCount,omitempty"`

	// MaxMemoryMB Memory the template's sandboxes can grow to, in MiB; absent for templates whose memory cannot grow.
	MaxMemoryMB *MemoryMB `json:"maxMemoryMB,omitempty"`

	// MemoryMB Memory in MiB a sandbox created from this template starts with: the build's memory, or for a snapshot template of a grown sandbox the size it was taken at. A create that names no memoryMB starts at this size.
	MemoryMB MemoryMB `json:"memoryMB"`

	// Names Names of the template (namespace/alias format when namespaced)
	Names []string `json:"names"`

	// Public Whether the template is public or only accessible by the team
	Public bool `json:"public"`

	// SpawnCount Number of times the template was used
	SpawnCount int64 `json:"spawnCount"`

	// TemplateID Identifier of the template
	TemplateID string `json:"templateID"`

	// UpdatedAt Time when the template was last updated
	UpdatedAt time.Time `json:"updatedAt"`
}

TemplateWithBuilds defines model for TemplateWithBuilds.

type TemplatesCursor

type TemplatesCursor = string

TemplatesCursor defines model for templatesCursor.

type TemplatesLimit

type TemplatesLimit = int32

TemplatesLimit defines model for templatesLimit.

type TemplatesPublic

type TemplatesPublic = bool

TemplatesPublic defines model for templatesPublic.

type TemplatesSearch

type TemplatesSearch = string

TemplatesSearch defines model for templatesSearch.

type TemplatesSort

type TemplatesSort string

TemplatesSort defines model for templatesSort.

const (
	TemplatesSortCreatedAtAsc  TemplatesSort = "created_at_asc"
	TemplatesSortCreatedAtDesc TemplatesSort = "created_at_desc"
	TemplatesSortUpdatedAtAsc  TemplatesSort = "updated_at_asc"
	TemplatesSortUpdatedAtDesc TemplatesSort = "updated_at_desc"
)

Defines values for TemplatesSort.

func (TemplatesSort) Valid

func (e TemplatesSort) Valid() bool

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

type UpdateTeamAPIKey

type UpdateTeamAPIKey struct {
	// Name New name for the API key
	Name string `json:"name"`
}

UpdateTeamAPIKey defines model for UpdateTeamAPIKey.

type Volume

type Volume struct {
	// Name Name of the volume
	Name string `json:"name"`

	// VolumeID ID of the volume
	VolumeID string `json:"volumeID"`
}

Volume defines model for Volume.

type VolumeAndToken

type VolumeAndToken struct {
	// Domain Domain to use as the destination for volume content requests,
	// replacing the default `api.<E2B_DOMAIN>`. Only returned when the
	// team is connected to a custom (BYOC) cluster; absent otherwise, in
	// which case the default domain is used.
	Domain *string `json:"domain,omitempty"`

	// Name Name of the volume
	Name string `json:"name"`

	// Token Auth token to use for interacting with volume content
	Token string `json:"token"`

	// VolumeID ID of the volume
	VolumeID string `json:"volumeID"`
}

VolumeAndToken defines model for VolumeAndToken.

type VolumeID

type VolumeID = string

VolumeID defines model for volumeID.

type WebhookConfiguration

type WebhookConfiguration struct {
	Enabled *bool     `json:"enabled,omitempty"`
	Events  *[]string `json:"events,omitempty"`

	// Name Webhook user friendly name
	Name *string `json:"name,omitempty"`

	// SignatureSecret Secret used to sign the webhook payloads
	SignatureSecret *string `json:"signatureSecret,omitempty"`
	Url             *string `json:"url,omitempty"`
}

WebhookConfiguration Configuration for updating existing webhooks

type WebhookCreate

type WebhookCreate struct {
	Enabled *bool    `json:"enabled,omitempty"`
	Events  []string `json:"events"`
	Name    string   `json:"name"`

	// SignatureSecret Secret used to sign the webhook payloads
	SignatureSecret string `json:"signatureSecret"`
	Url             string `json:"url"`
}

WebhookCreate Configuration for registering new webhooks

type WebhookCreation

type WebhookCreation struct {
	// CreatedAt Time when the template was created
	CreatedAt time.Time `json:"createdAt"`
	Enabled   bool      `json:"enabled"`
	Events    []string  `json:"events"`

	// Id Webhook unique identifier
	Id string `json:"id"`

	// Name Webhook user friendly name
	Name string `json:"name"`

	// TeamId Unique identifier for the team
	TeamId string `json:"teamId"`
	Url    string `json:"url"`
}

WebhookCreation Webhook creation response

type WebhookDeliveriesListPayload

type WebhookDeliveriesListPayload struct {
	Data []WebhookDeliveryGroup `json:"data"`

	// NextCursor Cursor to pass to the next list request, or null when there is no next page.
	NextCursor *string `json:"nextCursor"`
}

WebhookDeliveriesListPayload Paginated webhook delivery attempts grouped by event

type WebhookDelivery

type WebhookDelivery struct {
	// DurationMs Delivery request duration in milliseconds
	DurationMs int32 `json:"durationMs"`

	// ErrorClass Machine-readable non-HTTP or HTTP failure class
	ErrorClass *WebhookDeliveryErrorClass `json:"errorClass"`

	// ErrorMessage Error message for failures without a useful response body
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// EventId Sandbox event identifier
	EventId openapi_types.UUID `json:"eventId"`

	// EventType Sandbox event type
	EventType string `json:"eventType"`

	// Id Delivery attempt identifier
	Id openapi_types.UUID `json:"id"`

	// RequestBody Serialized webhook request body
	RequestBody string `json:"requestBody"`

	// RequestHeaders JSON-encoded request headers with sensitive values redacted
	RequestHeaders string `json:"requestHeaders"`

	// RequestUrl URL attempted for this delivery
	RequestUrl string `json:"requestUrl"`

	// ResponseBody Truncated response body, if a response was received
	ResponseBody *string `json:"responseBody,omitempty"`

	// ResponseHeaders JSON-encoded response headers, if a response was received
	ResponseHeaders *string `json:"responseHeaders,omitempty"`

	// ResponseHttpStatusCode HTTP response status code, if a response was received
	ResponseHttpStatusCode *int32 `json:"responseHttpStatusCode,omitempty"`

	// SandboxId Sandbox identifier
	SandboxId string `json:"sandboxId"`

	// Status Delivery attempt status
	Status WebhookDeliveryStatus `json:"status"`

	// TeamId Team identifier
	TeamId openapi_types.UUID `json:"teamId"`

	// Timestamp Time when the delivery attempt started
	Timestamp time.Time `json:"timestamp"`

	// WebhookId Webhook configuration identifier
	WebhookId openapi_types.UUID `json:"webhookId"`
}

WebhookDelivery Webhook delivery attempt

type WebhookDeliveryDurationStats

type WebhookDeliveryDurationStats struct {
	Average float64 `json:"average"`
	Maximum float64 `json:"maximum"`
	Minimum float64 `json:"minimum"`
}

WebhookDeliveryDurationStats Webhook delivery duration statistics in milliseconds

type WebhookDeliveryErrorClass

type WebhookDeliveryErrorClass string

WebhookDeliveryErrorClass Machine-readable non-HTTP or HTTP failure class

const (
	Canceled       WebhookDeliveryErrorClass = "canceled"
	DnsError       WebhookDeliveryErrorClass = "dns_error"
	HttpError      WebhookDeliveryErrorClass = "http_error"
	RequestError   WebhookDeliveryErrorClass = "request_error"
	SignatureError WebhookDeliveryErrorClass = "signature_error"
	Timeout        WebhookDeliveryErrorClass = "timeout"
	TransportError WebhookDeliveryErrorClass = "transport_error"
)

Defines values for WebhookDeliveryErrorClass.

func (WebhookDeliveryErrorClass) Valid

func (e WebhookDeliveryErrorClass) Valid() bool

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

type WebhookDeliveryGroup

type WebhookDeliveryGroup struct {
	Attempts  []WebhookDelivery  `json:"attempts"`
	EventId   openapi_types.UUID `json:"eventId"`
	EventType string             `json:"eventType"`
	SandboxId string             `json:"sandboxId"`
}

WebhookDeliveryGroup Webhook delivery attempts grouped by sandbox event

type WebhookDeliveryStats

type WebhookDeliveryStats struct {
	Buckets []WebhookDeliveryStatsBucket `json:"buckets"`

	// DurationMs Webhook delivery duration statistics in milliseconds
	DurationMs WebhookDeliveryDurationStats `json:"durationMs"`
	Failed     int64                        `json:"failed"`
	Total      int64                        `json:"total"`
}

WebhookDeliveryStats Webhook delivery aggregate stats

type WebhookDeliveryStatsBucket

type WebhookDeliveryStatsBucket struct {
	// DurationMs Webhook delivery duration statistics in milliseconds
	DurationMs WebhookDeliveryDurationStats `json:"durationMs"`
	Failed     int64                        `json:"failed"`
	Timestamp  time.Time                    `json:"timestamp"`
	Total      int64                        `json:"total"`
}

WebhookDeliveryStatsBucket Webhook delivery stats for a time bucket

type WebhookDeliveryStatus

type WebhookDeliveryStatus string

WebhookDeliveryStatus Delivery attempt status

const (
	WebhookDeliveryStatusFailed  WebhookDeliveryStatus = "failed"
	WebhookDeliveryStatusSuccess WebhookDeliveryStatus = "success"
)

Defines values for WebhookDeliveryStatus.

func (WebhookDeliveryStatus) Valid

func (e WebhookDeliveryStatus) Valid() bool

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

type WebhookDetail

type WebhookDetail struct {
	// CreatedAt Time when the template was created
	CreatedAt time.Time `json:"createdAt"`
	Enabled   bool      `json:"enabled"`
	Events    []string  `json:"events"`

	// Id Webhook unique identifier
	Id string `json:"id"`

	// Name Webhook user friendly name
	Name string `json:"name"`

	// TeamId Unique identifier for the team
	TeamId string `json:"teamId"`
	Url    string `json:"url"`
}

WebhookDetail Webhook detail response

type WebhookID

type WebhookID = openapi_types.UUID

WebhookID defines model for webhookID.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL