From 38fed3530d8fa091302541b67adad675b183ef9a Mon Sep 17 00:00:00 2001 From: johanneswuerbach Date: Thu, 25 Jan 2024 12:58:58 +0000 Subject: [PATCH 1/2] feat: update client --- client/client.gen.go | 3319 ++++++++++++++++++++++-------------------- docs/openapi.json | 937 ++++++------ 2 files changed, 2167 insertions(+), 2089 deletions(-) diff --git a/client/client.gen.go b/client/client.gen.go index 6fdf06b..95cc332 100644 --- a/client/client.gen.go +++ b/client/client.gen.go @@ -29,6 +29,51 @@ const ( Waiting PipelineApprovalRequestStatus = "waiting" ) +// Defines values for RuntimeInfoContainerStatusStatus. +const ( + RuntimeInfoContainerStatusStatusFailure RuntimeInfoContainerStatusStatus = "Failure" + RuntimeInfoContainerStatusStatusPending RuntimeInfoContainerStatusStatus = "Pending" + RuntimeInfoContainerStatusStatusSuccess RuntimeInfoContainerStatusStatus = "Success" + RuntimeInfoContainerStatusStatusUnknown RuntimeInfoContainerStatusStatus = "Unknown" +) + +// Defines values for RuntimeInfoPodPhase. +const ( + RuntimeInfoPodPhaseFailed RuntimeInfoPodPhase = "Failed" + RuntimeInfoPodPhasePending RuntimeInfoPodPhase = "Pending" + RuntimeInfoPodPhaseRunning RuntimeInfoPodPhase = "Running" + RuntimeInfoPodPhaseSucceeded RuntimeInfoPodPhase = "Succeeded" + RuntimeInfoPodPhaseUnknown RuntimeInfoPodPhase = "Unknown" +) + +// Defines values for RuntimeInfoPodStatus. +const ( + RuntimeInfoPodStatusFailure RuntimeInfoPodStatus = "Failure" + RuntimeInfoPodStatusPending RuntimeInfoPodStatus = "Pending" + RuntimeInfoPodStatusSuccess RuntimeInfoPodStatus = "Success" + RuntimeInfoPodStatusUnknown RuntimeInfoPodStatus = "Unknown" +) + +// Defines values for RuntimeInfoStatus. +const ( + RuntimeInfoStatusFailed RuntimeInfoStatus = "Failed" + RuntimeInfoStatusPartiallySucceeded RuntimeInfoStatus = "Partially Succeeded" + RuntimeInfoStatusRunning RuntimeInfoStatus = "Running" + RuntimeInfoStatusStarting RuntimeInfoStatus = "Starting" + RuntimeInfoStatusStopped RuntimeInfoStatus = "Stopped" + RuntimeInfoStatusSucceeded RuntimeInfoStatus = "Succeeded" + RuntimeInfoStatusUnknown RuntimeInfoStatus = "Unknown" +) + +// Defines values for RuntimeInfoStatusClass. +const ( + Failure RuntimeInfoStatusClass = "Failure" + Stopped RuntimeInfoStatusClass = "Stopped" + Success RuntimeInfoStatusClass = "Success" + Unknown RuntimeInfoStatusClass = "Unknown" + Warning RuntimeInfoStatusClass = "Warning" +) + // Defines values for ValueSetVersionResultOf. const ( AppValueCreate ValueSetVersionResultOf = "app_value_create" @@ -124,8 +169,11 @@ type ActiveResourceResponse struct { // DeployId The deployment that the resource was last provisioned in. DeployId string `json:"deploy_id"` + // DriverAccount (Optional) Security account required by the driver. + DriverAccount *string `json:"driver_account,omitempty"` + // DriverType The driver to be used to create the resource. - DriverType *string `json:"driver_type,omitempty"` + DriverType string `json:"driver_type"` // EnvId The ID of the Environment the resource is associated with. EnvId string `json:"env_id"` @@ -155,7 +203,7 @@ type ActiveResourceResponse struct { Type string `json:"type"` // UpdatedAt The time the resource was last provisioned as part of a deployment. - UpdatedAt string `json:"updated_at"` + UpdatedAt time.Time `json:"updated_at"` } // Agent An object containing the details of an Agent. @@ -465,16 +513,6 @@ type ContainerArtefactVersion struct { Version *string `json:"version,omitempty"` } -// ControllerRequest Controller represents deployment, stateful set etc -type ControllerRequest struct { - Kind *string `json:"kind,omitempty"` - Message *string `json:"message,omitempty"` - Pods *[]PodStateRequest `json:"pods,omitempty"` - Replicas *int `json:"replicas,omitempty"` - Revision *int `json:"revision,omitempty"` - Status *string `json:"status,omitempty"` -} - // ControllerResponse Controller represents deployment, stateful set etc type ControllerResponse struct { Kind string `json:"kind"` @@ -537,10 +575,12 @@ type CreateDriverRequestRequest struct { AccountTypes []string `json:"account_types"` // Id The ID for this driver. Is used as `driver_type`. - Id *string `json:"id,omitempty"` + Id string `json:"id"` // InputsSchema A JSON Schema specifying the driver-specific input parameters. InputsSchema map[string]interface{} `json:"inputs_schema"` + // Deprecated: + IsPublic *bool `json:"is_public,omitempty"` // Target The prefix where the driver resides or, if the driver is a virtual driver, the reference to an existing driver using the `driver://` schema of the format `driver://{orgId}/{driverId}`. Only members of the organization the driver belongs to can see 'target'. Target string `json:"target"` @@ -555,22 +595,22 @@ type CreateDriverRequestRequest struct { // CreateResourceAccountRequestRequest CreateResourceAccountRequest describes the request to create a new security account. type CreateResourceAccountRequestRequest struct { // Credentials Credentials associated with the account. - Credentials *map[string]interface{} `json:"credentials,omitempty"` + Credentials map[string]interface{} `json:"credentials"` // Id Unique identifier for the account (in scope of the organization it belongs to). - Id *string `json:"id,omitempty"` + Id string `json:"id"` // Name Display name. - Name *string `json:"name,omitempty"` + Name string `json:"name"` // Type The type of the account - Type *string `json:"type,omitempty"` + Type string `json:"type"` } // CreateResourceDefinitionRequestRequest CreateResourceDefinitionRequest describes a new ResourceDefinition request. type CreateResourceDefinitionRequestRequest struct { // Criteria (Optional) The criteria to use when looking for a Resource Definition during the deployment. - Criteria *[]MatchingCriteriaRequest `json:"criteria,omitempty"` + Criteria *[]MatchingCriteriaRuleRequest `json:"criteria,omitempty"` // DriverAccount (Optional) Security account required by the driver. DriverAccount *string `json:"driver_account,omitempty"` @@ -1204,43 +1244,6 @@ type LogoResponse struct { LightUrl *string `json:"light_url,omitempty"` } -// MatchingCriteriaRequest Matching Criteria are a set of rules used to choose which Resource Definition to use to provision a particular Resource Type. -// -// Matching criteria are made up in order of specificity with least specific first: -// -// - Environment Type (`env_type`) -// -// - Application (`app_id`) -// -// - Environment (`env_id`) -// -// - Resource (`res_id`) -// -// When selecting matching criteria, the most specific one is selected. In general, this means of all the Matching Criteria fully matching the context, the Matching Criteria Rule with the most specific element filled is chosen. If there is a tie, the next most specific elements are compared and so on until one is chosen. -// -// **NOTE:** -// -// Humanitec will reject the registration of matching criteria rules that duplicate rules already present for a Resource Type. -type MatchingCriteriaRequest struct { - // AppId (Optional) The ID of the Application that the Resources should belong to. - AppId *string `json:"app_id,omitempty"` - - // Class (Optional) The class of the Resource in the Deployment Set. Can not be empty, if is not defined, set to `default`. - Class *string `json:"class,omitempty"` - - // EnvId (Optional) The ID of the Environment that the Resources should belong to. If `env_type` is also set, it must match the Type of the Environment for the Criteria to match. - EnvId *string `json:"env_id,omitempty"` - - // EnvType (Optional) The Type of the Environment that the Resources should belong to. If `env_id` is also set, it must have an Environment Type that matches this parameter for the Criteria to match. - EnvType *string `json:"env_type,omitempty"` - - // Id Matching Criteria ID - Id *string `json:"id,omitempty"` - - // ResId (Optional) The ID of the Resource in the Deployment Set. The ID is normally a `.` separated path to the definition in the set, e.g. `modules.my-module.externals.my-database`. - ResId *string `json:"res_id,omitempty"` -} - // MatchingCriteriaResponse Matching Criteria are a set of rules used to choose which Resource Definition to use to provision a particular Resource Type. // // Matching criteria are made up in order of specificity with least specific first: @@ -1310,18 +1313,17 @@ type ModuleDeltasResponse struct { Update map[string][]UpdateActionResponse `json:"update"` } -// ModuleRequest Module represents a collection of workload controllers (deployments/statefulsets/etc) for the module +// ModuleRequest Module single workload data type ModuleRequest struct { // Deploy A deploy condition for the workload // // Possible values for "when" are: - "before", deployed before other workloads - "deploy", deployed in-parallel with other workloads (default) - "after", deployed after other workloads // // Possible values for "success" are: - "deploy", workload deployed - "available", workload available - "complete", workload complete (often used with jobs) - Deploy *DeployConditionRequest `json:"deploy,omitempty"` - Externals *map[string]interface{} `json:"externals"` - Profile *string `json:"profile,omitempty"` - Spec *map[string]interface{} `json:"spec"` - AdditionalProperties map[string]ControllerRequest `json:"-"` + Deploy *DeployConditionRequest `json:"deploy,omitempty"` + Externals *map[string]interface{} `json:"externals"` + Profile *string `json:"profile,omitempty"` + Spec *map[string]interface{} `json:"spec"` } // ModuleResponse Module represents a collection of workload controllers (deployments/statefulsets/etc) for the module @@ -1357,6 +1359,7 @@ type NodeBodyResponse struct { DefId string `json:"def_id"` DependsOn []string `json:"depends_on"` Driver map[string]interface{} `json:"driver"` + DriverAccount *string `json:"driver_account,omitempty"` DriverType string `json:"driver_type"` Guresid string `json:"guresid"` Id string `json:"id"` @@ -1638,6 +1641,9 @@ type PipelineRun struct { // CreatedAt The date and time when this Run was first created. CreatedAt time.Time `json:"created_at"` + // EnvIds Environments linked to this Pipeline Run through input parameters or step executions. + EnvIds []string `json:"env_ids"` + // Etag The current entity tag value for this Run. Etag string `json:"etag"` @@ -1671,6 +1677,9 @@ type PipelineRun struct { // TimeoutSeconds The timeout for this Run. TimeoutSeconds int `json:"timeout_seconds"` + // Trigger The trigger type that was triggered this Run to start. + Trigger string `json:"trigger"` + // WaitingFor Aggregated events on which run's jobs are waiting for WaitingFor map[string]string `json:"waiting_for"` } @@ -1682,7 +1691,7 @@ type PipelineRunCreateBody struct { } // PipelineRunCreateByDeploymentRequestCriteriaBody Trigger the pipeline that has a deployment_request trigger and criteria that match this target environment. If "delta_id" or "set_id" is provided, the matching criteria must support deployment type "deploy". If "deployment_id" is provided, the matching criteria must support deployment type "re-deploy". -// When "delta_id" is provided, the inputs to the Pipeline Run will be "environment", "comment", "delta_id" and "value_set_version_id" if provided. When "deployment_id" is provided, the inputs to the Pipeline Run will be "environment", "comment", "deployment_id", with "set_id", "value_set_version_id" being retrieved from the deployment itself. When "set_id" is provided, the inputs to the Pipeline Run will be "environment", "comment", "set_id", and "value_set_version_id" if provided. +// When "delta_id" is provided, the inputs to the Pipeline Run will be "env_id", "comment", "delta_id" and "value_set_version_id" if provided. When "deployment_id" is provided, the inputs to the Pipeline Run will be "env_id", "comment", "deployment_id", with "set_id", "value_set_version_id" being retrieved from the deployment itself. When "set_id" is provided, the inputs to the Pipeline Run will be "env_id", "comment", "set_id", and "value_set_version_id" if provided. type PipelineRunCreateByDeploymentRequestCriteriaBody struct { // Comment An optional comment to apply to the Deployment. Comment *string `json:"comment,omitempty"` @@ -1693,8 +1702,12 @@ type PipelineRunCreateByDeploymentRequestCriteriaBody struct { // DeploymentId An existing deployment to redeploy into the target environment. The deployment set and value set will be copied. This field is mutually exclusive with "delta_id" and "set_id". DeploymentId *string `json:"deployment_id,omitempty"` + // EnvId The target environment within the Application to deploy to. + EnvId *string `json:"env_id,omitempty"` + // Environment The target environment within the Application to deploy to. - Environment string `json:"environment"` + // Deprecated: + Environment *string `json:"environment,omitempty"` // SetId A direct deployment set to apply to the target environment. This deployment set must already exist. This field is mutually exclusive with "delta_id" and "set_id". SetId *string `json:"set_id,omitempty"` @@ -1801,15 +1814,6 @@ type PlainDeltaResponse struct { Shared []UpdateActionResponse `json:"shared"` } -// PodStateRequest PodState represents single pod status -type PodStateRequest struct { - ContainerStatuses *[]map[string]interface{} `json:"containerStatuses,omitempty"` - Phase *string `json:"phase,omitempty"` - PodName *string `json:"podName,omitempty"` - Revision *int `json:"revision,omitempty"` - Status *string `json:"status,omitempty"` -} - // PodStateResponse PodState represents single pod status type PodStateResponse struct { ContainerStatuses []map[string]interface{} `json:"containerStatuses"` @@ -1986,10 +1990,10 @@ type ResourceDefinitionChangeResponse struct { // The schema for the `driver_inputs` is defined by the `input_schema` property on the DriverDefinition identified by the `driver_type` property. type ResourceDefinitionResponse struct { // CreatedAt The timestamp of when this record has been created. - CreatedAt *string `json:"created_at,omitempty"` + CreatedAt time.Time `json:"created_at"` // CreatedBy The user who created this record. - CreatedBy *string `json:"created_by,omitempty"` + CreatedBy string `json:"created_by"` // Criteria (Optional) The criteria to use when looking for a Resource Definition during the deployment. Criteria *[]MatchingCriteriaResponse `json:"criteria,omitempty"` @@ -2001,16 +2005,16 @@ type ResourceDefinitionResponse struct { DriverInputs *ValuesSecretsRefsResponse `json:"driver_inputs,omitempty"` // DriverType The driver to be used to create the resource. - DriverType *string `json:"driver_type,omitempty"` + DriverType string `json:"driver_type"` // Id The Resource Definition ID. Id string `json:"id"` // IsDefault Indicates this definition is a built-in one (provided by Humanitec). - IsDefault *bool `json:"is_default,omitempty"` + IsDefault bool `json:"is_default"` // IsDeleted Indicates if this record has been marked for deletion. The Resource Definition that has been marked for deletion cannot be used to provision new resources. - IsDeleted *bool `json:"is_deleted,omitempty"` + IsDeleted bool `json:"is_deleted"` // Name The display name. Name string `json:"name"` @@ -2064,12 +2068,157 @@ type RoleRequest struct { Role *string `json:"role,omitempty"` } -// RuntimeInfoResponse RuntimeInfo object returned by the runtime endpoint. Represents a list post statuses grouped by modules and controllers (deployments and stateful sets). -type RuntimeInfoResponse struct { +// RolesResponse defines model for RolesResponse. +type RolesResponse map[string]string + +// RuntimeInfoContainerState Details about the container's current condition. +type RuntimeInfoContainerState struct { + // Running Details about a running container. + Running *RuntimeInfoContainerStateRunning `json:"running,omitempty"` + + // Terminated Details about a terminated container. + Terminated *RuntimeInfoContainerStateTerminated `json:"terminated,omitempty"` + + // Waiting Details about a waiting container + Waiting *RuntimeInfoControllerStateWaiting `json:"waiting,omitempty"` +} + +// RuntimeInfoContainerStateRunning Details about a running container. +type RuntimeInfoContainerStateRunning struct { + // StartedAt Time at which the container was last (re-)started. + StartedAt *time.Time `json:"started_at,omitempty"` +} + +// RuntimeInfoContainerStateTerminated Details about a terminated container. +type RuntimeInfoContainerStateTerminated struct { + // ContainerId Container's ID in the format '://'. + ContainerId *string `json:"container_id,omitempty"` + + // ExitCode Exit status from the last termination of the container. + ExitCode *int `json:"exit_code,omitempty"` + + // FinishedAt Time at which the container last terminated. + FinishedAt *time.Time `json:"finished_at,omitempty"` + + // Message Message regarding the last termination of the container. + Message *string `json:"message,omitempty"` + + // Reason Reason from the last termination of the container. + Reason *string `json:"reason,omitempty"` + + // Signal Signal from the last termination of the container. + Signal *int `json:"signal,omitempty"` + + // StartedAt Time at which previous execution of the container started. + StartedAt *time.Time `json:"started_at,omitempty"` +} + +// RuntimeInfoContainerStatus Container status. +type RuntimeInfoContainerStatus struct { + // Name Container name. + Name string `json:"name"` + + // Ready If a container is ready to start accept traffic. + Ready bool `json:"ready"` + + // RestartCount The number of times the container has been restarted. + RestartCount *int `json:"restart_count,omitempty"` + + // State Details about the container's current condition. + State RuntimeInfoContainerState `json:"state"` + + // Status Container status derived from its state and readiness. + Status RuntimeInfoContainerStatusStatus `json:"status"` +} + +// RuntimeInfoContainerStatusStatus Container status derived from its state and readiness. +type RuntimeInfoContainerStatusStatus string + +// RuntimeInfoControllerStateWaiting Details about a waiting container +type RuntimeInfoControllerStateWaiting struct { + // Message Message regarding why the container is not yet running. + Message *string `json:"message,omitempty"` + + // Reason Reason the container is not yet running. + Reason *string `json:"reason,omitempty"` +} + +// RuntimeInfoModule Module represents a collection of workload controllers (deployments/statefulsets/etc) for the module. +type RuntimeInfoModule struct { + // Controllers A collection of workload controllers. + Controllers map[string]RuntimeInfoModuleController `json:"controllers"` + + // Status Workload status. + Status RuntimeInfoStatus `json:"status"` + + // StatusClass Status class, statuses are aggregated into classes + StatusClass RuntimeInfoStatusClass `json:"status_class"` +} + +// RuntimeInfoModuleController K8s controller. +type RuntimeInfoModuleController struct { + // Kind Controller kind. + Kind string `json:"kind"` + + // Message If a controller is not in a successful status, the reason from its condition. + Message *string `json:"message,omitempty"` + + // Pods List of pods which belong to the controller. + Pods *[]RuntimeInfoPod `json:"pods,omitempty"` + + // Replicas The most recently observed number of replicas. + Replicas *int `json:"replicas,omitempty"` + + // Revision Revision of the controller. + Revision *int `json:"revision,omitempty"` + + // Status Workload status. + Status RuntimeInfoStatus `json:"status"` +} + +// RuntimeInfoPod k8s pod. +type RuntimeInfoPod struct { + // ContainerStatuses The list has one entry per container in the manifest. + ContainerStatuses []RuntimeInfoContainerStatus `json:"containerStatuses"` + + // Phase A simple, high-level summary of where the Pod is in its lifecycle. + Phase RuntimeInfoPodPhase `json:"phase"` + + // PodName Pod name. + PodName string `json:"podName"` + + // Revision Revision of the pod. + Revision *int `json:"revision,omitempty"` + Status RuntimeInfoPodStatus `json:"status"` +} + +// RuntimeInfoPodPhase A simple, high-level summary of where the Pod is in its lifecycle. +type RuntimeInfoPodPhase string + +// RuntimeInfoPodStatus defines model for RuntimeInfoPod.Status. +type RuntimeInfoPodStatus string + +// RuntimeInfoResponseV1 RuntimeInfo object returned by the runtime endpoint. Represents a list post statuses grouped by modules and controllers (deployments and stateful sets). +type RuntimeInfoResponseV1 struct { Modules map[string]ModuleResponse `json:"modules"` Namespace string `json:"namespace"` } +// RuntimeInfoResponseV2 RuntimeInfo object returned by the runtime endpoint. Represents a list post statuses grouped by modules and controllers (deployments and stateful sets). +type RuntimeInfoResponseV2 struct { + // Modules Modules represent a collection of workloads for the application. + Modules map[string]RuntimeInfoModule `json:"modules"` + + // Namespace The namespace where the application runs. + Namespace string `json:"namespace"` +} + +// RuntimeInfoStatus Workload status. +type RuntimeInfoStatus string + +// RuntimeInfoStatusClass Status class, statuses are aggregated into classes +type RuntimeInfoStatusClass string + // SecretReference It stores sensitive value in the organization primary store or a reference to a sensitive value stored in a store registered under the organization. type SecretReference struct { // Ref Secret reference in the format of the target store. It can't be defined if `value` is defined. @@ -2224,6 +2373,8 @@ type UpdateDriverRequestRequest struct { // InputsSchema A JSON Schema specifying the driver-specific input parameters. InputsSchema map[string]interface{} `json:"inputs_schema"` + // Deprecated: + IsPublic *bool `json:"is_public,omitempty"` // Target The prefix where the driver resides or, if the driver is a virtual driver, the reference to an existing driver using the `driver://` schema of the format `driver://{orgId}/{driverId}`. Only members of the organization the driver belongs to can see 'target'. Target string `json:"target"` @@ -2338,7 +2489,7 @@ type UserProfileExtendedResponse struct { // Name The name the user goes by Name string `json:"name"` Properties map[string]interface{} `json:"properties"` - Roles map[string]string `json:"roles"` + Roles RolesResponse `json:"roles"` // Type The type of the account. Could be user, service or system Type string `json:"type"` @@ -2895,6 +3046,9 @@ type ByCreatedAfterParam = time.Time // ByCreatedBeforeParam defines model for byCreatedBeforeParam. type ByCreatedBeforeParam = time.Time +// ByEnvIdQueryParam defines model for byEnvIdQueryParam. +type ByEnvIdQueryParam = string + // ByMetadata defines model for byMetadata. type ByMetadata map[string]string @@ -3024,11 +3178,11 @@ type ListDeploymentsParams struct { PipelineRunId *string `form:"pipelineRunId,omitempty" json:"pipelineRunId,omitempty"` } -// PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdJSONBody defines parameters for PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployId. -type PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdJSONBody = string +// RebaseEnvironmentJSONBody defines parameters for RebaseEnvironment. +type RebaseEnvironmentJSONBody = string -// PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphJSONBody defines parameters for PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraph. -type PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphJSONBody = []ResourceProvisionRequestRequest +// QueryResourceGraphJSONBody defines parameters for QueryResourceGraph. +type QueryResourceGraphJSONBody = []ResourceProvisionRequestRequest // UpdatePausedJSONBody defines parameters for UpdatePaused. type UpdatePausedJSONBody = bool @@ -3111,6 +3265,9 @@ type UpdatePipelineParams struct { // ListPipelineRunsParams defines parameters for ListPipelineRuns. type ListPipelineRunsParams struct { + // Env An optional Environment ID + Env *ByEnvIdQueryParam `form:"env,omitempty" json:"env,omitempty"` + // Status Optional filter by status. Status *ByStatusQueryParam `form:"status,omitempty" json:"status,omitempty"` @@ -3305,6 +3462,9 @@ type ListPipelineRunsByOrgParams struct { // Pipeline An optional list of Pipeline IDs. Pipeline *ByPipelineIdQueryParam `form:"pipeline,omitempty" json:"pipeline,omitempty"` + // Env An optional Environment ID + Env *ByEnvIdQueryParam `form:"env,omitempty" json:"env,omitempty"` + // Status Optional filter by status. Status *ByStatusQueryParam `form:"status,omitempty" json:"status,omitempty"` @@ -3342,8 +3502,8 @@ type ListPipelinesInOrgParams struct { Metadata *ByMetadata `json:"metadata,omitempty"` } -// GetOrgsOrgIdResourcesDefsParams defines parameters for GetOrgsOrgIdResourcesDefs. -type GetOrgsOrgIdResourcesDefsParams struct { +// ListResourceDefinitionsParams defines parameters for ListResourceDefinitions. +type ListResourceDefinitionsParams struct { // App (Optional) Filter Resource Definitions that may match a specific Application. // App *string `form:"app,omitempty" json:"app,omitempty"` @@ -3369,18 +3529,18 @@ type GetOrgsOrgIdResourcesDefsParams struct { Class *string `form:"class,omitempty" json:"class,omitempty"` } -// DeleteOrgsOrgIdResourcesDefsDefIdParams defines parameters for DeleteOrgsOrgIdResourcesDefsDefId. -type DeleteOrgsOrgIdResourcesDefsDefIdParams struct { +// DeleteResourceDefinitionParams defines parameters for DeleteResourceDefinition. +type DeleteResourceDefinitionParams struct { // Force If set to `true`, will mark the Resource Definition for deletion, even if it affects existing Active Resources. // Force *bool `form:"force,omitempty" json:"force,omitempty"` } -// PutOrgsOrgIdResourcesDefsDefIdCriteriaJSONBody defines parameters for PutOrgsOrgIdResourcesDefsDefIdCriteria. -type PutOrgsOrgIdResourcesDefsDefIdCriteriaJSONBody = []MatchingCriteriaRuleRequest +// UpdateResourceDefinitionCriteriaJSONBody defines parameters for UpdateResourceDefinitionCriteria. +type UpdateResourceDefinitionCriteriaJSONBody = []MatchingCriteriaRuleRequest -// DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdParams defines parameters for DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaId. -type DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdParams struct { +// DeleteResourceDefinitionCriteriaParams defines parameters for DeleteResourceDefinitionCriteria. +type DeleteResourceDefinitionCriteriaParams struct { // Force If set to `true`, the Matching Criteria is deleted immediately, even if this action affects existing Active Resources. // Force *bool `form:"force,omitempty" json:"force,omitempty"` @@ -3421,8 +3581,8 @@ type ListWorkloadProfileVersionsParams struct { Page *PageTokenQueryParam `form:"page,omitempty" json:"page,omitempty"` } -// PatchCurrentUserJSONRequestBody defines body for PatchCurrentUser for application/json ContentType. -type PatchCurrentUserJSONRequestBody = UserProfileExtendedRequest +// UpdateCurrentUserJSONRequestBody defines body for UpdateCurrentUser for application/json ContentType. +type UpdateCurrentUserJSONRequestBody = UserProfileExtendedRequest // CreateAgentJSONRequestBody defines body for CreateAgent for application/json ContentType. type CreateAgentJSONRequestBody = AgentCreateBody @@ -3433,8 +3593,8 @@ type PatchAgentJSONRequestBody = AgentPatchBody // CreateKeyJSONRequestBody defines body for CreateKey for application/json ContentType. type CreateKeyJSONRequestBody = KeyCreateBody -// PostOrgsOrgIdAppsJSONRequestBody defines body for PostOrgsOrgIdApps for application/json ContentType. -type PostOrgsOrgIdAppsJSONRequestBody = ApplicationCreationRequest +// CreateApplicationJSONRequestBody defines body for CreateApplication for application/json ContentType. +type CreateApplicationJSONRequestBody = ApplicationCreationRequest // PostOrgsOrgIdAppsAppIdDeltasJSONRequestBody defines body for PostOrgsOrgIdAppsAppIdDeltas for application/json ContentType. type PostOrgsOrgIdAppsAppIdDeltasJSONRequestBody = DeltaRequest @@ -3454,17 +3614,17 @@ type PutOrgsOrgIdAppsAppIdDeltasDeltaIdMetadataEnvIdJSONRequestBody = Environmen // PutOrgsOrgIdAppsAppIdDeltasDeltaIdMetadataNameJSONRequestBody defines body for PutOrgsOrgIdAppsAppIdDeltasDeltaIdMetadataName for application/json ContentType. type PutOrgsOrgIdAppsAppIdDeltasDeltaIdMetadataNameJSONRequestBody = PutOrgsOrgIdAppsAppIdDeltasDeltaIdMetadataNameJSONBody -// PostOrgsOrgIdAppsAppIdEnvsJSONRequestBody defines body for PostOrgsOrgIdAppsAppIdEnvs for application/json ContentType. -type PostOrgsOrgIdAppsAppIdEnvsJSONRequestBody = EnvironmentDefinitionRequest +// CreateEnvironmentJSONRequestBody defines body for CreateEnvironment for application/json ContentType. +type CreateEnvironmentJSONRequestBody = EnvironmentDefinitionRequest -// PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysJSONRequestBody defines body for PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploys for application/json ContentType. -type PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysJSONRequestBody = DeploymentRequest +// CreateDeploymentJSONRequestBody defines body for CreateDeployment for application/json ContentType. +type CreateDeploymentJSONRequestBody = DeploymentRequest -// PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdJSONRequestBody defines body for PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployId for application/json ContentType. -type PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdJSONRequestBody = PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdJSONBody +// RebaseEnvironmentJSONRequestBody defines body for RebaseEnvironment for application/json ContentType. +type RebaseEnvironmentJSONRequestBody = RebaseEnvironmentJSONBody -// PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphJSONRequestBody defines body for PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraph for application/json ContentType. -type PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphJSONRequestBody = PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphJSONBody +// QueryResourceGraphJSONRequestBody defines body for QueryResourceGraph for application/json ContentType. +type QueryResourceGraphJSONRequestBody = QueryResourceGraphJSONBody // PostOrgsOrgIdAppsAppIdEnvsEnvIdRulesJSONRequestBody defines body for PostOrgsOrgIdAppsAppIdEnvsEnvIdRules for application/json ContentType. type PostOrgsOrgIdAppsAppIdEnvsEnvIdRulesJSONRequestBody = AutomationRuleRequest @@ -3508,11 +3668,11 @@ type CreatePipelineRunJSONRequestBody = PipelineRunCreateBody // PostOrgsOrgIdAppsAppIdSetsSetIdJSONRequestBody defines body for PostOrgsOrgIdAppsAppIdSetsSetId for application/json ContentType. type PostOrgsOrgIdAppsAppIdSetsSetIdJSONRequestBody = DeltaRequest -// PostOrgsOrgIdAppsAppIdUsersJSONRequestBody defines body for PostOrgsOrgIdAppsAppIdUsers for application/json ContentType. -type PostOrgsOrgIdAppsAppIdUsersJSONRequestBody = UserRoleRequest +// CreateUserRoleInAppJSONRequestBody defines body for CreateUserRoleInApp for application/json ContentType. +type CreateUserRoleInAppJSONRequestBody = UserRoleRequest -// PatchOrgsOrgIdAppsAppIdUsersUserIdJSONRequestBody defines body for PatchOrgsOrgIdAppsAppIdUsersUserId for application/json ContentType. -type PatchOrgsOrgIdAppsAppIdUsersUserIdJSONRequestBody = RoleRequest +// UpdateUserRoleInAppJSONRequestBody defines body for UpdateUserRoleInApp for application/json ContentType. +type UpdateUserRoleInAppJSONRequestBody = RoleRequest // PostOrgsOrgIdAppsAppIdValueSetVersionsValueSetVersionIdPurgeKeyJSONRequestBody defines body for PostOrgsOrgIdAppsAppIdValueSetVersionsValueSetVersionIdPurgeKey for application/json ContentType. type PostOrgsOrgIdAppsAppIdValueSetVersionsValueSetVersionIdPurgeKeyJSONRequestBody = ValueSetActionPayloadRequest @@ -3547,20 +3707,20 @@ type CreateArtefactVersionMultipartRequestBody = CreateArtefactVersion // PatchArtefactVersionJSONRequestBody defines body for PatchArtefactVersion for application/json ContentType. type PatchArtefactVersionJSONRequestBody = UpdateArtefactVersionPayloadRequest -// PostOrgsOrgIdEnvTypesJSONRequestBody defines body for PostOrgsOrgIdEnvTypes for application/json ContentType. -type PostOrgsOrgIdEnvTypesJSONRequestBody = EnvironmentTypeRequest +// CreateEnvironmentTypeJSONRequestBody defines body for CreateEnvironmentType for application/json ContentType. +type CreateEnvironmentTypeJSONRequestBody = EnvironmentTypeRequest -// PostOrgsOrgIdEnvTypesEnvTypeUsersJSONRequestBody defines body for PostOrgsOrgIdEnvTypesEnvTypeUsers for application/json ContentType. -type PostOrgsOrgIdEnvTypesEnvTypeUsersJSONRequestBody = UserRoleRequest +// CreateUserRoleInEnvTypeJSONRequestBody defines body for CreateUserRoleInEnvType for application/json ContentType. +type CreateUserRoleInEnvTypeJSONRequestBody = UserRoleRequest -// PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdJSONRequestBody defines body for PatchOrgsOrgIdEnvTypesEnvTypeUsersUserId for application/json ContentType. -type PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdJSONRequestBody = RoleRequest +// UpdateUserRoleInEnvTypeJSONRequestBody defines body for UpdateUserRoleInEnvType for application/json ContentType. +type UpdateUserRoleInEnvTypeJSONRequestBody = RoleRequest // CreateDeprecatedImageBuildJSONRequestBody defines body for CreateDeprecatedImageBuild for application/json ContentType. type CreateDeprecatedImageBuildJSONRequestBody = ImageBuildRequest -// PostOrgsOrgIdInvitationsJSONRequestBody defines body for PostOrgsOrgIdInvitations for application/json ContentType. -type PostOrgsOrgIdInvitationsJSONRequestBody = UserInviteRequestRequest +// CreateInviteInOrgJSONRequestBody defines body for CreateInviteInOrg for application/json ContentType. +type CreateInviteInOrgJSONRequestBody = UserInviteRequestRequest // CreatePublicKeyJSONRequestBody defines body for CreatePublicKey for application/json ContentType. type CreatePublicKeyJSONRequestBody = CreatePublicKeyJSONBody @@ -3571,32 +3731,32 @@ type PostOrgsOrgIdRegistriesJSONRequestBody = RegistryRequest // PatchOrgsOrgIdRegistriesRegIdJSONRequestBody defines body for PatchOrgsOrgIdRegistriesRegId for application/json ContentType. type PatchOrgsOrgIdRegistriesRegIdJSONRequestBody = RegistryRequest -// PostOrgsOrgIdResourcesAccountsJSONRequestBody defines body for PostOrgsOrgIdResourcesAccounts for application/json ContentType. -type PostOrgsOrgIdResourcesAccountsJSONRequestBody = CreateResourceAccountRequestRequest +// CreateResourceAccountJSONRequestBody defines body for CreateResourceAccount for application/json ContentType. +type CreateResourceAccountJSONRequestBody = CreateResourceAccountRequestRequest -// PatchOrgsOrgIdResourcesAccountsAccIdJSONRequestBody defines body for PatchOrgsOrgIdResourcesAccountsAccId for application/json ContentType. -type PatchOrgsOrgIdResourcesAccountsAccIdJSONRequestBody = UpdateResourceAccountRequestRequest +// PatchResourceAccountJSONRequestBody defines body for PatchResourceAccount for application/json ContentType. +type PatchResourceAccountJSONRequestBody = UpdateResourceAccountRequestRequest -// PostOrgsOrgIdResourcesDefsJSONRequestBody defines body for PostOrgsOrgIdResourcesDefs for application/json ContentType. -type PostOrgsOrgIdResourcesDefsJSONRequestBody = CreateResourceDefinitionRequestRequest +// CreateResourceDefinitionJSONRequestBody defines body for CreateResourceDefinition for application/json ContentType. +type CreateResourceDefinitionJSONRequestBody = CreateResourceDefinitionRequestRequest -// PatchOrgsOrgIdResourcesDefsDefIdJSONRequestBody defines body for PatchOrgsOrgIdResourcesDefsDefId for application/json ContentType. -type PatchOrgsOrgIdResourcesDefsDefIdJSONRequestBody = PatchResourceDefinitionRequestRequest +// PatchResourceDefinitionJSONRequestBody defines body for PatchResourceDefinition for application/json ContentType. +type PatchResourceDefinitionJSONRequestBody = PatchResourceDefinitionRequestRequest -// PutOrgsOrgIdResourcesDefsDefIdJSONRequestBody defines body for PutOrgsOrgIdResourcesDefsDefId for application/json ContentType. -type PutOrgsOrgIdResourcesDefsDefIdJSONRequestBody = UpdateResourceDefinitionRequestRequest +// UpdateResourceDefinitionJSONRequestBody defines body for UpdateResourceDefinition for application/json ContentType. +type UpdateResourceDefinitionJSONRequestBody = UpdateResourceDefinitionRequestRequest -// PostOrgsOrgIdResourcesDefsDefIdCriteriaJSONRequestBody defines body for PostOrgsOrgIdResourcesDefsDefIdCriteria for application/json ContentType. -type PostOrgsOrgIdResourcesDefsDefIdCriteriaJSONRequestBody = MatchingCriteriaRuleRequest +// CreateResourceDefinitionCriteriaJSONRequestBody defines body for CreateResourceDefinitionCriteria for application/json ContentType. +type CreateResourceDefinitionCriteriaJSONRequestBody = MatchingCriteriaRuleRequest -// PutOrgsOrgIdResourcesDefsDefIdCriteriaJSONRequestBody defines body for PutOrgsOrgIdResourcesDefsDefIdCriteria for application/json ContentType. -type PutOrgsOrgIdResourcesDefsDefIdCriteriaJSONRequestBody = PutOrgsOrgIdResourcesDefsDefIdCriteriaJSONBody +// UpdateResourceDefinitionCriteriaJSONRequestBody defines body for UpdateResourceDefinitionCriteria for application/json ContentType. +type UpdateResourceDefinitionCriteriaJSONRequestBody = UpdateResourceDefinitionCriteriaJSONBody -// PostOrgsOrgIdResourcesDriversJSONRequestBody defines body for PostOrgsOrgIdResourcesDrivers for application/json ContentType. -type PostOrgsOrgIdResourcesDriversJSONRequestBody = CreateDriverRequestRequest +// CreateResourceDriverJSONRequestBody defines body for CreateResourceDriver for application/json ContentType. +type CreateResourceDriverJSONRequestBody = CreateDriverRequestRequest -// PutOrgsOrgIdResourcesDriversDriverIdJSONRequestBody defines body for PutOrgsOrgIdResourcesDriversDriverId for application/json ContentType. -type PutOrgsOrgIdResourcesDriversDriverIdJSONRequestBody = UpdateDriverRequestRequest +// UpdateResourceDriverJSONRequestBody defines body for UpdateResourceDriver for application/json ContentType. +type UpdateResourceDriverJSONRequestBody = UpdateDriverRequestRequest // PostOrgsOrgIdSecretstoresJSONRequestBody defines body for PostOrgsOrgIdSecretstores for application/json ContentType. type PostOrgsOrgIdSecretstoresJSONRequestBody = CreateSecretStorePayloadRequest @@ -3604,11 +3764,11 @@ type PostOrgsOrgIdSecretstoresJSONRequestBody = CreateSecretStorePayloadRequest // PatchOrgsOrgIdSecretstoresStoreIdJSONRequestBody defines body for PatchOrgsOrgIdSecretstoresStoreId for application/json ContentType. type PatchOrgsOrgIdSecretstoresStoreIdJSONRequestBody = UpdateSecretStorePayloadRequest -// PostOrgsOrgIdUsersJSONRequestBody defines body for PostOrgsOrgIdUsers for application/json ContentType. -type PostOrgsOrgIdUsersJSONRequestBody = NewServiceUserRequest +// CreateServiceUserInOrgJSONRequestBody defines body for CreateServiceUserInOrg for application/json ContentType. +type CreateServiceUserInOrgJSONRequestBody = NewServiceUserRequest -// PatchOrgsOrgIdUsersUserIdJSONRequestBody defines body for PatchOrgsOrgIdUsersUserId for application/json ContentType. -type PatchOrgsOrgIdUsersUserIdJSONRequestBody = RoleRequest +// UpdateUserRoleInOrgJSONRequestBody defines body for UpdateUserRoleInOrg for application/json ContentType. +type UpdateUserRoleInOrgJSONRequestBody = RoleRequest // CreateWorkloadProfileChartVersionMultipartRequestBody defines body for CreateWorkloadProfileChartVersion for multipart/form-data ContentType. type CreateWorkloadProfileChartVersionMultipartRequestBody CreateWorkloadProfileChartVersionMultipartBody @@ -3619,121 +3779,8 @@ type CreateWorkloadProfileJSONRequestBody = WorkloadProfileRequest // UpdateWorkloadProfileJSONRequestBody defines body for UpdateWorkloadProfile for application/json ContentType. type UpdateWorkloadProfileJSONRequestBody = WorkloadProfileUpdateRequest -// PostUsersUserIdTokensJSONRequestBody defines body for PostUsersUserIdTokens for application/json ContentType. -type PostUsersUserIdTokensJSONRequestBody = TokenDefinitionRequest - -// Getter for additional properties for ModuleRequest. Returns the specified -// element and whether it was found -func (a ModuleRequest) Get(fieldName string) (value ControllerRequest, found bool) { - if a.AdditionalProperties != nil { - value, found = a.AdditionalProperties[fieldName] - } - return -} - -// Setter for additional properties for ModuleRequest -func (a *ModuleRequest) Set(fieldName string, value ControllerRequest) { - if a.AdditionalProperties == nil { - a.AdditionalProperties = make(map[string]ControllerRequest) - } - a.AdditionalProperties[fieldName] = value -} - -// Override default JSON handling for ModuleRequest to handle AdditionalProperties -func (a *ModuleRequest) UnmarshalJSON(b []byte) error { - object := make(map[string]json.RawMessage) - err := json.Unmarshal(b, &object) - if err != nil { - return err - } - - if raw, found := object["deploy"]; found { - err = json.Unmarshal(raw, &a.Deploy) - if err != nil { - return fmt.Errorf("error reading 'deploy': %w", err) - } - delete(object, "deploy") - } - - if raw, found := object["externals"]; found { - err = json.Unmarshal(raw, &a.Externals) - if err != nil { - return fmt.Errorf("error reading 'externals': %w", err) - } - delete(object, "externals") - } - - if raw, found := object["profile"]; found { - err = json.Unmarshal(raw, &a.Profile) - if err != nil { - return fmt.Errorf("error reading 'profile': %w", err) - } - delete(object, "profile") - } - - if raw, found := object["spec"]; found { - err = json.Unmarshal(raw, &a.Spec) - if err != nil { - return fmt.Errorf("error reading 'spec': %w", err) - } - delete(object, "spec") - } - - if len(object) != 0 { - a.AdditionalProperties = make(map[string]ControllerRequest) - for fieldName, fieldBuf := range object { - var fieldVal ControllerRequest - err := json.Unmarshal(fieldBuf, &fieldVal) - if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) - } - a.AdditionalProperties[fieldName] = fieldVal - } - } - return nil -} - -// Override default JSON handling for ModuleRequest to handle AdditionalProperties -func (a ModuleRequest) MarshalJSON() ([]byte, error) { - var err error - object := make(map[string]json.RawMessage) - - if a.Deploy != nil { - object["deploy"], err = json.Marshal(a.Deploy) - if err != nil { - return nil, fmt.Errorf("error marshaling 'deploy': %w", err) - } - } - - if a.Externals != nil { - object["externals"], err = json.Marshal(a.Externals) - if err != nil { - return nil, fmt.Errorf("error marshaling 'externals': %w", err) - } - } - - if a.Profile != nil { - object["profile"], err = json.Marshal(a.Profile) - if err != nil { - return nil, fmt.Errorf("error marshaling 'profile': %w", err) - } - } - - if a.Spec != nil { - object["spec"], err = json.Marshal(a.Spec) - if err != nil { - return nil, fmt.Errorf("error marshaling 'spec': %w", err) - } - } - - for fieldName, field := range a.AdditionalProperties { - object[fieldName], err = json.Marshal(field) - if err != nil { - return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) - } - } - return json.Marshal(object) -} +// CreateUserTokenJSONRequestBody defines body for CreateUserToken for application/json ContentType. +type CreateUserTokenJSONRequestBody = TokenDefinitionRequest // Getter for additional properties for ModuleResponse. Returns the specified // element and whether it was found @@ -4452,10 +4499,10 @@ type ClientInterface interface { // GetCurrentUser request GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) - // PatchCurrentUserWithBody request with any body - PatchCurrentUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // UpdateCurrentUserWithBody request with any body + UpdateCurrentUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PatchCurrentUser(ctx context.Context, body PatchCurrentUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + UpdateCurrentUser(ctx context.Context, body UpdateCurrentUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListOrganizations request ListOrganizations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -4490,19 +4537,19 @@ type ClientInterface interface { // DeleteKeyInAgent request DeleteKeyInAgent(ctx context.Context, orgId OrgIdPathParam, agentId AgentIdPathParam, fingerprint FingerprintPathParam, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetOrgsOrgIdApps request - GetOrgsOrgIdApps(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // ListApplications request + ListApplications(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostOrgsOrgIdAppsWithBody request with any body - PostOrgsOrgIdAppsWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // CreateApplicationWithBody request with any body + CreateApplicationWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PostOrgsOrgIdApps(ctx context.Context, orgId string, body PostOrgsOrgIdAppsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + CreateApplication(ctx context.Context, orgId string, body CreateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DeleteOrgsOrgIdAppsAppId request - DeleteOrgsOrgIdAppsAppId(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteApplication request + DeleteApplication(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetOrgsOrgIdAppsAppId request - GetOrgsOrgIdAppsAppId(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetApplication request + GetApplication(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*http.Response, error) // ListPipelineApprovalRequests request ListPipelineApprovalRequests(ctx context.Context, orgId OrgIdPathParam, appId AppIdPathParam, params *ListPipelineApprovalRequestsParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -4543,27 +4590,27 @@ type ClientInterface interface { PutOrgsOrgIdAppsAppIdDeltasDeltaIdMetadataName(ctx context.Context, orgId OrgIdPathParam, appId AppIdPathParam, deltaId string, body PutOrgsOrgIdAppsAppIdDeltasDeltaIdMetadataNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetOrgsOrgIdAppsAppIdEnvs request - GetOrgsOrgIdAppsAppIdEnvs(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // ListEnvironments request + ListEnvironments(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostOrgsOrgIdAppsAppIdEnvsWithBody request with any body - PostOrgsOrgIdAppsAppIdEnvsWithBody(ctx context.Context, orgId string, appId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // CreateEnvironmentWithBody request with any body + CreateEnvironmentWithBody(ctx context.Context, orgId string, appId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PostOrgsOrgIdAppsAppIdEnvs(ctx context.Context, orgId string, appId string, body PostOrgsOrgIdAppsAppIdEnvsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + CreateEnvironment(ctx context.Context, orgId string, appId string, body CreateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DeleteOrgsOrgIdAppsAppIdEnvsEnvId request - DeleteOrgsOrgIdAppsAppIdEnvsEnvId(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteEnvironment request + DeleteEnvironment(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetOrgsOrgIdAppsAppIdEnvsEnvId request - GetOrgsOrgIdAppsAppIdEnvsEnvId(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetEnvironment request + GetEnvironment(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*http.Response, error) // ListDeployments request ListDeployments(ctx context.Context, orgId string, appId string, envId string, params *ListDeploymentsParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysWithBody request with any body - PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysWithBody(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // CreateDeploymentWithBody request with any body + CreateDeploymentWithBody(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploys(ctx context.Context, orgId string, appId string, envId string, body PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + CreateDeployment(ctx context.Context, orgId string, appId string, envId string, body CreateDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDeployment request GetDeployment(ctx context.Context, orgId string, appId string, envId string, deployId string, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -4571,21 +4618,21 @@ type ClientInterface interface { // ListDeploymentErrors request ListDeploymentErrors(ctx context.Context, orgId string, appId string, envId string, deployId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdWithBody request with any body - PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdWithBody(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // RebaseEnvironmentWithBody request with any body + RebaseEnvironmentWithBody(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployId(ctx context.Context, orgId string, appId string, envId string, body PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + RebaseEnvironment(ctx context.Context, orgId string, appId string, envId string, body RebaseEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetOrgsOrgIdAppsAppIdEnvsEnvIdResources request - GetOrgsOrgIdAppsAppIdEnvsEnvIdResources(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // ListActiveResources request + ListActiveResources(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphWithBody request with any body - PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphWithBody(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // QueryResourceGraphWithBody request with any body + QueryResourceGraphWithBody(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraph(ctx context.Context, orgId string, appId string, envId string, body PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + QueryResourceGraph(ctx context.Context, orgId string, appId string, envId string, body QueryResourceGraphJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResId request - DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResId(ctx context.Context, orgId string, appId string, envId string, pType string, resId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteActiveResource request + DeleteActiveResource(ctx context.Context, orgId string, appId string, envId string, pType string, resId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetOrgsOrgIdAppsAppIdEnvsEnvIdRules request GetOrgsOrgIdAppsAppIdEnvsEnvIdRules(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -4759,24 +4806,24 @@ type ClientInterface interface { // GetOrgsOrgIdAppsAppIdSetsSetIdDiffSourceSetId request GetOrgsOrgIdAppsAppIdSetsSetIdDiffSourceSetId(ctx context.Context, orgId OrgIdPathParam, appId AppIdPathParam, setId string, sourceSetId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetOrgsOrgIdAppsAppIdUsers request - GetOrgsOrgIdAppsAppIdUsers(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // ListUserRolesInApp request + ListUserRolesInApp(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostOrgsOrgIdAppsAppIdUsersWithBody request with any body - PostOrgsOrgIdAppsAppIdUsersWithBody(ctx context.Context, orgId string, appId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // CreateUserRoleInAppWithBody request with any body + CreateUserRoleInAppWithBody(ctx context.Context, orgId string, appId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PostOrgsOrgIdAppsAppIdUsers(ctx context.Context, orgId string, appId string, body PostOrgsOrgIdAppsAppIdUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + CreateUserRoleInApp(ctx context.Context, orgId string, appId string, body CreateUserRoleInAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DeleteOrgsOrgIdAppsAppIdUsersUserId request - DeleteOrgsOrgIdAppsAppIdUsersUserId(ctx context.Context, orgId string, appId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteUserRoleInApp request + DeleteUserRoleInApp(ctx context.Context, orgId string, appId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetOrgsOrgIdAppsAppIdUsersUserId request - GetOrgsOrgIdAppsAppIdUsersUserId(ctx context.Context, orgId string, appId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetUserRoleInApp request + GetUserRoleInApp(ctx context.Context, orgId string, appId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // PatchOrgsOrgIdAppsAppIdUsersUserIdWithBody request with any body - PatchOrgsOrgIdAppsAppIdUsersUserIdWithBody(ctx context.Context, orgId string, appId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // UpdateUserRoleInAppWithBody request with any body + UpdateUserRoleInAppWithBody(ctx context.Context, orgId string, appId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PatchOrgsOrgIdAppsAppIdUsersUserId(ctx context.Context, orgId string, appId string, userId string, body PatchOrgsOrgIdAppsAppIdUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + UpdateUserRoleInApp(ctx context.Context, orgId string, appId string, userId string, body UpdateUserRoleInAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetOrgsOrgIdAppsAppIdValueSetVersions request GetOrgsOrgIdAppsAppIdValueSetVersions(ctx context.Context, orgId string, appId string, params *GetOrgsOrgIdAppsAppIdValueSetVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -4876,35 +4923,35 @@ type ClientInterface interface { // ListAuditLogEntries request ListAuditLogEntries(ctx context.Context, orgId OrgIdPathParam, params *ListAuditLogEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetOrgsOrgIdEnvTypes request - GetOrgsOrgIdEnvTypes(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // ListEnvironmentTypes request + ListEnvironmentTypes(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostOrgsOrgIdEnvTypesWithBody request with any body - PostOrgsOrgIdEnvTypesWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // CreateEnvironmentTypeWithBody request with any body + CreateEnvironmentTypeWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PostOrgsOrgIdEnvTypes(ctx context.Context, orgId string, body PostOrgsOrgIdEnvTypesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + CreateEnvironmentType(ctx context.Context, orgId string, body CreateEnvironmentTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DeleteOrgsOrgIdEnvTypesEnvTypeId request - DeleteOrgsOrgIdEnvTypesEnvTypeId(ctx context.Context, orgId string, envTypeId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteEnvironmentType request + DeleteEnvironmentType(ctx context.Context, orgId string, envTypeId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetOrgsOrgIdEnvTypesEnvTypeId request - GetOrgsOrgIdEnvTypesEnvTypeId(ctx context.Context, orgId string, envTypeId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetEnvironmentType request + GetEnvironmentType(ctx context.Context, orgId string, envTypeId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostOrgsOrgIdEnvTypesEnvTypeUsersWithBody request with any body - PostOrgsOrgIdEnvTypesEnvTypeUsersWithBody(ctx context.Context, orgId string, envType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // CreateUserRoleInEnvTypeWithBody request with any body + CreateUserRoleInEnvTypeWithBody(ctx context.Context, orgId string, envType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PostOrgsOrgIdEnvTypesEnvTypeUsers(ctx context.Context, orgId string, envType string, body PostOrgsOrgIdEnvTypesEnvTypeUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + CreateUserRoleInEnvType(ctx context.Context, orgId string, envType string, body CreateUserRoleInEnvTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DeleteOrgsOrgIdEnvTypesEnvTypeUsersUserId request - DeleteOrgsOrgIdEnvTypesEnvTypeUsersUserId(ctx context.Context, orgId string, envType string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteUserRoleInEnvType request + DeleteUserRoleInEnvType(ctx context.Context, orgId string, envType string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetOrgsOrgIdEnvTypesEnvTypeUsersUserId request - GetOrgsOrgIdEnvTypesEnvTypeUsersUserId(ctx context.Context, orgId string, envType string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetUserRoleInEnvType request + GetUserRoleInEnvType(ctx context.Context, orgId string, envType string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdWithBody request with any body - PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdWithBody(ctx context.Context, orgId string, envType string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // UpdateUserRoleInEnvTypeWithBody request with any body + UpdateUserRoleInEnvTypeWithBody(ctx context.Context, orgId string, envType string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PatchOrgsOrgIdEnvTypesEnvTypeUsersUserId(ctx context.Context, orgId string, envType string, userId string, body PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + UpdateUserRoleInEnvType(ctx context.Context, orgId string, envType string, userId string, body UpdateUserRoleInEnvTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetOrgsOrgIdEvents request GetOrgsOrgIdEvents(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -4926,13 +4973,13 @@ type ClientInterface interface { CreateDeprecatedImageBuild(ctx context.Context, orgId string, imageId string, body CreateDeprecatedImageBuildJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetOrgsOrgIdInvitations request - GetOrgsOrgIdInvitations(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // ListInvitesInOrg request + ListInvitesInOrg(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostOrgsOrgIdInvitationsWithBody request with any body - PostOrgsOrgIdInvitationsWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // CreateInviteInOrgWithBody request with any body + CreateInviteInOrgWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PostOrgsOrgIdInvitations(ctx context.Context, orgId string, body PostOrgsOrgIdInvitationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + CreateInviteInOrg(ctx context.Context, orgId string, body CreateInviteInOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListPublicKeys request ListPublicKeys(ctx context.Context, orgId string, params *ListPublicKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -4979,89 +5026,89 @@ type ClientInterface interface { // GetOrgsOrgIdRegistriesRegIdCreds request GetOrgsOrgIdRegistriesRegIdCreds(ctx context.Context, orgId string, regId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetOrgsOrgIdResourcesAccountTypes request - GetOrgsOrgIdResourcesAccountTypes(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // ListResourceAccountTypes request + ListResourceAccountTypes(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetOrgsOrgIdResourcesAccounts request - GetOrgsOrgIdResourcesAccounts(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // ListResourceAccounts request + ListResourceAccounts(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostOrgsOrgIdResourcesAccountsWithBody request with any body - PostOrgsOrgIdResourcesAccountsWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // CreateResourceAccountWithBody request with any body + CreateResourceAccountWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PostOrgsOrgIdResourcesAccounts(ctx context.Context, orgId string, body PostOrgsOrgIdResourcesAccountsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + CreateResourceAccount(ctx context.Context, orgId string, body CreateResourceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DeleteOrgsOrgIdResourcesAccountsAccId request - DeleteOrgsOrgIdResourcesAccountsAccId(ctx context.Context, orgId string, accId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteResourceAccount request + DeleteResourceAccount(ctx context.Context, orgId string, accId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetOrgsOrgIdResourcesAccountsAccId request - GetOrgsOrgIdResourcesAccountsAccId(ctx context.Context, orgId string, accId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetResourceAccount request + GetResourceAccount(ctx context.Context, orgId string, accId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // PatchOrgsOrgIdResourcesAccountsAccIdWithBody request with any body - PatchOrgsOrgIdResourcesAccountsAccIdWithBody(ctx context.Context, orgId string, accId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // PatchResourceAccountWithBody request with any body + PatchResourceAccountWithBody(ctx context.Context, orgId string, accId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PatchOrgsOrgIdResourcesAccountsAccId(ctx context.Context, orgId string, accId string, body PatchOrgsOrgIdResourcesAccountsAccIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + PatchResourceAccount(ctx context.Context, orgId string, accId string, body PatchResourceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetOrgsOrgIdResourcesDefs request - GetOrgsOrgIdResourcesDefs(ctx context.Context, orgId string, params *GetOrgsOrgIdResourcesDefsParams, reqEditors ...RequestEditorFn) (*http.Response, error) + // ListResourceDefinitions request + ListResourceDefinitions(ctx context.Context, orgId string, params *ListResourceDefinitionsParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostOrgsOrgIdResourcesDefsWithBody request with any body - PostOrgsOrgIdResourcesDefsWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // CreateResourceDefinitionWithBody request with any body + CreateResourceDefinitionWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PostOrgsOrgIdResourcesDefs(ctx context.Context, orgId string, body PostOrgsOrgIdResourcesDefsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + CreateResourceDefinition(ctx context.Context, orgId string, body CreateResourceDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DeleteOrgsOrgIdResourcesDefsDefId request - DeleteOrgsOrgIdResourcesDefsDefId(ctx context.Context, orgId string, defId string, params *DeleteOrgsOrgIdResourcesDefsDefIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteResourceDefinition request + DeleteResourceDefinition(ctx context.Context, orgId string, defId string, params *DeleteResourceDefinitionParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetOrgsOrgIdResourcesDefsDefId request - GetOrgsOrgIdResourcesDefsDefId(ctx context.Context, orgId string, defId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetResourceDefinition request + GetResourceDefinition(ctx context.Context, orgId string, defId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // PatchOrgsOrgIdResourcesDefsDefIdWithBody request with any body - PatchOrgsOrgIdResourcesDefsDefIdWithBody(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // PatchResourceDefinitionWithBody request with any body + PatchResourceDefinitionWithBody(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PatchOrgsOrgIdResourcesDefsDefId(ctx context.Context, orgId string, defId string, body PatchOrgsOrgIdResourcesDefsDefIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + PatchResourceDefinition(ctx context.Context, orgId string, defId string, body PatchResourceDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PutOrgsOrgIdResourcesDefsDefIdWithBody request with any body - PutOrgsOrgIdResourcesDefsDefIdWithBody(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // UpdateResourceDefinitionWithBody request with any body + UpdateResourceDefinitionWithBody(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PutOrgsOrgIdResourcesDefsDefId(ctx context.Context, orgId string, defId string, body PutOrgsOrgIdResourcesDefsDefIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + UpdateResourceDefinition(ctx context.Context, orgId string, defId string, body UpdateResourceDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostOrgsOrgIdResourcesDefsDefIdCriteriaWithBody request with any body - PostOrgsOrgIdResourcesDefsDefIdCriteriaWithBody(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // CreateResourceDefinitionCriteriaWithBody request with any body + CreateResourceDefinitionCriteriaWithBody(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PostOrgsOrgIdResourcesDefsDefIdCriteria(ctx context.Context, orgId string, defId string, body PostOrgsOrgIdResourcesDefsDefIdCriteriaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + CreateResourceDefinitionCriteria(ctx context.Context, orgId string, defId string, body CreateResourceDefinitionCriteriaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PutOrgsOrgIdResourcesDefsDefIdCriteriaWithBody request with any body - PutOrgsOrgIdResourcesDefsDefIdCriteriaWithBody(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // UpdateResourceDefinitionCriteriaWithBody request with any body + UpdateResourceDefinitionCriteriaWithBody(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PutOrgsOrgIdResourcesDefsDefIdCriteria(ctx context.Context, orgId string, defId string, body PutOrgsOrgIdResourcesDefsDefIdCriteriaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + UpdateResourceDefinitionCriteria(ctx context.Context, orgId string, defId string, body UpdateResourceDefinitionCriteriaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaId request - DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaId(ctx context.Context, orgId string, defId string, criteriaId string, params *DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteResourceDefinitionCriteria request + DeleteResourceDefinitionCriteria(ctx context.Context, orgId string, defId string, criteriaId string, params *DeleteResourceDefinitionCriteriaParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetOrgsOrgIdResourcesDefsDefIdResources request - GetOrgsOrgIdResourcesDefsDefIdResources(ctx context.Context, orgId string, defId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // ListActiveResourceByDefinition request + ListActiveResourceByDefinition(ctx context.Context, orgId string, defId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetOrgsOrgIdResourcesDrivers request - GetOrgsOrgIdResourcesDrivers(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // ListResourceDrivers request + ListResourceDrivers(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostOrgsOrgIdResourcesDriversWithBody request with any body - PostOrgsOrgIdResourcesDriversWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // CreateResourceDriverWithBody request with any body + CreateResourceDriverWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PostOrgsOrgIdResourcesDrivers(ctx context.Context, orgId string, body PostOrgsOrgIdResourcesDriversJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + CreateResourceDriver(ctx context.Context, orgId string, body CreateResourceDriverJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DeleteOrgsOrgIdResourcesDriversDriverId request - DeleteOrgsOrgIdResourcesDriversDriverId(ctx context.Context, orgId string, driverId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteResourceDriver request + DeleteResourceDriver(ctx context.Context, orgId string, driverId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetOrgsOrgIdResourcesDriversDriverId request - GetOrgsOrgIdResourcesDriversDriverId(ctx context.Context, orgId string, driverId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetResourceDriver request + GetResourceDriver(ctx context.Context, orgId string, driverId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // PutOrgsOrgIdResourcesDriversDriverIdWithBody request with any body - PutOrgsOrgIdResourcesDriversDriverIdWithBody(ctx context.Context, orgId string, driverId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // UpdateResourceDriverWithBody request with any body + UpdateResourceDriverWithBody(ctx context.Context, orgId string, driverId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PutOrgsOrgIdResourcesDriversDriverId(ctx context.Context, orgId string, driverId string, body PutOrgsOrgIdResourcesDriversDriverIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + UpdateResourceDriver(ctx context.Context, orgId string, driverId string, body UpdateResourceDriverJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetOrgsOrgIdResourcesTypes request - GetOrgsOrgIdResourcesTypes(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // ListResourceTypes request + ListResourceTypes(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetOrgsOrgIdSecretstores request GetOrgsOrgIdSecretstores(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -5082,24 +5129,24 @@ type ClientInterface interface { PatchOrgsOrgIdSecretstoresStoreId(ctx context.Context, orgId string, storeId string, body PatchOrgsOrgIdSecretstoresStoreIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetOrgsOrgIdUsers request - GetOrgsOrgIdUsers(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // ListUserRolesInOrg request + ListUserRolesInOrg(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostOrgsOrgIdUsersWithBody request with any body - PostOrgsOrgIdUsersWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // CreateServiceUserInOrgWithBody request with any body + CreateServiceUserInOrgWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PostOrgsOrgIdUsers(ctx context.Context, orgId string, body PostOrgsOrgIdUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + CreateServiceUserInOrg(ctx context.Context, orgId string, body CreateServiceUserInOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DeleteOrgsOrgIdUsersUserId request - DeleteOrgsOrgIdUsersUserId(ctx context.Context, orgId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteUserRoleInOrg request + DeleteUserRoleInOrg(ctx context.Context, orgId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetOrgsOrgIdUsersUserId request - GetOrgsOrgIdUsersUserId(ctx context.Context, orgId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetUserRoleInOrg request + GetUserRoleInOrg(ctx context.Context, orgId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // PatchOrgsOrgIdUsersUserIdWithBody request with any body - PatchOrgsOrgIdUsersUserIdWithBody(ctx context.Context, orgId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // UpdateUserRoleInOrgWithBody request with any body + UpdateUserRoleInOrgWithBody(ctx context.Context, orgId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PatchOrgsOrgIdUsersUserId(ctx context.Context, orgId string, userId string, body PatchOrgsOrgIdUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + UpdateUserRoleInOrg(ctx context.Context, orgId string, userId string, body UpdateUserRoleInOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListWorkloadProfileChartVersions request ListWorkloadProfileChartVersions(ctx context.Context, orgId OrgIdPathParam, params *ListWorkloadProfileChartVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -5135,25 +5182,25 @@ type ClientInterface interface { // GetLatestWorkloadProfileVersion request GetLatestWorkloadProfileVersion(ctx context.Context, orgId OrgIdPathParam, profileQid ProfileQidPathParam, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetTokens request - GetTokens(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // ListTokens request + ListTokens(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) - // DeleteTokensTokenId request - DeleteTokensTokenId(ctx context.Context, tokenId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteToken request + DeleteToken(ctx context.Context, tokenId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetUsersUserIdTokens request - GetUsersUserIdTokens(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // ListUserTokens request + ListUserTokens(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostUsersUserIdTokensWithBody request with any body - PostUsersUserIdTokensWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // CreateUserTokenWithBody request with any body + CreateUserTokenWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - PostUsersUserIdTokens(ctx context.Context, userId string, body PostUsersUserIdTokensJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + CreateUserToken(ctx context.Context, userId string, body CreateUserTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DeleteUsersUserIdTokensTokenId request - DeleteUsersUserIdTokensTokenId(ctx context.Context, userId string, tokenId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteUserToken request + DeleteUserToken(ctx context.Context, userId string, tokenId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetUsersUserIdTokensTokenId request - GetUsersUserIdTokensTokenId(ctx context.Context, userId string, tokenId string, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetUserToken request + GetUserToken(ctx context.Context, userId string, tokenId string, reqEditors ...RequestEditorFn) (*http.Response, error) } func (c *Client) GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { @@ -5168,8 +5215,8 @@ func (c *Client) GetCurrentUser(ctx context.Context, reqEditors ...RequestEditor return c.Client.Do(req) } -func (c *Client) PatchCurrentUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPatchCurrentUserRequestWithBody(c.Server, contentType, body) +func (c *Client) UpdateCurrentUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateCurrentUserRequestWithBody(c.Server, contentType, body) if err != nil { return nil, err } @@ -5180,8 +5227,8 @@ func (c *Client) PatchCurrentUserWithBody(ctx context.Context, contentType strin return c.Client.Do(req) } -func (c *Client) PatchCurrentUser(ctx context.Context, body PatchCurrentUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPatchCurrentUserRequest(c.Server, body) +func (c *Client) UpdateCurrentUser(ctx context.Context, body UpdateCurrentUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateCurrentUserRequest(c.Server, body) if err != nil { return nil, err } @@ -5336,8 +5383,8 @@ func (c *Client) DeleteKeyInAgent(ctx context.Context, orgId OrgIdPathParam, age return c.Client.Do(req) } -func (c *Client) GetOrgsOrgIdApps(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetOrgsOrgIdAppsRequest(c.Server, orgId) +func (c *Client) ListApplications(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewListApplicationsRequest(c.Server, orgId) if err != nil { return nil, err } @@ -5348,8 +5395,8 @@ func (c *Client) GetOrgsOrgIdApps(ctx context.Context, orgId string, reqEditors return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdAppsWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdAppsRequestWithBody(c.Server, orgId, contentType, body) +func (c *Client) CreateApplicationWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateApplicationRequestWithBody(c.Server, orgId, contentType, body) if err != nil { return nil, err } @@ -5360,8 +5407,8 @@ func (c *Client) PostOrgsOrgIdAppsWithBody(ctx context.Context, orgId string, co return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdApps(ctx context.Context, orgId string, body PostOrgsOrgIdAppsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdAppsRequest(c.Server, orgId, body) +func (c *Client) CreateApplication(ctx context.Context, orgId string, body CreateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateApplicationRequest(c.Server, orgId, body) if err != nil { return nil, err } @@ -5372,8 +5419,8 @@ func (c *Client) PostOrgsOrgIdApps(ctx context.Context, orgId string, body PostO return c.Client.Do(req) } -func (c *Client) DeleteOrgsOrgIdAppsAppId(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteOrgsOrgIdAppsAppIdRequest(c.Server, orgId, appId) +func (c *Client) DeleteApplication(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteApplicationRequest(c.Server, orgId, appId) if err != nil { return nil, err } @@ -5384,8 +5431,8 @@ func (c *Client) DeleteOrgsOrgIdAppsAppId(ctx context.Context, orgId string, app return c.Client.Do(req) } -func (c *Client) GetOrgsOrgIdAppsAppId(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetOrgsOrgIdAppsAppIdRequest(c.Server, orgId, appId) +func (c *Client) GetApplication(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetApplicationRequest(c.Server, orgId, appId) if err != nil { return nil, err } @@ -5576,8 +5623,8 @@ func (c *Client) PutOrgsOrgIdAppsAppIdDeltasDeltaIdMetadataName(ctx context.Cont return c.Client.Do(req) } -func (c *Client) GetOrgsOrgIdAppsAppIdEnvs(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetOrgsOrgIdAppsAppIdEnvsRequest(c.Server, orgId, appId) +func (c *Client) ListEnvironments(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewListEnvironmentsRequest(c.Server, orgId, appId) if err != nil { return nil, err } @@ -5588,8 +5635,8 @@ func (c *Client) GetOrgsOrgIdAppsAppIdEnvs(ctx context.Context, orgId string, ap return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdAppsAppIdEnvsWithBody(ctx context.Context, orgId string, appId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdAppsAppIdEnvsRequestWithBody(c.Server, orgId, appId, contentType, body) +func (c *Client) CreateEnvironmentWithBody(ctx context.Context, orgId string, appId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateEnvironmentRequestWithBody(c.Server, orgId, appId, contentType, body) if err != nil { return nil, err } @@ -5600,8 +5647,8 @@ func (c *Client) PostOrgsOrgIdAppsAppIdEnvsWithBody(ctx context.Context, orgId s return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdAppsAppIdEnvs(ctx context.Context, orgId string, appId string, body PostOrgsOrgIdAppsAppIdEnvsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdAppsAppIdEnvsRequest(c.Server, orgId, appId, body) +func (c *Client) CreateEnvironment(ctx context.Context, orgId string, appId string, body CreateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateEnvironmentRequest(c.Server, orgId, appId, body) if err != nil { return nil, err } @@ -5612,8 +5659,8 @@ func (c *Client) PostOrgsOrgIdAppsAppIdEnvs(ctx context.Context, orgId string, a return c.Client.Do(req) } -func (c *Client) DeleteOrgsOrgIdAppsAppIdEnvsEnvId(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteOrgsOrgIdAppsAppIdEnvsEnvIdRequest(c.Server, orgId, appId, envId) +func (c *Client) DeleteEnvironment(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteEnvironmentRequest(c.Server, orgId, appId, envId) if err != nil { return nil, err } @@ -5624,8 +5671,8 @@ func (c *Client) DeleteOrgsOrgIdAppsAppIdEnvsEnvId(ctx context.Context, orgId st return c.Client.Do(req) } -func (c *Client) GetOrgsOrgIdAppsAppIdEnvsEnvId(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetOrgsOrgIdAppsAppIdEnvsEnvIdRequest(c.Server, orgId, appId, envId) +func (c *Client) GetEnvironment(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetEnvironmentRequest(c.Server, orgId, appId, envId) if err != nil { return nil, err } @@ -5648,8 +5695,8 @@ func (c *Client) ListDeployments(ctx context.Context, orgId string, appId string return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysWithBody(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysRequestWithBody(c.Server, orgId, appId, envId, contentType, body) +func (c *Client) CreateDeploymentWithBody(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateDeploymentRequestWithBody(c.Server, orgId, appId, envId, contentType, body) if err != nil { return nil, err } @@ -5660,8 +5707,8 @@ func (c *Client) PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysWithBody(ctx context.Cont return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploys(ctx context.Context, orgId string, appId string, envId string, body PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysRequest(c.Server, orgId, appId, envId, body) +func (c *Client) CreateDeployment(ctx context.Context, orgId string, appId string, envId string, body CreateDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateDeploymentRequest(c.Server, orgId, appId, envId, body) if err != nil { return nil, err } @@ -5696,8 +5743,8 @@ func (c *Client) ListDeploymentErrors(ctx context.Context, orgId string, appId s return c.Client.Do(req) } -func (c *Client) PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdWithBody(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdRequestWithBody(c.Server, orgId, appId, envId, contentType, body) +func (c *Client) RebaseEnvironmentWithBody(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewRebaseEnvironmentRequestWithBody(c.Server, orgId, appId, envId, contentType, body) if err != nil { return nil, err } @@ -5708,8 +5755,8 @@ func (c *Client) PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdWithBody(ctx context. return c.Client.Do(req) } -func (c *Client) PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployId(ctx context.Context, orgId string, appId string, envId string, body PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdRequest(c.Server, orgId, appId, envId, body) +func (c *Client) RebaseEnvironment(ctx context.Context, orgId string, appId string, envId string, body RebaseEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewRebaseEnvironmentRequest(c.Server, orgId, appId, envId, body) if err != nil { return nil, err } @@ -5720,8 +5767,8 @@ func (c *Client) PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployId(ctx context.Context, return c.Client.Do(req) } -func (c *Client) GetOrgsOrgIdAppsAppIdEnvsEnvIdResources(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesRequest(c.Server, orgId, appId, envId) +func (c *Client) ListActiveResources(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewListActiveResourcesRequest(c.Server, orgId, appId, envId) if err != nil { return nil, err } @@ -5732,8 +5779,8 @@ func (c *Client) GetOrgsOrgIdAppsAppIdEnvsEnvIdResources(ctx context.Context, or return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphWithBody(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphRequestWithBody(c.Server, orgId, appId, envId, contentType, body) +func (c *Client) QueryResourceGraphWithBody(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewQueryResourceGraphRequestWithBody(c.Server, orgId, appId, envId, contentType, body) if err != nil { return nil, err } @@ -5744,8 +5791,8 @@ func (c *Client) PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphWithBody(ctx conte return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraph(ctx context.Context, orgId string, appId string, envId string, body PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphRequest(c.Server, orgId, appId, envId, body) +func (c *Client) QueryResourceGraph(ctx context.Context, orgId string, appId string, envId string, body QueryResourceGraphJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewQueryResourceGraphRequest(c.Server, orgId, appId, envId, body) if err != nil { return nil, err } @@ -5756,8 +5803,8 @@ func (c *Client) PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraph(ctx context.Conte return c.Client.Do(req) } -func (c *Client) DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResId(ctx context.Context, orgId string, appId string, envId string, pType string, resId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResIdRequest(c.Server, orgId, appId, envId, pType, resId) +func (c *Client) DeleteActiveResource(ctx context.Context, orgId string, appId string, envId string, pType string, resId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteActiveResourceRequest(c.Server, orgId, appId, envId, pType, resId) if err != nil { return nil, err } @@ -6512,8 +6559,8 @@ func (c *Client) GetOrgsOrgIdAppsAppIdSetsSetIdDiffSourceSetId(ctx context.Conte return c.Client.Do(req) } -func (c *Client) GetOrgsOrgIdAppsAppIdUsers(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetOrgsOrgIdAppsAppIdUsersRequest(c.Server, orgId, appId) +func (c *Client) ListUserRolesInApp(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewListUserRolesInAppRequest(c.Server, orgId, appId) if err != nil { return nil, err } @@ -6524,8 +6571,8 @@ func (c *Client) GetOrgsOrgIdAppsAppIdUsers(ctx context.Context, orgId string, a return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdAppsAppIdUsersWithBody(ctx context.Context, orgId string, appId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdAppsAppIdUsersRequestWithBody(c.Server, orgId, appId, contentType, body) +func (c *Client) CreateUserRoleInAppWithBody(ctx context.Context, orgId string, appId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateUserRoleInAppRequestWithBody(c.Server, orgId, appId, contentType, body) if err != nil { return nil, err } @@ -6536,8 +6583,8 @@ func (c *Client) PostOrgsOrgIdAppsAppIdUsersWithBody(ctx context.Context, orgId return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdAppsAppIdUsers(ctx context.Context, orgId string, appId string, body PostOrgsOrgIdAppsAppIdUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdAppsAppIdUsersRequest(c.Server, orgId, appId, body) +func (c *Client) CreateUserRoleInApp(ctx context.Context, orgId string, appId string, body CreateUserRoleInAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateUserRoleInAppRequest(c.Server, orgId, appId, body) if err != nil { return nil, err } @@ -6548,8 +6595,8 @@ func (c *Client) PostOrgsOrgIdAppsAppIdUsers(ctx context.Context, orgId string, return c.Client.Do(req) } -func (c *Client) DeleteOrgsOrgIdAppsAppIdUsersUserId(ctx context.Context, orgId string, appId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteOrgsOrgIdAppsAppIdUsersUserIdRequest(c.Server, orgId, appId, userId) +func (c *Client) DeleteUserRoleInApp(ctx context.Context, orgId string, appId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteUserRoleInAppRequest(c.Server, orgId, appId, userId) if err != nil { return nil, err } @@ -6560,8 +6607,8 @@ func (c *Client) DeleteOrgsOrgIdAppsAppIdUsersUserId(ctx context.Context, orgId return c.Client.Do(req) } -func (c *Client) GetOrgsOrgIdAppsAppIdUsersUserId(ctx context.Context, orgId string, appId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetOrgsOrgIdAppsAppIdUsersUserIdRequest(c.Server, orgId, appId, userId) +func (c *Client) GetUserRoleInApp(ctx context.Context, orgId string, appId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetUserRoleInAppRequest(c.Server, orgId, appId, userId) if err != nil { return nil, err } @@ -6572,8 +6619,8 @@ func (c *Client) GetOrgsOrgIdAppsAppIdUsersUserId(ctx context.Context, orgId str return c.Client.Do(req) } -func (c *Client) PatchOrgsOrgIdAppsAppIdUsersUserIdWithBody(ctx context.Context, orgId string, appId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPatchOrgsOrgIdAppsAppIdUsersUserIdRequestWithBody(c.Server, orgId, appId, userId, contentType, body) +func (c *Client) UpdateUserRoleInAppWithBody(ctx context.Context, orgId string, appId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateUserRoleInAppRequestWithBody(c.Server, orgId, appId, userId, contentType, body) if err != nil { return nil, err } @@ -6584,8 +6631,8 @@ func (c *Client) PatchOrgsOrgIdAppsAppIdUsersUserIdWithBody(ctx context.Context, return c.Client.Do(req) } -func (c *Client) PatchOrgsOrgIdAppsAppIdUsersUserId(ctx context.Context, orgId string, appId string, userId string, body PatchOrgsOrgIdAppsAppIdUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPatchOrgsOrgIdAppsAppIdUsersUserIdRequest(c.Server, orgId, appId, userId, body) +func (c *Client) UpdateUserRoleInApp(ctx context.Context, orgId string, appId string, userId string, body UpdateUserRoleInAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateUserRoleInAppRequest(c.Server, orgId, appId, userId, body) if err != nil { return nil, err } @@ -7028,8 +7075,8 @@ func (c *Client) ListAuditLogEntries(ctx context.Context, orgId OrgIdPathParam, return c.Client.Do(req) } -func (c *Client) GetOrgsOrgIdEnvTypes(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetOrgsOrgIdEnvTypesRequest(c.Server, orgId) +func (c *Client) ListEnvironmentTypes(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewListEnvironmentTypesRequest(c.Server, orgId) if err != nil { return nil, err } @@ -7040,8 +7087,8 @@ func (c *Client) GetOrgsOrgIdEnvTypes(ctx context.Context, orgId string, reqEdit return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdEnvTypesWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdEnvTypesRequestWithBody(c.Server, orgId, contentType, body) +func (c *Client) CreateEnvironmentTypeWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateEnvironmentTypeRequestWithBody(c.Server, orgId, contentType, body) if err != nil { return nil, err } @@ -7052,8 +7099,8 @@ func (c *Client) PostOrgsOrgIdEnvTypesWithBody(ctx context.Context, orgId string return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdEnvTypes(ctx context.Context, orgId string, body PostOrgsOrgIdEnvTypesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdEnvTypesRequest(c.Server, orgId, body) +func (c *Client) CreateEnvironmentType(ctx context.Context, orgId string, body CreateEnvironmentTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateEnvironmentTypeRequest(c.Server, orgId, body) if err != nil { return nil, err } @@ -7064,8 +7111,8 @@ func (c *Client) PostOrgsOrgIdEnvTypes(ctx context.Context, orgId string, body P return c.Client.Do(req) } -func (c *Client) DeleteOrgsOrgIdEnvTypesEnvTypeId(ctx context.Context, orgId string, envTypeId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteOrgsOrgIdEnvTypesEnvTypeIdRequest(c.Server, orgId, envTypeId) +func (c *Client) DeleteEnvironmentType(ctx context.Context, orgId string, envTypeId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteEnvironmentTypeRequest(c.Server, orgId, envTypeId) if err != nil { return nil, err } @@ -7076,8 +7123,8 @@ func (c *Client) DeleteOrgsOrgIdEnvTypesEnvTypeId(ctx context.Context, orgId str return c.Client.Do(req) } -func (c *Client) GetOrgsOrgIdEnvTypesEnvTypeId(ctx context.Context, orgId string, envTypeId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetOrgsOrgIdEnvTypesEnvTypeIdRequest(c.Server, orgId, envTypeId) +func (c *Client) GetEnvironmentType(ctx context.Context, orgId string, envTypeId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetEnvironmentTypeRequest(c.Server, orgId, envTypeId) if err != nil { return nil, err } @@ -7088,8 +7135,8 @@ func (c *Client) GetOrgsOrgIdEnvTypesEnvTypeId(ctx context.Context, orgId string return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdEnvTypesEnvTypeUsersWithBody(ctx context.Context, orgId string, envType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdEnvTypesEnvTypeUsersRequestWithBody(c.Server, orgId, envType, contentType, body) +func (c *Client) CreateUserRoleInEnvTypeWithBody(ctx context.Context, orgId string, envType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateUserRoleInEnvTypeRequestWithBody(c.Server, orgId, envType, contentType, body) if err != nil { return nil, err } @@ -7100,8 +7147,8 @@ func (c *Client) PostOrgsOrgIdEnvTypesEnvTypeUsersWithBody(ctx context.Context, return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdEnvTypesEnvTypeUsers(ctx context.Context, orgId string, envType string, body PostOrgsOrgIdEnvTypesEnvTypeUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdEnvTypesEnvTypeUsersRequest(c.Server, orgId, envType, body) +func (c *Client) CreateUserRoleInEnvType(ctx context.Context, orgId string, envType string, body CreateUserRoleInEnvTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateUserRoleInEnvTypeRequest(c.Server, orgId, envType, body) if err != nil { return nil, err } @@ -7112,8 +7159,8 @@ func (c *Client) PostOrgsOrgIdEnvTypesEnvTypeUsers(ctx context.Context, orgId st return c.Client.Do(req) } -func (c *Client) DeleteOrgsOrgIdEnvTypesEnvTypeUsersUserId(ctx context.Context, orgId string, envType string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteOrgsOrgIdEnvTypesEnvTypeUsersUserIdRequest(c.Server, orgId, envType, userId) +func (c *Client) DeleteUserRoleInEnvType(ctx context.Context, orgId string, envType string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteUserRoleInEnvTypeRequest(c.Server, orgId, envType, userId) if err != nil { return nil, err } @@ -7124,8 +7171,8 @@ func (c *Client) DeleteOrgsOrgIdEnvTypesEnvTypeUsersUserId(ctx context.Context, return c.Client.Do(req) } -func (c *Client) GetOrgsOrgIdEnvTypesEnvTypeUsersUserId(ctx context.Context, orgId string, envType string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetOrgsOrgIdEnvTypesEnvTypeUsersUserIdRequest(c.Server, orgId, envType, userId) +func (c *Client) GetUserRoleInEnvType(ctx context.Context, orgId string, envType string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetUserRoleInEnvTypeRequest(c.Server, orgId, envType, userId) if err != nil { return nil, err } @@ -7136,8 +7183,8 @@ func (c *Client) GetOrgsOrgIdEnvTypesEnvTypeUsersUserId(ctx context.Context, org return c.Client.Do(req) } -func (c *Client) PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdWithBody(ctx context.Context, orgId string, envType string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdRequestWithBody(c.Server, orgId, envType, userId, contentType, body) +func (c *Client) UpdateUserRoleInEnvTypeWithBody(ctx context.Context, orgId string, envType string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateUserRoleInEnvTypeRequestWithBody(c.Server, orgId, envType, userId, contentType, body) if err != nil { return nil, err } @@ -7148,8 +7195,8 @@ func (c *Client) PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdWithBody(ctx context.Co return c.Client.Do(req) } -func (c *Client) PatchOrgsOrgIdEnvTypesEnvTypeUsersUserId(ctx context.Context, orgId string, envType string, userId string, body PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdRequest(c.Server, orgId, envType, userId, body) +func (c *Client) UpdateUserRoleInEnvType(ctx context.Context, orgId string, envType string, userId string, body UpdateUserRoleInEnvTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateUserRoleInEnvTypeRequest(c.Server, orgId, envType, userId, body) if err != nil { return nil, err } @@ -7244,8 +7291,8 @@ func (c *Client) CreateDeprecatedImageBuild(ctx context.Context, orgId string, i return c.Client.Do(req) } -func (c *Client) GetOrgsOrgIdInvitations(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetOrgsOrgIdInvitationsRequest(c.Server, orgId) +func (c *Client) ListInvitesInOrg(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewListInvitesInOrgRequest(c.Server, orgId) if err != nil { return nil, err } @@ -7256,8 +7303,8 @@ func (c *Client) GetOrgsOrgIdInvitations(ctx context.Context, orgId string, reqE return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdInvitationsWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdInvitationsRequestWithBody(c.Server, orgId, contentType, body) +func (c *Client) CreateInviteInOrgWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateInviteInOrgRequestWithBody(c.Server, orgId, contentType, body) if err != nil { return nil, err } @@ -7268,8 +7315,8 @@ func (c *Client) PostOrgsOrgIdInvitationsWithBody(ctx context.Context, orgId str return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdInvitations(ctx context.Context, orgId string, body PostOrgsOrgIdInvitationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdInvitationsRequest(c.Server, orgId, body) +func (c *Client) CreateInviteInOrg(ctx context.Context, orgId string, body CreateInviteInOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateInviteInOrgRequest(c.Server, orgId, body) if err != nil { return nil, err } @@ -7472,8 +7519,8 @@ func (c *Client) GetOrgsOrgIdRegistriesRegIdCreds(ctx context.Context, orgId str return c.Client.Do(req) } -func (c *Client) GetOrgsOrgIdResourcesAccountTypes(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetOrgsOrgIdResourcesAccountTypesRequest(c.Server, orgId) +func (c *Client) ListResourceAccountTypes(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewListResourceAccountTypesRequest(c.Server, orgId) if err != nil { return nil, err } @@ -7484,8 +7531,8 @@ func (c *Client) GetOrgsOrgIdResourcesAccountTypes(ctx context.Context, orgId st return c.Client.Do(req) } -func (c *Client) GetOrgsOrgIdResourcesAccounts(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetOrgsOrgIdResourcesAccountsRequest(c.Server, orgId) +func (c *Client) ListResourceAccounts(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewListResourceAccountsRequest(c.Server, orgId) if err != nil { return nil, err } @@ -7496,8 +7543,8 @@ func (c *Client) GetOrgsOrgIdResourcesAccounts(ctx context.Context, orgId string return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdResourcesAccountsWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdResourcesAccountsRequestWithBody(c.Server, orgId, contentType, body) +func (c *Client) CreateResourceAccountWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateResourceAccountRequestWithBody(c.Server, orgId, contentType, body) if err != nil { return nil, err } @@ -7508,8 +7555,8 @@ func (c *Client) PostOrgsOrgIdResourcesAccountsWithBody(ctx context.Context, org return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdResourcesAccounts(ctx context.Context, orgId string, body PostOrgsOrgIdResourcesAccountsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdResourcesAccountsRequest(c.Server, orgId, body) +func (c *Client) CreateResourceAccount(ctx context.Context, orgId string, body CreateResourceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateResourceAccountRequest(c.Server, orgId, body) if err != nil { return nil, err } @@ -7520,8 +7567,8 @@ func (c *Client) PostOrgsOrgIdResourcesAccounts(ctx context.Context, orgId strin return c.Client.Do(req) } -func (c *Client) DeleteOrgsOrgIdResourcesAccountsAccId(ctx context.Context, orgId string, accId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteOrgsOrgIdResourcesAccountsAccIdRequest(c.Server, orgId, accId) +func (c *Client) DeleteResourceAccount(ctx context.Context, orgId string, accId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteResourceAccountRequest(c.Server, orgId, accId) if err != nil { return nil, err } @@ -7532,8 +7579,8 @@ func (c *Client) DeleteOrgsOrgIdResourcesAccountsAccId(ctx context.Context, orgI return c.Client.Do(req) } -func (c *Client) GetOrgsOrgIdResourcesAccountsAccId(ctx context.Context, orgId string, accId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetOrgsOrgIdResourcesAccountsAccIdRequest(c.Server, orgId, accId) +func (c *Client) GetResourceAccount(ctx context.Context, orgId string, accId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetResourceAccountRequest(c.Server, orgId, accId) if err != nil { return nil, err } @@ -7544,8 +7591,8 @@ func (c *Client) GetOrgsOrgIdResourcesAccountsAccId(ctx context.Context, orgId s return c.Client.Do(req) } -func (c *Client) PatchOrgsOrgIdResourcesAccountsAccIdWithBody(ctx context.Context, orgId string, accId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPatchOrgsOrgIdResourcesAccountsAccIdRequestWithBody(c.Server, orgId, accId, contentType, body) +func (c *Client) PatchResourceAccountWithBody(ctx context.Context, orgId string, accId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPatchResourceAccountRequestWithBody(c.Server, orgId, accId, contentType, body) if err != nil { return nil, err } @@ -7556,8 +7603,8 @@ func (c *Client) PatchOrgsOrgIdResourcesAccountsAccIdWithBody(ctx context.Contex return c.Client.Do(req) } -func (c *Client) PatchOrgsOrgIdResourcesAccountsAccId(ctx context.Context, orgId string, accId string, body PatchOrgsOrgIdResourcesAccountsAccIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPatchOrgsOrgIdResourcesAccountsAccIdRequest(c.Server, orgId, accId, body) +func (c *Client) PatchResourceAccount(ctx context.Context, orgId string, accId string, body PatchResourceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPatchResourceAccountRequest(c.Server, orgId, accId, body) if err != nil { return nil, err } @@ -7568,8 +7615,8 @@ func (c *Client) PatchOrgsOrgIdResourcesAccountsAccId(ctx context.Context, orgId return c.Client.Do(req) } -func (c *Client) GetOrgsOrgIdResourcesDefs(ctx context.Context, orgId string, params *GetOrgsOrgIdResourcesDefsParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetOrgsOrgIdResourcesDefsRequest(c.Server, orgId, params) +func (c *Client) ListResourceDefinitions(ctx context.Context, orgId string, params *ListResourceDefinitionsParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewListResourceDefinitionsRequest(c.Server, orgId, params) if err != nil { return nil, err } @@ -7580,8 +7627,8 @@ func (c *Client) GetOrgsOrgIdResourcesDefs(ctx context.Context, orgId string, pa return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdResourcesDefsWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdResourcesDefsRequestWithBody(c.Server, orgId, contentType, body) +func (c *Client) CreateResourceDefinitionWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateResourceDefinitionRequestWithBody(c.Server, orgId, contentType, body) if err != nil { return nil, err } @@ -7592,8 +7639,8 @@ func (c *Client) PostOrgsOrgIdResourcesDefsWithBody(ctx context.Context, orgId s return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdResourcesDefs(ctx context.Context, orgId string, body PostOrgsOrgIdResourcesDefsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdResourcesDefsRequest(c.Server, orgId, body) +func (c *Client) CreateResourceDefinition(ctx context.Context, orgId string, body CreateResourceDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateResourceDefinitionRequest(c.Server, orgId, body) if err != nil { return nil, err } @@ -7604,8 +7651,8 @@ func (c *Client) PostOrgsOrgIdResourcesDefs(ctx context.Context, orgId string, b return c.Client.Do(req) } -func (c *Client) DeleteOrgsOrgIdResourcesDefsDefId(ctx context.Context, orgId string, defId string, params *DeleteOrgsOrgIdResourcesDefsDefIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteOrgsOrgIdResourcesDefsDefIdRequest(c.Server, orgId, defId, params) +func (c *Client) DeleteResourceDefinition(ctx context.Context, orgId string, defId string, params *DeleteResourceDefinitionParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteResourceDefinitionRequest(c.Server, orgId, defId, params) if err != nil { return nil, err } @@ -7616,8 +7663,8 @@ func (c *Client) DeleteOrgsOrgIdResourcesDefsDefId(ctx context.Context, orgId st return c.Client.Do(req) } -func (c *Client) GetOrgsOrgIdResourcesDefsDefId(ctx context.Context, orgId string, defId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetOrgsOrgIdResourcesDefsDefIdRequest(c.Server, orgId, defId) +func (c *Client) GetResourceDefinition(ctx context.Context, orgId string, defId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetResourceDefinitionRequest(c.Server, orgId, defId) if err != nil { return nil, err } @@ -7628,8 +7675,8 @@ func (c *Client) GetOrgsOrgIdResourcesDefsDefId(ctx context.Context, orgId strin return c.Client.Do(req) } -func (c *Client) PatchOrgsOrgIdResourcesDefsDefIdWithBody(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPatchOrgsOrgIdResourcesDefsDefIdRequestWithBody(c.Server, orgId, defId, contentType, body) +func (c *Client) PatchResourceDefinitionWithBody(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPatchResourceDefinitionRequestWithBody(c.Server, orgId, defId, contentType, body) if err != nil { return nil, err } @@ -7640,8 +7687,8 @@ func (c *Client) PatchOrgsOrgIdResourcesDefsDefIdWithBody(ctx context.Context, o return c.Client.Do(req) } -func (c *Client) PatchOrgsOrgIdResourcesDefsDefId(ctx context.Context, orgId string, defId string, body PatchOrgsOrgIdResourcesDefsDefIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPatchOrgsOrgIdResourcesDefsDefIdRequest(c.Server, orgId, defId, body) +func (c *Client) PatchResourceDefinition(ctx context.Context, orgId string, defId string, body PatchResourceDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPatchResourceDefinitionRequest(c.Server, orgId, defId, body) if err != nil { return nil, err } @@ -7652,8 +7699,8 @@ func (c *Client) PatchOrgsOrgIdResourcesDefsDefId(ctx context.Context, orgId str return c.Client.Do(req) } -func (c *Client) PutOrgsOrgIdResourcesDefsDefIdWithBody(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutOrgsOrgIdResourcesDefsDefIdRequestWithBody(c.Server, orgId, defId, contentType, body) +func (c *Client) UpdateResourceDefinitionWithBody(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateResourceDefinitionRequestWithBody(c.Server, orgId, defId, contentType, body) if err != nil { return nil, err } @@ -7664,8 +7711,8 @@ func (c *Client) PutOrgsOrgIdResourcesDefsDefIdWithBody(ctx context.Context, org return c.Client.Do(req) } -func (c *Client) PutOrgsOrgIdResourcesDefsDefId(ctx context.Context, orgId string, defId string, body PutOrgsOrgIdResourcesDefsDefIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutOrgsOrgIdResourcesDefsDefIdRequest(c.Server, orgId, defId, body) +func (c *Client) UpdateResourceDefinition(ctx context.Context, orgId string, defId string, body UpdateResourceDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateResourceDefinitionRequest(c.Server, orgId, defId, body) if err != nil { return nil, err } @@ -7676,8 +7723,8 @@ func (c *Client) PutOrgsOrgIdResourcesDefsDefId(ctx context.Context, orgId strin return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdResourcesDefsDefIdCriteriaWithBody(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdResourcesDefsDefIdCriteriaRequestWithBody(c.Server, orgId, defId, contentType, body) +func (c *Client) CreateResourceDefinitionCriteriaWithBody(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateResourceDefinitionCriteriaRequestWithBody(c.Server, orgId, defId, contentType, body) if err != nil { return nil, err } @@ -7688,8 +7735,8 @@ func (c *Client) PostOrgsOrgIdResourcesDefsDefIdCriteriaWithBody(ctx context.Con return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdResourcesDefsDefIdCriteria(ctx context.Context, orgId string, defId string, body PostOrgsOrgIdResourcesDefsDefIdCriteriaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdResourcesDefsDefIdCriteriaRequest(c.Server, orgId, defId, body) +func (c *Client) CreateResourceDefinitionCriteria(ctx context.Context, orgId string, defId string, body CreateResourceDefinitionCriteriaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateResourceDefinitionCriteriaRequest(c.Server, orgId, defId, body) if err != nil { return nil, err } @@ -7700,8 +7747,8 @@ func (c *Client) PostOrgsOrgIdResourcesDefsDefIdCriteria(ctx context.Context, or return c.Client.Do(req) } -func (c *Client) PutOrgsOrgIdResourcesDefsDefIdCriteriaWithBody(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutOrgsOrgIdResourcesDefsDefIdCriteriaRequestWithBody(c.Server, orgId, defId, contentType, body) +func (c *Client) UpdateResourceDefinitionCriteriaWithBody(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateResourceDefinitionCriteriaRequestWithBody(c.Server, orgId, defId, contentType, body) if err != nil { return nil, err } @@ -7712,8 +7759,8 @@ func (c *Client) PutOrgsOrgIdResourcesDefsDefIdCriteriaWithBody(ctx context.Cont return c.Client.Do(req) } -func (c *Client) PutOrgsOrgIdResourcesDefsDefIdCriteria(ctx context.Context, orgId string, defId string, body PutOrgsOrgIdResourcesDefsDefIdCriteriaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutOrgsOrgIdResourcesDefsDefIdCriteriaRequest(c.Server, orgId, defId, body) +func (c *Client) UpdateResourceDefinitionCriteria(ctx context.Context, orgId string, defId string, body UpdateResourceDefinitionCriteriaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateResourceDefinitionCriteriaRequest(c.Server, orgId, defId, body) if err != nil { return nil, err } @@ -7724,8 +7771,8 @@ func (c *Client) PutOrgsOrgIdResourcesDefsDefIdCriteria(ctx context.Context, org return c.Client.Do(req) } -func (c *Client) DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaId(ctx context.Context, orgId string, defId string, criteriaId string, params *DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdRequest(c.Server, orgId, defId, criteriaId, params) +func (c *Client) DeleteResourceDefinitionCriteria(ctx context.Context, orgId string, defId string, criteriaId string, params *DeleteResourceDefinitionCriteriaParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteResourceDefinitionCriteriaRequest(c.Server, orgId, defId, criteriaId, params) if err != nil { return nil, err } @@ -7736,8 +7783,8 @@ func (c *Client) DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaId(ctx context return c.Client.Do(req) } -func (c *Client) GetOrgsOrgIdResourcesDefsDefIdResources(ctx context.Context, orgId string, defId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetOrgsOrgIdResourcesDefsDefIdResourcesRequest(c.Server, orgId, defId) +func (c *Client) ListActiveResourceByDefinition(ctx context.Context, orgId string, defId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewListActiveResourceByDefinitionRequest(c.Server, orgId, defId) if err != nil { return nil, err } @@ -7748,8 +7795,8 @@ func (c *Client) GetOrgsOrgIdResourcesDefsDefIdResources(ctx context.Context, or return c.Client.Do(req) } -func (c *Client) GetOrgsOrgIdResourcesDrivers(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetOrgsOrgIdResourcesDriversRequest(c.Server, orgId) +func (c *Client) ListResourceDrivers(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewListResourceDriversRequest(c.Server, orgId) if err != nil { return nil, err } @@ -7760,8 +7807,8 @@ func (c *Client) GetOrgsOrgIdResourcesDrivers(ctx context.Context, orgId string, return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdResourcesDriversWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdResourcesDriversRequestWithBody(c.Server, orgId, contentType, body) +func (c *Client) CreateResourceDriverWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateResourceDriverRequestWithBody(c.Server, orgId, contentType, body) if err != nil { return nil, err } @@ -7772,8 +7819,8 @@ func (c *Client) PostOrgsOrgIdResourcesDriversWithBody(ctx context.Context, orgI return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdResourcesDrivers(ctx context.Context, orgId string, body PostOrgsOrgIdResourcesDriversJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdResourcesDriversRequest(c.Server, orgId, body) +func (c *Client) CreateResourceDriver(ctx context.Context, orgId string, body CreateResourceDriverJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateResourceDriverRequest(c.Server, orgId, body) if err != nil { return nil, err } @@ -7784,8 +7831,8 @@ func (c *Client) PostOrgsOrgIdResourcesDrivers(ctx context.Context, orgId string return c.Client.Do(req) } -func (c *Client) DeleteOrgsOrgIdResourcesDriversDriverId(ctx context.Context, orgId string, driverId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteOrgsOrgIdResourcesDriversDriverIdRequest(c.Server, orgId, driverId) +func (c *Client) DeleteResourceDriver(ctx context.Context, orgId string, driverId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteResourceDriverRequest(c.Server, orgId, driverId) if err != nil { return nil, err } @@ -7796,8 +7843,8 @@ func (c *Client) DeleteOrgsOrgIdResourcesDriversDriverId(ctx context.Context, or return c.Client.Do(req) } -func (c *Client) GetOrgsOrgIdResourcesDriversDriverId(ctx context.Context, orgId string, driverId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetOrgsOrgIdResourcesDriversDriverIdRequest(c.Server, orgId, driverId) +func (c *Client) GetResourceDriver(ctx context.Context, orgId string, driverId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetResourceDriverRequest(c.Server, orgId, driverId) if err != nil { return nil, err } @@ -7808,8 +7855,8 @@ func (c *Client) GetOrgsOrgIdResourcesDriversDriverId(ctx context.Context, orgId return c.Client.Do(req) } -func (c *Client) PutOrgsOrgIdResourcesDriversDriverIdWithBody(ctx context.Context, orgId string, driverId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutOrgsOrgIdResourcesDriversDriverIdRequestWithBody(c.Server, orgId, driverId, contentType, body) +func (c *Client) UpdateResourceDriverWithBody(ctx context.Context, orgId string, driverId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateResourceDriverRequestWithBody(c.Server, orgId, driverId, contentType, body) if err != nil { return nil, err } @@ -7820,8 +7867,8 @@ func (c *Client) PutOrgsOrgIdResourcesDriversDriverIdWithBody(ctx context.Contex return c.Client.Do(req) } -func (c *Client) PutOrgsOrgIdResourcesDriversDriverId(ctx context.Context, orgId string, driverId string, body PutOrgsOrgIdResourcesDriversDriverIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutOrgsOrgIdResourcesDriversDriverIdRequest(c.Server, orgId, driverId, body) +func (c *Client) UpdateResourceDriver(ctx context.Context, orgId string, driverId string, body UpdateResourceDriverJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateResourceDriverRequest(c.Server, orgId, driverId, body) if err != nil { return nil, err } @@ -7832,8 +7879,8 @@ func (c *Client) PutOrgsOrgIdResourcesDriversDriverId(ctx context.Context, orgId return c.Client.Do(req) } -func (c *Client) GetOrgsOrgIdResourcesTypes(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetOrgsOrgIdResourcesTypesRequest(c.Server, orgId) +func (c *Client) ListResourceTypes(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewListResourceTypesRequest(c.Server, orgId) if err != nil { return nil, err } @@ -7928,8 +7975,8 @@ func (c *Client) PatchOrgsOrgIdSecretstoresStoreId(ctx context.Context, orgId st return c.Client.Do(req) } -func (c *Client) GetOrgsOrgIdUsers(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetOrgsOrgIdUsersRequest(c.Server, orgId) +func (c *Client) ListUserRolesInOrg(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewListUserRolesInOrgRequest(c.Server, orgId) if err != nil { return nil, err } @@ -7940,8 +7987,8 @@ func (c *Client) GetOrgsOrgIdUsers(ctx context.Context, orgId string, reqEditors return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdUsersWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdUsersRequestWithBody(c.Server, orgId, contentType, body) +func (c *Client) CreateServiceUserInOrgWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateServiceUserInOrgRequestWithBody(c.Server, orgId, contentType, body) if err != nil { return nil, err } @@ -7952,8 +7999,8 @@ func (c *Client) PostOrgsOrgIdUsersWithBody(ctx context.Context, orgId string, c return c.Client.Do(req) } -func (c *Client) PostOrgsOrgIdUsers(ctx context.Context, orgId string, body PostOrgsOrgIdUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostOrgsOrgIdUsersRequest(c.Server, orgId, body) +func (c *Client) CreateServiceUserInOrg(ctx context.Context, orgId string, body CreateServiceUserInOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateServiceUserInOrgRequest(c.Server, orgId, body) if err != nil { return nil, err } @@ -7964,8 +8011,8 @@ func (c *Client) PostOrgsOrgIdUsers(ctx context.Context, orgId string, body Post return c.Client.Do(req) } -func (c *Client) DeleteOrgsOrgIdUsersUserId(ctx context.Context, orgId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteOrgsOrgIdUsersUserIdRequest(c.Server, orgId, userId) +func (c *Client) DeleteUserRoleInOrg(ctx context.Context, orgId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteUserRoleInOrgRequest(c.Server, orgId, userId) if err != nil { return nil, err } @@ -7976,8 +8023,8 @@ func (c *Client) DeleteOrgsOrgIdUsersUserId(ctx context.Context, orgId string, u return c.Client.Do(req) } -func (c *Client) GetOrgsOrgIdUsersUserId(ctx context.Context, orgId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetOrgsOrgIdUsersUserIdRequest(c.Server, orgId, userId) +func (c *Client) GetUserRoleInOrg(ctx context.Context, orgId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetUserRoleInOrgRequest(c.Server, orgId, userId) if err != nil { return nil, err } @@ -7988,8 +8035,8 @@ func (c *Client) GetOrgsOrgIdUsersUserId(ctx context.Context, orgId string, user return c.Client.Do(req) } -func (c *Client) PatchOrgsOrgIdUsersUserIdWithBody(ctx context.Context, orgId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPatchOrgsOrgIdUsersUserIdRequestWithBody(c.Server, orgId, userId, contentType, body) +func (c *Client) UpdateUserRoleInOrgWithBody(ctx context.Context, orgId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateUserRoleInOrgRequestWithBody(c.Server, orgId, userId, contentType, body) if err != nil { return nil, err } @@ -8000,8 +8047,8 @@ func (c *Client) PatchOrgsOrgIdUsersUserIdWithBody(ctx context.Context, orgId st return c.Client.Do(req) } -func (c *Client) PatchOrgsOrgIdUsersUserId(ctx context.Context, orgId string, userId string, body PatchOrgsOrgIdUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPatchOrgsOrgIdUsersUserIdRequest(c.Server, orgId, userId, body) +func (c *Client) UpdateUserRoleInOrg(ctx context.Context, orgId string, userId string, body UpdateUserRoleInOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUpdateUserRoleInOrgRequest(c.Server, orgId, userId, body) if err != nil { return nil, err } @@ -8156,8 +8203,8 @@ func (c *Client) GetLatestWorkloadProfileVersion(ctx context.Context, orgId OrgI return c.Client.Do(req) } -func (c *Client) GetTokens(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetTokensRequest(c.Server) +func (c *Client) ListTokens(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewListTokensRequest(c.Server) if err != nil { return nil, err } @@ -8168,8 +8215,8 @@ func (c *Client) GetTokens(ctx context.Context, reqEditors ...RequestEditorFn) ( return c.Client.Do(req) } -func (c *Client) DeleteTokensTokenId(ctx context.Context, tokenId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteTokensTokenIdRequest(c.Server, tokenId) +func (c *Client) DeleteToken(ctx context.Context, tokenId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteTokenRequest(c.Server, tokenId) if err != nil { return nil, err } @@ -8180,8 +8227,8 @@ func (c *Client) DeleteTokensTokenId(ctx context.Context, tokenId string, reqEdi return c.Client.Do(req) } -func (c *Client) GetUsersUserIdTokens(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetUsersUserIdTokensRequest(c.Server, userId) +func (c *Client) ListUserTokens(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewListUserTokensRequest(c.Server, userId) if err != nil { return nil, err } @@ -8192,8 +8239,8 @@ func (c *Client) GetUsersUserIdTokens(ctx context.Context, userId string, reqEdi return c.Client.Do(req) } -func (c *Client) PostUsersUserIdTokensWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostUsersUserIdTokensRequestWithBody(c.Server, userId, contentType, body) +func (c *Client) CreateUserTokenWithBody(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateUserTokenRequestWithBody(c.Server, userId, contentType, body) if err != nil { return nil, err } @@ -8204,8 +8251,8 @@ func (c *Client) PostUsersUserIdTokensWithBody(ctx context.Context, userId strin return c.Client.Do(req) } -func (c *Client) PostUsersUserIdTokens(ctx context.Context, userId string, body PostUsersUserIdTokensJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostUsersUserIdTokensRequest(c.Server, userId, body) +func (c *Client) CreateUserToken(ctx context.Context, userId string, body CreateUserTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCreateUserTokenRequest(c.Server, userId, body) if err != nil { return nil, err } @@ -8216,8 +8263,8 @@ func (c *Client) PostUsersUserIdTokens(ctx context.Context, userId string, body return c.Client.Do(req) } -func (c *Client) DeleteUsersUserIdTokensTokenId(ctx context.Context, userId string, tokenId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteUsersUserIdTokensTokenIdRequest(c.Server, userId, tokenId) +func (c *Client) DeleteUserToken(ctx context.Context, userId string, tokenId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteUserTokenRequest(c.Server, userId, tokenId) if err != nil { return nil, err } @@ -8228,8 +8275,8 @@ func (c *Client) DeleteUsersUserIdTokensTokenId(ctx context.Context, userId stri return c.Client.Do(req) } -func (c *Client) GetUsersUserIdTokensTokenId(ctx context.Context, userId string, tokenId string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetUsersUserIdTokensTokenIdRequest(c.Server, userId, tokenId) +func (c *Client) GetUserToken(ctx context.Context, userId string, tokenId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetUserTokenRequest(c.Server, userId, tokenId) if err != nil { return nil, err } @@ -8267,19 +8314,19 @@ func NewGetCurrentUserRequest(server string) (*http.Request, error) { return req, nil } -// NewPatchCurrentUserRequest calls the generic PatchCurrentUser builder with application/json body -func NewPatchCurrentUserRequest(server string, body PatchCurrentUserJSONRequestBody) (*http.Request, error) { +// NewUpdateCurrentUserRequest calls the generic UpdateCurrentUser builder with application/json body +func NewUpdateCurrentUserRequest(server string, body UpdateCurrentUserJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPatchCurrentUserRequestWithBody(server, "application/json", bodyReader) + return NewUpdateCurrentUserRequestWithBody(server, "application/json", bodyReader) } -// NewPatchCurrentUserRequestWithBody generates requests for PatchCurrentUser with any type of body -func NewPatchCurrentUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { +// NewUpdateCurrentUserRequestWithBody generates requests for UpdateCurrentUser with any type of body +func NewUpdateCurrentUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -8709,8 +8756,8 @@ func NewDeleteKeyInAgentRequest(server string, orgId OrgIdPathParam, agentId Age return req, nil } -// NewGetOrgsOrgIdAppsRequest generates requests for GetOrgsOrgIdApps -func NewGetOrgsOrgIdAppsRequest(server string, orgId string) (*http.Request, error) { +// NewListApplicationsRequest generates requests for ListApplications +func NewListApplicationsRequest(server string, orgId string) (*http.Request, error) { var err error var pathParam0 string @@ -8743,19 +8790,19 @@ func NewGetOrgsOrgIdAppsRequest(server string, orgId string) (*http.Request, err return req, nil } -// NewPostOrgsOrgIdAppsRequest calls the generic PostOrgsOrgIdApps builder with application/json body -func NewPostOrgsOrgIdAppsRequest(server string, orgId string, body PostOrgsOrgIdAppsJSONRequestBody) (*http.Request, error) { +// NewCreateApplicationRequest calls the generic CreateApplication builder with application/json body +func NewCreateApplicationRequest(server string, orgId string, body CreateApplicationJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPostOrgsOrgIdAppsRequestWithBody(server, orgId, "application/json", bodyReader) + return NewCreateApplicationRequestWithBody(server, orgId, "application/json", bodyReader) } -// NewPostOrgsOrgIdAppsRequestWithBody generates requests for PostOrgsOrgIdApps with any type of body -func NewPostOrgsOrgIdAppsRequestWithBody(server string, orgId string, contentType string, body io.Reader) (*http.Request, error) { +// NewCreateApplicationRequestWithBody generates requests for CreateApplication with any type of body +func NewCreateApplicationRequestWithBody(server string, orgId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -8790,8 +8837,8 @@ func NewPostOrgsOrgIdAppsRequestWithBody(server string, orgId string, contentTyp return req, nil } -// NewDeleteOrgsOrgIdAppsAppIdRequest generates requests for DeleteOrgsOrgIdAppsAppId -func NewDeleteOrgsOrgIdAppsAppIdRequest(server string, orgId string, appId string) (*http.Request, error) { +// NewDeleteApplicationRequest generates requests for DeleteApplication +func NewDeleteApplicationRequest(server string, orgId string, appId string) (*http.Request, error) { var err error var pathParam0 string @@ -8831,8 +8878,8 @@ func NewDeleteOrgsOrgIdAppsAppIdRequest(server string, orgId string, appId strin return req, nil } -// NewGetOrgsOrgIdAppsAppIdRequest generates requests for GetOrgsOrgIdAppsAppId -func NewGetOrgsOrgIdAppsAppIdRequest(server string, orgId string, appId string) (*http.Request, error) { +// NewGetApplicationRequest generates requests for GetApplication +func NewGetApplicationRequest(server string, orgId string, appId string) (*http.Request, error) { var err error var pathParam0 string @@ -9485,8 +9532,8 @@ func NewPutOrgsOrgIdAppsAppIdDeltasDeltaIdMetadataNameRequestWithBody(server str return req, nil } -// NewGetOrgsOrgIdAppsAppIdEnvsRequest generates requests for GetOrgsOrgIdAppsAppIdEnvs -func NewGetOrgsOrgIdAppsAppIdEnvsRequest(server string, orgId string, appId string) (*http.Request, error) { +// NewListEnvironmentsRequest generates requests for ListEnvironments +func NewListEnvironmentsRequest(server string, orgId string, appId string) (*http.Request, error) { var err error var pathParam0 string @@ -9526,19 +9573,19 @@ func NewGetOrgsOrgIdAppsAppIdEnvsRequest(server string, orgId string, appId stri return req, nil } -// NewPostOrgsOrgIdAppsAppIdEnvsRequest calls the generic PostOrgsOrgIdAppsAppIdEnvs builder with application/json body -func NewPostOrgsOrgIdAppsAppIdEnvsRequest(server string, orgId string, appId string, body PostOrgsOrgIdAppsAppIdEnvsJSONRequestBody) (*http.Request, error) { +// NewCreateEnvironmentRequest calls the generic CreateEnvironment builder with application/json body +func NewCreateEnvironmentRequest(server string, orgId string, appId string, body CreateEnvironmentJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPostOrgsOrgIdAppsAppIdEnvsRequestWithBody(server, orgId, appId, "application/json", bodyReader) + return NewCreateEnvironmentRequestWithBody(server, orgId, appId, "application/json", bodyReader) } -// NewPostOrgsOrgIdAppsAppIdEnvsRequestWithBody generates requests for PostOrgsOrgIdAppsAppIdEnvs with any type of body -func NewPostOrgsOrgIdAppsAppIdEnvsRequestWithBody(server string, orgId string, appId string, contentType string, body io.Reader) (*http.Request, error) { +// NewCreateEnvironmentRequestWithBody generates requests for CreateEnvironment with any type of body +func NewCreateEnvironmentRequestWithBody(server string, orgId string, appId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -9580,8 +9627,8 @@ func NewPostOrgsOrgIdAppsAppIdEnvsRequestWithBody(server string, orgId string, a return req, nil } -// NewDeleteOrgsOrgIdAppsAppIdEnvsEnvIdRequest generates requests for DeleteOrgsOrgIdAppsAppIdEnvsEnvId -func NewDeleteOrgsOrgIdAppsAppIdEnvsEnvIdRequest(server string, orgId string, appId string, envId string) (*http.Request, error) { +// NewDeleteEnvironmentRequest generates requests for DeleteEnvironment +func NewDeleteEnvironmentRequest(server string, orgId string, appId string, envId string) (*http.Request, error) { var err error var pathParam0 string @@ -9628,8 +9675,8 @@ func NewDeleteOrgsOrgIdAppsAppIdEnvsEnvIdRequest(server string, orgId string, ap return req, nil } -// NewGetOrgsOrgIdAppsAppIdEnvsEnvIdRequest generates requests for GetOrgsOrgIdAppsAppIdEnvsEnvId -func NewGetOrgsOrgIdAppsAppIdEnvsEnvIdRequest(server string, orgId string, appId string, envId string) (*http.Request, error) { +// NewGetEnvironmentRequest generates requests for GetEnvironment +func NewGetEnvironmentRequest(server string, orgId string, appId string, envId string) (*http.Request, error) { var err error var pathParam0 string @@ -9746,19 +9793,19 @@ func NewListDeploymentsRequest(server string, orgId string, appId string, envId return req, nil } -// NewPostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysRequest calls the generic PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploys builder with application/json body -func NewPostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysRequest(server string, orgId string, appId string, envId string, body PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysJSONRequestBody) (*http.Request, error) { +// NewCreateDeploymentRequest calls the generic CreateDeployment builder with application/json body +func NewCreateDeploymentRequest(server string, orgId string, appId string, envId string, body CreateDeploymentJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysRequestWithBody(server, orgId, appId, envId, "application/json", bodyReader) + return NewCreateDeploymentRequestWithBody(server, orgId, appId, envId, "application/json", bodyReader) } -// NewPostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysRequestWithBody generates requests for PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploys with any type of body -func NewPostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysRequestWithBody(server string, orgId string, appId string, envId string, contentType string, body io.Reader) (*http.Request, error) { +// NewCreateDeploymentRequestWithBody generates requests for CreateDeployment with any type of body +func NewCreateDeploymentRequestWithBody(server string, orgId string, appId string, envId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -9917,19 +9964,19 @@ func NewListDeploymentErrorsRequest(server string, orgId string, appId string, e return req, nil } -// NewPutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdRequest calls the generic PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployId builder with application/json body -func NewPutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdRequest(server string, orgId string, appId string, envId string, body PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdJSONRequestBody) (*http.Request, error) { +// NewRebaseEnvironmentRequest calls the generic RebaseEnvironment builder with application/json body +func NewRebaseEnvironmentRequest(server string, orgId string, appId string, envId string, body RebaseEnvironmentJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdRequestWithBody(server, orgId, appId, envId, "application/json", bodyReader) + return NewRebaseEnvironmentRequestWithBody(server, orgId, appId, envId, "application/json", bodyReader) } -// NewPutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdRequestWithBody generates requests for PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployId with any type of body -func NewPutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdRequestWithBody(server string, orgId string, appId string, envId string, contentType string, body io.Reader) (*http.Request, error) { +// NewRebaseEnvironmentRequestWithBody generates requests for RebaseEnvironment with any type of body +func NewRebaseEnvironmentRequestWithBody(server string, orgId string, appId string, envId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -9978,8 +10025,8 @@ func NewPutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdRequestWithBody(server string, return req, nil } -// NewGetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesRequest generates requests for GetOrgsOrgIdAppsAppIdEnvsEnvIdResources -func NewGetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesRequest(server string, orgId string, appId string, envId string) (*http.Request, error) { +// NewListActiveResourcesRequest generates requests for ListActiveResources +func NewListActiveResourcesRequest(server string, orgId string, appId string, envId string) (*http.Request, error) { var err error var pathParam0 string @@ -10026,19 +10073,19 @@ func NewGetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesRequest(server string, orgId stri return req, nil } -// NewPostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphRequest calls the generic PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraph builder with application/json body -func NewPostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphRequest(server string, orgId string, appId string, envId string, body PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphJSONRequestBody) (*http.Request, error) { +// NewQueryResourceGraphRequest calls the generic QueryResourceGraph builder with application/json body +func NewQueryResourceGraphRequest(server string, orgId string, appId string, envId string, body QueryResourceGraphJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphRequestWithBody(server, orgId, appId, envId, "application/json", bodyReader) + return NewQueryResourceGraphRequestWithBody(server, orgId, appId, envId, "application/json", bodyReader) } -// NewPostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphRequestWithBody generates requests for PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraph with any type of body -func NewPostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphRequestWithBody(server string, orgId string, appId string, envId string, contentType string, body io.Reader) (*http.Request, error) { +// NewQueryResourceGraphRequestWithBody generates requests for QueryResourceGraph with any type of body +func NewQueryResourceGraphRequestWithBody(server string, orgId string, appId string, envId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -10087,8 +10134,8 @@ func NewPostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphRequestWithBody(server stri return req, nil } -// NewDeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResIdRequest generates requests for DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResId -func NewDeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResIdRequest(server string, orgId string, appId string, envId string, pType string, resId string) (*http.Request, error) { +// NewDeleteActiveResourceRequest generates requests for DeleteActiveResource +func NewDeleteActiveResourceRequest(server string, orgId string, appId string, envId string, pType string, resId string) (*http.Request, error) { var err error var pathParam0 string @@ -12095,6 +12142,22 @@ func NewListPipelineRunsRequest(server string, orgId OrgIdPathParam, appId AppId if params != nil { queryValues := queryURL.Query() + if params.Env != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "env", runtime.ParamLocationQuery, *params.Env); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Status != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { @@ -13495,8 +13558,8 @@ func NewGetOrgsOrgIdAppsAppIdSetsSetIdDiffSourceSetIdRequest(server string, orgI return req, nil } -// NewGetOrgsOrgIdAppsAppIdUsersRequest generates requests for GetOrgsOrgIdAppsAppIdUsers -func NewGetOrgsOrgIdAppsAppIdUsersRequest(server string, orgId string, appId string) (*http.Request, error) { +// NewListUserRolesInAppRequest generates requests for ListUserRolesInApp +func NewListUserRolesInAppRequest(server string, orgId string, appId string) (*http.Request, error) { var err error var pathParam0 string @@ -13536,19 +13599,19 @@ func NewGetOrgsOrgIdAppsAppIdUsersRequest(server string, orgId string, appId str return req, nil } -// NewPostOrgsOrgIdAppsAppIdUsersRequest calls the generic PostOrgsOrgIdAppsAppIdUsers builder with application/json body -func NewPostOrgsOrgIdAppsAppIdUsersRequest(server string, orgId string, appId string, body PostOrgsOrgIdAppsAppIdUsersJSONRequestBody) (*http.Request, error) { +// NewCreateUserRoleInAppRequest calls the generic CreateUserRoleInApp builder with application/json body +func NewCreateUserRoleInAppRequest(server string, orgId string, appId string, body CreateUserRoleInAppJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPostOrgsOrgIdAppsAppIdUsersRequestWithBody(server, orgId, appId, "application/json", bodyReader) + return NewCreateUserRoleInAppRequestWithBody(server, orgId, appId, "application/json", bodyReader) } -// NewPostOrgsOrgIdAppsAppIdUsersRequestWithBody generates requests for PostOrgsOrgIdAppsAppIdUsers with any type of body -func NewPostOrgsOrgIdAppsAppIdUsersRequestWithBody(server string, orgId string, appId string, contentType string, body io.Reader) (*http.Request, error) { +// NewCreateUserRoleInAppRequestWithBody generates requests for CreateUserRoleInApp with any type of body +func NewCreateUserRoleInAppRequestWithBody(server string, orgId string, appId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -13590,8 +13653,8 @@ func NewPostOrgsOrgIdAppsAppIdUsersRequestWithBody(server string, orgId string, return req, nil } -// NewDeleteOrgsOrgIdAppsAppIdUsersUserIdRequest generates requests for DeleteOrgsOrgIdAppsAppIdUsersUserId -func NewDeleteOrgsOrgIdAppsAppIdUsersUserIdRequest(server string, orgId string, appId string, userId string) (*http.Request, error) { +// NewDeleteUserRoleInAppRequest generates requests for DeleteUserRoleInApp +func NewDeleteUserRoleInAppRequest(server string, orgId string, appId string, userId string) (*http.Request, error) { var err error var pathParam0 string @@ -13638,8 +13701,8 @@ func NewDeleteOrgsOrgIdAppsAppIdUsersUserIdRequest(server string, orgId string, return req, nil } -// NewGetOrgsOrgIdAppsAppIdUsersUserIdRequest generates requests for GetOrgsOrgIdAppsAppIdUsersUserId -func NewGetOrgsOrgIdAppsAppIdUsersUserIdRequest(server string, orgId string, appId string, userId string) (*http.Request, error) { +// NewGetUserRoleInAppRequest generates requests for GetUserRoleInApp +func NewGetUserRoleInAppRequest(server string, orgId string, appId string, userId string) (*http.Request, error) { var err error var pathParam0 string @@ -13686,19 +13749,19 @@ func NewGetOrgsOrgIdAppsAppIdUsersUserIdRequest(server string, orgId string, app return req, nil } -// NewPatchOrgsOrgIdAppsAppIdUsersUserIdRequest calls the generic PatchOrgsOrgIdAppsAppIdUsersUserId builder with application/json body -func NewPatchOrgsOrgIdAppsAppIdUsersUserIdRequest(server string, orgId string, appId string, userId string, body PatchOrgsOrgIdAppsAppIdUsersUserIdJSONRequestBody) (*http.Request, error) { +// NewUpdateUserRoleInAppRequest calls the generic UpdateUserRoleInApp builder with application/json body +func NewUpdateUserRoleInAppRequest(server string, orgId string, appId string, userId string, body UpdateUserRoleInAppJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPatchOrgsOrgIdAppsAppIdUsersUserIdRequestWithBody(server, orgId, appId, userId, "application/json", bodyReader) + return NewUpdateUserRoleInAppRequestWithBody(server, orgId, appId, userId, "application/json", bodyReader) } -// NewPatchOrgsOrgIdAppsAppIdUsersUserIdRequestWithBody generates requests for PatchOrgsOrgIdAppsAppIdUsersUserId with any type of body -func NewPatchOrgsOrgIdAppsAppIdUsersUserIdRequestWithBody(server string, orgId string, appId string, userId string, contentType string, body io.Reader) (*http.Request, error) { +// NewUpdateUserRoleInAppRequestWithBody generates requests for UpdateUserRoleInApp with any type of body +func NewUpdateUserRoleInAppRequestWithBody(server string, orgId string, appId string, userId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -15328,8 +15391,8 @@ func NewListAuditLogEntriesRequest(server string, orgId OrgIdPathParam, params * return req, nil } -// NewGetOrgsOrgIdEnvTypesRequest generates requests for GetOrgsOrgIdEnvTypes -func NewGetOrgsOrgIdEnvTypesRequest(server string, orgId string) (*http.Request, error) { +// NewListEnvironmentTypesRequest generates requests for ListEnvironmentTypes +func NewListEnvironmentTypesRequest(server string, orgId string) (*http.Request, error) { var err error var pathParam0 string @@ -15362,19 +15425,19 @@ func NewGetOrgsOrgIdEnvTypesRequest(server string, orgId string) (*http.Request, return req, nil } -// NewPostOrgsOrgIdEnvTypesRequest calls the generic PostOrgsOrgIdEnvTypes builder with application/json body -func NewPostOrgsOrgIdEnvTypesRequest(server string, orgId string, body PostOrgsOrgIdEnvTypesJSONRequestBody) (*http.Request, error) { +// NewCreateEnvironmentTypeRequest calls the generic CreateEnvironmentType builder with application/json body +func NewCreateEnvironmentTypeRequest(server string, orgId string, body CreateEnvironmentTypeJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPostOrgsOrgIdEnvTypesRequestWithBody(server, orgId, "application/json", bodyReader) + return NewCreateEnvironmentTypeRequestWithBody(server, orgId, "application/json", bodyReader) } -// NewPostOrgsOrgIdEnvTypesRequestWithBody generates requests for PostOrgsOrgIdEnvTypes with any type of body -func NewPostOrgsOrgIdEnvTypesRequestWithBody(server string, orgId string, contentType string, body io.Reader) (*http.Request, error) { +// NewCreateEnvironmentTypeRequestWithBody generates requests for CreateEnvironmentType with any type of body +func NewCreateEnvironmentTypeRequestWithBody(server string, orgId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -15409,8 +15472,8 @@ func NewPostOrgsOrgIdEnvTypesRequestWithBody(server string, orgId string, conten return req, nil } -// NewDeleteOrgsOrgIdEnvTypesEnvTypeIdRequest generates requests for DeleteOrgsOrgIdEnvTypesEnvTypeId -func NewDeleteOrgsOrgIdEnvTypesEnvTypeIdRequest(server string, orgId string, envTypeId string) (*http.Request, error) { +// NewDeleteEnvironmentTypeRequest generates requests for DeleteEnvironmentType +func NewDeleteEnvironmentTypeRequest(server string, orgId string, envTypeId string) (*http.Request, error) { var err error var pathParam0 string @@ -15450,8 +15513,8 @@ func NewDeleteOrgsOrgIdEnvTypesEnvTypeIdRequest(server string, orgId string, env return req, nil } -// NewGetOrgsOrgIdEnvTypesEnvTypeIdRequest generates requests for GetOrgsOrgIdEnvTypesEnvTypeId -func NewGetOrgsOrgIdEnvTypesEnvTypeIdRequest(server string, orgId string, envTypeId string) (*http.Request, error) { +// NewGetEnvironmentTypeRequest generates requests for GetEnvironmentType +func NewGetEnvironmentTypeRequest(server string, orgId string, envTypeId string) (*http.Request, error) { var err error var pathParam0 string @@ -15491,19 +15554,19 @@ func NewGetOrgsOrgIdEnvTypesEnvTypeIdRequest(server string, orgId string, envTyp return req, nil } -// NewPostOrgsOrgIdEnvTypesEnvTypeUsersRequest calls the generic PostOrgsOrgIdEnvTypesEnvTypeUsers builder with application/json body -func NewPostOrgsOrgIdEnvTypesEnvTypeUsersRequest(server string, orgId string, envType string, body PostOrgsOrgIdEnvTypesEnvTypeUsersJSONRequestBody) (*http.Request, error) { +// NewCreateUserRoleInEnvTypeRequest calls the generic CreateUserRoleInEnvType builder with application/json body +func NewCreateUserRoleInEnvTypeRequest(server string, orgId string, envType string, body CreateUserRoleInEnvTypeJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPostOrgsOrgIdEnvTypesEnvTypeUsersRequestWithBody(server, orgId, envType, "application/json", bodyReader) + return NewCreateUserRoleInEnvTypeRequestWithBody(server, orgId, envType, "application/json", bodyReader) } -// NewPostOrgsOrgIdEnvTypesEnvTypeUsersRequestWithBody generates requests for PostOrgsOrgIdEnvTypesEnvTypeUsers with any type of body -func NewPostOrgsOrgIdEnvTypesEnvTypeUsersRequestWithBody(server string, orgId string, envType string, contentType string, body io.Reader) (*http.Request, error) { +// NewCreateUserRoleInEnvTypeRequestWithBody generates requests for CreateUserRoleInEnvType with any type of body +func NewCreateUserRoleInEnvTypeRequestWithBody(server string, orgId string, envType string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -15545,8 +15608,8 @@ func NewPostOrgsOrgIdEnvTypesEnvTypeUsersRequestWithBody(server string, orgId st return req, nil } -// NewDeleteOrgsOrgIdEnvTypesEnvTypeUsersUserIdRequest generates requests for DeleteOrgsOrgIdEnvTypesEnvTypeUsersUserId -func NewDeleteOrgsOrgIdEnvTypesEnvTypeUsersUserIdRequest(server string, orgId string, envType string, userId string) (*http.Request, error) { +// NewDeleteUserRoleInEnvTypeRequest generates requests for DeleteUserRoleInEnvType +func NewDeleteUserRoleInEnvTypeRequest(server string, orgId string, envType string, userId string) (*http.Request, error) { var err error var pathParam0 string @@ -15593,8 +15656,8 @@ func NewDeleteOrgsOrgIdEnvTypesEnvTypeUsersUserIdRequest(server string, orgId st return req, nil } -// NewGetOrgsOrgIdEnvTypesEnvTypeUsersUserIdRequest generates requests for GetOrgsOrgIdEnvTypesEnvTypeUsersUserId -func NewGetOrgsOrgIdEnvTypesEnvTypeUsersUserIdRequest(server string, orgId string, envType string, userId string) (*http.Request, error) { +// NewGetUserRoleInEnvTypeRequest generates requests for GetUserRoleInEnvType +func NewGetUserRoleInEnvTypeRequest(server string, orgId string, envType string, userId string) (*http.Request, error) { var err error var pathParam0 string @@ -15641,19 +15704,19 @@ func NewGetOrgsOrgIdEnvTypesEnvTypeUsersUserIdRequest(server string, orgId strin return req, nil } -// NewPatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdRequest calls the generic PatchOrgsOrgIdEnvTypesEnvTypeUsersUserId builder with application/json body -func NewPatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdRequest(server string, orgId string, envType string, userId string, body PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdJSONRequestBody) (*http.Request, error) { +// NewUpdateUserRoleInEnvTypeRequest calls the generic UpdateUserRoleInEnvType builder with application/json body +func NewUpdateUserRoleInEnvTypeRequest(server string, orgId string, envType string, userId string, body UpdateUserRoleInEnvTypeJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdRequestWithBody(server, orgId, envType, userId, "application/json", bodyReader) + return NewUpdateUserRoleInEnvTypeRequestWithBody(server, orgId, envType, userId, "application/json", bodyReader) } -// NewPatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdRequestWithBody generates requests for PatchOrgsOrgIdEnvTypesEnvTypeUsersUserId with any type of body -func NewPatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdRequestWithBody(server string, orgId string, envType string, userId string, contentType string, body io.Reader) (*http.Request, error) { +// NewUpdateUserRoleInEnvTypeRequestWithBody generates requests for UpdateUserRoleInEnvType with any type of body +func NewUpdateUserRoleInEnvTypeRequestWithBody(server string, orgId string, envType string, userId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -15962,8 +16025,8 @@ func NewCreateDeprecatedImageBuildRequestWithBody(server string, orgId string, i return req, nil } -// NewGetOrgsOrgIdInvitationsRequest generates requests for GetOrgsOrgIdInvitations -func NewGetOrgsOrgIdInvitationsRequest(server string, orgId string) (*http.Request, error) { +// NewListInvitesInOrgRequest generates requests for ListInvitesInOrg +func NewListInvitesInOrgRequest(server string, orgId string) (*http.Request, error) { var err error var pathParam0 string @@ -15996,19 +16059,19 @@ func NewGetOrgsOrgIdInvitationsRequest(server string, orgId string) (*http.Reque return req, nil } -// NewPostOrgsOrgIdInvitationsRequest calls the generic PostOrgsOrgIdInvitations builder with application/json body -func NewPostOrgsOrgIdInvitationsRequest(server string, orgId string, body PostOrgsOrgIdInvitationsJSONRequestBody) (*http.Request, error) { +// NewCreateInviteInOrgRequest calls the generic CreateInviteInOrg builder with application/json body +func NewCreateInviteInOrgRequest(server string, orgId string, body CreateInviteInOrgJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPostOrgsOrgIdInvitationsRequestWithBody(server, orgId, "application/json", bodyReader) + return NewCreateInviteInOrgRequestWithBody(server, orgId, "application/json", bodyReader) } -// NewPostOrgsOrgIdInvitationsRequestWithBody generates requests for PostOrgsOrgIdInvitations with any type of body -func NewPostOrgsOrgIdInvitationsRequestWithBody(server string, orgId string, contentType string, body io.Reader) (*http.Request, error) { +// NewCreateInviteInOrgRequestWithBody generates requests for CreateInviteInOrg with any type of body +func NewCreateInviteInOrgRequestWithBody(server string, orgId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -16289,6 +16352,22 @@ func NewListPipelineRunsByOrgRequest(server string, orgId OrgIdPathParam, params } + if params.Env != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "env", runtime.ParamLocationQuery, *params.Env); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Status != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { @@ -16808,8 +16887,8 @@ func NewGetOrgsOrgIdRegistriesRegIdCredsRequest(server string, orgId string, reg return req, nil } -// NewGetOrgsOrgIdResourcesAccountTypesRequest generates requests for GetOrgsOrgIdResourcesAccountTypes -func NewGetOrgsOrgIdResourcesAccountTypesRequest(server string, orgId string) (*http.Request, error) { +// NewListResourceAccountTypesRequest generates requests for ListResourceAccountTypes +func NewListResourceAccountTypesRequest(server string, orgId string) (*http.Request, error) { var err error var pathParam0 string @@ -16842,8 +16921,8 @@ func NewGetOrgsOrgIdResourcesAccountTypesRequest(server string, orgId string) (* return req, nil } -// NewGetOrgsOrgIdResourcesAccountsRequest generates requests for GetOrgsOrgIdResourcesAccounts -func NewGetOrgsOrgIdResourcesAccountsRequest(server string, orgId string) (*http.Request, error) { +// NewListResourceAccountsRequest generates requests for ListResourceAccounts +func NewListResourceAccountsRequest(server string, orgId string) (*http.Request, error) { var err error var pathParam0 string @@ -16876,19 +16955,19 @@ func NewGetOrgsOrgIdResourcesAccountsRequest(server string, orgId string) (*http return req, nil } -// NewPostOrgsOrgIdResourcesAccountsRequest calls the generic PostOrgsOrgIdResourcesAccounts builder with application/json body -func NewPostOrgsOrgIdResourcesAccountsRequest(server string, orgId string, body PostOrgsOrgIdResourcesAccountsJSONRequestBody) (*http.Request, error) { +// NewCreateResourceAccountRequest calls the generic CreateResourceAccount builder with application/json body +func NewCreateResourceAccountRequest(server string, orgId string, body CreateResourceAccountJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPostOrgsOrgIdResourcesAccountsRequestWithBody(server, orgId, "application/json", bodyReader) + return NewCreateResourceAccountRequestWithBody(server, orgId, "application/json", bodyReader) } -// NewPostOrgsOrgIdResourcesAccountsRequestWithBody generates requests for PostOrgsOrgIdResourcesAccounts with any type of body -func NewPostOrgsOrgIdResourcesAccountsRequestWithBody(server string, orgId string, contentType string, body io.Reader) (*http.Request, error) { +// NewCreateResourceAccountRequestWithBody generates requests for CreateResourceAccount with any type of body +func NewCreateResourceAccountRequestWithBody(server string, orgId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -16923,8 +17002,8 @@ func NewPostOrgsOrgIdResourcesAccountsRequestWithBody(server string, orgId strin return req, nil } -// NewDeleteOrgsOrgIdResourcesAccountsAccIdRequest generates requests for DeleteOrgsOrgIdResourcesAccountsAccId -func NewDeleteOrgsOrgIdResourcesAccountsAccIdRequest(server string, orgId string, accId string) (*http.Request, error) { +// NewDeleteResourceAccountRequest generates requests for DeleteResourceAccount +func NewDeleteResourceAccountRequest(server string, orgId string, accId string) (*http.Request, error) { var err error var pathParam0 string @@ -16964,8 +17043,8 @@ func NewDeleteOrgsOrgIdResourcesAccountsAccIdRequest(server string, orgId string return req, nil } -// NewGetOrgsOrgIdResourcesAccountsAccIdRequest generates requests for GetOrgsOrgIdResourcesAccountsAccId -func NewGetOrgsOrgIdResourcesAccountsAccIdRequest(server string, orgId string, accId string) (*http.Request, error) { +// NewGetResourceAccountRequest generates requests for GetResourceAccount +func NewGetResourceAccountRequest(server string, orgId string, accId string) (*http.Request, error) { var err error var pathParam0 string @@ -17005,19 +17084,19 @@ func NewGetOrgsOrgIdResourcesAccountsAccIdRequest(server string, orgId string, a return req, nil } -// NewPatchOrgsOrgIdResourcesAccountsAccIdRequest calls the generic PatchOrgsOrgIdResourcesAccountsAccId builder with application/json body -func NewPatchOrgsOrgIdResourcesAccountsAccIdRequest(server string, orgId string, accId string, body PatchOrgsOrgIdResourcesAccountsAccIdJSONRequestBody) (*http.Request, error) { +// NewPatchResourceAccountRequest calls the generic PatchResourceAccount builder with application/json body +func NewPatchResourceAccountRequest(server string, orgId string, accId string, body PatchResourceAccountJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPatchOrgsOrgIdResourcesAccountsAccIdRequestWithBody(server, orgId, accId, "application/json", bodyReader) + return NewPatchResourceAccountRequestWithBody(server, orgId, accId, "application/json", bodyReader) } -// NewPatchOrgsOrgIdResourcesAccountsAccIdRequestWithBody generates requests for PatchOrgsOrgIdResourcesAccountsAccId with any type of body -func NewPatchOrgsOrgIdResourcesAccountsAccIdRequestWithBody(server string, orgId string, accId string, contentType string, body io.Reader) (*http.Request, error) { +// NewPatchResourceAccountRequestWithBody generates requests for PatchResourceAccount with any type of body +func NewPatchResourceAccountRequestWithBody(server string, orgId string, accId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -17059,8 +17138,8 @@ func NewPatchOrgsOrgIdResourcesAccountsAccIdRequestWithBody(server string, orgId return req, nil } -// NewGetOrgsOrgIdResourcesDefsRequest generates requests for GetOrgsOrgIdResourcesDefs -func NewGetOrgsOrgIdResourcesDefsRequest(server string, orgId string, params *GetOrgsOrgIdResourcesDefsParams) (*http.Request, error) { +// NewListResourceDefinitionsRequest generates requests for ListResourceDefinitions +func NewListResourceDefinitionsRequest(server string, orgId string, params *ListResourceDefinitionsParams) (*http.Request, error) { var err error var pathParam0 string @@ -17195,19 +17274,19 @@ func NewGetOrgsOrgIdResourcesDefsRequest(server string, orgId string, params *Ge return req, nil } -// NewPostOrgsOrgIdResourcesDefsRequest calls the generic PostOrgsOrgIdResourcesDefs builder with application/json body -func NewPostOrgsOrgIdResourcesDefsRequest(server string, orgId string, body PostOrgsOrgIdResourcesDefsJSONRequestBody) (*http.Request, error) { +// NewCreateResourceDefinitionRequest calls the generic CreateResourceDefinition builder with application/json body +func NewCreateResourceDefinitionRequest(server string, orgId string, body CreateResourceDefinitionJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPostOrgsOrgIdResourcesDefsRequestWithBody(server, orgId, "application/json", bodyReader) + return NewCreateResourceDefinitionRequestWithBody(server, orgId, "application/json", bodyReader) } -// NewPostOrgsOrgIdResourcesDefsRequestWithBody generates requests for PostOrgsOrgIdResourcesDefs with any type of body -func NewPostOrgsOrgIdResourcesDefsRequestWithBody(server string, orgId string, contentType string, body io.Reader) (*http.Request, error) { +// NewCreateResourceDefinitionRequestWithBody generates requests for CreateResourceDefinition with any type of body +func NewCreateResourceDefinitionRequestWithBody(server string, orgId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -17242,8 +17321,8 @@ func NewPostOrgsOrgIdResourcesDefsRequestWithBody(server string, orgId string, c return req, nil } -// NewDeleteOrgsOrgIdResourcesDefsDefIdRequest generates requests for DeleteOrgsOrgIdResourcesDefsDefId -func NewDeleteOrgsOrgIdResourcesDefsDefIdRequest(server string, orgId string, defId string, params *DeleteOrgsOrgIdResourcesDefsDefIdParams) (*http.Request, error) { +// NewDeleteResourceDefinitionRequest generates requests for DeleteResourceDefinition +func NewDeleteResourceDefinitionRequest(server string, orgId string, defId string, params *DeleteResourceDefinitionParams) (*http.Request, error) { var err error var pathParam0 string @@ -17305,8 +17384,8 @@ func NewDeleteOrgsOrgIdResourcesDefsDefIdRequest(server string, orgId string, de return req, nil } -// NewGetOrgsOrgIdResourcesDefsDefIdRequest generates requests for GetOrgsOrgIdResourcesDefsDefId -func NewGetOrgsOrgIdResourcesDefsDefIdRequest(server string, orgId string, defId string) (*http.Request, error) { +// NewGetResourceDefinitionRequest generates requests for GetResourceDefinition +func NewGetResourceDefinitionRequest(server string, orgId string, defId string) (*http.Request, error) { var err error var pathParam0 string @@ -17346,19 +17425,19 @@ func NewGetOrgsOrgIdResourcesDefsDefIdRequest(server string, orgId string, defId return req, nil } -// NewPatchOrgsOrgIdResourcesDefsDefIdRequest calls the generic PatchOrgsOrgIdResourcesDefsDefId builder with application/json body -func NewPatchOrgsOrgIdResourcesDefsDefIdRequest(server string, orgId string, defId string, body PatchOrgsOrgIdResourcesDefsDefIdJSONRequestBody) (*http.Request, error) { +// NewPatchResourceDefinitionRequest calls the generic PatchResourceDefinition builder with application/json body +func NewPatchResourceDefinitionRequest(server string, orgId string, defId string, body PatchResourceDefinitionJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPatchOrgsOrgIdResourcesDefsDefIdRequestWithBody(server, orgId, defId, "application/json", bodyReader) + return NewPatchResourceDefinitionRequestWithBody(server, orgId, defId, "application/json", bodyReader) } -// NewPatchOrgsOrgIdResourcesDefsDefIdRequestWithBody generates requests for PatchOrgsOrgIdResourcesDefsDefId with any type of body -func NewPatchOrgsOrgIdResourcesDefsDefIdRequestWithBody(server string, orgId string, defId string, contentType string, body io.Reader) (*http.Request, error) { +// NewPatchResourceDefinitionRequestWithBody generates requests for PatchResourceDefinition with any type of body +func NewPatchResourceDefinitionRequestWithBody(server string, orgId string, defId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -17400,19 +17479,19 @@ func NewPatchOrgsOrgIdResourcesDefsDefIdRequestWithBody(server string, orgId str return req, nil } -// NewPutOrgsOrgIdResourcesDefsDefIdRequest calls the generic PutOrgsOrgIdResourcesDefsDefId builder with application/json body -func NewPutOrgsOrgIdResourcesDefsDefIdRequest(server string, orgId string, defId string, body PutOrgsOrgIdResourcesDefsDefIdJSONRequestBody) (*http.Request, error) { +// NewUpdateResourceDefinitionRequest calls the generic UpdateResourceDefinition builder with application/json body +func NewUpdateResourceDefinitionRequest(server string, orgId string, defId string, body UpdateResourceDefinitionJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPutOrgsOrgIdResourcesDefsDefIdRequestWithBody(server, orgId, defId, "application/json", bodyReader) + return NewUpdateResourceDefinitionRequestWithBody(server, orgId, defId, "application/json", bodyReader) } -// NewPutOrgsOrgIdResourcesDefsDefIdRequestWithBody generates requests for PutOrgsOrgIdResourcesDefsDefId with any type of body -func NewPutOrgsOrgIdResourcesDefsDefIdRequestWithBody(server string, orgId string, defId string, contentType string, body io.Reader) (*http.Request, error) { +// NewUpdateResourceDefinitionRequestWithBody generates requests for UpdateResourceDefinition with any type of body +func NewUpdateResourceDefinitionRequestWithBody(server string, orgId string, defId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -17454,19 +17533,19 @@ func NewPutOrgsOrgIdResourcesDefsDefIdRequestWithBody(server string, orgId strin return req, nil } -// NewPostOrgsOrgIdResourcesDefsDefIdCriteriaRequest calls the generic PostOrgsOrgIdResourcesDefsDefIdCriteria builder with application/json body -func NewPostOrgsOrgIdResourcesDefsDefIdCriteriaRequest(server string, orgId string, defId string, body PostOrgsOrgIdResourcesDefsDefIdCriteriaJSONRequestBody) (*http.Request, error) { +// NewCreateResourceDefinitionCriteriaRequest calls the generic CreateResourceDefinitionCriteria builder with application/json body +func NewCreateResourceDefinitionCriteriaRequest(server string, orgId string, defId string, body CreateResourceDefinitionCriteriaJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPostOrgsOrgIdResourcesDefsDefIdCriteriaRequestWithBody(server, orgId, defId, "application/json", bodyReader) + return NewCreateResourceDefinitionCriteriaRequestWithBody(server, orgId, defId, "application/json", bodyReader) } -// NewPostOrgsOrgIdResourcesDefsDefIdCriteriaRequestWithBody generates requests for PostOrgsOrgIdResourcesDefsDefIdCriteria with any type of body -func NewPostOrgsOrgIdResourcesDefsDefIdCriteriaRequestWithBody(server string, orgId string, defId string, contentType string, body io.Reader) (*http.Request, error) { +// NewCreateResourceDefinitionCriteriaRequestWithBody generates requests for CreateResourceDefinitionCriteria with any type of body +func NewCreateResourceDefinitionCriteriaRequestWithBody(server string, orgId string, defId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -17508,19 +17587,19 @@ func NewPostOrgsOrgIdResourcesDefsDefIdCriteriaRequestWithBody(server string, or return req, nil } -// NewPutOrgsOrgIdResourcesDefsDefIdCriteriaRequest calls the generic PutOrgsOrgIdResourcesDefsDefIdCriteria builder with application/json body -func NewPutOrgsOrgIdResourcesDefsDefIdCriteriaRequest(server string, orgId string, defId string, body PutOrgsOrgIdResourcesDefsDefIdCriteriaJSONRequestBody) (*http.Request, error) { +// NewUpdateResourceDefinitionCriteriaRequest calls the generic UpdateResourceDefinitionCriteria builder with application/json body +func NewUpdateResourceDefinitionCriteriaRequest(server string, orgId string, defId string, body UpdateResourceDefinitionCriteriaJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPutOrgsOrgIdResourcesDefsDefIdCriteriaRequestWithBody(server, orgId, defId, "application/json", bodyReader) + return NewUpdateResourceDefinitionCriteriaRequestWithBody(server, orgId, defId, "application/json", bodyReader) } -// NewPutOrgsOrgIdResourcesDefsDefIdCriteriaRequestWithBody generates requests for PutOrgsOrgIdResourcesDefsDefIdCriteria with any type of body -func NewPutOrgsOrgIdResourcesDefsDefIdCriteriaRequestWithBody(server string, orgId string, defId string, contentType string, body io.Reader) (*http.Request, error) { +// NewUpdateResourceDefinitionCriteriaRequestWithBody generates requests for UpdateResourceDefinitionCriteria with any type of body +func NewUpdateResourceDefinitionCriteriaRequestWithBody(server string, orgId string, defId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -17562,8 +17641,8 @@ func NewPutOrgsOrgIdResourcesDefsDefIdCriteriaRequestWithBody(server string, org return req, nil } -// NewDeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdRequest generates requests for DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaId -func NewDeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdRequest(server string, orgId string, defId string, criteriaId string, params *DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdParams) (*http.Request, error) { +// NewDeleteResourceDefinitionCriteriaRequest generates requests for DeleteResourceDefinitionCriteria +func NewDeleteResourceDefinitionCriteriaRequest(server string, orgId string, defId string, criteriaId string, params *DeleteResourceDefinitionCriteriaParams) (*http.Request, error) { var err error var pathParam0 string @@ -17632,8 +17711,8 @@ func NewDeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdRequest(server string return req, nil } -// NewGetOrgsOrgIdResourcesDefsDefIdResourcesRequest generates requests for GetOrgsOrgIdResourcesDefsDefIdResources -func NewGetOrgsOrgIdResourcesDefsDefIdResourcesRequest(server string, orgId string, defId string) (*http.Request, error) { +// NewListActiveResourceByDefinitionRequest generates requests for ListActiveResourceByDefinition +func NewListActiveResourceByDefinitionRequest(server string, orgId string, defId string) (*http.Request, error) { var err error var pathParam0 string @@ -17673,8 +17752,8 @@ func NewGetOrgsOrgIdResourcesDefsDefIdResourcesRequest(server string, orgId stri return req, nil } -// NewGetOrgsOrgIdResourcesDriversRequest generates requests for GetOrgsOrgIdResourcesDrivers -func NewGetOrgsOrgIdResourcesDriversRequest(server string, orgId string) (*http.Request, error) { +// NewListResourceDriversRequest generates requests for ListResourceDrivers +func NewListResourceDriversRequest(server string, orgId string) (*http.Request, error) { var err error var pathParam0 string @@ -17707,19 +17786,19 @@ func NewGetOrgsOrgIdResourcesDriversRequest(server string, orgId string) (*http. return req, nil } -// NewPostOrgsOrgIdResourcesDriversRequest calls the generic PostOrgsOrgIdResourcesDrivers builder with application/json body -func NewPostOrgsOrgIdResourcesDriversRequest(server string, orgId string, body PostOrgsOrgIdResourcesDriversJSONRequestBody) (*http.Request, error) { +// NewCreateResourceDriverRequest calls the generic CreateResourceDriver builder with application/json body +func NewCreateResourceDriverRequest(server string, orgId string, body CreateResourceDriverJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPostOrgsOrgIdResourcesDriversRequestWithBody(server, orgId, "application/json", bodyReader) + return NewCreateResourceDriverRequestWithBody(server, orgId, "application/json", bodyReader) } -// NewPostOrgsOrgIdResourcesDriversRequestWithBody generates requests for PostOrgsOrgIdResourcesDrivers with any type of body -func NewPostOrgsOrgIdResourcesDriversRequestWithBody(server string, orgId string, contentType string, body io.Reader) (*http.Request, error) { +// NewCreateResourceDriverRequestWithBody generates requests for CreateResourceDriver with any type of body +func NewCreateResourceDriverRequestWithBody(server string, orgId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -17754,8 +17833,8 @@ func NewPostOrgsOrgIdResourcesDriversRequestWithBody(server string, orgId string return req, nil } -// NewDeleteOrgsOrgIdResourcesDriversDriverIdRequest generates requests for DeleteOrgsOrgIdResourcesDriversDriverId -func NewDeleteOrgsOrgIdResourcesDriversDriverIdRequest(server string, orgId string, driverId string) (*http.Request, error) { +// NewDeleteResourceDriverRequest generates requests for DeleteResourceDriver +func NewDeleteResourceDriverRequest(server string, orgId string, driverId string) (*http.Request, error) { var err error var pathParam0 string @@ -17795,8 +17874,8 @@ func NewDeleteOrgsOrgIdResourcesDriversDriverIdRequest(server string, orgId stri return req, nil } -// NewGetOrgsOrgIdResourcesDriversDriverIdRequest generates requests for GetOrgsOrgIdResourcesDriversDriverId -func NewGetOrgsOrgIdResourcesDriversDriverIdRequest(server string, orgId string, driverId string) (*http.Request, error) { +// NewGetResourceDriverRequest generates requests for GetResourceDriver +func NewGetResourceDriverRequest(server string, orgId string, driverId string) (*http.Request, error) { var err error var pathParam0 string @@ -17836,19 +17915,19 @@ func NewGetOrgsOrgIdResourcesDriversDriverIdRequest(server string, orgId string, return req, nil } -// NewPutOrgsOrgIdResourcesDriversDriverIdRequest calls the generic PutOrgsOrgIdResourcesDriversDriverId builder with application/json body -func NewPutOrgsOrgIdResourcesDriversDriverIdRequest(server string, orgId string, driverId string, body PutOrgsOrgIdResourcesDriversDriverIdJSONRequestBody) (*http.Request, error) { +// NewUpdateResourceDriverRequest calls the generic UpdateResourceDriver builder with application/json body +func NewUpdateResourceDriverRequest(server string, orgId string, driverId string, body UpdateResourceDriverJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPutOrgsOrgIdResourcesDriversDriverIdRequestWithBody(server, orgId, driverId, "application/json", bodyReader) + return NewUpdateResourceDriverRequestWithBody(server, orgId, driverId, "application/json", bodyReader) } -// NewPutOrgsOrgIdResourcesDriversDriverIdRequestWithBody generates requests for PutOrgsOrgIdResourcesDriversDriverId with any type of body -func NewPutOrgsOrgIdResourcesDriversDriverIdRequestWithBody(server string, orgId string, driverId string, contentType string, body io.Reader) (*http.Request, error) { +// NewUpdateResourceDriverRequestWithBody generates requests for UpdateResourceDriver with any type of body +func NewUpdateResourceDriverRequestWithBody(server string, orgId string, driverId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -17890,8 +17969,8 @@ func NewPutOrgsOrgIdResourcesDriversDriverIdRequestWithBody(server string, orgId return req, nil } -// NewGetOrgsOrgIdResourcesTypesRequest generates requests for GetOrgsOrgIdResourcesTypes -func NewGetOrgsOrgIdResourcesTypesRequest(server string, orgId string) (*http.Request, error) { +// NewListResourceTypesRequest generates requests for ListResourceTypes +func NewListResourceTypesRequest(server string, orgId string) (*http.Request, error) { var err error var pathParam0 string @@ -18141,8 +18220,8 @@ func NewPatchOrgsOrgIdSecretstoresStoreIdRequestWithBody(server string, orgId st return req, nil } -// NewGetOrgsOrgIdUsersRequest generates requests for GetOrgsOrgIdUsers -func NewGetOrgsOrgIdUsersRequest(server string, orgId string) (*http.Request, error) { +// NewListUserRolesInOrgRequest generates requests for ListUserRolesInOrg +func NewListUserRolesInOrgRequest(server string, orgId string) (*http.Request, error) { var err error var pathParam0 string @@ -18175,19 +18254,19 @@ func NewGetOrgsOrgIdUsersRequest(server string, orgId string) (*http.Request, er return req, nil } -// NewPostOrgsOrgIdUsersRequest calls the generic PostOrgsOrgIdUsers builder with application/json body -func NewPostOrgsOrgIdUsersRequest(server string, orgId string, body PostOrgsOrgIdUsersJSONRequestBody) (*http.Request, error) { +// NewCreateServiceUserInOrgRequest calls the generic CreateServiceUserInOrg builder with application/json body +func NewCreateServiceUserInOrgRequest(server string, orgId string, body CreateServiceUserInOrgJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPostOrgsOrgIdUsersRequestWithBody(server, orgId, "application/json", bodyReader) + return NewCreateServiceUserInOrgRequestWithBody(server, orgId, "application/json", bodyReader) } -// NewPostOrgsOrgIdUsersRequestWithBody generates requests for PostOrgsOrgIdUsers with any type of body -func NewPostOrgsOrgIdUsersRequestWithBody(server string, orgId string, contentType string, body io.Reader) (*http.Request, error) { +// NewCreateServiceUserInOrgRequestWithBody generates requests for CreateServiceUserInOrg with any type of body +func NewCreateServiceUserInOrgRequestWithBody(server string, orgId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -18222,8 +18301,8 @@ func NewPostOrgsOrgIdUsersRequestWithBody(server string, orgId string, contentTy return req, nil } -// NewDeleteOrgsOrgIdUsersUserIdRequest generates requests for DeleteOrgsOrgIdUsersUserId -func NewDeleteOrgsOrgIdUsersUserIdRequest(server string, orgId string, userId string) (*http.Request, error) { +// NewDeleteUserRoleInOrgRequest generates requests for DeleteUserRoleInOrg +func NewDeleteUserRoleInOrgRequest(server string, orgId string, userId string) (*http.Request, error) { var err error var pathParam0 string @@ -18263,8 +18342,8 @@ func NewDeleteOrgsOrgIdUsersUserIdRequest(server string, orgId string, userId st return req, nil } -// NewGetOrgsOrgIdUsersUserIdRequest generates requests for GetOrgsOrgIdUsersUserId -func NewGetOrgsOrgIdUsersUserIdRequest(server string, orgId string, userId string) (*http.Request, error) { +// NewGetUserRoleInOrgRequest generates requests for GetUserRoleInOrg +func NewGetUserRoleInOrgRequest(server string, orgId string, userId string) (*http.Request, error) { var err error var pathParam0 string @@ -18304,19 +18383,19 @@ func NewGetOrgsOrgIdUsersUserIdRequest(server string, orgId string, userId strin return req, nil } -// NewPatchOrgsOrgIdUsersUserIdRequest calls the generic PatchOrgsOrgIdUsersUserId builder with application/json body -func NewPatchOrgsOrgIdUsersUserIdRequest(server string, orgId string, userId string, body PatchOrgsOrgIdUsersUserIdJSONRequestBody) (*http.Request, error) { +// NewUpdateUserRoleInOrgRequest calls the generic UpdateUserRoleInOrg builder with application/json body +func NewUpdateUserRoleInOrgRequest(server string, orgId string, userId string, body UpdateUserRoleInOrgJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPatchOrgsOrgIdUsersUserIdRequestWithBody(server, orgId, userId, "application/json", bodyReader) + return NewUpdateUserRoleInOrgRequestWithBody(server, orgId, userId, "application/json", bodyReader) } -// NewPatchOrgsOrgIdUsersUserIdRequestWithBody generates requests for PatchOrgsOrgIdUsersUserId with any type of body -func NewPatchOrgsOrgIdUsersUserIdRequestWithBody(server string, orgId string, userId string, contentType string, body io.Reader) (*http.Request, error) { +// NewUpdateUserRoleInOrgRequestWithBody generates requests for UpdateUserRoleInOrg with any type of body +func NewUpdateUserRoleInOrgRequestWithBody(server string, orgId string, userId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -18891,8 +18970,8 @@ func NewGetLatestWorkloadProfileVersionRequest(server string, orgId OrgIdPathPar return req, nil } -// NewGetTokensRequest generates requests for GetTokens -func NewGetTokensRequest(server string) (*http.Request, error) { +// NewListTokensRequest generates requests for ListTokens +func NewListTokensRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -18918,8 +18997,8 @@ func NewGetTokensRequest(server string) (*http.Request, error) { return req, nil } -// NewDeleteTokensTokenIdRequest generates requests for DeleteTokensTokenId -func NewDeleteTokensTokenIdRequest(server string, tokenId string) (*http.Request, error) { +// NewDeleteTokenRequest generates requests for DeleteToken +func NewDeleteTokenRequest(server string, tokenId string) (*http.Request, error) { var err error var pathParam0 string @@ -18952,8 +19031,8 @@ func NewDeleteTokensTokenIdRequest(server string, tokenId string) (*http.Request return req, nil } -// NewGetUsersUserIdTokensRequest generates requests for GetUsersUserIdTokens -func NewGetUsersUserIdTokensRequest(server string, userId string) (*http.Request, error) { +// NewListUserTokensRequest generates requests for ListUserTokens +func NewListUserTokensRequest(server string, userId string) (*http.Request, error) { var err error var pathParam0 string @@ -18986,19 +19065,19 @@ func NewGetUsersUserIdTokensRequest(server string, userId string) (*http.Request return req, nil } -// NewPostUsersUserIdTokensRequest calls the generic PostUsersUserIdTokens builder with application/json body -func NewPostUsersUserIdTokensRequest(server string, userId string, body PostUsersUserIdTokensJSONRequestBody) (*http.Request, error) { +// NewCreateUserTokenRequest calls the generic CreateUserToken builder with application/json body +func NewCreateUserTokenRequest(server string, userId string, body CreateUserTokenJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader buf, err := json.Marshal(body) if err != nil { return nil, err } bodyReader = bytes.NewReader(buf) - return NewPostUsersUserIdTokensRequestWithBody(server, userId, "application/json", bodyReader) + return NewCreateUserTokenRequestWithBody(server, userId, "application/json", bodyReader) } -// NewPostUsersUserIdTokensRequestWithBody generates requests for PostUsersUserIdTokens with any type of body -func NewPostUsersUserIdTokensRequestWithBody(server string, userId string, contentType string, body io.Reader) (*http.Request, error) { +// NewCreateUserTokenRequestWithBody generates requests for CreateUserToken with any type of body +func NewCreateUserTokenRequestWithBody(server string, userId string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string @@ -19033,8 +19112,8 @@ func NewPostUsersUserIdTokensRequestWithBody(server string, userId string, conte return req, nil } -// NewDeleteUsersUserIdTokensTokenIdRequest generates requests for DeleteUsersUserIdTokensTokenId -func NewDeleteUsersUserIdTokensTokenIdRequest(server string, userId string, tokenId string) (*http.Request, error) { +// NewDeleteUserTokenRequest generates requests for DeleteUserToken +func NewDeleteUserTokenRequest(server string, userId string, tokenId string) (*http.Request, error) { var err error var pathParam0 string @@ -19074,8 +19153,8 @@ func NewDeleteUsersUserIdTokensTokenIdRequest(server string, userId string, toke return req, nil } -// NewGetUsersUserIdTokensTokenIdRequest generates requests for GetUsersUserIdTokensTokenId -func NewGetUsersUserIdTokensTokenIdRequest(server string, userId string, tokenId string) (*http.Request, error) { +// NewGetUserTokenRequest generates requests for GetUserToken +func NewGetUserTokenRequest(server string, userId string, tokenId string) (*http.Request, error) { var err error var pathParam0 string @@ -19161,10 +19240,10 @@ type ClientWithResponsesInterface interface { // GetCurrentUserWithResponse request GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error) - // PatchCurrentUserWithBodyWithResponse request with any body - PatchCurrentUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchCurrentUserResponse, error) + // UpdateCurrentUserWithBodyWithResponse request with any body + UpdateCurrentUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCurrentUserResponse, error) - PatchCurrentUserWithResponse(ctx context.Context, body PatchCurrentUserJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchCurrentUserResponse, error) + UpdateCurrentUserWithResponse(ctx context.Context, body UpdateCurrentUserJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCurrentUserResponse, error) // ListOrganizationsWithResponse request ListOrganizationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListOrganizationsResponse, error) @@ -19199,19 +19278,19 @@ type ClientWithResponsesInterface interface { // DeleteKeyInAgentWithResponse request DeleteKeyInAgentWithResponse(ctx context.Context, orgId OrgIdPathParam, agentId AgentIdPathParam, fingerprint FingerprintPathParam, reqEditors ...RequestEditorFn) (*DeleteKeyInAgentResponse, error) - // GetOrgsOrgIdAppsWithResponse request - GetOrgsOrgIdAppsWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdAppsResponse, error) + // ListApplicationsWithResponse request + ListApplicationsWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*ListApplicationsResponse, error) - // PostOrgsOrgIdAppsWithBodyWithResponse request with any body - PostOrgsOrgIdAppsWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdAppsResponse, error) + // CreateApplicationWithBodyWithResponse request with any body + CreateApplicationWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateApplicationResponse, error) - PostOrgsOrgIdAppsWithResponse(ctx context.Context, orgId string, body PostOrgsOrgIdAppsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdAppsResponse, error) + CreateApplicationWithResponse(ctx context.Context, orgId string, body CreateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApplicationResponse, error) - // DeleteOrgsOrgIdAppsAppIdWithResponse request - DeleteOrgsOrgIdAppsAppIdWithResponse(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*DeleteOrgsOrgIdAppsAppIdResponse, error) + // DeleteApplicationWithResponse request + DeleteApplicationWithResponse(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*DeleteApplicationResponse, error) - // GetOrgsOrgIdAppsAppIdWithResponse request - GetOrgsOrgIdAppsAppIdWithResponse(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdAppsAppIdResponse, error) + // GetApplicationWithResponse request + GetApplicationWithResponse(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*GetApplicationResponse, error) // ListPipelineApprovalRequestsWithResponse request ListPipelineApprovalRequestsWithResponse(ctx context.Context, orgId OrgIdPathParam, appId AppIdPathParam, params *ListPipelineApprovalRequestsParams, reqEditors ...RequestEditorFn) (*ListPipelineApprovalRequestsResponse, error) @@ -19252,27 +19331,27 @@ type ClientWithResponsesInterface interface { PutOrgsOrgIdAppsAppIdDeltasDeltaIdMetadataNameWithResponse(ctx context.Context, orgId OrgIdPathParam, appId AppIdPathParam, deltaId string, body PutOrgsOrgIdAppsAppIdDeltasDeltaIdMetadataNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutOrgsOrgIdAppsAppIdDeltasDeltaIdMetadataNameResponse, error) - // GetOrgsOrgIdAppsAppIdEnvsWithResponse request - GetOrgsOrgIdAppsAppIdEnvsWithResponse(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdAppsAppIdEnvsResponse, error) + // ListEnvironmentsWithResponse request + ListEnvironmentsWithResponse(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*ListEnvironmentsResponse, error) - // PostOrgsOrgIdAppsAppIdEnvsWithBodyWithResponse request with any body - PostOrgsOrgIdAppsAppIdEnvsWithBodyWithResponse(ctx context.Context, orgId string, appId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdAppsAppIdEnvsResponse, error) + // CreateEnvironmentWithBodyWithResponse request with any body + CreateEnvironmentWithBodyWithResponse(ctx context.Context, orgId string, appId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error) - PostOrgsOrgIdAppsAppIdEnvsWithResponse(ctx context.Context, orgId string, appId string, body PostOrgsOrgIdAppsAppIdEnvsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdAppsAppIdEnvsResponse, error) + CreateEnvironmentWithResponse(ctx context.Context, orgId string, appId string, body CreateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error) - // DeleteOrgsOrgIdAppsAppIdEnvsEnvIdWithResponse request - DeleteOrgsOrgIdAppsAppIdEnvsEnvIdWithResponse(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResponse, error) + // DeleteEnvironmentWithResponse request + DeleteEnvironmentWithResponse(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResponse, error) - // GetOrgsOrgIdAppsAppIdEnvsEnvIdWithResponse request - GetOrgsOrgIdAppsAppIdEnvsEnvIdWithResponse(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdAppsAppIdEnvsEnvIdResponse, error) + // GetEnvironmentWithResponse request + GetEnvironmentWithResponse(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error) // ListDeploymentsWithResponse request ListDeploymentsWithResponse(ctx context.Context, orgId string, appId string, envId string, params *ListDeploymentsParams, reqEditors ...RequestEditorFn) (*ListDeploymentsResponse, error) - // PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysWithBodyWithResponse request with any body - PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysWithBodyWithResponse(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysResponse, error) + // CreateDeploymentWithBodyWithResponse request with any body + CreateDeploymentWithBodyWithResponse(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDeploymentResponse, error) - PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysWithResponse(ctx context.Context, orgId string, appId string, envId string, body PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysResponse, error) + CreateDeploymentWithResponse(ctx context.Context, orgId string, appId string, envId string, body CreateDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDeploymentResponse, error) // GetDeploymentWithResponse request GetDeploymentWithResponse(ctx context.Context, orgId string, appId string, envId string, deployId string, reqEditors ...RequestEditorFn) (*GetDeploymentResponse, error) @@ -19280,21 +19359,21 @@ type ClientWithResponsesInterface interface { // ListDeploymentErrorsWithResponse request ListDeploymentErrorsWithResponse(ctx context.Context, orgId string, appId string, envId string, deployId string, reqEditors ...RequestEditorFn) (*ListDeploymentErrorsResponse, error) - // PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdWithBodyWithResponse request with any body - PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdWithBodyWithResponse(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdResponse, error) + // RebaseEnvironmentWithBodyWithResponse request with any body + RebaseEnvironmentWithBodyWithResponse(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RebaseEnvironmentResponse, error) - PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdWithResponse(ctx context.Context, orgId string, appId string, envId string, body PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdResponse, error) + RebaseEnvironmentWithResponse(ctx context.Context, orgId string, appId string, envId string, body RebaseEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*RebaseEnvironmentResponse, error) - // GetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesWithResponse request - GetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesWithResponse(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesResponse, error) + // ListActiveResourcesWithResponse request + ListActiveResourcesWithResponse(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*ListActiveResourcesResponse, error) - // PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphWithBodyWithResponse request with any body - PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphWithBodyWithResponse(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphResponse, error) + // QueryResourceGraphWithBodyWithResponse request with any body + QueryResourceGraphWithBodyWithResponse(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*QueryResourceGraphResponse, error) - PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphWithResponse(ctx context.Context, orgId string, appId string, envId string, body PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphResponse, error) + QueryResourceGraphWithResponse(ctx context.Context, orgId string, appId string, envId string, body QueryResourceGraphJSONRequestBody, reqEditors ...RequestEditorFn) (*QueryResourceGraphResponse, error) - // DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResIdWithResponse request - DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResIdWithResponse(ctx context.Context, orgId string, appId string, envId string, pType string, resId string, reqEditors ...RequestEditorFn) (*DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResIdResponse, error) + // DeleteActiveResourceWithResponse request + DeleteActiveResourceWithResponse(ctx context.Context, orgId string, appId string, envId string, pType string, resId string, reqEditors ...RequestEditorFn) (*DeleteActiveResourceResponse, error) // GetOrgsOrgIdAppsAppIdEnvsEnvIdRulesWithResponse request GetOrgsOrgIdAppsAppIdEnvsEnvIdRulesWithResponse(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdAppsAppIdEnvsEnvIdRulesResponse, error) @@ -19468,24 +19547,24 @@ type ClientWithResponsesInterface interface { // GetOrgsOrgIdAppsAppIdSetsSetIdDiffSourceSetIdWithResponse request GetOrgsOrgIdAppsAppIdSetsSetIdDiffSourceSetIdWithResponse(ctx context.Context, orgId OrgIdPathParam, appId AppIdPathParam, setId string, sourceSetId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdAppsAppIdSetsSetIdDiffSourceSetIdResponse, error) - // GetOrgsOrgIdAppsAppIdUsersWithResponse request - GetOrgsOrgIdAppsAppIdUsersWithResponse(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdAppsAppIdUsersResponse, error) + // ListUserRolesInAppWithResponse request + ListUserRolesInAppWithResponse(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*ListUserRolesInAppResponse, error) - // PostOrgsOrgIdAppsAppIdUsersWithBodyWithResponse request with any body - PostOrgsOrgIdAppsAppIdUsersWithBodyWithResponse(ctx context.Context, orgId string, appId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdAppsAppIdUsersResponse, error) + // CreateUserRoleInAppWithBodyWithResponse request with any body + CreateUserRoleInAppWithBodyWithResponse(ctx context.Context, orgId string, appId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUserRoleInAppResponse, error) - PostOrgsOrgIdAppsAppIdUsersWithResponse(ctx context.Context, orgId string, appId string, body PostOrgsOrgIdAppsAppIdUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdAppsAppIdUsersResponse, error) + CreateUserRoleInAppWithResponse(ctx context.Context, orgId string, appId string, body CreateUserRoleInAppJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUserRoleInAppResponse, error) - // DeleteOrgsOrgIdAppsAppIdUsersUserIdWithResponse request - DeleteOrgsOrgIdAppsAppIdUsersUserIdWithResponse(ctx context.Context, orgId string, appId string, userId string, reqEditors ...RequestEditorFn) (*DeleteOrgsOrgIdAppsAppIdUsersUserIdResponse, error) + // DeleteUserRoleInAppWithResponse request + DeleteUserRoleInAppWithResponse(ctx context.Context, orgId string, appId string, userId string, reqEditors ...RequestEditorFn) (*DeleteUserRoleInAppResponse, error) - // GetOrgsOrgIdAppsAppIdUsersUserIdWithResponse request - GetOrgsOrgIdAppsAppIdUsersUserIdWithResponse(ctx context.Context, orgId string, appId string, userId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdAppsAppIdUsersUserIdResponse, error) + // GetUserRoleInAppWithResponse request + GetUserRoleInAppWithResponse(ctx context.Context, orgId string, appId string, userId string, reqEditors ...RequestEditorFn) (*GetUserRoleInAppResponse, error) - // PatchOrgsOrgIdAppsAppIdUsersUserIdWithBodyWithResponse request with any body - PatchOrgsOrgIdAppsAppIdUsersUserIdWithBodyWithResponse(ctx context.Context, orgId string, appId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchOrgsOrgIdAppsAppIdUsersUserIdResponse, error) + // UpdateUserRoleInAppWithBodyWithResponse request with any body + UpdateUserRoleInAppWithBodyWithResponse(ctx context.Context, orgId string, appId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserRoleInAppResponse, error) - PatchOrgsOrgIdAppsAppIdUsersUserIdWithResponse(ctx context.Context, orgId string, appId string, userId string, body PatchOrgsOrgIdAppsAppIdUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchOrgsOrgIdAppsAppIdUsersUserIdResponse, error) + UpdateUserRoleInAppWithResponse(ctx context.Context, orgId string, appId string, userId string, body UpdateUserRoleInAppJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserRoleInAppResponse, error) // GetOrgsOrgIdAppsAppIdValueSetVersionsWithResponse request GetOrgsOrgIdAppsAppIdValueSetVersionsWithResponse(ctx context.Context, orgId string, appId string, params *GetOrgsOrgIdAppsAppIdValueSetVersionsParams, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdAppsAppIdValueSetVersionsResponse, error) @@ -19585,35 +19664,35 @@ type ClientWithResponsesInterface interface { // ListAuditLogEntriesWithResponse request ListAuditLogEntriesWithResponse(ctx context.Context, orgId OrgIdPathParam, params *ListAuditLogEntriesParams, reqEditors ...RequestEditorFn) (*ListAuditLogEntriesResponse, error) - // GetOrgsOrgIdEnvTypesWithResponse request - GetOrgsOrgIdEnvTypesWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdEnvTypesResponse, error) + // ListEnvironmentTypesWithResponse request + ListEnvironmentTypesWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*ListEnvironmentTypesResponse, error) - // PostOrgsOrgIdEnvTypesWithBodyWithResponse request with any body - PostOrgsOrgIdEnvTypesWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdEnvTypesResponse, error) + // CreateEnvironmentTypeWithBodyWithResponse request with any body + CreateEnvironmentTypeWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvironmentTypeResponse, error) - PostOrgsOrgIdEnvTypesWithResponse(ctx context.Context, orgId string, body PostOrgsOrgIdEnvTypesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdEnvTypesResponse, error) + CreateEnvironmentTypeWithResponse(ctx context.Context, orgId string, body CreateEnvironmentTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvironmentTypeResponse, error) - // DeleteOrgsOrgIdEnvTypesEnvTypeIdWithResponse request - DeleteOrgsOrgIdEnvTypesEnvTypeIdWithResponse(ctx context.Context, orgId string, envTypeId string, reqEditors ...RequestEditorFn) (*DeleteOrgsOrgIdEnvTypesEnvTypeIdResponse, error) + // DeleteEnvironmentTypeWithResponse request + DeleteEnvironmentTypeWithResponse(ctx context.Context, orgId string, envTypeId string, reqEditors ...RequestEditorFn) (*DeleteEnvironmentTypeResponse, error) - // GetOrgsOrgIdEnvTypesEnvTypeIdWithResponse request - GetOrgsOrgIdEnvTypesEnvTypeIdWithResponse(ctx context.Context, orgId string, envTypeId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdEnvTypesEnvTypeIdResponse, error) + // GetEnvironmentTypeWithResponse request + GetEnvironmentTypeWithResponse(ctx context.Context, orgId string, envTypeId string, reqEditors ...RequestEditorFn) (*GetEnvironmentTypeResponse, error) - // PostOrgsOrgIdEnvTypesEnvTypeUsersWithBodyWithResponse request with any body - PostOrgsOrgIdEnvTypesEnvTypeUsersWithBodyWithResponse(ctx context.Context, orgId string, envType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdEnvTypesEnvTypeUsersResponse, error) + // CreateUserRoleInEnvTypeWithBodyWithResponse request with any body + CreateUserRoleInEnvTypeWithBodyWithResponse(ctx context.Context, orgId string, envType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUserRoleInEnvTypeResponse, error) - PostOrgsOrgIdEnvTypesEnvTypeUsersWithResponse(ctx context.Context, orgId string, envType string, body PostOrgsOrgIdEnvTypesEnvTypeUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdEnvTypesEnvTypeUsersResponse, error) + CreateUserRoleInEnvTypeWithResponse(ctx context.Context, orgId string, envType string, body CreateUserRoleInEnvTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUserRoleInEnvTypeResponse, error) - // DeleteOrgsOrgIdEnvTypesEnvTypeUsersUserIdWithResponse request - DeleteOrgsOrgIdEnvTypesEnvTypeUsersUserIdWithResponse(ctx context.Context, orgId string, envType string, userId string, reqEditors ...RequestEditorFn) (*DeleteOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse, error) + // DeleteUserRoleInEnvTypeWithResponse request + DeleteUserRoleInEnvTypeWithResponse(ctx context.Context, orgId string, envType string, userId string, reqEditors ...RequestEditorFn) (*DeleteUserRoleInEnvTypeResponse, error) - // GetOrgsOrgIdEnvTypesEnvTypeUsersUserIdWithResponse request - GetOrgsOrgIdEnvTypesEnvTypeUsersUserIdWithResponse(ctx context.Context, orgId string, envType string, userId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse, error) + // GetUserRoleInEnvTypeWithResponse request + GetUserRoleInEnvTypeWithResponse(ctx context.Context, orgId string, envType string, userId string, reqEditors ...RequestEditorFn) (*GetUserRoleInEnvTypeResponse, error) - // PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdWithBodyWithResponse request with any body - PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdWithBodyWithResponse(ctx context.Context, orgId string, envType string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse, error) + // UpdateUserRoleInEnvTypeWithBodyWithResponse request with any body + UpdateUserRoleInEnvTypeWithBodyWithResponse(ctx context.Context, orgId string, envType string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserRoleInEnvTypeResponse, error) - PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdWithResponse(ctx context.Context, orgId string, envType string, userId string, body PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse, error) + UpdateUserRoleInEnvTypeWithResponse(ctx context.Context, orgId string, envType string, userId string, body UpdateUserRoleInEnvTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserRoleInEnvTypeResponse, error) // GetOrgsOrgIdEventsWithResponse request GetOrgsOrgIdEventsWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdEventsResponse, error) @@ -19635,13 +19714,13 @@ type ClientWithResponsesInterface interface { CreateDeprecatedImageBuildWithResponse(ctx context.Context, orgId string, imageId string, body CreateDeprecatedImageBuildJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDeprecatedImageBuildResponse, error) - // GetOrgsOrgIdInvitationsWithResponse request - GetOrgsOrgIdInvitationsWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdInvitationsResponse, error) + // ListInvitesInOrgWithResponse request + ListInvitesInOrgWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*ListInvitesInOrgResponse, error) - // PostOrgsOrgIdInvitationsWithBodyWithResponse request with any body - PostOrgsOrgIdInvitationsWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdInvitationsResponse, error) + // CreateInviteInOrgWithBodyWithResponse request with any body + CreateInviteInOrgWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInviteInOrgResponse, error) - PostOrgsOrgIdInvitationsWithResponse(ctx context.Context, orgId string, body PostOrgsOrgIdInvitationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdInvitationsResponse, error) + CreateInviteInOrgWithResponse(ctx context.Context, orgId string, body CreateInviteInOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInviteInOrgResponse, error) // ListPublicKeysWithResponse request ListPublicKeysWithResponse(ctx context.Context, orgId string, params *ListPublicKeysParams, reqEditors ...RequestEditorFn) (*ListPublicKeysResponse, error) @@ -19688,89 +19767,89 @@ type ClientWithResponsesInterface interface { // GetOrgsOrgIdRegistriesRegIdCredsWithResponse request GetOrgsOrgIdRegistriesRegIdCredsWithResponse(ctx context.Context, orgId string, regId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdRegistriesRegIdCredsResponse, error) - // GetOrgsOrgIdResourcesAccountTypesWithResponse request - GetOrgsOrgIdResourcesAccountTypesWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdResourcesAccountTypesResponse, error) + // ListResourceAccountTypesWithResponse request + ListResourceAccountTypesWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*ListResourceAccountTypesResponse, error) - // GetOrgsOrgIdResourcesAccountsWithResponse request - GetOrgsOrgIdResourcesAccountsWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdResourcesAccountsResponse, error) + // ListResourceAccountsWithResponse request + ListResourceAccountsWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*ListResourceAccountsResponse, error) - // PostOrgsOrgIdResourcesAccountsWithBodyWithResponse request with any body - PostOrgsOrgIdResourcesAccountsWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdResourcesAccountsResponse, error) + // CreateResourceAccountWithBodyWithResponse request with any body + CreateResourceAccountWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateResourceAccountResponse, error) - PostOrgsOrgIdResourcesAccountsWithResponse(ctx context.Context, orgId string, body PostOrgsOrgIdResourcesAccountsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdResourcesAccountsResponse, error) + CreateResourceAccountWithResponse(ctx context.Context, orgId string, body CreateResourceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateResourceAccountResponse, error) - // DeleteOrgsOrgIdResourcesAccountsAccIdWithResponse request - DeleteOrgsOrgIdResourcesAccountsAccIdWithResponse(ctx context.Context, orgId string, accId string, reqEditors ...RequestEditorFn) (*DeleteOrgsOrgIdResourcesAccountsAccIdResponse, error) + // DeleteResourceAccountWithResponse request + DeleteResourceAccountWithResponse(ctx context.Context, orgId string, accId string, reqEditors ...RequestEditorFn) (*DeleteResourceAccountResponse, error) - // GetOrgsOrgIdResourcesAccountsAccIdWithResponse request - GetOrgsOrgIdResourcesAccountsAccIdWithResponse(ctx context.Context, orgId string, accId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdResourcesAccountsAccIdResponse, error) + // GetResourceAccountWithResponse request + GetResourceAccountWithResponse(ctx context.Context, orgId string, accId string, reqEditors ...RequestEditorFn) (*GetResourceAccountResponse, error) - // PatchOrgsOrgIdResourcesAccountsAccIdWithBodyWithResponse request with any body - PatchOrgsOrgIdResourcesAccountsAccIdWithBodyWithResponse(ctx context.Context, orgId string, accId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchOrgsOrgIdResourcesAccountsAccIdResponse, error) + // PatchResourceAccountWithBodyWithResponse request with any body + PatchResourceAccountWithBodyWithResponse(ctx context.Context, orgId string, accId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchResourceAccountResponse, error) - PatchOrgsOrgIdResourcesAccountsAccIdWithResponse(ctx context.Context, orgId string, accId string, body PatchOrgsOrgIdResourcesAccountsAccIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchOrgsOrgIdResourcesAccountsAccIdResponse, error) + PatchResourceAccountWithResponse(ctx context.Context, orgId string, accId string, body PatchResourceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchResourceAccountResponse, error) - // GetOrgsOrgIdResourcesDefsWithResponse request - GetOrgsOrgIdResourcesDefsWithResponse(ctx context.Context, orgId string, params *GetOrgsOrgIdResourcesDefsParams, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdResourcesDefsResponse, error) + // ListResourceDefinitionsWithResponse request + ListResourceDefinitionsWithResponse(ctx context.Context, orgId string, params *ListResourceDefinitionsParams, reqEditors ...RequestEditorFn) (*ListResourceDefinitionsResponse, error) - // PostOrgsOrgIdResourcesDefsWithBodyWithResponse request with any body - PostOrgsOrgIdResourcesDefsWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdResourcesDefsResponse, error) + // CreateResourceDefinitionWithBodyWithResponse request with any body + CreateResourceDefinitionWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateResourceDefinitionResponse, error) - PostOrgsOrgIdResourcesDefsWithResponse(ctx context.Context, orgId string, body PostOrgsOrgIdResourcesDefsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdResourcesDefsResponse, error) + CreateResourceDefinitionWithResponse(ctx context.Context, orgId string, body CreateResourceDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateResourceDefinitionResponse, error) - // DeleteOrgsOrgIdResourcesDefsDefIdWithResponse request - DeleteOrgsOrgIdResourcesDefsDefIdWithResponse(ctx context.Context, orgId string, defId string, params *DeleteOrgsOrgIdResourcesDefsDefIdParams, reqEditors ...RequestEditorFn) (*DeleteOrgsOrgIdResourcesDefsDefIdResponse, error) + // DeleteResourceDefinitionWithResponse request + DeleteResourceDefinitionWithResponse(ctx context.Context, orgId string, defId string, params *DeleteResourceDefinitionParams, reqEditors ...RequestEditorFn) (*DeleteResourceDefinitionResponse, error) - // GetOrgsOrgIdResourcesDefsDefIdWithResponse request - GetOrgsOrgIdResourcesDefsDefIdWithResponse(ctx context.Context, orgId string, defId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdResourcesDefsDefIdResponse, error) + // GetResourceDefinitionWithResponse request + GetResourceDefinitionWithResponse(ctx context.Context, orgId string, defId string, reqEditors ...RequestEditorFn) (*GetResourceDefinitionResponse, error) - // PatchOrgsOrgIdResourcesDefsDefIdWithBodyWithResponse request with any body - PatchOrgsOrgIdResourcesDefsDefIdWithBodyWithResponse(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchOrgsOrgIdResourcesDefsDefIdResponse, error) + // PatchResourceDefinitionWithBodyWithResponse request with any body + PatchResourceDefinitionWithBodyWithResponse(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchResourceDefinitionResponse, error) - PatchOrgsOrgIdResourcesDefsDefIdWithResponse(ctx context.Context, orgId string, defId string, body PatchOrgsOrgIdResourcesDefsDefIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchOrgsOrgIdResourcesDefsDefIdResponse, error) + PatchResourceDefinitionWithResponse(ctx context.Context, orgId string, defId string, body PatchResourceDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchResourceDefinitionResponse, error) - // PutOrgsOrgIdResourcesDefsDefIdWithBodyWithResponse request with any body - PutOrgsOrgIdResourcesDefsDefIdWithBodyWithResponse(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutOrgsOrgIdResourcesDefsDefIdResponse, error) + // UpdateResourceDefinitionWithBodyWithResponse request with any body + UpdateResourceDefinitionWithBodyWithResponse(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateResourceDefinitionResponse, error) - PutOrgsOrgIdResourcesDefsDefIdWithResponse(ctx context.Context, orgId string, defId string, body PutOrgsOrgIdResourcesDefsDefIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutOrgsOrgIdResourcesDefsDefIdResponse, error) + UpdateResourceDefinitionWithResponse(ctx context.Context, orgId string, defId string, body UpdateResourceDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateResourceDefinitionResponse, error) - // PostOrgsOrgIdResourcesDefsDefIdCriteriaWithBodyWithResponse request with any body - PostOrgsOrgIdResourcesDefsDefIdCriteriaWithBodyWithResponse(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdResourcesDefsDefIdCriteriaResponse, error) + // CreateResourceDefinitionCriteriaWithBodyWithResponse request with any body + CreateResourceDefinitionCriteriaWithBodyWithResponse(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateResourceDefinitionCriteriaResponse, error) - PostOrgsOrgIdResourcesDefsDefIdCriteriaWithResponse(ctx context.Context, orgId string, defId string, body PostOrgsOrgIdResourcesDefsDefIdCriteriaJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdResourcesDefsDefIdCriteriaResponse, error) + CreateResourceDefinitionCriteriaWithResponse(ctx context.Context, orgId string, defId string, body CreateResourceDefinitionCriteriaJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateResourceDefinitionCriteriaResponse, error) - // PutOrgsOrgIdResourcesDefsDefIdCriteriaWithBodyWithResponse request with any body - PutOrgsOrgIdResourcesDefsDefIdCriteriaWithBodyWithResponse(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutOrgsOrgIdResourcesDefsDefIdCriteriaResponse, error) + // UpdateResourceDefinitionCriteriaWithBodyWithResponse request with any body + UpdateResourceDefinitionCriteriaWithBodyWithResponse(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateResourceDefinitionCriteriaResponse, error) - PutOrgsOrgIdResourcesDefsDefIdCriteriaWithResponse(ctx context.Context, orgId string, defId string, body PutOrgsOrgIdResourcesDefsDefIdCriteriaJSONRequestBody, reqEditors ...RequestEditorFn) (*PutOrgsOrgIdResourcesDefsDefIdCriteriaResponse, error) + UpdateResourceDefinitionCriteriaWithResponse(ctx context.Context, orgId string, defId string, body UpdateResourceDefinitionCriteriaJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateResourceDefinitionCriteriaResponse, error) - // DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdWithResponse request - DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdWithResponse(ctx context.Context, orgId string, defId string, criteriaId string, params *DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdParams, reqEditors ...RequestEditorFn) (*DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdResponse, error) + // DeleteResourceDefinitionCriteriaWithResponse request + DeleteResourceDefinitionCriteriaWithResponse(ctx context.Context, orgId string, defId string, criteriaId string, params *DeleteResourceDefinitionCriteriaParams, reqEditors ...RequestEditorFn) (*DeleteResourceDefinitionCriteriaResponse, error) - // GetOrgsOrgIdResourcesDefsDefIdResourcesWithResponse request - GetOrgsOrgIdResourcesDefsDefIdResourcesWithResponse(ctx context.Context, orgId string, defId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdResourcesDefsDefIdResourcesResponse, error) + // ListActiveResourceByDefinitionWithResponse request + ListActiveResourceByDefinitionWithResponse(ctx context.Context, orgId string, defId string, reqEditors ...RequestEditorFn) (*ListActiveResourceByDefinitionResponse, error) - // GetOrgsOrgIdResourcesDriversWithResponse request - GetOrgsOrgIdResourcesDriversWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdResourcesDriversResponse, error) + // ListResourceDriversWithResponse request + ListResourceDriversWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*ListResourceDriversResponse, error) - // PostOrgsOrgIdResourcesDriversWithBodyWithResponse request with any body - PostOrgsOrgIdResourcesDriversWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdResourcesDriversResponse, error) + // CreateResourceDriverWithBodyWithResponse request with any body + CreateResourceDriverWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateResourceDriverResponse, error) - PostOrgsOrgIdResourcesDriversWithResponse(ctx context.Context, orgId string, body PostOrgsOrgIdResourcesDriversJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdResourcesDriversResponse, error) + CreateResourceDriverWithResponse(ctx context.Context, orgId string, body CreateResourceDriverJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateResourceDriverResponse, error) - // DeleteOrgsOrgIdResourcesDriversDriverIdWithResponse request - DeleteOrgsOrgIdResourcesDriversDriverIdWithResponse(ctx context.Context, orgId string, driverId string, reqEditors ...RequestEditorFn) (*DeleteOrgsOrgIdResourcesDriversDriverIdResponse, error) + // DeleteResourceDriverWithResponse request + DeleteResourceDriverWithResponse(ctx context.Context, orgId string, driverId string, reqEditors ...RequestEditorFn) (*DeleteResourceDriverResponse, error) - // GetOrgsOrgIdResourcesDriversDriverIdWithResponse request - GetOrgsOrgIdResourcesDriversDriverIdWithResponse(ctx context.Context, orgId string, driverId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdResourcesDriversDriverIdResponse, error) + // GetResourceDriverWithResponse request + GetResourceDriverWithResponse(ctx context.Context, orgId string, driverId string, reqEditors ...RequestEditorFn) (*GetResourceDriverResponse, error) - // PutOrgsOrgIdResourcesDriversDriverIdWithBodyWithResponse request with any body - PutOrgsOrgIdResourcesDriversDriverIdWithBodyWithResponse(ctx context.Context, orgId string, driverId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutOrgsOrgIdResourcesDriversDriverIdResponse, error) + // UpdateResourceDriverWithBodyWithResponse request with any body + UpdateResourceDriverWithBodyWithResponse(ctx context.Context, orgId string, driverId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateResourceDriverResponse, error) - PutOrgsOrgIdResourcesDriversDriverIdWithResponse(ctx context.Context, orgId string, driverId string, body PutOrgsOrgIdResourcesDriversDriverIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutOrgsOrgIdResourcesDriversDriverIdResponse, error) + UpdateResourceDriverWithResponse(ctx context.Context, orgId string, driverId string, body UpdateResourceDriverJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateResourceDriverResponse, error) - // GetOrgsOrgIdResourcesTypesWithResponse request - GetOrgsOrgIdResourcesTypesWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdResourcesTypesResponse, error) + // ListResourceTypesWithResponse request + ListResourceTypesWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*ListResourceTypesResponse, error) // GetOrgsOrgIdSecretstoresWithResponse request GetOrgsOrgIdSecretstoresWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdSecretstoresResponse, error) @@ -19791,24 +19870,24 @@ type ClientWithResponsesInterface interface { PatchOrgsOrgIdSecretstoresStoreIdWithResponse(ctx context.Context, orgId string, storeId string, body PatchOrgsOrgIdSecretstoresStoreIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchOrgsOrgIdSecretstoresStoreIdResponse, error) - // GetOrgsOrgIdUsersWithResponse request - GetOrgsOrgIdUsersWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdUsersResponse, error) + // ListUserRolesInOrgWithResponse request + ListUserRolesInOrgWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*ListUserRolesInOrgResponse, error) - // PostOrgsOrgIdUsersWithBodyWithResponse request with any body - PostOrgsOrgIdUsersWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdUsersResponse, error) + // CreateServiceUserInOrgWithBodyWithResponse request with any body + CreateServiceUserInOrgWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServiceUserInOrgResponse, error) - PostOrgsOrgIdUsersWithResponse(ctx context.Context, orgId string, body PostOrgsOrgIdUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdUsersResponse, error) + CreateServiceUserInOrgWithResponse(ctx context.Context, orgId string, body CreateServiceUserInOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServiceUserInOrgResponse, error) - // DeleteOrgsOrgIdUsersUserIdWithResponse request - DeleteOrgsOrgIdUsersUserIdWithResponse(ctx context.Context, orgId string, userId string, reqEditors ...RequestEditorFn) (*DeleteOrgsOrgIdUsersUserIdResponse, error) + // DeleteUserRoleInOrgWithResponse request + DeleteUserRoleInOrgWithResponse(ctx context.Context, orgId string, userId string, reqEditors ...RequestEditorFn) (*DeleteUserRoleInOrgResponse, error) - // GetOrgsOrgIdUsersUserIdWithResponse request - GetOrgsOrgIdUsersUserIdWithResponse(ctx context.Context, orgId string, userId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdUsersUserIdResponse, error) + // GetUserRoleInOrgWithResponse request + GetUserRoleInOrgWithResponse(ctx context.Context, orgId string, userId string, reqEditors ...RequestEditorFn) (*GetUserRoleInOrgResponse, error) - // PatchOrgsOrgIdUsersUserIdWithBodyWithResponse request with any body - PatchOrgsOrgIdUsersUserIdWithBodyWithResponse(ctx context.Context, orgId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchOrgsOrgIdUsersUserIdResponse, error) + // UpdateUserRoleInOrgWithBodyWithResponse request with any body + UpdateUserRoleInOrgWithBodyWithResponse(ctx context.Context, orgId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserRoleInOrgResponse, error) - PatchOrgsOrgIdUsersUserIdWithResponse(ctx context.Context, orgId string, userId string, body PatchOrgsOrgIdUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchOrgsOrgIdUsersUserIdResponse, error) + UpdateUserRoleInOrgWithResponse(ctx context.Context, orgId string, userId string, body UpdateUserRoleInOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserRoleInOrgResponse, error) // ListWorkloadProfileChartVersionsWithResponse request ListWorkloadProfileChartVersionsWithResponse(ctx context.Context, orgId OrgIdPathParam, params *ListWorkloadProfileChartVersionsParams, reqEditors ...RequestEditorFn) (*ListWorkloadProfileChartVersionsResponse, error) @@ -19844,25 +19923,25 @@ type ClientWithResponsesInterface interface { // GetLatestWorkloadProfileVersionWithResponse request GetLatestWorkloadProfileVersionWithResponse(ctx context.Context, orgId OrgIdPathParam, profileQid ProfileQidPathParam, reqEditors ...RequestEditorFn) (*GetLatestWorkloadProfileVersionResponse, error) - // GetTokensWithResponse request - GetTokensWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTokensResponse, error) + // ListTokensWithResponse request + ListTokensWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTokensResponse, error) - // DeleteTokensTokenIdWithResponse request - DeleteTokensTokenIdWithResponse(ctx context.Context, tokenId string, reqEditors ...RequestEditorFn) (*DeleteTokensTokenIdResponse, error) + // DeleteTokenWithResponse request + DeleteTokenWithResponse(ctx context.Context, tokenId string, reqEditors ...RequestEditorFn) (*DeleteTokenResponse, error) - // GetUsersUserIdTokensWithResponse request - GetUsersUserIdTokensWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*GetUsersUserIdTokensResponse, error) + // ListUserTokensWithResponse request + ListUserTokensWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*ListUserTokensResponse, error) - // PostUsersUserIdTokensWithBodyWithResponse request with any body - PostUsersUserIdTokensWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsersUserIdTokensResponse, error) + // CreateUserTokenWithBodyWithResponse request with any body + CreateUserTokenWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUserTokenResponse, error) - PostUsersUserIdTokensWithResponse(ctx context.Context, userId string, body PostUsersUserIdTokensJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsersUserIdTokensResponse, error) + CreateUserTokenWithResponse(ctx context.Context, userId string, body CreateUserTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUserTokenResponse, error) - // DeleteUsersUserIdTokensTokenIdWithResponse request - DeleteUsersUserIdTokensTokenIdWithResponse(ctx context.Context, userId string, tokenId string, reqEditors ...RequestEditorFn) (*DeleteUsersUserIdTokensTokenIdResponse, error) + // DeleteUserTokenWithResponse request + DeleteUserTokenWithResponse(ctx context.Context, userId string, tokenId string, reqEditors ...RequestEditorFn) (*DeleteUserTokenResponse, error) - // GetUsersUserIdTokensTokenIdWithResponse request - GetUsersUserIdTokensTokenIdWithResponse(ctx context.Context, userId string, tokenId string, reqEditors ...RequestEditorFn) (*GetUsersUserIdTokensTokenIdResponse, error) + // GetUserTokenWithResponse request + GetUserTokenWithResponse(ctx context.Context, userId string, tokenId string, reqEditors ...RequestEditorFn) (*GetUserTokenResponse, error) } type GetCurrentUserResponse struct { @@ -19887,7 +19966,7 @@ func (r GetCurrentUserResponse) StatusCode() int { return 0 } -type PatchCurrentUserResponse struct { +type UpdateCurrentUserResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UserProfileExtendedResponse @@ -19895,7 +19974,7 @@ type PatchCurrentUserResponse struct { } // Status returns HTTPResponse.Status -func (r PatchCurrentUserResponse) Status() string { +func (r UpdateCurrentUserResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -19903,7 +19982,7 @@ func (r PatchCurrentUserResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PatchCurrentUserResponse) StatusCode() int { +func (r UpdateCurrentUserResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } @@ -20118,14 +20197,14 @@ func (r DeleteKeyInAgentResponse) StatusCode() int { return 0 } -type GetOrgsOrgIdAppsResponse struct { +type ListApplicationsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ApplicationResponse } // Status returns HTTPResponse.Status -func (r GetOrgsOrgIdAppsResponse) Status() string { +func (r ListApplicationsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -20133,14 +20212,14 @@ func (r GetOrgsOrgIdAppsResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetOrgsOrgIdAppsResponse) StatusCode() int { +func (r ListApplicationsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PostOrgsOrgIdAppsResponse struct { +type CreateApplicationResponse struct { Body []byte HTTPResponse *http.Response JSON201 *ApplicationResponse @@ -20150,7 +20229,7 @@ type PostOrgsOrgIdAppsResponse struct { } // Status returns HTTPResponse.Status -func (r PostOrgsOrgIdAppsResponse) Status() string { +func (r CreateApplicationResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -20158,14 +20237,14 @@ func (r PostOrgsOrgIdAppsResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PostOrgsOrgIdAppsResponse) StatusCode() int { +func (r CreateApplicationResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type DeleteOrgsOrgIdAppsAppIdResponse struct { +type DeleteApplicationResponse struct { Body []byte HTTPResponse *http.Response JSON401 *HumanitecErrorResponse @@ -20173,7 +20252,7 @@ type DeleteOrgsOrgIdAppsAppIdResponse struct { } // Status returns HTTPResponse.Status -func (r DeleteOrgsOrgIdAppsAppIdResponse) Status() string { +func (r DeleteApplicationResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -20181,14 +20260,14 @@ func (r DeleteOrgsOrgIdAppsAppIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r DeleteOrgsOrgIdAppsAppIdResponse) StatusCode() int { +func (r DeleteApplicationResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetOrgsOrgIdAppsAppIdResponse struct { +type GetApplicationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ApplicationResponse @@ -20196,7 +20275,7 @@ type GetOrgsOrgIdAppsAppIdResponse struct { } // Status returns HTTPResponse.Status -func (r GetOrgsOrgIdAppsAppIdResponse) Status() string { +func (r GetApplicationResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -20204,7 +20283,7 @@ func (r GetOrgsOrgIdAppsAppIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetOrgsOrgIdAppsAppIdResponse) StatusCode() int { +func (r GetApplicationResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } @@ -20420,14 +20499,14 @@ func (r PutOrgsOrgIdAppsAppIdDeltasDeltaIdMetadataNameResponse) StatusCode() int return 0 } -type GetOrgsOrgIdAppsAppIdEnvsResponse struct { +type ListEnvironmentsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]EnvironmentResponse } // Status returns HTTPResponse.Status -func (r GetOrgsOrgIdAppsAppIdEnvsResponse) Status() string { +func (r ListEnvironmentsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -20435,14 +20514,14 @@ func (r GetOrgsOrgIdAppsAppIdEnvsResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetOrgsOrgIdAppsAppIdEnvsResponse) StatusCode() int { +func (r ListEnvironmentsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PostOrgsOrgIdAppsAppIdEnvsResponse struct { +type CreateEnvironmentResponse struct { Body []byte HTTPResponse *http.Response JSON201 *EnvironmentResponse @@ -20452,7 +20531,7 @@ type PostOrgsOrgIdAppsAppIdEnvsResponse struct { } // Status returns HTTPResponse.Status -func (r PostOrgsOrgIdAppsAppIdEnvsResponse) Status() string { +func (r CreateEnvironmentResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -20460,14 +20539,14 @@ func (r PostOrgsOrgIdAppsAppIdEnvsResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PostOrgsOrgIdAppsAppIdEnvsResponse) StatusCode() int { +func (r CreateEnvironmentResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResponse struct { +type DeleteEnvironmentResponse struct { Body []byte HTTPResponse *http.Response JSON400 *HumanitecErrorResponse @@ -20475,7 +20554,7 @@ type DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResponse struct { } // Status returns HTTPResponse.Status -func (r DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResponse) Status() string { +func (r DeleteEnvironmentResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -20483,14 +20562,14 @@ func (r DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResponse) StatusCode() int { +func (r DeleteEnvironmentResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetOrgsOrgIdAppsAppIdEnvsEnvIdResponse struct { +type GetEnvironmentResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EnvironmentResponse @@ -20498,7 +20577,7 @@ type GetOrgsOrgIdAppsAppIdEnvsEnvIdResponse struct { } // Status returns HTTPResponse.Status -func (r GetOrgsOrgIdAppsAppIdEnvsEnvIdResponse) Status() string { +func (r GetEnvironmentResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -20506,7 +20585,7 @@ func (r GetOrgsOrgIdAppsAppIdEnvsEnvIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetOrgsOrgIdAppsAppIdEnvsEnvIdResponse) StatusCode() int { +func (r GetEnvironmentResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } @@ -20536,7 +20615,7 @@ func (r ListDeploymentsResponse) StatusCode() int { return 0 } -type PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysResponse struct { +type CreateDeploymentResponse struct { Body []byte HTTPResponse *http.Response JSON201 *DeploymentResponse @@ -20546,7 +20625,7 @@ type PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysResponse struct { } // Status returns HTTPResponse.Status -func (r PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysResponse) Status() string { +func (r CreateDeploymentResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -20554,7 +20633,7 @@ func (r PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysResponse) StatusCode() int { +func (r CreateDeploymentResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } @@ -20606,7 +20685,7 @@ func (r ListDeploymentErrorsResponse) StatusCode() int { return 0 } -type PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdResponse struct { +type RebaseEnvironmentResponse struct { Body []byte HTTPResponse *http.Response JSON400 *HumanitecErrorResponse @@ -20614,7 +20693,7 @@ type PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdResponse struct { } // Status returns HTTPResponse.Status -func (r PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdResponse) Status() string { +func (r RebaseEnvironmentResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -20622,14 +20701,14 @@ func (r PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdResponse) StatusCode() int { +func (r RebaseEnvironmentResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesResponse struct { +type ListActiveResourcesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ActiveResourceResponse @@ -20637,7 +20716,7 @@ type GetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesResponse struct { } // Status returns HTTPResponse.Status -func (r GetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesResponse) Status() string { +func (r ListActiveResourcesResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -20645,14 +20724,14 @@ func (r GetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesResponse) StatusCode() int { +func (r ListActiveResourcesResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphResponse struct { +type QueryResourceGraphResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]NodeBodyResponse @@ -20661,7 +20740,7 @@ type PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphResponse struct { } // Status returns HTTPResponse.Status -func (r PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphResponse) Status() string { +func (r QueryResourceGraphResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -20669,20 +20748,20 @@ func (r PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphResponse) StatusCode() int { +func (r QueryResourceGraphResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResIdResponse struct { +type DeleteActiveResourceResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status -func (r DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResIdResponse) Status() string { +func (r DeleteActiveResourceResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -20690,7 +20769,7 @@ func (r DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResIdResponse) Status() st } // StatusCode returns HTTPResponse.StatusCode -func (r DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResIdResponse) StatusCode() int { +func (r DeleteActiveResourceResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } @@ -20809,11 +20888,12 @@ func (r PutOrgsOrgIdAppsAppIdEnvsEnvIdRulesRuleIdResponse) StatusCode() int { } type GetRuntimeResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *RuntimeInfoResponse - JSON400 *N400BadRequest - JSON404 *N404NotFound + Body []byte + HTTPResponse *http.Response + JSON200 *RuntimeInfoResponseV1 + Applicationv2JSON200 *RuntimeInfoResponseV2 + JSON400 *N400BadRequest + JSON404 *N404NotFound } // Status returns HTTPResponse.Status @@ -21832,14 +21912,14 @@ func (r GetOrgsOrgIdAppsAppIdSetsSetIdDiffSourceSetIdResponse) StatusCode() int return 0 } -type GetOrgsOrgIdAppsAppIdUsersResponse struct { +type ListUserRolesInAppResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]UserRoleResponse } // Status returns HTTPResponse.Status -func (r GetOrgsOrgIdAppsAppIdUsersResponse) Status() string { +func (r ListUserRolesInAppResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -21847,14 +21927,14 @@ func (r GetOrgsOrgIdAppsAppIdUsersResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetOrgsOrgIdAppsAppIdUsersResponse) StatusCode() int { +func (r ListUserRolesInAppResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PostOrgsOrgIdAppsAppIdUsersResponse struct { +type CreateUserRoleInAppResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UserRoleResponse @@ -21862,7 +21942,7 @@ type PostOrgsOrgIdAppsAppIdUsersResponse struct { } // Status returns HTTPResponse.Status -func (r PostOrgsOrgIdAppsAppIdUsersResponse) Status() string { +func (r CreateUserRoleInAppResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -21870,21 +21950,21 @@ func (r PostOrgsOrgIdAppsAppIdUsersResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PostOrgsOrgIdAppsAppIdUsersResponse) StatusCode() int { +func (r CreateUserRoleInAppResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type DeleteOrgsOrgIdAppsAppIdUsersUserIdResponse struct { +type DeleteUserRoleInAppResponse struct { Body []byte HTTPResponse *http.Response JSON400 *HumanitecErrorResponse } // Status returns HTTPResponse.Status -func (r DeleteOrgsOrgIdAppsAppIdUsersUserIdResponse) Status() string { +func (r DeleteUserRoleInAppResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -21892,14 +21972,14 @@ func (r DeleteOrgsOrgIdAppsAppIdUsersUserIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r DeleteOrgsOrgIdAppsAppIdUsersUserIdResponse) StatusCode() int { +func (r DeleteUserRoleInAppResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetOrgsOrgIdAppsAppIdUsersUserIdResponse struct { +type GetUserRoleInAppResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UserRoleResponse @@ -21907,7 +21987,7 @@ type GetOrgsOrgIdAppsAppIdUsersUserIdResponse struct { } // Status returns HTTPResponse.Status -func (r GetOrgsOrgIdAppsAppIdUsersUserIdResponse) Status() string { +func (r GetUserRoleInAppResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -21915,14 +21995,14 @@ func (r GetOrgsOrgIdAppsAppIdUsersUserIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetOrgsOrgIdAppsAppIdUsersUserIdResponse) StatusCode() int { +func (r GetUserRoleInAppResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PatchOrgsOrgIdAppsAppIdUsersUserIdResponse struct { +type UpdateUserRoleInAppResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UserRoleResponse @@ -21930,7 +22010,7 @@ type PatchOrgsOrgIdAppsAppIdUsersUserIdResponse struct { } // Status returns HTTPResponse.Status -func (r PatchOrgsOrgIdAppsAppIdUsersUserIdResponse) Status() string { +func (r UpdateUserRoleInAppResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -21938,7 +22018,7 @@ func (r PatchOrgsOrgIdAppsAppIdUsersUserIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PatchOrgsOrgIdAppsAppIdUsersUserIdResponse) StatusCode() int { +func (r UpdateUserRoleInAppResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } @@ -22554,14 +22634,14 @@ func (r ListAuditLogEntriesResponse) StatusCode() int { return 0 } -type GetOrgsOrgIdEnvTypesResponse struct { +type ListEnvironmentTypesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]EnvironmentTypeResponse } // Status returns HTTPResponse.Status -func (r GetOrgsOrgIdEnvTypesResponse) Status() string { +func (r ListEnvironmentTypesResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -22569,14 +22649,14 @@ func (r GetOrgsOrgIdEnvTypesResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetOrgsOrgIdEnvTypesResponse) StatusCode() int { +func (r ListEnvironmentTypesResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PostOrgsOrgIdEnvTypesResponse struct { +type CreateEnvironmentTypeResponse struct { Body []byte HTTPResponse *http.Response JSON201 *EnvironmentTypeResponse @@ -22586,7 +22666,7 @@ type PostOrgsOrgIdEnvTypesResponse struct { } // Status returns HTTPResponse.Status -func (r PostOrgsOrgIdEnvTypesResponse) Status() string { +func (r CreateEnvironmentTypeResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -22594,14 +22674,14 @@ func (r PostOrgsOrgIdEnvTypesResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PostOrgsOrgIdEnvTypesResponse) StatusCode() int { +func (r CreateEnvironmentTypeResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type DeleteOrgsOrgIdEnvTypesEnvTypeIdResponse struct { +type DeleteEnvironmentTypeResponse struct { Body []byte HTTPResponse *http.Response JSON204 *EnvironmentTypeResponse @@ -22611,7 +22691,7 @@ type DeleteOrgsOrgIdEnvTypesEnvTypeIdResponse struct { } // Status returns HTTPResponse.Status -func (r DeleteOrgsOrgIdEnvTypesEnvTypeIdResponse) Status() string { +func (r DeleteEnvironmentTypeResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -22619,14 +22699,14 @@ func (r DeleteOrgsOrgIdEnvTypesEnvTypeIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r DeleteOrgsOrgIdEnvTypesEnvTypeIdResponse) StatusCode() int { +func (r DeleteEnvironmentTypeResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetOrgsOrgIdEnvTypesEnvTypeIdResponse struct { +type GetEnvironmentTypeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EnvironmentTypeResponse @@ -22634,7 +22714,7 @@ type GetOrgsOrgIdEnvTypesEnvTypeIdResponse struct { } // Status returns HTTPResponse.Status -func (r GetOrgsOrgIdEnvTypesEnvTypeIdResponse) Status() string { +func (r GetEnvironmentTypeResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -22642,14 +22722,14 @@ func (r GetOrgsOrgIdEnvTypesEnvTypeIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetOrgsOrgIdEnvTypesEnvTypeIdResponse) StatusCode() int { +func (r GetEnvironmentTypeResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PostOrgsOrgIdEnvTypesEnvTypeUsersResponse struct { +type CreateUserRoleInEnvTypeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UserRoleResponse @@ -22657,7 +22737,7 @@ type PostOrgsOrgIdEnvTypesEnvTypeUsersResponse struct { } // Status returns HTTPResponse.Status -func (r PostOrgsOrgIdEnvTypesEnvTypeUsersResponse) Status() string { +func (r CreateUserRoleInEnvTypeResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -22665,21 +22745,21 @@ func (r PostOrgsOrgIdEnvTypesEnvTypeUsersResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PostOrgsOrgIdEnvTypesEnvTypeUsersResponse) StatusCode() int { +func (r CreateUserRoleInEnvTypeResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type DeleteOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse struct { +type DeleteUserRoleInEnvTypeResponse struct { Body []byte HTTPResponse *http.Response JSON400 *HumanitecErrorResponse } // Status returns HTTPResponse.Status -func (r DeleteOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse) Status() string { +func (r DeleteUserRoleInEnvTypeResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -22687,14 +22767,14 @@ func (r DeleteOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r DeleteOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse) StatusCode() int { +func (r DeleteUserRoleInEnvTypeResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse struct { +type GetUserRoleInEnvTypeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UserRoleResponse @@ -22702,7 +22782,7 @@ type GetOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse struct { } // Status returns HTTPResponse.Status -func (r GetOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse) Status() string { +func (r GetUserRoleInEnvTypeResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -22710,14 +22790,14 @@ func (r GetOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse) StatusCode() int { +func (r GetUserRoleInEnvTypeResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse struct { +type UpdateUserRoleInEnvTypeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UserRoleResponse @@ -22725,7 +22805,7 @@ type PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse struct { } // Status returns HTTPResponse.Status -func (r PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse) Status() string { +func (r UpdateUserRoleInEnvTypeResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -22733,7 +22813,7 @@ func (r PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse) StatusCode() int { +func (r UpdateUserRoleInEnvTypeResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } @@ -22876,14 +22956,14 @@ func (r CreateDeprecatedImageBuildResponse) StatusCode() int { return 0 } -type GetOrgsOrgIdInvitationsResponse struct { +type ListInvitesInOrgResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]UserInviteResponse } // Status returns HTTPResponse.Status -func (r GetOrgsOrgIdInvitationsResponse) Status() string { +func (r ListInvitesInOrgResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -22891,14 +22971,14 @@ func (r GetOrgsOrgIdInvitationsResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetOrgsOrgIdInvitationsResponse) StatusCode() int { +func (r ListInvitesInOrgResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PostOrgsOrgIdInvitationsResponse struct { +type CreateInviteInOrgResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]UserRoleResponse @@ -22906,7 +22986,7 @@ type PostOrgsOrgIdInvitationsResponse struct { } // Status returns HTTPResponse.Status -func (r PostOrgsOrgIdInvitationsResponse) Status() string { +func (r CreateInviteInOrgResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -22914,7 +22994,7 @@ func (r PostOrgsOrgIdInvitationsResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PostOrgsOrgIdInvitationsResponse) StatusCode() int { +func (r CreateInviteInOrgResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } @@ -23235,7 +23315,7 @@ func (r GetOrgsOrgIdRegistriesRegIdCredsResponse) StatusCode() int { return 0 } -type GetOrgsOrgIdResourcesAccountTypesResponse struct { +type ListResourceAccountTypesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]AccountTypeResponse @@ -23243,7 +23323,7 @@ type GetOrgsOrgIdResourcesAccountTypesResponse struct { } // Status returns HTTPResponse.Status -func (r GetOrgsOrgIdResourcesAccountTypesResponse) Status() string { +func (r ListResourceAccountTypesResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23251,14 +23331,14 @@ func (r GetOrgsOrgIdResourcesAccountTypesResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetOrgsOrgIdResourcesAccountTypesResponse) StatusCode() int { +func (r ListResourceAccountTypesResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetOrgsOrgIdResourcesAccountsResponse struct { +type ListResourceAccountsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ResourceAccountResponse @@ -23266,7 +23346,7 @@ type GetOrgsOrgIdResourcesAccountsResponse struct { } // Status returns HTTPResponse.Status -func (r GetOrgsOrgIdResourcesAccountsResponse) Status() string { +func (r ListResourceAccountsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23274,14 +23354,14 @@ func (r GetOrgsOrgIdResourcesAccountsResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetOrgsOrgIdResourcesAccountsResponse) StatusCode() int { +func (r ListResourceAccountsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PostOrgsOrgIdResourcesAccountsResponse struct { +type CreateResourceAccountResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ResourceAccountResponse @@ -23292,7 +23372,7 @@ type PostOrgsOrgIdResourcesAccountsResponse struct { } // Status returns HTTPResponse.Status -func (r PostOrgsOrgIdResourcesAccountsResponse) Status() string { +func (r CreateResourceAccountResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23300,14 +23380,14 @@ func (r PostOrgsOrgIdResourcesAccountsResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PostOrgsOrgIdResourcesAccountsResponse) StatusCode() int { +func (r CreateResourceAccountResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type DeleteOrgsOrgIdResourcesAccountsAccIdResponse struct { +type DeleteResourceAccountResponse struct { Body []byte HTTPResponse *http.Response JSON400 *HumanitecErrorResponse @@ -23316,7 +23396,7 @@ type DeleteOrgsOrgIdResourcesAccountsAccIdResponse struct { } // Status returns HTTPResponse.Status -func (r DeleteOrgsOrgIdResourcesAccountsAccIdResponse) Status() string { +func (r DeleteResourceAccountResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23324,14 +23404,14 @@ func (r DeleteOrgsOrgIdResourcesAccountsAccIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r DeleteOrgsOrgIdResourcesAccountsAccIdResponse) StatusCode() int { +func (r DeleteResourceAccountResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetOrgsOrgIdResourcesAccountsAccIdResponse struct { +type GetResourceAccountResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ResourceAccountResponse @@ -23340,7 +23420,7 @@ type GetOrgsOrgIdResourcesAccountsAccIdResponse struct { } // Status returns HTTPResponse.Status -func (r GetOrgsOrgIdResourcesAccountsAccIdResponse) Status() string { +func (r GetResourceAccountResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23348,14 +23428,14 @@ func (r GetOrgsOrgIdResourcesAccountsAccIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetOrgsOrgIdResourcesAccountsAccIdResponse) StatusCode() int { +func (r GetResourceAccountResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PatchOrgsOrgIdResourcesAccountsAccIdResponse struct { +type PatchResourceAccountResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ResourceAccountResponse @@ -23365,7 +23445,7 @@ type PatchOrgsOrgIdResourcesAccountsAccIdResponse struct { } // Status returns HTTPResponse.Status -func (r PatchOrgsOrgIdResourcesAccountsAccIdResponse) Status() string { +func (r PatchResourceAccountResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23373,14 +23453,14 @@ func (r PatchOrgsOrgIdResourcesAccountsAccIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PatchOrgsOrgIdResourcesAccountsAccIdResponse) StatusCode() int { +func (r PatchResourceAccountResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetOrgsOrgIdResourcesDefsResponse struct { +type ListResourceDefinitionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ResourceDefinitionResponse @@ -23388,7 +23468,7 @@ type GetOrgsOrgIdResourcesDefsResponse struct { } // Status returns HTTPResponse.Status -func (r GetOrgsOrgIdResourcesDefsResponse) Status() string { +func (r ListResourceDefinitionsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23396,14 +23476,14 @@ func (r GetOrgsOrgIdResourcesDefsResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetOrgsOrgIdResourcesDefsResponse) StatusCode() int { +func (r ListResourceDefinitionsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PostOrgsOrgIdResourcesDefsResponse struct { +type CreateResourceDefinitionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ResourceDefinitionResponse @@ -23413,7 +23493,7 @@ type PostOrgsOrgIdResourcesDefsResponse struct { } // Status returns HTTPResponse.Status -func (r PostOrgsOrgIdResourcesDefsResponse) Status() string { +func (r CreateResourceDefinitionResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23421,14 +23501,14 @@ func (r PostOrgsOrgIdResourcesDefsResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PostOrgsOrgIdResourcesDefsResponse) StatusCode() int { +func (r CreateResourceDefinitionResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type DeleteOrgsOrgIdResourcesDefsDefIdResponse struct { +type DeleteResourceDefinitionResponse struct { Body []byte HTTPResponse *http.Response JSON404 *HumanitecErrorResponse @@ -23437,7 +23517,7 @@ type DeleteOrgsOrgIdResourcesDefsDefIdResponse struct { } // Status returns HTTPResponse.Status -func (r DeleteOrgsOrgIdResourcesDefsDefIdResponse) Status() string { +func (r DeleteResourceDefinitionResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23445,14 +23525,14 @@ func (r DeleteOrgsOrgIdResourcesDefsDefIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r DeleteOrgsOrgIdResourcesDefsDefIdResponse) StatusCode() int { +func (r DeleteResourceDefinitionResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetOrgsOrgIdResourcesDefsDefIdResponse struct { +type GetResourceDefinitionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ResourceDefinitionResponse @@ -23461,7 +23541,7 @@ type GetOrgsOrgIdResourcesDefsDefIdResponse struct { } // Status returns HTTPResponse.Status -func (r GetOrgsOrgIdResourcesDefsDefIdResponse) Status() string { +func (r GetResourceDefinitionResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23469,14 +23549,14 @@ func (r GetOrgsOrgIdResourcesDefsDefIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetOrgsOrgIdResourcesDefsDefIdResponse) StatusCode() int { +func (r GetResourceDefinitionResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PatchOrgsOrgIdResourcesDefsDefIdResponse struct { +type PatchResourceDefinitionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ResourceDefinitionResponse @@ -23486,7 +23566,7 @@ type PatchOrgsOrgIdResourcesDefsDefIdResponse struct { } // Status returns HTTPResponse.Status -func (r PatchOrgsOrgIdResourcesDefsDefIdResponse) Status() string { +func (r PatchResourceDefinitionResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23494,14 +23574,14 @@ func (r PatchOrgsOrgIdResourcesDefsDefIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PatchOrgsOrgIdResourcesDefsDefIdResponse) StatusCode() int { +func (r PatchResourceDefinitionResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PutOrgsOrgIdResourcesDefsDefIdResponse struct { +type UpdateResourceDefinitionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ResourceDefinitionResponse @@ -23511,7 +23591,7 @@ type PutOrgsOrgIdResourcesDefsDefIdResponse struct { } // Status returns HTTPResponse.Status -func (r PutOrgsOrgIdResourcesDefsDefIdResponse) Status() string { +func (r UpdateResourceDefinitionResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23519,14 +23599,14 @@ func (r PutOrgsOrgIdResourcesDefsDefIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PutOrgsOrgIdResourcesDefsDefIdResponse) StatusCode() int { +func (r UpdateResourceDefinitionResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PostOrgsOrgIdResourcesDefsDefIdCriteriaResponse struct { +type CreateResourceDefinitionCriteriaResponse struct { Body []byte HTTPResponse *http.Response JSON200 *MatchingCriteriaResponse @@ -23537,7 +23617,7 @@ type PostOrgsOrgIdResourcesDefsDefIdCriteriaResponse struct { } // Status returns HTTPResponse.Status -func (r PostOrgsOrgIdResourcesDefsDefIdCriteriaResponse) Status() string { +func (r CreateResourceDefinitionCriteriaResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23545,14 +23625,14 @@ func (r PostOrgsOrgIdResourcesDefsDefIdCriteriaResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PostOrgsOrgIdResourcesDefsDefIdCriteriaResponse) StatusCode() int { +func (r CreateResourceDefinitionCriteriaResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PutOrgsOrgIdResourcesDefsDefIdCriteriaResponse struct { +type UpdateResourceDefinitionCriteriaResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]MatchingCriteriaResponse @@ -23563,7 +23643,7 @@ type PutOrgsOrgIdResourcesDefsDefIdCriteriaResponse struct { } // Status returns HTTPResponse.Status -func (r PutOrgsOrgIdResourcesDefsDefIdCriteriaResponse) Status() string { +func (r UpdateResourceDefinitionCriteriaResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23571,14 +23651,14 @@ func (r PutOrgsOrgIdResourcesDefsDefIdCriteriaResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PutOrgsOrgIdResourcesDefsDefIdCriteriaResponse) StatusCode() int { +func (r UpdateResourceDefinitionCriteriaResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdResponse struct { +type DeleteResourceDefinitionCriteriaResponse struct { Body []byte HTTPResponse *http.Response JSON404 *string @@ -23587,7 +23667,7 @@ type DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdResponse struct { } // Status returns HTTPResponse.Status -func (r DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdResponse) Status() string { +func (r DeleteResourceDefinitionCriteriaResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23595,14 +23675,14 @@ func (r DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdResponse) Status() st } // StatusCode returns HTTPResponse.StatusCode -func (r DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdResponse) StatusCode() int { +func (r DeleteResourceDefinitionCriteriaResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetOrgsOrgIdResourcesDefsDefIdResourcesResponse struct { +type ListActiveResourceByDefinitionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ActiveResourceResponse @@ -23610,7 +23690,7 @@ type GetOrgsOrgIdResourcesDefsDefIdResourcesResponse struct { } // Status returns HTTPResponse.Status -func (r GetOrgsOrgIdResourcesDefsDefIdResourcesResponse) Status() string { +func (r ListActiveResourceByDefinitionResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23618,14 +23698,14 @@ func (r GetOrgsOrgIdResourcesDefsDefIdResourcesResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetOrgsOrgIdResourcesDefsDefIdResourcesResponse) StatusCode() int { +func (r ListActiveResourceByDefinitionResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetOrgsOrgIdResourcesDriversResponse struct { +type ListResourceDriversResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]DriverDefinitionResponse @@ -23633,7 +23713,7 @@ type GetOrgsOrgIdResourcesDriversResponse struct { } // Status returns HTTPResponse.Status -func (r GetOrgsOrgIdResourcesDriversResponse) Status() string { +func (r ListResourceDriversResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23641,14 +23721,14 @@ func (r GetOrgsOrgIdResourcesDriversResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetOrgsOrgIdResourcesDriversResponse) StatusCode() int { +func (r ListResourceDriversResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PostOrgsOrgIdResourcesDriversResponse struct { +type CreateResourceDriverResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DriverDefinitionResponse @@ -23658,7 +23738,7 @@ type PostOrgsOrgIdResourcesDriversResponse struct { } // Status returns HTTPResponse.Status -func (r PostOrgsOrgIdResourcesDriversResponse) Status() string { +func (r CreateResourceDriverResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23666,21 +23746,21 @@ func (r PostOrgsOrgIdResourcesDriversResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PostOrgsOrgIdResourcesDriversResponse) StatusCode() int { +func (r CreateResourceDriverResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type DeleteOrgsOrgIdResourcesDriversDriverIdResponse struct { +type DeleteResourceDriverResponse struct { Body []byte HTTPResponse *http.Response JSON500 *HumanitecErrorResponse } // Status returns HTTPResponse.Status -func (r DeleteOrgsOrgIdResourcesDriversDriverIdResponse) Status() string { +func (r DeleteResourceDriverResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23688,14 +23768,14 @@ func (r DeleteOrgsOrgIdResourcesDriversDriverIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r DeleteOrgsOrgIdResourcesDriversDriverIdResponse) StatusCode() int { +func (r DeleteResourceDriverResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetOrgsOrgIdResourcesDriversDriverIdResponse struct { +type GetResourceDriverResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DriverDefinitionResponse @@ -23704,7 +23784,7 @@ type GetOrgsOrgIdResourcesDriversDriverIdResponse struct { } // Status returns HTTPResponse.Status -func (r GetOrgsOrgIdResourcesDriversDriverIdResponse) Status() string { +func (r GetResourceDriverResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23712,14 +23792,14 @@ func (r GetOrgsOrgIdResourcesDriversDriverIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetOrgsOrgIdResourcesDriversDriverIdResponse) StatusCode() int { +func (r GetResourceDriverResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PutOrgsOrgIdResourcesDriversDriverIdResponse struct { +type UpdateResourceDriverResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DriverDefinitionResponse @@ -23729,7 +23809,7 @@ type PutOrgsOrgIdResourcesDriversDriverIdResponse struct { } // Status returns HTTPResponse.Status -func (r PutOrgsOrgIdResourcesDriversDriverIdResponse) Status() string { +func (r UpdateResourceDriverResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23737,14 +23817,14 @@ func (r PutOrgsOrgIdResourcesDriversDriverIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PutOrgsOrgIdResourcesDriversDriverIdResponse) StatusCode() int { +func (r UpdateResourceDriverResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetOrgsOrgIdResourcesTypesResponse struct { +type ListResourceTypesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ResourceTypeResponse @@ -23752,7 +23832,7 @@ type GetOrgsOrgIdResourcesTypesResponse struct { } // Status returns HTTPResponse.Status -func (r GetOrgsOrgIdResourcesTypesResponse) Status() string { +func (r ListResourceTypesResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23760,7 +23840,7 @@ func (r GetOrgsOrgIdResourcesTypesResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetOrgsOrgIdResourcesTypesResponse) StatusCode() int { +func (r ListResourceTypesResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } @@ -23883,14 +23963,14 @@ func (r PatchOrgsOrgIdSecretstoresStoreIdResponse) StatusCode() int { return 0 } -type GetOrgsOrgIdUsersResponse struct { +type ListUserRolesInOrgResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]UserRoleResponse } // Status returns HTTPResponse.Status -func (r GetOrgsOrgIdUsersResponse) Status() string { +func (r ListUserRolesInOrgResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23898,14 +23978,14 @@ func (r GetOrgsOrgIdUsersResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetOrgsOrgIdUsersResponse) StatusCode() int { +func (r ListUserRolesInOrgResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PostOrgsOrgIdUsersResponse struct { +type CreateServiceUserInOrgResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UserProfileResponse @@ -23913,7 +23993,7 @@ type PostOrgsOrgIdUsersResponse struct { } // Status returns HTTPResponse.Status -func (r PostOrgsOrgIdUsersResponse) Status() string { +func (r CreateServiceUserInOrgResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23921,21 +24001,21 @@ func (r PostOrgsOrgIdUsersResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PostOrgsOrgIdUsersResponse) StatusCode() int { +func (r CreateServiceUserInOrgResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type DeleteOrgsOrgIdUsersUserIdResponse struct { +type DeleteUserRoleInOrgResponse struct { Body []byte HTTPResponse *http.Response JSON400 *HumanitecErrorResponse } // Status returns HTTPResponse.Status -func (r DeleteOrgsOrgIdUsersUserIdResponse) Status() string { +func (r DeleteUserRoleInOrgResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23943,14 +24023,14 @@ func (r DeleteOrgsOrgIdUsersUserIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r DeleteOrgsOrgIdUsersUserIdResponse) StatusCode() int { +func (r DeleteUserRoleInOrgResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetOrgsOrgIdUsersUserIdResponse struct { +type GetUserRoleInOrgResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UserRoleResponse @@ -23958,7 +24038,7 @@ type GetOrgsOrgIdUsersUserIdResponse struct { } // Status returns HTTPResponse.Status -func (r GetOrgsOrgIdUsersUserIdResponse) Status() string { +func (r GetUserRoleInOrgResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23966,14 +24046,14 @@ func (r GetOrgsOrgIdUsersUserIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetOrgsOrgIdUsersUserIdResponse) StatusCode() int { +func (r GetUserRoleInOrgResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PatchOrgsOrgIdUsersUserIdResponse struct { +type UpdateUserRoleInOrgResponse struct { Body []byte HTTPResponse *http.Response JSON200 *UserRoleResponse @@ -23981,7 +24061,7 @@ type PatchOrgsOrgIdUsersUserIdResponse struct { } // Status returns HTTPResponse.Status -func (r PatchOrgsOrgIdUsersUserIdResponse) Status() string { +func (r UpdateUserRoleInOrgResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -23989,7 +24069,7 @@ func (r PatchOrgsOrgIdUsersUserIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PatchOrgsOrgIdUsersUserIdResponse) StatusCode() int { +func (r UpdateUserRoleInOrgResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } @@ -24228,14 +24308,14 @@ func (r GetLatestWorkloadProfileVersionResponse) StatusCode() int { return 0 } -type GetTokensResponse struct { +type ListTokensResponse struct { Body []byte HTTPResponse *http.Response JSON200 *map[string]interface{} } // Status returns HTTPResponse.Status -func (r GetTokensResponse) Status() string { +func (r ListTokensResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -24243,20 +24323,20 @@ func (r GetTokensResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetTokensResponse) StatusCode() int { +func (r ListTokensResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type DeleteTokensTokenIdResponse struct { +type DeleteTokenResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status -func (r DeleteTokensTokenIdResponse) Status() string { +func (r DeleteTokenResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -24264,21 +24344,21 @@ func (r DeleteTokensTokenIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r DeleteTokensTokenIdResponse) StatusCode() int { +func (r DeleteTokenResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetUsersUserIdTokensResponse struct { +type ListUserTokensResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]TokenInfoResponse } // Status returns HTTPResponse.Status -func (r GetUsersUserIdTokensResponse) Status() string { +func (r ListUserTokensResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -24286,14 +24366,14 @@ func (r GetUsersUserIdTokensResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetUsersUserIdTokensResponse) StatusCode() int { +func (r ListUserTokensResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type PostUsersUserIdTokensResponse struct { +type CreateUserTokenResponse struct { Body []byte HTTPResponse *http.Response JSON200 *TokenResponse @@ -24301,7 +24381,7 @@ type PostUsersUserIdTokensResponse struct { } // Status returns HTTPResponse.Status -func (r PostUsersUserIdTokensResponse) Status() string { +func (r CreateUserTokenResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -24309,20 +24389,20 @@ func (r PostUsersUserIdTokensResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r PostUsersUserIdTokensResponse) StatusCode() int { +func (r CreateUserTokenResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type DeleteUsersUserIdTokensTokenIdResponse struct { +type DeleteUserTokenResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status -func (r DeleteUsersUserIdTokensTokenIdResponse) Status() string { +func (r DeleteUserTokenResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -24330,21 +24410,21 @@ func (r DeleteUsersUserIdTokensTokenIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r DeleteUsersUserIdTokensTokenIdResponse) StatusCode() int { +func (r DeleteUserTokenResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } -type GetUsersUserIdTokensTokenIdResponse struct { +type GetUserTokenResponse struct { Body []byte HTTPResponse *http.Response JSON200 *TokenInfoResponse } // Status returns HTTPResponse.Status -func (r GetUsersUserIdTokensTokenIdResponse) Status() string { +func (r GetUserTokenResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } @@ -24352,7 +24432,7 @@ func (r GetUsersUserIdTokensTokenIdResponse) Status() string { } // StatusCode returns HTTPResponse.StatusCode -func (r GetUsersUserIdTokensTokenIdResponse) StatusCode() int { +func (r GetUserTokenResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } @@ -24368,21 +24448,21 @@ func (c *ClientWithResponses) GetCurrentUserWithResponse(ctx context.Context, re return ParseGetCurrentUserResponse(rsp) } -// PatchCurrentUserWithBodyWithResponse request with arbitrary body returning *PatchCurrentUserResponse -func (c *ClientWithResponses) PatchCurrentUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchCurrentUserResponse, error) { - rsp, err := c.PatchCurrentUserWithBody(ctx, contentType, body, reqEditors...) +// UpdateCurrentUserWithBodyWithResponse request with arbitrary body returning *UpdateCurrentUserResponse +func (c *ClientWithResponses) UpdateCurrentUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCurrentUserResponse, error) { + rsp, err := c.UpdateCurrentUserWithBody(ctx, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePatchCurrentUserResponse(rsp) + return ParseUpdateCurrentUserResponse(rsp) } -func (c *ClientWithResponses) PatchCurrentUserWithResponse(ctx context.Context, body PatchCurrentUserJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchCurrentUserResponse, error) { - rsp, err := c.PatchCurrentUser(ctx, body, reqEditors...) +func (c *ClientWithResponses) UpdateCurrentUserWithResponse(ctx context.Context, body UpdateCurrentUserJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCurrentUserResponse, error) { + rsp, err := c.UpdateCurrentUser(ctx, body, reqEditors...) if err != nil { return nil, err } - return ParsePatchCurrentUserResponse(rsp) + return ParseUpdateCurrentUserResponse(rsp) } // ListOrganizationsWithResponse request returning *ListOrganizationsResponse @@ -24490,48 +24570,48 @@ func (c *ClientWithResponses) DeleteKeyInAgentWithResponse(ctx context.Context, return ParseDeleteKeyInAgentResponse(rsp) } -// GetOrgsOrgIdAppsWithResponse request returning *GetOrgsOrgIdAppsResponse -func (c *ClientWithResponses) GetOrgsOrgIdAppsWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdAppsResponse, error) { - rsp, err := c.GetOrgsOrgIdApps(ctx, orgId, reqEditors...) +// ListApplicationsWithResponse request returning *ListApplicationsResponse +func (c *ClientWithResponses) ListApplicationsWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*ListApplicationsResponse, error) { + rsp, err := c.ListApplications(ctx, orgId, reqEditors...) if err != nil { return nil, err } - return ParseGetOrgsOrgIdAppsResponse(rsp) + return ParseListApplicationsResponse(rsp) } -// PostOrgsOrgIdAppsWithBodyWithResponse request with arbitrary body returning *PostOrgsOrgIdAppsResponse -func (c *ClientWithResponses) PostOrgsOrgIdAppsWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdAppsResponse, error) { - rsp, err := c.PostOrgsOrgIdAppsWithBody(ctx, orgId, contentType, body, reqEditors...) +// CreateApplicationWithBodyWithResponse request with arbitrary body returning *CreateApplicationResponse +func (c *ClientWithResponses) CreateApplicationWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateApplicationResponse, error) { + rsp, err := c.CreateApplicationWithBody(ctx, orgId, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdAppsResponse(rsp) + return ParseCreateApplicationResponse(rsp) } -func (c *ClientWithResponses) PostOrgsOrgIdAppsWithResponse(ctx context.Context, orgId string, body PostOrgsOrgIdAppsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdAppsResponse, error) { - rsp, err := c.PostOrgsOrgIdApps(ctx, orgId, body, reqEditors...) +func (c *ClientWithResponses) CreateApplicationWithResponse(ctx context.Context, orgId string, body CreateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApplicationResponse, error) { + rsp, err := c.CreateApplication(ctx, orgId, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdAppsResponse(rsp) + return ParseCreateApplicationResponse(rsp) } -// DeleteOrgsOrgIdAppsAppIdWithResponse request returning *DeleteOrgsOrgIdAppsAppIdResponse -func (c *ClientWithResponses) DeleteOrgsOrgIdAppsAppIdWithResponse(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*DeleteOrgsOrgIdAppsAppIdResponse, error) { - rsp, err := c.DeleteOrgsOrgIdAppsAppId(ctx, orgId, appId, reqEditors...) +// DeleteApplicationWithResponse request returning *DeleteApplicationResponse +func (c *ClientWithResponses) DeleteApplicationWithResponse(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*DeleteApplicationResponse, error) { + rsp, err := c.DeleteApplication(ctx, orgId, appId, reqEditors...) if err != nil { return nil, err } - return ParseDeleteOrgsOrgIdAppsAppIdResponse(rsp) + return ParseDeleteApplicationResponse(rsp) } -// GetOrgsOrgIdAppsAppIdWithResponse request returning *GetOrgsOrgIdAppsAppIdResponse -func (c *ClientWithResponses) GetOrgsOrgIdAppsAppIdWithResponse(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdAppsAppIdResponse, error) { - rsp, err := c.GetOrgsOrgIdAppsAppId(ctx, orgId, appId, reqEditors...) +// GetApplicationWithResponse request returning *GetApplicationResponse +func (c *ClientWithResponses) GetApplicationWithResponse(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*GetApplicationResponse, error) { + rsp, err := c.GetApplication(ctx, orgId, appId, reqEditors...) if err != nil { return nil, err } - return ParseGetOrgsOrgIdAppsAppIdResponse(rsp) + return ParseGetApplicationResponse(rsp) } // ListPipelineApprovalRequestsWithResponse request returning *ListPipelineApprovalRequestsResponse @@ -24663,48 +24743,48 @@ func (c *ClientWithResponses) PutOrgsOrgIdAppsAppIdDeltasDeltaIdMetadataNameWith return ParsePutOrgsOrgIdAppsAppIdDeltasDeltaIdMetadataNameResponse(rsp) } -// GetOrgsOrgIdAppsAppIdEnvsWithResponse request returning *GetOrgsOrgIdAppsAppIdEnvsResponse -func (c *ClientWithResponses) GetOrgsOrgIdAppsAppIdEnvsWithResponse(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdAppsAppIdEnvsResponse, error) { - rsp, err := c.GetOrgsOrgIdAppsAppIdEnvs(ctx, orgId, appId, reqEditors...) +// ListEnvironmentsWithResponse request returning *ListEnvironmentsResponse +func (c *ClientWithResponses) ListEnvironmentsWithResponse(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*ListEnvironmentsResponse, error) { + rsp, err := c.ListEnvironments(ctx, orgId, appId, reqEditors...) if err != nil { return nil, err } - return ParseGetOrgsOrgIdAppsAppIdEnvsResponse(rsp) + return ParseListEnvironmentsResponse(rsp) } -// PostOrgsOrgIdAppsAppIdEnvsWithBodyWithResponse request with arbitrary body returning *PostOrgsOrgIdAppsAppIdEnvsResponse -func (c *ClientWithResponses) PostOrgsOrgIdAppsAppIdEnvsWithBodyWithResponse(ctx context.Context, orgId string, appId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdAppsAppIdEnvsResponse, error) { - rsp, err := c.PostOrgsOrgIdAppsAppIdEnvsWithBody(ctx, orgId, appId, contentType, body, reqEditors...) +// CreateEnvironmentWithBodyWithResponse request with arbitrary body returning *CreateEnvironmentResponse +func (c *ClientWithResponses) CreateEnvironmentWithBodyWithResponse(ctx context.Context, orgId string, appId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error) { + rsp, err := c.CreateEnvironmentWithBody(ctx, orgId, appId, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdAppsAppIdEnvsResponse(rsp) + return ParseCreateEnvironmentResponse(rsp) } -func (c *ClientWithResponses) PostOrgsOrgIdAppsAppIdEnvsWithResponse(ctx context.Context, orgId string, appId string, body PostOrgsOrgIdAppsAppIdEnvsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdAppsAppIdEnvsResponse, error) { - rsp, err := c.PostOrgsOrgIdAppsAppIdEnvs(ctx, orgId, appId, body, reqEditors...) +func (c *ClientWithResponses) CreateEnvironmentWithResponse(ctx context.Context, orgId string, appId string, body CreateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error) { + rsp, err := c.CreateEnvironment(ctx, orgId, appId, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdAppsAppIdEnvsResponse(rsp) + return ParseCreateEnvironmentResponse(rsp) } -// DeleteOrgsOrgIdAppsAppIdEnvsEnvIdWithResponse request returning *DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResponse -func (c *ClientWithResponses) DeleteOrgsOrgIdAppsAppIdEnvsEnvIdWithResponse(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResponse, error) { - rsp, err := c.DeleteOrgsOrgIdAppsAppIdEnvsEnvId(ctx, orgId, appId, envId, reqEditors...) +// DeleteEnvironmentWithResponse request returning *DeleteEnvironmentResponse +func (c *ClientWithResponses) DeleteEnvironmentWithResponse(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResponse, error) { + rsp, err := c.DeleteEnvironment(ctx, orgId, appId, envId, reqEditors...) if err != nil { return nil, err } - return ParseDeleteOrgsOrgIdAppsAppIdEnvsEnvIdResponse(rsp) + return ParseDeleteEnvironmentResponse(rsp) } -// GetOrgsOrgIdAppsAppIdEnvsEnvIdWithResponse request returning *GetOrgsOrgIdAppsAppIdEnvsEnvIdResponse -func (c *ClientWithResponses) GetOrgsOrgIdAppsAppIdEnvsEnvIdWithResponse(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdAppsAppIdEnvsEnvIdResponse, error) { - rsp, err := c.GetOrgsOrgIdAppsAppIdEnvsEnvId(ctx, orgId, appId, envId, reqEditors...) +// GetEnvironmentWithResponse request returning *GetEnvironmentResponse +func (c *ClientWithResponses) GetEnvironmentWithResponse(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error) { + rsp, err := c.GetEnvironment(ctx, orgId, appId, envId, reqEditors...) if err != nil { return nil, err } - return ParseGetOrgsOrgIdAppsAppIdEnvsEnvIdResponse(rsp) + return ParseGetEnvironmentResponse(rsp) } // ListDeploymentsWithResponse request returning *ListDeploymentsResponse @@ -24716,21 +24796,21 @@ func (c *ClientWithResponses) ListDeploymentsWithResponse(ctx context.Context, o return ParseListDeploymentsResponse(rsp) } -// PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysWithBodyWithResponse request with arbitrary body returning *PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysResponse -func (c *ClientWithResponses) PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysWithBodyWithResponse(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysResponse, error) { - rsp, err := c.PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysWithBody(ctx, orgId, appId, envId, contentType, body, reqEditors...) +// CreateDeploymentWithBodyWithResponse request with arbitrary body returning *CreateDeploymentResponse +func (c *ClientWithResponses) CreateDeploymentWithBodyWithResponse(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDeploymentResponse, error) { + rsp, err := c.CreateDeploymentWithBody(ctx, orgId, appId, envId, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysResponse(rsp) + return ParseCreateDeploymentResponse(rsp) } -func (c *ClientWithResponses) PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysWithResponse(ctx context.Context, orgId string, appId string, envId string, body PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysResponse, error) { - rsp, err := c.PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploys(ctx, orgId, appId, envId, body, reqEditors...) +func (c *ClientWithResponses) CreateDeploymentWithResponse(ctx context.Context, orgId string, appId string, envId string, body CreateDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDeploymentResponse, error) { + rsp, err := c.CreateDeployment(ctx, orgId, appId, envId, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysResponse(rsp) + return ParseCreateDeploymentResponse(rsp) } // GetDeploymentWithResponse request returning *GetDeploymentResponse @@ -24751,56 +24831,56 @@ func (c *ClientWithResponses) ListDeploymentErrorsWithResponse(ctx context.Conte return ParseListDeploymentErrorsResponse(rsp) } -// PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdWithBodyWithResponse request with arbitrary body returning *PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdResponse -func (c *ClientWithResponses) PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdWithBodyWithResponse(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdResponse, error) { - rsp, err := c.PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdWithBody(ctx, orgId, appId, envId, contentType, body, reqEditors...) +// RebaseEnvironmentWithBodyWithResponse request with arbitrary body returning *RebaseEnvironmentResponse +func (c *ClientWithResponses) RebaseEnvironmentWithBodyWithResponse(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RebaseEnvironmentResponse, error) { + rsp, err := c.RebaseEnvironmentWithBody(ctx, orgId, appId, envId, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdResponse(rsp) + return ParseRebaseEnvironmentResponse(rsp) } -func (c *ClientWithResponses) PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdWithResponse(ctx context.Context, orgId string, appId string, envId string, body PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdResponse, error) { - rsp, err := c.PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployId(ctx, orgId, appId, envId, body, reqEditors...) +func (c *ClientWithResponses) RebaseEnvironmentWithResponse(ctx context.Context, orgId string, appId string, envId string, body RebaseEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*RebaseEnvironmentResponse, error) { + rsp, err := c.RebaseEnvironment(ctx, orgId, appId, envId, body, reqEditors...) if err != nil { return nil, err } - return ParsePutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdResponse(rsp) + return ParseRebaseEnvironmentResponse(rsp) } -// GetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesWithResponse request returning *GetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesResponse -func (c *ClientWithResponses) GetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesWithResponse(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesResponse, error) { - rsp, err := c.GetOrgsOrgIdAppsAppIdEnvsEnvIdResources(ctx, orgId, appId, envId, reqEditors...) +// ListActiveResourcesWithResponse request returning *ListActiveResourcesResponse +func (c *ClientWithResponses) ListActiveResourcesWithResponse(ctx context.Context, orgId string, appId string, envId string, reqEditors ...RequestEditorFn) (*ListActiveResourcesResponse, error) { + rsp, err := c.ListActiveResources(ctx, orgId, appId, envId, reqEditors...) if err != nil { return nil, err } - return ParseGetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesResponse(rsp) + return ParseListActiveResourcesResponse(rsp) } -// PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphWithBodyWithResponse request with arbitrary body returning *PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphResponse -func (c *ClientWithResponses) PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphWithBodyWithResponse(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphResponse, error) { - rsp, err := c.PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphWithBody(ctx, orgId, appId, envId, contentType, body, reqEditors...) +// QueryResourceGraphWithBodyWithResponse request with arbitrary body returning *QueryResourceGraphResponse +func (c *ClientWithResponses) QueryResourceGraphWithBodyWithResponse(ctx context.Context, orgId string, appId string, envId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*QueryResourceGraphResponse, error) { + rsp, err := c.QueryResourceGraphWithBody(ctx, orgId, appId, envId, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphResponse(rsp) + return ParseQueryResourceGraphResponse(rsp) } -func (c *ClientWithResponses) PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphWithResponse(ctx context.Context, orgId string, appId string, envId string, body PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphResponse, error) { - rsp, err := c.PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraph(ctx, orgId, appId, envId, body, reqEditors...) +func (c *ClientWithResponses) QueryResourceGraphWithResponse(ctx context.Context, orgId string, appId string, envId string, body QueryResourceGraphJSONRequestBody, reqEditors ...RequestEditorFn) (*QueryResourceGraphResponse, error) { + rsp, err := c.QueryResourceGraph(ctx, orgId, appId, envId, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphResponse(rsp) + return ParseQueryResourceGraphResponse(rsp) } -// DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResIdWithResponse request returning *DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResIdResponse -func (c *ClientWithResponses) DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResIdWithResponse(ctx context.Context, orgId string, appId string, envId string, pType string, resId string, reqEditors ...RequestEditorFn) (*DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResIdResponse, error) { - rsp, err := c.DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResId(ctx, orgId, appId, envId, pType, resId, reqEditors...) +// DeleteActiveResourceWithResponse request returning *DeleteActiveResourceResponse +func (c *ClientWithResponses) DeleteActiveResourceWithResponse(ctx context.Context, orgId string, appId string, envId string, pType string, resId string, reqEditors ...RequestEditorFn) (*DeleteActiveResourceResponse, error) { + rsp, err := c.DeleteActiveResource(ctx, orgId, appId, envId, pType, resId, reqEditors...) if err != nil { return nil, err } - return ParseDeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResIdResponse(rsp) + return ParseDeleteActiveResourceResponse(rsp) } // GetOrgsOrgIdAppsAppIdEnvsEnvIdRulesWithResponse request returning *GetOrgsOrgIdAppsAppIdEnvsEnvIdRulesResponse @@ -25347,65 +25427,65 @@ func (c *ClientWithResponses) GetOrgsOrgIdAppsAppIdSetsSetIdDiffSourceSetIdWithR return ParseGetOrgsOrgIdAppsAppIdSetsSetIdDiffSourceSetIdResponse(rsp) } -// GetOrgsOrgIdAppsAppIdUsersWithResponse request returning *GetOrgsOrgIdAppsAppIdUsersResponse -func (c *ClientWithResponses) GetOrgsOrgIdAppsAppIdUsersWithResponse(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdAppsAppIdUsersResponse, error) { - rsp, err := c.GetOrgsOrgIdAppsAppIdUsers(ctx, orgId, appId, reqEditors...) +// ListUserRolesInAppWithResponse request returning *ListUserRolesInAppResponse +func (c *ClientWithResponses) ListUserRolesInAppWithResponse(ctx context.Context, orgId string, appId string, reqEditors ...RequestEditorFn) (*ListUserRolesInAppResponse, error) { + rsp, err := c.ListUserRolesInApp(ctx, orgId, appId, reqEditors...) if err != nil { return nil, err } - return ParseGetOrgsOrgIdAppsAppIdUsersResponse(rsp) + return ParseListUserRolesInAppResponse(rsp) } -// PostOrgsOrgIdAppsAppIdUsersWithBodyWithResponse request with arbitrary body returning *PostOrgsOrgIdAppsAppIdUsersResponse -func (c *ClientWithResponses) PostOrgsOrgIdAppsAppIdUsersWithBodyWithResponse(ctx context.Context, orgId string, appId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdAppsAppIdUsersResponse, error) { - rsp, err := c.PostOrgsOrgIdAppsAppIdUsersWithBody(ctx, orgId, appId, contentType, body, reqEditors...) +// CreateUserRoleInAppWithBodyWithResponse request with arbitrary body returning *CreateUserRoleInAppResponse +func (c *ClientWithResponses) CreateUserRoleInAppWithBodyWithResponse(ctx context.Context, orgId string, appId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUserRoleInAppResponse, error) { + rsp, err := c.CreateUserRoleInAppWithBody(ctx, orgId, appId, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdAppsAppIdUsersResponse(rsp) + return ParseCreateUserRoleInAppResponse(rsp) } -func (c *ClientWithResponses) PostOrgsOrgIdAppsAppIdUsersWithResponse(ctx context.Context, orgId string, appId string, body PostOrgsOrgIdAppsAppIdUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdAppsAppIdUsersResponse, error) { - rsp, err := c.PostOrgsOrgIdAppsAppIdUsers(ctx, orgId, appId, body, reqEditors...) +func (c *ClientWithResponses) CreateUserRoleInAppWithResponse(ctx context.Context, orgId string, appId string, body CreateUserRoleInAppJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUserRoleInAppResponse, error) { + rsp, err := c.CreateUserRoleInApp(ctx, orgId, appId, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdAppsAppIdUsersResponse(rsp) + return ParseCreateUserRoleInAppResponse(rsp) } -// DeleteOrgsOrgIdAppsAppIdUsersUserIdWithResponse request returning *DeleteOrgsOrgIdAppsAppIdUsersUserIdResponse -func (c *ClientWithResponses) DeleteOrgsOrgIdAppsAppIdUsersUserIdWithResponse(ctx context.Context, orgId string, appId string, userId string, reqEditors ...RequestEditorFn) (*DeleteOrgsOrgIdAppsAppIdUsersUserIdResponse, error) { - rsp, err := c.DeleteOrgsOrgIdAppsAppIdUsersUserId(ctx, orgId, appId, userId, reqEditors...) +// DeleteUserRoleInAppWithResponse request returning *DeleteUserRoleInAppResponse +func (c *ClientWithResponses) DeleteUserRoleInAppWithResponse(ctx context.Context, orgId string, appId string, userId string, reqEditors ...RequestEditorFn) (*DeleteUserRoleInAppResponse, error) { + rsp, err := c.DeleteUserRoleInApp(ctx, orgId, appId, userId, reqEditors...) if err != nil { return nil, err } - return ParseDeleteOrgsOrgIdAppsAppIdUsersUserIdResponse(rsp) + return ParseDeleteUserRoleInAppResponse(rsp) } -// GetOrgsOrgIdAppsAppIdUsersUserIdWithResponse request returning *GetOrgsOrgIdAppsAppIdUsersUserIdResponse -func (c *ClientWithResponses) GetOrgsOrgIdAppsAppIdUsersUserIdWithResponse(ctx context.Context, orgId string, appId string, userId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdAppsAppIdUsersUserIdResponse, error) { - rsp, err := c.GetOrgsOrgIdAppsAppIdUsersUserId(ctx, orgId, appId, userId, reqEditors...) +// GetUserRoleInAppWithResponse request returning *GetUserRoleInAppResponse +func (c *ClientWithResponses) GetUserRoleInAppWithResponse(ctx context.Context, orgId string, appId string, userId string, reqEditors ...RequestEditorFn) (*GetUserRoleInAppResponse, error) { + rsp, err := c.GetUserRoleInApp(ctx, orgId, appId, userId, reqEditors...) if err != nil { return nil, err } - return ParseGetOrgsOrgIdAppsAppIdUsersUserIdResponse(rsp) + return ParseGetUserRoleInAppResponse(rsp) } -// PatchOrgsOrgIdAppsAppIdUsersUserIdWithBodyWithResponse request with arbitrary body returning *PatchOrgsOrgIdAppsAppIdUsersUserIdResponse -func (c *ClientWithResponses) PatchOrgsOrgIdAppsAppIdUsersUserIdWithBodyWithResponse(ctx context.Context, orgId string, appId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchOrgsOrgIdAppsAppIdUsersUserIdResponse, error) { - rsp, err := c.PatchOrgsOrgIdAppsAppIdUsersUserIdWithBody(ctx, orgId, appId, userId, contentType, body, reqEditors...) +// UpdateUserRoleInAppWithBodyWithResponse request with arbitrary body returning *UpdateUserRoleInAppResponse +func (c *ClientWithResponses) UpdateUserRoleInAppWithBodyWithResponse(ctx context.Context, orgId string, appId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserRoleInAppResponse, error) { + rsp, err := c.UpdateUserRoleInAppWithBody(ctx, orgId, appId, userId, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePatchOrgsOrgIdAppsAppIdUsersUserIdResponse(rsp) + return ParseUpdateUserRoleInAppResponse(rsp) } -func (c *ClientWithResponses) PatchOrgsOrgIdAppsAppIdUsersUserIdWithResponse(ctx context.Context, orgId string, appId string, userId string, body PatchOrgsOrgIdAppsAppIdUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchOrgsOrgIdAppsAppIdUsersUserIdResponse, error) { - rsp, err := c.PatchOrgsOrgIdAppsAppIdUsersUserId(ctx, orgId, appId, userId, body, reqEditors...) +func (c *ClientWithResponses) UpdateUserRoleInAppWithResponse(ctx context.Context, orgId string, appId string, userId string, body UpdateUserRoleInAppJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserRoleInAppResponse, error) { + rsp, err := c.UpdateUserRoleInApp(ctx, orgId, appId, userId, body, reqEditors...) if err != nil { return nil, err } - return ParsePatchOrgsOrgIdAppsAppIdUsersUserIdResponse(rsp) + return ParseUpdateUserRoleInAppResponse(rsp) } // GetOrgsOrgIdAppsAppIdValueSetVersionsWithResponse request returning *GetOrgsOrgIdAppsAppIdValueSetVersionsResponse @@ -25722,100 +25802,100 @@ func (c *ClientWithResponses) ListAuditLogEntriesWithResponse(ctx context.Contex return ParseListAuditLogEntriesResponse(rsp) } -// GetOrgsOrgIdEnvTypesWithResponse request returning *GetOrgsOrgIdEnvTypesResponse -func (c *ClientWithResponses) GetOrgsOrgIdEnvTypesWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdEnvTypesResponse, error) { - rsp, err := c.GetOrgsOrgIdEnvTypes(ctx, orgId, reqEditors...) +// ListEnvironmentTypesWithResponse request returning *ListEnvironmentTypesResponse +func (c *ClientWithResponses) ListEnvironmentTypesWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*ListEnvironmentTypesResponse, error) { + rsp, err := c.ListEnvironmentTypes(ctx, orgId, reqEditors...) if err != nil { return nil, err } - return ParseGetOrgsOrgIdEnvTypesResponse(rsp) + return ParseListEnvironmentTypesResponse(rsp) } -// PostOrgsOrgIdEnvTypesWithBodyWithResponse request with arbitrary body returning *PostOrgsOrgIdEnvTypesResponse -func (c *ClientWithResponses) PostOrgsOrgIdEnvTypesWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdEnvTypesResponse, error) { - rsp, err := c.PostOrgsOrgIdEnvTypesWithBody(ctx, orgId, contentType, body, reqEditors...) +// CreateEnvironmentTypeWithBodyWithResponse request with arbitrary body returning *CreateEnvironmentTypeResponse +func (c *ClientWithResponses) CreateEnvironmentTypeWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvironmentTypeResponse, error) { + rsp, err := c.CreateEnvironmentTypeWithBody(ctx, orgId, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdEnvTypesResponse(rsp) + return ParseCreateEnvironmentTypeResponse(rsp) } -func (c *ClientWithResponses) PostOrgsOrgIdEnvTypesWithResponse(ctx context.Context, orgId string, body PostOrgsOrgIdEnvTypesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdEnvTypesResponse, error) { - rsp, err := c.PostOrgsOrgIdEnvTypes(ctx, orgId, body, reqEditors...) +func (c *ClientWithResponses) CreateEnvironmentTypeWithResponse(ctx context.Context, orgId string, body CreateEnvironmentTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvironmentTypeResponse, error) { + rsp, err := c.CreateEnvironmentType(ctx, orgId, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdEnvTypesResponse(rsp) + return ParseCreateEnvironmentTypeResponse(rsp) } -// DeleteOrgsOrgIdEnvTypesEnvTypeIdWithResponse request returning *DeleteOrgsOrgIdEnvTypesEnvTypeIdResponse -func (c *ClientWithResponses) DeleteOrgsOrgIdEnvTypesEnvTypeIdWithResponse(ctx context.Context, orgId string, envTypeId string, reqEditors ...RequestEditorFn) (*DeleteOrgsOrgIdEnvTypesEnvTypeIdResponse, error) { - rsp, err := c.DeleteOrgsOrgIdEnvTypesEnvTypeId(ctx, orgId, envTypeId, reqEditors...) +// DeleteEnvironmentTypeWithResponse request returning *DeleteEnvironmentTypeResponse +func (c *ClientWithResponses) DeleteEnvironmentTypeWithResponse(ctx context.Context, orgId string, envTypeId string, reqEditors ...RequestEditorFn) (*DeleteEnvironmentTypeResponse, error) { + rsp, err := c.DeleteEnvironmentType(ctx, orgId, envTypeId, reqEditors...) if err != nil { return nil, err } - return ParseDeleteOrgsOrgIdEnvTypesEnvTypeIdResponse(rsp) + return ParseDeleteEnvironmentTypeResponse(rsp) } -// GetOrgsOrgIdEnvTypesEnvTypeIdWithResponse request returning *GetOrgsOrgIdEnvTypesEnvTypeIdResponse -func (c *ClientWithResponses) GetOrgsOrgIdEnvTypesEnvTypeIdWithResponse(ctx context.Context, orgId string, envTypeId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdEnvTypesEnvTypeIdResponse, error) { - rsp, err := c.GetOrgsOrgIdEnvTypesEnvTypeId(ctx, orgId, envTypeId, reqEditors...) +// GetEnvironmentTypeWithResponse request returning *GetEnvironmentTypeResponse +func (c *ClientWithResponses) GetEnvironmentTypeWithResponse(ctx context.Context, orgId string, envTypeId string, reqEditors ...RequestEditorFn) (*GetEnvironmentTypeResponse, error) { + rsp, err := c.GetEnvironmentType(ctx, orgId, envTypeId, reqEditors...) if err != nil { return nil, err } - return ParseGetOrgsOrgIdEnvTypesEnvTypeIdResponse(rsp) + return ParseGetEnvironmentTypeResponse(rsp) } -// PostOrgsOrgIdEnvTypesEnvTypeUsersWithBodyWithResponse request with arbitrary body returning *PostOrgsOrgIdEnvTypesEnvTypeUsersResponse -func (c *ClientWithResponses) PostOrgsOrgIdEnvTypesEnvTypeUsersWithBodyWithResponse(ctx context.Context, orgId string, envType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdEnvTypesEnvTypeUsersResponse, error) { - rsp, err := c.PostOrgsOrgIdEnvTypesEnvTypeUsersWithBody(ctx, orgId, envType, contentType, body, reqEditors...) +// CreateUserRoleInEnvTypeWithBodyWithResponse request with arbitrary body returning *CreateUserRoleInEnvTypeResponse +func (c *ClientWithResponses) CreateUserRoleInEnvTypeWithBodyWithResponse(ctx context.Context, orgId string, envType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUserRoleInEnvTypeResponse, error) { + rsp, err := c.CreateUserRoleInEnvTypeWithBody(ctx, orgId, envType, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdEnvTypesEnvTypeUsersResponse(rsp) + return ParseCreateUserRoleInEnvTypeResponse(rsp) } -func (c *ClientWithResponses) PostOrgsOrgIdEnvTypesEnvTypeUsersWithResponse(ctx context.Context, orgId string, envType string, body PostOrgsOrgIdEnvTypesEnvTypeUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdEnvTypesEnvTypeUsersResponse, error) { - rsp, err := c.PostOrgsOrgIdEnvTypesEnvTypeUsers(ctx, orgId, envType, body, reqEditors...) +func (c *ClientWithResponses) CreateUserRoleInEnvTypeWithResponse(ctx context.Context, orgId string, envType string, body CreateUserRoleInEnvTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUserRoleInEnvTypeResponse, error) { + rsp, err := c.CreateUserRoleInEnvType(ctx, orgId, envType, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdEnvTypesEnvTypeUsersResponse(rsp) + return ParseCreateUserRoleInEnvTypeResponse(rsp) } -// DeleteOrgsOrgIdEnvTypesEnvTypeUsersUserIdWithResponse request returning *DeleteOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse -func (c *ClientWithResponses) DeleteOrgsOrgIdEnvTypesEnvTypeUsersUserIdWithResponse(ctx context.Context, orgId string, envType string, userId string, reqEditors ...RequestEditorFn) (*DeleteOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse, error) { - rsp, err := c.DeleteOrgsOrgIdEnvTypesEnvTypeUsersUserId(ctx, orgId, envType, userId, reqEditors...) +// DeleteUserRoleInEnvTypeWithResponse request returning *DeleteUserRoleInEnvTypeResponse +func (c *ClientWithResponses) DeleteUserRoleInEnvTypeWithResponse(ctx context.Context, orgId string, envType string, userId string, reqEditors ...RequestEditorFn) (*DeleteUserRoleInEnvTypeResponse, error) { + rsp, err := c.DeleteUserRoleInEnvType(ctx, orgId, envType, userId, reqEditors...) if err != nil { return nil, err } - return ParseDeleteOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse(rsp) + return ParseDeleteUserRoleInEnvTypeResponse(rsp) } -// GetOrgsOrgIdEnvTypesEnvTypeUsersUserIdWithResponse request returning *GetOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse -func (c *ClientWithResponses) GetOrgsOrgIdEnvTypesEnvTypeUsersUserIdWithResponse(ctx context.Context, orgId string, envType string, userId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse, error) { - rsp, err := c.GetOrgsOrgIdEnvTypesEnvTypeUsersUserId(ctx, orgId, envType, userId, reqEditors...) +// GetUserRoleInEnvTypeWithResponse request returning *GetUserRoleInEnvTypeResponse +func (c *ClientWithResponses) GetUserRoleInEnvTypeWithResponse(ctx context.Context, orgId string, envType string, userId string, reqEditors ...RequestEditorFn) (*GetUserRoleInEnvTypeResponse, error) { + rsp, err := c.GetUserRoleInEnvType(ctx, orgId, envType, userId, reqEditors...) if err != nil { return nil, err } - return ParseGetOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse(rsp) + return ParseGetUserRoleInEnvTypeResponse(rsp) } -// PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdWithBodyWithResponse request with arbitrary body returning *PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse -func (c *ClientWithResponses) PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdWithBodyWithResponse(ctx context.Context, orgId string, envType string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse, error) { - rsp, err := c.PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdWithBody(ctx, orgId, envType, userId, contentType, body, reqEditors...) +// UpdateUserRoleInEnvTypeWithBodyWithResponse request with arbitrary body returning *UpdateUserRoleInEnvTypeResponse +func (c *ClientWithResponses) UpdateUserRoleInEnvTypeWithBodyWithResponse(ctx context.Context, orgId string, envType string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserRoleInEnvTypeResponse, error) { + rsp, err := c.UpdateUserRoleInEnvTypeWithBody(ctx, orgId, envType, userId, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse(rsp) + return ParseUpdateUserRoleInEnvTypeResponse(rsp) } -func (c *ClientWithResponses) PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdWithResponse(ctx context.Context, orgId string, envType string, userId string, body PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse, error) { - rsp, err := c.PatchOrgsOrgIdEnvTypesEnvTypeUsersUserId(ctx, orgId, envType, userId, body, reqEditors...) +func (c *ClientWithResponses) UpdateUserRoleInEnvTypeWithResponse(ctx context.Context, orgId string, envType string, userId string, body UpdateUserRoleInEnvTypeJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserRoleInEnvTypeResponse, error) { + rsp, err := c.UpdateUserRoleInEnvType(ctx, orgId, envType, userId, body, reqEditors...) if err != nil { return nil, err } - return ParsePatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse(rsp) + return ParseUpdateUserRoleInEnvTypeResponse(rsp) } // GetOrgsOrgIdEventsWithResponse request returning *GetOrgsOrgIdEventsResponse @@ -25880,30 +25960,30 @@ func (c *ClientWithResponses) CreateDeprecatedImageBuildWithResponse(ctx context return ParseCreateDeprecatedImageBuildResponse(rsp) } -// GetOrgsOrgIdInvitationsWithResponse request returning *GetOrgsOrgIdInvitationsResponse -func (c *ClientWithResponses) GetOrgsOrgIdInvitationsWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdInvitationsResponse, error) { - rsp, err := c.GetOrgsOrgIdInvitations(ctx, orgId, reqEditors...) +// ListInvitesInOrgWithResponse request returning *ListInvitesInOrgResponse +func (c *ClientWithResponses) ListInvitesInOrgWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*ListInvitesInOrgResponse, error) { + rsp, err := c.ListInvitesInOrg(ctx, orgId, reqEditors...) if err != nil { return nil, err } - return ParseGetOrgsOrgIdInvitationsResponse(rsp) + return ParseListInvitesInOrgResponse(rsp) } -// PostOrgsOrgIdInvitationsWithBodyWithResponse request with arbitrary body returning *PostOrgsOrgIdInvitationsResponse -func (c *ClientWithResponses) PostOrgsOrgIdInvitationsWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdInvitationsResponse, error) { - rsp, err := c.PostOrgsOrgIdInvitationsWithBody(ctx, orgId, contentType, body, reqEditors...) +// CreateInviteInOrgWithBodyWithResponse request with arbitrary body returning *CreateInviteInOrgResponse +func (c *ClientWithResponses) CreateInviteInOrgWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInviteInOrgResponse, error) { + rsp, err := c.CreateInviteInOrgWithBody(ctx, orgId, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdInvitationsResponse(rsp) + return ParseCreateInviteInOrgResponse(rsp) } -func (c *ClientWithResponses) PostOrgsOrgIdInvitationsWithResponse(ctx context.Context, orgId string, body PostOrgsOrgIdInvitationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdInvitationsResponse, error) { - rsp, err := c.PostOrgsOrgIdInvitations(ctx, orgId, body, reqEditors...) +func (c *ClientWithResponses) CreateInviteInOrgWithResponse(ctx context.Context, orgId string, body CreateInviteInOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInviteInOrgResponse, error) { + rsp, err := c.CreateInviteInOrg(ctx, orgId, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdInvitationsResponse(rsp) + return ParseCreateInviteInOrgResponse(rsp) } // ListPublicKeysWithResponse request returning *ListPublicKeysResponse @@ -26047,274 +26127,274 @@ func (c *ClientWithResponses) GetOrgsOrgIdRegistriesRegIdCredsWithResponse(ctx c return ParseGetOrgsOrgIdRegistriesRegIdCredsResponse(rsp) } -// GetOrgsOrgIdResourcesAccountTypesWithResponse request returning *GetOrgsOrgIdResourcesAccountTypesResponse -func (c *ClientWithResponses) GetOrgsOrgIdResourcesAccountTypesWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdResourcesAccountTypesResponse, error) { - rsp, err := c.GetOrgsOrgIdResourcesAccountTypes(ctx, orgId, reqEditors...) +// ListResourceAccountTypesWithResponse request returning *ListResourceAccountTypesResponse +func (c *ClientWithResponses) ListResourceAccountTypesWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*ListResourceAccountTypesResponse, error) { + rsp, err := c.ListResourceAccountTypes(ctx, orgId, reqEditors...) if err != nil { return nil, err } - return ParseGetOrgsOrgIdResourcesAccountTypesResponse(rsp) + return ParseListResourceAccountTypesResponse(rsp) } -// GetOrgsOrgIdResourcesAccountsWithResponse request returning *GetOrgsOrgIdResourcesAccountsResponse -func (c *ClientWithResponses) GetOrgsOrgIdResourcesAccountsWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdResourcesAccountsResponse, error) { - rsp, err := c.GetOrgsOrgIdResourcesAccounts(ctx, orgId, reqEditors...) +// ListResourceAccountsWithResponse request returning *ListResourceAccountsResponse +func (c *ClientWithResponses) ListResourceAccountsWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*ListResourceAccountsResponse, error) { + rsp, err := c.ListResourceAccounts(ctx, orgId, reqEditors...) if err != nil { return nil, err } - return ParseGetOrgsOrgIdResourcesAccountsResponse(rsp) + return ParseListResourceAccountsResponse(rsp) } -// PostOrgsOrgIdResourcesAccountsWithBodyWithResponse request with arbitrary body returning *PostOrgsOrgIdResourcesAccountsResponse -func (c *ClientWithResponses) PostOrgsOrgIdResourcesAccountsWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdResourcesAccountsResponse, error) { - rsp, err := c.PostOrgsOrgIdResourcesAccountsWithBody(ctx, orgId, contentType, body, reqEditors...) +// CreateResourceAccountWithBodyWithResponse request with arbitrary body returning *CreateResourceAccountResponse +func (c *ClientWithResponses) CreateResourceAccountWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateResourceAccountResponse, error) { + rsp, err := c.CreateResourceAccountWithBody(ctx, orgId, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdResourcesAccountsResponse(rsp) + return ParseCreateResourceAccountResponse(rsp) } -func (c *ClientWithResponses) PostOrgsOrgIdResourcesAccountsWithResponse(ctx context.Context, orgId string, body PostOrgsOrgIdResourcesAccountsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdResourcesAccountsResponse, error) { - rsp, err := c.PostOrgsOrgIdResourcesAccounts(ctx, orgId, body, reqEditors...) +func (c *ClientWithResponses) CreateResourceAccountWithResponse(ctx context.Context, orgId string, body CreateResourceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateResourceAccountResponse, error) { + rsp, err := c.CreateResourceAccount(ctx, orgId, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdResourcesAccountsResponse(rsp) + return ParseCreateResourceAccountResponse(rsp) } -// DeleteOrgsOrgIdResourcesAccountsAccIdWithResponse request returning *DeleteOrgsOrgIdResourcesAccountsAccIdResponse -func (c *ClientWithResponses) DeleteOrgsOrgIdResourcesAccountsAccIdWithResponse(ctx context.Context, orgId string, accId string, reqEditors ...RequestEditorFn) (*DeleteOrgsOrgIdResourcesAccountsAccIdResponse, error) { - rsp, err := c.DeleteOrgsOrgIdResourcesAccountsAccId(ctx, orgId, accId, reqEditors...) +// DeleteResourceAccountWithResponse request returning *DeleteResourceAccountResponse +func (c *ClientWithResponses) DeleteResourceAccountWithResponse(ctx context.Context, orgId string, accId string, reqEditors ...RequestEditorFn) (*DeleteResourceAccountResponse, error) { + rsp, err := c.DeleteResourceAccount(ctx, orgId, accId, reqEditors...) if err != nil { return nil, err } - return ParseDeleteOrgsOrgIdResourcesAccountsAccIdResponse(rsp) + return ParseDeleteResourceAccountResponse(rsp) } -// GetOrgsOrgIdResourcesAccountsAccIdWithResponse request returning *GetOrgsOrgIdResourcesAccountsAccIdResponse -func (c *ClientWithResponses) GetOrgsOrgIdResourcesAccountsAccIdWithResponse(ctx context.Context, orgId string, accId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdResourcesAccountsAccIdResponse, error) { - rsp, err := c.GetOrgsOrgIdResourcesAccountsAccId(ctx, orgId, accId, reqEditors...) +// GetResourceAccountWithResponse request returning *GetResourceAccountResponse +func (c *ClientWithResponses) GetResourceAccountWithResponse(ctx context.Context, orgId string, accId string, reqEditors ...RequestEditorFn) (*GetResourceAccountResponse, error) { + rsp, err := c.GetResourceAccount(ctx, orgId, accId, reqEditors...) if err != nil { return nil, err } - return ParseGetOrgsOrgIdResourcesAccountsAccIdResponse(rsp) + return ParseGetResourceAccountResponse(rsp) } -// PatchOrgsOrgIdResourcesAccountsAccIdWithBodyWithResponse request with arbitrary body returning *PatchOrgsOrgIdResourcesAccountsAccIdResponse -func (c *ClientWithResponses) PatchOrgsOrgIdResourcesAccountsAccIdWithBodyWithResponse(ctx context.Context, orgId string, accId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchOrgsOrgIdResourcesAccountsAccIdResponse, error) { - rsp, err := c.PatchOrgsOrgIdResourcesAccountsAccIdWithBody(ctx, orgId, accId, contentType, body, reqEditors...) +// PatchResourceAccountWithBodyWithResponse request with arbitrary body returning *PatchResourceAccountResponse +func (c *ClientWithResponses) PatchResourceAccountWithBodyWithResponse(ctx context.Context, orgId string, accId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchResourceAccountResponse, error) { + rsp, err := c.PatchResourceAccountWithBody(ctx, orgId, accId, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePatchOrgsOrgIdResourcesAccountsAccIdResponse(rsp) + return ParsePatchResourceAccountResponse(rsp) } -func (c *ClientWithResponses) PatchOrgsOrgIdResourcesAccountsAccIdWithResponse(ctx context.Context, orgId string, accId string, body PatchOrgsOrgIdResourcesAccountsAccIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchOrgsOrgIdResourcesAccountsAccIdResponse, error) { - rsp, err := c.PatchOrgsOrgIdResourcesAccountsAccId(ctx, orgId, accId, body, reqEditors...) +func (c *ClientWithResponses) PatchResourceAccountWithResponse(ctx context.Context, orgId string, accId string, body PatchResourceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchResourceAccountResponse, error) { + rsp, err := c.PatchResourceAccount(ctx, orgId, accId, body, reqEditors...) if err != nil { return nil, err } - return ParsePatchOrgsOrgIdResourcesAccountsAccIdResponse(rsp) + return ParsePatchResourceAccountResponse(rsp) } -// GetOrgsOrgIdResourcesDefsWithResponse request returning *GetOrgsOrgIdResourcesDefsResponse -func (c *ClientWithResponses) GetOrgsOrgIdResourcesDefsWithResponse(ctx context.Context, orgId string, params *GetOrgsOrgIdResourcesDefsParams, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdResourcesDefsResponse, error) { - rsp, err := c.GetOrgsOrgIdResourcesDefs(ctx, orgId, params, reqEditors...) +// ListResourceDefinitionsWithResponse request returning *ListResourceDefinitionsResponse +func (c *ClientWithResponses) ListResourceDefinitionsWithResponse(ctx context.Context, orgId string, params *ListResourceDefinitionsParams, reqEditors ...RequestEditorFn) (*ListResourceDefinitionsResponse, error) { + rsp, err := c.ListResourceDefinitions(ctx, orgId, params, reqEditors...) if err != nil { return nil, err } - return ParseGetOrgsOrgIdResourcesDefsResponse(rsp) + return ParseListResourceDefinitionsResponse(rsp) } -// PostOrgsOrgIdResourcesDefsWithBodyWithResponse request with arbitrary body returning *PostOrgsOrgIdResourcesDefsResponse -func (c *ClientWithResponses) PostOrgsOrgIdResourcesDefsWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdResourcesDefsResponse, error) { - rsp, err := c.PostOrgsOrgIdResourcesDefsWithBody(ctx, orgId, contentType, body, reqEditors...) +// CreateResourceDefinitionWithBodyWithResponse request with arbitrary body returning *CreateResourceDefinitionResponse +func (c *ClientWithResponses) CreateResourceDefinitionWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateResourceDefinitionResponse, error) { + rsp, err := c.CreateResourceDefinitionWithBody(ctx, orgId, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdResourcesDefsResponse(rsp) + return ParseCreateResourceDefinitionResponse(rsp) } -func (c *ClientWithResponses) PostOrgsOrgIdResourcesDefsWithResponse(ctx context.Context, orgId string, body PostOrgsOrgIdResourcesDefsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdResourcesDefsResponse, error) { - rsp, err := c.PostOrgsOrgIdResourcesDefs(ctx, orgId, body, reqEditors...) +func (c *ClientWithResponses) CreateResourceDefinitionWithResponse(ctx context.Context, orgId string, body CreateResourceDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateResourceDefinitionResponse, error) { + rsp, err := c.CreateResourceDefinition(ctx, orgId, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdResourcesDefsResponse(rsp) + return ParseCreateResourceDefinitionResponse(rsp) } -// DeleteOrgsOrgIdResourcesDefsDefIdWithResponse request returning *DeleteOrgsOrgIdResourcesDefsDefIdResponse -func (c *ClientWithResponses) DeleteOrgsOrgIdResourcesDefsDefIdWithResponse(ctx context.Context, orgId string, defId string, params *DeleteOrgsOrgIdResourcesDefsDefIdParams, reqEditors ...RequestEditorFn) (*DeleteOrgsOrgIdResourcesDefsDefIdResponse, error) { - rsp, err := c.DeleteOrgsOrgIdResourcesDefsDefId(ctx, orgId, defId, params, reqEditors...) +// DeleteResourceDefinitionWithResponse request returning *DeleteResourceDefinitionResponse +func (c *ClientWithResponses) DeleteResourceDefinitionWithResponse(ctx context.Context, orgId string, defId string, params *DeleteResourceDefinitionParams, reqEditors ...RequestEditorFn) (*DeleteResourceDefinitionResponse, error) { + rsp, err := c.DeleteResourceDefinition(ctx, orgId, defId, params, reqEditors...) if err != nil { return nil, err } - return ParseDeleteOrgsOrgIdResourcesDefsDefIdResponse(rsp) + return ParseDeleteResourceDefinitionResponse(rsp) } -// GetOrgsOrgIdResourcesDefsDefIdWithResponse request returning *GetOrgsOrgIdResourcesDefsDefIdResponse -func (c *ClientWithResponses) GetOrgsOrgIdResourcesDefsDefIdWithResponse(ctx context.Context, orgId string, defId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdResourcesDefsDefIdResponse, error) { - rsp, err := c.GetOrgsOrgIdResourcesDefsDefId(ctx, orgId, defId, reqEditors...) +// GetResourceDefinitionWithResponse request returning *GetResourceDefinitionResponse +func (c *ClientWithResponses) GetResourceDefinitionWithResponse(ctx context.Context, orgId string, defId string, reqEditors ...RequestEditorFn) (*GetResourceDefinitionResponse, error) { + rsp, err := c.GetResourceDefinition(ctx, orgId, defId, reqEditors...) if err != nil { return nil, err } - return ParseGetOrgsOrgIdResourcesDefsDefIdResponse(rsp) + return ParseGetResourceDefinitionResponse(rsp) } -// PatchOrgsOrgIdResourcesDefsDefIdWithBodyWithResponse request with arbitrary body returning *PatchOrgsOrgIdResourcesDefsDefIdResponse -func (c *ClientWithResponses) PatchOrgsOrgIdResourcesDefsDefIdWithBodyWithResponse(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchOrgsOrgIdResourcesDefsDefIdResponse, error) { - rsp, err := c.PatchOrgsOrgIdResourcesDefsDefIdWithBody(ctx, orgId, defId, contentType, body, reqEditors...) +// PatchResourceDefinitionWithBodyWithResponse request with arbitrary body returning *PatchResourceDefinitionResponse +func (c *ClientWithResponses) PatchResourceDefinitionWithBodyWithResponse(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchResourceDefinitionResponse, error) { + rsp, err := c.PatchResourceDefinitionWithBody(ctx, orgId, defId, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePatchOrgsOrgIdResourcesDefsDefIdResponse(rsp) + return ParsePatchResourceDefinitionResponse(rsp) } -func (c *ClientWithResponses) PatchOrgsOrgIdResourcesDefsDefIdWithResponse(ctx context.Context, orgId string, defId string, body PatchOrgsOrgIdResourcesDefsDefIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchOrgsOrgIdResourcesDefsDefIdResponse, error) { - rsp, err := c.PatchOrgsOrgIdResourcesDefsDefId(ctx, orgId, defId, body, reqEditors...) +func (c *ClientWithResponses) PatchResourceDefinitionWithResponse(ctx context.Context, orgId string, defId string, body PatchResourceDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchResourceDefinitionResponse, error) { + rsp, err := c.PatchResourceDefinition(ctx, orgId, defId, body, reqEditors...) if err != nil { return nil, err } - return ParsePatchOrgsOrgIdResourcesDefsDefIdResponse(rsp) + return ParsePatchResourceDefinitionResponse(rsp) } -// PutOrgsOrgIdResourcesDefsDefIdWithBodyWithResponse request with arbitrary body returning *PutOrgsOrgIdResourcesDefsDefIdResponse -func (c *ClientWithResponses) PutOrgsOrgIdResourcesDefsDefIdWithBodyWithResponse(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutOrgsOrgIdResourcesDefsDefIdResponse, error) { - rsp, err := c.PutOrgsOrgIdResourcesDefsDefIdWithBody(ctx, orgId, defId, contentType, body, reqEditors...) +// UpdateResourceDefinitionWithBodyWithResponse request with arbitrary body returning *UpdateResourceDefinitionResponse +func (c *ClientWithResponses) UpdateResourceDefinitionWithBodyWithResponse(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateResourceDefinitionResponse, error) { + rsp, err := c.UpdateResourceDefinitionWithBody(ctx, orgId, defId, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePutOrgsOrgIdResourcesDefsDefIdResponse(rsp) + return ParseUpdateResourceDefinitionResponse(rsp) } -func (c *ClientWithResponses) PutOrgsOrgIdResourcesDefsDefIdWithResponse(ctx context.Context, orgId string, defId string, body PutOrgsOrgIdResourcesDefsDefIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutOrgsOrgIdResourcesDefsDefIdResponse, error) { - rsp, err := c.PutOrgsOrgIdResourcesDefsDefId(ctx, orgId, defId, body, reqEditors...) +func (c *ClientWithResponses) UpdateResourceDefinitionWithResponse(ctx context.Context, orgId string, defId string, body UpdateResourceDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateResourceDefinitionResponse, error) { + rsp, err := c.UpdateResourceDefinition(ctx, orgId, defId, body, reqEditors...) if err != nil { return nil, err } - return ParsePutOrgsOrgIdResourcesDefsDefIdResponse(rsp) + return ParseUpdateResourceDefinitionResponse(rsp) } -// PostOrgsOrgIdResourcesDefsDefIdCriteriaWithBodyWithResponse request with arbitrary body returning *PostOrgsOrgIdResourcesDefsDefIdCriteriaResponse -func (c *ClientWithResponses) PostOrgsOrgIdResourcesDefsDefIdCriteriaWithBodyWithResponse(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdResourcesDefsDefIdCriteriaResponse, error) { - rsp, err := c.PostOrgsOrgIdResourcesDefsDefIdCriteriaWithBody(ctx, orgId, defId, contentType, body, reqEditors...) +// CreateResourceDefinitionCriteriaWithBodyWithResponse request with arbitrary body returning *CreateResourceDefinitionCriteriaResponse +func (c *ClientWithResponses) CreateResourceDefinitionCriteriaWithBodyWithResponse(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateResourceDefinitionCriteriaResponse, error) { + rsp, err := c.CreateResourceDefinitionCriteriaWithBody(ctx, orgId, defId, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdResourcesDefsDefIdCriteriaResponse(rsp) + return ParseCreateResourceDefinitionCriteriaResponse(rsp) } -func (c *ClientWithResponses) PostOrgsOrgIdResourcesDefsDefIdCriteriaWithResponse(ctx context.Context, orgId string, defId string, body PostOrgsOrgIdResourcesDefsDefIdCriteriaJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdResourcesDefsDefIdCriteriaResponse, error) { - rsp, err := c.PostOrgsOrgIdResourcesDefsDefIdCriteria(ctx, orgId, defId, body, reqEditors...) +func (c *ClientWithResponses) CreateResourceDefinitionCriteriaWithResponse(ctx context.Context, orgId string, defId string, body CreateResourceDefinitionCriteriaJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateResourceDefinitionCriteriaResponse, error) { + rsp, err := c.CreateResourceDefinitionCriteria(ctx, orgId, defId, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdResourcesDefsDefIdCriteriaResponse(rsp) + return ParseCreateResourceDefinitionCriteriaResponse(rsp) } -// PutOrgsOrgIdResourcesDefsDefIdCriteriaWithBodyWithResponse request with arbitrary body returning *PutOrgsOrgIdResourcesDefsDefIdCriteriaResponse -func (c *ClientWithResponses) PutOrgsOrgIdResourcesDefsDefIdCriteriaWithBodyWithResponse(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutOrgsOrgIdResourcesDefsDefIdCriteriaResponse, error) { - rsp, err := c.PutOrgsOrgIdResourcesDefsDefIdCriteriaWithBody(ctx, orgId, defId, contentType, body, reqEditors...) +// UpdateResourceDefinitionCriteriaWithBodyWithResponse request with arbitrary body returning *UpdateResourceDefinitionCriteriaResponse +func (c *ClientWithResponses) UpdateResourceDefinitionCriteriaWithBodyWithResponse(ctx context.Context, orgId string, defId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateResourceDefinitionCriteriaResponse, error) { + rsp, err := c.UpdateResourceDefinitionCriteriaWithBody(ctx, orgId, defId, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePutOrgsOrgIdResourcesDefsDefIdCriteriaResponse(rsp) + return ParseUpdateResourceDefinitionCriteriaResponse(rsp) } -func (c *ClientWithResponses) PutOrgsOrgIdResourcesDefsDefIdCriteriaWithResponse(ctx context.Context, orgId string, defId string, body PutOrgsOrgIdResourcesDefsDefIdCriteriaJSONRequestBody, reqEditors ...RequestEditorFn) (*PutOrgsOrgIdResourcesDefsDefIdCriteriaResponse, error) { - rsp, err := c.PutOrgsOrgIdResourcesDefsDefIdCriteria(ctx, orgId, defId, body, reqEditors...) +func (c *ClientWithResponses) UpdateResourceDefinitionCriteriaWithResponse(ctx context.Context, orgId string, defId string, body UpdateResourceDefinitionCriteriaJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateResourceDefinitionCriteriaResponse, error) { + rsp, err := c.UpdateResourceDefinitionCriteria(ctx, orgId, defId, body, reqEditors...) if err != nil { return nil, err } - return ParsePutOrgsOrgIdResourcesDefsDefIdCriteriaResponse(rsp) + return ParseUpdateResourceDefinitionCriteriaResponse(rsp) } -// DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdWithResponse request returning *DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdResponse -func (c *ClientWithResponses) DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdWithResponse(ctx context.Context, orgId string, defId string, criteriaId string, params *DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdParams, reqEditors ...RequestEditorFn) (*DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdResponse, error) { - rsp, err := c.DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaId(ctx, orgId, defId, criteriaId, params, reqEditors...) +// DeleteResourceDefinitionCriteriaWithResponse request returning *DeleteResourceDefinitionCriteriaResponse +func (c *ClientWithResponses) DeleteResourceDefinitionCriteriaWithResponse(ctx context.Context, orgId string, defId string, criteriaId string, params *DeleteResourceDefinitionCriteriaParams, reqEditors ...RequestEditorFn) (*DeleteResourceDefinitionCriteriaResponse, error) { + rsp, err := c.DeleteResourceDefinitionCriteria(ctx, orgId, defId, criteriaId, params, reqEditors...) if err != nil { return nil, err } - return ParseDeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdResponse(rsp) + return ParseDeleteResourceDefinitionCriteriaResponse(rsp) } -// GetOrgsOrgIdResourcesDefsDefIdResourcesWithResponse request returning *GetOrgsOrgIdResourcesDefsDefIdResourcesResponse -func (c *ClientWithResponses) GetOrgsOrgIdResourcesDefsDefIdResourcesWithResponse(ctx context.Context, orgId string, defId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdResourcesDefsDefIdResourcesResponse, error) { - rsp, err := c.GetOrgsOrgIdResourcesDefsDefIdResources(ctx, orgId, defId, reqEditors...) +// ListActiveResourceByDefinitionWithResponse request returning *ListActiveResourceByDefinitionResponse +func (c *ClientWithResponses) ListActiveResourceByDefinitionWithResponse(ctx context.Context, orgId string, defId string, reqEditors ...RequestEditorFn) (*ListActiveResourceByDefinitionResponse, error) { + rsp, err := c.ListActiveResourceByDefinition(ctx, orgId, defId, reqEditors...) if err != nil { return nil, err } - return ParseGetOrgsOrgIdResourcesDefsDefIdResourcesResponse(rsp) + return ParseListActiveResourceByDefinitionResponse(rsp) } -// GetOrgsOrgIdResourcesDriversWithResponse request returning *GetOrgsOrgIdResourcesDriversResponse -func (c *ClientWithResponses) GetOrgsOrgIdResourcesDriversWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdResourcesDriversResponse, error) { - rsp, err := c.GetOrgsOrgIdResourcesDrivers(ctx, orgId, reqEditors...) +// ListResourceDriversWithResponse request returning *ListResourceDriversResponse +func (c *ClientWithResponses) ListResourceDriversWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*ListResourceDriversResponse, error) { + rsp, err := c.ListResourceDrivers(ctx, orgId, reqEditors...) if err != nil { return nil, err } - return ParseGetOrgsOrgIdResourcesDriversResponse(rsp) + return ParseListResourceDriversResponse(rsp) } -// PostOrgsOrgIdResourcesDriversWithBodyWithResponse request with arbitrary body returning *PostOrgsOrgIdResourcesDriversResponse -func (c *ClientWithResponses) PostOrgsOrgIdResourcesDriversWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdResourcesDriversResponse, error) { - rsp, err := c.PostOrgsOrgIdResourcesDriversWithBody(ctx, orgId, contentType, body, reqEditors...) +// CreateResourceDriverWithBodyWithResponse request with arbitrary body returning *CreateResourceDriverResponse +func (c *ClientWithResponses) CreateResourceDriverWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateResourceDriverResponse, error) { + rsp, err := c.CreateResourceDriverWithBody(ctx, orgId, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdResourcesDriversResponse(rsp) + return ParseCreateResourceDriverResponse(rsp) } -func (c *ClientWithResponses) PostOrgsOrgIdResourcesDriversWithResponse(ctx context.Context, orgId string, body PostOrgsOrgIdResourcesDriversJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdResourcesDriversResponse, error) { - rsp, err := c.PostOrgsOrgIdResourcesDrivers(ctx, orgId, body, reqEditors...) +func (c *ClientWithResponses) CreateResourceDriverWithResponse(ctx context.Context, orgId string, body CreateResourceDriverJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateResourceDriverResponse, error) { + rsp, err := c.CreateResourceDriver(ctx, orgId, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdResourcesDriversResponse(rsp) + return ParseCreateResourceDriverResponse(rsp) } -// DeleteOrgsOrgIdResourcesDriversDriverIdWithResponse request returning *DeleteOrgsOrgIdResourcesDriversDriverIdResponse -func (c *ClientWithResponses) DeleteOrgsOrgIdResourcesDriversDriverIdWithResponse(ctx context.Context, orgId string, driverId string, reqEditors ...RequestEditorFn) (*DeleteOrgsOrgIdResourcesDriversDriverIdResponse, error) { - rsp, err := c.DeleteOrgsOrgIdResourcesDriversDriverId(ctx, orgId, driverId, reqEditors...) +// DeleteResourceDriverWithResponse request returning *DeleteResourceDriverResponse +func (c *ClientWithResponses) DeleteResourceDriverWithResponse(ctx context.Context, orgId string, driverId string, reqEditors ...RequestEditorFn) (*DeleteResourceDriverResponse, error) { + rsp, err := c.DeleteResourceDriver(ctx, orgId, driverId, reqEditors...) if err != nil { return nil, err } - return ParseDeleteOrgsOrgIdResourcesDriversDriverIdResponse(rsp) + return ParseDeleteResourceDriverResponse(rsp) } -// GetOrgsOrgIdResourcesDriversDriverIdWithResponse request returning *GetOrgsOrgIdResourcesDriversDriverIdResponse -func (c *ClientWithResponses) GetOrgsOrgIdResourcesDriversDriverIdWithResponse(ctx context.Context, orgId string, driverId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdResourcesDriversDriverIdResponse, error) { - rsp, err := c.GetOrgsOrgIdResourcesDriversDriverId(ctx, orgId, driverId, reqEditors...) +// GetResourceDriverWithResponse request returning *GetResourceDriverResponse +func (c *ClientWithResponses) GetResourceDriverWithResponse(ctx context.Context, orgId string, driverId string, reqEditors ...RequestEditorFn) (*GetResourceDriverResponse, error) { + rsp, err := c.GetResourceDriver(ctx, orgId, driverId, reqEditors...) if err != nil { return nil, err } - return ParseGetOrgsOrgIdResourcesDriversDriverIdResponse(rsp) + return ParseGetResourceDriverResponse(rsp) } -// PutOrgsOrgIdResourcesDriversDriverIdWithBodyWithResponse request with arbitrary body returning *PutOrgsOrgIdResourcesDriversDriverIdResponse -func (c *ClientWithResponses) PutOrgsOrgIdResourcesDriversDriverIdWithBodyWithResponse(ctx context.Context, orgId string, driverId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutOrgsOrgIdResourcesDriversDriverIdResponse, error) { - rsp, err := c.PutOrgsOrgIdResourcesDriversDriverIdWithBody(ctx, orgId, driverId, contentType, body, reqEditors...) +// UpdateResourceDriverWithBodyWithResponse request with arbitrary body returning *UpdateResourceDriverResponse +func (c *ClientWithResponses) UpdateResourceDriverWithBodyWithResponse(ctx context.Context, orgId string, driverId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateResourceDriverResponse, error) { + rsp, err := c.UpdateResourceDriverWithBody(ctx, orgId, driverId, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePutOrgsOrgIdResourcesDriversDriverIdResponse(rsp) + return ParseUpdateResourceDriverResponse(rsp) } -func (c *ClientWithResponses) PutOrgsOrgIdResourcesDriversDriverIdWithResponse(ctx context.Context, orgId string, driverId string, body PutOrgsOrgIdResourcesDriversDriverIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutOrgsOrgIdResourcesDriversDriverIdResponse, error) { - rsp, err := c.PutOrgsOrgIdResourcesDriversDriverId(ctx, orgId, driverId, body, reqEditors...) +func (c *ClientWithResponses) UpdateResourceDriverWithResponse(ctx context.Context, orgId string, driverId string, body UpdateResourceDriverJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateResourceDriverResponse, error) { + rsp, err := c.UpdateResourceDriver(ctx, orgId, driverId, body, reqEditors...) if err != nil { return nil, err } - return ParsePutOrgsOrgIdResourcesDriversDriverIdResponse(rsp) + return ParseUpdateResourceDriverResponse(rsp) } -// GetOrgsOrgIdResourcesTypesWithResponse request returning *GetOrgsOrgIdResourcesTypesResponse -func (c *ClientWithResponses) GetOrgsOrgIdResourcesTypesWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdResourcesTypesResponse, error) { - rsp, err := c.GetOrgsOrgIdResourcesTypes(ctx, orgId, reqEditors...) +// ListResourceTypesWithResponse request returning *ListResourceTypesResponse +func (c *ClientWithResponses) ListResourceTypesWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*ListResourceTypesResponse, error) { + rsp, err := c.ListResourceTypes(ctx, orgId, reqEditors...) if err != nil { return nil, err } - return ParseGetOrgsOrgIdResourcesTypesResponse(rsp) + return ParseListResourceTypesResponse(rsp) } // GetOrgsOrgIdSecretstoresWithResponse request returning *GetOrgsOrgIdSecretstoresResponse @@ -26378,65 +26458,65 @@ func (c *ClientWithResponses) PatchOrgsOrgIdSecretstoresStoreIdWithResponse(ctx return ParsePatchOrgsOrgIdSecretstoresStoreIdResponse(rsp) } -// GetOrgsOrgIdUsersWithResponse request returning *GetOrgsOrgIdUsersResponse -func (c *ClientWithResponses) GetOrgsOrgIdUsersWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdUsersResponse, error) { - rsp, err := c.GetOrgsOrgIdUsers(ctx, orgId, reqEditors...) +// ListUserRolesInOrgWithResponse request returning *ListUserRolesInOrgResponse +func (c *ClientWithResponses) ListUserRolesInOrgWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*ListUserRolesInOrgResponse, error) { + rsp, err := c.ListUserRolesInOrg(ctx, orgId, reqEditors...) if err != nil { return nil, err } - return ParseGetOrgsOrgIdUsersResponse(rsp) + return ParseListUserRolesInOrgResponse(rsp) } -// PostOrgsOrgIdUsersWithBodyWithResponse request with arbitrary body returning *PostOrgsOrgIdUsersResponse -func (c *ClientWithResponses) PostOrgsOrgIdUsersWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdUsersResponse, error) { - rsp, err := c.PostOrgsOrgIdUsersWithBody(ctx, orgId, contentType, body, reqEditors...) +// CreateServiceUserInOrgWithBodyWithResponse request with arbitrary body returning *CreateServiceUserInOrgResponse +func (c *ClientWithResponses) CreateServiceUserInOrgWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServiceUserInOrgResponse, error) { + rsp, err := c.CreateServiceUserInOrgWithBody(ctx, orgId, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdUsersResponse(rsp) + return ParseCreateServiceUserInOrgResponse(rsp) } -func (c *ClientWithResponses) PostOrgsOrgIdUsersWithResponse(ctx context.Context, orgId string, body PostOrgsOrgIdUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOrgsOrgIdUsersResponse, error) { - rsp, err := c.PostOrgsOrgIdUsers(ctx, orgId, body, reqEditors...) +func (c *ClientWithResponses) CreateServiceUserInOrgWithResponse(ctx context.Context, orgId string, body CreateServiceUserInOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServiceUserInOrgResponse, error) { + rsp, err := c.CreateServiceUserInOrg(ctx, orgId, body, reqEditors...) if err != nil { return nil, err } - return ParsePostOrgsOrgIdUsersResponse(rsp) + return ParseCreateServiceUserInOrgResponse(rsp) } -// DeleteOrgsOrgIdUsersUserIdWithResponse request returning *DeleteOrgsOrgIdUsersUserIdResponse -func (c *ClientWithResponses) DeleteOrgsOrgIdUsersUserIdWithResponse(ctx context.Context, orgId string, userId string, reqEditors ...RequestEditorFn) (*DeleteOrgsOrgIdUsersUserIdResponse, error) { - rsp, err := c.DeleteOrgsOrgIdUsersUserId(ctx, orgId, userId, reqEditors...) +// DeleteUserRoleInOrgWithResponse request returning *DeleteUserRoleInOrgResponse +func (c *ClientWithResponses) DeleteUserRoleInOrgWithResponse(ctx context.Context, orgId string, userId string, reqEditors ...RequestEditorFn) (*DeleteUserRoleInOrgResponse, error) { + rsp, err := c.DeleteUserRoleInOrg(ctx, orgId, userId, reqEditors...) if err != nil { return nil, err } - return ParseDeleteOrgsOrgIdUsersUserIdResponse(rsp) + return ParseDeleteUserRoleInOrgResponse(rsp) } -// GetOrgsOrgIdUsersUserIdWithResponse request returning *GetOrgsOrgIdUsersUserIdResponse -func (c *ClientWithResponses) GetOrgsOrgIdUsersUserIdWithResponse(ctx context.Context, orgId string, userId string, reqEditors ...RequestEditorFn) (*GetOrgsOrgIdUsersUserIdResponse, error) { - rsp, err := c.GetOrgsOrgIdUsersUserId(ctx, orgId, userId, reqEditors...) +// GetUserRoleInOrgWithResponse request returning *GetUserRoleInOrgResponse +func (c *ClientWithResponses) GetUserRoleInOrgWithResponse(ctx context.Context, orgId string, userId string, reqEditors ...RequestEditorFn) (*GetUserRoleInOrgResponse, error) { + rsp, err := c.GetUserRoleInOrg(ctx, orgId, userId, reqEditors...) if err != nil { return nil, err } - return ParseGetOrgsOrgIdUsersUserIdResponse(rsp) + return ParseGetUserRoleInOrgResponse(rsp) } -// PatchOrgsOrgIdUsersUserIdWithBodyWithResponse request with arbitrary body returning *PatchOrgsOrgIdUsersUserIdResponse -func (c *ClientWithResponses) PatchOrgsOrgIdUsersUserIdWithBodyWithResponse(ctx context.Context, orgId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchOrgsOrgIdUsersUserIdResponse, error) { - rsp, err := c.PatchOrgsOrgIdUsersUserIdWithBody(ctx, orgId, userId, contentType, body, reqEditors...) +// UpdateUserRoleInOrgWithBodyWithResponse request with arbitrary body returning *UpdateUserRoleInOrgResponse +func (c *ClientWithResponses) UpdateUserRoleInOrgWithBodyWithResponse(ctx context.Context, orgId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateUserRoleInOrgResponse, error) { + rsp, err := c.UpdateUserRoleInOrgWithBody(ctx, orgId, userId, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePatchOrgsOrgIdUsersUserIdResponse(rsp) + return ParseUpdateUserRoleInOrgResponse(rsp) } -func (c *ClientWithResponses) PatchOrgsOrgIdUsersUserIdWithResponse(ctx context.Context, orgId string, userId string, body PatchOrgsOrgIdUsersUserIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchOrgsOrgIdUsersUserIdResponse, error) { - rsp, err := c.PatchOrgsOrgIdUsersUserId(ctx, orgId, userId, body, reqEditors...) +func (c *ClientWithResponses) UpdateUserRoleInOrgWithResponse(ctx context.Context, orgId string, userId string, body UpdateUserRoleInOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateUserRoleInOrgResponse, error) { + rsp, err := c.UpdateUserRoleInOrg(ctx, orgId, userId, body, reqEditors...) if err != nil { return nil, err } - return ParsePatchOrgsOrgIdUsersUserIdResponse(rsp) + return ParseUpdateUserRoleInOrgResponse(rsp) } // ListWorkloadProfileChartVersionsWithResponse request returning *ListWorkloadProfileChartVersionsResponse @@ -26545,66 +26625,66 @@ func (c *ClientWithResponses) GetLatestWorkloadProfileVersionWithResponse(ctx co return ParseGetLatestWorkloadProfileVersionResponse(rsp) } -// GetTokensWithResponse request returning *GetTokensResponse -func (c *ClientWithResponses) GetTokensWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTokensResponse, error) { - rsp, err := c.GetTokens(ctx, reqEditors...) +// ListTokensWithResponse request returning *ListTokensResponse +func (c *ClientWithResponses) ListTokensWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTokensResponse, error) { + rsp, err := c.ListTokens(ctx, reqEditors...) if err != nil { return nil, err } - return ParseGetTokensResponse(rsp) + return ParseListTokensResponse(rsp) } -// DeleteTokensTokenIdWithResponse request returning *DeleteTokensTokenIdResponse -func (c *ClientWithResponses) DeleteTokensTokenIdWithResponse(ctx context.Context, tokenId string, reqEditors ...RequestEditorFn) (*DeleteTokensTokenIdResponse, error) { - rsp, err := c.DeleteTokensTokenId(ctx, tokenId, reqEditors...) +// DeleteTokenWithResponse request returning *DeleteTokenResponse +func (c *ClientWithResponses) DeleteTokenWithResponse(ctx context.Context, tokenId string, reqEditors ...RequestEditorFn) (*DeleteTokenResponse, error) { + rsp, err := c.DeleteToken(ctx, tokenId, reqEditors...) if err != nil { return nil, err } - return ParseDeleteTokensTokenIdResponse(rsp) + return ParseDeleteTokenResponse(rsp) } -// GetUsersUserIdTokensWithResponse request returning *GetUsersUserIdTokensResponse -func (c *ClientWithResponses) GetUsersUserIdTokensWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*GetUsersUserIdTokensResponse, error) { - rsp, err := c.GetUsersUserIdTokens(ctx, userId, reqEditors...) +// ListUserTokensWithResponse request returning *ListUserTokensResponse +func (c *ClientWithResponses) ListUserTokensWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*ListUserTokensResponse, error) { + rsp, err := c.ListUserTokens(ctx, userId, reqEditors...) if err != nil { return nil, err } - return ParseGetUsersUserIdTokensResponse(rsp) + return ParseListUserTokensResponse(rsp) } -// PostUsersUserIdTokensWithBodyWithResponse request with arbitrary body returning *PostUsersUserIdTokensResponse -func (c *ClientWithResponses) PostUsersUserIdTokensWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUsersUserIdTokensResponse, error) { - rsp, err := c.PostUsersUserIdTokensWithBody(ctx, userId, contentType, body, reqEditors...) +// CreateUserTokenWithBodyWithResponse request with arbitrary body returning *CreateUserTokenResponse +func (c *ClientWithResponses) CreateUserTokenWithBodyWithResponse(ctx context.Context, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUserTokenResponse, error) { + rsp, err := c.CreateUserTokenWithBody(ctx, userId, contentType, body, reqEditors...) if err != nil { return nil, err } - return ParsePostUsersUserIdTokensResponse(rsp) + return ParseCreateUserTokenResponse(rsp) } -func (c *ClientWithResponses) PostUsersUserIdTokensWithResponse(ctx context.Context, userId string, body PostUsersUserIdTokensJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUsersUserIdTokensResponse, error) { - rsp, err := c.PostUsersUserIdTokens(ctx, userId, body, reqEditors...) +func (c *ClientWithResponses) CreateUserTokenWithResponse(ctx context.Context, userId string, body CreateUserTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUserTokenResponse, error) { + rsp, err := c.CreateUserToken(ctx, userId, body, reqEditors...) if err != nil { return nil, err } - return ParsePostUsersUserIdTokensResponse(rsp) + return ParseCreateUserTokenResponse(rsp) } -// DeleteUsersUserIdTokensTokenIdWithResponse request returning *DeleteUsersUserIdTokensTokenIdResponse -func (c *ClientWithResponses) DeleteUsersUserIdTokensTokenIdWithResponse(ctx context.Context, userId string, tokenId string, reqEditors ...RequestEditorFn) (*DeleteUsersUserIdTokensTokenIdResponse, error) { - rsp, err := c.DeleteUsersUserIdTokensTokenId(ctx, userId, tokenId, reqEditors...) +// DeleteUserTokenWithResponse request returning *DeleteUserTokenResponse +func (c *ClientWithResponses) DeleteUserTokenWithResponse(ctx context.Context, userId string, tokenId string, reqEditors ...RequestEditorFn) (*DeleteUserTokenResponse, error) { + rsp, err := c.DeleteUserToken(ctx, userId, tokenId, reqEditors...) if err != nil { return nil, err } - return ParseDeleteUsersUserIdTokensTokenIdResponse(rsp) + return ParseDeleteUserTokenResponse(rsp) } -// GetUsersUserIdTokensTokenIdWithResponse request returning *GetUsersUserIdTokensTokenIdResponse -func (c *ClientWithResponses) GetUsersUserIdTokensTokenIdWithResponse(ctx context.Context, userId string, tokenId string, reqEditors ...RequestEditorFn) (*GetUsersUserIdTokensTokenIdResponse, error) { - rsp, err := c.GetUsersUserIdTokensTokenId(ctx, userId, tokenId, reqEditors...) +// GetUserTokenWithResponse request returning *GetUserTokenResponse +func (c *ClientWithResponses) GetUserTokenWithResponse(ctx context.Context, userId string, tokenId string, reqEditors ...RequestEditorFn) (*GetUserTokenResponse, error) { + rsp, err := c.GetUserToken(ctx, userId, tokenId, reqEditors...) if err != nil { return nil, err } - return ParseGetUsersUserIdTokensTokenIdResponse(rsp) + return ParseGetUserTokenResponse(rsp) } // ParseGetCurrentUserResponse parses an HTTP response from a GetCurrentUserWithResponse call @@ -26633,15 +26713,15 @@ func ParseGetCurrentUserResponse(rsp *http.Response) (*GetCurrentUserResponse, e return response, nil } -// ParsePatchCurrentUserResponse parses an HTTP response from a PatchCurrentUserWithResponse call -func ParsePatchCurrentUserResponse(rsp *http.Response) (*PatchCurrentUserResponse, error) { +// ParseUpdateCurrentUserResponse parses an HTTP response from a UpdateCurrentUserWithResponse call +func ParseUpdateCurrentUserResponse(rsp *http.Response) (*UpdateCurrentUserResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PatchCurrentUserResponse{ + response := &UpdateCurrentUserResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -26970,15 +27050,15 @@ func ParseDeleteKeyInAgentResponse(rsp *http.Response) (*DeleteKeyInAgentRespons return response, nil } -// ParseGetOrgsOrgIdAppsResponse parses an HTTP response from a GetOrgsOrgIdAppsWithResponse call -func ParseGetOrgsOrgIdAppsResponse(rsp *http.Response) (*GetOrgsOrgIdAppsResponse, error) { +// ParseListApplicationsResponse parses an HTTP response from a ListApplicationsWithResponse call +func ParseListApplicationsResponse(rsp *http.Response) (*ListApplicationsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetOrgsOrgIdAppsResponse{ + response := &ListApplicationsResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -26996,15 +27076,15 @@ func ParseGetOrgsOrgIdAppsResponse(rsp *http.Response) (*GetOrgsOrgIdAppsRespons return response, nil } -// ParsePostOrgsOrgIdAppsResponse parses an HTTP response from a PostOrgsOrgIdAppsWithResponse call -func ParsePostOrgsOrgIdAppsResponse(rsp *http.Response) (*PostOrgsOrgIdAppsResponse, error) { +// ParseCreateApplicationResponse parses an HTTP response from a CreateApplicationWithResponse call +func ParseCreateApplicationResponse(rsp *http.Response) (*CreateApplicationResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostOrgsOrgIdAppsResponse{ + response := &CreateApplicationResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -27043,15 +27123,15 @@ func ParsePostOrgsOrgIdAppsResponse(rsp *http.Response) (*PostOrgsOrgIdAppsRespo return response, nil } -// ParseDeleteOrgsOrgIdAppsAppIdResponse parses an HTTP response from a DeleteOrgsOrgIdAppsAppIdWithResponse call -func ParseDeleteOrgsOrgIdAppsAppIdResponse(rsp *http.Response) (*DeleteOrgsOrgIdAppsAppIdResponse, error) { +// ParseDeleteApplicationResponse parses an HTTP response from a DeleteApplicationWithResponse call +func ParseDeleteApplicationResponse(rsp *http.Response) (*DeleteApplicationResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &DeleteOrgsOrgIdAppsAppIdResponse{ + response := &DeleteApplicationResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -27076,15 +27156,15 @@ func ParseDeleteOrgsOrgIdAppsAppIdResponse(rsp *http.Response) (*DeleteOrgsOrgId return response, nil } -// ParseGetOrgsOrgIdAppsAppIdResponse parses an HTTP response from a GetOrgsOrgIdAppsAppIdWithResponse call -func ParseGetOrgsOrgIdAppsAppIdResponse(rsp *http.Response) (*GetOrgsOrgIdAppsAppIdResponse, error) { +// ParseGetApplicationResponse parses an HTTP response from a GetApplicationWithResponse call +func ParseGetApplicationResponse(rsp *http.Response) (*GetApplicationResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetOrgsOrgIdAppsAppIdResponse{ + response := &GetApplicationResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -27408,15 +27488,15 @@ func ParsePutOrgsOrgIdAppsAppIdDeltasDeltaIdMetadataNameResponse(rsp *http.Respo return response, nil } -// ParseGetOrgsOrgIdAppsAppIdEnvsResponse parses an HTTP response from a GetOrgsOrgIdAppsAppIdEnvsWithResponse call -func ParseGetOrgsOrgIdAppsAppIdEnvsResponse(rsp *http.Response) (*GetOrgsOrgIdAppsAppIdEnvsResponse, error) { +// ParseListEnvironmentsResponse parses an HTTP response from a ListEnvironmentsWithResponse call +func ParseListEnvironmentsResponse(rsp *http.Response) (*ListEnvironmentsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetOrgsOrgIdAppsAppIdEnvsResponse{ + response := &ListEnvironmentsResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -27434,15 +27514,15 @@ func ParseGetOrgsOrgIdAppsAppIdEnvsResponse(rsp *http.Response) (*GetOrgsOrgIdAp return response, nil } -// ParsePostOrgsOrgIdAppsAppIdEnvsResponse parses an HTTP response from a PostOrgsOrgIdAppsAppIdEnvsWithResponse call -func ParsePostOrgsOrgIdAppsAppIdEnvsResponse(rsp *http.Response) (*PostOrgsOrgIdAppsAppIdEnvsResponse, error) { +// ParseCreateEnvironmentResponse parses an HTTP response from a CreateEnvironmentWithResponse call +func ParseCreateEnvironmentResponse(rsp *http.Response) (*CreateEnvironmentResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostOrgsOrgIdAppsAppIdEnvsResponse{ + response := &CreateEnvironmentResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -27481,15 +27561,15 @@ func ParsePostOrgsOrgIdAppsAppIdEnvsResponse(rsp *http.Response) (*PostOrgsOrgId return response, nil } -// ParseDeleteOrgsOrgIdAppsAppIdEnvsEnvIdResponse parses an HTTP response from a DeleteOrgsOrgIdAppsAppIdEnvsEnvIdWithResponse call -func ParseDeleteOrgsOrgIdAppsAppIdEnvsEnvIdResponse(rsp *http.Response) (*DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResponse, error) { +// ParseDeleteEnvironmentResponse parses an HTTP response from a DeleteEnvironmentWithResponse call +func ParseDeleteEnvironmentResponse(rsp *http.Response) (*DeleteEnvironmentResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResponse{ + response := &DeleteEnvironmentResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -27514,15 +27594,15 @@ func ParseDeleteOrgsOrgIdAppsAppIdEnvsEnvIdResponse(rsp *http.Response) (*Delete return response, nil } -// ParseGetOrgsOrgIdAppsAppIdEnvsEnvIdResponse parses an HTTP response from a GetOrgsOrgIdAppsAppIdEnvsEnvIdWithResponse call -func ParseGetOrgsOrgIdAppsAppIdEnvsEnvIdResponse(rsp *http.Response) (*GetOrgsOrgIdAppsAppIdEnvsEnvIdResponse, error) { +// ParseGetEnvironmentResponse parses an HTTP response from a GetEnvironmentWithResponse call +func ParseGetEnvironmentResponse(rsp *http.Response) (*GetEnvironmentResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetOrgsOrgIdAppsAppIdEnvsEnvIdResponse{ + response := &GetEnvironmentResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -27580,15 +27660,15 @@ func ParseListDeploymentsResponse(rsp *http.Response) (*ListDeploymentsResponse, return response, nil } -// ParsePostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysResponse parses an HTTP response from a PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysWithResponse call -func ParsePostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysResponse(rsp *http.Response) (*PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysResponse, error) { +// ParseCreateDeploymentResponse parses an HTTP response from a CreateDeploymentWithResponse call +func ParseCreateDeploymentResponse(rsp *http.Response) (*CreateDeploymentResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostOrgsOrgIdAppsAppIdEnvsEnvIdDeploysResponse{ + response := &CreateDeploymentResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -27686,15 +27766,15 @@ func ParseListDeploymentErrorsResponse(rsp *http.Response) (*ListDeploymentError return response, nil } -// ParsePutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdResponse parses an HTTP response from a PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdWithResponse call -func ParsePutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdResponse(rsp *http.Response) (*PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdResponse, error) { +// ParseRebaseEnvironmentResponse parses an HTTP response from a RebaseEnvironmentWithResponse call +func ParseRebaseEnvironmentResponse(rsp *http.Response) (*RebaseEnvironmentResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdResponse{ + response := &RebaseEnvironmentResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -27719,15 +27799,15 @@ func ParsePutOrgsOrgIdAppsAppIdEnvsEnvIdFromDeployIdResponse(rsp *http.Response) return response, nil } -// ParseGetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesResponse parses an HTTP response from a GetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesWithResponse call -func ParseGetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesResponse(rsp *http.Response) (*GetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesResponse, error) { +// ParseListActiveResourcesResponse parses an HTTP response from a ListActiveResourcesWithResponse call +func ParseListActiveResourcesResponse(rsp *http.Response) (*ListActiveResourcesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesResponse{ + response := &ListActiveResourcesResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -27752,15 +27832,15 @@ func ParseGetOrgsOrgIdAppsAppIdEnvsEnvIdResourcesResponse(rsp *http.Response) (* return response, nil } -// ParsePostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphResponse parses an HTTP response from a PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphWithResponse call -func ParsePostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphResponse(rsp *http.Response) (*PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphResponse, error) { +// ParseQueryResourceGraphResponse parses an HTTP response from a QueryResourceGraphWithResponse call +func ParseQueryResourceGraphResponse(rsp *http.Response) (*QueryResourceGraphResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphResponse{ + response := &QueryResourceGraphResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -27792,15 +27872,15 @@ func ParsePostOrgsOrgIdAppsAppIdEnvsEnvIdResourcesGraphResponse(rsp *http.Respon return response, nil } -// ParseDeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResIdResponse parses an HTTP response from a DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResIdWithResponse call -func ParseDeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResIdResponse(rsp *http.Response) (*DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResIdResponse, error) { +// ParseDeleteActiveResourceResponse parses an HTTP response from a DeleteActiveResourceWithResponse call +func ParseDeleteActiveResourceResponse(rsp *http.Response) (*DeleteActiveResourceResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &DeleteOrgsOrgIdAppsAppIdEnvsEnvIdResourcesTypeResIdResponse{ + response := &DeleteActiveResourceResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -27956,13 +28036,20 @@ func ParseGetRuntimeResponse(rsp *http.Response) (*GetRuntimeResponse, error) { } switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest RuntimeInfoResponse + case rsp.Header.Get("Content-Type") == "application/json" && rsp.StatusCode == 200: + var dest RuntimeInfoResponseV1 if err := json.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.JSON200 = &dest + case rsp.Header.Get("Content-Type") == "application/v2+json" && rsp.StatusCode == 200: + var dest RuntimeInfoResponseV2 + if err := json.Unmarshal(bodyBytes, &dest); err != nil { + return nil, err + } + response.Applicationv2JSON200 = &dest + case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: var dest N400BadRequest if err := json.Unmarshal(bodyBytes, &dest); err != nil { @@ -29591,15 +29678,15 @@ func ParseGetOrgsOrgIdAppsAppIdSetsSetIdDiffSourceSetIdResponse(rsp *http.Respon return response, nil } -// ParseGetOrgsOrgIdAppsAppIdUsersResponse parses an HTTP response from a GetOrgsOrgIdAppsAppIdUsersWithResponse call -func ParseGetOrgsOrgIdAppsAppIdUsersResponse(rsp *http.Response) (*GetOrgsOrgIdAppsAppIdUsersResponse, error) { +// ParseListUserRolesInAppResponse parses an HTTP response from a ListUserRolesInAppWithResponse call +func ParseListUserRolesInAppResponse(rsp *http.Response) (*ListUserRolesInAppResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetOrgsOrgIdAppsAppIdUsersResponse{ + response := &ListUserRolesInAppResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -29617,15 +29704,15 @@ func ParseGetOrgsOrgIdAppsAppIdUsersResponse(rsp *http.Response) (*GetOrgsOrgIdA return response, nil } -// ParsePostOrgsOrgIdAppsAppIdUsersResponse parses an HTTP response from a PostOrgsOrgIdAppsAppIdUsersWithResponse call -func ParsePostOrgsOrgIdAppsAppIdUsersResponse(rsp *http.Response) (*PostOrgsOrgIdAppsAppIdUsersResponse, error) { +// ParseCreateUserRoleInAppResponse parses an HTTP response from a CreateUserRoleInAppWithResponse call +func ParseCreateUserRoleInAppResponse(rsp *http.Response) (*CreateUserRoleInAppResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostOrgsOrgIdAppsAppIdUsersResponse{ + response := &CreateUserRoleInAppResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -29650,15 +29737,15 @@ func ParsePostOrgsOrgIdAppsAppIdUsersResponse(rsp *http.Response) (*PostOrgsOrgI return response, nil } -// ParseDeleteOrgsOrgIdAppsAppIdUsersUserIdResponse parses an HTTP response from a DeleteOrgsOrgIdAppsAppIdUsersUserIdWithResponse call -func ParseDeleteOrgsOrgIdAppsAppIdUsersUserIdResponse(rsp *http.Response) (*DeleteOrgsOrgIdAppsAppIdUsersUserIdResponse, error) { +// ParseDeleteUserRoleInAppResponse parses an HTTP response from a DeleteUserRoleInAppWithResponse call +func ParseDeleteUserRoleInAppResponse(rsp *http.Response) (*DeleteUserRoleInAppResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &DeleteOrgsOrgIdAppsAppIdUsersUserIdResponse{ + response := &DeleteUserRoleInAppResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -29676,15 +29763,15 @@ func ParseDeleteOrgsOrgIdAppsAppIdUsersUserIdResponse(rsp *http.Response) (*Dele return response, nil } -// ParseGetOrgsOrgIdAppsAppIdUsersUserIdResponse parses an HTTP response from a GetOrgsOrgIdAppsAppIdUsersUserIdWithResponse call -func ParseGetOrgsOrgIdAppsAppIdUsersUserIdResponse(rsp *http.Response) (*GetOrgsOrgIdAppsAppIdUsersUserIdResponse, error) { +// ParseGetUserRoleInAppResponse parses an HTTP response from a GetUserRoleInAppWithResponse call +func ParseGetUserRoleInAppResponse(rsp *http.Response) (*GetUserRoleInAppResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetOrgsOrgIdAppsAppIdUsersUserIdResponse{ + response := &GetUserRoleInAppResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -29709,15 +29796,15 @@ func ParseGetOrgsOrgIdAppsAppIdUsersUserIdResponse(rsp *http.Response) (*GetOrgs return response, nil } -// ParsePatchOrgsOrgIdAppsAppIdUsersUserIdResponse parses an HTTP response from a PatchOrgsOrgIdAppsAppIdUsersUserIdWithResponse call -func ParsePatchOrgsOrgIdAppsAppIdUsersUserIdResponse(rsp *http.Response) (*PatchOrgsOrgIdAppsAppIdUsersUserIdResponse, error) { +// ParseUpdateUserRoleInAppResponse parses an HTTP response from a UpdateUserRoleInAppWithResponse call +func ParseUpdateUserRoleInAppResponse(rsp *http.Response) (*UpdateUserRoleInAppResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PatchOrgsOrgIdAppsAppIdUsersUserIdResponse{ + response := &UpdateUserRoleInAppResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -30674,15 +30761,15 @@ func ParseListAuditLogEntriesResponse(rsp *http.Response) (*ListAuditLogEntriesR return response, nil } -// ParseGetOrgsOrgIdEnvTypesResponse parses an HTTP response from a GetOrgsOrgIdEnvTypesWithResponse call -func ParseGetOrgsOrgIdEnvTypesResponse(rsp *http.Response) (*GetOrgsOrgIdEnvTypesResponse, error) { +// ParseListEnvironmentTypesResponse parses an HTTP response from a ListEnvironmentTypesWithResponse call +func ParseListEnvironmentTypesResponse(rsp *http.Response) (*ListEnvironmentTypesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetOrgsOrgIdEnvTypesResponse{ + response := &ListEnvironmentTypesResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -30700,15 +30787,15 @@ func ParseGetOrgsOrgIdEnvTypesResponse(rsp *http.Response) (*GetOrgsOrgIdEnvType return response, nil } -// ParsePostOrgsOrgIdEnvTypesResponse parses an HTTP response from a PostOrgsOrgIdEnvTypesWithResponse call -func ParsePostOrgsOrgIdEnvTypesResponse(rsp *http.Response) (*PostOrgsOrgIdEnvTypesResponse, error) { +// ParseCreateEnvironmentTypeResponse parses an HTTP response from a CreateEnvironmentTypeWithResponse call +func ParseCreateEnvironmentTypeResponse(rsp *http.Response) (*CreateEnvironmentTypeResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostOrgsOrgIdEnvTypesResponse{ + response := &CreateEnvironmentTypeResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -30747,15 +30834,15 @@ func ParsePostOrgsOrgIdEnvTypesResponse(rsp *http.Response) (*PostOrgsOrgIdEnvTy return response, nil } -// ParseDeleteOrgsOrgIdEnvTypesEnvTypeIdResponse parses an HTTP response from a DeleteOrgsOrgIdEnvTypesEnvTypeIdWithResponse call -func ParseDeleteOrgsOrgIdEnvTypesEnvTypeIdResponse(rsp *http.Response) (*DeleteOrgsOrgIdEnvTypesEnvTypeIdResponse, error) { +// ParseDeleteEnvironmentTypeResponse parses an HTTP response from a DeleteEnvironmentTypeWithResponse call +func ParseDeleteEnvironmentTypeResponse(rsp *http.Response) (*DeleteEnvironmentTypeResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &DeleteOrgsOrgIdEnvTypesEnvTypeIdResponse{ + response := &DeleteEnvironmentTypeResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -30794,15 +30881,15 @@ func ParseDeleteOrgsOrgIdEnvTypesEnvTypeIdResponse(rsp *http.Response) (*DeleteO return response, nil } -// ParseGetOrgsOrgIdEnvTypesEnvTypeIdResponse parses an HTTP response from a GetOrgsOrgIdEnvTypesEnvTypeIdWithResponse call -func ParseGetOrgsOrgIdEnvTypesEnvTypeIdResponse(rsp *http.Response) (*GetOrgsOrgIdEnvTypesEnvTypeIdResponse, error) { +// ParseGetEnvironmentTypeResponse parses an HTTP response from a GetEnvironmentTypeWithResponse call +func ParseGetEnvironmentTypeResponse(rsp *http.Response) (*GetEnvironmentTypeResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetOrgsOrgIdEnvTypesEnvTypeIdResponse{ + response := &GetEnvironmentTypeResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -30827,15 +30914,15 @@ func ParseGetOrgsOrgIdEnvTypesEnvTypeIdResponse(rsp *http.Response) (*GetOrgsOrg return response, nil } -// ParsePostOrgsOrgIdEnvTypesEnvTypeUsersResponse parses an HTTP response from a PostOrgsOrgIdEnvTypesEnvTypeUsersWithResponse call -func ParsePostOrgsOrgIdEnvTypesEnvTypeUsersResponse(rsp *http.Response) (*PostOrgsOrgIdEnvTypesEnvTypeUsersResponse, error) { +// ParseCreateUserRoleInEnvTypeResponse parses an HTTP response from a CreateUserRoleInEnvTypeWithResponse call +func ParseCreateUserRoleInEnvTypeResponse(rsp *http.Response) (*CreateUserRoleInEnvTypeResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostOrgsOrgIdEnvTypesEnvTypeUsersResponse{ + response := &CreateUserRoleInEnvTypeResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -30860,15 +30947,15 @@ func ParsePostOrgsOrgIdEnvTypesEnvTypeUsersResponse(rsp *http.Response) (*PostOr return response, nil } -// ParseDeleteOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse parses an HTTP response from a DeleteOrgsOrgIdEnvTypesEnvTypeUsersUserIdWithResponse call -func ParseDeleteOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse(rsp *http.Response) (*DeleteOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse, error) { +// ParseDeleteUserRoleInEnvTypeResponse parses an HTTP response from a DeleteUserRoleInEnvTypeWithResponse call +func ParseDeleteUserRoleInEnvTypeResponse(rsp *http.Response) (*DeleteUserRoleInEnvTypeResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &DeleteOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse{ + response := &DeleteUserRoleInEnvTypeResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -30886,15 +30973,15 @@ func ParseDeleteOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse(rsp *http.Response) return response, nil } -// ParseGetOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse parses an HTTP response from a GetOrgsOrgIdEnvTypesEnvTypeUsersUserIdWithResponse call -func ParseGetOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse(rsp *http.Response) (*GetOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse, error) { +// ParseGetUserRoleInEnvTypeResponse parses an HTTP response from a GetUserRoleInEnvTypeWithResponse call +func ParseGetUserRoleInEnvTypeResponse(rsp *http.Response) (*GetUserRoleInEnvTypeResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse{ + response := &GetUserRoleInEnvTypeResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -30919,15 +31006,15 @@ func ParseGetOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse(rsp *http.Response) (*G return response, nil } -// ParsePatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse parses an HTTP response from a PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdWithResponse call -func ParsePatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse(rsp *http.Response) (*PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse, error) { +// ParseUpdateUserRoleInEnvTypeResponse parses an HTTP response from a UpdateUserRoleInEnvTypeWithResponse call +func ParseUpdateUserRoleInEnvTypeResponse(rsp *http.Response) (*UpdateUserRoleInEnvTypeResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PatchOrgsOrgIdEnvTypesEnvTypeUsersUserIdResponse{ + response := &UpdateUserRoleInEnvTypeResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -31136,15 +31223,15 @@ func ParseCreateDeprecatedImageBuildResponse(rsp *http.Response) (*CreateDepreca return response, nil } -// ParseGetOrgsOrgIdInvitationsResponse parses an HTTP response from a GetOrgsOrgIdInvitationsWithResponse call -func ParseGetOrgsOrgIdInvitationsResponse(rsp *http.Response) (*GetOrgsOrgIdInvitationsResponse, error) { +// ParseListInvitesInOrgResponse parses an HTTP response from a ListInvitesInOrgWithResponse call +func ParseListInvitesInOrgResponse(rsp *http.Response) (*ListInvitesInOrgResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetOrgsOrgIdInvitationsResponse{ + response := &ListInvitesInOrgResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -31162,15 +31249,15 @@ func ParseGetOrgsOrgIdInvitationsResponse(rsp *http.Response) (*GetOrgsOrgIdInvi return response, nil } -// ParsePostOrgsOrgIdInvitationsResponse parses an HTTP response from a PostOrgsOrgIdInvitationsWithResponse call -func ParsePostOrgsOrgIdInvitationsResponse(rsp *http.Response) (*PostOrgsOrgIdInvitationsResponse, error) { +// ParseCreateInviteInOrgResponse parses an HTTP response from a CreateInviteInOrgWithResponse call +func ParseCreateInviteInOrgResponse(rsp *http.Response) (*CreateInviteInOrgResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostOrgsOrgIdInvitationsResponse{ + response := &CreateInviteInOrgResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -31729,15 +31816,15 @@ func ParseGetOrgsOrgIdRegistriesRegIdCredsResponse(rsp *http.Response) (*GetOrgs return response, nil } -// ParseGetOrgsOrgIdResourcesAccountTypesResponse parses an HTTP response from a GetOrgsOrgIdResourcesAccountTypesWithResponse call -func ParseGetOrgsOrgIdResourcesAccountTypesResponse(rsp *http.Response) (*GetOrgsOrgIdResourcesAccountTypesResponse, error) { +// ParseListResourceAccountTypesResponse parses an HTTP response from a ListResourceAccountTypesWithResponse call +func ParseListResourceAccountTypesResponse(rsp *http.Response) (*ListResourceAccountTypesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetOrgsOrgIdResourcesAccountTypesResponse{ + response := &ListResourceAccountTypesResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -31762,15 +31849,15 @@ func ParseGetOrgsOrgIdResourcesAccountTypesResponse(rsp *http.Response) (*GetOrg return response, nil } -// ParseGetOrgsOrgIdResourcesAccountsResponse parses an HTTP response from a GetOrgsOrgIdResourcesAccountsWithResponse call -func ParseGetOrgsOrgIdResourcesAccountsResponse(rsp *http.Response) (*GetOrgsOrgIdResourcesAccountsResponse, error) { +// ParseListResourceAccountsResponse parses an HTTP response from a ListResourceAccountsWithResponse call +func ParseListResourceAccountsResponse(rsp *http.Response) (*ListResourceAccountsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetOrgsOrgIdResourcesAccountsResponse{ + response := &ListResourceAccountsResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -31795,15 +31882,15 @@ func ParseGetOrgsOrgIdResourcesAccountsResponse(rsp *http.Response) (*GetOrgsOrg return response, nil } -// ParsePostOrgsOrgIdResourcesAccountsResponse parses an HTTP response from a PostOrgsOrgIdResourcesAccountsWithResponse call -func ParsePostOrgsOrgIdResourcesAccountsResponse(rsp *http.Response) (*PostOrgsOrgIdResourcesAccountsResponse, error) { +// ParseCreateResourceAccountResponse parses an HTTP response from a CreateResourceAccountWithResponse call +func ParseCreateResourceAccountResponse(rsp *http.Response) (*CreateResourceAccountResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostOrgsOrgIdResourcesAccountsResponse{ + response := &CreateResourceAccountResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -31849,15 +31936,15 @@ func ParsePostOrgsOrgIdResourcesAccountsResponse(rsp *http.Response) (*PostOrgsO return response, nil } -// ParseDeleteOrgsOrgIdResourcesAccountsAccIdResponse parses an HTTP response from a DeleteOrgsOrgIdResourcesAccountsAccIdWithResponse call -func ParseDeleteOrgsOrgIdResourcesAccountsAccIdResponse(rsp *http.Response) (*DeleteOrgsOrgIdResourcesAccountsAccIdResponse, error) { +// ParseDeleteResourceAccountResponse parses an HTTP response from a DeleteResourceAccountWithResponse call +func ParseDeleteResourceAccountResponse(rsp *http.Response) (*DeleteResourceAccountResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &DeleteOrgsOrgIdResourcesAccountsAccIdResponse{ + response := &DeleteResourceAccountResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -31889,15 +31976,15 @@ func ParseDeleteOrgsOrgIdResourcesAccountsAccIdResponse(rsp *http.Response) (*De return response, nil } -// ParseGetOrgsOrgIdResourcesAccountsAccIdResponse parses an HTTP response from a GetOrgsOrgIdResourcesAccountsAccIdWithResponse call -func ParseGetOrgsOrgIdResourcesAccountsAccIdResponse(rsp *http.Response) (*GetOrgsOrgIdResourcesAccountsAccIdResponse, error) { +// ParseGetResourceAccountResponse parses an HTTP response from a GetResourceAccountWithResponse call +func ParseGetResourceAccountResponse(rsp *http.Response) (*GetResourceAccountResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetOrgsOrgIdResourcesAccountsAccIdResponse{ + response := &GetResourceAccountResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -31929,15 +32016,15 @@ func ParseGetOrgsOrgIdResourcesAccountsAccIdResponse(rsp *http.Response) (*GetOr return response, nil } -// ParsePatchOrgsOrgIdResourcesAccountsAccIdResponse parses an HTTP response from a PatchOrgsOrgIdResourcesAccountsAccIdWithResponse call -func ParsePatchOrgsOrgIdResourcesAccountsAccIdResponse(rsp *http.Response) (*PatchOrgsOrgIdResourcesAccountsAccIdResponse, error) { +// ParsePatchResourceAccountResponse parses an HTTP response from a PatchResourceAccountWithResponse call +func ParsePatchResourceAccountResponse(rsp *http.Response) (*PatchResourceAccountResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PatchOrgsOrgIdResourcesAccountsAccIdResponse{ + response := &PatchResourceAccountResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -31976,15 +32063,15 @@ func ParsePatchOrgsOrgIdResourcesAccountsAccIdResponse(rsp *http.Response) (*Pat return response, nil } -// ParseGetOrgsOrgIdResourcesDefsResponse parses an HTTP response from a GetOrgsOrgIdResourcesDefsWithResponse call -func ParseGetOrgsOrgIdResourcesDefsResponse(rsp *http.Response) (*GetOrgsOrgIdResourcesDefsResponse, error) { +// ParseListResourceDefinitionsResponse parses an HTTP response from a ListResourceDefinitionsWithResponse call +func ParseListResourceDefinitionsResponse(rsp *http.Response) (*ListResourceDefinitionsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetOrgsOrgIdResourcesDefsResponse{ + response := &ListResourceDefinitionsResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -32009,15 +32096,15 @@ func ParseGetOrgsOrgIdResourcesDefsResponse(rsp *http.Response) (*GetOrgsOrgIdRe return response, nil } -// ParsePostOrgsOrgIdResourcesDefsResponse parses an HTTP response from a PostOrgsOrgIdResourcesDefsWithResponse call -func ParsePostOrgsOrgIdResourcesDefsResponse(rsp *http.Response) (*PostOrgsOrgIdResourcesDefsResponse, error) { +// ParseCreateResourceDefinitionResponse parses an HTTP response from a CreateResourceDefinitionWithResponse call +func ParseCreateResourceDefinitionResponse(rsp *http.Response) (*CreateResourceDefinitionResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostOrgsOrgIdResourcesDefsResponse{ + response := &CreateResourceDefinitionResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -32056,15 +32143,15 @@ func ParsePostOrgsOrgIdResourcesDefsResponse(rsp *http.Response) (*PostOrgsOrgId return response, nil } -// ParseDeleteOrgsOrgIdResourcesDefsDefIdResponse parses an HTTP response from a DeleteOrgsOrgIdResourcesDefsDefIdWithResponse call -func ParseDeleteOrgsOrgIdResourcesDefsDefIdResponse(rsp *http.Response) (*DeleteOrgsOrgIdResourcesDefsDefIdResponse, error) { +// ParseDeleteResourceDefinitionResponse parses an HTTP response from a DeleteResourceDefinitionWithResponse call +func ParseDeleteResourceDefinitionResponse(rsp *http.Response) (*DeleteResourceDefinitionResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &DeleteOrgsOrgIdResourcesDefsDefIdResponse{ + response := &DeleteResourceDefinitionResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -32096,15 +32183,15 @@ func ParseDeleteOrgsOrgIdResourcesDefsDefIdResponse(rsp *http.Response) (*Delete return response, nil } -// ParseGetOrgsOrgIdResourcesDefsDefIdResponse parses an HTTP response from a GetOrgsOrgIdResourcesDefsDefIdWithResponse call -func ParseGetOrgsOrgIdResourcesDefsDefIdResponse(rsp *http.Response) (*GetOrgsOrgIdResourcesDefsDefIdResponse, error) { +// ParseGetResourceDefinitionResponse parses an HTTP response from a GetResourceDefinitionWithResponse call +func ParseGetResourceDefinitionResponse(rsp *http.Response) (*GetResourceDefinitionResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetOrgsOrgIdResourcesDefsDefIdResponse{ + response := &GetResourceDefinitionResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -32136,15 +32223,15 @@ func ParseGetOrgsOrgIdResourcesDefsDefIdResponse(rsp *http.Response) (*GetOrgsOr return response, nil } -// ParsePatchOrgsOrgIdResourcesDefsDefIdResponse parses an HTTP response from a PatchOrgsOrgIdResourcesDefsDefIdWithResponse call -func ParsePatchOrgsOrgIdResourcesDefsDefIdResponse(rsp *http.Response) (*PatchOrgsOrgIdResourcesDefsDefIdResponse, error) { +// ParsePatchResourceDefinitionResponse parses an HTTP response from a PatchResourceDefinitionWithResponse call +func ParsePatchResourceDefinitionResponse(rsp *http.Response) (*PatchResourceDefinitionResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PatchOrgsOrgIdResourcesDefsDefIdResponse{ + response := &PatchResourceDefinitionResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -32183,15 +32270,15 @@ func ParsePatchOrgsOrgIdResourcesDefsDefIdResponse(rsp *http.Response) (*PatchOr return response, nil } -// ParsePutOrgsOrgIdResourcesDefsDefIdResponse parses an HTTP response from a PutOrgsOrgIdResourcesDefsDefIdWithResponse call -func ParsePutOrgsOrgIdResourcesDefsDefIdResponse(rsp *http.Response) (*PutOrgsOrgIdResourcesDefsDefIdResponse, error) { +// ParseUpdateResourceDefinitionResponse parses an HTTP response from a UpdateResourceDefinitionWithResponse call +func ParseUpdateResourceDefinitionResponse(rsp *http.Response) (*UpdateResourceDefinitionResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PutOrgsOrgIdResourcesDefsDefIdResponse{ + response := &UpdateResourceDefinitionResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -32230,15 +32317,15 @@ func ParsePutOrgsOrgIdResourcesDefsDefIdResponse(rsp *http.Response) (*PutOrgsOr return response, nil } -// ParsePostOrgsOrgIdResourcesDefsDefIdCriteriaResponse parses an HTTP response from a PostOrgsOrgIdResourcesDefsDefIdCriteriaWithResponse call -func ParsePostOrgsOrgIdResourcesDefsDefIdCriteriaResponse(rsp *http.Response) (*PostOrgsOrgIdResourcesDefsDefIdCriteriaResponse, error) { +// ParseCreateResourceDefinitionCriteriaResponse parses an HTTP response from a CreateResourceDefinitionCriteriaWithResponse call +func ParseCreateResourceDefinitionCriteriaResponse(rsp *http.Response) (*CreateResourceDefinitionCriteriaResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostOrgsOrgIdResourcesDefsDefIdCriteriaResponse{ + response := &CreateResourceDefinitionCriteriaResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -32284,15 +32371,15 @@ func ParsePostOrgsOrgIdResourcesDefsDefIdCriteriaResponse(rsp *http.Response) (* return response, nil } -// ParsePutOrgsOrgIdResourcesDefsDefIdCriteriaResponse parses an HTTP response from a PutOrgsOrgIdResourcesDefsDefIdCriteriaWithResponse call -func ParsePutOrgsOrgIdResourcesDefsDefIdCriteriaResponse(rsp *http.Response) (*PutOrgsOrgIdResourcesDefsDefIdCriteriaResponse, error) { +// ParseUpdateResourceDefinitionCriteriaResponse parses an HTTP response from a UpdateResourceDefinitionCriteriaWithResponse call +func ParseUpdateResourceDefinitionCriteriaResponse(rsp *http.Response) (*UpdateResourceDefinitionCriteriaResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PutOrgsOrgIdResourcesDefsDefIdCriteriaResponse{ + response := &UpdateResourceDefinitionCriteriaResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -32338,15 +32425,15 @@ func ParsePutOrgsOrgIdResourcesDefsDefIdCriteriaResponse(rsp *http.Response) (*P return response, nil } -// ParseDeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdResponse parses an HTTP response from a DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdWithResponse call -func ParseDeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdResponse(rsp *http.Response) (*DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdResponse, error) { +// ParseDeleteResourceDefinitionCriteriaResponse parses an HTTP response from a DeleteResourceDefinitionCriteriaWithResponse call +func ParseDeleteResourceDefinitionCriteriaResponse(rsp *http.Response) (*DeleteResourceDefinitionCriteriaResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &DeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdResponse{ + response := &DeleteResourceDefinitionCriteriaResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -32378,15 +32465,15 @@ func ParseDeleteOrgsOrgIdResourcesDefsDefIdCriteriaCriteriaIdResponse(rsp *http. return response, nil } -// ParseGetOrgsOrgIdResourcesDefsDefIdResourcesResponse parses an HTTP response from a GetOrgsOrgIdResourcesDefsDefIdResourcesWithResponse call -func ParseGetOrgsOrgIdResourcesDefsDefIdResourcesResponse(rsp *http.Response) (*GetOrgsOrgIdResourcesDefsDefIdResourcesResponse, error) { +// ParseListActiveResourceByDefinitionResponse parses an HTTP response from a ListActiveResourceByDefinitionWithResponse call +func ParseListActiveResourceByDefinitionResponse(rsp *http.Response) (*ListActiveResourceByDefinitionResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetOrgsOrgIdResourcesDefsDefIdResourcesResponse{ + response := &ListActiveResourceByDefinitionResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -32411,15 +32498,15 @@ func ParseGetOrgsOrgIdResourcesDefsDefIdResourcesResponse(rsp *http.Response) (* return response, nil } -// ParseGetOrgsOrgIdResourcesDriversResponse parses an HTTP response from a GetOrgsOrgIdResourcesDriversWithResponse call -func ParseGetOrgsOrgIdResourcesDriversResponse(rsp *http.Response) (*GetOrgsOrgIdResourcesDriversResponse, error) { +// ParseListResourceDriversResponse parses an HTTP response from a ListResourceDriversWithResponse call +func ParseListResourceDriversResponse(rsp *http.Response) (*ListResourceDriversResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetOrgsOrgIdResourcesDriversResponse{ + response := &ListResourceDriversResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -32444,15 +32531,15 @@ func ParseGetOrgsOrgIdResourcesDriversResponse(rsp *http.Response) (*GetOrgsOrgI return response, nil } -// ParsePostOrgsOrgIdResourcesDriversResponse parses an HTTP response from a PostOrgsOrgIdResourcesDriversWithResponse call -func ParsePostOrgsOrgIdResourcesDriversResponse(rsp *http.Response) (*PostOrgsOrgIdResourcesDriversResponse, error) { +// ParseCreateResourceDriverResponse parses an HTTP response from a CreateResourceDriverWithResponse call +func ParseCreateResourceDriverResponse(rsp *http.Response) (*CreateResourceDriverResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostOrgsOrgIdResourcesDriversResponse{ + response := &CreateResourceDriverResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -32491,15 +32578,15 @@ func ParsePostOrgsOrgIdResourcesDriversResponse(rsp *http.Response) (*PostOrgsOr return response, nil } -// ParseDeleteOrgsOrgIdResourcesDriversDriverIdResponse parses an HTTP response from a DeleteOrgsOrgIdResourcesDriversDriverIdWithResponse call -func ParseDeleteOrgsOrgIdResourcesDriversDriverIdResponse(rsp *http.Response) (*DeleteOrgsOrgIdResourcesDriversDriverIdResponse, error) { +// ParseDeleteResourceDriverResponse parses an HTTP response from a DeleteResourceDriverWithResponse call +func ParseDeleteResourceDriverResponse(rsp *http.Response) (*DeleteResourceDriverResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &DeleteOrgsOrgIdResourcesDriversDriverIdResponse{ + response := &DeleteResourceDriverResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -32517,15 +32604,15 @@ func ParseDeleteOrgsOrgIdResourcesDriversDriverIdResponse(rsp *http.Response) (* return response, nil } -// ParseGetOrgsOrgIdResourcesDriversDriverIdResponse parses an HTTP response from a GetOrgsOrgIdResourcesDriversDriverIdWithResponse call -func ParseGetOrgsOrgIdResourcesDriversDriverIdResponse(rsp *http.Response) (*GetOrgsOrgIdResourcesDriversDriverIdResponse, error) { +// ParseGetResourceDriverResponse parses an HTTP response from a GetResourceDriverWithResponse call +func ParseGetResourceDriverResponse(rsp *http.Response) (*GetResourceDriverResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetOrgsOrgIdResourcesDriversDriverIdResponse{ + response := &GetResourceDriverResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -32557,15 +32644,15 @@ func ParseGetOrgsOrgIdResourcesDriversDriverIdResponse(rsp *http.Response) (*Get return response, nil } -// ParsePutOrgsOrgIdResourcesDriversDriverIdResponse parses an HTTP response from a PutOrgsOrgIdResourcesDriversDriverIdWithResponse call -func ParsePutOrgsOrgIdResourcesDriversDriverIdResponse(rsp *http.Response) (*PutOrgsOrgIdResourcesDriversDriverIdResponse, error) { +// ParseUpdateResourceDriverResponse parses an HTTP response from a UpdateResourceDriverWithResponse call +func ParseUpdateResourceDriverResponse(rsp *http.Response) (*UpdateResourceDriverResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PutOrgsOrgIdResourcesDriversDriverIdResponse{ + response := &UpdateResourceDriverResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -32604,15 +32691,15 @@ func ParsePutOrgsOrgIdResourcesDriversDriverIdResponse(rsp *http.Response) (*Put return response, nil } -// ParseGetOrgsOrgIdResourcesTypesResponse parses an HTTP response from a GetOrgsOrgIdResourcesTypesWithResponse call -func ParseGetOrgsOrgIdResourcesTypesResponse(rsp *http.Response) (*GetOrgsOrgIdResourcesTypesResponse, error) { +// ParseListResourceTypesResponse parses an HTTP response from a ListResourceTypesWithResponse call +func ParseListResourceTypesResponse(rsp *http.Response) (*ListResourceTypesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetOrgsOrgIdResourcesTypesResponse{ + response := &ListResourceTypesResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -32809,15 +32896,15 @@ func ParsePatchOrgsOrgIdSecretstoresStoreIdResponse(rsp *http.Response) (*PatchO return response, nil } -// ParseGetOrgsOrgIdUsersResponse parses an HTTP response from a GetOrgsOrgIdUsersWithResponse call -func ParseGetOrgsOrgIdUsersResponse(rsp *http.Response) (*GetOrgsOrgIdUsersResponse, error) { +// ParseListUserRolesInOrgResponse parses an HTTP response from a ListUserRolesInOrgWithResponse call +func ParseListUserRolesInOrgResponse(rsp *http.Response) (*ListUserRolesInOrgResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetOrgsOrgIdUsersResponse{ + response := &ListUserRolesInOrgResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -32835,15 +32922,15 @@ func ParseGetOrgsOrgIdUsersResponse(rsp *http.Response) (*GetOrgsOrgIdUsersRespo return response, nil } -// ParsePostOrgsOrgIdUsersResponse parses an HTTP response from a PostOrgsOrgIdUsersWithResponse call -func ParsePostOrgsOrgIdUsersResponse(rsp *http.Response) (*PostOrgsOrgIdUsersResponse, error) { +// ParseCreateServiceUserInOrgResponse parses an HTTP response from a CreateServiceUserInOrgWithResponse call +func ParseCreateServiceUserInOrgResponse(rsp *http.Response) (*CreateServiceUserInOrgResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostOrgsOrgIdUsersResponse{ + response := &CreateServiceUserInOrgResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -32868,15 +32955,15 @@ func ParsePostOrgsOrgIdUsersResponse(rsp *http.Response) (*PostOrgsOrgIdUsersRes return response, nil } -// ParseDeleteOrgsOrgIdUsersUserIdResponse parses an HTTP response from a DeleteOrgsOrgIdUsersUserIdWithResponse call -func ParseDeleteOrgsOrgIdUsersUserIdResponse(rsp *http.Response) (*DeleteOrgsOrgIdUsersUserIdResponse, error) { +// ParseDeleteUserRoleInOrgResponse parses an HTTP response from a DeleteUserRoleInOrgWithResponse call +func ParseDeleteUserRoleInOrgResponse(rsp *http.Response) (*DeleteUserRoleInOrgResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &DeleteOrgsOrgIdUsersUserIdResponse{ + response := &DeleteUserRoleInOrgResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -32894,15 +32981,15 @@ func ParseDeleteOrgsOrgIdUsersUserIdResponse(rsp *http.Response) (*DeleteOrgsOrg return response, nil } -// ParseGetOrgsOrgIdUsersUserIdResponse parses an HTTP response from a GetOrgsOrgIdUsersUserIdWithResponse call -func ParseGetOrgsOrgIdUsersUserIdResponse(rsp *http.Response) (*GetOrgsOrgIdUsersUserIdResponse, error) { +// ParseGetUserRoleInOrgResponse parses an HTTP response from a GetUserRoleInOrgWithResponse call +func ParseGetUserRoleInOrgResponse(rsp *http.Response) (*GetUserRoleInOrgResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetOrgsOrgIdUsersUserIdResponse{ + response := &GetUserRoleInOrgResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -32927,15 +33014,15 @@ func ParseGetOrgsOrgIdUsersUserIdResponse(rsp *http.Response) (*GetOrgsOrgIdUser return response, nil } -// ParsePatchOrgsOrgIdUsersUserIdResponse parses an HTTP response from a PatchOrgsOrgIdUsersUserIdWithResponse call -func ParsePatchOrgsOrgIdUsersUserIdResponse(rsp *http.Response) (*PatchOrgsOrgIdUsersUserIdResponse, error) { +// ParseUpdateUserRoleInOrgResponse parses an HTTP response from a UpdateUserRoleInOrgWithResponse call +func ParseUpdateUserRoleInOrgResponse(rsp *http.Response) (*UpdateUserRoleInOrgResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PatchOrgsOrgIdUsersUserIdResponse{ + response := &UpdateUserRoleInOrgResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -33304,15 +33391,15 @@ func ParseGetLatestWorkloadProfileVersionResponse(rsp *http.Response) (*GetLates return response, nil } -// ParseGetTokensResponse parses an HTTP response from a GetTokensWithResponse call -func ParseGetTokensResponse(rsp *http.Response) (*GetTokensResponse, error) { +// ParseListTokensResponse parses an HTTP response from a ListTokensWithResponse call +func ParseListTokensResponse(rsp *http.Response) (*ListTokensResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetTokensResponse{ + response := &ListTokensResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -33330,15 +33417,15 @@ func ParseGetTokensResponse(rsp *http.Response) (*GetTokensResponse, error) { return response, nil } -// ParseDeleteTokensTokenIdResponse parses an HTTP response from a DeleteTokensTokenIdWithResponse call -func ParseDeleteTokensTokenIdResponse(rsp *http.Response) (*DeleteTokensTokenIdResponse, error) { +// ParseDeleteTokenResponse parses an HTTP response from a DeleteTokenWithResponse call +func ParseDeleteTokenResponse(rsp *http.Response) (*DeleteTokenResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &DeleteTokensTokenIdResponse{ + response := &DeleteTokenResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -33346,15 +33433,15 @@ func ParseDeleteTokensTokenIdResponse(rsp *http.Response) (*DeleteTokensTokenIdR return response, nil } -// ParseGetUsersUserIdTokensResponse parses an HTTP response from a GetUsersUserIdTokensWithResponse call -func ParseGetUsersUserIdTokensResponse(rsp *http.Response) (*GetUsersUserIdTokensResponse, error) { +// ParseListUserTokensResponse parses an HTTP response from a ListUserTokensWithResponse call +func ParseListUserTokensResponse(rsp *http.Response) (*ListUserTokensResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetUsersUserIdTokensResponse{ + response := &ListUserTokensResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -33372,15 +33459,15 @@ func ParseGetUsersUserIdTokensResponse(rsp *http.Response) (*GetUsersUserIdToken return response, nil } -// ParsePostUsersUserIdTokensResponse parses an HTTP response from a PostUsersUserIdTokensWithResponse call -func ParsePostUsersUserIdTokensResponse(rsp *http.Response) (*PostUsersUserIdTokensResponse, error) { +// ParseCreateUserTokenResponse parses an HTTP response from a CreateUserTokenWithResponse call +func ParseCreateUserTokenResponse(rsp *http.Response) (*CreateUserTokenResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &PostUsersUserIdTokensResponse{ + response := &CreateUserTokenResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -33405,15 +33492,15 @@ func ParsePostUsersUserIdTokensResponse(rsp *http.Response) (*PostUsersUserIdTok return response, nil } -// ParseDeleteUsersUserIdTokensTokenIdResponse parses an HTTP response from a DeleteUsersUserIdTokensTokenIdWithResponse call -func ParseDeleteUsersUserIdTokensTokenIdResponse(rsp *http.Response) (*DeleteUsersUserIdTokensTokenIdResponse, error) { +// ParseDeleteUserTokenResponse parses an HTTP response from a DeleteUserTokenWithResponse call +func ParseDeleteUserTokenResponse(rsp *http.Response) (*DeleteUserTokenResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &DeleteUsersUserIdTokensTokenIdResponse{ + response := &DeleteUserTokenResponse{ Body: bodyBytes, HTTPResponse: rsp, } @@ -33421,15 +33508,15 @@ func ParseDeleteUsersUserIdTokensTokenIdResponse(rsp *http.Response) (*DeleteUse return response, nil } -// ParseGetUsersUserIdTokensTokenIdResponse parses an HTTP response from a GetUsersUserIdTokensTokenIdWithResponse call -func ParseGetUsersUserIdTokensTokenIdResponse(rsp *http.Response) (*GetUsersUserIdTokensTokenIdResponse, error) { +// ParseGetUserTokenResponse parses an HTTP response from a GetUserTokenWithResponse call +func ParseGetUserTokenResponse(rsp *http.Response) (*GetUserTokenResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } - response := &GetUsersUserIdTokensTokenIdResponse{ + response := &GetUserTokenResponse{ Body: bodyBytes, HTTPResponse: rsp, } diff --git a/docs/openapi.json b/docs/openapi.json index 9022493..72e28b7 100644 --- a/docs/openapi.json +++ b/docs/openapi.json @@ -2,8 +2,8 @@ "openapi": "3.0.0", "info": { "title": "Humanitec API", - "version": "0.25.0", - "description": "# Introduction\nThe *Humanitec API* allows you to automate and integrate Humanitec into your developer and operational workflows.\nThe API is a REST based API. It is based around a set of concepts:\n\n* Core\n* External Resources\n* Sets and Deltas\n\n## Authentication\nAlmost all requests made to the Humanitec API require Authentication. Humanitec provides 2 ways of authenticating with the API: `Bearer` and `JWT`.\n\n### Bearer Authentication\nThis form of authentication makes use of a **static token**. It is intended to be used when machines interact with the Humanitec API. Bearer tokens should be used for very narrow purposes. This allows for the token to be revoked if it is compromised and so limit the scope of exposure.\nNew Bearer tokens can be obtained via the UI:\n\n1. Log into Humanitec at https://app.humanitec.io\n1. Go to **Organization Settings**\n1. Select **API tokens**\n1. Enter a *name* for the new token and click on **Generate new token**\n\nThe token is passed to the API via the `Authorization` header. Assuming the issued token is `HUMANITEC_TOKEN`, the request could be made as follows:\n\n```\n curl -H 'Authorization: Bearer HUMANITEC_TOKEN' https://api.humanitec.io/orgs/my-org/apps\n```\n\n### JWT Authentication\nThis form of authentication makes use of a **JSON Web Token (JWT)**. It is intended to be used when humans interact with the Humanitec API. JWTs expire after a period of time. This means that a new JWT will need to be generated regularly. This makes them well suited to working in short sessions, but not for automation. (See Bearer Authentication.)\nThe token is passed to the API via the `Authorization` header. Assuming the issued token is `HUMANITEC_JWT`, the request could be made as follows:\n\n```\n curl -H 'Authorization: JWT HUMANITEC_JWT' https://api.humanitec.io/orgs/my-org/apps\n```\n\n## Content Types\nAll of the Humanitec API unless explicitly only accepts content types of `application/json` and will always return valid `application/json` or an empty response.\n\n## Response Codes\n### Success\nAny response code in the `2xx` range should be regarded as success.\n\n| **Code** | **Meaning** |\n| --- | --- |\n| `200` | Success |\n| `201` | Success (In future, `201` will be replaced by `200`) |\n| `204` | Success, but no content in response |\n\n_Note: We plan to simplify the interface by replacing 201 with 200 status codes._\n\n### Failure\nAny response code in the `4xx` should be regarded as an error which can be rectified by the client. `5xx` error codes indicate errors that cannot be corrected by the client.\n\n| **Code** | **Meaning** |\n| --- | --- |\n| `400` | General error. (Body will contain details) |\n| `401` | Attempt to access protected resource without `Authorization` Header. |\n| `403` | The `Bearer` or `JWT` does not grant access to the requested resource. |\n| `404` | Resource not found. |\n| `405` | Method not allowed |\n| `409` | Conflict. Usually indicated a resource with that ID already exists. |\n| `422` | Unprocessable Entity. The body was not valid JSON, was empty or contained an object different from what was expected. |\n| `429` | Too many requests - request rate limit has been reached. |\n| `500` | Internal Error. If it occurs repeatedly, contact support. |\n", + "version": "0.25.2", + "description": "# Introduction\nThe *Humanitec API* allows you to automate and integrate Humanitec into your developer and operational workflows.\nThe API is a REST based API. It is based around a set of concepts:\n\n* Core\n* External Resources\n* Sets and Deltas\n\n## Authentication\n\nAlmost all requests made to the Humanitec API require Authentication. See our [Developer Docs on API Authentication](https://developer.humanitec.com/platform-orchestrator/reference/api-references/#authentication) for instructions.\n\n## Content Types\nAll of the Humanitec API unless explicitly only accepts content types of `application/json` and will always return valid `application/json` or an empty response.\n\n## Response Codes\n### Success\nAny response code in the `2xx` range should be regarded as success.\n\n| **Code** | **Meaning** |\n| --- | --- |\n| `200` | Success |\n| `201` | Success (In future, `201` will be replaced by `200`) |\n| `204` | Success, but no content in response |\n\n_Note: We plan to simplify the interface by replacing 201 with 200 status codes._\n\n### Failure\nAny response code in the `4xx` should be regarded as an error which can be rectified by the client. `5xx` error codes indicate errors that cannot be corrected by the client.\n\n| **Code** | **Meaning** |\n| --- | --- |\n| `400` | General error. (Body will contain details) |\n| `401` | Attempt to access protected resource without `Authorization` Header. |\n| `403` | The `Bearer` or `JWT` does not grant access to the requested resource. |\n| `404` | Resource not found. |\n| `405` | Method not allowed |\n| `409` | Conflict. Usually indicated a resource with that ID already exists. |\n| `422` | Unprocessable Entity. The body was not valid JSON, was empty or contained an object different from what was expected. |\n| `429` | Too many requests - request rate limit has been reached. |\n| `500` | Internal Error. If it occurs repeatedly, contact support. |\n", "contact": { "name": "API Support", "email": "apiteam@humanitec.com" @@ -277,6 +277,7 @@ "Application" ], "summary": "List all Applications in an Organization.", + "operationId": "listApplications", "description": "Listing or lists of all Applications that exist within a specific Organization.", "parameters": [ { @@ -324,6 +325,7 @@ "Application" ], "summary": "Add a new Application to an Organization", + "operationId": "createApplication", "description": "Creates a new Application, then adds it to the specified Organization.", "parameters": [ { @@ -409,6 +411,7 @@ "Application" ], "summary": "Get an existing Application", + "operationId": "getApplication", "description": "Gets a specific Application in the specified Organization by ID.", "parameters": [ { @@ -470,6 +473,7 @@ "Application" ], "summary": "Delete an Application", + "operationId": "deleteApplication", "description": "Deleting an Application will also delete everything associated with it. This includes Environments, Deployment history on those Environments, and any shared values and secrets associated.\n\n_Deletions are currently irreversible._", "parameters": [ { @@ -525,6 +529,7 @@ "Environment" ], "summary": "List all Environments.", + "operationId": "listEnvironments", "description": "Lists all of the Environments in the Application.", "parameters": [ { @@ -571,6 +576,7 @@ "Environment" ], "summary": "Add a new Environment to an Application.", + "operationId": "createEnvironment", "description": "Creates a new Environment of the specified Type and associates it with the Application specified by `appId`.\n\nThe Environment is also initialized to the **current or past state of Deployment in another Environment**. This ensures that every Environment is derived from a previously known state. This means it is not possible to create a new Environment for an Application until at least one Deployment has occurred. (The Deployment does not have to be successful.)\n\nThe Type of the Environment must be already defined in the Organization.", "parameters": [ { @@ -662,6 +668,7 @@ "Environment" ], "summary": "Get a specific Environment.", + "operationId": "getEnvironment", "description": "Gets a specific Environment in an Application.", "parameters": [ { @@ -722,6 +729,7 @@ "Environment" ], "summary": "Delete a specific Environment.", + "operationId": "deleteEnvironment", "description": "Deletes a specific Environment in an Application.\n\nDeleting an Environment will also delete the Deployment history of the Environment.\n\n_Deletions are currently irreversible._", "parameters": [ { @@ -860,6 +868,7 @@ "Deployment" ], "summary": "Start a new Deployment.", + "operationId": "createDeployment", "description": "At Humanitec, Deployments are defined as changes to the state of the Environment. The state can be changed by defining a set of desired changes to the current state via a Deployment Delta or by resetting the current state after a previous Deployment. (See Environment Rebase.) Both types of changes can be combined into a single Deployment during which the Delta is applied to the Rebased state.\n\nWhen specifying a Delta, a Delta ID must be used. That Delta must have been committed to the Delta store prior to the Deployment.\n\nA Set ID can also be defined in the deployment to force the state of the environment to a particular state. This will be ignored if the Delta is specified.\n\n**NOTE:**\n\nDirectly setting a `set_id` in a deployment is not recommended as it will not record history of where the set came from. If the intention is to replicate an existing environment, use the environment rebasing approach described above.", "parameters": [ { @@ -1099,6 +1108,7 @@ "Environment" ], "summary": "Rebase to a different Deployment.", + "operationId": "rebaseEnvironment", "description": "Rebasing an Environment means that the next Deployment to the Environment will be based on the Deployment specified in the rebase rather than the last one in the Environment. The Deployment to rebase to can either be current or a previous Deployment. The Deployment can be from any Environment of the same Application.\n\n_Running code will only be affected on the next Deployment to the Environment._\n\nCommon use cases for rebasing an Environment:\n\n* _Rollback_: Rebasing to a previous Deployment in the current Environment and then Deploying without additional changes will execute a rollback to the previous Deployment state.\n\n* _Clone_: Rebasing to the current Deployment in a different Environment and then deploying without additional changes will clone all of the configuration of the other Environment into the current one. (NOTE: External Resources will not be cloned in the process - the current External Resources of the Environment will remain unchanged and will be used by the deployed Application in the Environment.", "parameters": [ { @@ -1174,6 +1184,7 @@ "EnvironmentType" ], "summary": "List all Environment Types", + "operationId": "listEnvironmentTypes", "description": "Lists all Environment Types in an Organization.", "parameters": [ { @@ -1208,6 +1219,7 @@ "EnvironmentType" ], "summary": "Add a new Environment Type", + "operationId": "createEnvironmentType", "description": "Adds a new Environment Type to an Organization.", "parameters": [ { @@ -1282,6 +1294,7 @@ "EnvironmentType" ], "summary": "Get an Environment Type", + "operationId": "getEnvironmentType", "description": "Gets a specific Environment Type within an Organization.", "parameters": [ { @@ -1332,6 +1345,7 @@ "EnvironmentType" ], "summary": "Deletes an Environment Type", + "operationId": "deleteEnvironmentType", "description": "Deletes a specific Environment Type from an Organization. If there are Environments with this Type in the Organization, the operation will fail.", "parameters": [ { @@ -2364,7 +2378,7 @@ ], "operationId": "listAuditLogEntries", "summary": "List audit log entries by Organization", - "description": "List all available audit log entries in the Organization that match the specified filters. This API returns entries from newest to oldest and is paginated. Only successful create, modify, or delete requests are stored in the audit log. This API may return a lot of data, depending on the size of the Organization, so it is recommended to use the \"to\" and \"from\" query parameters to limit the returned data to the time window of interest.\nThis API requires administrator permissions in the Organization.\n", + "description": "List all available audit log entries in the Organization that match the specified filters. This API returns entries from newest to oldest and is paginated. Only successful create, modify, or delete requests are stored in the audit log. This API may return a lot of data, depending on the size of the Organization, so it is recommended to use the \"to\" and \"from\" query parameters to limit the returned data to the time window of interest. Each response contains at most 32 days worth of data for performance reasons and may be empty if no records exist within that time range. Pagination links in the 'Link' header should always be followed when present.\nThis API requires administrator permissions in the Organization.\n", "parameters": [ { "$ref": "#/components/parameters/orgIdPathParam" @@ -2476,7 +2490,8 @@ "404": { "description": "Object does not exist.\n\n" } - } + }, + "operationId": "listUserRolesInApp" }, "post": { "tags": [ @@ -2547,7 +2562,8 @@ "422": { "description": "The request body was not parseable.\n\n" } - } + }, + "operationId": "createUserRoleInApp" } }, "/orgs/{orgId}/users": { @@ -2585,7 +2601,8 @@ "404": { "description": "Object does not exist.\n\n" } - } + }, + "operationId": "listUserRolesInOrg" }, "post": { "tags": [ @@ -2648,7 +2665,8 @@ "403": { "description": "Token is not valid for a user.\n\n" } - } + }, + "operationId": "createServiceUserInOrg" } }, "/orgs/{orgId}/users/{userId}": { @@ -2658,6 +2676,7 @@ "UserRole" ], "summary": "Get the role of a User on an Organization", + "operationId": "getUserRoleInOrg", "parameters": [ { "name": "orgId", @@ -2710,6 +2729,7 @@ "UserRole" ], "summary": "Remove the role of a User on an Organization", + "operationId": "deleteUserRoleInOrg", "parameters": [ { "name": "orgId", @@ -2755,6 +2775,7 @@ "UserRole" ], "summary": "Update the role of a User on an Organization", + "operationId": "updateUserRoleInOrg", "parameters": [ { "name": "orgId", @@ -5279,6 +5300,9 @@ { "$ref": "#/components/parameters/byPipelineIdQueryParam" }, + { + "$ref": "#/components/parameters/byEnvIdQueryParam" + }, { "$ref": "#/components/parameters/byStatusQueryParam" }, @@ -5419,6 +5443,9 @@ { "$ref": "#/components/parameters/pipelineIdPathParam" }, + { + "$ref": "#/components/parameters/byEnvIdQueryParam" + }, { "$ref": "#/components/parameters/byStatusQueryParam" }, @@ -6539,6 +6566,7 @@ "ActiveResource" ], "summary": "List Active Resources provisioned in an environment.", + "operationId": "listActiveResources", "parameters": [ { "name": "orgId", @@ -6602,6 +6630,7 @@ "ResourceProvision" ], "summary": "Lists the resource objects that hold the information needed to provision the resources specified in the request and the resources they depend on.", + "operationId": "queryResourceGraph", "parameters": [ { "name": "orgId", @@ -6689,6 +6718,7 @@ "ActiveResource" ], "summary": "Delete Active Resources.", + "operationId": "deleteActiveResource", "parameters": [ { "name": "orgId", @@ -6759,6 +6789,7 @@ "AccountType" ], "summary": "List Resource Account Types available to the organization.", + "operationId": "listResourceAccountTypes", "parameters": [ { "name": "orgId", @@ -6804,6 +6835,7 @@ "ResourceAccount" ], "summary": "List Resource Accounts in the organization.", + "operationId": "listResourceAccounts", "parameters": [ { "name": "orgId", @@ -6847,6 +6879,7 @@ "ResourceAccount" ], "summary": "Create a new Resource Account in the organization.", + "operationId": "createResourceAccount", "parameters": [ { "name": "orgId", @@ -6929,6 +6962,7 @@ "ResourceAccount" ], "summary": "Get a Resource Account.", + "operationId": "getResourceAccount", "parameters": [ { "name": "orgId", @@ -6988,6 +7022,7 @@ "ResourceAccount" ], "summary": "Delete an unused Resource Account.", + "operationId": "deleteResourceAccount", "parameters": [ { "name": "orgId", @@ -7050,6 +7085,7 @@ "ResourceAccount" ], "summary": "Update a Resource Account.", + "operationId": "patchResourceAccount", "parameters": [ { "name": "orgId", @@ -7131,6 +7167,7 @@ "ResourceDefinition" ], "summary": "List Resource Definitions.", + "operationId": "listResourceDefinitions", "description": "Filter criteria can be applied to obtain all the resource definitions that could match the filters, grouped by type and sorted by matching rank.", "parameters": [ { @@ -7223,6 +7260,7 @@ "ResourceDefinition" ], "summary": "Create a new Resource Definition.", + "operationId": "createResourceDefinition", "parameters": [ { "name": "orgId", @@ -7296,6 +7334,7 @@ "ResourceDefinition" ], "summary": "Get a specific Resource Definition.", + "operationId": "getResourceDefinition", "parameters": [ { "name": "orgId", @@ -7355,6 +7394,7 @@ "ResourceDefinition" ], "summary": "Update a Resource Definition.", + "operationId": "updateResourceDefinition", "parameters": [ { "name": "orgId", @@ -7435,6 +7475,7 @@ "ResourceDefinition" ], "summary": "Delete a Resource Definition.", + "operationId": "deleteResourceDefinition", "description": "If there **are no** Active Resources provisioned via the current definition, the Resource Definition is deleted immediately.\n\nIf there **are** Active Resources provisioned via the current definition, the request fails. The response will describe the changes to the affected Active Resources if operation is forced.\n\nThe request can take an optional `force` query parameter. If set to `true`, the current Resource Definition is **marked as** pending deletion and will be deleted (purged) as soon as no existing Active Resources reference it. With the next deployment matching criteria for Resources will be re-evaluated, and current Active Resources for the target environment would be either linked to another matching Resource Definition or decommissioned and created using the new or default Resource Definition (when available).\n\nThe Resource Definition that has been marked for deletion cannot be used to provision new resources.", "parameters": [ { @@ -7509,6 +7550,7 @@ "ResourceDefinition" ], "summary": "Update a Resource Definition.", + "operationId": "patchResourceDefinition", "parameters": [ { "name": "orgId", @@ -7592,6 +7634,7 @@ "MatchingCriteria" ], "summary": "Update all Matching Criteria of a Resource Definition.", + "operationId": "updateResourceDefinitionCriteria", "description": "Matching Criteria are combined with Resource Type to select a specific definition. Matching Criteria can be set for any combination of Application ID, Environment ID, Environment Type, and Resource ID. In the event of multiple matches, the most specific match is chosen.\n\nFor example, given 3 sets of matching criteria for the same type:\n\n```\n 1. {\"env_type\":\"test\"}\n 2. {\"env_type\":\"development\"}\n 3. {\"env_type\":\"test\", \"app_id\":\"my-app\"}\n```\n\nIf, a resource of that type was needed in an Application `my-app`, Environment `qa-team` with Type `test` and Resource ID `modules.my-module-externals.my-resource`, there would be two resource definitions matching the criteria: #1 & #3. Definition #3 will be chosen because its matching criteria is the most specific.", "parameters": [ { @@ -7695,6 +7738,7 @@ "MatchingCriteria" ], "summary": "Add a new Matching Criteria to a Resource Definition.", + "operationId": "createResourceDefinitionCriteria", "description": "Matching Criteria are combined with Resource Type to select a specific definition. Matching Criteria can be set for any combination of Application ID, Environment ID, Environment Type, and Resource ID. In the event of multiple matches, the most specific match is chosen.\n\nFor example, given 3 sets of matching criteria for the same type:\n\n```\n 1. {\"env_type\":\"test\"}\n 2. {\"env_type\":\"development\"}\n 3. {\"env_type\":\"test\", \"app_id\":\"my-app\"}\n```\n\nIf, a resource of that type was needed in an Application `my-app`, Environment `qa-team` with Type `test` and Resource ID `modules.my-module-externals.my-resource`, there would be two resource definitions matching the criteria: #1 & #3. Definition #3 will be chosen because its matching criteria is the most specific.", "parameters": [ { @@ -7792,6 +7836,7 @@ "MatchingCriteria" ], "summary": "Delete a Matching Criteria from a Resource Definition.", + "operationId": "deleteResourceDefinitionCriteria", "description": "If there **are no** Active Resources that would match to a different Resource Definition when the current Matching Criteria is deleted, the Matching Criteria is deleted immediately.\n\nIf there **are** Active Resources that would match to a different Resource Definition, the request fails with HTTP status code 409 (Conflict). The response content will list all of affected Active Resources and their new matches.\n\nThe request can take an optional `force` query parameter. If set to `true`, the Matching Criteria is deleted immediately. Referenced Active Resources would match to a different Resource Definition during the next deployment in the target environment.", "parameters": [ { @@ -7878,6 +7923,7 @@ "ActiveResource" ], "summary": "List Active Resources provisioned via a specific Resource Definition.", + "operationId": "listActiveResourceByDefinition", "parameters": [ { "name": "orgId", @@ -7932,6 +7978,7 @@ "DriverDefinition" ], "summary": "List Resource Drivers.", + "operationId": "listResourceDrivers", "parameters": [ { "name": "orgId", @@ -7975,6 +8022,7 @@ "DriverDefinition" ], "summary": "Register a new Resource Driver.", + "operationId": "createResourceDriver", "parameters": [ { "name": "orgId", @@ -8048,6 +8096,7 @@ "DriverDefinition" ], "summary": "Get a Resource Driver.", + "operationId": "getResourceDriver", "description": "# Only drivers that belongs to the given organization or registered as `public` are accessible through this endpoint", "parameters": [ { @@ -8108,6 +8157,7 @@ "DriverDefinition" ], "summary": "Update a Resource Driver.", + "operationId": "updateResourceDriver", "parameters": [ { "name": "orgId", @@ -8187,6 +8237,7 @@ "DriverDefinition" ], "summary": "Delete a Resources Driver.", + "operationId": "deleteResourceDriver", "parameters": [ { "name": "orgId", @@ -8231,6 +8282,7 @@ "ResourceType" ], "summary": "List Resource Types.", + "operationId": "listResourceTypes", "parameters": [ { "name": "orgId", @@ -8294,7 +8346,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RuntimeInfoResponse" + "$ref": "#/components/schemas/RuntimeInfoResponseV1" + } + }, + "application/v2+json": { + "schema": { + "$ref": "#/components/schemas/RuntimeInfoResponseV2" } } } @@ -8744,6 +8801,7 @@ "UserProfile" ], "summary": "Gets the extended profile of the current user", + "operationId": "getCurrentUser", "responses": { "200": { "description": "The extended user profile of the user.\n\n", @@ -8769,6 +8827,7 @@ "UserProfile" ], "summary": "Updates the extended profile of the current user.", + "operationId": "updateCurrentUser", "requestBody": { "required": true, "content": { @@ -8816,6 +8875,7 @@ "UserRole" ], "summary": "Get the role of a User on an Application", + "operationId": "getUserRoleInApp", "parameters": [ { "name": "orgId", @@ -8877,6 +8937,7 @@ "UserRole" ], "summary": "Remove the role of a User on an Application", + "operationId": "deleteUserRoleInApp", "parameters": [ { "name": "orgId", @@ -8931,6 +8992,7 @@ "UserRole" ], "summary": "Update the role of a User on an Application", + "operationId": "updateUserRoleInApp", "parameters": [ { "name": "orgId", @@ -9005,6 +9067,7 @@ "UserRole" ], "summary": "Adds a User to an Environment Type with a Role", + "operationId": "createUserRoleInEnvType", "parameters": [ { "name": "orgId", @@ -9074,6 +9137,7 @@ "UserRole" ], "summary": "Get the role of a User on an Environment Type", + "operationId": "getUserRoleInEnvType", "parameters": [ { "name": "orgId", @@ -9135,6 +9199,7 @@ "UserRole" ], "summary": "Remove the role of a User on an Environment Type", + "operationId": "deleteUserRoleInEnvType", "parameters": [ { "name": "orgId", @@ -9189,6 +9254,7 @@ "UserRole" ], "summary": "Update the role of a User on an Environment Type", + "operationId": "updateUserRoleInEnvType", "parameters": [ { "name": "orgId", @@ -9263,6 +9329,7 @@ "UserInvite" ], "summary": "List the invites issued for the organization.", + "operationId": "listInvitesInOrg", "parameters": [ { "name": "orgId", @@ -9296,6 +9363,7 @@ "UserRole" ], "summary": "Invites a user to an Organization with a specified role.", + "operationId": "createInviteInOrg", "parameters": [ { "name": "orgId", @@ -9359,6 +9427,7 @@ "UserProfile" ], "summary": "DEPRECATED", + "operationId": "listTokens", "responses": { "200": { "description": "The token structure.\n\n", @@ -9381,6 +9450,7 @@ "UserProfile" ], "summary": "DEPRECATED", + "operationId": "deleteToken", "parameters": [ { "name": "tokenId", @@ -9406,6 +9476,7 @@ "TokenInfo" ], "summary": "Lists tokens associated with a user", + "operationId": "listUserTokens", "parameters": [ { "name": "userId", @@ -9442,6 +9513,7 @@ "TokenInfo" ], "summary": "Creates a new static token for a user.", + "operationId": "createUserToken", "description": "This is only supported for users of type `service`.", "parameters": [ { @@ -9502,6 +9574,7 @@ "TokenInfo" ], "summary": "Gets a specific token associated with a user", + "operationId": "getUserToken", "parameters": [ { "name": "userId", @@ -9547,6 +9620,7 @@ "TokenInfo" ], "summary": "Deletes a specific token associated with a user", + "operationId": "deleteUserToken", "description": "This endpoint deletes a user's session token. The deleted token can no longer be used to access the API. All other tokens for this user can still be used.", "parameters": [ { @@ -11722,6 +11796,16 @@ } } }, + "byEnvIdQueryParam": { + "name": "env", + "description": "An optional Environment ID", + "in": "query", + "required": false, + "schema": { + "example": "development", + "type": "string" + } + }, "byPipelineIdQueryParam": { "name": "pipeline", "description": "An optional list of Pipeline IDs.", @@ -11979,6 +12063,16 @@ } } } + }, + "401Unauthorized": { + "description": "Request lacks valid authentication credentials.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HumanitecErrorResponse" + } + } + } } }, "schemas": { @@ -12558,59 +12652,6 @@ ], "type": "object" }, - "EnvironmentRequest": { - "description": "Environments are independent spaces where Applications can run. An Application is always deployed into an Environment.", - "example": { - "created_at": "2020-05-22T14:58:07Z", - "created_by": "a.user@example.com", - "from_deploy": { - "comment": "Updated version of module-one to v0.3.1", - "created_at": "2020-05-22T14:58:07Z", - "created_by": "a.user@example.com", - "delta_id": "df1ad41807b0390a9b0eaf8688e1f5baece9d764", - "env_id": "my-env", - "from_id": "42d4b302fd3c", - "id": "67f1619a57d", - "status": "in progress", - "status_changed_at": "2020-05-22T14:59:01Z" - }, - "id": "feature-test", - "last_deploy": { - "comment": "Updated version of module-one to v0.3.1", - "created_at": "2020-05-22T14:58:07Z", - "created_by": "a.user@example.com", - "delta_id": "df1ad41807b0390a9b0eaf8688e1f5baece9d764", - "env_id": "my-env", - "from_id": "42d4b302fd3c", - "id": "67f1619a57d", - "status": "in progress", - "status_changed_at": "2020-05-22T14:59:01Z" - }, - "name": "Feature Test", - "type": "development" - }, - "properties": { - "id": { - "description": "The ID the Environment is referenced as.", - "pattern": "^[a-z0-9](?:-?[a-z0-9]+)+$", - "type": "string" - }, - "name": { - "description": "The Human-friendly name for the Environment.", - "type": "string" - }, - "type": { - "description": "The Environment Type. This is used for organizing and managing Environments.", - "type": "string" - } - }, - "required": [ - "id", - "name", - "type" - ], - "type": "object" - }, "EnvironmentResponse": { "description": "Environments are independent spaces where Applications can run. An Application is always deployed into an Environment.", "example": { @@ -13954,7 +13995,7 @@ "type": "object" }, "ModuleRequest": { - "description": "Module represents a collection of workload controllers (deployments/statefulsets/etc) for the module", + "description": "Module single workload data", "properties": { "deploy": { "$ref": "#/components/schemas/DeployConditionRequest" @@ -13974,10 +14015,7 @@ } }, "type": "object", - "nullable": true, - "additionalProperties": { - "$ref": "#/components/schemas/ControllerRequest" - } + "nullable": true }, "ModuleResponse": { "description": "Module represents a collection of workload controllers (deployments/statefulsets/etc) for the module", @@ -14750,12 +14788,14 @@ "etag", "org_id", "app_id", + "env_ids", "pipeline_id", "pipeline_version", "status", "status_message", "created_at", "timeout_seconds", + "trigger", "inputs", "run_as", "waiting_for" @@ -14781,6 +14821,16 @@ "example": "sample-app", "type": "string" }, + "env_ids": { + "description": "Environments linked to this Pipeline Run through input parameters or step executions.", + "example": [ + "development" + ], + "type": "array", + "items": { + "type": "string" + } + }, "pipeline_id": { "description": "The id of the Pipeline associated with the Run.", "example": "sample-pipeline", @@ -14830,6 +14880,11 @@ "example": 3600, "type": "integer" }, + "trigger": { + "description": "The trigger type that was triggered this Run to start.", + "example": "pipeline_call", + "type": "string" + }, "inputs": { "description": "The inputs that were provided for this Run.", "example": { @@ -14898,15 +14953,17 @@ } }, "PipelineRunCreateByDeploymentRequestCriteriaBody": { - "description": "Trigger the pipeline that has a deployment_request trigger and criteria that match this target environment. If \"delta_id\" or \"set_id\" is provided, the matching criteria must support deployment type \"deploy\". If \"deployment_id\" is provided, the matching criteria must support deployment type \"re-deploy\".\nWhen \"delta_id\" is provided, the inputs to the Pipeline Run will be \"environment\", \"comment\", \"delta_id\" and \"value_set_version_id\" if provided. When \"deployment_id\" is provided, the inputs to the Pipeline Run will be \"environment\", \"comment\", \"deployment_id\", with \"set_id\", \"value_set_version_id\" being retrieved from the deployment itself. When \"set_id\" is provided, the inputs to the Pipeline Run will be \"environment\", \"comment\", \"set_id\", and \"value_set_version_id\" if provided.\n", - "required": [ - "environment" - ], + "description": "Trigger the pipeline that has a deployment_request trigger and criteria that match this target environment. If \"delta_id\" or \"set_id\" is provided, the matching criteria must support deployment type \"deploy\". If \"deployment_id\" is provided, the matching criteria must support deployment type \"re-deploy\".\nWhen \"delta_id\" is provided, the inputs to the Pipeline Run will be \"env_id\", \"comment\", \"delta_id\" and \"value_set_version_id\" if provided. When \"deployment_id\" is provided, the inputs to the Pipeline Run will be \"env_id\", \"comment\", \"deployment_id\", with \"set_id\", \"value_set_version_id\" being retrieved from the deployment itself. When \"set_id\" is provided, the inputs to the Pipeline Run will be \"env_id\", \"comment\", \"set_id\", and \"value_set_version_id\" if provided.\n", "properties": { - "environment": { + "env_id": { "description": "The target environment within the Application to deploy to.", "type": "string" }, + "environment": { + "description": "The target environment within the Application to deploy to.", + "type": "string", + "deprecated": true + }, "delta_id": { "description": "A deployment delta to apply to the target environment. This delta must already exist. This field is mutually exclusive with \"deployment_id\" and \"set_id\".", "type": "string" @@ -14930,7 +14987,7 @@ }, "example": { "trigger": "deployment_request", - "environment": "development", + "env_id": "development", "delta_id": "0123456789abcdef0123456789abcdef01234567", "comment": "My deployment" } @@ -15557,7 +15614,11 @@ "type": "string" } }, - "type": "object" + "type": "object", + "required": [ + "type", + "name" + ] }, "AccountTypeResponse": { "description": "Resource Account Types define cloud providers or protocols to which a resource account can belong.", @@ -15625,6 +15686,10 @@ "description": "The deployment that the resource was last provisioned in.", "type": "string" }, + "driver_account": { + "description": "(Optional) Security account required by the driver.", + "type": "string" + }, "driver_type": { "description": "The driver to be used to create the resource.", "type": "string" @@ -15670,12 +15735,27 @@ "updated_at": { "description": "The time the resource was last provisioned as part of a deployment.", "example": "2020-06-22T09:37:23.523Z", - "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$", - "title": "Simplified extended ISO format date/time string.", - "type": "string" + "type": "string", + "format": "date-time" } }, - "type": "object" + "type": "object", + "required": [ + "org_id", + "app_id", + "env_id", + "env_type", + "res_id", + "def_id", + "type", + "driver_type", + "class", + "status", + "resource", + "updated_at", + "deploy_id", + "gu_res_id" + ] }, "ActiveResourceResponse": { "description": "Active Resources represent the concrete resources provisioned for an Environment. They are provisioned on the first deployment after a dependency on a particular resource type is introduced into an Environment. In general, Active Resources are only deleted when their introductory Environment is deleted.\n\nActive Resources are provisioned based on a Resource Definition. The Resource Definition describes how to provision a concrete resource based on a Resource Type and metadata about the Environment (for example the Environment Type or the Application ID). The criteria for how to choose a Resource Definition is known as a Matching Criteria. If the Matching Criteria changes or the Resource Definition is deleted, the concrete resource represented by an Active Resource might be deleted and reprovisioned when a deployment occurs in the Environment.", @@ -15721,6 +15801,10 @@ "description": "The deployment that the resource was last provisioned in.", "type": "string" }, + "driver_account": { + "description": "(Optional) Security account required by the driver.", + "type": "string" + }, "driver_type": { "description": "The driver to be used to create the resource.", "type": "string" @@ -15766,9 +15850,8 @@ "updated_at": { "description": "The time the resource was last provisioned as part of a deployment.", "example": "2020-06-22T09:37:23.523Z", - "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$", - "title": "Simplified extended ISO format date/time string.", - "type": "string" + "type": "string", + "format": "date-time" } }, "required": [ @@ -15779,6 +15862,7 @@ "res_id", "def_id", "type", + "driver_type", "class", "status", "resource", @@ -15831,9 +15915,14 @@ "type": { "description": "The type of resource produced by this driver", "type": "string" + }, + "is_public": { + "type": "boolean", + "deprecated": true } }, "required": [ + "id", "type", "target", "inputs_schema", @@ -15871,7 +15960,13 @@ "type": "string" } }, - "type": "object" + "type": "object", + "required": [ + "id", + "type", + "name", + "credentials" + ] }, "CreateResourceDefinitionRequestRequest": { "description": "CreateResourceDefinitionRequest describes a new ResourceDefinition request.", @@ -15904,7 +15999,7 @@ "criteria": { "description": "(Optional) The criteria to use when looking for a Resource Definition during the deployment.", "items": { - "$ref": "#/components/schemas/MatchingCriteriaRequest" + "$ref": "#/components/schemas/MatchingCriteriaRuleRequest" }, "type": "array" }, @@ -15950,56 +16045,6 @@ ], "type": "object" }, - "DriverDefinitionRequest": { - "description": "DriverDefinition describes the resource driver.\n\nResource Drivers are code that fulfils the Humanitec Resource Driver Interface. This interface allows for certain actions to be performed on resources such as creation and destruction. Humanitec provides numerous Resource Drivers “out of the box”. It is also possible to use 3rd party Resource Drivers or write your own.", - "example": { - "account_types": [ - "gcp", - "aws" - ], - "id": "route53", - "inputs_schema": {}, - "is_public": false, - "org_id": "test-org", - "target": "https://drivers.example.com/route53/", - "template": "", - "type": "dns" - }, - "properties": { - "account_types": { - "description": "List of resources accounts types supported by the driver", - "items": { - "type": "string" - }, - "type": "array" - }, - "id": { - "description": "The ID for this driver. Is used as `driver_type`.", - "type": "string" - }, - "inputs_schema": { - "additionalProperties": true, - "description": "A JSON Schema specifying the driver-specific input parameters.", - "type": "object" - }, - "org_id": { - "description": "The Organization this driver exists under. Useful as public drivers are accessible to other orgs.", - "type": "string" - }, - "target": { - "description": "The prefix where the driver resides or, if the driver is a virtual driver, the reference to an existing driver using the `driver://` schema of the format `driver://{orgId}/{driverId}`. Only members of the organization the driver belongs to can see `target`.", - "type": "string" - }, - "template": { - "description": "If the driver is a virtual driver, template defines a Go template that converts the driver inputs supplied in the resource definition into the driver inputs for the target driver." - }, - "type": { - "description": "The type of resource produced by this driver", - "type": "string" - } - }, - "type": "object" - }, "DriverDefinitionResponse": { "description": "DriverDefinition describes the resource driver.\n\nResource Drivers are code that fulfils the Humanitec Resource Driver Interface. This interface allows for certain actions to be performed on resources such as creation and destruction. Humanitec provides numerous Resource Drivers “out of the box”. It is also possible to use 3rd party Resource Drivers or write your own.", "example": { @@ -16057,19 +16102,6 @@ ], "type": "object" }, - "ManifestRequest": { - "description": "Manifest represents a complete or a partial Kubernetes manifest, and a location for its injection.", - "properties": { - "data": { - "description": "Manifest data to inject." - }, - "location": { - "description": "Location to inject the Manifest at.", - "type": "string" - } - }, - "type": "object" - }, "ManifestResponse": { "description": "Manifest represents a complete or a partial Kubernetes manifest, and a location for its injection.", "properties": { @@ -16087,36 +16119,6 @@ ], "type": "object" }, - "MatchingCriteriaRequest": { - "description": "Matching Criteria are a set of rules used to choose which Resource Definition to use to provision a particular Resource Type.\n\nMatching criteria are made up in order of specificity with least specific first:\n\n- Environment Type (`env_type`)\n\n- Application (`app_id`)\n\n- Environment (`env_id`)\n\n- Resource (`res_id`)\n\nWhen selecting matching criteria, the most specific one is selected. In general, this means of all the Matching Criteria fully matching the context, the Matching Criteria Rule with the most specific element filled is chosen. If there is a tie, the next most specific elements are compared and so on until one is chosen.\n\n**NOTE:**\n\nHumanitec will reject the registration of matching criteria rules that duplicate rules already present for a Resource Type.", - "properties": { - "app_id": { - "description": "(Optional) The ID of the Application that the Resources should belong to.", - "type": "string" - }, - "class": { - "description": "(Optional) The class of the Resource in the Deployment Set. Can not be empty, if is not defined, set to `default`.", - "type": "string" - }, - "env_id": { - "description": "(Optional) The ID of the Environment that the Resources should belong to. If `env_type` is also set, it must match the Type of the Environment for the Criteria to match.", - "type": "string" - }, - "env_type": { - "description": "(Optional) The Type of the Environment that the Resources should belong to. If `env_id` is also set, it must have an Environment Type that matches this parameter for the Criteria to match.", - "type": "string" - }, - "id": { - "description": "Matching Criteria ID", - "type": "string" - }, - "res_id": { - "description": "(Optional) The ID of the Resource in the Deployment Set. The ID is normally a `.` separated path to the definition in the set, e.g. `modules.my-module.externals.my-database`.", - "type": "string" - } - }, - "type": "object" - }, "MatchingCriteriaResponse": { "description": "Matching Criteria are a set of rules used to choose which Resource Definition to use to provision a particular Resource Type.\n\nMatching criteria are made up in order of specificity with least specific first:\n\n- Environment Type (`env_type`)\n\n- Application (`app_id`)\n\n- Environment (`env_id`)\n\n- Resource (`res_id`)\n\nWhen selecting matching criteria, the most specific one is selected. In general, this means of all the Matching Criteria fully matching the context, the Matching Criteria Rule with the most specific element filled is chosen. If there is a tie, the next most specific elements are compared and so on until one is chosen.\n\n**NOTE:**\n\nHumanitec will reject the registration of matching criteria rules that duplicate rules already present for a Resource Type.", "properties": { @@ -16226,6 +16228,9 @@ "additionalProperties": true, "type": "object" }, + "driver_account": { + "type": "string" + }, "driver_type": { "type": "string" }, @@ -16350,49 +16355,7 @@ ], "type": "object" }, - "ResourceAccountRequest": { - "description": "ResourceAccount represents the account being used to access a resource.\n\nResource Accounts hold credentials that are required to provision and manage resources.", - "example": { - "created_at": "2020-05-22T14:58:07Z", - "created_by": "test-user", - "id": "gcp-dev-postgres", - "is_default": false, - "is_used": true, - "name": "GCP Dev Postgres", - "type": "gcp" - }, - "properties": { - "created_at": { - "description": "The timestamp of when the account was created.", - "example": "2020-06-22T09:37:23.523Z", - "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$", - "title": "Simplified extended ISO format date/time string.", - "type": "string" - }, - "created_by": { - "description": "The ID of the user who created the account.", - "type": "string" - }, - "id": { - "description": "Unique identifier for the account (in scope of the organization it belongs to).", - "type": "string" - }, - "is_used": { - "description": "Indicates if this account is being used (referenced) by any resource definition.", - "type": "boolean" - }, - "name": { - "description": "Display name.", - "type": "string" - }, - "type": { - "description": "The type of the account", - "type": "string" - } - }, - "type": "object" - }, - "ResourceAccountResponse": { + "ResourceAccountResponse": { "description": "ResourceAccount represents the account being used to access a resource.\n\nResource Accounts hold credentials that are required to provision and manage resources.", "example": { "created_at": "2020-05-22T14:58:07Z", @@ -16475,115 +16438,6 @@ ], "type": "object" }, - "ResourceDefinitionRequest": { - "description": "A Resource Definitions describes how and when a resource should be provisioned. It links a driver (the how) along with a Matching Criteria (the when) to a Resource Type. This allows Humanitec to invoke a particular driver for the required Resource Type in the context of a particular Application and Environment.\n\nThe schema for the `driver_inputs` is defined by the `input_schema` property on the DriverDefinition identified by the `driver_type` property.", - "example": { - "created_at": "2020-05-23T12:32:16Z", - "created_by": "a.user@example.com", - "criteria": [ - { - "env_type": "development", - "id": "123456" - } - ], - "driver_account": "gcp-dev-cloudsql", - "driver_inputs": { - "secret_refs": { - "credentials": { - "password": { - "value": "" - }, - "user": { - "ref": "vault/path/to/data/secrets/user", - "store": "my-external-vault", - "version": "1" - } - } - }, - "values": { - "instance": "my-dev-project:my-region:dev-db" - } - }, - "driver_type": "humanitec/postgres-cloudsql", - "id": "dev-postgres", - "is_default": false, - "is_deleted": false, - "name": "Dev Postgres Instance", - "org_id": "test-org", - "provision": { - "aws-policy": { - "is_dependent": false, - "match_dependents": false - }, - "dns#my-dns": {} - }, - "type": "postgres" - }, - "properties": { - "created_at": { - "description": "The timestamp of when this record has been created.", - "example": "2020-06-22T09:37:23.523Z", - "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$", - "title": "Simplified extended ISO format date/time string.", - "type": "string" - }, - "created_by": { - "description": "The user who created this record.", - "type": "string" - }, - "criteria": { - "description": "(Optional) The criteria to use when looking for a Resource Definition during the deployment.", - "items": { - "$ref": "#/components/schemas/MatchingCriteriaRequest" - }, - "type": "array" - }, - "driver_account": { - "description": "(Optional) Security account required by the driver.", - "type": "string" - }, - "driver_inputs": { - "$ref": "#/components/schemas/ValuesSecretsRefsRequest", - "description": "(Optional) Additional input data to be passed to the driver." - }, - "driver_type": { - "description": "The driver to be used to create the resource.", - "type": "string" - }, - "id": { - "description": "The Resource Definition ID.", - "type": "string" - }, - "is_default": { - "description": "Indicates this definition is a built-in one (provided by Humanitec).", - "type": "boolean" - }, - "is_deleted": { - "description": "Indicates if this record has been marked for deletion. The Resource Definition that has been marked for deletion cannot be used to provision new resources.", - "type": "boolean" - }, - "name": { - "description": "The display name.", - "type": "string" - }, - "org_id": { - "description": "The Organization ID.", - "type": "string" - }, - "provision": { - "additionalProperties": { - "$ref": "#/components/schemas/ProvisionDependenciesRequest" - }, - "description": "(Optional) A map where the keys are resType#resId (if resId is omitted, the same id of the current resource definition is used) of the resources that should be provisioned when the current resource is provisioned. This also specifies if the resources have a dependency on the current resource.", - "type": "object" - }, - "type": { - "description": "The Resource Type.", - "type": "string" - } - }, - "type": "object" - }, "ResourceDefinitionResponse": { "description": "A Resource Definitions describes how and when a resource should be provisioned. It links a driver (the how) along with a Matching Criteria (the when) to a Resource Type. This allows Humanitec to invoke a particular driver for the required Resource Type in the context of a particular Application and Environment.\n\nThe schema for the `driver_inputs` is defined by the `input_schema` property on the DriverDefinition identified by the `driver_type` property.", "example": { @@ -16632,9 +16486,9 @@ "created_at": { "description": "The timestamp of when this record has been created.", "example": "2020-06-22T09:37:23.523Z", - "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$", "title": "Simplified extended ISO format date/time string.", - "type": "string" + "type": "string", + "format": "date-time" }, "created_by": { "description": "The user who created this record.", @@ -16695,7 +16549,12 @@ "org_id", "id", "name", - "type" + "type", + "created_at", + "created_by", + "is_default", + "is_deleted", + "driver_type" ], "type": "object" }, @@ -16971,6 +16830,10 @@ "type": { "description": "The type of resource produced by this driver", "type": "string" + }, + "is_public": { + "type": "boolean", + "deprecated": true } }, "required": [ @@ -17146,33 +17009,6 @@ }, "type": "object" }, - "ControllerRequest": { - "description": "Controller represents deployment, stateful set etc", - "properties": { - "kind": { - "type": "string" - }, - "message": { - "type": "string" - }, - "pods": { - "items": { - "$ref": "#/components/schemas/PodStateRequest" - }, - "type": "array" - }, - "replicas": { - "type": "integer" - }, - "revision": { - "type": "integer" - }, - "status": { - "type": "string" - } - }, - "type": "object" - }, "ControllerResponse": { "description": "Controller represents deployment, stateful set etc", "properties": { @@ -17230,31 +17066,6 @@ ], "type": "object" }, - "PodStateRequest": { - "description": "PodState represents single pod status", - "properties": { - "containerStatuses": { - "items": { - "additionalProperties": true, - "type": "object" - }, - "type": "array" - }, - "phase": { - "type": "string" - }, - "podName": { - "type": "string" - }, - "revision": { - "type": "integer" - }, - "status": { - "type": "string" - } - }, - "type": "object" - }, "PodStateResponse": { "description": "PodState represents single pod status", "properties": { @@ -17287,12 +17098,12 @@ ], "type": "object" }, - "RuntimeInfoRequest": { + "RuntimeInfoResponseV1": { "description": "RuntimeInfo object returned by the runtime endpoint. Represents a list post statuses grouped by modules and controllers (deployments and stateful sets).", "properties": { "modules": { "additionalProperties": { - "$ref": "#/components/schemas/ModuleRequest" + "$ref": "#/components/schemas/ModuleResponse" }, "type": "object" }, @@ -17300,19 +17111,25 @@ "type": "string" } }, + "required": [ + "namespace", + "modules" + ], "type": "object" }, - "RuntimeInfoResponse": { + "RuntimeInfoResponseV2": { "description": "RuntimeInfo object returned by the runtime endpoint. Represents a list post statuses grouped by modules and controllers (deployments and stateful sets).", "properties": { "modules": { + "description": "Modules represent a collection of workloads for the application.", "additionalProperties": { - "$ref": "#/components/schemas/ModuleResponse" + "$ref": "#/components/schemas/RuntimeInfoModule" }, "type": "object" }, "namespace": { - "type": "string" + "type": "string", + "description": "The namespace where the application runs." } }, "required": [ @@ -17321,6 +17138,251 @@ ], "type": "object" }, + "RuntimeInfoStatus": { + "type": "string", + "description": "Workload status.", + "enum": [ + "Running", + "Succeeded", + "Starting", + "Partially Succeeded", + "Failed", + "Stopped", + "Unknown" + ] + }, + "RuntimeInfoStatusClass": { + "type": "string", + "description": "Status class, statuses are aggregated into classes", + "enum": [ + "Success", + "Failure", + "Warning", + "Stopped", + "Unknown" + ] + }, + "RuntimeInfoModule": { + "description": "Module represents a collection of workload controllers (deployments/statefulsets/etc) for the module.", + "type": "object", + "properties": { + "status": { + "$ref": "#/components/schemas/RuntimeInfoStatus" + }, + "status_class": { + "$ref": "#/components/schemas/RuntimeInfoStatusClass" + }, + "controllers": { + "description": "A collection of workload controllers.", + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/RuntimeInfoModuleController" + } + } + }, + "required": [ + "status", + "status_class", + "controllers" + ] + }, + "RuntimeInfoModuleController": { + "description": "K8s controller.", + "type": "object", + "properties": { + "kind": { + "type": "string", + "description": "Controller kind." + }, + "replicas": { + "type": "integer", + "description": "The most recently observed number of replicas." + }, + "status": { + "$ref": "#/components/schemas/RuntimeInfoStatus" + }, + "message": { + "type": "string", + "description": "If a controller is not in a successful status, the reason from its condition." + }, + "pods": { + "description": "List of pods which belong to the controller.", + "type": "array", + "items": { + "$ref": "#/components/schemas/RuntimeInfoPod" + } + }, + "revision": { + "type": "integer", + "description": "Revision of the controller." + } + }, + "required": [ + "kind", + "status" + ] + }, + "RuntimeInfoPod": { + "description": "k8s pod.", + "type": "object", + "properties": { + "podName": { + "type": "string", + "description": "Pod name." + }, + "revision": { + "type": "integer", + "description": "Revision of the pod." + }, + "phase": { + "description": "A simple, high-level summary of where the Pod is in its lifecycle.", + "type": "string", + "enum": [ + "Pending", + "Running", + "Succeeded", + "Failed", + "Unknown" + ] + }, + "status": { + "type": "string", + "enum": [ + "Failure", + "Success", + "Pending", + "Unknown" + ] + }, + "containerStatuses": { + "description": "The list has one entry per container in the manifest.", + "type": "array", + "items": { + "$ref": "#/components/schemas/RuntimeInfoContainerStatus" + } + } + }, + "required": [ + "podName", + "phase", + "status", + "containerStatuses" + ] + }, + "RuntimeInfoContainerStatus": { + "description": "Container status.", + "type": "object", + "properties": { + "name": { + "description": "Container name.", + "type": "string" + }, + "ready": { + "description": "If a container is ready to start accept traffic.", + "type": "boolean" + }, + "restart_count": { + "description": "The number of times the container has been restarted.", + "type": "integer" + }, + "status": { + "description": "Container status derived from its state and readiness.", + "type": "string", + "enum": [ + "Failure", + "Success", + "Pending", + "Unknown" + ] + }, + "state": { + "$ref": "#/components/schemas/RuntimeInfoContainerState" + } + }, + "required": [ + "name", + "ready", + "restartCount", + "status", + "state" + ] + }, + "RuntimeInfoContainerState": { + "description": "Details about the container's current condition.", + "type": "object", + "properties": { + "waiting": { + "$ref": "#/components/schemas/RuntimeInfoControllerStateWaiting" + }, + "running": { + "$ref": "#/components/schemas/RuntimeInfoContainerStateRunning" + }, + "terminated": { + "$ref": "#/components/schemas/RuntimeInfoContainerStateTerminated" + } + } + }, + "RuntimeInfoControllerStateWaiting": { + "description": "Details about a waiting container", + "type": "object", + "properties": { + "reason": { + "description": "Reason the container is not yet running.", + "type": "string" + }, + "message": { + "description": "Message regarding why the container is not yet running.", + "type": "string" + } + } + }, + "RuntimeInfoContainerStateRunning": { + "description": "Details about a running container.", + "type": "object", + "properties": { + "started_at": { + "description": "Time at which the container was last (re-)started.", + "type": "string", + "format": "date-time" + } + } + }, + "RuntimeInfoContainerStateTerminated": { + "description": "Details about a terminated container.", + "type": "object", + "properties": { + "exit_code": { + "description": "Exit status from the last termination of the container.", + "type": "integer" + }, + "signal": { + "description": "Signal from the last termination of the container.", + "type": "integer" + }, + "reason": { + "description": "Reason from the last termination of the container.", + "type": "string" + }, + "message": { + "description": "Message regarding the last termination of the container.", + "type": "string" + }, + "started_at": { + "description": "Time at which previous execution of the container started.", + "type": "string", + "format": "date-time" + }, + "finished_at": { + "description": "Time at which the container last terminated.", + "type": "string", + "format": "date-time" + }, + "container_id": { + "description": "Container's ID in the format '://'.", + "type": "string" + } + } + }, "AWSAuthRequest": { "description": "Credentials to authenticate AWS Secret Manager.", "properties": { @@ -17738,44 +17800,6 @@ ], "type": "object" }, - "TokenInfoRequest": { - "description": "Holds metadata about a token. `expires_at` is excluded if token does not expire.", - "example": { - "created_at": "2021-04-30T19:47:01Z", - "description": "Humanitec API Calls from CircleCI Pipelines", - "expires_at": "2022-04-30T19:47:01Z", - "id": "circle-ci-token", - "type": "static", - "user_id": "a7a04740ae985f12af58545e4edbac6a" - }, - "properties": { - "created_at": { - "example": "2020-06-22T09:37:23.523Z", - "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$", - "title": "Simplified extended ISO format date/time string.", - "type": "string" - }, - "created_by": { - "type": "string" - }, - "description": { - "type": "string" - }, - "expires_at": { - "example": "2020-06-22T09:37:23.523Z", - "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$", - "title": "Simplified extended ISO format date/time string.", - "type": "string" - }, - "id": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "type": "object" - }, "TokenInfoResponse": { "description": "Holds metadata about a token. `expires_at` is excluded if token does not expire.", "example": { @@ -17955,6 +17979,12 @@ }, "type": "object" }, + "RolesResponse": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, "UserProfileExtendedResponse": { "description": "UserProfileExtended holds the profile information of a user including properties only accessible to the user.", "example": { @@ -17991,10 +18021,7 @@ "type": "object" }, "roles": { - "additionalProperties": { - "type": "string" - }, - "type": "object" + "$ref": "#/components/schemas/RolesResponse" }, "type": { "description": "The type of the account. Could be user, service or system", @@ -18011,42 +18038,6 @@ ], "type": "object" }, - "UserProfileRequest": { - "description": "UserProfile holds the profile information of a user", - "example": { - "created_at": "2020-12-19T09:32:46Z", - "email": "jo.trigg@awesomecorp.com", - "id": "d510224a-4641-48fd-8054-68efd3537ee2", - "name": "Jo Trigg", - "type": "user" - }, - "properties": { - "created_at": { - "description": "The time the user was first registered with Humanitec", - "example": "2020-06-22T09:37:23.523Z", - "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{3})?Z$", - "title": "Simplified extended ISO format date/time string.", - "type": "string" - }, - "email": { - "description": "The email address of the user from the profile", - "type": "string" - }, - "id": { - "description": "The User ID for this user", - "type": "string" - }, - "name": { - "description": "The name the user goes by", - "type": "string" - }, - "type": { - "description": "The type of the account. Could be user, service or system", - "type": "string" - } - }, - "type": "object" - }, "UserProfileResponse": { "description": "UserProfile holds the profile information of a user", "example": { @@ -18881,7 +18872,7 @@ { "name": "MatchingCriteria", "x-displayName": "MatchingCriteria", - "description": "Matching Criteria are a set of rules used to choose which Resource Definition to use to provision a particular Resource Type.\n\nMatching criteria are made up in order of specificity with least specific first:\n\n- Environment Type (`env_type`)\n\n- Application (`app_id`)\n\n- Environment (`env_id`)\n\n- Resource (`res_id`)\n\nWhen selecting matching criteria, the most specific one is selected. In general, this means of all the Matching Criteria fully matching the context, the Matching Criteria Rule with the most specific element filled is chosen. If there is a tie, the next most specific elements are compared and so on until one is chosen.\n\n**NOTE:**\n\nHumanitec will reject the registration of matching criteria rules that duplicate rules already present for a Resource Type.\n\n" + "description": "Matching Criteria are a set of rules used to choose which Resource Definition to use to provision a particular Resource Type.\n\nMatching criteria are made up in order of specificity with least specific first:\n\n- Environment Type (`env_type`)\n\n- Application (`app_id`)\n\n- Environment (`env_id`)\n\n- Resource (`res_id`)\n\nWhen selecting matching criteria, the most specific one is selected. In general, this means of all the Matching Criteria fully matching the context, the Matching Criteria Rule with the most specific element filled is chosen. If there is a tie, the next most specific elements are compared and so on until one is chosen.\n\n**NOTE:**\n\nHumanitec will reject the registration of matching criteria rules that duplicate rules already present for a Resource Type.\n\n" }, { "name": "Organization", @@ -18906,7 +18897,7 @@ { "name": "ResourceDefinition", "x-displayName": "Definitions", - "description": "A Resource Definitions describes how and when a resource should be provisioned. It links a driver (the how) along with a Matching Criteria (the when) to a Resource Type. This allows Humanitec to invoke a particular driver for the required Resource Type in the context of a particular Application and Environment.\n\nThe schema for the `driver_inputs` is defined by the `input_schema` property on the DriverDefinition identified by the `driver_type` property.\n\n" + "description": "A Resource Definitions describes how and when a resource should be provisioned. It links a driver (the how) along with a Matching Criteria (the when) to a Resource Type. This allows Humanitec to invoke a particular driver for the required Resource Type in the context of a particular Application and Environment.\n\nThe schema for the `driver_inputs` is defined by the `input_schema` property on the DriverDefinition identified by the `driver_type` property.\n\n" }, { "name": "ResourceProvision", @@ -18916,12 +18907,12 @@ { "name": "TokenInfo", "x-displayName": "Token Info", - "description": "Holds metadata about a token. `expires_at` is excluded if token does not expire.\n\n" + "description": "Holds metadata about a token. `expires_at` is excluded if token does not expire.\n\n" }, { "name": "UserProfile", "x-displayName": "User Profiles", - "description": "UserProfile holds the profile information of a user\n\n" + "description": "UserProfile holds the profile information of a user\n\n" }, { "name": "UserRole", @@ -18986,12 +18977,12 @@ { "name": "DriverDefinition", "x-displayName": "Resource Drivers", - "description": "DriverDefinition describes the resource driver.\n\nResource Drivers are code that fulfils the Humanitec Resource Driver Interface. This interface allows for certain actions to be performed on resources such as creation and destruction. Humanitec provides numerous Resource Drivers “out of the box”. It is also possible to use 3rd party Resource Drivers or write your own.\n\n" + "description": "DriverDefinition describes the resource driver.\n\nResource Drivers are code that fulfils the Humanitec Resource Driver Interface. This interface allows for certain actions to be performed on resources such as creation and destruction. Humanitec provides numerous Resource Drivers “out of the box”. It is also possible to use 3rd party Resource Drivers or write your own.\n\n" }, { "name": "Environment", "x-displayName": "Environments", - "description": "Environments are independent spaces where Applications can run. An Application is always deployed into an Environment.\n\n" + "description": "Environments are independent spaces where Applications can run. An Application is always deployed into an Environment.\n\n" }, { "name": "EnvironmentType", @@ -19021,7 +19012,7 @@ { "name": "ResourceAccount", "x-displayName": "Resource Accounts", - "description": "ResourceAccount represents the account being used to access a resource.\n\nResource Accounts hold credentials that are required to provision and manage resources.\n\n" + "description": "ResourceAccount represents the account being used to access a resource.\n\nResource Accounts hold credentials that are required to provision and manage resources.\n\n" }, { "name": "ResourceType", @@ -19031,7 +19022,7 @@ { "name": "RuntimeInfo", "x-displayName": "Runtime Information", - "description": "RuntimeInfo object returned by the runtime endpoint. Represents a list post statuses grouped by modules and controllers (deployments and stateful sets).\n\n" + "description": "RuntimeInfo object returned by the runtime endpoint. Represents a list post statuses grouped by modules and controllers (deployments and stateful sets).\n\n" }, { "name": "SecretStore", From c8fca8476726b4bc1f5d6371f1f0ace6a2d6775a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20W=C3=BCrbach?= Date: Thu, 25 Jan 2024 14:45:09 +0100 Subject: [PATCH 2/2] chore: fix test after method rename --- api_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api_test.go b/api_test.go index 6a1f220..0d0b285 100644 --- a/api_test.go +++ b/api_test.go @@ -66,7 +66,7 @@ func TestNewHumanitecClientWrite(t *testing.T) { assert.NoError(err) name := "changed" - _, err = humSvc.PatchCurrentUser(ctx, client.PatchCurrentUserJSONRequestBody{ + _, err = humSvc.UpdateCurrentUser(ctx, client.UpdateCurrentUserJSONRequestBody{ Name: &name, }) assert.NoError(err)