Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
tests: verify OIDC issuer tokens against the org's JWKS
Claudeab87a86737e0
diff --git a/tests/clients/api/api.gen.go b/tests/clients/api/api.gen.goindex 6e56c67b73..71d8f94602 100644--- a/tests/clients/api/api.gen.go+++ b/tests/clients/api/api.gen.go@@ -6930,6 +6930,942 @@ func (e UpdateAwsAppConnection500JSONResponseBodyStatusCode) Valid() bool {}}+// Defines values for CreateAzureKeyVaultAppConnectionJSONBodyIsPlatformManagedCredentials.+const (+ CreateAzureKeyVaultAppConnectionJSONBodyIsPlatformManagedCredentialsFalse CreateAzureKeyVaultAppConnectionJSONBodyIsPlatformManagedCredentials = false+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnectionJSONBodyIsPlatformManagedCredentials enum.+func (e CreateAzureKeyVaultAppConnectionJSONBodyIsPlatformManagedCredentials) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnectionJSONBodyIsPlatformManagedCredentialsFalse:+ return true+ default:+ return false+ }+}++// Defines values for CreateAzureKeyVaultAppConnectionJSONBody0Method.+const (+ CreateAzureKeyVaultAppConnectionJSONBody0MethodOauth CreateAzureKeyVaultAppConnectionJSONBody0Method = "oauth"+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnectionJSONBody0Method enum.+func (e CreateAzureKeyVaultAppConnectionJSONBody0Method) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnectionJSONBody0MethodOauth:+ return true+ default:+ return false+ }+}++// Defines values for CreateAzureKeyVaultAppConnectionJSONBody1Method.+const (+ CreateAzureKeyVaultAppConnectionJSONBody1MethodClientSecret CreateAzureKeyVaultAppConnectionJSONBody1Method = "client-secret"+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnectionJSONBody1Method enum.+func (e CreateAzureKeyVaultAppConnectionJSONBody1Method) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnectionJSONBody1MethodClientSecret:+ return true+ default:+ return false+ }+}++// Defines values for CreateAzureKeyVaultAppConnectionJSONBody2Method.+const (+ CreateAzureKeyVaultAppConnectionJSONBody2MethodCertificate CreateAzureKeyVaultAppConnectionJSONBody2Method = "certificate"+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnectionJSONBody2Method enum.+func (e CreateAzureKeyVaultAppConnectionJSONBody2Method) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnectionJSONBody2MethodCertificate:+ return true+ default:+ return false+ }+}++// Defines values for CreateAzureKeyVaultAppConnectionJSONBody3Method.+const (+ CreateAzureKeyVaultAppConnectionJSONBody3MethodManagedIdentity CreateAzureKeyVaultAppConnectionJSONBody3Method = "managed-identity"+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnectionJSONBody3Method enum.+func (e CreateAzureKeyVaultAppConnectionJSONBody3Method) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnectionJSONBody3MethodManagedIdentity:+ return true+ default:+ return false+ }+}++// Defines values for CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0App.+const (+ CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0AppAzureKeyVault CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0App = "azure-key-vault"+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0App enum.+func (e CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0App) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0AppAzureKeyVault:+ return true+ default:+ return false+ }+}++// Defines values for CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0Method.+const (+ CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0MethodOauth CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0Method = "oauth"+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0Method enum.+func (e CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0Method) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0MethodOauth:+ return true+ default:+ return false+ }+}++// Defines values for CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus.+const (+ CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatusFailed CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus = "failed"+ CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatusSuccess CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus = "success"+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus enum.+func (e CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatusFailed:+ return true+ case CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatusSuccess:+ return true+ default:+ return false+ }+}++// Defines values for CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1App.+const (+ CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1AppAzureKeyVault CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1App = "azure-key-vault"+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1App enum.+func (e CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1App) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1AppAzureKeyVault:+ return true+ default:+ return false+ }+}++// Defines values for CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1Method.+const (+ CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1MethodClientSecret CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1Method = "client-secret"+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1Method enum.+func (e CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1Method) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1MethodClientSecret:+ return true+ default:+ return false+ }+}++// Defines values for CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus.+const (+ CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatusFailed CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus = "failed"+ CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatusSuccess CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus = "success"+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus enum.+func (e CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatusFailed:+ return true+ case CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatusSuccess:+ return true+ default:+ return false+ }+}++// Defines values for CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2App.+const (+ CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2AppAzureKeyVault CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2App = "azure-key-vault"+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2App enum.+func (e CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2App) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2AppAzureKeyVault:+ return true+ default:+ return false+ }+}++// Defines values for CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2Method.+const (+ CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2MethodCertificate CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2Method = "certificate"+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2Method enum.+func (e CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2Method) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2MethodCertificate:+ return true+ default:+ return false+ }+}++// Defines values for CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus.+const (+ CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatusFailed CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus = "failed"+ CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatusSuccess CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus = "success"+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus enum.+func (e CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatusFailed:+ return true+ case CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatusSuccess:+ return true+ default:+ return false+ }+}++// Defines values for CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3App.+const (+ CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3AppAzureKeyVault CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3App = "azure-key-vault"+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3App enum.+func (e CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3App) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3AppAzureKeyVault:+ return true+ default:+ return false+ }+}++// Defines values for CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3Method.+const (+ CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3MethodManagedIdentity CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3Method = "managed-identity"+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3Method enum.+func (e CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3Method) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3MethodManagedIdentity:+ return true+ default:+ return false+ }+}++// Defines values for CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus.+const (+ CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatusFailed CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus = "failed"+ CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatusSuccess CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus = "success"+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus enum.+func (e CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatusFailed:+ return true+ case CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatusSuccess:+ return true+ default:+ return false+ }+}++// Defines values for CreateAzureKeyVaultAppConnection400JSONResponseBodyStatusCode.+const (+ CreateAzureKeyVaultAppConnection400JSONResponseBodyStatusCodeN400 CreateAzureKeyVaultAppConnection400JSONResponseBodyStatusCode = 400+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnection400JSONResponseBodyStatusCode enum.+func (e CreateAzureKeyVaultAppConnection400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnection400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }+}++// Defines values for CreateAzureKeyVaultAppConnection401JSONResponseBodyStatusCode.+const (+ CreateAzureKeyVaultAppConnection401JSONResponseBodyStatusCodeN401 CreateAzureKeyVaultAppConnection401JSONResponseBodyStatusCode = 401+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnection401JSONResponseBodyStatusCode enum.+func (e CreateAzureKeyVaultAppConnection401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnection401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}++// Defines values for CreateAzureKeyVaultAppConnection403JSONResponseBodyStatusCode.+const (+ CreateAzureKeyVaultAppConnection403JSONResponseBodyStatusCodeN403 CreateAzureKeyVaultAppConnection403JSONResponseBodyStatusCode = 403+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnection403JSONResponseBodyStatusCode enum.+func (e CreateAzureKeyVaultAppConnection403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnection403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}++// Defines values for CreateAzureKeyVaultAppConnection404JSONResponseBodyStatusCode.+const (+ CreateAzureKeyVaultAppConnection404JSONResponseBodyStatusCodeN404 CreateAzureKeyVaultAppConnection404JSONResponseBodyStatusCode = 404+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnection404JSONResponseBodyStatusCode enum.+func (e CreateAzureKeyVaultAppConnection404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnection404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}++// Defines values for CreateAzureKeyVaultAppConnection422JSONResponseBodyStatusCode.+const (+ CreateAzureKeyVaultAppConnection422JSONResponseBodyStatusCodeN422 CreateAzureKeyVaultAppConnection422JSONResponseBodyStatusCode = 422+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnection422JSONResponseBodyStatusCode enum.+func (e CreateAzureKeyVaultAppConnection422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnection422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }+}++// Defines values for CreateAzureKeyVaultAppConnection500JSONResponseBodyStatusCode.+const (+ CreateAzureKeyVaultAppConnection500JSONResponseBodyStatusCodeN500 CreateAzureKeyVaultAppConnection500JSONResponseBodyStatusCode = 500+)++// Valid indicates whether the value is a known member of the CreateAzureKeyVaultAppConnection500JSONResponseBodyStatusCode enum.+func (e CreateAzureKeyVaultAppConnection500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateAzureKeyVaultAppConnection500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}++// Defines values for DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0App.+const (+ DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0AppAzureKeyVault DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0App = "azure-key-vault"+)++// Valid indicates whether the value is a known member of the DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0App enum.+func (e DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0App) Valid() bool {+ switch e {+ case DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0AppAzureKeyVault:+ return true+ default:+ return false+ }+}++// Defines values for DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0Method.+const (+ DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0MethodOauth DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0Method = "oauth"+)++// Valid indicates whether the value is a known member of the DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0Method enum.+func (e DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0Method) Valid() bool {+ switch e {+ case DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0MethodOauth:+ return true+ default:+ return false+ }+}++// Defines values for DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus.+const (+ DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatusFailed DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus = "failed"+ DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatusSuccess DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus = "success"+)++// Valid indicates whether the value is a known member of the DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus enum.+func (e DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus) Valid() bool {+ switch e {+ case DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatusFailed:+ return true+ case DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatusSuccess:+ return true+ default:+ return false+ }+}++// Defines values for DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1App.+const (+ DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1AppAzureKeyVault DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1App = "azure-key-vault"+)++// Valid indicates whether the value is a known member of the DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1App enum.+func (e DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1App) Valid() bool {+ switch e {+ case DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1AppAzureKeyVault:+ return true+ default:+ return false+ }+}++// Defines values for DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1Method.+const (+ DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1MethodClientSecret DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1Method = "client-secret"+)++// Valid indicates whether the value is a known member of the DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1Method enum.+func (e DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1Method) Valid() bool {+ switch e {+ case DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1MethodClientSecret:+ return true+ default:+ return false+ }+}++// Defines values for DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus.+const (+ DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatusFailed DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus = "failed"+ DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatusSuccess DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus = "success"+)++// Valid indicates whether the value is a known member of the DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus enum.+func (e DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus) Valid() bool {+ switch e {+ case DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatusFailed:+ return true+ case DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatusSuccess:+ return true+ default:+ return false+ }+}++// Defines values for DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2App.+const (+ DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2AppAzureKeyVault DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2App = "azure-key-vault"+)++// Valid indicates whether the value is a known member of the DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2App enum.+func (e DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2App) Valid() bool {+ switch e {+ case DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2AppAzureKeyVault:+ return true+ default:+ return false+ }+}++// Defines values for DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2Method.+const (+ DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2MethodCertificate DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2Method = "certificate"+)++// Valid indicates whether the value is a known member of the DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2Method enum.+func (e DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2Method) Valid() bool {+ switch e {+ case DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2MethodCertificate:+ return true+ default:+ return false+ }+}++// Defines values for DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus.+const (+ DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatusFailed DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus = "failed"+ DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatusSuccess DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus = "success"+)++// Valid indicates whether the value is a known member of the DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus enum.+func (e DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus) Valid() bool {+ switch e {+ case DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatusFailed:+ return true+ case DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatusSuccess:+ return true+ default:+ return false+ }+}++// Defines values for DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3App.+const (+ DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3AppAzureKeyVault DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3App = "azure-key-vault"+)++// Valid indicates whether the value is a known member of the DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3App enum.+func (e DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3App) Valid() bool {+ switch e {+ case DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3AppAzureKeyVault:+ return true+ default:+ return false+ }+}++// Defines values for DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3Method.+const (+ DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3MethodManagedIdentity DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3Method = "managed-identity"+)++// Valid indicates whether the value is a known member of the DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3Method enum.+func (e DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3Method) Valid() bool {+ switch e {+ case DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3MethodManagedIdentity:+ return true+ default:+ return false+ }+}++// Defines values for DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus.+const (+ DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatusFailed DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus = "failed"+ DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatusSuccess DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus = "success"+)++// Valid indicates whether the value is a known member of the DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus enum.+func (e DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus) Valid() bool {+ switch e {+ case DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatusFailed:+ return true+ case DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatusSuccess:+ return true+ default:+ return false+ }+}++// Defines values for DeleteAzureKeyVaultAppConnection400JSONResponseBodyStatusCode.+const (+ DeleteAzureKeyVaultAppConnection400JSONResponseBodyStatusCodeN400 DeleteAzureKeyVaultAppConnection400JSONResponseBodyStatusCode = 400+)++// Valid indicates whether the value is a known member of the DeleteAzureKeyVaultAppConnection400JSONResponseBodyStatusCode enum.+func (e DeleteAzureKeyVaultAppConnection400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteAzureKeyVaultAppConnection400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }+}++// Defines values for DeleteAzureKeyVaultAppConnection401JSONResponseBodyStatusCode.+const (+ DeleteAzureKeyVaultAppConnection401JSONResponseBodyStatusCodeN401 DeleteAzureKeyVaultAppConnection401JSONResponseBodyStatusCode = 401+)++// Valid indicates whether the value is a known member of the DeleteAzureKeyVaultAppConnection401JSONResponseBodyStatusCode enum.+func (e DeleteAzureKeyVaultAppConnection401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteAzureKeyVaultAppConnection401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}++// Defines values for DeleteAzureKeyVaultAppConnection403JSONResponseBodyStatusCode.+const (+ DeleteAzureKeyVaultAppConnection403JSONResponseBodyStatusCodeN403 DeleteAzureKeyVaultAppConnection403JSONResponseBodyStatusCode = 403+)++// Valid indicates whether the value is a known member of the DeleteAzureKeyVaultAppConnection403JSONResponseBodyStatusCode enum.+func (e DeleteAzureKeyVaultAppConnection403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteAzureKeyVaultAppConnection403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}++// Defines values for DeleteAzureKeyVaultAppConnection404JSONResponseBodyStatusCode.+const (+ DeleteAzureKeyVaultAppConnection404JSONResponseBodyStatusCodeN404 DeleteAzureKeyVaultAppConnection404JSONResponseBodyStatusCode = 404+)++// Valid indicates whether the value is a known member of the DeleteAzureKeyVaultAppConnection404JSONResponseBodyStatusCode enum.+func (e DeleteAzureKeyVaultAppConnection404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteAzureKeyVaultAppConnection404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}++// Defines values for DeleteAzureKeyVaultAppConnection422JSONResponseBodyStatusCode.+const (+ DeleteAzureKeyVaultAppConnection422JSONResponseBodyStatusCodeN422 DeleteAzureKeyVaultAppConnection422JSONResponseBodyStatusCode = 422+)++// Valid indicates whether the value is a known member of the DeleteAzureKeyVaultAppConnection422JSONResponseBodyStatusCode enum.+func (e DeleteAzureKeyVaultAppConnection422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteAzureKeyVaultAppConnection422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }+}++// Defines values for DeleteAzureKeyVaultAppConnection500JSONResponseBodyStatusCode.+const (+ DeleteAzureKeyVaultAppConnection500JSONResponseBodyStatusCodeN500 DeleteAzureKeyVaultAppConnection500JSONResponseBodyStatusCode = 500+)++// Valid indicates whether the value is a known member of the DeleteAzureKeyVaultAppConnection500JSONResponseBodyStatusCode enum.+func (e DeleteAzureKeyVaultAppConnection500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteAzureKeyVaultAppConnection500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}++// Defines values for UpdateAzureKeyVaultAppConnectionJSONBodyIsPlatformManagedCredentials.+const (+ UpdateAzureKeyVaultAppConnectionJSONBodyIsPlatformManagedCredentialsFalse UpdateAzureKeyVaultAppConnectionJSONBodyIsPlatformManagedCredentials = false+)++// Valid indicates whether the value is a known member of the UpdateAzureKeyVaultAppConnectionJSONBodyIsPlatformManagedCredentials enum.+func (e UpdateAzureKeyVaultAppConnectionJSONBodyIsPlatformManagedCredentials) Valid() bool {+ switch e {+ case UpdateAzureKeyVaultAppConnectionJSONBodyIsPlatformManagedCredentialsFalse:+ return true+ default:+ return false+ }+}++// Defines values for UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0App.+const (+ UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0AppAzureKeyVault UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0App = "azure-key-vault"+)++// Valid indicates whether the value is a known member of the UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0App enum.+func (e UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0App) Valid() bool {+ switch e {+ case UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0AppAzureKeyVault:+ return true+ default:+ return false+ }+}++// Defines values for UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0Method.+const (+ UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0MethodOauth UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0Method = "oauth"+)++// Valid indicates whether the value is a known member of the UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0Method enum.+func (e UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0Method) Valid() bool {+ switch e {+ case UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0MethodOauth:+ return true+ default:+ return false+ }+}++// Defines values for UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus.+const (+ UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatusFailed UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus = "failed"+ UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatusSuccess UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus = "success"+)++// Valid indicates whether the value is a known member of the UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus enum.+func (e UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus) Valid() bool {+ switch e {+ case UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatusFailed:+ return true+ case UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatusSuccess:+ return true+ default:+ return false+ }+}++// Defines values for UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1App.+const (+ UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1AppAzureKeyVault UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1App = "azure-key-vault"+)++// Valid indicates whether the value is a known member of the UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1App enum.+func (e UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1App) Valid() bool {+ switch e {+ case UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1AppAzureKeyVault:+ return true+ default:+ return false+ }+}++// Defines values for UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1Method.+const (+ UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1MethodClientSecret UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1Method = "client-secret"+)++// Valid indicates whether the value is a known member of the UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1Method enum.+func (e UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1Method) Valid() bool {+ switch e {+ case UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1MethodClientSecret:+ return true+ default:+ return false+ }+}++// Defines values for UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus.+const (+ UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatusFailed UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus = "failed"+ UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatusSuccess UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus = "success"+)++// Valid indicates whether the value is a known member of the UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus enum.+func (e UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus) Valid() bool {+ switch e {+ case UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatusFailed:+ return true+ case UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatusSuccess:+ return true+ default:+ return false+ }+}++// Defines values for UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2App.+const (+ UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2AppAzureKeyVault UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2App = "azure-key-vault"+)++// Valid indicates whether the value is a known member of the UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2App enum.+func (e UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2App) Valid() bool {+ switch e {+ case UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2AppAzureKeyVault:+ return true+ default:+ return false+ }+}++// Defines values for UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2Method.+const (+ UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2MethodCertificate UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2Method = "certificate"+)++// Valid indicates whether the value is a known member of the UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2Method enum.+func (e UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2Method) Valid() bool {+ switch e {+ case UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2MethodCertificate:+ return true+ default:+ return false+ }+}++// Defines values for UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus.+const (+ UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatusFailed UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus = "failed"+ UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatusSuccess UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus = "success"+)++// Valid indicates whether the value is a known member of the UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus enum.+func (e UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus) Valid() bool {+ switch e {+ case UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatusFailed:+ return true+ case UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatusSuccess:+ return true+ default:+ return false+ }+}++// Defines values for UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3App.+const (+ UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3AppAzureKeyVault UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3App = "azure-key-vault"+)++// Valid indicates whether the value is a known member of the UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3App enum.+func (e UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3App) Valid() bool {+ switch e {+ case UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3AppAzureKeyVault:+ return true+ default:+ return false+ }+}++// Defines values for UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3Method.+const (+ UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3MethodManagedIdentity UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3Method = "managed-identity"+)++// Valid indicates whether the value is a known member of the UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3Method enum.+func (e UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3Method) Valid() bool {+ switch e {+ case UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3MethodManagedIdentity:+ return true+ default:+ return false+ }+}++// Defines values for UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus.+const (+ UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatusFailed UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus = "failed"+ UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatusSuccess UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus = "success"+)++// Valid indicates whether the value is a known member of the UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus enum.+func (e UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus) Valid() bool {+ switch e {+ case UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatusFailed:+ return true+ case UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatusSuccess:+ return true+ default:+ return false+ }+}++// Defines values for UpdateAzureKeyVaultAppConnection400JSONResponseBodyStatusCode.+const (+ UpdateAzureKeyVaultAppConnection400JSONResponseBodyStatusCodeN400 UpdateAzureKeyVaultAppConnection400JSONResponseBodyStatusCode = 400+)++// Valid indicates whether the value is a known member of the UpdateAzureKeyVaultAppConnection400JSONResponseBodyStatusCode enum.+func (e UpdateAzureKeyVaultAppConnection400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateAzureKeyVaultAppConnection400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }+}++// Defines values for UpdateAzureKeyVaultAppConnection401JSONResponseBodyStatusCode.+const (+ UpdateAzureKeyVaultAppConnection401JSONResponseBodyStatusCodeN401 UpdateAzureKeyVaultAppConnection401JSONResponseBodyStatusCode = 401+)++// Valid indicates whether the value is a known member of the UpdateAzureKeyVaultAppConnection401JSONResponseBodyStatusCode enum.+func (e UpdateAzureKeyVaultAppConnection401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateAzureKeyVaultAppConnection401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}++// Defines values for UpdateAzureKeyVaultAppConnection403JSONResponseBodyStatusCode.+const (+ UpdateAzureKeyVaultAppConnection403JSONResponseBodyStatusCodeN403 UpdateAzureKeyVaultAppConnection403JSONResponseBodyStatusCode = 403+)++// Valid indicates whether the value is a known member of the UpdateAzureKeyVaultAppConnection403JSONResponseBodyStatusCode enum.+func (e UpdateAzureKeyVaultAppConnection403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateAzureKeyVaultAppConnection403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}++// Defines values for UpdateAzureKeyVaultAppConnection404JSONResponseBodyStatusCode.+const (+ UpdateAzureKeyVaultAppConnection404JSONResponseBodyStatusCodeN404 UpdateAzureKeyVaultAppConnection404JSONResponseBodyStatusCode = 404+)++// Valid indicates whether the value is a known member of the UpdateAzureKeyVaultAppConnection404JSONResponseBodyStatusCode enum.+func (e UpdateAzureKeyVaultAppConnection404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateAzureKeyVaultAppConnection404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}++// Defines values for UpdateAzureKeyVaultAppConnection422JSONResponseBodyStatusCode.+const (+ UpdateAzureKeyVaultAppConnection422JSONResponseBodyStatusCodeN422 UpdateAzureKeyVaultAppConnection422JSONResponseBodyStatusCode = 422+)++// Valid indicates whether the value is a known member of the UpdateAzureKeyVaultAppConnection422JSONResponseBodyStatusCode enum.+func (e UpdateAzureKeyVaultAppConnection422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateAzureKeyVaultAppConnection422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }+}++// Defines values for UpdateAzureKeyVaultAppConnection500JSONResponseBodyStatusCode.+const (+ UpdateAzureKeyVaultAppConnection500JSONResponseBodyStatusCodeN500 UpdateAzureKeyVaultAppConnection500JSONResponseBodyStatusCode = 500+)++// Valid indicates whether the value is a known member of the UpdateAzureKeyVaultAppConnection500JSONResponseBodyStatusCode enum.+func (e UpdateAzureKeyVaultAppConnection500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateAzureKeyVaultAppConnection500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}+// Defines values for ListGitHubAppConnections200JSONResponseBodyAppConnections0App.const (ListGitHubAppConnections200JSONResponseBodyAppConnections0AppGithub ListGitHubAppConnections200JSONResponseBodyAppConnections0App = "github"@@ -89952,6 +90888,1021 @@ type UpdateAwsAppConnection422JSONResponseBodyStatusCode float32// UpdateAwsAppConnection500JSONResponseBodyStatusCode defines parameters for UpdateAwsAppConnection.type UpdateAwsAppConnection500JSONResponseBodyStatusCode float32+// CreateAzureKeyVaultAppConnectionJSONBody defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnectionJSONBody struct {+ // Description An optional description for the Azure Key Vault Connection.+ Description *string `json:"description,omitempty"`++ // GatewayId The Gateway ID to use for this connection.+ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`++ // GatewayPoolId The Gateway Pool ID to use for this connection.+ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`++ // IsAutoRotationEnabled Whether or not automatic credential rotation is enabled for the Azure Key Vault Connection.+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`++ // IsPlatformManagedCredentials Not supported for Azure Key Vault Connections.+ IsPlatformManagedCredentials *CreateAzureKeyVaultAppConnectionJSONBodyIsPlatformManagedCredentials `json:"isPlatformManagedCredentials,omitempty"`++ // Name The name of the Azure Key Vault Connection to create. Must be slug-friendly.+ Name string `json:"name"`++ // ProjectId The ID of the project to create the Azure Key Vault Connection in.+ ProjectId *string `json:"projectId,omitempty"`++ // Rotation The credential rotation configuration for the Azure Key Vault Connection.+ Rotation *struct {+ RotateAtUtc struct {+ // Hours The hour (0-23) at which to rotate (UTC timezone).+ Hours int `json:"hours"`++ // Minutes The minute (0-59) at which to rotate (UTC timezone).+ Minutes int `json:"minutes"`+ } `json:"rotateAtUtc"`++ // RotationInterval The interval in days between credential rotations.+ RotationInterval int `json:"rotationInterval"`+ } `json:"rotation,omitempty"`+ union json.RawMessage+}++// CreateAzureKeyVaultAppConnectionJSONBodyIsPlatformManagedCredentials defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnectionJSONBodyIsPlatformManagedCredentials bool++// CreateAzureKeyVaultAppConnectionJSONBody0 defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnectionJSONBody0 struct {+ // Credentials The credentials used to connect with Azure Key Vault.+ Credentials struct {+ Code string `json:"code"`+ TenantId *string `json:"tenantId,omitempty"`+ } `json:"credentials"`++ // Method The method used to authenticate with Azure Key Vault.+ Method CreateAzureKeyVaultAppConnectionJSONBody0Method `json:"method"`+}++// CreateAzureKeyVaultAppConnectionJSONBody0Method defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnectionJSONBody0Method string++// CreateAzureKeyVaultAppConnectionJSONBody1 defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnectionJSONBody1 struct {+ // Credentials The credentials used to connect with Azure Key Vault.+ Credentials struct {+ ClientId openapi_types.UUID `json:"clientId"`+ ClientSecret string `json:"clientSecret"`++ // ClientSecretKeyId The Key ID of the client secret in Azure AD. Required when enabling credential rotation so the original secret can be revoked.+ ClientSecretKeyId *openapi_types.UUID `json:"clientSecretKeyId,omitempty"`+ TenantId openapi_types.UUID `json:"tenantId"`+ } `json:"credentials"`++ // Method The method used to authenticate with Azure Key Vault.+ Method CreateAzureKeyVaultAppConnectionJSONBody1Method `json:"method"`+}++// CreateAzureKeyVaultAppConnectionJSONBody1Method defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnectionJSONBody1Method string++// CreateAzureKeyVaultAppConnectionJSONBody2 defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnectionJSONBody2 struct {+ // Credentials The credentials used to connect with Azure Key Vault.+ Credentials struct {+ CertificateBody string `json:"certificateBody"`+ ClientId openapi_types.UUID `json:"clientId"`+ PrivateKey string `json:"privateKey"`+ TenantId openapi_types.UUID `json:"tenantId"`+ } `json:"credentials"`++ // Method The method used to authenticate with Azure Key Vault.+ Method CreateAzureKeyVaultAppConnectionJSONBody2Method `json:"method"`+}++// CreateAzureKeyVaultAppConnectionJSONBody2Method defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnectionJSONBody2Method string++// CreateAzureKeyVaultAppConnectionJSONBody3 defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnectionJSONBody3 struct {+ // Credentials The credentials used to connect with Azure Key Vault.+ Credentials struct {+ ClientId openapi_types.UUID `json:"clientId"`+ TenantId openapi_types.UUID `json:"tenantId"`+ } `json:"credentials"`++ // Method The method used to authenticate with Azure Key Vault.+ Method CreateAzureKeyVaultAppConnectionJSONBody3Method `json:"method"`+}++// CreateAzureKeyVaultAppConnectionJSONBody3Method defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnectionJSONBody3Method string++// CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0 defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0 struct {+ App CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials struct {+ TenantId *string `json:"tenantId,omitempty"`+ } `json:"credentials"`+ CredentialsHash *string `json:"credentialsHash,omitempty"`+ Description *string `json:"description,omitempty"`+ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`+ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`+ IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`+ Method CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0Method `json:"method"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ } `json:"project,omitempty"`+ ProjectId *string `json:"projectId,omitempty"`++ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`++ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`++ // RotateAtUtc The UTC time of day at which rotation should occur.+ RotateAtUtc struct {+ // Hours The hour (0-23) at which to rotate.+ Hours float32 `json:"hours"`++ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`++ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`++ // RotationStatus The status of the last rotation attempt.+ RotationStatus CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+}++// CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0App defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0App string++// CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0Method defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0Method string++// CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus string++// CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1 defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1 struct {+ App CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials struct {+ ClientId string `json:"clientId"`+ TenantId string `json:"tenantId"`+ } `json:"credentials"`+ CredentialsHash *string `json:"credentialsHash,omitempty"`+ Description *string `json:"description,omitempty"`+ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`+ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`+ IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`+ Method CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1Method `json:"method"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ } `json:"project,omitempty"`+ ProjectId *string `json:"projectId,omitempty"`++ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`++ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`++ // RotateAtUtc The UTC time of day at which rotation should occur.+ RotateAtUtc struct {+ // Hours The hour (0-23) at which to rotate.+ Hours float32 `json:"hours"`++ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`++ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`++ // RotationStatus The status of the last rotation attempt.+ RotationStatus CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+}++// CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1App defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1App string++// CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1Method defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1Method string++// CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus string++// CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2 defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2 struct {+ App CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials struct {+ ClientId string `json:"clientId"`+ TenantId string `json:"tenantId"`+ } `json:"credentials"`+ CredentialsHash *string `json:"credentialsHash,omitempty"`+ Description *string `json:"description,omitempty"`+ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`+ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`+ IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`+ Method CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2Method `json:"method"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ } `json:"project,omitempty"`+ ProjectId *string `json:"projectId,omitempty"`++ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`++ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`++ // RotateAtUtc The UTC time of day at which rotation should occur.+ RotateAtUtc struct {+ // Hours The hour (0-23) at which to rotate.+ Hours float32 `json:"hours"`++ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`++ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`++ // RotationStatus The status of the last rotation attempt.+ RotationStatus CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+}++// CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2App defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2App string++// CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2Method defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2Method string++// CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus string++// CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3 defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3 struct {+ App CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials struct {+ ClientId string `json:"clientId"`++ // FederatedCredential The values to add to a federated credential on the managed identity. The issuer is null when SITE_URL is not set.+ FederatedCredential struct {+ Audience string `json:"audience"`+ IssuerUrl *string `json:"issuerUrl"`+ SubjectIdentifier string `json:"subjectIdentifier"`+ } `json:"federatedCredential"`+ TenantId string `json:"tenantId"`+ } `json:"credentials"`+ CredentialsHash *string `json:"credentialsHash,omitempty"`+ Description *string `json:"description,omitempty"`+ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`+ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`+ IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`+ Method CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3Method `json:"method"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ } `json:"project,omitempty"`+ ProjectId *string `json:"projectId,omitempty"`++ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`++ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`++ // RotateAtUtc The UTC time of day at which rotation should occur.+ RotateAtUtc struct {+ // Hours The hour (0-23) at which to rotate.+ Hours float32 `json:"hours"`++ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`++ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`++ // RotationStatus The status of the last rotation attempt.+ RotationStatus CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+}++// CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3App defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3App string++// CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3Method defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3Method string++// CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus string++// CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection struct {+ union json.RawMessage+}++// CreateAzureKeyVaultAppConnection400JSONResponseBodyStatusCode defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection400JSONResponseBodyStatusCode float32++// CreateAzureKeyVaultAppConnection401JSONResponseBodyStatusCode defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection401JSONResponseBodyStatusCode float32++// CreateAzureKeyVaultAppConnection403JSONResponseBodyStatusCode defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection403JSONResponseBodyStatusCode float32++// CreateAzureKeyVaultAppConnection404JSONResponseBodyStatusCode defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection404JSONResponseBodyStatusCode float32++// CreateAzureKeyVaultAppConnection422JSONResponseBodyStatusCode defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection422JSONResponseBodyStatusCode float32++// CreateAzureKeyVaultAppConnection500JSONResponseBodyStatusCode defines parameters for CreateAzureKeyVaultAppConnection.+type CreateAzureKeyVaultAppConnection500JSONResponseBodyStatusCode float32++// DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0 defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0 struct {+ App DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials struct {+ TenantId *string `json:"tenantId,omitempty"`+ } `json:"credentials"`+ CredentialsHash *string `json:"credentialsHash,omitempty"`+ Description *string `json:"description,omitempty"`+ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`+ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`+ IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`+ Method DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0Method `json:"method"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ } `json:"project,omitempty"`+ ProjectId *string `json:"projectId,omitempty"`++ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`++ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`++ // RotateAtUtc The UTC time of day at which rotation should occur.+ RotateAtUtc struct {+ // Hours The hour (0-23) at which to rotate.+ Hours float32 `json:"hours"`++ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`++ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`++ // RotationStatus The status of the last rotation attempt.+ RotationStatus DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+}++// DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0App defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0App string++// DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0Method defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0Method string++// DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus string++// DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1 defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1 struct {+ App DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials struct {+ ClientId string `json:"clientId"`+ TenantId string `json:"tenantId"`+ } `json:"credentials"`+ CredentialsHash *string `json:"credentialsHash,omitempty"`+ Description *string `json:"description,omitempty"`+ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`+ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`+ IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`+ Method DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1Method `json:"method"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ } `json:"project,omitempty"`+ ProjectId *string `json:"projectId,omitempty"`++ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`++ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`++ // RotateAtUtc The UTC time of day at which rotation should occur.+ RotateAtUtc struct {+ // Hours The hour (0-23) at which to rotate.+ Hours float32 `json:"hours"`++ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`++ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`++ // RotationStatus The status of the last rotation attempt.+ RotationStatus DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+}++// DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1App defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1App string++// DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1Method defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1Method string++// DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus string++// DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2 defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2 struct {+ App DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials struct {+ ClientId string `json:"clientId"`+ TenantId string `json:"tenantId"`+ } `json:"credentials"`+ CredentialsHash *string `json:"credentialsHash,omitempty"`+ Description *string `json:"description,omitempty"`+ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`+ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`+ IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`+ Method DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2Method `json:"method"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ } `json:"project,omitempty"`+ ProjectId *string `json:"projectId,omitempty"`++ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`++ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`++ // RotateAtUtc The UTC time of day at which rotation should occur.+ RotateAtUtc struct {+ // Hours The hour (0-23) at which to rotate.+ Hours float32 `json:"hours"`++ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`++ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`++ // RotationStatus The status of the last rotation attempt.+ RotationStatus DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+}++// DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2App defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2App string++// DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2Method defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2Method string++// DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus string++// DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3 defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3 struct {+ App DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials struct {+ ClientId string `json:"clientId"`++ // FederatedCredential The values to add to a federated credential on the managed identity. The issuer is null when SITE_URL is not set.+ FederatedCredential struct {+ Audience string `json:"audience"`+ IssuerUrl *string `json:"issuerUrl"`+ SubjectIdentifier string `json:"subjectIdentifier"`+ } `json:"federatedCredential"`+ TenantId string `json:"tenantId"`+ } `json:"credentials"`+ CredentialsHash *string `json:"credentialsHash,omitempty"`+ Description *string `json:"description,omitempty"`+ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`+ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`+ IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`+ Method DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3Method `json:"method"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ } `json:"project,omitempty"`+ ProjectId *string `json:"projectId,omitempty"`++ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`++ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`++ // RotateAtUtc The UTC time of day at which rotation should occur.+ RotateAtUtc struct {+ // Hours The hour (0-23) at which to rotate.+ Hours float32 `json:"hours"`++ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`++ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`++ // RotationStatus The status of the last rotation attempt.+ RotationStatus DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+}++// DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3App defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3App string++// DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3Method defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3Method string++// DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus string++// DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection struct {+ union json.RawMessage+}++// DeleteAzureKeyVaultAppConnection400JSONResponseBodyStatusCode defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection400JSONResponseBodyStatusCode float32++// DeleteAzureKeyVaultAppConnection401JSONResponseBodyStatusCode defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection401JSONResponseBodyStatusCode float32++// DeleteAzureKeyVaultAppConnection403JSONResponseBodyStatusCode defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection403JSONResponseBodyStatusCode float32++// DeleteAzureKeyVaultAppConnection404JSONResponseBodyStatusCode defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection404JSONResponseBodyStatusCode float32++// DeleteAzureKeyVaultAppConnection422JSONResponseBodyStatusCode defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection422JSONResponseBodyStatusCode float32++// DeleteAzureKeyVaultAppConnection500JSONResponseBodyStatusCode defines parameters for DeleteAzureKeyVaultAppConnection.+type DeleteAzureKeyVaultAppConnection500JSONResponseBodyStatusCode float32++// UpdateAzureKeyVaultAppConnectionJSONBody defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnectionJSONBody struct {+ // Credentials The credentials used to connect with Azure Key Vault.+ Credentials *UpdateAzureKeyVaultAppConnectionJSONBody_Credentials `json:"credentials,omitempty"`++ // Description The updated description of the Azure Key Vault Connection.+ Description *string `json:"description,omitempty"`++ // GatewayId The Gateway ID to use for this connection.+ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`++ // GatewayPoolId The Gateway Pool ID to use for this connection.+ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`++ // IsAutoRotationEnabled Whether or not automatic credential rotation is enabled for the Azure Key Vault Connection.+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`++ // IsPlatformManagedCredentials Not supported for Azure Key Vault Connections.+ IsPlatformManagedCredentials *UpdateAzureKeyVaultAppConnectionJSONBodyIsPlatformManagedCredentials `json:"isPlatformManagedCredentials,omitempty"`++ // Name The updated name of the Azure Key Vault Connection. Must be slug-friendly.+ Name *string `json:"name,omitempty"`++ // Rotation The updated credential rotation configuration for the Azure Key Vault Connection.+ Rotation *struct {+ RotateAtUtc *struct {+ // Hours The hour (0-23) at which to rotate (UTC timezone).+ Hours int `json:"hours"`++ // Minutes The minute (0-59) at which to rotate (UTC timezone).+ Minutes int `json:"minutes"`+ } `json:"rotateAtUtc,omitempty"`++ // RotationInterval The interval in days between credential rotations.+ RotationInterval *int `json:"rotationInterval,omitempty"`+ } `json:"rotation,omitempty"`+}++// UpdateAzureKeyVaultAppConnectionJSONBodyCredentials0 defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnectionJSONBodyCredentials0 struct {+ Code string `json:"code"`+ TenantId *string `json:"tenantId,omitempty"`+}++// UpdateAzureKeyVaultAppConnectionJSONBodyCredentials1 defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnectionJSONBodyCredentials1 struct {+ ClientId openapi_types.UUID `json:"clientId"`+ ClientSecret string `json:"clientSecret"`++ // ClientSecretKeyId The Key ID of the client secret in Azure AD. Required when enabling credential rotation so the original secret can be revoked.+ ClientSecretKeyId *openapi_types.UUID `json:"clientSecretKeyId,omitempty"`+ TenantId openapi_types.UUID `json:"tenantId"`+}++// UpdateAzureKeyVaultAppConnectionJSONBodyCredentials2 defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnectionJSONBodyCredentials2 struct {+ CertificateBody string `json:"certificateBody"`+ ClientId openapi_types.UUID `json:"clientId"`+ PrivateKey string `json:"privateKey"`+ TenantId openapi_types.UUID `json:"tenantId"`+}++// UpdateAzureKeyVaultAppConnectionJSONBodyCredentials3 defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnectionJSONBodyCredentials3 struct {+ ClientId openapi_types.UUID `json:"clientId"`+ TenantId openapi_types.UUID `json:"tenantId"`+}++// UpdateAzureKeyVaultAppConnectionJSONBody_Credentials defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnectionJSONBody_Credentials struct {+ union json.RawMessage+}++// UpdateAzureKeyVaultAppConnectionJSONBodyIsPlatformManagedCredentials defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnectionJSONBodyIsPlatformManagedCredentials bool++// UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0 defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0 struct {+ App UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials struct {+ TenantId *string `json:"tenantId,omitempty"`+ } `json:"credentials"`+ CredentialsHash *string `json:"credentialsHash,omitempty"`+ Description *string `json:"description,omitempty"`+ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`+ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`+ IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`+ Method UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0Method `json:"method"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ } `json:"project,omitempty"`+ ProjectId *string `json:"projectId,omitempty"`++ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`++ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`++ // RotateAtUtc The UTC time of day at which rotation should occur.+ RotateAtUtc struct {+ // Hours The hour (0-23) at which to rotate.+ Hours float32 `json:"hours"`++ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`++ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`++ // RotationStatus The status of the last rotation attempt.+ RotationStatus UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+}++// UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0App defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0App string++// UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0Method defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0Method string++// UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus string++// UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1 defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1 struct {+ App UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials struct {+ ClientId string `json:"clientId"`+ TenantId string `json:"tenantId"`+ } `json:"credentials"`+ CredentialsHash *string `json:"credentialsHash,omitempty"`+ Description *string `json:"description,omitempty"`+ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`+ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`+ IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`+ Method UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1Method `json:"method"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ } `json:"project,omitempty"`+ ProjectId *string `json:"projectId,omitempty"`++ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`++ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`++ // RotateAtUtc The UTC time of day at which rotation should occur.+ RotateAtUtc struct {+ // Hours The hour (0-23) at which to rotate.+ Hours float32 `json:"hours"`++ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`++ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`++ // RotationStatus The status of the last rotation attempt.+ RotationStatus UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+}++// UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1App defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1App string++// UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1Method defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1Method string++// UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus string++// UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2 defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2 struct {+ App UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials struct {+ ClientId string `json:"clientId"`+ TenantId string `json:"tenantId"`+ } `json:"credentials"`+ CredentialsHash *string `json:"credentialsHash,omitempty"`+ Description *string `json:"description,omitempty"`+ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`+ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`+ IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`+ Method UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2Method `json:"method"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ } `json:"project,omitempty"`+ ProjectId *string `json:"projectId,omitempty"`++ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`++ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`++ // RotateAtUtc The UTC time of day at which rotation should occur.+ RotateAtUtc struct {+ // Hours The hour (0-23) at which to rotate.+ Hours float32 `json:"hours"`++ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`++ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`++ // RotationStatus The status of the last rotation attempt.+ RotationStatus UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+}++// UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2App defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2App string++// UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2Method defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2Method string++// UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus string++// UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3 defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3 struct {+ App UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials struct {+ ClientId string `json:"clientId"`++ // FederatedCredential The values to add to a federated credential on the managed identity. The issuer is null when SITE_URL is not set.+ FederatedCredential struct {+ Audience string `json:"audience"`+ IssuerUrl *string `json:"issuerUrl"`+ SubjectIdentifier string `json:"subjectIdentifier"`+ } `json:"federatedCredential"`+ TenantId string `json:"tenantId"`+ } `json:"credentials"`+ CredentialsHash *string `json:"credentialsHash,omitempty"`+ Description *string `json:"description,omitempty"`+ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`+ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`+ IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`+ Method UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3Method `json:"method"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ } `json:"project,omitempty"`+ ProjectId *string `json:"projectId,omitempty"`++ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`++ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`++ // RotateAtUtc The UTC time of day at which rotation should occur.+ RotateAtUtc struct {+ // Hours The hour (0-23) at which to rotate.+ Hours float32 `json:"hours"`++ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`++ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`++ // RotationStatus The status of the last rotation attempt.+ RotationStatus UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+}++// UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3App defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3App string++// UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3Method defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3Method string++// UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3RotationRotationStatus string++// UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection struct {+ union json.RawMessage+}++// UpdateAzureKeyVaultAppConnection400JSONResponseBodyStatusCode defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection400JSONResponseBodyStatusCode float32++// UpdateAzureKeyVaultAppConnection401JSONResponseBodyStatusCode defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection401JSONResponseBodyStatusCode float32++// UpdateAzureKeyVaultAppConnection403JSONResponseBodyStatusCode defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection403JSONResponseBodyStatusCode float32++// UpdateAzureKeyVaultAppConnection404JSONResponseBodyStatusCode defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection404JSONResponseBodyStatusCode float32++// UpdateAzureKeyVaultAppConnection422JSONResponseBodyStatusCode defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection422JSONResponseBodyStatusCode float32++// UpdateAzureKeyVaultAppConnection500JSONResponseBodyStatusCode defines parameters for UpdateAzureKeyVaultAppConnection.+type UpdateAzureKeyVaultAppConnection500JSONResponseBodyStatusCode float32+// ListGitHubAppConnectionsParams defines parameters for ListGitHubAppConnections.type ListGitHubAppConnectionsParams struct {// ProjectId The ID of the project to list GitHub Connections from.@@ -124713,6 +126664,12 @@ type CreateAwsAppConnectionJSONRequestBody CreateAwsAppConnectionJSONBody// UpdateAwsAppConnectionJSONRequestBody defines body for UpdateAwsAppConnection for application/json ContentType.type UpdateAwsAppConnectionJSONRequestBody UpdateAwsAppConnectionJSONBody+// CreateAzureKeyVaultAppConnectionJSONRequestBody defines body for CreateAzureKeyVaultAppConnection for application/json ContentType.+type CreateAzureKeyVaultAppConnectionJSONRequestBody CreateAzureKeyVaultAppConnectionJSONBody++// UpdateAzureKeyVaultAppConnectionJSONRequestBody defines body for UpdateAzureKeyVaultAppConnection for application/json ContentType.+type UpdateAzureKeyVaultAppConnectionJSONRequestBody UpdateAzureKeyVaultAppConnectionJSONBody+// CreateGitHubAppConnectionJSONRequestBody defines body for CreateGitHubAppConnection for application/json ContentType.type CreateGitHubAppConnectionJSONRequestBody CreateGitHubAppConnectionJSONBody@@ -126981,234 +128938,1010 @@ func (t *CreateAwsAppConnectionJSONBody) UnmarshalJSON(b []byte) error {return err}-// AsCreateAwsAppConnectionJSONBodyGatewayId0 returns the union data inside the CreateAwsAppConnectionJSONBody_GatewayId as a CreateAwsAppConnectionJSONBodyGatewayId0-func (t CreateAwsAppConnectionJSONBody_GatewayId) AsCreateAwsAppConnectionJSONBodyGatewayId0() (CreateAwsAppConnectionJSONBodyGatewayId0, error) {- var body CreateAwsAppConnectionJSONBodyGatewayId0- err := json.Unmarshal(t.union, &body)- return body, err-}--// FromCreateAwsAppConnectionJSONBodyGatewayId0 overwrites any union data inside the CreateAwsAppConnectionJSONBody_GatewayId as the provided CreateAwsAppConnectionJSONBodyGatewayId0-func (t *CreateAwsAppConnectionJSONBody_GatewayId) FromCreateAwsAppConnectionJSONBodyGatewayId0(v CreateAwsAppConnectionJSONBodyGatewayId0) error {- b, err := json.Marshal(v)- t.union = b- return err-}--// MergeCreateAwsAppConnectionJSONBodyGatewayId0 performs a merge with any union data inside the CreateAwsAppConnectionJSONBody_GatewayId, using the provided CreateAwsAppConnectionJSONBodyGatewayId0-func (t *CreateAwsAppConnectionJSONBody_GatewayId) MergeCreateAwsAppConnectionJSONBodyGatewayId0(v CreateAwsAppConnectionJSONBodyGatewayId0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }-- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}--// AsCreateAwsAppConnectionJSONBodyGatewayId1 returns the union data inside the CreateAwsAppConnectionJSONBody_GatewayId as a CreateAwsAppConnectionJSONBodyGatewayId1-func (t CreateAwsAppConnectionJSONBody_GatewayId) AsCreateAwsAppConnectionJSONBodyGatewayId1() (CreateAwsAppConnectionJSONBodyGatewayId1, error) {- var body CreateAwsAppConnectionJSONBodyGatewayId1- err := json.Unmarshal(t.union, &body)- return body, err-}--// FromCreateAwsAppConnectionJSONBodyGatewayId1 overwrites any union data inside the CreateAwsAppConnectionJSONBody_GatewayId as the provided CreateAwsAppConnectionJSONBodyGatewayId1-func (t *CreateAwsAppConnectionJSONBody_GatewayId) FromCreateAwsAppConnectionJSONBodyGatewayId1(v CreateAwsAppConnectionJSONBodyGatewayId1) error {- b, err := json.Marshal(v)- t.union = b- return err-}--// MergeCreateAwsAppConnectionJSONBodyGatewayId1 performs a merge with any union data inside the CreateAwsAppConnectionJSONBody_GatewayId, using the provided CreateAwsAppConnectionJSONBodyGatewayId1-func (t *CreateAwsAppConnectionJSONBody_GatewayId) MergeCreateAwsAppConnectionJSONBodyGatewayId1(v CreateAwsAppConnectionJSONBodyGatewayId1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }-- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}--func (t CreateAwsAppConnectionJSONBody_GatewayId) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}--func (t *CreateAwsAppConnectionJSONBody_GatewayId) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}--// AsCreateAwsAppConnectionJSONBodyGatewayPoolId0 returns the union data inside the CreateAwsAppConnectionJSONBody_GatewayPoolId as a CreateAwsAppConnectionJSONBodyGatewayPoolId0-func (t CreateAwsAppConnectionJSONBody_GatewayPoolId) AsCreateAwsAppConnectionJSONBodyGatewayPoolId0() (CreateAwsAppConnectionJSONBodyGatewayPoolId0, error) {- var body CreateAwsAppConnectionJSONBodyGatewayPoolId0- err := json.Unmarshal(t.union, &body)- return body, err-}--// FromCreateAwsAppConnectionJSONBodyGatewayPoolId0 overwrites any union data inside the CreateAwsAppConnectionJSONBody_GatewayPoolId as the provided CreateAwsAppConnectionJSONBodyGatewayPoolId0-func (t *CreateAwsAppConnectionJSONBody_GatewayPoolId) FromCreateAwsAppConnectionJSONBodyGatewayPoolId0(v CreateAwsAppConnectionJSONBodyGatewayPoolId0) error {- b, err := json.Marshal(v)- t.union = b- return err-}--// MergeCreateAwsAppConnectionJSONBodyGatewayPoolId0 performs a merge with any union data inside the CreateAwsAppConnectionJSONBody_GatewayPoolId, using the provided CreateAwsAppConnectionJSONBodyGatewayPoolId0-func (t *CreateAwsAppConnectionJSONBody_GatewayPoolId) MergeCreateAwsAppConnectionJSONBodyGatewayPoolId0(v CreateAwsAppConnectionJSONBodyGatewayPoolId0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }-- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}--// AsCreateAwsAppConnectionJSONBodyGatewayPoolId1 returns the union data inside the CreateAwsAppConnectionJSONBody_GatewayPoolId as a CreateAwsAppConnectionJSONBodyGatewayPoolId1-func (t CreateAwsAppConnectionJSONBody_GatewayPoolId) AsCreateAwsAppConnectionJSONBodyGatewayPoolId1() (CreateAwsAppConnectionJSONBodyGatewayPoolId1, error) {- var body CreateAwsAppConnectionJSONBodyGatewayPoolId1- err := json.Unmarshal(t.union, &body)- return body, err-}--// FromCreateAwsAppConnectionJSONBodyGatewayPoolId1 overwrites any union data inside the CreateAwsAppConnectionJSONBody_GatewayPoolId as the provided CreateAwsAppConnectionJSONBodyGatewayPoolId1-func (t *CreateAwsAppConnectionJSONBody_GatewayPoolId) FromCreateAwsAppConnectionJSONBodyGatewayPoolId1(v CreateAwsAppConnectionJSONBodyGatewayPoolId1) error {- b, err := json.Marshal(v)- t.union = b- return err-}--// MergeCreateAwsAppConnectionJSONBodyGatewayPoolId1 performs a merge with any union data inside the CreateAwsAppConnectionJSONBody_GatewayPoolId, using the provided CreateAwsAppConnectionJSONBodyGatewayPoolId1-func (t *CreateAwsAppConnectionJSONBody_GatewayPoolId) MergeCreateAwsAppConnectionJSONBodyGatewayPoolId1(v CreateAwsAppConnectionJSONBodyGatewayPoolId1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }-- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}--func (t CreateAwsAppConnectionJSONBody_GatewayPoolId) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}--func (t *CreateAwsAppConnectionJSONBody_GatewayPoolId) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}--// AsCreateAwsAppConnectionJSONBodyRotation0 returns the union data inside the CreateAwsAppConnectionJSONBody_Rotation as a CreateAwsAppConnectionJSONBodyRotation0-func (t CreateAwsAppConnectionJSONBody_Rotation) AsCreateAwsAppConnectionJSONBodyRotation0() (CreateAwsAppConnectionJSONBodyRotation0, error) {- var body CreateAwsAppConnectionJSONBodyRotation0- err := json.Unmarshal(t.union, &body)- return body, err-}--// FromCreateAwsAppConnectionJSONBodyRotation0 overwrites any union data inside the CreateAwsAppConnectionJSONBody_Rotation as the provided CreateAwsAppConnectionJSONBodyRotation0-func (t *CreateAwsAppConnectionJSONBody_Rotation) FromCreateAwsAppConnectionJSONBodyRotation0(v CreateAwsAppConnectionJSONBodyRotation0) error {- b, err := json.Marshal(v)- t.union = b- return err-}--// MergeCreateAwsAppConnectionJSONBodyRotation0 performs a merge with any union data inside the CreateAwsAppConnectionJSONBody_Rotation, using the provided CreateAwsAppConnectionJSONBodyRotation0-func (t *CreateAwsAppConnectionJSONBody_Rotation) MergeCreateAwsAppConnectionJSONBodyRotation0(v CreateAwsAppConnectionJSONBodyRotation0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }-- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}--// AsCreateAwsAppConnectionJSONBodyRotation1 returns the union data inside the CreateAwsAppConnectionJSONBody_Rotation as a CreateAwsAppConnectionJSONBodyRotation1-func (t CreateAwsAppConnectionJSONBody_Rotation) AsCreateAwsAppConnectionJSONBodyRotation1() (CreateAwsAppConnectionJSONBodyRotation1, error) {- var body CreateAwsAppConnectionJSONBodyRotation1- err := json.Unmarshal(t.union, &body)- return body, err-}--// FromCreateAwsAppConnectionJSONBodyRotation1 overwrites any union data inside the CreateAwsAppConnectionJSONBody_Rotation as the provided CreateAwsAppConnectionJSONBodyRotation1-func (t *CreateAwsAppConnectionJSONBody_Rotation) FromCreateAwsAppConnectionJSONBodyRotation1(v CreateAwsAppConnectionJSONBodyRotation1) error {- b, err := json.Marshal(v)- t.union = b- return err-}--// MergeCreateAwsAppConnectionJSONBodyRotation1 performs a merge with any union data inside the CreateAwsAppConnectionJSONBody_Rotation, using the provided CreateAwsAppConnectionJSONBodyRotation1-func (t *CreateAwsAppConnectionJSONBody_Rotation) MergeCreateAwsAppConnectionJSONBodyRotation1(v CreateAwsAppConnectionJSONBodyRotation1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }-- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}--func (t CreateAwsAppConnectionJSONBody_Rotation) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}--func (t *CreateAwsAppConnectionJSONBody_Rotation) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}--// AsCreateAwsAppConnection200JSONResponseBodyAppConnection0 returns the union data inside the CreateAwsAppConnection200JSONResponseBody_AppConnection as a CreateAwsAppConnection200JSONResponseBodyAppConnection0-func (t CreateAwsAppConnection200JSONResponseBody_AppConnection) AsCreateAwsAppConnection200JSONResponseBodyAppConnection0() (CreateAwsAppConnection200JSONResponseBodyAppConnection0, error) {- var body CreateAwsAppConnection200JSONResponseBodyAppConnection0- err := json.Unmarshal(t.union, &body)- return body, err-}--// FromCreateAwsAppConnection200JSONResponseBodyAppConnection0 overwrites any union data inside the CreateAwsAppConnection200JSONResponseBody_AppConnection as the provided CreateAwsAppConnection200JSONResponseBodyAppConnection0-func (t *CreateAwsAppConnection200JSONResponseBody_AppConnection) FromCreateAwsAppConnection200JSONResponseBodyAppConnection0(v CreateAwsAppConnection200JSONResponseBodyAppConnection0) error {- b, err := json.Marshal(v)- t.union = b- return err-}--// MergeCreateAwsAppConnection200JSONResponseBodyAppConnection0 performs a merge with any union data inside the CreateAwsAppConnection200JSONResponseBody_AppConnection, using the provided CreateAwsAppConnection200JSONResponseBodyAppConnection0-func (t *CreateAwsAppConnection200JSONResponseBody_AppConnection) MergeCreateAwsAppConnection200JSONResponseBodyAppConnection0(v CreateAwsAppConnection200JSONResponseBodyAppConnection0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }-- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}--// AsCreateAwsAppConnection200JSONResponseBodyAppConnection1 returns the union data inside the CreateAwsAppConnection200JSONResponseBody_AppConnection as a CreateAwsAppConnection200JSONResponseBodyAppConnection1-func (t CreateAwsAppConnection200JSONResponseBody_AppConnection) AsCreateAwsAppConnection200JSONResponseBodyAppConnection1() (CreateAwsAppConnection200JSONResponseBodyAppConnection1, error) {- var body CreateAwsAppConnection200JSONResponseBodyAppConnection1+// AsCreateAwsAppConnectionJSONBodyGatewayId0 returns the union data inside the CreateAwsAppConnectionJSONBody_GatewayId as a CreateAwsAppConnectionJSONBodyGatewayId0+func (t CreateAwsAppConnectionJSONBody_GatewayId) AsCreateAwsAppConnectionJSONBodyGatewayId0() (CreateAwsAppConnectionJSONBodyGatewayId0, error) {+ var body CreateAwsAppConnectionJSONBodyGatewayId0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateAwsAppConnectionJSONBodyGatewayId0 overwrites any union data inside the CreateAwsAppConnectionJSONBody_GatewayId as the provided CreateAwsAppConnectionJSONBodyGatewayId0+func (t *CreateAwsAppConnectionJSONBody_GatewayId) FromCreateAwsAppConnectionJSONBodyGatewayId0(v CreateAwsAppConnectionJSONBodyGatewayId0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateAwsAppConnectionJSONBodyGatewayId0 performs a merge with any union data inside the CreateAwsAppConnectionJSONBody_GatewayId, using the provided CreateAwsAppConnectionJSONBodyGatewayId0+func (t *CreateAwsAppConnectionJSONBody_GatewayId) MergeCreateAwsAppConnectionJSONBodyGatewayId0(v CreateAwsAppConnectionJSONBodyGatewayId0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++// AsCreateAwsAppConnectionJSONBodyGatewayId1 returns the union data inside the CreateAwsAppConnectionJSONBody_GatewayId as a CreateAwsAppConnectionJSONBodyGatewayId1+func (t CreateAwsAppConnectionJSONBody_GatewayId) AsCreateAwsAppConnectionJSONBodyGatewayId1() (CreateAwsAppConnectionJSONBodyGatewayId1, error) {+ var body CreateAwsAppConnectionJSONBodyGatewayId1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateAwsAppConnectionJSONBodyGatewayId1 overwrites any union data inside the CreateAwsAppConnectionJSONBody_GatewayId as the provided CreateAwsAppConnectionJSONBodyGatewayId1+func (t *CreateAwsAppConnectionJSONBody_GatewayId) FromCreateAwsAppConnectionJSONBodyGatewayId1(v CreateAwsAppConnectionJSONBodyGatewayId1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateAwsAppConnectionJSONBodyGatewayId1 performs a merge with any union data inside the CreateAwsAppConnectionJSONBody_GatewayId, using the provided CreateAwsAppConnectionJSONBodyGatewayId1+func (t *CreateAwsAppConnectionJSONBody_GatewayId) MergeCreateAwsAppConnectionJSONBodyGatewayId1(v CreateAwsAppConnectionJSONBodyGatewayId1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++func (t CreateAwsAppConnectionJSONBody_GatewayId) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}++func (t *CreateAwsAppConnectionJSONBody_GatewayId) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}++// AsCreateAwsAppConnectionJSONBodyGatewayPoolId0 returns the union data inside the CreateAwsAppConnectionJSONBody_GatewayPoolId as a CreateAwsAppConnectionJSONBodyGatewayPoolId0+func (t CreateAwsAppConnectionJSONBody_GatewayPoolId) AsCreateAwsAppConnectionJSONBodyGatewayPoolId0() (CreateAwsAppConnectionJSONBodyGatewayPoolId0, error) {+ var body CreateAwsAppConnectionJSONBodyGatewayPoolId0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateAwsAppConnectionJSONBodyGatewayPoolId0 overwrites any union data inside the CreateAwsAppConnectionJSONBody_GatewayPoolId as the provided CreateAwsAppConnectionJSONBodyGatewayPoolId0+func (t *CreateAwsAppConnectionJSONBody_GatewayPoolId) FromCreateAwsAppConnectionJSONBodyGatewayPoolId0(v CreateAwsAppConnectionJSONBodyGatewayPoolId0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateAwsAppConnectionJSONBodyGatewayPoolId0 performs a merge with any union data inside the CreateAwsAppConnectionJSONBody_GatewayPoolId, using the provided CreateAwsAppConnectionJSONBodyGatewayPoolId0+func (t *CreateAwsAppConnectionJSONBody_GatewayPoolId) MergeCreateAwsAppConnectionJSONBodyGatewayPoolId0(v CreateAwsAppConnectionJSONBodyGatewayPoolId0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++// AsCreateAwsAppConnectionJSONBodyGatewayPoolId1 returns the union data inside the CreateAwsAppConnectionJSONBody_GatewayPoolId as a CreateAwsAppConnectionJSONBodyGatewayPoolId1+func (t CreateAwsAppConnectionJSONBody_GatewayPoolId) AsCreateAwsAppConnectionJSONBodyGatewayPoolId1() (CreateAwsAppConnectionJSONBodyGatewayPoolId1, error) {+ var body CreateAwsAppConnectionJSONBodyGatewayPoolId1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateAwsAppConnectionJSONBodyGatewayPoolId1 overwrites any union data inside the CreateAwsAppConnectionJSONBody_GatewayPoolId as the provided CreateAwsAppConnectionJSONBodyGatewayPoolId1+func (t *CreateAwsAppConnectionJSONBody_GatewayPoolId) FromCreateAwsAppConnectionJSONBodyGatewayPoolId1(v CreateAwsAppConnectionJSONBodyGatewayPoolId1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateAwsAppConnectionJSONBodyGatewayPoolId1 performs a merge with any union data inside the CreateAwsAppConnectionJSONBody_GatewayPoolId, using the provided CreateAwsAppConnectionJSONBodyGatewayPoolId1+func (t *CreateAwsAppConnectionJSONBody_GatewayPoolId) MergeCreateAwsAppConnectionJSONBodyGatewayPoolId1(v CreateAwsAppConnectionJSONBodyGatewayPoolId1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++func (t CreateAwsAppConnectionJSONBody_GatewayPoolId) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}++func (t *CreateAwsAppConnectionJSONBody_GatewayPoolId) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}++// AsCreateAwsAppConnectionJSONBodyRotation0 returns the union data inside the CreateAwsAppConnectionJSONBody_Rotation as a CreateAwsAppConnectionJSONBodyRotation0+func (t CreateAwsAppConnectionJSONBody_Rotation) AsCreateAwsAppConnectionJSONBodyRotation0() (CreateAwsAppConnectionJSONBodyRotation0, error) {+ var body CreateAwsAppConnectionJSONBodyRotation0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateAwsAppConnectionJSONBodyRotation0 overwrites any union data inside the CreateAwsAppConnectionJSONBody_Rotation as the provided CreateAwsAppConnectionJSONBodyRotation0+func (t *CreateAwsAppConnectionJSONBody_Rotation) FromCreateAwsAppConnectionJSONBodyRotation0(v CreateAwsAppConnectionJSONBodyRotation0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateAwsAppConnectionJSONBodyRotation0 performs a merge with any union data inside the CreateAwsAppConnectionJSONBody_Rotation, using the provided CreateAwsAppConnectionJSONBodyRotation0+func (t *CreateAwsAppConnectionJSONBody_Rotation) MergeCreateAwsAppConnectionJSONBodyRotation0(v CreateAwsAppConnectionJSONBodyRotation0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++// AsCreateAwsAppConnectionJSONBodyRotation1 returns the union data inside the CreateAwsAppConnectionJSONBody_Rotation as a CreateAwsAppConnectionJSONBodyRotation1+func (t CreateAwsAppConnectionJSONBody_Rotation) AsCreateAwsAppConnectionJSONBodyRotation1() (CreateAwsAppConnectionJSONBodyRotation1, error) {+ var body CreateAwsAppConnectionJSONBodyRotation1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateAwsAppConnectionJSONBodyRotation1 overwrites any union data inside the CreateAwsAppConnectionJSONBody_Rotation as the provided CreateAwsAppConnectionJSONBodyRotation1+func (t *CreateAwsAppConnectionJSONBody_Rotation) FromCreateAwsAppConnectionJSONBodyRotation1(v CreateAwsAppConnectionJSONBodyRotation1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateAwsAppConnectionJSONBodyRotation1 performs a merge with any union data inside the CreateAwsAppConnectionJSONBody_Rotation, using the provided CreateAwsAppConnectionJSONBodyRotation1+func (t *CreateAwsAppConnectionJSONBody_Rotation) MergeCreateAwsAppConnectionJSONBodyRotation1(v CreateAwsAppConnectionJSONBodyRotation1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++func (t CreateAwsAppConnectionJSONBody_Rotation) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}++func (t *CreateAwsAppConnectionJSONBody_Rotation) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}++// AsCreateAwsAppConnection200JSONResponseBodyAppConnection0 returns the union data inside the CreateAwsAppConnection200JSONResponseBody_AppConnection as a CreateAwsAppConnection200JSONResponseBodyAppConnection0+func (t CreateAwsAppConnection200JSONResponseBody_AppConnection) AsCreateAwsAppConnection200JSONResponseBodyAppConnection0() (CreateAwsAppConnection200JSONResponseBodyAppConnection0, error) {+ var body CreateAwsAppConnection200JSONResponseBodyAppConnection0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateAwsAppConnection200JSONResponseBodyAppConnection0 overwrites any union data inside the CreateAwsAppConnection200JSONResponseBody_AppConnection as the provided CreateAwsAppConnection200JSONResponseBodyAppConnection0+func (t *CreateAwsAppConnection200JSONResponseBody_AppConnection) FromCreateAwsAppConnection200JSONResponseBodyAppConnection0(v CreateAwsAppConnection200JSONResponseBodyAppConnection0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateAwsAppConnection200JSONResponseBodyAppConnection0 performs a merge with any union data inside the CreateAwsAppConnection200JSONResponseBody_AppConnection, using the provided CreateAwsAppConnection200JSONResponseBodyAppConnection0+func (t *CreateAwsAppConnection200JSONResponseBody_AppConnection) MergeCreateAwsAppConnection200JSONResponseBodyAppConnection0(v CreateAwsAppConnection200JSONResponseBodyAppConnection0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++// AsCreateAwsAppConnection200JSONResponseBodyAppConnection1 returns the union data inside the CreateAwsAppConnection200JSONResponseBody_AppConnection as a CreateAwsAppConnection200JSONResponseBodyAppConnection1+func (t CreateAwsAppConnection200JSONResponseBody_AppConnection) AsCreateAwsAppConnection200JSONResponseBodyAppConnection1() (CreateAwsAppConnection200JSONResponseBodyAppConnection1, error) {+ var body CreateAwsAppConnection200JSONResponseBodyAppConnection1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateAwsAppConnection200JSONResponseBodyAppConnection1 overwrites any union data inside the CreateAwsAppConnection200JSONResponseBody_AppConnection as the provided CreateAwsAppConnection200JSONResponseBodyAppConnection1+func (t *CreateAwsAppConnection200JSONResponseBody_AppConnection) FromCreateAwsAppConnection200JSONResponseBodyAppConnection1(v CreateAwsAppConnection200JSONResponseBodyAppConnection1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateAwsAppConnection200JSONResponseBodyAppConnection1 performs a merge with any union data inside the CreateAwsAppConnection200JSONResponseBody_AppConnection, using the provided CreateAwsAppConnection200JSONResponseBodyAppConnection1+func (t *CreateAwsAppConnection200JSONResponseBody_AppConnection) MergeCreateAwsAppConnection200JSONResponseBodyAppConnection1(v CreateAwsAppConnection200JSONResponseBodyAppConnection1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++func (t CreateAwsAppConnection200JSONResponseBody_AppConnection) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}++func (t *CreateAwsAppConnection200JSONResponseBody_AppConnection) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}++// AsGetAwsAppConnectionByName200JSONResponseBodyAppConnection0 returns the union data inside the GetAwsAppConnectionByName200JSONResponseBody_AppConnection as a GetAwsAppConnectionByName200JSONResponseBodyAppConnection0+func (t GetAwsAppConnectionByName200JSONResponseBody_AppConnection) AsGetAwsAppConnectionByName200JSONResponseBodyAppConnection0() (GetAwsAppConnectionByName200JSONResponseBodyAppConnection0, error) {+ var body GetAwsAppConnectionByName200JSONResponseBodyAppConnection0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromGetAwsAppConnectionByName200JSONResponseBodyAppConnection0 overwrites any union data inside the GetAwsAppConnectionByName200JSONResponseBody_AppConnection as the provided GetAwsAppConnectionByName200JSONResponseBodyAppConnection0+func (t *GetAwsAppConnectionByName200JSONResponseBody_AppConnection) FromGetAwsAppConnectionByName200JSONResponseBodyAppConnection0(v GetAwsAppConnectionByName200JSONResponseBodyAppConnection0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeGetAwsAppConnectionByName200JSONResponseBodyAppConnection0 performs a merge with any union data inside the GetAwsAppConnectionByName200JSONResponseBody_AppConnection, using the provided GetAwsAppConnectionByName200JSONResponseBodyAppConnection0+func (t *GetAwsAppConnectionByName200JSONResponseBody_AppConnection) MergeGetAwsAppConnectionByName200JSONResponseBodyAppConnection0(v GetAwsAppConnectionByName200JSONResponseBodyAppConnection0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++// AsGetAwsAppConnectionByName200JSONResponseBodyAppConnection1 returns the union data inside the GetAwsAppConnectionByName200JSONResponseBody_AppConnection as a GetAwsAppConnectionByName200JSONResponseBodyAppConnection1+func (t GetAwsAppConnectionByName200JSONResponseBody_AppConnection) AsGetAwsAppConnectionByName200JSONResponseBodyAppConnection1() (GetAwsAppConnectionByName200JSONResponseBodyAppConnection1, error) {+ var body GetAwsAppConnectionByName200JSONResponseBodyAppConnection1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromGetAwsAppConnectionByName200JSONResponseBodyAppConnection1 overwrites any union data inside the GetAwsAppConnectionByName200JSONResponseBody_AppConnection as the provided GetAwsAppConnectionByName200JSONResponseBodyAppConnection1+func (t *GetAwsAppConnectionByName200JSONResponseBody_AppConnection) FromGetAwsAppConnectionByName200JSONResponseBodyAppConnection1(v GetAwsAppConnectionByName200JSONResponseBodyAppConnection1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeGetAwsAppConnectionByName200JSONResponseBodyAppConnection1 performs a merge with any union data inside the GetAwsAppConnectionByName200JSONResponseBody_AppConnection, using the provided GetAwsAppConnectionByName200JSONResponseBodyAppConnection1+func (t *GetAwsAppConnectionByName200JSONResponseBody_AppConnection) MergeGetAwsAppConnectionByName200JSONResponseBodyAppConnection1(v GetAwsAppConnectionByName200JSONResponseBodyAppConnection1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++func (t GetAwsAppConnectionByName200JSONResponseBody_AppConnection) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}++func (t *GetAwsAppConnectionByName200JSONResponseBody_AppConnection) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}++// AsDeleteAwsAppConnection200JSONResponseBodyAppConnection0 returns the union data inside the DeleteAwsAppConnection200JSONResponseBody_AppConnection as a DeleteAwsAppConnection200JSONResponseBodyAppConnection0+func (t DeleteAwsAppConnection200JSONResponseBody_AppConnection) AsDeleteAwsAppConnection200JSONResponseBodyAppConnection0() (DeleteAwsAppConnection200JSONResponseBodyAppConnection0, error) {+ var body DeleteAwsAppConnection200JSONResponseBodyAppConnection0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromDeleteAwsAppConnection200JSONResponseBodyAppConnection0 overwrites any union data inside the DeleteAwsAppConnection200JSONResponseBody_AppConnection as the provided DeleteAwsAppConnection200JSONResponseBodyAppConnection0+func (t *DeleteAwsAppConnection200JSONResponseBody_AppConnection) FromDeleteAwsAppConnection200JSONResponseBodyAppConnection0(v DeleteAwsAppConnection200JSONResponseBodyAppConnection0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeDeleteAwsAppConnection200JSONResponseBodyAppConnection0 performs a merge with any union data inside the DeleteAwsAppConnection200JSONResponseBody_AppConnection, using the provided DeleteAwsAppConnection200JSONResponseBodyAppConnection0+func (t *DeleteAwsAppConnection200JSONResponseBody_AppConnection) MergeDeleteAwsAppConnection200JSONResponseBodyAppConnection0(v DeleteAwsAppConnection200JSONResponseBodyAppConnection0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++// AsDeleteAwsAppConnection200JSONResponseBodyAppConnection1 returns the union data inside the DeleteAwsAppConnection200JSONResponseBody_AppConnection as a DeleteAwsAppConnection200JSONResponseBodyAppConnection1+func (t DeleteAwsAppConnection200JSONResponseBody_AppConnection) AsDeleteAwsAppConnection200JSONResponseBodyAppConnection1() (DeleteAwsAppConnection200JSONResponseBodyAppConnection1, error) {+ var body DeleteAwsAppConnection200JSONResponseBodyAppConnection1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromDeleteAwsAppConnection200JSONResponseBodyAppConnection1 overwrites any union data inside the DeleteAwsAppConnection200JSONResponseBody_AppConnection as the provided DeleteAwsAppConnection200JSONResponseBodyAppConnection1+func (t *DeleteAwsAppConnection200JSONResponseBody_AppConnection) FromDeleteAwsAppConnection200JSONResponseBodyAppConnection1(v DeleteAwsAppConnection200JSONResponseBodyAppConnection1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeDeleteAwsAppConnection200JSONResponseBodyAppConnection1 performs a merge with any union data inside the DeleteAwsAppConnection200JSONResponseBody_AppConnection, using the provided DeleteAwsAppConnection200JSONResponseBodyAppConnection1+func (t *DeleteAwsAppConnection200JSONResponseBody_AppConnection) MergeDeleteAwsAppConnection200JSONResponseBodyAppConnection1(v DeleteAwsAppConnection200JSONResponseBodyAppConnection1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++func (t DeleteAwsAppConnection200JSONResponseBody_AppConnection) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}++func (t *DeleteAwsAppConnection200JSONResponseBody_AppConnection) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}++// AsGetAwsAppConnection200JSONResponseBodyAppConnection0 returns the union data inside the GetAwsAppConnection200JSONResponseBody_AppConnection as a GetAwsAppConnection200JSONResponseBodyAppConnection0+func (t GetAwsAppConnection200JSONResponseBody_AppConnection) AsGetAwsAppConnection200JSONResponseBodyAppConnection0() (GetAwsAppConnection200JSONResponseBodyAppConnection0, error) {+ var body GetAwsAppConnection200JSONResponseBodyAppConnection0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromGetAwsAppConnection200JSONResponseBodyAppConnection0 overwrites any union data inside the GetAwsAppConnection200JSONResponseBody_AppConnection as the provided GetAwsAppConnection200JSONResponseBodyAppConnection0+func (t *GetAwsAppConnection200JSONResponseBody_AppConnection) FromGetAwsAppConnection200JSONResponseBodyAppConnection0(v GetAwsAppConnection200JSONResponseBodyAppConnection0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeGetAwsAppConnection200JSONResponseBodyAppConnection0 performs a merge with any union data inside the GetAwsAppConnection200JSONResponseBody_AppConnection, using the provided GetAwsAppConnection200JSONResponseBodyAppConnection0+func (t *GetAwsAppConnection200JSONResponseBody_AppConnection) MergeGetAwsAppConnection200JSONResponseBodyAppConnection0(v GetAwsAppConnection200JSONResponseBodyAppConnection0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++// AsGetAwsAppConnection200JSONResponseBodyAppConnection1 returns the union data inside the GetAwsAppConnection200JSONResponseBody_AppConnection as a GetAwsAppConnection200JSONResponseBodyAppConnection1+func (t GetAwsAppConnection200JSONResponseBody_AppConnection) AsGetAwsAppConnection200JSONResponseBodyAppConnection1() (GetAwsAppConnection200JSONResponseBodyAppConnection1, error) {+ var body GetAwsAppConnection200JSONResponseBodyAppConnection1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromGetAwsAppConnection200JSONResponseBodyAppConnection1 overwrites any union data inside the GetAwsAppConnection200JSONResponseBody_AppConnection as the provided GetAwsAppConnection200JSONResponseBodyAppConnection1+func (t *GetAwsAppConnection200JSONResponseBody_AppConnection) FromGetAwsAppConnection200JSONResponseBodyAppConnection1(v GetAwsAppConnection200JSONResponseBodyAppConnection1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeGetAwsAppConnection200JSONResponseBodyAppConnection1 performs a merge with any union data inside the GetAwsAppConnection200JSONResponseBody_AppConnection, using the provided GetAwsAppConnection200JSONResponseBodyAppConnection1+func (t *GetAwsAppConnection200JSONResponseBody_AppConnection) MergeGetAwsAppConnection200JSONResponseBodyAppConnection1(v GetAwsAppConnection200JSONResponseBodyAppConnection1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++func (t GetAwsAppConnection200JSONResponseBody_AppConnection) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}++func (t *GetAwsAppConnection200JSONResponseBody_AppConnection) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}++// AsUpdateAwsAppConnectionJSONBodyCredentials0 returns the union data inside the UpdateAwsAppConnectionJSONBody_Credentials as a UpdateAwsAppConnectionJSONBodyCredentials0+func (t UpdateAwsAppConnectionJSONBody_Credentials) AsUpdateAwsAppConnectionJSONBodyCredentials0() (UpdateAwsAppConnectionJSONBodyCredentials0, error) {+ var body UpdateAwsAppConnectionJSONBodyCredentials0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromUpdateAwsAppConnectionJSONBodyCredentials0 overwrites any union data inside the UpdateAwsAppConnectionJSONBody_Credentials as the provided UpdateAwsAppConnectionJSONBodyCredentials0+func (t *UpdateAwsAppConnectionJSONBody_Credentials) FromUpdateAwsAppConnectionJSONBodyCredentials0(v UpdateAwsAppConnectionJSONBodyCredentials0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeUpdateAwsAppConnectionJSONBodyCredentials0 performs a merge with any union data inside the UpdateAwsAppConnectionJSONBody_Credentials, using the provided UpdateAwsAppConnectionJSONBodyCredentials0+func (t *UpdateAwsAppConnectionJSONBody_Credentials) MergeUpdateAwsAppConnectionJSONBodyCredentials0(v UpdateAwsAppConnectionJSONBodyCredentials0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++// AsUpdateAwsAppConnectionJSONBodyCredentials1 returns the union data inside the UpdateAwsAppConnectionJSONBody_Credentials as a UpdateAwsAppConnectionJSONBodyCredentials1+func (t UpdateAwsAppConnectionJSONBody_Credentials) AsUpdateAwsAppConnectionJSONBodyCredentials1() (UpdateAwsAppConnectionJSONBodyCredentials1, error) {+ var body UpdateAwsAppConnectionJSONBodyCredentials1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromUpdateAwsAppConnectionJSONBodyCredentials1 overwrites any union data inside the UpdateAwsAppConnectionJSONBody_Credentials as the provided UpdateAwsAppConnectionJSONBodyCredentials1+func (t *UpdateAwsAppConnectionJSONBody_Credentials) FromUpdateAwsAppConnectionJSONBodyCredentials1(v UpdateAwsAppConnectionJSONBodyCredentials1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeUpdateAwsAppConnectionJSONBodyCredentials1 performs a merge with any union data inside the UpdateAwsAppConnectionJSONBody_Credentials, using the provided UpdateAwsAppConnectionJSONBodyCredentials1+func (t *UpdateAwsAppConnectionJSONBody_Credentials) MergeUpdateAwsAppConnectionJSONBodyCredentials1(v UpdateAwsAppConnectionJSONBodyCredentials1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++func (t UpdateAwsAppConnectionJSONBody_Credentials) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}++func (t *UpdateAwsAppConnectionJSONBody_Credentials) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}++// AsUpdateAwsAppConnectionJSONBodyGatewayId0 returns the union data inside the UpdateAwsAppConnectionJSONBody_GatewayId as a UpdateAwsAppConnectionJSONBodyGatewayId0+func (t UpdateAwsAppConnectionJSONBody_GatewayId) AsUpdateAwsAppConnectionJSONBodyGatewayId0() (UpdateAwsAppConnectionJSONBodyGatewayId0, error) {+ var body UpdateAwsAppConnectionJSONBodyGatewayId0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromUpdateAwsAppConnectionJSONBodyGatewayId0 overwrites any union data inside the UpdateAwsAppConnectionJSONBody_GatewayId as the provided UpdateAwsAppConnectionJSONBodyGatewayId0+func (t *UpdateAwsAppConnectionJSONBody_GatewayId) FromUpdateAwsAppConnectionJSONBodyGatewayId0(v UpdateAwsAppConnectionJSONBodyGatewayId0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeUpdateAwsAppConnectionJSONBodyGatewayId0 performs a merge with any union data inside the UpdateAwsAppConnectionJSONBody_GatewayId, using the provided UpdateAwsAppConnectionJSONBodyGatewayId0+func (t *UpdateAwsAppConnectionJSONBody_GatewayId) MergeUpdateAwsAppConnectionJSONBodyGatewayId0(v UpdateAwsAppConnectionJSONBodyGatewayId0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++// AsUpdateAwsAppConnectionJSONBodyGatewayId1 returns the union data inside the UpdateAwsAppConnectionJSONBody_GatewayId as a UpdateAwsAppConnectionJSONBodyGatewayId1+func (t UpdateAwsAppConnectionJSONBody_GatewayId) AsUpdateAwsAppConnectionJSONBodyGatewayId1() (UpdateAwsAppConnectionJSONBodyGatewayId1, error) {+ var body UpdateAwsAppConnectionJSONBodyGatewayId1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromUpdateAwsAppConnectionJSONBodyGatewayId1 overwrites any union data inside the UpdateAwsAppConnectionJSONBody_GatewayId as the provided UpdateAwsAppConnectionJSONBodyGatewayId1+func (t *UpdateAwsAppConnectionJSONBody_GatewayId) FromUpdateAwsAppConnectionJSONBodyGatewayId1(v UpdateAwsAppConnectionJSONBodyGatewayId1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeUpdateAwsAppConnectionJSONBodyGatewayId1 performs a merge with any union data inside the UpdateAwsAppConnectionJSONBody_GatewayId, using the provided UpdateAwsAppConnectionJSONBodyGatewayId1+func (t *UpdateAwsAppConnectionJSONBody_GatewayId) MergeUpdateAwsAppConnectionJSONBodyGatewayId1(v UpdateAwsAppConnectionJSONBodyGatewayId1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++func (t UpdateAwsAppConnectionJSONBody_GatewayId) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}++func (t *UpdateAwsAppConnectionJSONBody_GatewayId) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}++// AsUpdateAwsAppConnectionJSONBodyGatewayPoolId0 returns the union data inside the UpdateAwsAppConnectionJSONBody_GatewayPoolId as a UpdateAwsAppConnectionJSONBodyGatewayPoolId0+func (t UpdateAwsAppConnectionJSONBody_GatewayPoolId) AsUpdateAwsAppConnectionJSONBodyGatewayPoolId0() (UpdateAwsAppConnectionJSONBodyGatewayPoolId0, error) {+ var body UpdateAwsAppConnectionJSONBodyGatewayPoolId0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromUpdateAwsAppConnectionJSONBodyGatewayPoolId0 overwrites any union data inside the UpdateAwsAppConnectionJSONBody_GatewayPoolId as the provided UpdateAwsAppConnectionJSONBodyGatewayPoolId0+func (t *UpdateAwsAppConnectionJSONBody_GatewayPoolId) FromUpdateAwsAppConnectionJSONBodyGatewayPoolId0(v UpdateAwsAppConnectionJSONBodyGatewayPoolId0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeUpdateAwsAppConnectionJSONBodyGatewayPoolId0 performs a merge with any union data inside the UpdateAwsAppConnectionJSONBody_GatewayPoolId, using the provided UpdateAwsAppConnectionJSONBodyGatewayPoolId0+func (t *UpdateAwsAppConnectionJSONBody_GatewayPoolId) MergeUpdateAwsAppConnectionJSONBodyGatewayPoolId0(v UpdateAwsAppConnectionJSONBodyGatewayPoolId0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++// AsUpdateAwsAppConnectionJSONBodyGatewayPoolId1 returns the union data inside the UpdateAwsAppConnectionJSONBody_GatewayPoolId as a UpdateAwsAppConnectionJSONBodyGatewayPoolId1+func (t UpdateAwsAppConnectionJSONBody_GatewayPoolId) AsUpdateAwsAppConnectionJSONBodyGatewayPoolId1() (UpdateAwsAppConnectionJSONBodyGatewayPoolId1, error) {+ var body UpdateAwsAppConnectionJSONBodyGatewayPoolId1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromUpdateAwsAppConnectionJSONBodyGatewayPoolId1 overwrites any union data inside the UpdateAwsAppConnectionJSONBody_GatewayPoolId as the provided UpdateAwsAppConnectionJSONBodyGatewayPoolId1+func (t *UpdateAwsAppConnectionJSONBody_GatewayPoolId) FromUpdateAwsAppConnectionJSONBodyGatewayPoolId1(v UpdateAwsAppConnectionJSONBodyGatewayPoolId1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeUpdateAwsAppConnectionJSONBodyGatewayPoolId1 performs a merge with any union data inside the UpdateAwsAppConnectionJSONBody_GatewayPoolId, using the provided UpdateAwsAppConnectionJSONBodyGatewayPoolId1+func (t *UpdateAwsAppConnectionJSONBody_GatewayPoolId) MergeUpdateAwsAppConnectionJSONBodyGatewayPoolId1(v UpdateAwsAppConnectionJSONBodyGatewayPoolId1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++func (t UpdateAwsAppConnectionJSONBody_GatewayPoolId) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}++func (t *UpdateAwsAppConnectionJSONBody_GatewayPoolId) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}++// AsUpdateAwsAppConnectionJSONBodyRotation0 returns the union data inside the UpdateAwsAppConnectionJSONBody_Rotation as a UpdateAwsAppConnectionJSONBodyRotation0+func (t UpdateAwsAppConnectionJSONBody_Rotation) AsUpdateAwsAppConnectionJSONBodyRotation0() (UpdateAwsAppConnectionJSONBodyRotation0, error) {+ var body UpdateAwsAppConnectionJSONBodyRotation0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromUpdateAwsAppConnectionJSONBodyRotation0 overwrites any union data inside the UpdateAwsAppConnectionJSONBody_Rotation as the provided UpdateAwsAppConnectionJSONBodyRotation0+func (t *UpdateAwsAppConnectionJSONBody_Rotation) FromUpdateAwsAppConnectionJSONBodyRotation0(v UpdateAwsAppConnectionJSONBodyRotation0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeUpdateAwsAppConnectionJSONBodyRotation0 performs a merge with any union data inside the UpdateAwsAppConnectionJSONBody_Rotation, using the provided UpdateAwsAppConnectionJSONBodyRotation0+func (t *UpdateAwsAppConnectionJSONBody_Rotation) MergeUpdateAwsAppConnectionJSONBodyRotation0(v UpdateAwsAppConnectionJSONBodyRotation0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++// AsUpdateAwsAppConnectionJSONBodyRotation1 returns the union data inside the UpdateAwsAppConnectionJSONBody_Rotation as a UpdateAwsAppConnectionJSONBodyRotation1+func (t UpdateAwsAppConnectionJSONBody_Rotation) AsUpdateAwsAppConnectionJSONBodyRotation1() (UpdateAwsAppConnectionJSONBodyRotation1, error) {+ var body UpdateAwsAppConnectionJSONBodyRotation1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromUpdateAwsAppConnectionJSONBodyRotation1 overwrites any union data inside the UpdateAwsAppConnectionJSONBody_Rotation as the provided UpdateAwsAppConnectionJSONBodyRotation1+func (t *UpdateAwsAppConnectionJSONBody_Rotation) FromUpdateAwsAppConnectionJSONBodyRotation1(v UpdateAwsAppConnectionJSONBodyRotation1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeUpdateAwsAppConnectionJSONBodyRotation1 performs a merge with any union data inside the UpdateAwsAppConnectionJSONBody_Rotation, using the provided UpdateAwsAppConnectionJSONBodyRotation1+func (t *UpdateAwsAppConnectionJSONBody_Rotation) MergeUpdateAwsAppConnectionJSONBodyRotation1(v UpdateAwsAppConnectionJSONBodyRotation1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++func (t UpdateAwsAppConnectionJSONBody_Rotation) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}++func (t *UpdateAwsAppConnectionJSONBody_Rotation) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}++// AsUpdateAwsAppConnection200JSONResponseBodyAppConnection0 returns the union data inside the UpdateAwsAppConnection200JSONResponseBody_AppConnection as a UpdateAwsAppConnection200JSONResponseBodyAppConnection0+func (t UpdateAwsAppConnection200JSONResponseBody_AppConnection) AsUpdateAwsAppConnection200JSONResponseBodyAppConnection0() (UpdateAwsAppConnection200JSONResponseBodyAppConnection0, error) {+ var body UpdateAwsAppConnection200JSONResponseBodyAppConnection0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromUpdateAwsAppConnection200JSONResponseBodyAppConnection0 overwrites any union data inside the UpdateAwsAppConnection200JSONResponseBody_AppConnection as the provided UpdateAwsAppConnection200JSONResponseBodyAppConnection0+func (t *UpdateAwsAppConnection200JSONResponseBody_AppConnection) FromUpdateAwsAppConnection200JSONResponseBodyAppConnection0(v UpdateAwsAppConnection200JSONResponseBodyAppConnection0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeUpdateAwsAppConnection200JSONResponseBodyAppConnection0 performs a merge with any union data inside the UpdateAwsAppConnection200JSONResponseBody_AppConnection, using the provided UpdateAwsAppConnection200JSONResponseBodyAppConnection0+func (t *UpdateAwsAppConnection200JSONResponseBody_AppConnection) MergeUpdateAwsAppConnection200JSONResponseBodyAppConnection0(v UpdateAwsAppConnection200JSONResponseBodyAppConnection0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++// AsUpdateAwsAppConnection200JSONResponseBodyAppConnection1 returns the union data inside the UpdateAwsAppConnection200JSONResponseBody_AppConnection as a UpdateAwsAppConnection200JSONResponseBodyAppConnection1+func (t UpdateAwsAppConnection200JSONResponseBody_AppConnection) AsUpdateAwsAppConnection200JSONResponseBodyAppConnection1() (UpdateAwsAppConnection200JSONResponseBodyAppConnection1, error) {+ var body UpdateAwsAppConnection200JSONResponseBodyAppConnection1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromUpdateAwsAppConnection200JSONResponseBodyAppConnection1 overwrites any union data inside the UpdateAwsAppConnection200JSONResponseBody_AppConnection as the provided UpdateAwsAppConnection200JSONResponseBodyAppConnection1+func (t *UpdateAwsAppConnection200JSONResponseBody_AppConnection) FromUpdateAwsAppConnection200JSONResponseBodyAppConnection1(v UpdateAwsAppConnection200JSONResponseBodyAppConnection1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeUpdateAwsAppConnection200JSONResponseBodyAppConnection1 performs a merge with any union data inside the UpdateAwsAppConnection200JSONResponseBody_AppConnection, using the provided UpdateAwsAppConnection200JSONResponseBodyAppConnection1+func (t *UpdateAwsAppConnection200JSONResponseBody_AppConnection) MergeUpdateAwsAppConnection200JSONResponseBodyAppConnection1(v UpdateAwsAppConnection200JSONResponseBodyAppConnection1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++func (t UpdateAwsAppConnection200JSONResponseBody_AppConnection) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}++func (t *UpdateAwsAppConnection200JSONResponseBody_AppConnection) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}++// AsCreateAzureKeyVaultAppConnectionJSONBody0 returns the union data inside the CreateAzureKeyVaultAppConnectionJSONBody as a CreateAzureKeyVaultAppConnectionJSONBody0+func (t CreateAzureKeyVaultAppConnectionJSONBody) AsCreateAzureKeyVaultAppConnectionJSONBody0() (CreateAzureKeyVaultAppConnectionJSONBody0, error) {+ var body CreateAzureKeyVaultAppConnectionJSONBody0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateAzureKeyVaultAppConnectionJSONBody0 overwrites any union data inside the CreateAzureKeyVaultAppConnectionJSONBody as the provided CreateAzureKeyVaultAppConnectionJSONBody0+func (t *CreateAzureKeyVaultAppConnectionJSONBody) FromCreateAzureKeyVaultAppConnectionJSONBody0(v CreateAzureKeyVaultAppConnectionJSONBody0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateAzureKeyVaultAppConnectionJSONBody0 performs a merge with any union data inside the CreateAzureKeyVaultAppConnectionJSONBody, using the provided CreateAzureKeyVaultAppConnectionJSONBody0+func (t *CreateAzureKeyVaultAppConnectionJSONBody) MergeCreateAzureKeyVaultAppConnectionJSONBody0(v CreateAzureKeyVaultAppConnectionJSONBody0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++// AsCreateAzureKeyVaultAppConnectionJSONBody1 returns the union data inside the CreateAzureKeyVaultAppConnectionJSONBody as a CreateAzureKeyVaultAppConnectionJSONBody1+func (t CreateAzureKeyVaultAppConnectionJSONBody) AsCreateAzureKeyVaultAppConnectionJSONBody1() (CreateAzureKeyVaultAppConnectionJSONBody1, error) {+ var body CreateAzureKeyVaultAppConnectionJSONBody1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateAzureKeyVaultAppConnectionJSONBody1 overwrites any union data inside the CreateAzureKeyVaultAppConnectionJSONBody as the provided CreateAzureKeyVaultAppConnectionJSONBody1+func (t *CreateAzureKeyVaultAppConnectionJSONBody) FromCreateAzureKeyVaultAppConnectionJSONBody1(v CreateAzureKeyVaultAppConnectionJSONBody1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateAzureKeyVaultAppConnectionJSONBody1 performs a merge with any union data inside the CreateAzureKeyVaultAppConnectionJSONBody, using the provided CreateAzureKeyVaultAppConnectionJSONBody1+func (t *CreateAzureKeyVaultAppConnectionJSONBody) MergeCreateAzureKeyVaultAppConnectionJSONBody1(v CreateAzureKeyVaultAppConnectionJSONBody1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++// AsCreateAzureKeyVaultAppConnectionJSONBody2 returns the union data inside the CreateAzureKeyVaultAppConnectionJSONBody as a CreateAzureKeyVaultAppConnectionJSONBody2+func (t CreateAzureKeyVaultAppConnectionJSONBody) AsCreateAzureKeyVaultAppConnectionJSONBody2() (CreateAzureKeyVaultAppConnectionJSONBody2, error) {+ var body CreateAzureKeyVaultAppConnectionJSONBody2+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateAzureKeyVaultAppConnectionJSONBody2 overwrites any union data inside the CreateAzureKeyVaultAppConnectionJSONBody as the provided CreateAzureKeyVaultAppConnectionJSONBody2+func (t *CreateAzureKeyVaultAppConnectionJSONBody) FromCreateAzureKeyVaultAppConnectionJSONBody2(v CreateAzureKeyVaultAppConnectionJSONBody2) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateAzureKeyVaultAppConnectionJSONBody2 performs a merge with any union data inside the CreateAzureKeyVaultAppConnectionJSONBody, using the provided CreateAzureKeyVaultAppConnectionJSONBody2+func (t *CreateAzureKeyVaultAppConnectionJSONBody) MergeCreateAzureKeyVaultAppConnectionJSONBody2(v CreateAzureKeyVaultAppConnectionJSONBody2) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++// AsCreateAzureKeyVaultAppConnectionJSONBody3 returns the union data inside the CreateAzureKeyVaultAppConnectionJSONBody as a CreateAzureKeyVaultAppConnectionJSONBody3+func (t CreateAzureKeyVaultAppConnectionJSONBody) AsCreateAzureKeyVaultAppConnectionJSONBody3() (CreateAzureKeyVaultAppConnectionJSONBody3, error) {+ var body CreateAzureKeyVaultAppConnectionJSONBody3+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateAzureKeyVaultAppConnectionJSONBody3 overwrites any union data inside the CreateAzureKeyVaultAppConnectionJSONBody as the provided CreateAzureKeyVaultAppConnectionJSONBody3+func (t *CreateAzureKeyVaultAppConnectionJSONBody) FromCreateAzureKeyVaultAppConnectionJSONBody3(v CreateAzureKeyVaultAppConnectionJSONBody3) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateAzureKeyVaultAppConnectionJSONBody3 performs a merge with any union data inside the CreateAzureKeyVaultAppConnectionJSONBody, using the provided CreateAzureKeyVaultAppConnectionJSONBody3+func (t *CreateAzureKeyVaultAppConnectionJSONBody) MergeCreateAzureKeyVaultAppConnectionJSONBody3(v CreateAzureKeyVaultAppConnectionJSONBody3) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++func (t CreateAzureKeyVaultAppConnectionJSONBody) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ if err != nil {+ return nil, err+ }+ object := make(map[string]json.RawMessage)+ if t.union != nil {+ err = json.Unmarshal(b, &object)+ if err != nil {+ return nil, err+ }+ }++ if t.Description != nil {+ object["description"], err = json.Marshal(t.Description)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'description': %w", err)+ }+ }++ if t.GatewayId != nil {+ object["gatewayId"], err = json.Marshal(t.GatewayId)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'gatewayId': %w", err)+ }+ }++ if t.GatewayPoolId != nil {+ object["gatewayPoolId"], err = json.Marshal(t.GatewayPoolId)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'gatewayPoolId': %w", err)+ }+ }++ if t.IsAutoRotationEnabled != nil {+ object["isAutoRotationEnabled"], err = json.Marshal(t.IsAutoRotationEnabled)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'isAutoRotationEnabled': %w", err)+ }+ }++ if t.IsPlatformManagedCredentials != nil {+ object["isPlatformManagedCredentials"], err = json.Marshal(t.IsPlatformManagedCredentials)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'isPlatformManagedCredentials': %w", err)+ }+ }++ object["name"], err = json.Marshal(t.Name)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'name': %w", err)+ }++ if t.ProjectId != nil {+ object["projectId"], err = json.Marshal(t.ProjectId)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'projectId': %w", err)+ }+ }++ if t.Rotation != nil {+ object["rotation"], err = json.Marshal(t.Rotation)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'rotation': %w", err)+ }+ }+ b, err = json.Marshal(object)+ return b, err+}++func (t *CreateAzureKeyVaultAppConnectionJSONBody) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ if err != nil {+ return err+ }+ object := make(map[string]json.RawMessage)+ err = json.Unmarshal(b, &object)+ if err != nil {+ return err+ }++ if raw, found := object["description"]; found {+ err = json.Unmarshal(raw, &t.Description)+ if err != nil {+ return fmt.Errorf("error reading 'description': %w", err)+ }+ }++ if raw, found := object["gatewayId"]; found {+ err = json.Unmarshal(raw, &t.GatewayId)+ if err != nil {+ return fmt.Errorf("error reading 'gatewayId': %w", err)+ }+ }++ if raw, found := object["gatewayPoolId"]; found {+ err = json.Unmarshal(raw, &t.GatewayPoolId)+ if err != nil {+ return fmt.Errorf("error reading 'gatewayPoolId': %w", err)+ }+ }++ if raw, found := object["isAutoRotationEnabled"]; found {+ err = json.Unmarshal(raw, &t.IsAutoRotationEnabled)+ if err != nil {+ return fmt.Errorf("error reading 'isAutoRotationEnabled': %w", err)+ }+ }++ if raw, found := object["isPlatformManagedCredentials"]; found {+ err = json.Unmarshal(raw, &t.IsPlatformManagedCredentials)+ if err != nil {+ return fmt.Errorf("error reading 'isPlatformManagedCredentials': %w", err)+ }+ }++ if raw, found := object["name"]; found {+ err = json.Unmarshal(raw, &t.Name)+ if err != nil {+ return fmt.Errorf("error reading 'name': %w", err)+ }+ }++ if raw, found := object["projectId"]; found {+ err = json.Unmarshal(raw, &t.ProjectId)+ if err != nil {+ return fmt.Errorf("error reading 'projectId': %w", err)+ }+ }++ if raw, found := object["rotation"]; found {+ err = json.Unmarshal(raw, &t.Rotation)+ if err != nil {+ return fmt.Errorf("error reading 'rotation': %w", err)+ }+ }++ return err+}++// AsCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0 returns the union data inside the CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as a CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0+func (t CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) AsCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0() (CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0, error) {+ var body CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0err := json.Unmarshal(t.union, &body)return body, err}-// FromCreateAwsAppConnection200JSONResponseBodyAppConnection1 overwrites any union data inside the CreateAwsAppConnection200JSONResponseBody_AppConnection as the provided CreateAwsAppConnection200JSONResponseBodyAppConnection1-func (t *CreateAwsAppConnection200JSONResponseBody_AppConnection) FromCreateAwsAppConnection200JSONResponseBodyAppConnection1(v CreateAwsAppConnection200JSONResponseBodyAppConnection1) error {+// FromCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0 overwrites any union data inside the CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as the provided CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0+func (t *CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) FromCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0(v CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0) error {b, err := json.Marshal(v)t.union = breturn err}-// MergeCreateAwsAppConnection200JSONResponseBodyAppConnection1 performs a merge with any union data inside the CreateAwsAppConnection200JSONResponseBody_AppConnection, using the provided CreateAwsAppConnection200JSONResponseBodyAppConnection1-func (t *CreateAwsAppConnection200JSONResponseBody_AppConnection) MergeCreateAwsAppConnection200JSONResponseBodyAppConnection1(v CreateAwsAppConnection200JSONResponseBodyAppConnection1) error {+// MergeCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0 performs a merge with any union data inside the CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection, using the provided CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0+func (t *CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) MergeCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0(v CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0) error {b, err := json.Marshal(v)if err != nil {return err@@ -127219,32 +129952,22 @@ func (t *CreateAwsAppConnection200JSONResponseBody_AppConnection) MergeCreateAwsreturn err}-func (t CreateAwsAppConnection200JSONResponseBody_AppConnection) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}--func (t *CreateAwsAppConnection200JSONResponseBody_AppConnection) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}--// AsGetAwsAppConnectionByName200JSONResponseBodyAppConnection0 returns the union data inside the GetAwsAppConnectionByName200JSONResponseBody_AppConnection as a GetAwsAppConnectionByName200JSONResponseBodyAppConnection0-func (t GetAwsAppConnectionByName200JSONResponseBody_AppConnection) AsGetAwsAppConnectionByName200JSONResponseBodyAppConnection0() (GetAwsAppConnectionByName200JSONResponseBodyAppConnection0, error) {- var body GetAwsAppConnectionByName200JSONResponseBodyAppConnection0+// AsCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1 returns the union data inside the CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as a CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1+func (t CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) AsCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1() (CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1, error) {+ var body CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1err := json.Unmarshal(t.union, &body)return body, err}-// FromGetAwsAppConnectionByName200JSONResponseBodyAppConnection0 overwrites any union data inside the GetAwsAppConnectionByName200JSONResponseBody_AppConnection as the provided GetAwsAppConnectionByName200JSONResponseBodyAppConnection0-func (t *GetAwsAppConnectionByName200JSONResponseBody_AppConnection) FromGetAwsAppConnectionByName200JSONResponseBodyAppConnection0(v GetAwsAppConnectionByName200JSONResponseBodyAppConnection0) error {+// FromCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1 overwrites any union data inside the CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as the provided CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1+func (t *CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) FromCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1(v CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1) error {b, err := json.Marshal(v)t.union = breturn err}-// MergeGetAwsAppConnectionByName200JSONResponseBodyAppConnection0 performs a merge with any union data inside the GetAwsAppConnectionByName200JSONResponseBody_AppConnection, using the provided GetAwsAppConnectionByName200JSONResponseBodyAppConnection0-func (t *GetAwsAppConnectionByName200JSONResponseBody_AppConnection) MergeGetAwsAppConnectionByName200JSONResponseBodyAppConnection0(v GetAwsAppConnectionByName200JSONResponseBodyAppConnection0) error {+// MergeCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1 performs a merge with any union data inside the CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection, using the provided CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1+func (t *CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) MergeCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1(v CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1) error {b, err := json.Marshal(v)if err != nil {return err@@ -127255,58 +129978,22 @@ func (t *GetAwsAppConnectionByName200JSONResponseBody_AppConnection) MergeGetAwsreturn err}-// AsGetAwsAppConnectionByName200JSONResponseBodyAppConnection1 returns the union data inside the GetAwsAppConnectionByName200JSONResponseBody_AppConnection as a GetAwsAppConnectionByName200JSONResponseBodyAppConnection1-func (t GetAwsAppConnectionByName200JSONResponseBody_AppConnection) AsGetAwsAppConnectionByName200JSONResponseBodyAppConnection1() (GetAwsAppConnectionByName200JSONResponseBodyAppConnection1, error) {- var body GetAwsAppConnectionByName200JSONResponseBodyAppConnection1- err := json.Unmarshal(t.union, &body)- return body, err-}--// FromGetAwsAppConnectionByName200JSONResponseBodyAppConnection1 overwrites any union data inside the GetAwsAppConnectionByName200JSONResponseBody_AppConnection as the provided GetAwsAppConnectionByName200JSONResponseBodyAppConnection1-func (t *GetAwsAppConnectionByName200JSONResponseBody_AppConnection) FromGetAwsAppConnectionByName200JSONResponseBodyAppConnection1(v GetAwsAppConnectionByName200JSONResponseBodyAppConnection1) error {- b, err := json.Marshal(v)- t.union = b- return err-}--// MergeGetAwsAppConnectionByName200JSONResponseBodyAppConnection1 performs a merge with any union data inside the GetAwsAppConnectionByName200JSONResponseBody_AppConnection, using the provided GetAwsAppConnectionByName200JSONResponseBodyAppConnection1-func (t *GetAwsAppConnectionByName200JSONResponseBody_AppConnection) MergeGetAwsAppConnectionByName200JSONResponseBodyAppConnection1(v GetAwsAppConnectionByName200JSONResponseBodyAppConnection1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }-- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}--func (t GetAwsAppConnectionByName200JSONResponseBody_AppConnection) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}--func (t *GetAwsAppConnectionByName200JSONResponseBody_AppConnection) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}--// AsDeleteAwsAppConnection200JSONResponseBodyAppConnection0 returns the union data inside the DeleteAwsAppConnection200JSONResponseBody_AppConnection as a DeleteAwsAppConnection200JSONResponseBodyAppConnection0-func (t DeleteAwsAppConnection200JSONResponseBody_AppConnection) AsDeleteAwsAppConnection200JSONResponseBodyAppConnection0() (DeleteAwsAppConnection200JSONResponseBodyAppConnection0, error) {- var body DeleteAwsAppConnection200JSONResponseBodyAppConnection0+// AsCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2 returns the union data inside the CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as a CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2+func (t CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) AsCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2() (CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2, error) {+ var body CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2err := json.Unmarshal(t.union, &body)return body, err}-// FromDeleteAwsAppConnection200JSONResponseBodyAppConnection0 overwrites any union data inside the DeleteAwsAppConnection200JSONResponseBody_AppConnection as the provided DeleteAwsAppConnection200JSONResponseBodyAppConnection0-func (t *DeleteAwsAppConnection200JSONResponseBody_AppConnection) FromDeleteAwsAppConnection200JSONResponseBodyAppConnection0(v DeleteAwsAppConnection200JSONResponseBodyAppConnection0) error {+// FromCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2 overwrites any union data inside the CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as the provided CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2+func (t *CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) FromCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2(v CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2) error {b, err := json.Marshal(v)t.union = breturn err}-// MergeDeleteAwsAppConnection200JSONResponseBodyAppConnection0 performs a merge with any union data inside the DeleteAwsAppConnection200JSONResponseBody_AppConnection, using the provided DeleteAwsAppConnection200JSONResponseBodyAppConnection0-func (t *DeleteAwsAppConnection200JSONResponseBody_AppConnection) MergeDeleteAwsAppConnection200JSONResponseBodyAppConnection0(v DeleteAwsAppConnection200JSONResponseBodyAppConnection0) error {+// MergeCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2 performs a merge with any union data inside the CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection, using the provided CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2+func (t *CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) MergeCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2(v CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2) error {b, err := json.Marshal(v)if err != nil {return err@@ -127317,22 +130004,22 @@ func (t *DeleteAwsAppConnection200JSONResponseBody_AppConnection) MergeDeleteAwsreturn err}-// AsDeleteAwsAppConnection200JSONResponseBodyAppConnection1 returns the union data inside the DeleteAwsAppConnection200JSONResponseBody_AppConnection as a DeleteAwsAppConnection200JSONResponseBodyAppConnection1-func (t DeleteAwsAppConnection200JSONResponseBody_AppConnection) AsDeleteAwsAppConnection200JSONResponseBodyAppConnection1() (DeleteAwsAppConnection200JSONResponseBodyAppConnection1, error) {- var body DeleteAwsAppConnection200JSONResponseBodyAppConnection1+// AsCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3 returns the union data inside the CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as a CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3+func (t CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) AsCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3() (CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3, error) {+ var body CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3err := json.Unmarshal(t.union, &body)return body, err}-// FromDeleteAwsAppConnection200JSONResponseBodyAppConnection1 overwrites any union data inside the DeleteAwsAppConnection200JSONResponseBody_AppConnection as the provided DeleteAwsAppConnection200JSONResponseBodyAppConnection1-func (t *DeleteAwsAppConnection200JSONResponseBody_AppConnection) FromDeleteAwsAppConnection200JSONResponseBodyAppConnection1(v DeleteAwsAppConnection200JSONResponseBodyAppConnection1) error {+// FromCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3 overwrites any union data inside the CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as the provided CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3+func (t *CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) FromCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3(v CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3) error {b, err := json.Marshal(v)t.union = breturn err}-// MergeDeleteAwsAppConnection200JSONResponseBodyAppConnection1 performs a merge with any union data inside the DeleteAwsAppConnection200JSONResponseBody_AppConnection, using the provided DeleteAwsAppConnection200JSONResponseBodyAppConnection1-func (t *DeleteAwsAppConnection200JSONResponseBody_AppConnection) MergeDeleteAwsAppConnection200JSONResponseBodyAppConnection1(v DeleteAwsAppConnection200JSONResponseBodyAppConnection1) error {+// MergeCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3 performs a merge with any union data inside the CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection, using the provided CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3+func (t *CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) MergeCreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3(v CreateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3) error {b, err := json.Marshal(v)if err != nil {return err@@ -127343,32 +130030,32 @@ func (t *DeleteAwsAppConnection200JSONResponseBody_AppConnection) MergeDeleteAwsreturn err}-func (t DeleteAwsAppConnection200JSONResponseBody_AppConnection) MarshalJSON() ([]byte, error) {+func (t CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) MarshalJSON() ([]byte, error) {b, err := t.union.MarshalJSON()return b, err}-func (t *DeleteAwsAppConnection200JSONResponseBody_AppConnection) UnmarshalJSON(b []byte) error {+func (t *CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) UnmarshalJSON(b []byte) error {err := t.union.UnmarshalJSON(b)return err}-// AsGetAwsAppConnection200JSONResponseBodyAppConnection0 returns the union data inside the GetAwsAppConnection200JSONResponseBody_AppConnection as a GetAwsAppConnection200JSONResponseBodyAppConnection0-func (t GetAwsAppConnection200JSONResponseBody_AppConnection) AsGetAwsAppConnection200JSONResponseBodyAppConnection0() (GetAwsAppConnection200JSONResponseBodyAppConnection0, error) {- var body GetAwsAppConnection200JSONResponseBodyAppConnection0+// AsDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0 returns the union data inside the DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as a DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0+func (t DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) AsDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0() (DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0, error) {+ var body DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0err := json.Unmarshal(t.union, &body)return body, err}-// FromGetAwsAppConnection200JSONResponseBodyAppConnection0 overwrites any union data inside the GetAwsAppConnection200JSONResponseBody_AppConnection as the provided GetAwsAppConnection200JSONResponseBodyAppConnection0-func (t *GetAwsAppConnection200JSONResponseBody_AppConnection) FromGetAwsAppConnection200JSONResponseBodyAppConnection0(v GetAwsAppConnection200JSONResponseBodyAppConnection0) error {+// FromDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0 overwrites any union data inside the DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as the provided DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0+func (t *DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) FromDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0(v DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0) error {b, err := json.Marshal(v)t.union = breturn err}-// MergeGetAwsAppConnection200JSONResponseBodyAppConnection0 performs a merge with any union data inside the GetAwsAppConnection200JSONResponseBody_AppConnection, using the provided GetAwsAppConnection200JSONResponseBodyAppConnection0-func (t *GetAwsAppConnection200JSONResponseBody_AppConnection) MergeGetAwsAppConnection200JSONResponseBodyAppConnection0(v GetAwsAppConnection200JSONResponseBodyAppConnection0) error {+// MergeDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0 performs a merge with any union data inside the DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection, using the provided DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0+func (t *DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) MergeDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0(v DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0) error {b, err := json.Marshal(v)if err != nil {return err@@ -127379,22 +130066,22 @@ func (t *GetAwsAppConnection200JSONResponseBody_AppConnection) MergeGetAwsAppConreturn err}-// AsGetAwsAppConnection200JSONResponseBodyAppConnection1 returns the union data inside the GetAwsAppConnection200JSONResponseBody_AppConnection as a GetAwsAppConnection200JSONResponseBodyAppConnection1-func (t GetAwsAppConnection200JSONResponseBody_AppConnection) AsGetAwsAppConnection200JSONResponseBodyAppConnection1() (GetAwsAppConnection200JSONResponseBodyAppConnection1, error) {- var body GetAwsAppConnection200JSONResponseBodyAppConnection1+// AsDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1 returns the union data inside the DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as a DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1+func (t DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) AsDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1() (DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1, error) {+ var body DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1err := json.Unmarshal(t.union, &body)return body, err}-// FromGetAwsAppConnection200JSONResponseBodyAppConnection1 overwrites any union data inside the GetAwsAppConnection200JSONResponseBody_AppConnection as the provided GetAwsAppConnection200JSONResponseBodyAppConnection1-func (t *GetAwsAppConnection200JSONResponseBody_AppConnection) FromGetAwsAppConnection200JSONResponseBodyAppConnection1(v GetAwsAppConnection200JSONResponseBodyAppConnection1) error {+// FromDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1 overwrites any union data inside the DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as the provided DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1+func (t *DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) FromDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1(v DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1) error {b, err := json.Marshal(v)t.union = breturn err}-// MergeGetAwsAppConnection200JSONResponseBodyAppConnection1 performs a merge with any union data inside the GetAwsAppConnection200JSONResponseBody_AppConnection, using the provided GetAwsAppConnection200JSONResponseBodyAppConnection1-func (t *GetAwsAppConnection200JSONResponseBody_AppConnection) MergeGetAwsAppConnection200JSONResponseBodyAppConnection1(v GetAwsAppConnection200JSONResponseBodyAppConnection1) error {+// MergeDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1 performs a merge with any union data inside the DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection, using the provided DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1+func (t *DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) MergeDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1(v DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1) error {b, err := json.Marshal(v)if err != nil {return err@@ -127405,32 +130092,22 @@ func (t *GetAwsAppConnection200JSONResponseBody_AppConnection) MergeGetAwsAppConreturn err}-func (t GetAwsAppConnection200JSONResponseBody_AppConnection) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}--func (t *GetAwsAppConnection200JSONResponseBody_AppConnection) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}--// AsUpdateAwsAppConnectionJSONBodyCredentials0 returns the union data inside the UpdateAwsAppConnectionJSONBody_Credentials as a UpdateAwsAppConnectionJSONBodyCredentials0-func (t UpdateAwsAppConnectionJSONBody_Credentials) AsUpdateAwsAppConnectionJSONBodyCredentials0() (UpdateAwsAppConnectionJSONBodyCredentials0, error) {- var body UpdateAwsAppConnectionJSONBodyCredentials0+// AsDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2 returns the union data inside the DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as a DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2+func (t DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) AsDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2() (DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2, error) {+ var body DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2err := json.Unmarshal(t.union, &body)return body, err}-// FromUpdateAwsAppConnectionJSONBodyCredentials0 overwrites any union data inside the UpdateAwsAppConnectionJSONBody_Credentials as the provided UpdateAwsAppConnectionJSONBodyCredentials0-func (t *UpdateAwsAppConnectionJSONBody_Credentials) FromUpdateAwsAppConnectionJSONBodyCredentials0(v UpdateAwsAppConnectionJSONBodyCredentials0) error {+// FromDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2 overwrites any union data inside the DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as the provided DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2+func (t *DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) FromDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2(v DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2) error {b, err := json.Marshal(v)t.union = breturn err}-// MergeUpdateAwsAppConnectionJSONBodyCredentials0 performs a merge with any union data inside the UpdateAwsAppConnectionJSONBody_Credentials, using the provided UpdateAwsAppConnectionJSONBodyCredentials0-func (t *UpdateAwsAppConnectionJSONBody_Credentials) MergeUpdateAwsAppConnectionJSONBodyCredentials0(v UpdateAwsAppConnectionJSONBodyCredentials0) error {+// MergeDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2 performs a merge with any union data inside the DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection, using the provided DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2+func (t *DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) MergeDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2(v DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2) error {b, err := json.Marshal(v)if err != nil {return err@@ -127441,22 +130118,22 @@ func (t *UpdateAwsAppConnectionJSONBody_Credentials) MergeUpdateAwsAppConnectionreturn err}-// AsUpdateAwsAppConnectionJSONBodyCredentials1 returns the union data inside the UpdateAwsAppConnectionJSONBody_Credentials as a UpdateAwsAppConnectionJSONBodyCredentials1-func (t UpdateAwsAppConnectionJSONBody_Credentials) AsUpdateAwsAppConnectionJSONBodyCredentials1() (UpdateAwsAppConnectionJSONBodyCredentials1, error) {- var body UpdateAwsAppConnectionJSONBodyCredentials1+// AsDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3 returns the union data inside the DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as a DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3+func (t DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) AsDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3() (DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3, error) {+ var body DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3err := json.Unmarshal(t.union, &body)return body, err}-// FromUpdateAwsAppConnectionJSONBodyCredentials1 overwrites any union data inside the UpdateAwsAppConnectionJSONBody_Credentials as the provided UpdateAwsAppConnectionJSONBodyCredentials1-func (t *UpdateAwsAppConnectionJSONBody_Credentials) FromUpdateAwsAppConnectionJSONBodyCredentials1(v UpdateAwsAppConnectionJSONBodyCredentials1) error {+// FromDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3 overwrites any union data inside the DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as the provided DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3+func (t *DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) FromDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3(v DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3) error {b, err := json.Marshal(v)t.union = breturn err}-// MergeUpdateAwsAppConnectionJSONBodyCredentials1 performs a merge with any union data inside the UpdateAwsAppConnectionJSONBody_Credentials, using the provided UpdateAwsAppConnectionJSONBodyCredentials1-func (t *UpdateAwsAppConnectionJSONBody_Credentials) MergeUpdateAwsAppConnectionJSONBodyCredentials1(v UpdateAwsAppConnectionJSONBodyCredentials1) error {+// MergeDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3 performs a merge with any union data inside the DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection, using the provided DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3+func (t *DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) MergeDeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3(v DeleteAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3) error {b, err := json.Marshal(v)if err != nil {return err@@ -127467,32 +130144,32 @@ func (t *UpdateAwsAppConnectionJSONBody_Credentials) MergeUpdateAwsAppConnectionreturn err}-func (t UpdateAwsAppConnectionJSONBody_Credentials) MarshalJSON() ([]byte, error) {+func (t DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) MarshalJSON() ([]byte, error) {b, err := t.union.MarshalJSON()return b, err}-func (t *UpdateAwsAppConnectionJSONBody_Credentials) UnmarshalJSON(b []byte) error {+func (t *DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) UnmarshalJSON(b []byte) error {err := t.union.UnmarshalJSON(b)return err}-// AsUpdateAwsAppConnectionJSONBodyGatewayId0 returns the union data inside the UpdateAwsAppConnectionJSONBody_GatewayId as a UpdateAwsAppConnectionJSONBodyGatewayId0-func (t UpdateAwsAppConnectionJSONBody_GatewayId) AsUpdateAwsAppConnectionJSONBodyGatewayId0() (UpdateAwsAppConnectionJSONBodyGatewayId0, error) {- var body UpdateAwsAppConnectionJSONBodyGatewayId0+// AsUpdateAzureKeyVaultAppConnectionJSONBodyCredentials0 returns the union data inside the UpdateAzureKeyVaultAppConnectionJSONBody_Credentials as a UpdateAzureKeyVaultAppConnectionJSONBodyCredentials0+func (t UpdateAzureKeyVaultAppConnectionJSONBody_Credentials) AsUpdateAzureKeyVaultAppConnectionJSONBodyCredentials0() (UpdateAzureKeyVaultAppConnectionJSONBodyCredentials0, error) {+ var body UpdateAzureKeyVaultAppConnectionJSONBodyCredentials0err := json.Unmarshal(t.union, &body)return body, err}-// FromUpdateAwsAppConnectionJSONBodyGatewayId0 overwrites any union data inside the UpdateAwsAppConnectionJSONBody_GatewayId as the provided UpdateAwsAppConnectionJSONBodyGatewayId0-func (t *UpdateAwsAppConnectionJSONBody_GatewayId) FromUpdateAwsAppConnectionJSONBodyGatewayId0(v UpdateAwsAppConnectionJSONBodyGatewayId0) error {+// FromUpdateAzureKeyVaultAppConnectionJSONBodyCredentials0 overwrites any union data inside the UpdateAzureKeyVaultAppConnectionJSONBody_Credentials as the provided UpdateAzureKeyVaultAppConnectionJSONBodyCredentials0+func (t *UpdateAzureKeyVaultAppConnectionJSONBody_Credentials) FromUpdateAzureKeyVaultAppConnectionJSONBodyCredentials0(v UpdateAzureKeyVaultAppConnectionJSONBodyCredentials0) error {b, err := json.Marshal(v)t.union = breturn err}-// MergeUpdateAwsAppConnectionJSONBodyGatewayId0 performs a merge with any union data inside the UpdateAwsAppConnectionJSONBody_GatewayId, using the provided UpdateAwsAppConnectionJSONBodyGatewayId0-func (t *UpdateAwsAppConnectionJSONBody_GatewayId) MergeUpdateAwsAppConnectionJSONBodyGatewayId0(v UpdateAwsAppConnectionJSONBodyGatewayId0) error {+// MergeUpdateAzureKeyVaultAppConnectionJSONBodyCredentials0 performs a merge with any union data inside the UpdateAzureKeyVaultAppConnectionJSONBody_Credentials, using the provided UpdateAzureKeyVaultAppConnectionJSONBodyCredentials0+func (t *UpdateAzureKeyVaultAppConnectionJSONBody_Credentials) MergeUpdateAzureKeyVaultAppConnectionJSONBodyCredentials0(v UpdateAzureKeyVaultAppConnectionJSONBodyCredentials0) error {b, err := json.Marshal(v)if err != nil {return err@@ -127503,22 +130180,22 @@ func (t *UpdateAwsAppConnectionJSONBody_GatewayId) MergeUpdateAwsAppConnectionJSreturn err}-// AsUpdateAwsAppConnectionJSONBodyGatewayId1 returns the union data inside the UpdateAwsAppConnectionJSONBody_GatewayId as a UpdateAwsAppConnectionJSONBodyGatewayId1-func (t UpdateAwsAppConnectionJSONBody_GatewayId) AsUpdateAwsAppConnectionJSONBodyGatewayId1() (UpdateAwsAppConnectionJSONBodyGatewayId1, error) {- var body UpdateAwsAppConnectionJSONBodyGatewayId1+// AsUpdateAzureKeyVaultAppConnectionJSONBodyCredentials1 returns the union data inside the UpdateAzureKeyVaultAppConnectionJSONBody_Credentials as a UpdateAzureKeyVaultAppConnectionJSONBodyCredentials1+func (t UpdateAzureKeyVaultAppConnectionJSONBody_Credentials) AsUpdateAzureKeyVaultAppConnectionJSONBodyCredentials1() (UpdateAzureKeyVaultAppConnectionJSONBodyCredentials1, error) {+ var body UpdateAzureKeyVaultAppConnectionJSONBodyCredentials1err := json.Unmarshal(t.union, &body)return body, err}-// FromUpdateAwsAppConnectionJSONBodyGatewayId1 overwrites any union data inside the UpdateAwsAppConnectionJSONBody_GatewayId as the provided UpdateAwsAppConnectionJSONBodyGatewayId1-func (t *UpdateAwsAppConnectionJSONBody_GatewayId) FromUpdateAwsAppConnectionJSONBodyGatewayId1(v UpdateAwsAppConnectionJSONBodyGatewayId1) error {+// FromUpdateAzureKeyVaultAppConnectionJSONBodyCredentials1 overwrites any union data inside the UpdateAzureKeyVaultAppConnectionJSONBody_Credentials as the provided UpdateAzureKeyVaultAppConnectionJSONBodyCredentials1+func (t *UpdateAzureKeyVaultAppConnectionJSONBody_Credentials) FromUpdateAzureKeyVaultAppConnectionJSONBodyCredentials1(v UpdateAzureKeyVaultAppConnectionJSONBodyCredentials1) error {b, err := json.Marshal(v)t.union = breturn err}-// MergeUpdateAwsAppConnectionJSONBodyGatewayId1 performs a merge with any union data inside the UpdateAwsAppConnectionJSONBody_GatewayId, using the provided UpdateAwsAppConnectionJSONBodyGatewayId1-func (t *UpdateAwsAppConnectionJSONBody_GatewayId) MergeUpdateAwsAppConnectionJSONBodyGatewayId1(v UpdateAwsAppConnectionJSONBodyGatewayId1) error {+// MergeUpdateAzureKeyVaultAppConnectionJSONBodyCredentials1 performs a merge with any union data inside the UpdateAzureKeyVaultAppConnectionJSONBody_Credentials, using the provided UpdateAzureKeyVaultAppConnectionJSONBodyCredentials1+func (t *UpdateAzureKeyVaultAppConnectionJSONBody_Credentials) MergeUpdateAzureKeyVaultAppConnectionJSONBodyCredentials1(v UpdateAzureKeyVaultAppConnectionJSONBodyCredentials1) error {b, err := json.Marshal(v)if err != nil {return err@@ -127529,32 +130206,22 @@ func (t *UpdateAwsAppConnectionJSONBody_GatewayId) MergeUpdateAwsAppConnectionJSreturn err}-func (t UpdateAwsAppConnectionJSONBody_GatewayId) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}--func (t *UpdateAwsAppConnectionJSONBody_GatewayId) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}--// AsUpdateAwsAppConnectionJSONBodyGatewayPoolId0 returns the union data inside the UpdateAwsAppConnectionJSONBody_GatewayPoolId as a UpdateAwsAppConnectionJSONBodyGatewayPoolId0-func (t UpdateAwsAppConnectionJSONBody_GatewayPoolId) AsUpdateAwsAppConnectionJSONBodyGatewayPoolId0() (UpdateAwsAppConnectionJSONBodyGatewayPoolId0, error) {- var body UpdateAwsAppConnectionJSONBodyGatewayPoolId0+// AsUpdateAzureKeyVaultAppConnectionJSONBodyCredentials2 returns the union data inside the UpdateAzureKeyVaultAppConnectionJSONBody_Credentials as a UpdateAzureKeyVaultAppConnectionJSONBodyCredentials2+func (t UpdateAzureKeyVaultAppConnectionJSONBody_Credentials) AsUpdateAzureKeyVaultAppConnectionJSONBodyCredentials2() (UpdateAzureKeyVaultAppConnectionJSONBodyCredentials2, error) {+ var body UpdateAzureKeyVaultAppConnectionJSONBodyCredentials2err := json.Unmarshal(t.union, &body)return body, err}-// FromUpdateAwsAppConnectionJSONBodyGatewayPoolId0 overwrites any union data inside the UpdateAwsAppConnectionJSONBody_GatewayPoolId as the provided UpdateAwsAppConnectionJSONBodyGatewayPoolId0-func (t *UpdateAwsAppConnectionJSONBody_GatewayPoolId) FromUpdateAwsAppConnectionJSONBodyGatewayPoolId0(v UpdateAwsAppConnectionJSONBodyGatewayPoolId0) error {+// FromUpdateAzureKeyVaultAppConnectionJSONBodyCredentials2 overwrites any union data inside the UpdateAzureKeyVaultAppConnectionJSONBody_Credentials as the provided UpdateAzureKeyVaultAppConnectionJSONBodyCredentials2+func (t *UpdateAzureKeyVaultAppConnectionJSONBody_Credentials) FromUpdateAzureKeyVaultAppConnectionJSONBodyCredentials2(v UpdateAzureKeyVaultAppConnectionJSONBodyCredentials2) error {b, err := json.Marshal(v)t.union = breturn err}-// MergeUpdateAwsAppConnectionJSONBodyGatewayPoolId0 performs a merge with any union data inside the UpdateAwsAppConnectionJSONBody_GatewayPoolId, using the provided UpdateAwsAppConnectionJSONBodyGatewayPoolId0-func (t *UpdateAwsAppConnectionJSONBody_GatewayPoolId) MergeUpdateAwsAppConnectionJSONBodyGatewayPoolId0(v UpdateAwsAppConnectionJSONBodyGatewayPoolId0) error {+// MergeUpdateAzureKeyVaultAppConnectionJSONBodyCredentials2 performs a merge with any union data inside the UpdateAzureKeyVaultAppConnectionJSONBody_Credentials, using the provided UpdateAzureKeyVaultAppConnectionJSONBodyCredentials2+func (t *UpdateAzureKeyVaultAppConnectionJSONBody_Credentials) MergeUpdateAzureKeyVaultAppConnectionJSONBodyCredentials2(v UpdateAzureKeyVaultAppConnectionJSONBodyCredentials2) error {b, err := json.Marshal(v)if err != nil {return err@@ -127565,22 +130232,22 @@ func (t *UpdateAwsAppConnectionJSONBody_GatewayPoolId) MergeUpdateAwsAppConnectireturn err}-// AsUpdateAwsAppConnectionJSONBodyGatewayPoolId1 returns the union data inside the UpdateAwsAppConnectionJSONBody_GatewayPoolId as a UpdateAwsAppConnectionJSONBodyGatewayPoolId1-func (t UpdateAwsAppConnectionJSONBody_GatewayPoolId) AsUpdateAwsAppConnectionJSONBodyGatewayPoolId1() (UpdateAwsAppConnectionJSONBodyGatewayPoolId1, error) {- var body UpdateAwsAppConnectionJSONBodyGatewayPoolId1+// AsUpdateAzureKeyVaultAppConnectionJSONBodyCredentials3 returns the union data inside the UpdateAzureKeyVaultAppConnectionJSONBody_Credentials as a UpdateAzureKeyVaultAppConnectionJSONBodyCredentials3+func (t UpdateAzureKeyVaultAppConnectionJSONBody_Credentials) AsUpdateAzureKeyVaultAppConnectionJSONBodyCredentials3() (UpdateAzureKeyVaultAppConnectionJSONBodyCredentials3, error) {+ var body UpdateAzureKeyVaultAppConnectionJSONBodyCredentials3err := json.Unmarshal(t.union, &body)return body, err}-// FromUpdateAwsAppConnectionJSONBodyGatewayPoolId1 overwrites any union data inside the UpdateAwsAppConnectionJSONBody_GatewayPoolId as the provided UpdateAwsAppConnectionJSONBodyGatewayPoolId1-func (t *UpdateAwsAppConnectionJSONBody_GatewayPoolId) FromUpdateAwsAppConnectionJSONBodyGatewayPoolId1(v UpdateAwsAppConnectionJSONBodyGatewayPoolId1) error {+// FromUpdateAzureKeyVaultAppConnectionJSONBodyCredentials3 overwrites any union data inside the UpdateAzureKeyVaultAppConnectionJSONBody_Credentials as the provided UpdateAzureKeyVaultAppConnectionJSONBodyCredentials3+func (t *UpdateAzureKeyVaultAppConnectionJSONBody_Credentials) FromUpdateAzureKeyVaultAppConnectionJSONBodyCredentials3(v UpdateAzureKeyVaultAppConnectionJSONBodyCredentials3) error {b, err := json.Marshal(v)t.union = breturn err}-// MergeUpdateAwsAppConnectionJSONBodyGatewayPoolId1 performs a merge with any union data inside the UpdateAwsAppConnectionJSONBody_GatewayPoolId, using the provided UpdateAwsAppConnectionJSONBodyGatewayPoolId1-func (t *UpdateAwsAppConnectionJSONBody_GatewayPoolId) MergeUpdateAwsAppConnectionJSONBodyGatewayPoolId1(v UpdateAwsAppConnectionJSONBodyGatewayPoolId1) error {+// MergeUpdateAzureKeyVaultAppConnectionJSONBodyCredentials3 performs a merge with any union data inside the UpdateAzureKeyVaultAppConnectionJSONBody_Credentials, using the provided UpdateAzureKeyVaultAppConnectionJSONBodyCredentials3+func (t *UpdateAzureKeyVaultAppConnectionJSONBody_Credentials) MergeUpdateAzureKeyVaultAppConnectionJSONBodyCredentials3(v UpdateAzureKeyVaultAppConnectionJSONBodyCredentials3) error {b, err := json.Marshal(v)if err != nil {return err@@ -127591,32 +130258,32 @@ func (t *UpdateAwsAppConnectionJSONBody_GatewayPoolId) MergeUpdateAwsAppConnectireturn err}-func (t UpdateAwsAppConnectionJSONBody_GatewayPoolId) MarshalJSON() ([]byte, error) {+func (t UpdateAzureKeyVaultAppConnectionJSONBody_Credentials) MarshalJSON() ([]byte, error) {b, err := t.union.MarshalJSON()return b, err}-func (t *UpdateAwsAppConnectionJSONBody_GatewayPoolId) UnmarshalJSON(b []byte) error {+func (t *UpdateAzureKeyVaultAppConnectionJSONBody_Credentials) UnmarshalJSON(b []byte) error {err := t.union.UnmarshalJSON(b)return err}-// AsUpdateAwsAppConnectionJSONBodyRotation0 returns the union data inside the UpdateAwsAppConnectionJSONBody_Rotation as a UpdateAwsAppConnectionJSONBodyRotation0-func (t UpdateAwsAppConnectionJSONBody_Rotation) AsUpdateAwsAppConnectionJSONBodyRotation0() (UpdateAwsAppConnectionJSONBodyRotation0, error) {- var body UpdateAwsAppConnectionJSONBodyRotation0+// AsUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0 returns the union data inside the UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as a UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0+func (t UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) AsUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0() (UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0, error) {+ var body UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0err := json.Unmarshal(t.union, &body)return body, err}-// FromUpdateAwsAppConnectionJSONBodyRotation0 overwrites any union data inside the UpdateAwsAppConnectionJSONBody_Rotation as the provided UpdateAwsAppConnectionJSONBodyRotation0-func (t *UpdateAwsAppConnectionJSONBody_Rotation) FromUpdateAwsAppConnectionJSONBodyRotation0(v UpdateAwsAppConnectionJSONBodyRotation0) error {+// FromUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0 overwrites any union data inside the UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as the provided UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0+func (t *UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) FromUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0(v UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0) error {b, err := json.Marshal(v)t.union = breturn err}-// MergeUpdateAwsAppConnectionJSONBodyRotation0 performs a merge with any union data inside the UpdateAwsAppConnectionJSONBody_Rotation, using the provided UpdateAwsAppConnectionJSONBodyRotation0-func (t *UpdateAwsAppConnectionJSONBody_Rotation) MergeUpdateAwsAppConnectionJSONBodyRotation0(v UpdateAwsAppConnectionJSONBodyRotation0) error {+// MergeUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0 performs a merge with any union data inside the UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection, using the provided UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0+func (t *UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) MergeUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0(v UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection0) error {b, err := json.Marshal(v)if err != nil {return err@@ -127627,22 +130294,22 @@ func (t *UpdateAwsAppConnectionJSONBody_Rotation) MergeUpdateAwsAppConnectionJSOreturn err}-// AsUpdateAwsAppConnectionJSONBodyRotation1 returns the union data inside the UpdateAwsAppConnectionJSONBody_Rotation as a UpdateAwsAppConnectionJSONBodyRotation1-func (t UpdateAwsAppConnectionJSONBody_Rotation) AsUpdateAwsAppConnectionJSONBodyRotation1() (UpdateAwsAppConnectionJSONBodyRotation1, error) {- var body UpdateAwsAppConnectionJSONBodyRotation1+// AsUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1 returns the union data inside the UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as a UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1+func (t UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) AsUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1() (UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1, error) {+ var body UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1err := json.Unmarshal(t.union, &body)return body, err}-// FromUpdateAwsAppConnectionJSONBodyRotation1 overwrites any union data inside the UpdateAwsAppConnectionJSONBody_Rotation as the provided UpdateAwsAppConnectionJSONBodyRotation1-func (t *UpdateAwsAppConnectionJSONBody_Rotation) FromUpdateAwsAppConnectionJSONBodyRotation1(v UpdateAwsAppConnectionJSONBodyRotation1) error {+// FromUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1 overwrites any union data inside the UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as the provided UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1+func (t *UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) FromUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1(v UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1) error {b, err := json.Marshal(v)t.union = breturn err}-// MergeUpdateAwsAppConnectionJSONBodyRotation1 performs a merge with any union data inside the UpdateAwsAppConnectionJSONBody_Rotation, using the provided UpdateAwsAppConnectionJSONBodyRotation1-func (t *UpdateAwsAppConnectionJSONBody_Rotation) MergeUpdateAwsAppConnectionJSONBodyRotation1(v UpdateAwsAppConnectionJSONBodyRotation1) error {+// MergeUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1 performs a merge with any union data inside the UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection, using the provided UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1+func (t *UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) MergeUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1(v UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection1) error {b, err := json.Marshal(v)if err != nil {return err@@ -127653,32 +130320,22 @@ func (t *UpdateAwsAppConnectionJSONBody_Rotation) MergeUpdateAwsAppConnectionJSOreturn err}-func (t UpdateAwsAppConnectionJSONBody_Rotation) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}--func (t *UpdateAwsAppConnectionJSONBody_Rotation) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}--// AsUpdateAwsAppConnection200JSONResponseBodyAppConnection0 returns the union data inside the UpdateAwsAppConnection200JSONResponseBody_AppConnection as a UpdateAwsAppConnection200JSONResponseBodyAppConnection0-func (t UpdateAwsAppConnection200JSONResponseBody_AppConnection) AsUpdateAwsAppConnection200JSONResponseBodyAppConnection0() (UpdateAwsAppConnection200JSONResponseBodyAppConnection0, error) {- var body UpdateAwsAppConnection200JSONResponseBodyAppConnection0+// AsUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2 returns the union data inside the UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as a UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2+func (t UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) AsUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2() (UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2, error) {+ var body UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2err := json.Unmarshal(t.union, &body)return body, err}-// FromUpdateAwsAppConnection200JSONResponseBodyAppConnection0 overwrites any union data inside the UpdateAwsAppConnection200JSONResponseBody_AppConnection as the provided UpdateAwsAppConnection200JSONResponseBodyAppConnection0-func (t *UpdateAwsAppConnection200JSONResponseBody_AppConnection) FromUpdateAwsAppConnection200JSONResponseBodyAppConnection0(v UpdateAwsAppConnection200JSONResponseBodyAppConnection0) error {+// FromUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2 overwrites any union data inside the UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as the provided UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2+func (t *UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) FromUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2(v UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2) error {b, err := json.Marshal(v)t.union = breturn err}-// MergeUpdateAwsAppConnection200JSONResponseBodyAppConnection0 performs a merge with any union data inside the UpdateAwsAppConnection200JSONResponseBody_AppConnection, using the provided UpdateAwsAppConnection200JSONResponseBodyAppConnection0-func (t *UpdateAwsAppConnection200JSONResponseBody_AppConnection) MergeUpdateAwsAppConnection200JSONResponseBodyAppConnection0(v UpdateAwsAppConnection200JSONResponseBodyAppConnection0) error {+// MergeUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2 performs a merge with any union data inside the UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection, using the provided UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2+func (t *UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) MergeUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2(v UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection2) error {b, err := json.Marshal(v)if err != nil {return err@@ -127689,22 +130346,22 @@ func (t *UpdateAwsAppConnection200JSONResponseBody_AppConnection) MergeUpdateAwsreturn err}-// AsUpdateAwsAppConnection200JSONResponseBodyAppConnection1 returns the union data inside the UpdateAwsAppConnection200JSONResponseBody_AppConnection as a UpdateAwsAppConnection200JSONResponseBodyAppConnection1-func (t UpdateAwsAppConnection200JSONResponseBody_AppConnection) AsUpdateAwsAppConnection200JSONResponseBodyAppConnection1() (UpdateAwsAppConnection200JSONResponseBodyAppConnection1, error) {- var body UpdateAwsAppConnection200JSONResponseBodyAppConnection1+// AsUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3 returns the union data inside the UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as a UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3+func (t UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) AsUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3() (UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3, error) {+ var body UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3err := json.Unmarshal(t.union, &body)return body, err}-// FromUpdateAwsAppConnection200JSONResponseBodyAppConnection1 overwrites any union data inside the UpdateAwsAppConnection200JSONResponseBody_AppConnection as the provided UpdateAwsAppConnection200JSONResponseBodyAppConnection1-func (t *UpdateAwsAppConnection200JSONResponseBody_AppConnection) FromUpdateAwsAppConnection200JSONResponseBodyAppConnection1(v UpdateAwsAppConnection200JSONResponseBodyAppConnection1) error {+// FromUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3 overwrites any union data inside the UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection as the provided UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3+func (t *UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) FromUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3(v UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3) error {b, err := json.Marshal(v)t.union = breturn err}-// MergeUpdateAwsAppConnection200JSONResponseBodyAppConnection1 performs a merge with any union data inside the UpdateAwsAppConnection200JSONResponseBody_AppConnection, using the provided UpdateAwsAppConnection200JSONResponseBodyAppConnection1-func (t *UpdateAwsAppConnection200JSONResponseBody_AppConnection) MergeUpdateAwsAppConnection200JSONResponseBodyAppConnection1(v UpdateAwsAppConnection200JSONResponseBodyAppConnection1) error {+// MergeUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3 performs a merge with any union data inside the UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection, using the provided UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3+func (t *UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) MergeUpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3(v UpdateAzureKeyVaultAppConnection200JSONResponseBodyAppConnection3) error {b, err := json.Marshal(v)if err != nil {return err@@ -127715,12 +130372,12 @@ func (t *UpdateAwsAppConnection200JSONResponseBody_AppConnection) MergeUpdateAwsreturn err}-func (t UpdateAwsAppConnection200JSONResponseBody_AppConnection) MarshalJSON() ([]byte, error) {+func (t UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) MarshalJSON() ([]byte, error) {b, err := t.union.MarshalJSON()return b, err}-func (t *UpdateAwsAppConnection200JSONResponseBody_AppConnection) UnmarshalJSON(b []byte) error {+func (t *UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection) UnmarshalJSON(b []byte) error {err := t.union.UnmarshalJSON(b)return err}@@ -151678,6 +154335,35 @@ type ClientInterface interface {// Update the specified AWS Connection.UpdateAwsAppConnection(ctx context.Context, connectionId openapi_types.UUID, body UpdateAwsAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+ // CreateAzureKeyVaultAppConnectionWithBody performs a POST /api/v1/app-connections/azure-key-vault (the `CreateAzureKeyVaultAppConnection` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create an Azure Key Vault Connection.+ CreateAzureKeyVaultAppConnectionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)++ // CreateAzureKeyVaultAppConnection performs a POST /api/v1/app-connections/azure-key-vault (the `CreateAzureKeyVaultAppConnection` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Create an Azure Key Vault Connection.+ CreateAzureKeyVaultAppConnection(ctx context.Context, body CreateAzureKeyVaultAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)++ // DeleteAzureKeyVaultAppConnection performs a DELETE /api/v1/app-connections/azure-key-vault/{connectionId} (the `DeleteAzureKeyVaultAppConnection` operationId) request.+ //+ // Delete the specified Azure Key Vault Connection.+ DeleteAzureKeyVaultAppConnection(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)++ // UpdateAzureKeyVaultAppConnectionWithBody performs a PATCH /api/v1/app-connections/azure-key-vault/{connectionId} (the `UpdateAzureKeyVaultAppConnection` operationId) request,+ // with any type of body and a specified content type.+ //+ // Update the specified Azure Key Vault Connection.+ UpdateAzureKeyVaultAppConnectionWithBody(ctx context.Context, connectionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)++ // UpdateAzureKeyVaultAppConnection performs a PATCH /api/v1/app-connections/azure-key-vault/{connectionId} (the `UpdateAzureKeyVaultAppConnection` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Update the specified Azure Key Vault Connection.+ UpdateAzureKeyVaultAppConnection(ctx context.Context, connectionId openapi_types.UUID, body UpdateAzureKeyVaultAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+// ListGitHubAppConnections performs a GET /api/v1/app-connections/github (the `ListGitHubAppConnections` operationId) request.//// List the GitHub Connections for the current organization or project.@@ -157052,6 +159738,85 @@ func (c *Client) UpdateAwsAppConnection(ctx context.Context, connectionId openapreturn c.Client.Do(req)}+// CreateAzureKeyVaultAppConnectionWithBody performs a POST /api/v1/app-connections/azure-key-vault (the `CreateAzureKeyVaultAppConnection` operationId) request,+// with any type of body and a specified content type.+//+// Create an Azure Key Vault Connection.+func (c *Client) CreateAzureKeyVaultAppConnectionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateAzureKeyVaultAppConnectionRequestWithBody(c.Server, contentType, body)+ if err != nil {+ return nil, err+ }+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)+}++// CreateAzureKeyVaultAppConnection performs a POST /api/v1/app-connections/azure-key-vault (the `CreateAzureKeyVaultAppConnection` operationId) request.+// Takes a body of the `application/json` content type.+//+// Create an Azure Key Vault Connection.+func (c *Client) CreateAzureKeyVaultAppConnection(ctx context.Context, body CreateAzureKeyVaultAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateAzureKeyVaultAppConnectionRequest(c.Server, body)+ if err != nil {+ return nil, err+ }+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)+}++// DeleteAzureKeyVaultAppConnection performs a DELETE /api/v1/app-connections/azure-key-vault/{connectionId} (the `DeleteAzureKeyVaultAppConnection` operationId) request.+//+// Delete the specified Azure Key Vault Connection.+func (c *Client) DeleteAzureKeyVaultAppConnection(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewDeleteAzureKeyVaultAppConnectionRequest(c.Server, connectionId)+ if err != nil {+ return nil, err+ }+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)+}++// UpdateAzureKeyVaultAppConnectionWithBody performs a PATCH /api/v1/app-connections/azure-key-vault/{connectionId} (the `UpdateAzureKeyVaultAppConnection` operationId) request,+// with any type of body and a specified content type.+//+// Update the specified Azure Key Vault Connection.+func (c *Client) UpdateAzureKeyVaultAppConnectionWithBody(ctx context.Context, connectionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewUpdateAzureKeyVaultAppConnectionRequestWithBody(c.Server, connectionId, contentType, body)+ if err != nil {+ return nil, err+ }+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)+}++// UpdateAzureKeyVaultAppConnection performs a PATCH /api/v1/app-connections/azure-key-vault/{connectionId} (the `UpdateAzureKeyVaultAppConnection` operationId) request.+// Takes a body of the `application/json` content type.+//+// Update the specified Azure Key Vault Connection.+func (c *Client) UpdateAzureKeyVaultAppConnection(ctx context.Context, connectionId openapi_types.UUID, body UpdateAzureKeyVaultAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewUpdateAzureKeyVaultAppConnectionRequest(c.Server, connectionId, body)+ if err != nil {+ return nil, err+ }+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)+}+// ListGitHubAppConnections performs a GET /api/v1/app-connections/github (the `ListGitHubAppConnections` operationId) request.//// List the GitHub Connections for the current organization or project.@@ -172475,19 +175240,268 @@ func NewListAlertsRequest(server string, params *ListAlertsParams) (*http.Requesreturn req, nil}-// NewCreateAlertRequest calls the generic CreateAlert builder with application/json body-func NewCreateAlertRequest(server string, body CreateAlertJSONRequestBody) (*http.Request, error) {+// NewCreateAlertRequest calls the generic CreateAlert builder with application/json body+func NewCreateAlertRequest(server string, body CreateAlertJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewCreateAlertRequestWithBody(server, "application/json", bodyReader)+}++// NewCreateAlertRequestWithBody constructs an http.Request for the CreateAlert method, with any body, and a specified content type+func NewCreateAlertRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {+ var err error++ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err+ }++ operationPath := fmt.Sprintf("/api/v1/alerts")+ if operationPath[0] == '/' {+ operationPath = "." + operationPath+ }++ queryURL, err := serverURL.Parse(operationPath)+ if err != nil {+ return nil, err+ }++ req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)+ if err != nil {+ return nil, err+ }++ req.Header.Add("Content-Type", contentType)++ return req, nil+}++// NewTestAlertChannelRequest calls the generic TestAlertChannel builder with application/json body+func NewTestAlertChannelRequest(server string, body TestAlertChannelJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewTestAlertChannelRequestWithBody(server, "application/json", bodyReader)+}++// NewTestAlertChannelRequestWithBody constructs an http.Request for the TestAlertChannel method, with any body, and a specified content type+func NewTestAlertChannelRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {+ var err error++ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err+ }++ operationPath := fmt.Sprintf("/api/v1/alerts/channels/test")+ if operationPath[0] == '/' {+ operationPath = "." + operationPath+ }++ queryURL, err := serverURL.Parse(operationPath)+ if err != nil {+ return nil, err+ }++ req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)+ if err != nil {+ return nil, err+ }++ req.Header.Add("Content-Type", contentType)++ return req, nil+}++// NewDeleteAlertRequest constructs an http.Request for the DeleteAlert method+func NewDeleteAlertRequest(server string, alertId openapi_types.UUID) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "alertId", alertId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: "uuid"})+ if err != nil {+ return nil, err+ }++ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err+ }++ operationPath := fmt.Sprintf("/api/v1/alerts/%s", pathParam0)+ if operationPath[0] == '/' {+ operationPath = "." + operationPath+ }++ queryURL, err := serverURL.Parse(operationPath)+ if err != nil {+ return nil, err+ }++ req, err := http.NewRequest(http.MethodDelete, queryURL.String(), nil)+ if err != nil {+ return nil, err+ }++ return req, nil+}++// NewGetAlertByIdRequest constructs an http.Request for the GetAlertById method+func NewGetAlertByIdRequest(server string, alertId openapi_types.UUID) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "alertId", alertId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: "uuid"})+ if err != nil {+ return nil, err+ }++ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err+ }++ operationPath := fmt.Sprintf("/api/v1/alerts/%s", pathParam0)+ if operationPath[0] == '/' {+ operationPath = "." + operationPath+ }++ queryURL, err := serverURL.Parse(operationPath)+ if err != nil {+ return nil, err+ }++ req, err := http.NewRequest(http.MethodGet, queryURL.String(), nil)+ if err != nil {+ return nil, err+ }++ return req, nil+}++// NewUpdateAlertRequest calls the generic UpdateAlert builder with application/json body+func NewUpdateAlertRequest(server string, alertId openapi_types.UUID, body UpdateAlertJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewUpdateAlertRequestWithBody(server, alertId, "application/json", bodyReader)+}++// NewUpdateAlertRequestWithBody constructs an http.Request for the UpdateAlert method, with any body, and a specified content type+func NewUpdateAlertRequestWithBody(server string, alertId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "alertId", alertId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: "uuid"})+ if err != nil {+ return nil, err+ }++ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err+ }++ operationPath := fmt.Sprintf("/api/v1/alerts/%s", pathParam0)+ if operationPath[0] == '/' {+ operationPath = "." + operationPath+ }++ queryURL, err := serverURL.Parse(operationPath)+ if err != nil {+ return nil, err+ }++ req, err := http.NewRequest(http.MethodPatch, queryURL.String(), body)+ if err != nil {+ return nil, err+ }++ req.Header.Add("Content-Type", contentType)++ return req, nil+}++// NewListAwsAppConnectionsRequest constructs an http.Request for the ListAwsAppConnections method+func NewListAwsAppConnectionsRequest(server string, params *ListAwsAppConnectionsParams) (*http.Request, error) {+ var err error++ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err+ }++ operationPath := fmt.Sprintf("/api/v1/app-connections/aws")+ if operationPath[0] == '/' {+ operationPath = "." + operationPath+ }++ queryURL, err := serverURL.Parse(operationPath)+ if err != nil {+ return nil, err+ }++ if params != nil {+ // queryValues collects non-styled parameters (passthrough, JSON)+ // that are safe to round-trip through url.Values.Encode().+ queryValues := queryURL.Query()+ // rawQueryFragments collects pre-encoded query fragments from+ // styled parameters, preserving literal commas as delimiters+ // per the OpenAPI spec (e.g. "color=blue,black,brown").+ var rawQueryFragments []string++ if params.ProjectId != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "projectId", *params.ProjectId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }++ }++ if encoded := queryValues.Encode(); encoded != "" {+ rawQueryFragments = append(rawQueryFragments, encoded)+ }+ queryURL.RawQuery = strings.Join(rawQueryFragments, "&")+ }++ req, err := http.NewRequest(http.MethodGet, queryURL.String(), nil)+ if err != nil {+ return nil, err+ }++ return req, nil+}++// NewCreateAwsAppConnectionRequest calls the generic CreateAwsAppConnection builder with application/json body+func NewCreateAwsAppConnectionRequest(server string, body CreateAwsAppConnectionJSONRequestBody) (*http.Request, error) {var bodyReader io.Readerbuf, err := json.Marshal(body)if err != nil {return nil, err}bodyReader = bytes.NewReader(buf)- return NewCreateAlertRequestWithBody(server, "application/json", bodyReader)+ return NewCreateAwsAppConnectionRequestWithBody(server, "application/json", bodyReader)}-// NewCreateAlertRequestWithBody constructs an http.Request for the CreateAlert method, with any body, and a specified content type-func NewCreateAlertRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {+// NewCreateAwsAppConnectionRequestWithBody constructs an http.Request for the CreateAwsAppConnection method, with any body, and a specified content type+func NewCreateAwsAppConnectionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {var err errorserverURL, err := url.Parse(server)@@ -172495,7 +175509,7 @@ func NewCreateAlertRequestWithBody(server string, contentType string, body io.Rereturn nil, err}- operationPath := fmt.Sprintf("/api/v1/alerts")+ operationPath := fmt.Sprintf("/api/v1/app-connections/aws")if operationPath[0] == '/' {operationPath = "." + operationPath}@@ -172515,27 +175529,23 @@ func NewCreateAlertRequestWithBody(server string, contentType string, body io.Rereturn req, nil}-// NewTestAlertChannelRequest calls the generic TestAlertChannel builder with application/json body-func NewTestAlertChannelRequest(server string, body TestAlertChannelJSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)+// NewGetAwsAppConnectionByNameRequest constructs an http.Request for the GetAwsAppConnectionByName method+func NewGetAwsAppConnectionByNameRequest(server string, connectionName string, params *GetAwsAppConnectionByNameParams) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "connectionName", connectionName, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})if err != nil {return nil, err}- bodyReader = bytes.NewReader(buf)- return NewTestAlertChannelRequestWithBody(server, "application/json", bodyReader)-}--// NewTestAlertChannelRequestWithBody constructs an http.Request for the TestAlertChannel method, with any body, and a specified content type-func NewTestAlertChannelRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {- var err errorserverURL, err := url.Parse(server)if err != nil {return nil, err}- operationPath := fmt.Sprintf("/api/v1/alerts/channels/test")+ operationPath := fmt.Sprintf("/api/v1/app-connections/aws/connection-name/%s", pathParam0)if operationPath[0] == '/' {operationPath = "." + operationPath}@@ -172545,23 +175555,48 @@ func NewTestAlertChannelRequestWithBody(server string, contentType string, bodyreturn nil, err}- req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)+ if params != nil {+ // queryValues collects non-styled parameters (passthrough, JSON)+ // that are safe to round-trip through url.Values.Encode().+ queryValues := queryURL.Query()+ // rawQueryFragments collects pre-encoded query fragments from+ // styled parameters, preserving literal commas as delimiters+ // per the OpenAPI spec (e.g. "color=blue,black,brown").+ var rawQueryFragments []string++ if params.ProjectId != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "projectId", *params.ProjectId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }++ }++ if encoded := queryValues.Encode(); encoded != "" {+ rawQueryFragments = append(rawQueryFragments, encoded)+ }+ queryURL.RawQuery = strings.Join(rawQueryFragments, "&")+ }++ req, err := http.NewRequest(http.MethodGet, queryURL.String(), nil)if err != nil {return nil, err}- req.Header.Add("Content-Type", contentType)-return req, nil}-// NewDeleteAlertRequest constructs an http.Request for the DeleteAlert method-func NewDeleteAlertRequest(server string, alertId openapi_types.UUID) (*http.Request, error) {+// NewDeleteAwsAppConnectionRequest constructs an http.Request for the DeleteAwsAppConnection method+func NewDeleteAwsAppConnectionRequest(server string, connectionId openapi_types.UUID) (*http.Request, error) {var err errorvar pathParam0 string- pathParam0, err = runtime.StyleParamWithOptions("simple", false, "alertId", alertId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: "uuid"})+ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "connectionId", connectionId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: "uuid"})if err != nil {return nil, err}@@ -172571,7 +175606,7 @@ func NewDeleteAlertRequest(server string, alertId openapi_types.UUID) (*http.Reqreturn nil, err}- operationPath := fmt.Sprintf("/api/v1/alerts/%s", pathParam0)+ operationPath := fmt.Sprintf("/api/v1/app-connections/aws/%s", pathParam0)if operationPath[0] == '/' {operationPath = "." + operationPath}@@ -172589,13 +175624,13 @@ func NewDeleteAlertRequest(server string, alertId openapi_types.UUID) (*http.Reqreturn req, nil}-// NewGetAlertByIdRequest constructs an http.Request for the GetAlertById method-func NewGetAlertByIdRequest(server string, alertId openapi_types.UUID) (*http.Request, error) {+// NewGetAwsAppConnectionRequest constructs an http.Request for the GetAwsAppConnection method+func NewGetAwsAppConnectionRequest(server string, connectionId openapi_types.UUID) (*http.Request, error) {var err errorvar pathParam0 string- pathParam0, err = runtime.StyleParamWithOptions("simple", false, "alertId", alertId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: "uuid"})+ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "connectionId", connectionId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: "uuid"})if err != nil {return nil, err}@@ -172605,7 +175640,7 @@ func NewGetAlertByIdRequest(server string, alertId openapi_types.UUID) (*http.Rereturn nil, err}- operationPath := fmt.Sprintf("/api/v1/alerts/%s", pathParam0)+ operationPath := fmt.Sprintf("/api/v1/app-connections/aws/%s", pathParam0)if operationPath[0] == '/' {operationPath = "." + operationPath}@@ -172623,24 +175658,24 @@ func NewGetAlertByIdRequest(server string, alertId openapi_types.UUID) (*http.Rereturn req, nil}-// NewUpdateAlertRequest calls the generic UpdateAlert builder with application/json body-func NewUpdateAlertRequest(server string, alertId openapi_types.UUID, body UpdateAlertJSONRequestBody) (*http.Request, error) {+// NewUpdateAwsAppConnectionRequest calls the generic UpdateAwsAppConnection builder with application/json body+func NewUpdateAwsAppConnectionRequest(server string, connectionId openapi_types.UUID, body UpdateAwsAppConnectionJSONRequestBody) (*http.Request, error) {var bodyReader io.Readerbuf, err := json.Marshal(body)if err != nil {return nil, err}bodyReader = bytes.NewReader(buf)- return NewUpdateAlertRequestWithBody(server, alertId, "application/json", bodyReader)+ return NewUpdateAwsAppConnectionRequestWithBody(server, connectionId, "application/json", bodyReader)}-// NewUpdateAlertRequestWithBody constructs an http.Request for the UpdateAlert method, with any body, and a specified content type-func NewUpdateAlertRequestWithBody(server string, alertId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) {+// NewUpdateAwsAppConnectionRequestWithBody constructs an http.Request for the UpdateAwsAppConnection method, with any body, and a specified content type+func NewUpdateAwsAppConnectionRequestWithBody(server string, connectionId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) {var err errorvar pathParam0 string- pathParam0, err = runtime.StyleParamWithOptions("simple", false, "alertId", alertId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: "uuid"})+ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "connectionId", connectionId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: "uuid"})if err != nil {return nil, err}@@ -172650,7 +175685,7 @@ func NewUpdateAlertRequestWithBody(server string, alertId openapi_types.UUID, coreturn nil, err}- operationPath := fmt.Sprintf("/api/v1/alerts/%s", pathParam0)+ operationPath := fmt.Sprintf("/api/v1/app-connections/aws/%s", pathParam0)if operationPath[0] == '/' {operationPath = "." + operationPath}@@ -172670,73 +175705,19 @@ func NewUpdateAlertRequestWithBody(server string, alertId openapi_types.UUID, coreturn req, nil}-// NewListAwsAppConnectionsRequest constructs an http.Request for the ListAwsAppConnections method-func NewListAwsAppConnectionsRequest(server string, params *ListAwsAppConnectionsParams) (*http.Request, error) {- var err error-- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }-- operationPath := fmt.Sprintf("/api/v1/app-connections/aws")- if operationPath[0] == '/' {- operationPath = "." + operationPath- }-- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }-- if params != nil {- // queryValues collects non-styled parameters (passthrough, JSON)- // that are safe to round-trip through url.Values.Encode().- queryValues := queryURL.Query()- // rawQueryFragments collects pre-encoded query fragments from- // styled parameters, preserving literal commas as delimiters- // per the OpenAPI spec (e.g. "color=blue,black,brown").- var rawQueryFragments []string-- if params.ProjectId != nil {-- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "projectId", *params.ProjectId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {- return nil, err- } else {- for _, qp := range strings.Split(queryFrag, "&") {- rawQueryFragments = append(rawQueryFragments, qp)- }- }-- }-- if encoded := queryValues.Encode(); encoded != "" {- rawQueryFragments = append(rawQueryFragments, encoded)- }- queryURL.RawQuery = strings.Join(rawQueryFragments, "&")- }-- req, err := http.NewRequest(http.MethodGet, queryURL.String(), nil)- if err != nil {- return nil, err- }-- return req, nil-}--// NewCreateAwsAppConnectionRequest calls the generic CreateAwsAppConnection builder with application/json body-func NewCreateAwsAppConnectionRequest(server string, body CreateAwsAppConnectionJSONRequestBody) (*http.Request, error) {+// NewCreateAzureKeyVaultAppConnectionRequest calls the generic CreateAzureKeyVaultAppConnection builder with application/json body+func NewCreateAzureKeyVaultAppConnectionRequest(server string, body CreateAzureKeyVaultAppConnectionJSONRequestBody) (*http.Request, error) {var bodyReader io.Readerbuf, err := json.Marshal(body)if err != nil {return nil, err}bodyReader = bytes.NewReader(buf)- return NewCreateAwsAppConnectionRequestWithBody(server, "application/json", bodyReader)+ return NewCreateAzureKeyVaultAppConnectionRequestWithBody(server, "application/json", bodyReader)}-// NewCreateAwsAppConnectionRequestWithBody constructs an http.Request for the CreateAwsAppConnection method, with any body, and a specified content type-func NewCreateAwsAppConnectionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {+// NewCreateAzureKeyVaultAppConnectionRequestWithBody constructs an http.Request for the CreateAzureKeyVaultAppConnection method, with any body, and a specified content type+func NewCreateAzureKeyVaultAppConnectionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {var err errorserverURL, err := url.Parse(server)@@ -172744,7 +175725,7 @@ func NewCreateAwsAppConnectionRequestWithBody(server string, contentType string,return nil, err}- operationPath := fmt.Sprintf("/api/v1/app-connections/aws")+ operationPath := fmt.Sprintf("/api/v1/app-connections/azure-key-vault")if operationPath[0] == '/' {operationPath = "." + operationPath}@@ -172764,69 +175745,8 @@ func NewCreateAwsAppConnectionRequestWithBody(server string, contentType string,return req, nil}-// NewGetAwsAppConnectionByNameRequest constructs an http.Request for the GetAwsAppConnectionByName method-func NewGetAwsAppConnectionByNameRequest(server string, connectionName string, params *GetAwsAppConnectionByNameParams) (*http.Request, error) {- var err error-- var pathParam0 string-- pathParam0, err = runtime.StyleParamWithOptions("simple", false, "connectionName", connectionName, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})- if err != nil {- return nil, err- }-- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }-- operationPath := fmt.Sprintf("/api/v1/app-connections/aws/connection-name/%s", pathParam0)- if operationPath[0] == '/' {- operationPath = "." + operationPath- }-- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }-- if params != nil {- // queryValues collects non-styled parameters (passthrough, JSON)- // that are safe to round-trip through url.Values.Encode().- queryValues := queryURL.Query()- // rawQueryFragments collects pre-encoded query fragments from- // styled parameters, preserving literal commas as delimiters- // per the OpenAPI spec (e.g. "color=blue,black,brown").- var rawQueryFragments []string-- if params.ProjectId != nil {-- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "projectId", *params.ProjectId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {- return nil, err- } else {- for _, qp := range strings.Split(queryFrag, "&") {- rawQueryFragments = append(rawQueryFragments, qp)- }- }-- }-- if encoded := queryValues.Encode(); encoded != "" {- rawQueryFragments = append(rawQueryFragments, encoded)- }- queryURL.RawQuery = strings.Join(rawQueryFragments, "&")- }-- req, err := http.NewRequest(http.MethodGet, queryURL.String(), nil)- if err != nil {- return nil, err- }-- return req, nil-}--// NewDeleteAwsAppConnectionRequest constructs an http.Request for the DeleteAwsAppConnection method-func NewDeleteAwsAppConnectionRequest(server string, connectionId openapi_types.UUID) (*http.Request, error) {+// NewDeleteAzureKeyVaultAppConnectionRequest constructs an http.Request for the DeleteAzureKeyVaultAppConnection method+func NewDeleteAzureKeyVaultAppConnectionRequest(server string, connectionId openapi_types.UUID) (*http.Request, error) {var err errorvar pathParam0 string@@ -172841,7 +175761,7 @@ func NewDeleteAwsAppConnectionRequest(server string, connectionId openapi_types.return nil, err}- operationPath := fmt.Sprintf("/api/v1/app-connections/aws/%s", pathParam0)+ operationPath := fmt.Sprintf("/api/v1/app-connections/azure-key-vault/%s", pathParam0)if operationPath[0] == '/' {operationPath = "." + operationPath}@@ -172859,53 +175779,19 @@ func NewDeleteAwsAppConnectionRequest(server string, connectionId openapi_types.return req, nil}-// NewGetAwsAppConnectionRequest constructs an http.Request for the GetAwsAppConnection method-func NewGetAwsAppConnectionRequest(server string, connectionId openapi_types.UUID) (*http.Request, error) {- var err error-- var pathParam0 string-- pathParam0, err = runtime.StyleParamWithOptions("simple", false, "connectionId", connectionId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: "uuid"})- if err != nil {- return nil, err- }-- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }-- operationPath := fmt.Sprintf("/api/v1/app-connections/aws/%s", pathParam0)- if operationPath[0] == '/' {- operationPath = "." + operationPath- }-- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }-- req, err := http.NewRequest(http.MethodGet, queryURL.String(), nil)- if err != nil {- return nil, err- }-- return req, nil-}--// NewUpdateAwsAppConnectionRequest calls the generic UpdateAwsAppConnection builder with application/json body-func NewUpdateAwsAppConnectionRequest(server string, connectionId openapi_types.UUID, body UpdateAwsAppConnectionJSONRequestBody) (*http.Request, error) {+// NewUpdateAzureKeyVaultAppConnectionRequest calls the generic UpdateAzureKeyVaultAppConnection builder with application/json body+func NewUpdateAzureKeyVaultAppConnectionRequest(server string, connectionId openapi_types.UUID, body UpdateAzureKeyVaultAppConnectionJSONRequestBody) (*http.Request, error) {var bodyReader io.Readerbuf, err := json.Marshal(body)if err != nil {return nil, err}bodyReader = bytes.NewReader(buf)- return NewUpdateAwsAppConnectionRequestWithBody(server, connectionId, "application/json", bodyReader)+ return NewUpdateAzureKeyVaultAppConnectionRequestWithBody(server, connectionId, "application/json", bodyReader)}-// NewUpdateAwsAppConnectionRequestWithBody constructs an http.Request for the UpdateAwsAppConnection method, with any body, and a specified content type-func NewUpdateAwsAppConnectionRequestWithBody(server string, connectionId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) {+// NewUpdateAzureKeyVaultAppConnectionRequestWithBody constructs an http.Request for the UpdateAzureKeyVaultAppConnection method, with any body, and a specified content type+func NewUpdateAzureKeyVaultAppConnectionRequestWithBody(server string, connectionId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) {var err errorvar pathParam0 string@@ -172920,7 +175806,7 @@ func NewUpdateAwsAppConnectionRequestWithBody(server string, connectionId openapreturn nil, err}- operationPath := fmt.Sprintf("/api/v1/app-connections/aws/%s", pathParam0)+ operationPath := fmt.Sprintf("/api/v1/app-connections/azure-key-vault/%s", pathParam0)if operationPath[0] == '/' {operationPath = "." + operationPath}@@ -203381,6 +206267,41 @@ type ClientWithResponsesInterface interface {// Update the specified AWS Connection.UpdateAwsAppConnectionWithResponse(ctx context.Context, connectionId openapi_types.UUID, body UpdateAwsAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAwsAppConnectionResponse, error)+ // CreateAzureKeyVaultAppConnectionWithBodyWithResponse performs a POST /api/v1/app-connections/azure-key-vault (the `CreateAzureKeyVaultAppConnection` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create an Azure Key Vault Connection.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateAzureKeyVaultAppConnectionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAzureKeyVaultAppConnectionResponse, error)++ // CreateAzureKeyVaultAppConnectionWithResponse performs a POST /api/v1/app-connections/azure-key-vault (the `CreateAzureKeyVaultAppConnection` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Create an Azure Key Vault Connection.+ CreateAzureKeyVaultAppConnectionWithResponse(ctx context.Context, body CreateAzureKeyVaultAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAzureKeyVaultAppConnectionResponse, error)++ // DeleteAzureKeyVaultAppConnectionWithResponse performs a DELETE /api/v1/app-connections/azure-key-vault/{connectionId} (the `DeleteAzureKeyVaultAppConnection` operationId) request.+ //+ // Delete the specified Azure Key Vault Connection.+ //+ // Returns a wrapper object for the known response body format(s).+ DeleteAzureKeyVaultAppConnectionWithResponse(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteAzureKeyVaultAppConnectionResponse, error)++ // UpdateAzureKeyVaultAppConnectionWithBodyWithResponse performs a PATCH /api/v1/app-connections/azure-key-vault/{connectionId} (the `UpdateAzureKeyVaultAppConnection` operationId) request,+ // with any type of body and a specified content type.+ //+ // Update the specified Azure Key Vault Connection.+ //+ // Returns a wrapper object for the known response body format(s).+ UpdateAzureKeyVaultAppConnectionWithBodyWithResponse(ctx context.Context, connectionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAzureKeyVaultAppConnectionResponse, error)++ // UpdateAzureKeyVaultAppConnectionWithResponse performs a PATCH /api/v1/app-connections/azure-key-vault/{connectionId} (the `UpdateAzureKeyVaultAppConnection` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Update the specified Azure Key Vault Connection.+ UpdateAzureKeyVaultAppConnectionWithResponse(ctx context.Context, connectionId openapi_types.UUID, body UpdateAzureKeyVaultAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAzureKeyVaultAppConnectionResponse, error)+// ListGitHubAppConnectionsWithResponse performs a GET /api/v1/app-connections/github (the `ListGitHubAppConnections` operationId) request.//// List the GitHub Connections for the current organization or project.@@ -219104,6 +222025,459 @@ func (r UpdateAwsAppConnectionResponse) ContentType() string {return ""}+type CreateAzureKeyVaultAppConnectionResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ AppConnection CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+ }+ // JSON400 the response for an HTTP 400 `application/json` response+ JSON400 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateAzureKeyVaultAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON401 the response for an HTTP 401 `application/json` response+ JSON401 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateAzureKeyVaultAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON403 the response for an HTTP 403 `application/json` response+ JSON403 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateAzureKeyVaultAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON404 the response for an HTTP 404 `application/json` response+ JSON404 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateAzureKeyVaultAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON422 the response for an HTTP 422 `application/json` response+ JSON422 *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateAzureKeyVaultAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON500 the response for an HTTP 500 `application/json` response+ JSON500 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateAzureKeyVaultAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r CreateAzureKeyVaultAppConnectionResponse) GetJSON200() *struct {+ AppConnection CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r CreateAzureKeyVaultAppConnectionResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateAzureKeyVaultAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r CreateAzureKeyVaultAppConnectionResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateAzureKeyVaultAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r CreateAzureKeyVaultAppConnectionResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateAzureKeyVaultAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r CreateAzureKeyVaultAppConnectionResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateAzureKeyVaultAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r CreateAzureKeyVaultAppConnectionResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateAzureKeyVaultAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r CreateAzureKeyVaultAppConnectionResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateAzureKeyVaultAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r CreateAzureKeyVaultAppConnectionResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r CreateAzureKeyVaultAppConnectionResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r CreateAzureKeyVaultAppConnectionResponse) StatusCode() int {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.StatusCode+ }+ return 0+}++// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers+func (r CreateAzureKeyVaultAppConnectionResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type DeleteAzureKeyVaultAppConnectionResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ AppConnection DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+ }+ // JSON400 the response for an HTTP 400 `application/json` response+ JSON400 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteAzureKeyVaultAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON401 the response for an HTTP 401 `application/json` response+ JSON401 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteAzureKeyVaultAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON403 the response for an HTTP 403 `application/json` response+ JSON403 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteAzureKeyVaultAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON404 the response for an HTTP 404 `application/json` response+ JSON404 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteAzureKeyVaultAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON422 the response for an HTTP 422 `application/json` response+ JSON422 *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DeleteAzureKeyVaultAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON500 the response for an HTTP 500 `application/json` response+ JSON500 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteAzureKeyVaultAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r DeleteAzureKeyVaultAppConnectionResponse) GetJSON200() *struct {+ AppConnection DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r DeleteAzureKeyVaultAppConnectionResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteAzureKeyVaultAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r DeleteAzureKeyVaultAppConnectionResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteAzureKeyVaultAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r DeleteAzureKeyVaultAppConnectionResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteAzureKeyVaultAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r DeleteAzureKeyVaultAppConnectionResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteAzureKeyVaultAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r DeleteAzureKeyVaultAppConnectionResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DeleteAzureKeyVaultAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r DeleteAzureKeyVaultAppConnectionResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteAzureKeyVaultAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r DeleteAzureKeyVaultAppConnectionResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r DeleteAzureKeyVaultAppConnectionResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r DeleteAzureKeyVaultAppConnectionResponse) StatusCode() int {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.StatusCode+ }+ return 0+}++// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers+func (r DeleteAzureKeyVaultAppConnectionResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type UpdateAzureKeyVaultAppConnectionResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ AppConnection UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+ }+ // JSON400 the response for an HTTP 400 `application/json` response+ JSON400 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAzureKeyVaultAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON401 the response for an HTTP 401 `application/json` response+ JSON401 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAzureKeyVaultAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON403 the response for an HTTP 403 `application/json` response+ JSON403 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAzureKeyVaultAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON404 the response for an HTTP 404 `application/json` response+ JSON404 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAzureKeyVaultAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON422 the response for an HTTP 422 `application/json` response+ JSON422 *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAzureKeyVaultAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON500 the response for an HTTP 500 `application/json` response+ JSON500 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAzureKeyVaultAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r UpdateAzureKeyVaultAppConnectionResponse) GetJSON200() *struct {+ AppConnection UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r UpdateAzureKeyVaultAppConnectionResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAzureKeyVaultAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r UpdateAzureKeyVaultAppConnectionResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAzureKeyVaultAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r UpdateAzureKeyVaultAppConnectionResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAzureKeyVaultAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r UpdateAzureKeyVaultAppConnectionResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAzureKeyVaultAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r UpdateAzureKeyVaultAppConnectionResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAzureKeyVaultAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r UpdateAzureKeyVaultAppConnectionResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAzureKeyVaultAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r UpdateAzureKeyVaultAppConnectionResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r UpdateAzureKeyVaultAppConnectionResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r UpdateAzureKeyVaultAppConnectionResponse) StatusCode() int {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.StatusCode+ }+ return 0+}++// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers+func (r UpdateAzureKeyVaultAppConnectionResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}+type ListGitHubAppConnectionsResponse struct {Body []byteHTTPResponse *http.Response@@ -337047,6 +340421,71 @@ func (c *ClientWithResponses) UpdateAwsAppConnectionWithResponse(ctx context.Conreturn ParseUpdateAwsAppConnectionResponse(rsp)}+// CreateAzureKeyVaultAppConnectionWithBodyWithResponse performs a POST /api/v1/app-connections/azure-key-vault (the `CreateAzureKeyVaultAppConnection` operationId) request,+// with any type of body and a specified content type.+//+// Create an Azure Key Vault Connection.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateAzureKeyVaultAppConnectionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAzureKeyVaultAppConnectionResponse, error) {+ rsp, err := c.CreateAzureKeyVaultAppConnectionWithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateAzureKeyVaultAppConnectionResponse(rsp)+}++// CreateAzureKeyVaultAppConnectionWithResponse performs a POST /api/v1/app-connections/azure-key-vault (the `CreateAzureKeyVaultAppConnection` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Create an Azure Key Vault Connection.+func (c *ClientWithResponses) CreateAzureKeyVaultAppConnectionWithResponse(ctx context.Context, body CreateAzureKeyVaultAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAzureKeyVaultAppConnectionResponse, error) {+ rsp, err := c.CreateAzureKeyVaultAppConnection(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateAzureKeyVaultAppConnectionResponse(rsp)+}++// DeleteAzureKeyVaultAppConnectionWithResponse performs a DELETE /api/v1/app-connections/azure-key-vault/{connectionId} (the `DeleteAzureKeyVaultAppConnection` operationId) request.+//+// Delete the specified Azure Key Vault Connection.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) DeleteAzureKeyVaultAppConnectionWithResponse(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteAzureKeyVaultAppConnectionResponse, error) {+ rsp, err := c.DeleteAzureKeyVaultAppConnection(ctx, connectionId, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseDeleteAzureKeyVaultAppConnectionResponse(rsp)+}++// UpdateAzureKeyVaultAppConnectionWithBodyWithResponse performs a PATCH /api/v1/app-connections/azure-key-vault/{connectionId} (the `UpdateAzureKeyVaultAppConnection` operationId) request,+// with any type of body and a specified content type.+//+// Update the specified Azure Key Vault Connection.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) UpdateAzureKeyVaultAppConnectionWithBodyWithResponse(ctx context.Context, connectionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAzureKeyVaultAppConnectionResponse, error) {+ rsp, err := c.UpdateAzureKeyVaultAppConnectionWithBody(ctx, connectionId, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseUpdateAzureKeyVaultAppConnectionResponse(rsp)+}++// UpdateAzureKeyVaultAppConnectionWithResponse performs a PATCH /api/v1/app-connections/azure-key-vault/{connectionId} (the `UpdateAzureKeyVaultAppConnection` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Update the specified Azure Key Vault Connection.+func (c *ClientWithResponses) UpdateAzureKeyVaultAppConnectionWithResponse(ctx context.Context, connectionId openapi_types.UUID, body UpdateAzureKeyVaultAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAzureKeyVaultAppConnectionResponse, error) {+ rsp, err := c.UpdateAzureKeyVaultAppConnection(ctx, connectionId, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseUpdateAzureKeyVaultAppConnectionResponse(rsp)+}+// ListGitHubAppConnectionsWithResponse performs a GET /api/v1/app-connections/github (the `ListGitHubAppConnections` operationId) request.//// List the GitHub Connections for the current organization or project.@@ -354582,6 +358021,312 @@ func ParseUpdateAwsAppConnectionResponse(rsp *http.Response) (*UpdateAwsAppConnereturn response, nil}+// ParseCreateAzureKeyVaultAppConnectionResponse parses an HTTP response from a CreateAzureKeyVaultAppConnectionWithResponse call+func ParseCreateAzureKeyVaultAppConnectionResponse(rsp *http.Response) (*CreateAzureKeyVaultAppConnectionResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &CreateAzureKeyVaultAppConnectionResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ AppConnection CreateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON200 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:+ var dest struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateAzureKeyVaultAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON400 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateAzureKeyVaultAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON401 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:+ var dest struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateAzureKeyVaultAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON403 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateAzureKeyVaultAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON404 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:+ var dest struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateAzureKeyVaultAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON422 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateAzureKeyVaultAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest++ }++ return response, nil+}++// ParseDeleteAzureKeyVaultAppConnectionResponse parses an HTTP response from a DeleteAzureKeyVaultAppConnectionWithResponse call+func ParseDeleteAzureKeyVaultAppConnectionResponse(rsp *http.Response) (*DeleteAzureKeyVaultAppConnectionResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &DeleteAzureKeyVaultAppConnectionResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ AppConnection DeleteAzureKeyVaultAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON200 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:+ var dest struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteAzureKeyVaultAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON400 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteAzureKeyVaultAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON401 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:+ var dest struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteAzureKeyVaultAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON403 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteAzureKeyVaultAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON404 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:+ var dest struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DeleteAzureKeyVaultAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON422 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteAzureKeyVaultAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest++ }++ return response, nil+}++// ParseUpdateAzureKeyVaultAppConnectionResponse parses an HTTP response from a UpdateAzureKeyVaultAppConnectionWithResponse call+func ParseUpdateAzureKeyVaultAppConnectionResponse(rsp *http.Response) (*UpdateAzureKeyVaultAppConnectionResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &UpdateAzureKeyVaultAppConnectionResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ AppConnection UpdateAzureKeyVaultAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON200 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:+ var dest struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAzureKeyVaultAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON400 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAzureKeyVaultAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON401 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:+ var dest struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAzureKeyVaultAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON403 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAzureKeyVaultAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON404 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:+ var dest struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAzureKeyVaultAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON422 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAzureKeyVaultAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest++ }++ return response, nil+}+// ParseListGitHubAppConnectionsResponse parses an HTTP response from a ListGitHubAppConnectionsWithResponse callfunc ParseListGitHubAppConnectionsResponse(rsp *http.Response) (*ListGitHubAppConnectionsResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)diff --git a/tests/clients/api/oapi-codegen.yaml b/tests/clients/api/oapi-codegen.yamlindex 291203112d..25583659b0 100644--- a/tests/clients/api/oapi-codegen.yaml+++ b/tests/clients/api/oapi-codegen.yaml@@ -724,3 +724,6 @@ output-options:- deleteSlackIntegration- listMicrosoftTeamsIntegrations- getMicrosoftTeamsClientId+ - createAzureKeyVaultAppConnection+ - updateAzureKeyVaultAppConnection+ - deleteAzureKeyVaultAppConnectiondiff --git a/tests/fakes/azure/azure.go b/tests/fakes/azure/azure.goindex a292a4d21b..8e6f66645e 100644--- a/tests/fakes/azure/azure.go+++ b/tests/fakes/azure/azure.go@@ -30,14 +30,21 @@ func (service) New(_ fakenet.Emitter) fakenet.Fake {t := &Tenant{}mux := http.NewServeMux()mux.HandleFunc("GET /{tenant}/discovery/keys", t.keys)+ mux.HandleFunc("POST /{tenant}/oauth2/v2.0/token", t.token)t.mux = muxreturn t}-// Tenant is one Entra tenant's published signing keys.+// Tenant is one Entra tenant's published signing keys, and the client assertions+// presented to its token endpoint.type Tenant struct {Keys []Key `json:"keys"`+ // Assertions are the client assertions workload identity federation presented, in+ // order. Entra would verify each against the federated credential's issuer; the+ // test does that itself against the issuer's JWKS.+ Assertions []Assertion `json:"assertions"`+mu sync.Mutexmux *http.ServeMux}@@ -50,8 +57,38 @@ type Key struct {X5c []string `json:"x5c"`}+// Assertion is one client credentials request with a federated client assertion.+type Assertion struct {+ ClientID string `json:"clientId"`+ Scope string `json:"scope"`+ Assertion string `json:"assertion"`+}+func (t *Tenant) ServeHTTP(w http.ResponseWriter, r *http.Request) { t.mux.ServeHTTP(w, r) }+func (t *Tenant) token(w http.ResponseWriter, r *http.Request) {+ if err := r.ParseForm(); err != nil {+ writeJSON(w, http.StatusBadRequest, map[string]string{"error": "invalid_request"})+ return+ }+ if r.PostForm.Get("client_assertion_type") != "urn:ietf:params:oauth:client-assertion-type:jwt-bearer" || r.PostForm.Get("client_assertion") == "" {+ writeJSON(w, http.StatusBadRequest, map[string]string{"error": "invalid_client", "error_description": "AADSTS700016: no client assertion"})+ return+ }+ t.mu.Lock()+ t.Assertions = append(t.Assertions, Assertion{+ ClientID: r.PostForm.Get("client_id"), Scope: r.PostForm.Get("scope"), Assertion: r.PostForm.Get("client_assertion"),+ })+ t.mu.Unlock()+ writeJSON(w, http.StatusOK, map[string]any{"token_type": "Bearer", "expires_in": 3599, "access_token": "azure-" + r.PostForm.Get("client_id")})+}++func writeJSON(w http.ResponseWriter, status int, body any) {+ w.Header().Set("Content-Type", "application/json")+ w.WriteHeader(status)+ _ = json.NewEncoder(w).Encode(body)+}+func (t *Tenant) keys(w http.ResponseWriter, _ *http.Request) {t.mu.Lock()keys := t.Keys@@ -67,8 +104,9 @@ func (t *Tenant) Snapshot() ([]byte, error) {t.mu.Lock()defer t.mu.Unlock()return json.Marshal(struct {- Keys []Key `json:"keys"`- }{t.Keys})+ Keys []Key `json:"keys"`+ Assertions []Assertion `json:"assertions"`+ }{t.Keys, t.Assertions})}func (t *Tenant) Seed(raw []byte) error {diff --git a/tests/suites/organization/oidcissuer_signing_test.go b/tests/suites/organization/oidcissuer_signing_test.gonew file mode 100644index 0000000000..035a81fa20--- /dev/null+++ b/tests/suites/organization/oidcissuer_signing_test.go@@ -0,0 +1,154 @@+package organization_test++import (+ "bytes"+ "crypto"+ "crypto/rsa"+ "crypto/sha256"+ "encoding/base64"+ "encoding/json"+ "math/big"+ "net/http"+ "strings"+ "testing"++ "github.com/Infisical/infisical/tests/fakes/azure"+ "github.com/Infisical/infisical/tests/fixture"+ "github.com/Infisical/infisical/tests/harness"+ "github.com/Infisical/infisical/tests/internal/apierr"+ "github.com/Infisical/infisical/tests/internal/id"+ "github.com/google/uuid"+ "github.com/stretchr/testify/require"+)++func TestOIDCIssuer_SignedToken(t *testing.T) {+ t.Parallel()+ h := harness.From(t)++ t.Run("should verify a token it signed against the org's JWKS, naming the org as issuer", func(t *testing.T) {+ t.Parallel()++ // Setup+ tn := h.NewTenant(t)++ // Action+ token := federatedAssertion(t, tn)++ // Assert+ key := jwksKey(t, tn, token)+ require.NotNil(t, key, "the org's JWKS does not publish the key the token names")+ require.True(t, verifiesRS256(token, key))+ claims := jwtClaims(t, token)+ require.Equal(t, h.App().SiteURL()+"/api/v1/oidc-issuer/organizations/"+tn.OrgID.String(), claims["iss"])+ require.Equal(t, "api://AzureADTokenExchange", claims["aud"])+ })++ t.Run("should not verify one org's token against another org's JWKS", func(t *testing.T) {+ t.Parallel()++ // Setup+ signer, other := h.NewTenant(t), h.NewTenant(t)+ federatedAssertion(t, other)++ // Action+ token := federatedAssertion(t, signer)++ // Assert+ require.Nil(t, jwksKey(t, other, token), "another org's JWKS publishes this org's signing key")+ for _, k := range jwksKeys(t, other) {+ require.False(t, verifiesRS256(token, &k))+ }+ })+}++// federatedAssertion has the org sign a token the only way a customer can: an Azure Key+// Vault connection that authenticates by workload identity federation, which presents+// a token from the org's issuer to Entra. The connection is created, then updated,+// because a new connection has no subject Azure could trust yet and skips the exchange.+// The Azure fake records the assertion.+func federatedAssertion(t *testing.T, tn *harness.Tenant) string {+ t.Helper()+ entraTenant := uuid.NewString()+ entra := azure.Open(t, fixture.FakenetAdmin(t, tn), entraTenant)+ credentials := map[string]any{"tenantId": entraTenant, "clientId": uuid.NewString()}++ created, err := tn.Admin.API.CreateAzureKeyVaultAppConnectionWithBodyWithResponse(t.Context(), "application/json",+ orgJSON(t, map[string]any{"name": "akv-" + id.Short(), "method": "managed-identity", "credentials": credentials}))+ require.NoError(t, err)+ requireStatus(t, http.StatusOK, created.StatusCode(), created.Body)+ var body struct {+ AppConnection struct {+ ID uuid.UUID `json:"id"`+ } `json:"appConnection"`+ }+ require.NoError(t, json.Unmarshal(created.Body, &body))++ updated, err := tn.Admin.API.UpdateAzureKeyVaultAppConnectionWithBodyWithResponse(t.Context(), body.AppConnection.ID, "application/json",+ orgJSON(t, map[string]any{"credentials": credentials}))+ require.NoError(t, err)+ requireStatus(t, http.StatusOK, updated.StatusCode(), updated.Body)++ assertions := entra.State(t).Assertions+ require.Len(t, assertions, 1, "Entra received no client assertion")+ return assertions[0].Assertion+}++type jwk struct{ Kid, N, E string }++func jwksKeys(t *testing.T, tn *harness.Tenant) []jwk {+ t.Helper()+ res, err := tn.Anonymous(t).GetOidcIssuerJwksWithResponse(t.Context(), tn.OrgID)+ require.NoError(t, err)+ require.NotNilf(t, res.JSON200, "reading the JWKS returned %d: %s", res.StatusCode(), apierr.Body(res.Body))+ keys := make([]jwk, 0, len(res.JSON200.Keys))+ for _, k := range res.JSON200.Keys {+ keys = append(keys, jwk{Kid: k.Kid, N: k.N, E: k.E})+ }+ return keys+}++// jwksKey is the published key the token's header names, or nil.+func jwksKey(t *testing.T, tn *harness.Tenant, token string) *jwk {+ t.Helper()+ var header struct {+ Kid string `json:"kid"`+ }+ raw, err := base64.RawURLEncoding.DecodeString(strings.Split(token, ".")[0])+ require.NoError(t, err)+ require.NoError(t, json.Unmarshal(raw, &header))+ for _, k := range jwksKeys(t, tn) {+ if k.Kid == header.Kid {+ return &k+ }+ }+ return nil+}++func verifiesRS256(token string, k *jwk) bool {+ parts := strings.Split(token, ".")+ n, errN := base64.RawURLEncoding.DecodeString(k.N)+ e, errE := base64.RawURLEncoding.DecodeString(k.E)+ sig, errS := base64.RawURLEncoding.DecodeString(parts[2])+ if errN != nil || errE != nil || errS != nil {+ return false+ }+ pub := &rsa.PublicKey{N: new(big.Int).SetBytes(n), E: int(new(big.Int).SetBytes(e).Int64())}+ digest := sha256.Sum256([]byte(parts[0] + "." + parts[1]))+ return rsa.VerifyPKCS1v15(pub, crypto.SHA256, digest[:], sig) == nil+}++func jwtClaims(t *testing.T, token string) map[string]any {+ t.Helper()+ raw, err := base64.RawURLEncoding.DecodeString(strings.Split(token, ".")[1])+ require.NoError(t, err)+ var claims map[string]any+ require.NoError(t, json.Unmarshal(raw, &claims))+ return claims+}++func orgJSON(t *testing.T, v any) *bytes.Reader {+ t.Helper()+ raw, err := json.Marshal(v)+ require.NoError(t, err)+ return bytes.NewReader(raw)+}