From 5ba8d48fa480ea50aa186764dfad36d7710f7566 Mon Sep 17 00:00:00 2001 From: Mirko Teodorovic Date: Fri, 29 Nov 2024 08:13:54 +0100 Subject: [PATCH] feat: [CDS-104611]: Add prefixed agent identifer to delete, update, create, add tests (#611) Signed-off-by: Mirko Co-authored-by: Mirko --- harness/nextgen/docs/V1Agent.md | 1 + harness/nextgen/model_v1_agent.go | 2 ++ 2 files changed, 3 insertions(+) diff --git a/harness/nextgen/docs/V1Agent.md b/harness/nextgen/docs/V1Agent.md index 3e9fd35e..c1aed290 100644 --- a/harness/nextgen/docs/V1Agent.md +++ b/harness/nextgen/docs/V1Agent.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **UpgradeAvailable** | **bool** | | [optional] [default to null] **Scope** | [***V1AgentScope**](v1AgentScope.md) | | [optional] [default to null] **Operator** | [***V1AgentOperator**](v1AgentOperator.md) | | [optional] [default to null] +**PrefixedIdentifier** | **string** | The scoped identifier of the agent. This is a combination of the account, org, project, and agent identifiers. | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/harness/nextgen/model_v1_agent.go b/harness/nextgen/model_v1_agent.go index 81f36384..49de486d 100644 --- a/harness/nextgen/model_v1_agent.go +++ b/harness/nextgen/model_v1_agent.go @@ -30,4 +30,6 @@ type V1Agent struct { UpgradeAvailable bool `json:"upgradeAvailable,omitempty"` Scope *V1AgentScope `json:"scope,omitempty"` Operator *V1AgentOperator `json:"operator,omitempty"` + // The scoped identifier of the agent. This is a combination of the account, org, project, and agent identifiers. + PrefixedIdentifier string `json:"prefixedIdentifier,omitempty"` }