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
feat: regen the client sdk
=f4490d00ac69
diff --git a/tests/clients/api/api.gen.go b/tests/clients/api/api.gen.goindex 15ed2b3331..490071822d 100644--- a/tests/clients/api/api.gen.go+++ b/tests/clients/api/api.gen.go@@ -1779,6 +1779,147 @@ func (e VerifyUserToOrganization500JSONResponseBodyStatusCode) Valid() bool {}}+// Defines values for UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor1.+const (+ UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor1Empty UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor1 = ""+)++// Valid indicates whether the value is a known member of the UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor1 enum.+func (e UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor1) Valid() bool {+ switch e {+ case UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor1Empty:+ return true+ default:+ return false+ }+}++// Defines values for UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor1.+const (+ UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor1Empty UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor1 = ""+)++// Valid indicates whether the value is a known member of the UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor1 enum.+func (e UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor1) Valid() bool {+ switch e {+ case UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor1Empty:+ return true+ default:+ return false+ }+}++// Defines values for UpdateOrganizationJSONBodySelectedMfaMethod.+const (+ UpdateOrganizationJSONBodySelectedMfaMethodEmail UpdateOrganizationJSONBodySelectedMfaMethod = "email"+ UpdateOrganizationJSONBodySelectedMfaMethodTotp UpdateOrganizationJSONBodySelectedMfaMethod = "totp"+ UpdateOrganizationJSONBodySelectedMfaMethodWebauthn UpdateOrganizationJSONBodySelectedMfaMethod = "webauthn"+)++// Valid indicates whether the value is a known member of the UpdateOrganizationJSONBodySelectedMfaMethod enum.+func (e UpdateOrganizationJSONBodySelectedMfaMethod) Valid() bool {+ switch e {+ case UpdateOrganizationJSONBodySelectedMfaMethodEmail:+ return true+ case UpdateOrganizationJSONBodySelectedMfaMethodTotp:+ return true+ case UpdateOrganizationJSONBodySelectedMfaMethodWebauthn:+ return true+ default:+ return false+ }+}++// Defines values for UpdateOrganization400JSONResponseBodyStatusCode.+const (+ UpdateOrganization400JSONResponseBodyStatusCodeN400 UpdateOrganization400JSONResponseBodyStatusCode = 400+)++// Valid indicates whether the value is a known member of the UpdateOrganization400JSONResponseBodyStatusCode enum.+func (e UpdateOrganization400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateOrganization400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }+}++// Defines values for UpdateOrganization401JSONResponseBodyStatusCode.+const (+ UpdateOrganization401JSONResponseBodyStatusCodeN401 UpdateOrganization401JSONResponseBodyStatusCode = 401+)++// Valid indicates whether the value is a known member of the UpdateOrganization401JSONResponseBodyStatusCode enum.+func (e UpdateOrganization401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateOrganization401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}++// Defines values for UpdateOrganization403JSONResponseBodyStatusCode.+const (+ UpdateOrganization403JSONResponseBodyStatusCodeN403 UpdateOrganization403JSONResponseBodyStatusCode = 403+)++// Valid indicates whether the value is a known member of the UpdateOrganization403JSONResponseBodyStatusCode enum.+func (e UpdateOrganization403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateOrganization403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}++// Defines values for UpdateOrganization404JSONResponseBodyStatusCode.+const (+ UpdateOrganization404JSONResponseBodyStatusCodeN404 UpdateOrganization404JSONResponseBodyStatusCode = 404+)++// Valid indicates whether the value is a known member of the UpdateOrganization404JSONResponseBodyStatusCode enum.+func (e UpdateOrganization404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateOrganization404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}++// Defines values for UpdateOrganization422JSONResponseBodyStatusCode.+const (+ UpdateOrganization422JSONResponseBodyStatusCodeN422 UpdateOrganization422JSONResponseBodyStatusCode = 422+)++// Valid indicates whether the value is a known member of the UpdateOrganization422JSONResponseBodyStatusCode enum.+func (e UpdateOrganization422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateOrganization422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }+}++// Defines values for UpdateOrganization500JSONResponseBodyStatusCode.+const (+ UpdateOrganization500JSONResponseBodyStatusCodeN500 UpdateOrganization500JSONResponseBodyStatusCode = 500+)++// Valid indicates whether the value is a known member of the UpdateOrganization500JSONResponseBodyStatusCode enum.+func (e UpdateOrganization500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateOrganization500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}+// Defines values for GetOrganizationPlanParamsRefreshCache.const (GetOrganizationPlanParamsRefreshCacheFalse GetOrganizationPlanParamsRefreshCache = "false"@@ -1887,6 +2028,186 @@ func (e GetOrganizationPlan500JSONResponseBodyStatusCode) Valid() bool {}}+// Defines values for CreateProjectFolderGrant400JSONResponseBodyStatusCode.+const (+ CreateProjectFolderGrant400JSONResponseBodyStatusCodeN400 CreateProjectFolderGrant400JSONResponseBodyStatusCode = 400+)++// Valid indicates whether the value is a known member of the CreateProjectFolderGrant400JSONResponseBodyStatusCode enum.+func (e CreateProjectFolderGrant400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateProjectFolderGrant400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }+}++// Defines values for CreateProjectFolderGrant401JSONResponseBodyStatusCode.+const (+ CreateProjectFolderGrant401JSONResponseBodyStatusCodeN401 CreateProjectFolderGrant401JSONResponseBodyStatusCode = 401+)++// Valid indicates whether the value is a known member of the CreateProjectFolderGrant401JSONResponseBodyStatusCode enum.+func (e CreateProjectFolderGrant401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateProjectFolderGrant401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}++// Defines values for CreateProjectFolderGrant403JSONResponseBodyStatusCode.+const (+ CreateProjectFolderGrant403JSONResponseBodyStatusCodeN403 CreateProjectFolderGrant403JSONResponseBodyStatusCode = 403+)++// Valid indicates whether the value is a known member of the CreateProjectFolderGrant403JSONResponseBodyStatusCode enum.+func (e CreateProjectFolderGrant403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateProjectFolderGrant403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}++// Defines values for CreateProjectFolderGrant404JSONResponseBodyStatusCode.+const (+ CreateProjectFolderGrant404JSONResponseBodyStatusCodeN404 CreateProjectFolderGrant404JSONResponseBodyStatusCode = 404+)++// Valid indicates whether the value is a known member of the CreateProjectFolderGrant404JSONResponseBodyStatusCode enum.+func (e CreateProjectFolderGrant404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateProjectFolderGrant404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}++// Defines values for CreateProjectFolderGrant422JSONResponseBodyStatusCode.+const (+ CreateProjectFolderGrant422JSONResponseBodyStatusCodeN422 CreateProjectFolderGrant422JSONResponseBodyStatusCode = 422+)++// Valid indicates whether the value is a known member of the CreateProjectFolderGrant422JSONResponseBodyStatusCode enum.+func (e CreateProjectFolderGrant422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateProjectFolderGrant422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }+}++// Defines values for CreateProjectFolderGrant500JSONResponseBodyStatusCode.+const (+ CreateProjectFolderGrant500JSONResponseBodyStatusCodeN500 CreateProjectFolderGrant500JSONResponseBodyStatusCode = 500+)++// Valid indicates whether the value is a known member of the CreateProjectFolderGrant500JSONResponseBodyStatusCode enum.+func (e CreateProjectFolderGrant500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateProjectFolderGrant500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}++// Defines values for DeleteProjectFolderGrant400JSONResponseBodyStatusCode.+const (+ DeleteProjectFolderGrant400JSONResponseBodyStatusCodeN400 DeleteProjectFolderGrant400JSONResponseBodyStatusCode = 400+)++// Valid indicates whether the value is a known member of the DeleteProjectFolderGrant400JSONResponseBodyStatusCode enum.+func (e DeleteProjectFolderGrant400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteProjectFolderGrant400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }+}++// Defines values for DeleteProjectFolderGrant401JSONResponseBodyStatusCode.+const (+ DeleteProjectFolderGrant401JSONResponseBodyStatusCodeN401 DeleteProjectFolderGrant401JSONResponseBodyStatusCode = 401+)++// Valid indicates whether the value is a known member of the DeleteProjectFolderGrant401JSONResponseBodyStatusCode enum.+func (e DeleteProjectFolderGrant401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteProjectFolderGrant401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}++// Defines values for DeleteProjectFolderGrant403JSONResponseBodyStatusCode.+const (+ DeleteProjectFolderGrant403JSONResponseBodyStatusCodeN403 DeleteProjectFolderGrant403JSONResponseBodyStatusCode = 403+)++// Valid indicates whether the value is a known member of the DeleteProjectFolderGrant403JSONResponseBodyStatusCode enum.+func (e DeleteProjectFolderGrant403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteProjectFolderGrant403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}++// Defines values for DeleteProjectFolderGrant404JSONResponseBodyStatusCode.+const (+ DeleteProjectFolderGrant404JSONResponseBodyStatusCodeN404 DeleteProjectFolderGrant404JSONResponseBodyStatusCode = 404+)++// Valid indicates whether the value is a known member of the DeleteProjectFolderGrant404JSONResponseBodyStatusCode enum.+func (e DeleteProjectFolderGrant404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteProjectFolderGrant404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}++// Defines values for DeleteProjectFolderGrant422JSONResponseBodyStatusCode.+const (+ DeleteProjectFolderGrant422JSONResponseBodyStatusCodeN422 DeleteProjectFolderGrant422JSONResponseBodyStatusCode = 422+)++// Valid indicates whether the value is a known member of the DeleteProjectFolderGrant422JSONResponseBodyStatusCode enum.+func (e DeleteProjectFolderGrant422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteProjectFolderGrant422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }+}++// Defines values for DeleteProjectFolderGrant500JSONResponseBodyStatusCode.+const (+ DeleteProjectFolderGrant500JSONResponseBodyStatusCodeN500 DeleteProjectFolderGrant500JSONResponseBodyStatusCode = 500+)++// Valid indicates whether the value is a known member of the DeleteProjectFolderGrant500JSONResponseBodyStatusCode enum.+func (e DeleteProjectFolderGrant500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteProjectFolderGrant500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}+// Defines values for CreateProjectJSONBodyType.const (AgentVault CreateProjectJSONBodyType = "agent-vault"@@ -1919,13 +2240,13 @@ func (e CreateProjectJSONBodyType) Valid() bool {// Defines values for CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0Type.const (- User CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0Type = "user"+ CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0TypeUser CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0Type = "user")// Valid indicates whether the value is a known member of the CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0Type enum.func (e CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0Type) Valid() bool {switch e {- case User:+ case CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0TypeUser:return truedefault:return false@@ -2487,17077 +2808,33173 @@ func (e CreateProjectIdentityMembership500JSONResponseBodyStatusCode) Valid() bo}}-// Defines values for CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope.+// Defines values for CreateIdentityFolderAccessJSONBodyPermission.const (- CreateGitHubSecretSyncJSONBodyDestinationConfig0ScopeOrganization CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope = "organization"+ CreateIdentityFolderAccessJSONBodyPermissionEdit CreateIdentityFolderAccessJSONBodyPermission = "edit"+ CreateIdentityFolderAccessJSONBodyPermissionFullAccess CreateIdentityFolderAccessJSONBodyPermission = "full-access"+ CreateIdentityFolderAccessJSONBodyPermissionList CreateIdentityFolderAccessJSONBodyPermission = "list"+ CreateIdentityFolderAccessJSONBodyPermissionManage CreateIdentityFolderAccessJSONBodyPermission = "manage"+ CreateIdentityFolderAccessJSONBodyPermissionRead CreateIdentityFolderAccessJSONBodyPermission = "read")-// Valid indicates whether the value is a known member of the CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope enum.-func (e CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope) Valid() bool {+// Valid indicates whether the value is a known member of the CreateIdentityFolderAccessJSONBodyPermission enum.+func (e CreateIdentityFolderAccessJSONBodyPermission) Valid() bool {switch e {- case CreateGitHubSecretSyncJSONBodyDestinationConfig0ScopeOrganization:+ case CreateIdentityFolderAccessJSONBodyPermissionEdit:+ return true+ case CreateIdentityFolderAccessJSONBodyPermissionFullAccess:+ return true+ case CreateIdentityFolderAccessJSONBodyPermissionList:+ return true+ case CreateIdentityFolderAccessJSONBodyPermissionManage:+ return true+ case CreateIdentityFolderAccessJSONBodyPermissionRead:return truedefault:return false}}-// Defines values for CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility.+// Defines values for CreateIdentityFolderAccessJSONBodyType0IsTemporary.const (- CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilityAll CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility = "all"- CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilityPrivate CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility = "private"- CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilitySelected CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility = "selected"+ CreateIdentityFolderAccessJSONBodyType0IsTemporaryFalse CreateIdentityFolderAccessJSONBodyType0IsTemporary = false)-// Valid indicates whether the value is a known member of the CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility enum.-func (e CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility) Valid() bool {+// Valid indicates whether the value is a known member of the CreateIdentityFolderAccessJSONBodyType0IsTemporary enum.+func (e CreateIdentityFolderAccessJSONBodyType0IsTemporary) Valid() bool {switch e {- case CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilityAll:- return true- case CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilityPrivate:- return true- case CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilitySelected:+ case CreateIdentityFolderAccessJSONBodyType0IsTemporaryFalse:return truedefault:return false}}-// Defines values for CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope.+// Defines values for CreateIdentityFolderAccessJSONBodyType1IsTemporary.const (- CreateGitHubSecretSyncJSONBodyDestinationConfig1ScopeRepository CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope = "repository"+ CreateIdentityFolderAccessJSONBodyType1IsTemporaryTrue CreateIdentityFolderAccessJSONBodyType1IsTemporary = true)-// Valid indicates whether the value is a known member of the CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope enum.-func (e CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope) Valid() bool {+// Valid indicates whether the value is a known member of the CreateIdentityFolderAccessJSONBodyType1IsTemporary enum.+func (e CreateIdentityFolderAccessJSONBodyType1IsTemporary) Valid() bool {switch e {- case CreateGitHubSecretSyncJSONBodyDestinationConfig1ScopeRepository:+ case CreateIdentityFolderAccessJSONBodyType1IsTemporaryTrue:return truedefault:return false}}-// Defines values for CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope.+// Defines values for CreateIdentityFolderAccessJSONBodyType1TemporaryMode.const (- CreateGitHubSecretSyncJSONBodyDestinationConfig2ScopeRepositoryEnvironment CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope = "repository-environment"+ CreateIdentityFolderAccessJSONBodyType1TemporaryModeRelative CreateIdentityFolderAccessJSONBodyType1TemporaryMode = "relative")-// Valid indicates whether the value is a known member of the CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope enum.-func (e CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope) Valid() bool {+// Valid indicates whether the value is a known member of the CreateIdentityFolderAccessJSONBodyType1TemporaryMode enum.+func (e CreateIdentityFolderAccessJSONBodyType1TemporaryMode) Valid() bool {switch e {- case CreateGitHubSecretSyncJSONBodyDestinationConfig2ScopeRepositoryEnvironment:+ case CreateIdentityFolderAccessJSONBodyType1TemporaryModeRelative:return truedefault:return false}}-// Defines values for CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior.+// Defines values for CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermission.const (- CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehaviorOverwriteDestination CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior = "overwrite-destination"+ CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermissionEdit CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermission = "edit"+ CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermissionFullAccess CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermission = "full-access"+ CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermissionList CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermission = "list"+ CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermissionManage CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermission = "manage"+ CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermissionRead CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermission = "read")-// Valid indicates whether the value is a known member of the CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior enum.-func (e CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior) Valid() bool {+// Valid indicates whether the value is a known member of the CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermission enum.+func (e CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermission) Valid() bool {switch e {- case CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehaviorOverwriteDestination:+ case CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermissionEdit:+ return true+ case CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermissionFullAccess:+ return true+ case CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermissionList:+ return true+ case CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermissionManage:+ return true+ case CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermissionRead:return truedefault:return false}}-// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp.+// Defines values for CreateIdentityFolderAccess400JSONResponseBodyStatusCode.const (- CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp = "github"+ CreateIdentityFolderAccess400JSONResponseBodyStatusCodeN400 CreateIdentityFolderAccess400JSONResponseBodyStatusCode = 400)-// Valid indicates whether the value is a known member of the CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp enum.-func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp) Valid() bool {+// Valid indicates whether the value is a known member of the CreateIdentityFolderAccess400JSONResponseBodyStatusCode enum.+func (e CreateIdentityFolderAccess400JSONResponseBodyStatusCode) Valid() bool {switch e {- case CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub:+ case CreateIdentityFolderAccess400JSONResponseBodyStatusCodeN400:return truedefault:return false}}-// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination.+// Defines values for CreateIdentityFolderAccess401JSONResponseBodyStatusCode.const (- CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination = "github"+ CreateIdentityFolderAccess401JSONResponseBodyStatusCodeN401 CreateIdentityFolderAccess401JSONResponseBodyStatusCode = 401)-// Valid indicates whether the value is a known member of the CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination enum.-func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination) Valid() bool {+// Valid indicates whether the value is a known member of the CreateIdentityFolderAccess401JSONResponseBodyStatusCode enum.+func (e CreateIdentityFolderAccess401JSONResponseBodyStatusCode) Valid() bool {switch e {- case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub:+ case CreateIdentityFolderAccess401JSONResponseBodyStatusCodeN401:return truedefault:return false}}-// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope.+// Defines values for CreateIdentityFolderAccess403JSONResponseBodyStatusCode.const (- CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization"+ CreateIdentityFolderAccess403JSONResponseBodyStatusCodeN403 CreateIdentityFolderAccess403JSONResponseBodyStatusCode = 403)-// Valid indicates whether the value is a known member of the CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope enum.-func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope) Valid() bool {+// Valid indicates whether the value is a known member of the CreateIdentityFolderAccess403JSONResponseBodyStatusCode enum.+func (e CreateIdentityFolderAccess403JSONResponseBodyStatusCode) Valid() bool {switch e {- case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:+ case CreateIdentityFolderAccess403JSONResponseBodyStatusCodeN403:return truedefault:return false}}-// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility.+// Defines values for CreateIdentityFolderAccess404JSONResponseBodyStatusCode.const (- CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"- CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"- CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected"+ CreateIdentityFolderAccess404JSONResponseBodyStatusCodeN404 CreateIdentityFolderAccess404JSONResponseBodyStatusCode = 404)-// Valid indicates whether the value is a known member of the CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility enum.-func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility) Valid() bool {+// Valid indicates whether the value is a known member of the CreateIdentityFolderAccess404JSONResponseBodyStatusCode enum.+func (e CreateIdentityFolderAccess404JSONResponseBodyStatusCode) Valid() bool {switch e {- case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:- return true- case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:- return true- case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:+ case CreateIdentityFolderAccess404JSONResponseBodyStatusCodeN404:return truedefault:return false}}-// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope.+// Defines values for CreateIdentityFolderAccess422JSONResponseBodyStatusCode.const (- CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository"+ CreateIdentityFolderAccess422JSONResponseBodyStatusCodeN422 CreateIdentityFolderAccess422JSONResponseBodyStatusCode = 422)-// Valid indicates whether the value is a known member of the CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope enum.-func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope) Valid() bool {+// Valid indicates whether the value is a known member of the CreateIdentityFolderAccess422JSONResponseBodyStatusCode enum.+func (e CreateIdentityFolderAccess422JSONResponseBodyStatusCode) Valid() bool {switch e {- case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:+ case CreateIdentityFolderAccess422JSONResponseBodyStatusCodeN422:return truedefault:return false}}-// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope.+// Defines values for CreateIdentityFolderAccess500JSONResponseBodyStatusCode.const (- CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment"+ CreateIdentityFolderAccess500JSONResponseBodyStatusCodeN500 CreateIdentityFolderAccess500JSONResponseBodyStatusCode = 500)-// Valid indicates whether the value is a known member of the CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope enum.-func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope) Valid() bool {+// Valid indicates whether the value is a known member of the CreateIdentityFolderAccess500JSONResponseBodyStatusCode enum.+func (e CreateIdentityFolderAccess500JSONResponseBodyStatusCode) Valid() bool {switch e {- case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:+ case CreateIdentityFolderAccess500JSONResponseBodyStatusCodeN500:return truedefault:return false}}-// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.+// Defines values for CreateSecretTag400JSONResponseBodyStatusCode.const (- CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination"+ CreateSecretTag400JSONResponseBodyStatusCodeN400 CreateSecretTag400JSONResponseBodyStatusCode = 400)-// Valid indicates whether the value is a known member of the CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior enum.-func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior) Valid() bool {+// Valid indicates whether the value is a known member of the CreateSecretTag400JSONResponseBodyStatusCode enum.+func (e CreateSecretTag400JSONResponseBodyStatusCode) Valid() bool {switch e {- case CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:+ case CreateSecretTag400JSONResponseBodyStatusCodeN400:return truedefault:return false}}-// Defines values for CreateGitHubSecretSync400JSONResponseBodyStatusCode.+// Defines values for CreateSecretTag401JSONResponseBodyStatusCode.const (- CreateGitHubSecretSync400JSONResponseBodyStatusCodeN400 CreateGitHubSecretSync400JSONResponseBodyStatusCode = 400+ CreateSecretTag401JSONResponseBodyStatusCodeN401 CreateSecretTag401JSONResponseBodyStatusCode = 401)-// Valid indicates whether the value is a known member of the CreateGitHubSecretSync400JSONResponseBodyStatusCode enum.-func (e CreateGitHubSecretSync400JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateSecretTag401JSONResponseBodyStatusCode enum.+func (e CreateSecretTag401JSONResponseBodyStatusCode) Valid() bool {switch e {- case CreateGitHubSecretSync400JSONResponseBodyStatusCodeN400:+ case CreateSecretTag401JSONResponseBodyStatusCodeN401:return truedefault:return false}}-// Defines values for CreateGitHubSecretSync401JSONResponseBodyStatusCode.+// Defines values for CreateSecretTag403JSONResponseBodyStatusCode.const (- CreateGitHubSecretSync401JSONResponseBodyStatusCodeN401 CreateGitHubSecretSync401JSONResponseBodyStatusCode = 401+ CreateSecretTag403JSONResponseBodyStatusCodeN403 CreateSecretTag403JSONResponseBodyStatusCode = 403)-// Valid indicates whether the value is a known member of the CreateGitHubSecretSync401JSONResponseBodyStatusCode enum.-func (e CreateGitHubSecretSync401JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateSecretTag403JSONResponseBodyStatusCode enum.+func (e CreateSecretTag403JSONResponseBodyStatusCode) Valid() bool {switch e {- case CreateGitHubSecretSync401JSONResponseBodyStatusCodeN401:+ case CreateSecretTag403JSONResponseBodyStatusCodeN403:return truedefault:return false}}-// Defines values for CreateGitHubSecretSync403JSONResponseBodyStatusCode.+// Defines values for CreateSecretTag404JSONResponseBodyStatusCode.const (- CreateGitHubSecretSync403JSONResponseBodyStatusCodeN403 CreateGitHubSecretSync403JSONResponseBodyStatusCode = 403+ CreateSecretTag404JSONResponseBodyStatusCodeN404 CreateSecretTag404JSONResponseBodyStatusCode = 404)-// Valid indicates whether the value is a known member of the CreateGitHubSecretSync403JSONResponseBodyStatusCode enum.-func (e CreateGitHubSecretSync403JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateSecretTag404JSONResponseBodyStatusCode enum.+func (e CreateSecretTag404JSONResponseBodyStatusCode) Valid() bool {switch e {- case CreateGitHubSecretSync403JSONResponseBodyStatusCodeN403:+ case CreateSecretTag404JSONResponseBodyStatusCodeN404:return truedefault:return false}}-// Defines values for CreateGitHubSecretSync404JSONResponseBodyStatusCode.+// Defines values for CreateSecretTag422JSONResponseBodyStatusCode.const (- CreateGitHubSecretSync404JSONResponseBodyStatusCodeN404 CreateGitHubSecretSync404JSONResponseBodyStatusCode = 404+ CreateSecretTag422JSONResponseBodyStatusCodeN422 CreateSecretTag422JSONResponseBodyStatusCode = 422)-// Valid indicates whether the value is a known member of the CreateGitHubSecretSync404JSONResponseBodyStatusCode enum.-func (e CreateGitHubSecretSync404JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateSecretTag422JSONResponseBodyStatusCode enum.+func (e CreateSecretTag422JSONResponseBodyStatusCode) Valid() bool {switch e {- case CreateGitHubSecretSync404JSONResponseBodyStatusCodeN404:+ case CreateSecretTag422JSONResponseBodyStatusCodeN422:return truedefault:return false}}-// Defines values for CreateGitHubSecretSync422JSONResponseBodyStatusCode.+// Defines values for CreateSecretTag500JSONResponseBodyStatusCode.const (- CreateGitHubSecretSync422JSONResponseBodyStatusCodeN422 CreateGitHubSecretSync422JSONResponseBodyStatusCode = 422+ CreateSecretTag500JSONResponseBodyStatusCodeN500 CreateSecretTag500JSONResponseBodyStatusCode = 500)-// Valid indicates whether the value is a known member of the CreateGitHubSecretSync422JSONResponseBodyStatusCode enum.-func (e CreateGitHubSecretSync422JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateSecretTag500JSONResponseBodyStatusCode enum.+func (e CreateSecretTag500JSONResponseBodyStatusCode) Valid() bool {switch e {- case CreateGitHubSecretSync422JSONResponseBodyStatusCodeN422:+ case CreateSecretTag500JSONResponseBodyStatusCodeN500:return truedefault:return false}}-// Defines values for CreateGitHubSecretSync500JSONResponseBodyStatusCode.+// Defines values for ListSecretApprovalRequestsParamsStatus.const (- CreateGitHubSecretSync500JSONResponseBodyStatusCodeN500 CreateGitHubSecretSync500JSONResponseBodyStatusCode = 500+ ListSecretApprovalRequestsParamsStatusClose ListSecretApprovalRequestsParamsStatus = "close"+ ListSecretApprovalRequestsParamsStatusOpen ListSecretApprovalRequestsParamsStatus = "open")-// Valid indicates whether the value is a known member of the CreateGitHubSecretSync500JSONResponseBodyStatusCode enum.-func (e CreateGitHubSecretSync500JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the ListSecretApprovalRequestsParamsStatus enum.+func (e ListSecretApprovalRequestsParamsStatus) Valid() bool {switch e {- case CreateGitHubSecretSync500JSONResponseBodyStatusCodeN500:+ case ListSecretApprovalRequestsParamsStatusClose:+ return true+ case ListSecretApprovalRequestsParamsStatusOpen:return truedefault:return false}}-// Defines values for DeleteGitHubSecretSyncParamsRemoveSecrets.+// Defines values for ListSecretApprovalRequestsParamsOrderBy.const (- DeleteGitHubSecretSyncParamsRemoveSecretsFalse DeleteGitHubSecretSyncParamsRemoveSecrets = "false"- DeleteGitHubSecretSyncParamsRemoveSecretsTrue DeleteGitHubSecretSyncParamsRemoveSecrets = "true"+ Author ListSecretApprovalRequestsParamsOrderBy = "author"+ CreatedAt ListSecretApprovalRequestsParamsOrderBy = "createdAt"+ Environment ListSecretApprovalRequestsParamsOrderBy = "environment"+ SecretPath ListSecretApprovalRequestsParamsOrderBy = "secretPath")-// Valid indicates whether the value is a known member of the DeleteGitHubSecretSyncParamsRemoveSecrets enum.-func (e DeleteGitHubSecretSyncParamsRemoveSecrets) Valid() bool {+// Valid indicates whether the value is a known member of the ListSecretApprovalRequestsParamsOrderBy enum.+func (e ListSecretApprovalRequestsParamsOrderBy) Valid() bool {switch e {- case DeleteGitHubSecretSyncParamsRemoveSecretsFalse:+ case Author:return true- case DeleteGitHubSecretSyncParamsRemoveSecretsTrue:+ case CreatedAt:+ return true+ case Environment:+ return true+ case SecretPath:return truedefault:return false}}-// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp.+// Defines values for ListSecretApprovalRequestsParamsOrderDirection.const (- DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp = "github"+ Asc ListSecretApprovalRequestsParamsOrderDirection = "asc"+ Desc ListSecretApprovalRequestsParamsOrderDirection = "desc")-// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp enum.-func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp) Valid() bool {+// Valid indicates whether the value is a known member of the ListSecretApprovalRequestsParamsOrderDirection enum.+func (e ListSecretApprovalRequestsParamsOrderDirection) Valid() bool {switch e {- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub:+ case Asc:+ return true+ case Desc:return truedefault:return false}}-// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination.+// Defines values for ListSecretApprovalRequests400JSONResponseBodyStatusCode.const (- DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination = "github"+ ListSecretApprovalRequests400JSONResponseBodyStatusCodeN400 ListSecretApprovalRequests400JSONResponseBodyStatusCode = 400)-// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination enum.-func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination) Valid() bool {+// Valid indicates whether the value is a known member of the ListSecretApprovalRequests400JSONResponseBodyStatusCode enum.+func (e ListSecretApprovalRequests400JSONResponseBodyStatusCode) Valid() bool {switch e {- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub:+ case ListSecretApprovalRequests400JSONResponseBodyStatusCodeN400:return truedefault:return false}}-// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope.+// Defines values for ListSecretApprovalRequests401JSONResponseBodyStatusCode.const (- DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization"+ ListSecretApprovalRequests401JSONResponseBodyStatusCodeN401 ListSecretApprovalRequests401JSONResponseBodyStatusCode = 401)-// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope enum.-func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope) Valid() bool {+// Valid indicates whether the value is a known member of the ListSecretApprovalRequests401JSONResponseBodyStatusCode enum.+func (e ListSecretApprovalRequests401JSONResponseBodyStatusCode) Valid() bool {switch e {- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:+ case ListSecretApprovalRequests401JSONResponseBodyStatusCodeN401:return truedefault:return false}}-// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility.+// Defines values for ListSecretApprovalRequests403JSONResponseBodyStatusCode.const (- DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"- DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"- DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected"+ ListSecretApprovalRequests403JSONResponseBodyStatusCodeN403 ListSecretApprovalRequests403JSONResponseBodyStatusCode = 403)-// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility enum.-func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility) Valid() bool {+// Valid indicates whether the value is a known member of the ListSecretApprovalRequests403JSONResponseBodyStatusCode enum.+func (e ListSecretApprovalRequests403JSONResponseBodyStatusCode) Valid() bool {switch e {- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:- return true- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:- return true- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:+ case ListSecretApprovalRequests403JSONResponseBodyStatusCodeN403:return truedefault:return false}}-// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope.+// Defines values for ListSecretApprovalRequests404JSONResponseBodyStatusCode.const (- DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository"+ ListSecretApprovalRequests404JSONResponseBodyStatusCodeN404 ListSecretApprovalRequests404JSONResponseBodyStatusCode = 404)-// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope enum.-func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope) Valid() bool {+// Valid indicates whether the value is a known member of the ListSecretApprovalRequests404JSONResponseBodyStatusCode enum.+func (e ListSecretApprovalRequests404JSONResponseBodyStatusCode) Valid() bool {switch e {- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:+ case ListSecretApprovalRequests404JSONResponseBodyStatusCodeN404:return truedefault:return false}}-// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope.+// Defines values for ListSecretApprovalRequests422JSONResponseBodyStatusCode.const (- DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment"+ ListSecretApprovalRequests422JSONResponseBodyStatusCodeN422 ListSecretApprovalRequests422JSONResponseBodyStatusCode = 422)-// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope enum.-func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope) Valid() bool {+// Valid indicates whether the value is a known member of the ListSecretApprovalRequests422JSONResponseBodyStatusCode enum.+func (e ListSecretApprovalRequests422JSONResponseBodyStatusCode) Valid() bool {switch e {- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:+ case ListSecretApprovalRequests422JSONResponseBodyStatusCodeN422:return truedefault:return false}}-// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.+// Defines values for ListSecretApprovalRequests500JSONResponseBodyStatusCode.const (- DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination"+ ListSecretApprovalRequests500JSONResponseBodyStatusCodeN500 ListSecretApprovalRequests500JSONResponseBodyStatusCode = 500)-// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior enum.-func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior) Valid() bool {+// Valid indicates whether the value is a known member of the ListSecretApprovalRequests500JSONResponseBodyStatusCode enum.+func (e ListSecretApprovalRequests500JSONResponseBodyStatusCode) Valid() bool {switch e {- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:+ case ListSecretApprovalRequests500JSONResponseBodyStatusCodeN500:return truedefault:return false}}-// Defines values for DeleteGitHubSecretSync400JSONResponseBodyStatusCode.+// Defines values for GetSecretApprovalRequestCount400JSONResponseBodyStatusCode.const (- DeleteGitHubSecretSync400JSONResponseBodyStatusCodeN400 DeleteGitHubSecretSync400JSONResponseBodyStatusCode = 400+ GetSecretApprovalRequestCount400JSONResponseBodyStatusCodeN400 GetSecretApprovalRequestCount400JSONResponseBodyStatusCode = 400)-// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync400JSONResponseBodyStatusCode enum.-func (e DeleteGitHubSecretSync400JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the GetSecretApprovalRequestCount400JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalRequestCount400JSONResponseBodyStatusCode) Valid() bool {switch e {- case DeleteGitHubSecretSync400JSONResponseBodyStatusCodeN400:+ case GetSecretApprovalRequestCount400JSONResponseBodyStatusCodeN400:return truedefault:return false}}-// Defines values for DeleteGitHubSecretSync401JSONResponseBodyStatusCode.+// Defines values for GetSecretApprovalRequestCount401JSONResponseBodyStatusCode.const (- DeleteGitHubSecretSync401JSONResponseBodyStatusCodeN401 DeleteGitHubSecretSync401JSONResponseBodyStatusCode = 401+ GetSecretApprovalRequestCount401JSONResponseBodyStatusCodeN401 GetSecretApprovalRequestCount401JSONResponseBodyStatusCode = 401)-// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync401JSONResponseBodyStatusCode enum.-func (e DeleteGitHubSecretSync401JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the GetSecretApprovalRequestCount401JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalRequestCount401JSONResponseBodyStatusCode) Valid() bool {switch e {- case DeleteGitHubSecretSync401JSONResponseBodyStatusCodeN401:+ case GetSecretApprovalRequestCount401JSONResponseBodyStatusCodeN401:return truedefault:return false}}-// Defines values for DeleteGitHubSecretSync403JSONResponseBodyStatusCode.+// Defines values for GetSecretApprovalRequestCount403JSONResponseBodyStatusCode.const (- DeleteGitHubSecretSync403JSONResponseBodyStatusCodeN403 DeleteGitHubSecretSync403JSONResponseBodyStatusCode = 403+ GetSecretApprovalRequestCount403JSONResponseBodyStatusCodeN403 GetSecretApprovalRequestCount403JSONResponseBodyStatusCode = 403)-// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync403JSONResponseBodyStatusCode enum.-func (e DeleteGitHubSecretSync403JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the GetSecretApprovalRequestCount403JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalRequestCount403JSONResponseBodyStatusCode) Valid() bool {switch e {- case DeleteGitHubSecretSync403JSONResponseBodyStatusCodeN403:+ case GetSecretApprovalRequestCount403JSONResponseBodyStatusCodeN403:return truedefault:return false}}-// Defines values for DeleteGitHubSecretSync404JSONResponseBodyStatusCode.+// Defines values for GetSecretApprovalRequestCount404JSONResponseBodyStatusCode.const (- DeleteGitHubSecretSync404JSONResponseBodyStatusCodeN404 DeleteGitHubSecretSync404JSONResponseBodyStatusCode = 404+ GetSecretApprovalRequestCount404JSONResponseBodyStatusCodeN404 GetSecretApprovalRequestCount404JSONResponseBodyStatusCode = 404)-// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync404JSONResponseBodyStatusCode enum.-func (e DeleteGitHubSecretSync404JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the GetSecretApprovalRequestCount404JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalRequestCount404JSONResponseBodyStatusCode) Valid() bool {switch e {- case DeleteGitHubSecretSync404JSONResponseBodyStatusCodeN404:+ case GetSecretApprovalRequestCount404JSONResponseBodyStatusCodeN404:return truedefault:return false}}-// Defines values for DeleteGitHubSecretSync422JSONResponseBodyStatusCode.+// Defines values for GetSecretApprovalRequestCount422JSONResponseBodyStatusCode.const (- DeleteGitHubSecretSync422JSONResponseBodyStatusCodeN422 DeleteGitHubSecretSync422JSONResponseBodyStatusCode = 422+ GetSecretApprovalRequestCount422JSONResponseBodyStatusCodeN422 GetSecretApprovalRequestCount422JSONResponseBodyStatusCode = 422)-// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync422JSONResponseBodyStatusCode enum.-func (e DeleteGitHubSecretSync422JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the GetSecretApprovalRequestCount422JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalRequestCount422JSONResponseBodyStatusCode) Valid() bool {switch e {- case DeleteGitHubSecretSync422JSONResponseBodyStatusCodeN422:+ case GetSecretApprovalRequestCount422JSONResponseBodyStatusCodeN422:return truedefault:return false}}-// Defines values for DeleteGitHubSecretSync500JSONResponseBodyStatusCode.+// Defines values for GetSecretApprovalRequestCount500JSONResponseBodyStatusCode.const (- DeleteGitHubSecretSync500JSONResponseBodyStatusCodeN500 DeleteGitHubSecretSync500JSONResponseBodyStatusCode = 500+ GetSecretApprovalRequestCount500JSONResponseBodyStatusCodeN500 GetSecretApprovalRequestCount500JSONResponseBodyStatusCode = 500)-// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync500JSONResponseBodyStatusCode enum.-func (e DeleteGitHubSecretSync500JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the GetSecretApprovalRequestCount500JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalRequestCount500JSONResponseBodyStatusCode) Valid() bool {switch e {- case DeleteGitHubSecretSync500JSONResponseBodyStatusCodeN500:+ case GetSecretApprovalRequestCount500JSONResponseBodyStatusCodeN500:return truedefault:return false}}-// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp.+// Defines values for GetSecretApprovalRequest400JSONResponseBodyStatusCode.const (- GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp = "github"+ GetSecretApprovalRequest400JSONResponseBodyStatusCodeN400 GetSecretApprovalRequest400JSONResponseBodyStatusCode = 400)-// Valid indicates whether the value is a known member of the GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp enum.-func (e GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp) Valid() bool {+// Valid indicates whether the value is a known member of the GetSecretApprovalRequest400JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalRequest400JSONResponseBodyStatusCode) Valid() bool {switch e {- case GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub:+ case GetSecretApprovalRequest400JSONResponseBodyStatusCodeN400:return truedefault:return false}}-// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestination.+// Defines values for GetSecretApprovalRequest401JSONResponseBodyStatusCode.const (- GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub GetGitHubSecretSync200JSONResponseBodySecretSyncDestination = "github"+ GetSecretApprovalRequest401JSONResponseBodyStatusCodeN401 GetSecretApprovalRequest401JSONResponseBodyStatusCode = 401)-// Valid indicates whether the value is a known member of the GetGitHubSecretSync200JSONResponseBodySecretSyncDestination enum.-func (e GetGitHubSecretSync200JSONResponseBodySecretSyncDestination) Valid() bool {+// Valid indicates whether the value is a known member of the GetSecretApprovalRequest401JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalRequest401JSONResponseBodyStatusCode) Valid() bool {switch e {- case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub:+ case GetSecretApprovalRequest401JSONResponseBodyStatusCodeN401:return truedefault:return false}}-// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope.+// Defines values for GetSecretApprovalRequest403JSONResponseBodyStatusCode.const (- GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization"+ GetSecretApprovalRequest403JSONResponseBodyStatusCodeN403 GetSecretApprovalRequest403JSONResponseBodyStatusCode = 403)-// Valid indicates whether the value is a known member of the GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope enum.-func (e GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope) Valid() bool {+// Valid indicates whether the value is a known member of the GetSecretApprovalRequest403JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalRequest403JSONResponseBodyStatusCode) Valid() bool {switch e {- case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:+ case GetSecretApprovalRequest403JSONResponseBodyStatusCodeN403:return truedefault:return false}}-// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility.+// Defines values for GetSecretApprovalRequest404JSONResponseBodyStatusCode.const (- GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"- GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"- GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected"+ GetSecretApprovalRequest404JSONResponseBodyStatusCodeN404 GetSecretApprovalRequest404JSONResponseBodyStatusCode = 404)-// Valid indicates whether the value is a known member of the GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility enum.-func (e GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility) Valid() bool {+// Valid indicates whether the value is a known member of the GetSecretApprovalRequest404JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalRequest404JSONResponseBodyStatusCode) Valid() bool {switch e {- case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:- return true- case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:- return true- case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:+ case GetSecretApprovalRequest404JSONResponseBodyStatusCodeN404:return truedefault:return false}}-// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope.+// Defines values for GetSecretApprovalRequest422JSONResponseBodyStatusCode.const (- GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository"+ GetSecretApprovalRequest422JSONResponseBodyStatusCodeN422 GetSecretApprovalRequest422JSONResponseBodyStatusCode = 422)-// Valid indicates whether the value is a known member of the GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope enum.-func (e GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope) Valid() bool {+// Valid indicates whether the value is a known member of the GetSecretApprovalRequest422JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalRequest422JSONResponseBodyStatusCode) Valid() bool {switch e {- case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:+ case GetSecretApprovalRequest422JSONResponseBodyStatusCodeN422:return truedefault:return false}}-// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope.+// Defines values for GetSecretApprovalRequest500JSONResponseBodyStatusCode.const (- GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment"+ GetSecretApprovalRequest500JSONResponseBodyStatusCodeN500 GetSecretApprovalRequest500JSONResponseBodyStatusCode = 500)-// Valid indicates whether the value is a known member of the GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope enum.-func (e GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope) Valid() bool {+// Valid indicates whether the value is a known member of the GetSecretApprovalRequest500JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalRequest500JSONResponseBodyStatusCode) Valid() bool {switch e {- case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:+ case GetSecretApprovalRequest500JSONResponseBodyStatusCodeN500:return truedefault:return false}}-// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.+// Defines values for MergeSecretApprovalRequest400JSONResponseBodyStatusCode.const (- GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination"+ MergeSecretApprovalRequest400JSONResponseBodyStatusCodeN400 MergeSecretApprovalRequest400JSONResponseBodyStatusCode = 400)-// Valid indicates whether the value is a known member of the GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior enum.-func (e GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior) Valid() bool {+// Valid indicates whether the value is a known member of the MergeSecretApprovalRequest400JSONResponseBodyStatusCode enum.+func (e MergeSecretApprovalRequest400JSONResponseBodyStatusCode) Valid() bool {switch e {- case GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:+ case MergeSecretApprovalRequest400JSONResponseBodyStatusCodeN400:return truedefault:return false}}-// Defines values for GetGitHubSecretSync400JSONResponseBodyStatusCode.+// Defines values for MergeSecretApprovalRequest401JSONResponseBodyStatusCode.const (- GetGitHubSecretSync400JSONResponseBodyStatusCodeN400 GetGitHubSecretSync400JSONResponseBodyStatusCode = 400+ MergeSecretApprovalRequest401JSONResponseBodyStatusCodeN401 MergeSecretApprovalRequest401JSONResponseBodyStatusCode = 401)-// Valid indicates whether the value is a known member of the GetGitHubSecretSync400JSONResponseBodyStatusCode enum.-func (e GetGitHubSecretSync400JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the MergeSecretApprovalRequest401JSONResponseBodyStatusCode enum.+func (e MergeSecretApprovalRequest401JSONResponseBodyStatusCode) Valid() bool {switch e {- case GetGitHubSecretSync400JSONResponseBodyStatusCodeN400:+ case MergeSecretApprovalRequest401JSONResponseBodyStatusCodeN401:return truedefault:return false}}-// Defines values for GetGitHubSecretSync401JSONResponseBodyStatusCode.+// Defines values for MergeSecretApprovalRequest403JSONResponseBodyStatusCode.const (- GetGitHubSecretSync401JSONResponseBodyStatusCodeN401 GetGitHubSecretSync401JSONResponseBodyStatusCode = 401+ MergeSecretApprovalRequest403JSONResponseBodyStatusCodeN403 MergeSecretApprovalRequest403JSONResponseBodyStatusCode = 403)-// Valid indicates whether the value is a known member of the GetGitHubSecretSync401JSONResponseBodyStatusCode enum.-func (e GetGitHubSecretSync401JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the MergeSecretApprovalRequest403JSONResponseBodyStatusCode enum.+func (e MergeSecretApprovalRequest403JSONResponseBodyStatusCode) Valid() bool {switch e {- case GetGitHubSecretSync401JSONResponseBodyStatusCodeN401:+ case MergeSecretApprovalRequest403JSONResponseBodyStatusCodeN403:return truedefault:return false}}-// Defines values for GetGitHubSecretSync403JSONResponseBodyStatusCode.+// Defines values for MergeSecretApprovalRequest404JSONResponseBodyStatusCode.const (- GetGitHubSecretSync403JSONResponseBodyStatusCodeN403 GetGitHubSecretSync403JSONResponseBodyStatusCode = 403+ MergeSecretApprovalRequest404JSONResponseBodyStatusCodeN404 MergeSecretApprovalRequest404JSONResponseBodyStatusCode = 404)-// Valid indicates whether the value is a known member of the GetGitHubSecretSync403JSONResponseBodyStatusCode enum.-func (e GetGitHubSecretSync403JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the MergeSecretApprovalRequest404JSONResponseBodyStatusCode enum.+func (e MergeSecretApprovalRequest404JSONResponseBodyStatusCode) Valid() bool {switch e {- case GetGitHubSecretSync403JSONResponseBodyStatusCodeN403:+ case MergeSecretApprovalRequest404JSONResponseBodyStatusCodeN404:return truedefault:return false}}-// Defines values for GetGitHubSecretSync404JSONResponseBodyStatusCode.+// Defines values for MergeSecretApprovalRequest422JSONResponseBodyStatusCode.const (- GetGitHubSecretSync404JSONResponseBodyStatusCodeN404 GetGitHubSecretSync404JSONResponseBodyStatusCode = 404+ MergeSecretApprovalRequest422JSONResponseBodyStatusCodeN422 MergeSecretApprovalRequest422JSONResponseBodyStatusCode = 422)-// Valid indicates whether the value is a known member of the GetGitHubSecretSync404JSONResponseBodyStatusCode enum.-func (e GetGitHubSecretSync404JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the MergeSecretApprovalRequest422JSONResponseBodyStatusCode enum.+func (e MergeSecretApprovalRequest422JSONResponseBodyStatusCode) Valid() bool {switch e {- case GetGitHubSecretSync404JSONResponseBodyStatusCodeN404:+ case MergeSecretApprovalRequest422JSONResponseBodyStatusCodeN422:return truedefault:return false}}-// Defines values for GetGitHubSecretSync422JSONResponseBodyStatusCode.+// Defines values for MergeSecretApprovalRequest500JSONResponseBodyStatusCode.const (- GetGitHubSecretSync422JSONResponseBodyStatusCodeN422 GetGitHubSecretSync422JSONResponseBodyStatusCode = 422+ MergeSecretApprovalRequest500JSONResponseBodyStatusCodeN500 MergeSecretApprovalRequest500JSONResponseBodyStatusCode = 500)-// Valid indicates whether the value is a known member of the GetGitHubSecretSync422JSONResponseBodyStatusCode enum.-func (e GetGitHubSecretSync422JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the MergeSecretApprovalRequest500JSONResponseBodyStatusCode enum.+func (e MergeSecretApprovalRequest500JSONResponseBodyStatusCode) Valid() bool {switch e {- case GetGitHubSecretSync422JSONResponseBodyStatusCodeN422:+ case MergeSecretApprovalRequest500JSONResponseBodyStatusCodeN500:return truedefault:return false}}-// Defines values for GetGitHubSecretSync500JSONResponseBodyStatusCode.+// Defines values for ReviewSecretApprovalRequestJSONBodyStatus.const (- GetGitHubSecretSync500JSONResponseBodyStatusCodeN500 GetGitHubSecretSync500JSONResponseBodyStatusCode = 500+ Approved ReviewSecretApprovalRequestJSONBodyStatus = "approved"+ Rejected ReviewSecretApprovalRequestJSONBodyStatus = "rejected")-// Valid indicates whether the value is a known member of the GetGitHubSecretSync500JSONResponseBodyStatusCode enum.-func (e GetGitHubSecretSync500JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the ReviewSecretApprovalRequestJSONBodyStatus enum.+func (e ReviewSecretApprovalRequestJSONBodyStatus) Valid() bool {switch e {- case GetGitHubSecretSync500JSONResponseBodyStatusCodeN500:+ case Approved:+ return true+ case Rejected:return truedefault:return false}}-// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp.+// Defines values for ReviewSecretApprovalRequest400JSONResponseBodyStatusCode.const (- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionAppGithub RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp = "github"+ ReviewSecretApprovalRequest400JSONResponseBodyStatusCodeN400 ReviewSecretApprovalRequest400JSONResponseBodyStatusCode = 400)-// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp enum.-func (e RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp) Valid() bool {+// Valid indicates whether the value is a known member of the ReviewSecretApprovalRequest400JSONResponseBodyStatusCode enum.+func (e ReviewSecretApprovalRequest400JSONResponseBodyStatusCode) Valid() bool {switch e {- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionAppGithub:+ case ReviewSecretApprovalRequest400JSONResponseBodyStatusCodeN400:return truedefault:return false}}-// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination.+// Defines values for ReviewSecretApprovalRequest401JSONResponseBodyStatusCode.const (- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationGithub RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination = "github"+ ReviewSecretApprovalRequest401JSONResponseBodyStatusCodeN401 ReviewSecretApprovalRequest401JSONResponseBodyStatusCode = 401)-// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination enum.-func (e RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination) Valid() bool {+// Valid indicates whether the value is a known member of the ReviewSecretApprovalRequest401JSONResponseBodyStatusCode enum.+func (e ReviewSecretApprovalRequest401JSONResponseBodyStatusCode) Valid() bool {switch e {- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationGithub:+ case ReviewSecretApprovalRequest401JSONResponseBodyStatusCodeN401:return truedefault:return false}}-// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Scope.+// Defines values for ReviewSecretApprovalRequest403JSONResponseBodyStatusCode.const (- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization"+ ReviewSecretApprovalRequest403JSONResponseBodyStatusCodeN403 ReviewSecretApprovalRequest403JSONResponseBodyStatusCode = 403)-// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Scope enum.-func (e RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Scope) Valid() bool {+// Valid indicates whether the value is a known member of the ReviewSecretApprovalRequest403JSONResponseBodyStatusCode enum.+func (e ReviewSecretApprovalRequest403JSONResponseBodyStatusCode) Valid() bool {switch e {- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:+ case ReviewSecretApprovalRequest403JSONResponseBodyStatusCodeN403:return truedefault:return false}}-// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility.+// Defines values for ReviewSecretApprovalRequest404JSONResponseBodyStatusCode.const (- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected"+ ReviewSecretApprovalRequest404JSONResponseBodyStatusCodeN404 ReviewSecretApprovalRequest404JSONResponseBodyStatusCode = 404)-// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility enum.-func (e RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility) Valid() bool {+// Valid indicates whether the value is a known member of the ReviewSecretApprovalRequest404JSONResponseBodyStatusCode enum.+func (e ReviewSecretApprovalRequest404JSONResponseBodyStatusCode) Valid() bool {switch e {- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:- return true- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:- return true- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:+ case ReviewSecretApprovalRequest404JSONResponseBodyStatusCodeN404:return truedefault:return false}}-// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1Scope.+// Defines values for ReviewSecretApprovalRequest422JSONResponseBodyStatusCode.const (- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository"+ ReviewSecretApprovalRequest422JSONResponseBodyStatusCodeN422 ReviewSecretApprovalRequest422JSONResponseBodyStatusCode = 422)-// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1Scope enum.-func (e RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1Scope) Valid() bool {+// Valid indicates whether the value is a known member of the ReviewSecretApprovalRequest422JSONResponseBodyStatusCode enum.+func (e ReviewSecretApprovalRequest422JSONResponseBodyStatusCode) Valid() bool {switch e {- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:+ case ReviewSecretApprovalRequest422JSONResponseBodyStatusCodeN422:return truedefault:return false}}-// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2Scope.+// Defines values for ReviewSecretApprovalRequest500JSONResponseBodyStatusCode.const (- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment"+ ReviewSecretApprovalRequest500JSONResponseBodyStatusCodeN500 ReviewSecretApprovalRequest500JSONResponseBodyStatusCode = 500)-// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2Scope enum.-func (e RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2Scope) Valid() bool {+// Valid indicates whether the value is a known member of the ReviewSecretApprovalRequest500JSONResponseBodyStatusCode enum.+func (e ReviewSecretApprovalRequest500JSONResponseBodyStatusCode) Valid() bool {switch e {- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:+ case ReviewSecretApprovalRequest500JSONResponseBodyStatusCodeN500:return truedefault:return false}}-// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.+// Defines values for UpdateSecretApprovalRequestStatusJSONBodyStatus.const (- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination"+ UpdateSecretApprovalRequestStatusJSONBodyStatusClose UpdateSecretApprovalRequestStatusJSONBodyStatus = "close"+ UpdateSecretApprovalRequestStatusJSONBodyStatusOpen UpdateSecretApprovalRequestStatusJSONBodyStatus = "open")-// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior enum.-func (e RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior) Valid() bool {+// Valid indicates whether the value is a known member of the UpdateSecretApprovalRequestStatusJSONBodyStatus enum.+func (e UpdateSecretApprovalRequestStatusJSONBodyStatus) Valid() bool {switch e {- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:+ case UpdateSecretApprovalRequestStatusJSONBodyStatusClose:+ return true+ case UpdateSecretApprovalRequestStatusJSONBodyStatusOpen:return truedefault:return false}}-// Defines values for RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode.+// Defines values for UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCode.const (- RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCodeN400 RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode = 400+ UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCodeN400 UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCode = 400)-// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode enum.-func (e RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCode enum.+func (e UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCode) Valid() bool {switch e {- case RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCodeN400:+ case UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCodeN400:return truedefault:return false}}-// Defines values for RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode.+// Defines values for UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCode.const (- RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCodeN401 RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode = 401+ UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCodeN401 UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCode = 401)-// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode enum.-func (e RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCode enum.+func (e UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCode) Valid() bool {switch e {- case RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCodeN401:+ case UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCodeN401:return truedefault:return false}}-// Defines values for RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode.+// Defines values for UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCode.const (- RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCodeN403 RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode = 403+ UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCodeN403 UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCode = 403)-// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode enum.-func (e RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCode enum.+func (e UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCode) Valid() bool {switch e {- case RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCodeN403:+ case UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCodeN403:return truedefault:return false}}-// Defines values for RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode.+// Defines values for UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCode.const (- RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCodeN404 RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode = 404+ UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCodeN404 UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCode = 404)-// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode enum.-func (e RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCode enum.+func (e UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCode) Valid() bool {switch e {- case RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCodeN404:+ case UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCodeN404:return truedefault:return false}}-// Defines values for RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode.+// Defines values for UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCode.const (- RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCodeN422 RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode = 422+ UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCodeN422 UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCode = 422)-// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode enum.-func (e RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCode enum.+func (e UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCode) Valid() bool {switch e {- case RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCodeN422:+ case UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCodeN422:return truedefault:return false}}-// Defines values for RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode.+// Defines values for UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCode.const (- RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCodeN500 RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode = 500+ UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCodeN500 UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCode = 500)-// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode enum.-func (e RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCode enum.+func (e UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCode) Valid() bool {switch e {- case RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCodeN500:+ case UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCodeN500:return truedefault:return false}}-// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp.+// Defines values for CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope.const (- SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp = "github"+ CreateGitHubSecretSyncJSONBodyDestinationConfig0ScopeOrganization CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope = "organization")-// Valid indicates whether the value is a known member of the SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp enum.-func (e SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp) Valid() bool {+// Valid indicates whether the value is a known member of the CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope enum.+func (e CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope) Valid() bool {switch e {- case SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub:+ case CreateGitHubSecretSyncJSONBodyDestinationConfig0ScopeOrganization:return truedefault:return false}}-// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination.+// Defines values for CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility.const (- SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination = "github"+ CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilityAll CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility = "all"+ CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilityPrivate CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility = "private"+ CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilitySelected CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility = "selected")-// Valid indicates whether the value is a known member of the SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination enum.-func (e SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination) Valid() bool {+// Valid indicates whether the value is a known member of the CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility enum.+func (e CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility) Valid() bool {switch e {- case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub:+ case CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilityAll:+ return true+ case CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilityPrivate:+ return true+ case CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilitySelected:return truedefault:return false}}-// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope.+// Defines values for CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope.const (- SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization"+ CreateGitHubSecretSyncJSONBodyDestinationConfig1ScopeRepository CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope = "repository")-// Valid indicates whether the value is a known member of the SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope enum.-func (e SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope) Valid() bool {+// Valid indicates whether the value is a known member of the CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope enum.+func (e CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope) Valid() bool {switch e {- case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:+ case CreateGitHubSecretSyncJSONBodyDestinationConfig1ScopeRepository:return truedefault:return false}}-// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility.+// Defines values for CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope.const (- SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"- SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"- SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected"+ CreateGitHubSecretSyncJSONBodyDestinationConfig2ScopeRepositoryEnvironment CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope = "repository-environment")-// Valid indicates whether the value is a known member of the SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility enum.-func (e SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility) Valid() bool {+// Valid indicates whether the value is a known member of the CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope enum.+func (e CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope) Valid() bool {switch e {- case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:- return true- case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:- return true- case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:+ case CreateGitHubSecretSyncJSONBodyDestinationConfig2ScopeRepositoryEnvironment:return truedefault:return false}}-// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope.+// Defines values for CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior.const (- SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository"+ CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehaviorOverwriteDestination CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior = "overwrite-destination")-// Valid indicates whether the value is a known member of the SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope enum.-func (e SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope) Valid() bool {+// Valid indicates whether the value is a known member of the CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior enum.+func (e CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior) Valid() bool {switch e {- case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:+ case CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehaviorOverwriteDestination:return truedefault:return false}}-// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope.+// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp.const (- SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment"+ CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp = "github")-// Valid indicates whether the value is a known member of the SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope enum.-func (e SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope) Valid() bool {+// Valid indicates whether the value is a known member of the CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp enum.+func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp) Valid() bool {switch e {- case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:+ case CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub:return truedefault:return false}}-// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.+// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination.const (- SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination"+ CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination = "github")-// Valid indicates whether the value is a known member of the SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior enum.-func (e SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior) Valid() bool {+// Valid indicates whether the value is a known member of the CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination enum.+func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination) Valid() bool {switch e {- case SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:+ case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub:return truedefault:return false}}-// Defines values for SyncGitHubSecretSync400JSONResponseBodyStatusCode.+// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope.const (- SyncGitHubSecretSync400JSONResponseBodyStatusCodeN400 SyncGitHubSecretSync400JSONResponseBodyStatusCode = 400+ CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization")-// Valid indicates whether the value is a known member of the SyncGitHubSecretSync400JSONResponseBodyStatusCode enum.-func (e SyncGitHubSecretSync400JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope enum.+func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope) Valid() bool {switch e {- case SyncGitHubSecretSync400JSONResponseBodyStatusCodeN400:+ case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:return truedefault:return false}}-// Defines values for SyncGitHubSecretSync401JSONResponseBodyStatusCode.+// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility.const (- SyncGitHubSecretSync401JSONResponseBodyStatusCodeN401 SyncGitHubSecretSync401JSONResponseBodyStatusCode = 401+ CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"+ CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"+ CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected")-// Valid indicates whether the value is a known member of the SyncGitHubSecretSync401JSONResponseBodyStatusCode enum.-func (e SyncGitHubSecretSync401JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility enum.+func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility) Valid() bool {switch e {- case SyncGitHubSecretSync401JSONResponseBodyStatusCodeN401:+ case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:+ return true+ case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:+ return true+ case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:return truedefault:return false}}-// Defines values for SyncGitHubSecretSync403JSONResponseBodyStatusCode.+// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope.const (- SyncGitHubSecretSync403JSONResponseBodyStatusCodeN403 SyncGitHubSecretSync403JSONResponseBodyStatusCode = 403+ CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository")-// Valid indicates whether the value is a known member of the SyncGitHubSecretSync403JSONResponseBodyStatusCode enum.-func (e SyncGitHubSecretSync403JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope enum.+func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope) Valid() bool {switch e {- case SyncGitHubSecretSync403JSONResponseBodyStatusCodeN403:+ case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:return truedefault:return false}}-// Defines values for SyncGitHubSecretSync404JSONResponseBodyStatusCode.+// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope.const (- SyncGitHubSecretSync404JSONResponseBodyStatusCodeN404 SyncGitHubSecretSync404JSONResponseBodyStatusCode = 404+ CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment")-// Valid indicates whether the value is a known member of the SyncGitHubSecretSync404JSONResponseBodyStatusCode enum.-func (e SyncGitHubSecretSync404JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope enum.+func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope) Valid() bool {switch e {- case SyncGitHubSecretSync404JSONResponseBodyStatusCodeN404:+ case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:return truedefault:return false}}-// Defines values for SyncGitHubSecretSync422JSONResponseBodyStatusCode.+// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.const (- SyncGitHubSecretSync422JSONResponseBodyStatusCodeN422 SyncGitHubSecretSync422JSONResponseBodyStatusCode = 422+ CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination")-// Valid indicates whether the value is a known member of the SyncGitHubSecretSync422JSONResponseBodyStatusCode enum.-func (e SyncGitHubSecretSync422JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior enum.+func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior) Valid() bool {switch e {- case SyncGitHubSecretSync422JSONResponseBodyStatusCodeN422:+ case CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:return truedefault:return false}}-// Defines values for SyncGitHubSecretSync500JSONResponseBodyStatusCode.+// Defines values for CreateGitHubSecretSync400JSONResponseBodyStatusCode.const (- SyncGitHubSecretSync500JSONResponseBodyStatusCodeN500 SyncGitHubSecretSync500JSONResponseBodyStatusCode = 500+ CreateGitHubSecretSync400JSONResponseBodyStatusCodeN400 CreateGitHubSecretSync400JSONResponseBodyStatusCode = 400)-// Valid indicates whether the value is a known member of the SyncGitHubSecretSync500JSONResponseBodyStatusCode enum.-func (e SyncGitHubSecretSync500JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateGitHubSecretSync400JSONResponseBodyStatusCode enum.+func (e CreateGitHubSecretSync400JSONResponseBodyStatusCode) Valid() bool {switch e {- case SyncGitHubSecretSync500JSONResponseBodyStatusCodeN500:+ case CreateGitHubSecretSync400JSONResponseBodyStatusCodeN400:return truedefault:return false}}-// Defines values for CreateOrganization400JSONResponseBodyStatusCode.+// Defines values for CreateGitHubSecretSync401JSONResponseBodyStatusCode.const (- CreateOrganization400JSONResponseBodyStatusCodeN400 CreateOrganization400JSONResponseBodyStatusCode = 400+ CreateGitHubSecretSync401JSONResponseBodyStatusCodeN401 CreateGitHubSecretSync401JSONResponseBodyStatusCode = 401)-// Valid indicates whether the value is a known member of the CreateOrganization400JSONResponseBodyStatusCode enum.-func (e CreateOrganization400JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateGitHubSecretSync401JSONResponseBodyStatusCode enum.+func (e CreateGitHubSecretSync401JSONResponseBodyStatusCode) Valid() bool {switch e {- case CreateOrganization400JSONResponseBodyStatusCodeN400:+ case CreateGitHubSecretSync401JSONResponseBodyStatusCodeN401:return truedefault:return false}}-// Defines values for CreateOrganization401JSONResponseBodyStatusCode.+// Defines values for CreateGitHubSecretSync403JSONResponseBodyStatusCode.const (- CreateOrganization401JSONResponseBodyStatusCodeN401 CreateOrganization401JSONResponseBodyStatusCode = 401+ CreateGitHubSecretSync403JSONResponseBodyStatusCodeN403 CreateGitHubSecretSync403JSONResponseBodyStatusCode = 403)-// Valid indicates whether the value is a known member of the CreateOrganization401JSONResponseBodyStatusCode enum.-func (e CreateOrganization401JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateGitHubSecretSync403JSONResponseBodyStatusCode enum.+func (e CreateGitHubSecretSync403JSONResponseBodyStatusCode) Valid() bool {switch e {- case CreateOrganization401JSONResponseBodyStatusCodeN401:+ case CreateGitHubSecretSync403JSONResponseBodyStatusCodeN403:return truedefault:return false}}-// Defines values for CreateOrganization403JSONResponseBodyStatusCode.+// Defines values for CreateGitHubSecretSync404JSONResponseBodyStatusCode.const (- CreateOrganization403JSONResponseBodyStatusCodeN403 CreateOrganization403JSONResponseBodyStatusCode = 403+ CreateGitHubSecretSync404JSONResponseBodyStatusCodeN404 CreateGitHubSecretSync404JSONResponseBodyStatusCode = 404)-// Valid indicates whether the value is a known member of the CreateOrganization403JSONResponseBodyStatusCode enum.-func (e CreateOrganization403JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateGitHubSecretSync404JSONResponseBodyStatusCode enum.+func (e CreateGitHubSecretSync404JSONResponseBodyStatusCode) Valid() bool {switch e {- case CreateOrganization403JSONResponseBodyStatusCodeN403:+ case CreateGitHubSecretSync404JSONResponseBodyStatusCodeN404:return truedefault:return false}}-// Defines values for CreateOrganization404JSONResponseBodyStatusCode.+// Defines values for CreateGitHubSecretSync422JSONResponseBodyStatusCode.const (- CreateOrganization404JSONResponseBodyStatusCodeN404 CreateOrganization404JSONResponseBodyStatusCode = 404+ CreateGitHubSecretSync422JSONResponseBodyStatusCodeN422 CreateGitHubSecretSync422JSONResponseBodyStatusCode = 422)-// Valid indicates whether the value is a known member of the CreateOrganization404JSONResponseBodyStatusCode enum.-func (e CreateOrganization404JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateGitHubSecretSync422JSONResponseBodyStatusCode enum.+func (e CreateGitHubSecretSync422JSONResponseBodyStatusCode) Valid() bool {switch e {- case CreateOrganization404JSONResponseBodyStatusCodeN404:+ case CreateGitHubSecretSync422JSONResponseBodyStatusCodeN422:return truedefault:return false}}-// Defines values for CreateOrganization422JSONResponseBodyStatusCode.+// Defines values for CreateGitHubSecretSync500JSONResponseBodyStatusCode.const (- CreateOrganization422JSONResponseBodyStatusCodeN422 CreateOrganization422JSONResponseBodyStatusCode = 422+ CreateGitHubSecretSync500JSONResponseBodyStatusCodeN500 CreateGitHubSecretSync500JSONResponseBodyStatusCode = 500)-// Valid indicates whether the value is a known member of the CreateOrganization422JSONResponseBodyStatusCode enum.-func (e CreateOrganization422JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateGitHubSecretSync500JSONResponseBodyStatusCode enum.+func (e CreateGitHubSecretSync500JSONResponseBodyStatusCode) Valid() bool {switch e {- case CreateOrganization422JSONResponseBodyStatusCodeN422:+ case CreateGitHubSecretSync500JSONResponseBodyStatusCodeN500:return truedefault:return false}}-// Defines values for CreateOrganization500JSONResponseBodyStatusCode.+// Defines values for DeleteGitHubSecretSyncParamsRemoveSecrets.const (- CreateOrganization500JSONResponseBodyStatusCodeN500 CreateOrganization500JSONResponseBodyStatusCode = 500+ DeleteGitHubSecretSyncParamsRemoveSecretsFalse DeleteGitHubSecretSyncParamsRemoveSecrets = "false"+ DeleteGitHubSecretSyncParamsRemoveSecretsTrue DeleteGitHubSecretSyncParamsRemoveSecrets = "true")-// Valid indicates whether the value is a known member of the CreateOrganization500JSONResponseBodyStatusCode enum.-func (e CreateOrganization500JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the DeleteGitHubSecretSyncParamsRemoveSecrets enum.+func (e DeleteGitHubSecretSyncParamsRemoveSecrets) Valid() bool {switch e {- case CreateOrganization500JSONResponseBodyStatusCodeN500:+ case DeleteGitHubSecretSyncParamsRemoveSecretsFalse:+ return true+ case DeleteGitHubSecretSyncParamsRemoveSecretsTrue:return truedefault:return false}}-// Defines values for DeleteOrganization400JSONResponseBodyStatusCode.+// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp.const (- DeleteOrganization400JSONResponseBodyStatusCodeN400 DeleteOrganization400JSONResponseBodyStatusCode = 400+ DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp = "github")-// Valid indicates whether the value is a known member of the DeleteOrganization400JSONResponseBodyStatusCode enum.-func (e DeleteOrganization400JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp enum.+func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp) Valid() bool {switch e {- case DeleteOrganization400JSONResponseBodyStatusCodeN400:+ case DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub:return truedefault:return false}}-// Defines values for DeleteOrganization401JSONResponseBodyStatusCode.+// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination.const (- DeleteOrganization401JSONResponseBodyStatusCodeN401 DeleteOrganization401JSONResponseBodyStatusCode = 401+ DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination = "github")-// Valid indicates whether the value is a known member of the DeleteOrganization401JSONResponseBodyStatusCode enum.-func (e DeleteOrganization401JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination enum.+func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination) Valid() bool {switch e {- case DeleteOrganization401JSONResponseBodyStatusCodeN401:+ case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub:return truedefault:return false}}-// Defines values for DeleteOrganization403JSONResponseBodyStatusCode.+// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope.const (- DeleteOrganization403JSONResponseBodyStatusCodeN403 DeleteOrganization403JSONResponseBodyStatusCode = 403+ DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization")-// Valid indicates whether the value is a known member of the DeleteOrganization403JSONResponseBodyStatusCode enum.-func (e DeleteOrganization403JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope enum.+func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope) Valid() bool {switch e {- case DeleteOrganization403JSONResponseBodyStatusCodeN403:+ case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:return truedefault:return false}}-// Defines values for DeleteOrganization404JSONResponseBodyStatusCode.+// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility.const (- DeleteOrganization404JSONResponseBodyStatusCodeN404 DeleteOrganization404JSONResponseBodyStatusCode = 404+ DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"+ DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"+ DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected")-// Valid indicates whether the value is a known member of the DeleteOrganization404JSONResponseBodyStatusCode enum.-func (e DeleteOrganization404JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility enum.+func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility) Valid() bool {switch e {- case DeleteOrganization404JSONResponseBodyStatusCodeN404:+ case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:+ return true+ case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:+ return true+ case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:return truedefault:return false}}-// Defines values for DeleteOrganization422JSONResponseBodyStatusCode.+// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope.const (- DeleteOrganization422JSONResponseBodyStatusCodeN422 DeleteOrganization422JSONResponseBodyStatusCode = 422+ DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository")-// Valid indicates whether the value is a known member of the DeleteOrganization422JSONResponseBodyStatusCode enum.-func (e DeleteOrganization422JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope enum.+func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope) Valid() bool {switch e {- case DeleteOrganization422JSONResponseBodyStatusCodeN422:+ case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:return truedefault:return false}}-// Defines values for DeleteOrganization500JSONResponseBodyStatusCode.+// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope.const (- DeleteOrganization500JSONResponseBodyStatusCodeN500 DeleteOrganization500JSONResponseBodyStatusCode = 500+ DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment")-// Valid indicates whether the value is a known member of the DeleteOrganization500JSONResponseBodyStatusCode enum.-func (e DeleteOrganization500JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope enum.+func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope) Valid() bool {switch e {- case DeleteOrganization500JSONResponseBodyStatusCodeN500:+ case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:return truedefault:return false}}-// Defines values for LoginV3400JSONResponseBodyStatusCode.+// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.const (- LoginV3400JSONResponseBodyStatusCodeN400 LoginV3400JSONResponseBodyStatusCode = 400+ DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination")-// Valid indicates whether the value is a known member of the LoginV3400JSONResponseBodyStatusCode enum.-func (e LoginV3400JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior enum.+func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior) Valid() bool {switch e {- case LoginV3400JSONResponseBodyStatusCodeN400:+ case DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:return truedefault:return false}}-// Defines values for LoginV3401JSONResponseBodyStatusCode.+// Defines values for DeleteGitHubSecretSync400JSONResponseBodyStatusCode.const (- LoginV3401JSONResponseBodyStatusCodeN401 LoginV3401JSONResponseBodyStatusCode = 401+ DeleteGitHubSecretSync400JSONResponseBodyStatusCodeN400 DeleteGitHubSecretSync400JSONResponseBodyStatusCode = 400)-// Valid indicates whether the value is a known member of the LoginV3401JSONResponseBodyStatusCode enum.-func (e LoginV3401JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync400JSONResponseBodyStatusCode enum.+func (e DeleteGitHubSecretSync400JSONResponseBodyStatusCode) Valid() bool {switch e {- case LoginV3401JSONResponseBodyStatusCodeN401:+ case DeleteGitHubSecretSync400JSONResponseBodyStatusCodeN400:return truedefault:return false}}-// Defines values for LoginV3403JSONResponseBodyStatusCode.+// Defines values for DeleteGitHubSecretSync401JSONResponseBodyStatusCode.const (- LoginV3403JSONResponseBodyStatusCodeN403 LoginV3403JSONResponseBodyStatusCode = 403+ DeleteGitHubSecretSync401JSONResponseBodyStatusCodeN401 DeleteGitHubSecretSync401JSONResponseBodyStatusCode = 401)-// Valid indicates whether the value is a known member of the LoginV3403JSONResponseBodyStatusCode enum.-func (e LoginV3403JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync401JSONResponseBodyStatusCode enum.+func (e DeleteGitHubSecretSync401JSONResponseBodyStatusCode) Valid() bool {switch e {- case LoginV3403JSONResponseBodyStatusCodeN403:+ case DeleteGitHubSecretSync401JSONResponseBodyStatusCodeN401:return truedefault:return false}}-// Defines values for LoginV3404JSONResponseBodyStatusCode.+// Defines values for DeleteGitHubSecretSync403JSONResponseBodyStatusCode.const (- LoginV3404JSONResponseBodyStatusCodeN404 LoginV3404JSONResponseBodyStatusCode = 404+ DeleteGitHubSecretSync403JSONResponseBodyStatusCodeN403 DeleteGitHubSecretSync403JSONResponseBodyStatusCode = 403)-// Valid indicates whether the value is a known member of the LoginV3404JSONResponseBodyStatusCode enum.-func (e LoginV3404JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync403JSONResponseBodyStatusCode enum.+func (e DeleteGitHubSecretSync403JSONResponseBodyStatusCode) Valid() bool {switch e {- case LoginV3404JSONResponseBodyStatusCodeN404:+ case DeleteGitHubSecretSync403JSONResponseBodyStatusCodeN403:return truedefault:return false}}-// Defines values for LoginV3422JSONResponseBodyStatusCode.+// Defines values for DeleteGitHubSecretSync404JSONResponseBodyStatusCode.const (- LoginV3422JSONResponseBodyStatusCodeN422 LoginV3422JSONResponseBodyStatusCode = 422+ DeleteGitHubSecretSync404JSONResponseBodyStatusCodeN404 DeleteGitHubSecretSync404JSONResponseBodyStatusCode = 404)-// Valid indicates whether the value is a known member of the LoginV3422JSONResponseBodyStatusCode enum.-func (e LoginV3422JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync404JSONResponseBodyStatusCode enum.+func (e DeleteGitHubSecretSync404JSONResponseBodyStatusCode) Valid() bool {switch e {- case LoginV3422JSONResponseBodyStatusCodeN422:+ case DeleteGitHubSecretSync404JSONResponseBodyStatusCodeN404:return truedefault:return false}}-// Defines values for LoginV3500JSONResponseBodyStatusCode.+// Defines values for DeleteGitHubSecretSync422JSONResponseBodyStatusCode.const (- LoginV3500JSONResponseBodyStatusCodeN500 LoginV3500JSONResponseBodyStatusCode = 500+ DeleteGitHubSecretSync422JSONResponseBodyStatusCodeN422 DeleteGitHubSecretSync422JSONResponseBodyStatusCode = 422)-// Valid indicates whether the value is a known member of the LoginV3500JSONResponseBodyStatusCode enum.-func (e LoginV3500JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync422JSONResponseBodyStatusCode enum.+func (e DeleteGitHubSecretSync422JSONResponseBodyStatusCode) Valid() bool {switch e {- case LoginV3500JSONResponseBodyStatusCodeN500:+ case DeleteGitHubSecretSync422JSONResponseBodyStatusCodeN422:return truedefault:return false}}-// Defines values for SelectOrganizationV3JSONBodyUserAgent.+// Defines values for DeleteGitHubSecretSync500JSONResponseBodyStatusCode.const (- Cli SelectOrganizationV3JSONBodyUserAgent = "cli"+ DeleteGitHubSecretSync500JSONResponseBodyStatusCodeN500 DeleteGitHubSecretSync500JSONResponseBodyStatusCode = 500)-// Valid indicates whether the value is a known member of the SelectOrganizationV3JSONBodyUserAgent enum.-func (e SelectOrganizationV3JSONBodyUserAgent) Valid() bool {+// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync500JSONResponseBodyStatusCode enum.+func (e DeleteGitHubSecretSync500JSONResponseBodyStatusCode) Valid() bool {switch e {- case Cli:+ case DeleteGitHubSecretSync500JSONResponseBodyStatusCodeN500:return truedefault:return false}}-// Defines values for SelectOrganizationV3400JSONResponseBodyStatusCode.+// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp.const (- SelectOrganizationV3400JSONResponseBodyStatusCodeN400 SelectOrganizationV3400JSONResponseBodyStatusCode = 400+ GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp = "github")-// Valid indicates whether the value is a known member of the SelectOrganizationV3400JSONResponseBodyStatusCode enum.-func (e SelectOrganizationV3400JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp enum.+func (e GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp) Valid() bool {switch e {- case SelectOrganizationV3400JSONResponseBodyStatusCodeN400:+ case GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub:return truedefault:return false}}-// Defines values for SelectOrganizationV3401JSONResponseBodyStatusCode.+// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestination.const (- SelectOrganizationV3401JSONResponseBodyStatusCodeN401 SelectOrganizationV3401JSONResponseBodyStatusCode = 401+ GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub GetGitHubSecretSync200JSONResponseBodySecretSyncDestination = "github")-// Valid indicates whether the value is a known member of the SelectOrganizationV3401JSONResponseBodyStatusCode enum.-func (e SelectOrganizationV3401JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the GetGitHubSecretSync200JSONResponseBodySecretSyncDestination enum.+func (e GetGitHubSecretSync200JSONResponseBodySecretSyncDestination) Valid() bool {switch e {- case SelectOrganizationV3401JSONResponseBodyStatusCodeN401:+ case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub:return truedefault:return false}}-// Defines values for SelectOrganizationV3403JSONResponseBodyStatusCode.+// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope.const (- SelectOrganizationV3403JSONResponseBodyStatusCodeN403 SelectOrganizationV3403JSONResponseBodyStatusCode = 403+ GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization")-// Valid indicates whether the value is a known member of the SelectOrganizationV3403JSONResponseBodyStatusCode enum.-func (e SelectOrganizationV3403JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope enum.+func (e GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope) Valid() bool {switch e {- case SelectOrganizationV3403JSONResponseBodyStatusCodeN403:+ case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:return truedefault:return false}}-// Defines values for SelectOrganizationV3404JSONResponseBodyStatusCode.+// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility.const (- SelectOrganizationV3404JSONResponseBodyStatusCodeN404 SelectOrganizationV3404JSONResponseBodyStatusCode = 404+ GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"+ GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"+ GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected")-// Valid indicates whether the value is a known member of the SelectOrganizationV3404JSONResponseBodyStatusCode enum.-func (e SelectOrganizationV3404JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility enum.+func (e GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility) Valid() bool {switch e {- case SelectOrganizationV3404JSONResponseBodyStatusCodeN404:+ case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:+ return true+ case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:+ return true+ case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:return truedefault:return false}}-// Defines values for SelectOrganizationV3422JSONResponseBodyStatusCode.+// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope.const (- SelectOrganizationV3422JSONResponseBodyStatusCodeN422 SelectOrganizationV3422JSONResponseBodyStatusCode = 422+ GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository")-// Valid indicates whether the value is a known member of the SelectOrganizationV3422JSONResponseBodyStatusCode enum.-func (e SelectOrganizationV3422JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope enum.+func (e GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope) Valid() bool {switch e {- case SelectOrganizationV3422JSONResponseBodyStatusCodeN422:+ case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:return truedefault:return false}}-// Defines values for SelectOrganizationV3500JSONResponseBodyStatusCode.+// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope.const (- SelectOrganizationV3500JSONResponseBodyStatusCodeN500 SelectOrganizationV3500JSONResponseBodyStatusCode = 500+ GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment")-// Valid indicates whether the value is a known member of the SelectOrganizationV3500JSONResponseBodyStatusCode enum.-func (e SelectOrganizationV3500JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope enum.+func (e GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope) Valid() bool {switch e {- case SelectOrganizationV3500JSONResponseBodyStatusCodeN500:+ case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:return truedefault:return false}}-// Defines values for CompleteAccountSignupV3JSONBody0Type.+// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.const (- CompleteAccountSignupV3JSONBody0TypeEmail CompleteAccountSignupV3JSONBody0Type = "email"+ GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination")-// Valid indicates whether the value is a known member of the CompleteAccountSignupV3JSONBody0Type enum.-func (e CompleteAccountSignupV3JSONBody0Type) Valid() bool {+// Valid indicates whether the value is a known member of the GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior enum.+func (e GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior) Valid() bool {switch e {- case CompleteAccountSignupV3JSONBody0TypeEmail:+ case GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:return truedefault:return false}}-// Defines values for CompleteAccountSignupV3JSONBody1Type.+// Defines values for GetGitHubSecretSync400JSONResponseBodyStatusCode.const (- Alias CompleteAccountSignupV3JSONBody1Type = "alias"+ GetGitHubSecretSync400JSONResponseBodyStatusCodeN400 GetGitHubSecretSync400JSONResponseBodyStatusCode = 400)-// Valid indicates whether the value is a known member of the CompleteAccountSignupV3JSONBody1Type enum.-func (e CompleteAccountSignupV3JSONBody1Type) Valid() bool {+// Valid indicates whether the value is a known member of the GetGitHubSecretSync400JSONResponseBodyStatusCode enum.+func (e GetGitHubSecretSync400JSONResponseBodyStatusCode) Valid() bool {switch e {- case Alias:+ case GetGitHubSecretSync400JSONResponseBodyStatusCodeN400:return truedefault:return false}}-// Defines values for CompleteAccountSignupV3400JSONResponseBodyStatusCode.+// Defines values for GetGitHubSecretSync401JSONResponseBodyStatusCode.const (- CompleteAccountSignupV3400JSONResponseBodyStatusCodeN400 CompleteAccountSignupV3400JSONResponseBodyStatusCode = 400+ GetGitHubSecretSync401JSONResponseBodyStatusCodeN401 GetGitHubSecretSync401JSONResponseBodyStatusCode = 401)-// Valid indicates whether the value is a known member of the CompleteAccountSignupV3400JSONResponseBodyStatusCode enum.-func (e CompleteAccountSignupV3400JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the GetGitHubSecretSync401JSONResponseBodyStatusCode enum.+func (e GetGitHubSecretSync401JSONResponseBodyStatusCode) Valid() bool {switch e {- case CompleteAccountSignupV3400JSONResponseBodyStatusCodeN400:+ case GetGitHubSecretSync401JSONResponseBodyStatusCodeN401:return truedefault:return false}}-// Defines values for CompleteAccountSignupV3401JSONResponseBodyStatusCode.+// Defines values for GetGitHubSecretSync403JSONResponseBodyStatusCode.const (- CompleteAccountSignupV3401JSONResponseBodyStatusCodeN401 CompleteAccountSignupV3401JSONResponseBodyStatusCode = 401+ GetGitHubSecretSync403JSONResponseBodyStatusCodeN403 GetGitHubSecretSync403JSONResponseBodyStatusCode = 403)-// Valid indicates whether the value is a known member of the CompleteAccountSignupV3401JSONResponseBodyStatusCode enum.-func (e CompleteAccountSignupV3401JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the GetGitHubSecretSync403JSONResponseBodyStatusCode enum.+func (e GetGitHubSecretSync403JSONResponseBodyStatusCode) Valid() bool {switch e {- case CompleteAccountSignupV3401JSONResponseBodyStatusCodeN401:+ case GetGitHubSecretSync403JSONResponseBodyStatusCodeN403:return truedefault:return false}}-// Defines values for CompleteAccountSignupV3403JSONResponseBodyStatusCode.+// Defines values for GetGitHubSecretSync404JSONResponseBodyStatusCode.const (- CompleteAccountSignupV3403JSONResponseBodyStatusCodeN403 CompleteAccountSignupV3403JSONResponseBodyStatusCode = 403+ GetGitHubSecretSync404JSONResponseBodyStatusCodeN404 GetGitHubSecretSync404JSONResponseBodyStatusCode = 404)-// Valid indicates whether the value is a known member of the CompleteAccountSignupV3403JSONResponseBodyStatusCode enum.-func (e CompleteAccountSignupV3403JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the GetGitHubSecretSync404JSONResponseBodyStatusCode enum.+func (e GetGitHubSecretSync404JSONResponseBodyStatusCode) Valid() bool {switch e {- case CompleteAccountSignupV3403JSONResponseBodyStatusCodeN403:+ case GetGitHubSecretSync404JSONResponseBodyStatusCodeN404:return truedefault:return false}}-// Defines values for CompleteAccountSignupV3404JSONResponseBodyStatusCode.+// Defines values for GetGitHubSecretSync422JSONResponseBodyStatusCode.const (- CompleteAccountSignupV3404JSONResponseBodyStatusCodeN404 CompleteAccountSignupV3404JSONResponseBodyStatusCode = 404+ GetGitHubSecretSync422JSONResponseBodyStatusCodeN422 GetGitHubSecretSync422JSONResponseBodyStatusCode = 422)-// Valid indicates whether the value is a known member of the CompleteAccountSignupV3404JSONResponseBodyStatusCode enum.-func (e CompleteAccountSignupV3404JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the GetGitHubSecretSync422JSONResponseBodyStatusCode enum.+func (e GetGitHubSecretSync422JSONResponseBodyStatusCode) Valid() bool {switch e {- case CompleteAccountSignupV3404JSONResponseBodyStatusCodeN404:+ case GetGitHubSecretSync422JSONResponseBodyStatusCodeN422:return truedefault:return false}}-// Defines values for CompleteAccountSignupV3422JSONResponseBodyStatusCode.+// Defines values for GetGitHubSecretSync500JSONResponseBodyStatusCode.const (- CompleteAccountSignupV3422JSONResponseBodyStatusCodeN422 CompleteAccountSignupV3422JSONResponseBodyStatusCode = 422+ GetGitHubSecretSync500JSONResponseBodyStatusCodeN500 GetGitHubSecretSync500JSONResponseBodyStatusCode = 500)-// Valid indicates whether the value is a known member of the CompleteAccountSignupV3422JSONResponseBodyStatusCode enum.-func (e CompleteAccountSignupV3422JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the GetGitHubSecretSync500JSONResponseBodyStatusCode enum.+func (e GetGitHubSecretSync500JSONResponseBodyStatusCode) Valid() bool {switch e {- case CompleteAccountSignupV3422JSONResponseBodyStatusCodeN422:+ case GetGitHubSecretSync500JSONResponseBodyStatusCodeN500:return truedefault:return false}}-// Defines values for CompleteAccountSignupV3500JSONResponseBodyStatusCode.+// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp.const (- CompleteAccountSignupV3500JSONResponseBodyStatusCodeN500 CompleteAccountSignupV3500JSONResponseBodyStatusCode = 500+ RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionAppGithub RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp = "github")-// Valid indicates whether the value is a known member of the CompleteAccountSignupV3500JSONResponseBodyStatusCode enum.-func (e CompleteAccountSignupV3500JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp enum.+func (e RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp) Valid() bool {switch e {- case CompleteAccountSignupV3500JSONResponseBodyStatusCodeN500:+ case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionAppGithub:return truedefault:return false}}-// Defines values for BeginEmailSignupV3400JSONResponseBodyStatusCode.+// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination.const (- BeginEmailSignupV3400JSONResponseBodyStatusCodeN400 BeginEmailSignupV3400JSONResponseBodyStatusCode = 400+ RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationGithub RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination = "github")-// Valid indicates whether the value is a known member of the BeginEmailSignupV3400JSONResponseBodyStatusCode enum.-func (e BeginEmailSignupV3400JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination enum.+func (e RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination) Valid() bool {switch e {- case BeginEmailSignupV3400JSONResponseBodyStatusCodeN400:+ case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationGithub:return truedefault:return false}}-// Defines values for BeginEmailSignupV3401JSONResponseBodyStatusCode.+// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Scope.const (- BeginEmailSignupV3401JSONResponseBodyStatusCodeN401 BeginEmailSignupV3401JSONResponseBodyStatusCode = 401+ RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization")-// Valid indicates whether the value is a known member of the BeginEmailSignupV3401JSONResponseBodyStatusCode enum.-func (e BeginEmailSignupV3401JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Scope enum.+func (e RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Scope) Valid() bool {switch e {- case BeginEmailSignupV3401JSONResponseBodyStatusCodeN401:+ case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:return truedefault:return false}}-// Defines values for BeginEmailSignupV3403JSONResponseBodyStatusCode.+// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility.const (- BeginEmailSignupV3403JSONResponseBodyStatusCodeN403 BeginEmailSignupV3403JSONResponseBodyStatusCode = 403+ RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"+ RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"+ RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected")-// Valid indicates whether the value is a known member of the BeginEmailSignupV3403JSONResponseBodyStatusCode enum.-func (e BeginEmailSignupV3403JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility enum.+func (e RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility) Valid() bool {switch e {- case BeginEmailSignupV3403JSONResponseBodyStatusCodeN403:+ case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:+ return true+ case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:+ return true+ case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:return truedefault:return false}}-// Defines values for BeginEmailSignupV3404JSONResponseBodyStatusCode.+// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1Scope.const (- BeginEmailSignupV3404JSONResponseBodyStatusCodeN404 BeginEmailSignupV3404JSONResponseBodyStatusCode = 404+ RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository")-// Valid indicates whether the value is a known member of the BeginEmailSignupV3404JSONResponseBodyStatusCode enum.-func (e BeginEmailSignupV3404JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1Scope enum.+func (e RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1Scope) Valid() bool {switch e {- case BeginEmailSignupV3404JSONResponseBodyStatusCodeN404:+ case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:return truedefault:return false}}-// Defines values for BeginEmailSignupV3422JSONResponseBodyStatusCode.+// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2Scope.const (- BeginEmailSignupV3422JSONResponseBodyStatusCodeN422 BeginEmailSignupV3422JSONResponseBodyStatusCode = 422+ RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment")-// Valid indicates whether the value is a known member of the BeginEmailSignupV3422JSONResponseBodyStatusCode enum.-func (e BeginEmailSignupV3422JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2Scope enum.+func (e RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2Scope) Valid() bool {switch e {- case BeginEmailSignupV3422JSONResponseBodyStatusCodeN422:+ case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:return truedefault:return false}}-// Defines values for BeginEmailSignupV3500JSONResponseBodyStatusCode.+// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.const (- BeginEmailSignupV3500JSONResponseBodyStatusCodeN500 BeginEmailSignupV3500JSONResponseBodyStatusCode = 500+ RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination")-// Valid indicates whether the value is a known member of the BeginEmailSignupV3500JSONResponseBodyStatusCode enum.-func (e BeginEmailSignupV3500JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior enum.+func (e RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior) Valid() bool {switch e {- case BeginEmailSignupV3500JSONResponseBodyStatusCodeN500:+ case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:return truedefault:return false}}-// Defines values for VerifyEmailSignupV3400JSONResponseBodyStatusCode.+// Defines values for RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode.const (- VerifyEmailSignupV3400JSONResponseBodyStatusCodeN400 VerifyEmailSignupV3400JSONResponseBodyStatusCode = 400+ RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCodeN400 RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode = 400)-// Valid indicates whether the value is a known member of the VerifyEmailSignupV3400JSONResponseBodyStatusCode enum.-func (e VerifyEmailSignupV3400JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode enum.+func (e RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode) Valid() bool {switch e {- case VerifyEmailSignupV3400JSONResponseBodyStatusCodeN400:+ case RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCodeN400:return truedefault:return false}}-// Defines values for VerifyEmailSignupV3401JSONResponseBodyStatusCode.+// Defines values for RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode.const (- VerifyEmailSignupV3401JSONResponseBodyStatusCodeN401 VerifyEmailSignupV3401JSONResponseBodyStatusCode = 401+ RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCodeN401 RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode = 401)-// Valid indicates whether the value is a known member of the VerifyEmailSignupV3401JSONResponseBodyStatusCode enum.-func (e VerifyEmailSignupV3401JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode enum.+func (e RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode) Valid() bool {switch e {- case VerifyEmailSignupV3401JSONResponseBodyStatusCodeN401:+ case RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCodeN401:return truedefault:return false}}-// Defines values for VerifyEmailSignupV3403JSONResponseBodyStatusCode.+// Defines values for RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode.const (- VerifyEmailSignupV3403JSONResponseBodyStatusCodeN403 VerifyEmailSignupV3403JSONResponseBodyStatusCode = 403+ RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCodeN403 RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode = 403)-// Valid indicates whether the value is a known member of the VerifyEmailSignupV3403JSONResponseBodyStatusCode enum.-func (e VerifyEmailSignupV3403JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode enum.+func (e RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode) Valid() bool {switch e {- case VerifyEmailSignupV3403JSONResponseBodyStatusCodeN403:+ case RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCodeN403:return truedefault:return false}}-// Defines values for VerifyEmailSignupV3404JSONResponseBodyStatusCode.+// Defines values for RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode.const (- VerifyEmailSignupV3404JSONResponseBodyStatusCodeN404 VerifyEmailSignupV3404JSONResponseBodyStatusCode = 404+ RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCodeN404 RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode = 404)-// Valid indicates whether the value is a known member of the VerifyEmailSignupV3404JSONResponseBodyStatusCode enum.-func (e VerifyEmailSignupV3404JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode enum.+func (e RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode) Valid() bool {switch e {- case VerifyEmailSignupV3404JSONResponseBodyStatusCodeN404:+ case RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCodeN404:return truedefault:return false}}-// Defines values for VerifyEmailSignupV3422JSONResponseBodyStatusCode.+// Defines values for RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode.const (- VerifyEmailSignupV3422JSONResponseBodyStatusCodeN422 VerifyEmailSignupV3422JSONResponseBodyStatusCode = 422+ RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCodeN422 RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode = 422)-// Valid indicates whether the value is a known member of the VerifyEmailSignupV3422JSONResponseBodyStatusCode enum.-func (e VerifyEmailSignupV3422JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode enum.+func (e RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode) Valid() bool {switch e {- case VerifyEmailSignupV3422JSONResponseBodyStatusCodeN422:+ case RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCodeN422:return truedefault:return false}}-// Defines values for VerifyEmailSignupV3500JSONResponseBodyStatusCode.+// Defines values for RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode.const (- VerifyEmailSignupV3500JSONResponseBodyStatusCodeN500 VerifyEmailSignupV3500JSONResponseBodyStatusCode = 500+ RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCodeN500 RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode = 500)-// Valid indicates whether the value is a known member of the VerifyEmailSignupV3500JSONResponseBodyStatusCode enum.-func (e VerifyEmailSignupV3500JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode enum.+func (e RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode) Valid() bool {switch e {- case VerifyEmailSignupV3500JSONResponseBodyStatusCodeN500:+ case RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCodeN500:return truedefault:return false}}-// Defines values for ListSecretsV4ParamsViewSecretValue.+// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp.const (- ListSecretsV4ParamsViewSecretValueFalse ListSecretsV4ParamsViewSecretValue = "false"- ListSecretsV4ParamsViewSecretValueTrue ListSecretsV4ParamsViewSecretValue = "true"+ SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp = "github")-// Valid indicates whether the value is a known member of the ListSecretsV4ParamsViewSecretValue enum.-func (e ListSecretsV4ParamsViewSecretValue) Valid() bool {+// Valid indicates whether the value is a known member of the SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp enum.+func (e SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp) Valid() bool {switch e {- case ListSecretsV4ParamsViewSecretValueFalse:- return true- case ListSecretsV4ParamsViewSecretValueTrue:+ case SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub:return truedefault:return false}}-// Defines values for ListSecretsV4ParamsExpandSecretReferences.+// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination.const (- ListSecretsV4ParamsExpandSecretReferencesFalse ListSecretsV4ParamsExpandSecretReferences = "false"- ListSecretsV4ParamsExpandSecretReferencesTrue ListSecretsV4ParamsExpandSecretReferences = "true"+ SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination = "github")-// Valid indicates whether the value is a known member of the ListSecretsV4ParamsExpandSecretReferences enum.-func (e ListSecretsV4ParamsExpandSecretReferences) Valid() bool {+// Valid indicates whether the value is a known member of the SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination enum.+func (e SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination) Valid() bool {switch e {- case ListSecretsV4ParamsExpandSecretReferencesFalse:- return true- case ListSecretsV4ParamsExpandSecretReferencesTrue:+ case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub:return truedefault:return false}}-// Defines values for ListSecretsV4ParamsRecursive.+// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope.const (- ListSecretsV4ParamsRecursiveFalse ListSecretsV4ParamsRecursive = "false"- ListSecretsV4ParamsRecursiveTrue ListSecretsV4ParamsRecursive = "true"+ SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization")-// Valid indicates whether the value is a known member of the ListSecretsV4ParamsRecursive enum.-func (e ListSecretsV4ParamsRecursive) Valid() bool {+// Valid indicates whether the value is a known member of the SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope enum.+func (e SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope) Valid() bool {switch e {- case ListSecretsV4ParamsRecursiveFalse:- return true- case ListSecretsV4ParamsRecursiveTrue:+ case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:return truedefault:return false}}-// Defines values for ListSecretsV4ParamsIncludePersonalOverrides.+// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility.const (- ListSecretsV4ParamsIncludePersonalOverridesFalse ListSecretsV4ParamsIncludePersonalOverrides = "false"- ListSecretsV4ParamsIncludePersonalOverridesTrue ListSecretsV4ParamsIncludePersonalOverrides = "true"+ SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"+ SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"+ SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected")-// Valid indicates whether the value is a known member of the ListSecretsV4ParamsIncludePersonalOverrides enum.-func (e ListSecretsV4ParamsIncludePersonalOverrides) Valid() bool {+// Valid indicates whether the value is a known member of the SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility enum.+func (e SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility) Valid() bool {switch e {- case ListSecretsV4ParamsIncludePersonalOverridesFalse:+ case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:return true- case ListSecretsV4ParamsIncludePersonalOverridesTrue:+ case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:+ return true+ case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:return truedefault:return false}}-// Defines values for ListSecretsV4ParamsIncludeImports.+// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope.const (- ListSecretsV4ParamsIncludeImportsFalse ListSecretsV4ParamsIncludeImports = "false"- ListSecretsV4ParamsIncludeImportsTrue ListSecretsV4ParamsIncludeImports = "true"+ SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository")-// Valid indicates whether the value is a known member of the ListSecretsV4ParamsIncludeImports enum.-func (e ListSecretsV4ParamsIncludeImports) Valid() bool {+// Valid indicates whether the value is a known member of the SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope enum.+func (e SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope) Valid() bool {switch e {- case ListSecretsV4ParamsIncludeImportsFalse:- return true- case ListSecretsV4ParamsIncludeImportsTrue:+ case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:return truedefault:return false}}-// Defines values for ListSecretsV4400JSONResponseBodyStatusCode.+// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope.const (- ListSecretsV4400JSONResponseBodyStatusCodeN400 ListSecretsV4400JSONResponseBodyStatusCode = 400+ SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment")-// Valid indicates whether the value is a known member of the ListSecretsV4400JSONResponseBodyStatusCode enum.-func (e ListSecretsV4400JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope enum.+func (e SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope) Valid() bool {switch e {- case ListSecretsV4400JSONResponseBodyStatusCodeN400:+ case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:return truedefault:return false}}-// Defines values for ListSecretsV4401JSONResponseBodyStatusCode.+// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.const (- ListSecretsV4401JSONResponseBodyStatusCodeN401 ListSecretsV4401JSONResponseBodyStatusCode = 401+ SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination")-// Valid indicates whether the value is a known member of the ListSecretsV4401JSONResponseBodyStatusCode enum.-func (e ListSecretsV4401JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior enum.+func (e SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior) Valid() bool {switch e {- case ListSecretsV4401JSONResponseBodyStatusCodeN401:+ case SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:return truedefault:return false}}-// Defines values for ListSecretsV4403JSONResponseBodyStatusCode.+// Defines values for SyncGitHubSecretSync400JSONResponseBodyStatusCode.const (- ListSecretsV4403JSONResponseBodyStatusCodeN403 ListSecretsV4403JSONResponseBodyStatusCode = 403+ SyncGitHubSecretSync400JSONResponseBodyStatusCodeN400 SyncGitHubSecretSync400JSONResponseBodyStatusCode = 400)-// Valid indicates whether the value is a known member of the ListSecretsV4403JSONResponseBodyStatusCode enum.-func (e ListSecretsV4403JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the SyncGitHubSecretSync400JSONResponseBodyStatusCode enum.+func (e SyncGitHubSecretSync400JSONResponseBodyStatusCode) Valid() bool {switch e {- case ListSecretsV4403JSONResponseBodyStatusCodeN403:+ case SyncGitHubSecretSync400JSONResponseBodyStatusCodeN400:return truedefault:return false}}-// Defines values for ListSecretsV4404JSONResponseBodyStatusCode.+// Defines values for SyncGitHubSecretSync401JSONResponseBodyStatusCode.const (- ListSecretsV4404JSONResponseBodyStatusCodeN404 ListSecretsV4404JSONResponseBodyStatusCode = 404+ SyncGitHubSecretSync401JSONResponseBodyStatusCodeN401 SyncGitHubSecretSync401JSONResponseBodyStatusCode = 401)-// Valid indicates whether the value is a known member of the ListSecretsV4404JSONResponseBodyStatusCode enum.-func (e ListSecretsV4404JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the SyncGitHubSecretSync401JSONResponseBodyStatusCode enum.+func (e SyncGitHubSecretSync401JSONResponseBodyStatusCode) Valid() bool {switch e {- case ListSecretsV4404JSONResponseBodyStatusCodeN404:+ case SyncGitHubSecretSync401JSONResponseBodyStatusCodeN401:return truedefault:return false}}-// Defines values for ListSecretsV4422JSONResponseBodyStatusCode.+// Defines values for SyncGitHubSecretSync403JSONResponseBodyStatusCode.const (- ListSecretsV4422JSONResponseBodyStatusCodeN422 ListSecretsV4422JSONResponseBodyStatusCode = 422+ SyncGitHubSecretSync403JSONResponseBodyStatusCodeN403 SyncGitHubSecretSync403JSONResponseBodyStatusCode = 403)-// Valid indicates whether the value is a known member of the ListSecretsV4422JSONResponseBodyStatusCode enum.-func (e ListSecretsV4422JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the SyncGitHubSecretSync403JSONResponseBodyStatusCode enum.+func (e SyncGitHubSecretSync403JSONResponseBodyStatusCode) Valid() bool {switch e {- case ListSecretsV4422JSONResponseBodyStatusCodeN422:+ case SyncGitHubSecretSync403JSONResponseBodyStatusCodeN403:return truedefault:return false}}-// Defines values for ListSecretsV4500JSONResponseBodyStatusCode.+// Defines values for SyncGitHubSecretSync404JSONResponseBodyStatusCode.const (- ListSecretsV4500JSONResponseBodyStatusCodeN500 ListSecretsV4500JSONResponseBodyStatusCode = 500+ SyncGitHubSecretSync404JSONResponseBodyStatusCodeN404 SyncGitHubSecretSync404JSONResponseBodyStatusCode = 404)-// Valid indicates whether the value is a known member of the ListSecretsV4500JSONResponseBodyStatusCode enum.-func (e ListSecretsV4500JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the SyncGitHubSecretSync404JSONResponseBodyStatusCode enum.+func (e SyncGitHubSecretSync404JSONResponseBodyStatusCode) Valid() bool {switch e {- case ListSecretsV4500JSONResponseBodyStatusCodeN500:+ case SyncGitHubSecretSync404JSONResponseBodyStatusCodeN404:return truedefault:return false}}-// Defines values for DeleteSecretV4JSONBodyType.+// Defines values for SyncGitHubSecretSync422JSONResponseBodyStatusCode.const (- DeleteSecretV4JSONBodyTypePersonal DeleteSecretV4JSONBodyType = "personal"- DeleteSecretV4JSONBodyTypeShared DeleteSecretV4JSONBodyType = "shared"+ SyncGitHubSecretSync422JSONResponseBodyStatusCodeN422 SyncGitHubSecretSync422JSONResponseBodyStatusCode = 422)-// Valid indicates whether the value is a known member of the DeleteSecretV4JSONBodyType enum.-func (e DeleteSecretV4JSONBodyType) Valid() bool {+// Valid indicates whether the value is a known member of the SyncGitHubSecretSync422JSONResponseBodyStatusCode enum.+func (e SyncGitHubSecretSync422JSONResponseBodyStatusCode) Valid() bool {switch e {- case DeleteSecretV4JSONBodyTypePersonal:- return true- case DeleteSecretV4JSONBodyTypeShared:+ case SyncGitHubSecretSync422JSONResponseBodyStatusCodeN422:return truedefault:return false}}-// Defines values for DeleteSecretV4400JSONResponseBodyStatusCode.+// Defines values for SyncGitHubSecretSync500JSONResponseBodyStatusCode.const (- DeleteSecretV4400JSONResponseBodyStatusCodeN400 DeleteSecretV4400JSONResponseBodyStatusCode = 400+ SyncGitHubSecretSync500JSONResponseBodyStatusCodeN500 SyncGitHubSecretSync500JSONResponseBodyStatusCode = 500)-// Valid indicates whether the value is a known member of the DeleteSecretV4400JSONResponseBodyStatusCode enum.-func (e DeleteSecretV4400JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the SyncGitHubSecretSync500JSONResponseBodyStatusCode enum.+func (e SyncGitHubSecretSync500JSONResponseBodyStatusCode) Valid() bool {switch e {- case DeleteSecretV4400JSONResponseBodyStatusCodeN400:+ case SyncGitHubSecretSync500JSONResponseBodyStatusCodeN500:return truedefault:return false}}-// Defines values for DeleteSecretV4401JSONResponseBodyStatusCode.+// Defines values for CreateSecretFolder400JSONResponseBodyStatusCode.const (- DeleteSecretV4401JSONResponseBodyStatusCodeN401 DeleteSecretV4401JSONResponseBodyStatusCode = 401+ CreateSecretFolder400JSONResponseBodyStatusCodeN400 CreateSecretFolder400JSONResponseBodyStatusCode = 400)-// Valid indicates whether the value is a known member of the DeleteSecretV4401JSONResponseBodyStatusCode enum.-func (e DeleteSecretV4401JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateSecretFolder400JSONResponseBodyStatusCode enum.+func (e CreateSecretFolder400JSONResponseBodyStatusCode) Valid() bool {switch e {- case DeleteSecretV4401JSONResponseBodyStatusCodeN401:+ case CreateSecretFolder400JSONResponseBodyStatusCodeN400:return truedefault:return false}}-// Defines values for DeleteSecretV4403JSONResponseBodyStatusCode.+// Defines values for CreateSecretFolder401JSONResponseBodyStatusCode.const (- DeleteSecretV4403JSONResponseBodyStatusCodeN403 DeleteSecretV4403JSONResponseBodyStatusCode = 403+ CreateSecretFolder401JSONResponseBodyStatusCodeN401 CreateSecretFolder401JSONResponseBodyStatusCode = 401)-// Valid indicates whether the value is a known member of the DeleteSecretV4403JSONResponseBodyStatusCode enum.-func (e DeleteSecretV4403JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateSecretFolder401JSONResponseBodyStatusCode enum.+func (e CreateSecretFolder401JSONResponseBodyStatusCode) Valid() bool {switch e {- case DeleteSecretV4403JSONResponseBodyStatusCodeN403:+ case CreateSecretFolder401JSONResponseBodyStatusCodeN401:return truedefault:return false}}-// Defines values for DeleteSecretV4404JSONResponseBodyStatusCode.+// Defines values for CreateSecretFolder403JSONResponseBodyStatusCode.const (- DeleteSecretV4404JSONResponseBodyStatusCodeN404 DeleteSecretV4404JSONResponseBodyStatusCode = 404+ CreateSecretFolder403JSONResponseBodyStatusCodeN403 CreateSecretFolder403JSONResponseBodyStatusCode = 403)-// Valid indicates whether the value is a known member of the DeleteSecretV4404JSONResponseBodyStatusCode enum.-func (e DeleteSecretV4404JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateSecretFolder403JSONResponseBodyStatusCode enum.+func (e CreateSecretFolder403JSONResponseBodyStatusCode) Valid() bool {switch e {- case DeleteSecretV4404JSONResponseBodyStatusCodeN404:+ case CreateSecretFolder403JSONResponseBodyStatusCodeN403:return truedefault:return false}}-// Defines values for DeleteSecretV4422JSONResponseBodyStatusCode.+// Defines values for CreateSecretFolder404JSONResponseBodyStatusCode.const (- DeleteSecretV4422JSONResponseBodyStatusCodeN422 DeleteSecretV4422JSONResponseBodyStatusCode = 422+ CreateSecretFolder404JSONResponseBodyStatusCodeN404 CreateSecretFolder404JSONResponseBodyStatusCode = 404)-// Valid indicates whether the value is a known member of the DeleteSecretV4422JSONResponseBodyStatusCode enum.-func (e DeleteSecretV4422JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateSecretFolder404JSONResponseBodyStatusCode enum.+func (e CreateSecretFolder404JSONResponseBodyStatusCode) Valid() bool {switch e {- case DeleteSecretV4422JSONResponseBodyStatusCodeN422:+ case CreateSecretFolder404JSONResponseBodyStatusCodeN404:return truedefault:return false}}-// Defines values for DeleteSecretV4500JSONResponseBodyStatusCode.+// Defines values for CreateSecretFolder422JSONResponseBodyStatusCode.const (- DeleteSecretV4500JSONResponseBodyStatusCodeN500 DeleteSecretV4500JSONResponseBodyStatusCode = 500+ CreateSecretFolder422JSONResponseBodyStatusCodeN422 CreateSecretFolder422JSONResponseBodyStatusCode = 422)-// Valid indicates whether the value is a known member of the DeleteSecretV4500JSONResponseBodyStatusCode enum.-func (e DeleteSecretV4500JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateSecretFolder422JSONResponseBodyStatusCode enum.+func (e CreateSecretFolder422JSONResponseBodyStatusCode) Valid() bool {switch e {- case DeleteSecretV4500JSONResponseBodyStatusCodeN500:+ case CreateSecretFolder422JSONResponseBodyStatusCodeN422:return truedefault:return false}}-// Defines values for GetSecretByNameV4ParamsType.+// Defines values for CreateSecretFolder500JSONResponseBodyStatusCode.const (- GetSecretByNameV4ParamsTypePersonal GetSecretByNameV4ParamsType = "personal"- GetSecretByNameV4ParamsTypeShared GetSecretByNameV4ParamsType = "shared"+ CreateSecretFolder500JSONResponseBodyStatusCodeN500 CreateSecretFolder500JSONResponseBodyStatusCode = 500)-// Valid indicates whether the value is a known member of the GetSecretByNameV4ParamsType enum.-func (e GetSecretByNameV4ParamsType) Valid() bool {+// Valid indicates whether the value is a known member of the CreateSecretFolder500JSONResponseBodyStatusCode enum.+func (e CreateSecretFolder500JSONResponseBodyStatusCode) Valid() bool {switch e {- case GetSecretByNameV4ParamsTypePersonal:- return true- case GetSecretByNameV4ParamsTypeShared:+ case CreateSecretFolder500JSONResponseBodyStatusCodeN500:return truedefault:return false}}-// Defines values for GetSecretByNameV4ParamsViewSecretValue.+// Defines values for CreateOrganization400JSONResponseBodyStatusCode.const (- GetSecretByNameV4ParamsViewSecretValueFalse GetSecretByNameV4ParamsViewSecretValue = "false"- GetSecretByNameV4ParamsViewSecretValueTrue GetSecretByNameV4ParamsViewSecretValue = "true"+ CreateOrganization400JSONResponseBodyStatusCodeN400 CreateOrganization400JSONResponseBodyStatusCode = 400)-// Valid indicates whether the value is a known member of the GetSecretByNameV4ParamsViewSecretValue enum.-func (e GetSecretByNameV4ParamsViewSecretValue) Valid() bool {+// Valid indicates whether the value is a known member of the CreateOrganization400JSONResponseBodyStatusCode enum.+func (e CreateOrganization400JSONResponseBodyStatusCode) Valid() bool {switch e {- case GetSecretByNameV4ParamsViewSecretValueFalse:- return true- case GetSecretByNameV4ParamsViewSecretValueTrue:+ case CreateOrganization400JSONResponseBodyStatusCodeN400:return truedefault:return false}}-// Defines values for GetSecretByNameV4ParamsExpandSecretReferences.+// Defines values for CreateOrganization401JSONResponseBodyStatusCode.const (- GetSecretByNameV4ParamsExpandSecretReferencesFalse GetSecretByNameV4ParamsExpandSecretReferences = "false"- GetSecretByNameV4ParamsExpandSecretReferencesTrue GetSecretByNameV4ParamsExpandSecretReferences = "true"+ CreateOrganization401JSONResponseBodyStatusCodeN401 CreateOrganization401JSONResponseBodyStatusCode = 401)-// Valid indicates whether the value is a known member of the GetSecretByNameV4ParamsExpandSecretReferences enum.-func (e GetSecretByNameV4ParamsExpandSecretReferences) Valid() bool {+// Valid indicates whether the value is a known member of the CreateOrganization401JSONResponseBodyStatusCode enum.+func (e CreateOrganization401JSONResponseBodyStatusCode) Valid() bool {switch e {- case GetSecretByNameV4ParamsExpandSecretReferencesFalse:- return true- case GetSecretByNameV4ParamsExpandSecretReferencesTrue:+ case CreateOrganization401JSONResponseBodyStatusCodeN401:return truedefault:return false}}-// Defines values for GetSecretByNameV4ParamsIncludeImports.+// Defines values for CreateOrganization403JSONResponseBodyStatusCode.const (- GetSecretByNameV4ParamsIncludeImportsFalse GetSecretByNameV4ParamsIncludeImports = "false"- GetSecretByNameV4ParamsIncludeImportsTrue GetSecretByNameV4ParamsIncludeImports = "true"+ CreateOrganization403JSONResponseBodyStatusCodeN403 CreateOrganization403JSONResponseBodyStatusCode = 403)-// Valid indicates whether the value is a known member of the GetSecretByNameV4ParamsIncludeImports enum.-func (e GetSecretByNameV4ParamsIncludeImports) Valid() bool {+// Valid indicates whether the value is a known member of the CreateOrganization403JSONResponseBodyStatusCode enum.+func (e CreateOrganization403JSONResponseBodyStatusCode) Valid() bool {switch e {- case GetSecretByNameV4ParamsIncludeImportsFalse:- return true- case GetSecretByNameV4ParamsIncludeImportsTrue:+ case CreateOrganization403JSONResponseBodyStatusCodeN403:return truedefault:return false}}-// Defines values for GetSecretByNameV4400JSONResponseBodyStatusCode.+// Defines values for CreateOrganization404JSONResponseBodyStatusCode.const (- GetSecretByNameV4400JSONResponseBodyStatusCodeN400 GetSecretByNameV4400JSONResponseBodyStatusCode = 400+ CreateOrganization404JSONResponseBodyStatusCodeN404 CreateOrganization404JSONResponseBodyStatusCode = 404)-// Valid indicates whether the value is a known member of the GetSecretByNameV4400JSONResponseBodyStatusCode enum.-func (e GetSecretByNameV4400JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateOrganization404JSONResponseBodyStatusCode enum.+func (e CreateOrganization404JSONResponseBodyStatusCode) Valid() bool {switch e {- case GetSecretByNameV4400JSONResponseBodyStatusCodeN400:+ case CreateOrganization404JSONResponseBodyStatusCodeN404:return truedefault:return false}}-// Defines values for GetSecretByNameV4401JSONResponseBodyStatusCode.+// Defines values for CreateOrganization422JSONResponseBodyStatusCode.const (- GetSecretByNameV4401JSONResponseBodyStatusCodeN401 GetSecretByNameV4401JSONResponseBodyStatusCode = 401+ CreateOrganization422JSONResponseBodyStatusCodeN422 CreateOrganization422JSONResponseBodyStatusCode = 422)-// Valid indicates whether the value is a known member of the GetSecretByNameV4401JSONResponseBodyStatusCode enum.-func (e GetSecretByNameV4401JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateOrganization422JSONResponseBodyStatusCode enum.+func (e CreateOrganization422JSONResponseBodyStatusCode) Valid() bool {switch e {- case GetSecretByNameV4401JSONResponseBodyStatusCodeN401:+ case CreateOrganization422JSONResponseBodyStatusCodeN422:return truedefault:return false}}-// Defines values for GetSecretByNameV4403JSONResponseBodyStatusCode.+// Defines values for CreateOrganization500JSONResponseBodyStatusCode.const (- GetSecretByNameV4403JSONResponseBodyStatusCodeN403 GetSecretByNameV4403JSONResponseBodyStatusCode = 403+ CreateOrganization500JSONResponseBodyStatusCodeN500 CreateOrganization500JSONResponseBodyStatusCode = 500)-// Valid indicates whether the value is a known member of the GetSecretByNameV4403JSONResponseBodyStatusCode enum.-func (e GetSecretByNameV4403JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateOrganization500JSONResponseBodyStatusCode enum.+func (e CreateOrganization500JSONResponseBodyStatusCode) Valid() bool {switch e {- case GetSecretByNameV4403JSONResponseBodyStatusCodeN403:+ case CreateOrganization500JSONResponseBodyStatusCodeN500:return truedefault:return false}}-// Defines values for GetSecretByNameV4404JSONResponseBodyStatusCode.+// Defines values for DeleteOrganization400JSONResponseBodyStatusCode.const (- GetSecretByNameV4404JSONResponseBodyStatusCodeN404 GetSecretByNameV4404JSONResponseBodyStatusCode = 404+ DeleteOrganization400JSONResponseBodyStatusCodeN400 DeleteOrganization400JSONResponseBodyStatusCode = 400)-// Valid indicates whether the value is a known member of the GetSecretByNameV4404JSONResponseBodyStatusCode enum.-func (e GetSecretByNameV4404JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the DeleteOrganization400JSONResponseBodyStatusCode enum.+func (e DeleteOrganization400JSONResponseBodyStatusCode) Valid() bool {switch e {- case GetSecretByNameV4404JSONResponseBodyStatusCodeN404:+ case DeleteOrganization400JSONResponseBodyStatusCodeN400:return truedefault:return false}}-// Defines values for GetSecretByNameV4422JSONResponseBodyStatusCode.+// Defines values for DeleteOrganization401JSONResponseBodyStatusCode.const (- GetSecretByNameV4422JSONResponseBodyStatusCodeN422 GetSecretByNameV4422JSONResponseBodyStatusCode = 422+ DeleteOrganization401JSONResponseBodyStatusCodeN401 DeleteOrganization401JSONResponseBodyStatusCode = 401)-// Valid indicates whether the value is a known member of the GetSecretByNameV4422JSONResponseBodyStatusCode enum.-func (e GetSecretByNameV4422JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the DeleteOrganization401JSONResponseBodyStatusCode enum.+func (e DeleteOrganization401JSONResponseBodyStatusCode) Valid() bool {switch e {- case GetSecretByNameV4422JSONResponseBodyStatusCodeN422:+ case DeleteOrganization401JSONResponseBodyStatusCodeN401:return truedefault:return false}}-// Defines values for GetSecretByNameV4500JSONResponseBodyStatusCode.+// Defines values for DeleteOrganization403JSONResponseBodyStatusCode.const (- GetSecretByNameV4500JSONResponseBodyStatusCodeN500 GetSecretByNameV4500JSONResponseBodyStatusCode = 500+ DeleteOrganization403JSONResponseBodyStatusCodeN403 DeleteOrganization403JSONResponseBodyStatusCode = 403)-// Valid indicates whether the value is a known member of the GetSecretByNameV4500JSONResponseBodyStatusCode enum.-func (e GetSecretByNameV4500JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the DeleteOrganization403JSONResponseBodyStatusCode enum.+func (e DeleteOrganization403JSONResponseBodyStatusCode) Valid() bool {switch e {- case GetSecretByNameV4500JSONResponseBodyStatusCodeN500:+ case DeleteOrganization403JSONResponseBodyStatusCodeN403:return truedefault:return false}}-// Defines values for CreateSecretV4JSONBodyType.+// Defines values for DeleteOrganization404JSONResponseBodyStatusCode.const (- CreateSecretV4JSONBodyTypePersonal CreateSecretV4JSONBodyType = "personal"- CreateSecretV4JSONBodyTypeShared CreateSecretV4JSONBodyType = "shared"+ DeleteOrganization404JSONResponseBodyStatusCodeN404 DeleteOrganization404JSONResponseBodyStatusCode = 404)-// Valid indicates whether the value is a known member of the CreateSecretV4JSONBodyType enum.-func (e CreateSecretV4JSONBodyType) Valid() bool {+// Valid indicates whether the value is a known member of the DeleteOrganization404JSONResponseBodyStatusCode enum.+func (e DeleteOrganization404JSONResponseBodyStatusCode) Valid() bool {switch e {- case CreateSecretV4JSONBodyTypePersonal:- return true- case CreateSecretV4JSONBodyTypeShared:+ case DeleteOrganization404JSONResponseBodyStatusCodeN404:return truedefault:return false}}-// Defines values for CreateSecretV4400JSONResponseBodyStatusCode.+// Defines values for DeleteOrganization422JSONResponseBodyStatusCode.const (- CreateSecretV4400JSONResponseBodyStatusCodeN400 CreateSecretV4400JSONResponseBodyStatusCode = 400+ DeleteOrganization422JSONResponseBodyStatusCodeN422 DeleteOrganization422JSONResponseBodyStatusCode = 422)-// Valid indicates whether the value is a known member of the CreateSecretV4400JSONResponseBodyStatusCode enum.-func (e CreateSecretV4400JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the DeleteOrganization422JSONResponseBodyStatusCode enum.+func (e DeleteOrganization422JSONResponseBodyStatusCode) Valid() bool {switch e {- case CreateSecretV4400JSONResponseBodyStatusCodeN400:+ case DeleteOrganization422JSONResponseBodyStatusCodeN422:return truedefault:return false}}-// Defines values for CreateSecretV4401JSONResponseBodyStatusCode.+// Defines values for DeleteOrganization500JSONResponseBodyStatusCode.const (- CreateSecretV4401JSONResponseBodyStatusCodeN401 CreateSecretV4401JSONResponseBodyStatusCode = 401+ DeleteOrganization500JSONResponseBodyStatusCodeN500 DeleteOrganization500JSONResponseBodyStatusCode = 500)-// Valid indicates whether the value is a known member of the CreateSecretV4401JSONResponseBodyStatusCode enum.-func (e CreateSecretV4401JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the DeleteOrganization500JSONResponseBodyStatusCode enum.+func (e DeleteOrganization500JSONResponseBodyStatusCode) Valid() bool {switch e {- case CreateSecretV4401JSONResponseBodyStatusCodeN401:+ case DeleteOrganization500JSONResponseBodyStatusCodeN500:return truedefault:return false}}-// Defines values for CreateSecretV4403JSONResponseBodyStatusCode.+// Defines values for CreateSecretApprovalPolicyJSONBodyApprovers0Type.const (- CreateSecretV4403JSONResponseBodyStatusCodeN403 CreateSecretV4403JSONResponseBodyStatusCode = 403+ CreateSecretApprovalPolicyJSONBodyApprovers0TypeGroup CreateSecretApprovalPolicyJSONBodyApprovers0Type = "group")-// Valid indicates whether the value is a known member of the CreateSecretV4403JSONResponseBodyStatusCode enum.-func (e CreateSecretV4403JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicyJSONBodyApprovers0Type enum.+func (e CreateSecretApprovalPolicyJSONBodyApprovers0Type) Valid() bool {switch e {- case CreateSecretV4403JSONResponseBodyStatusCodeN403:+ case CreateSecretApprovalPolicyJSONBodyApprovers0TypeGroup:return truedefault:return false}}-// Defines values for CreateSecretV4404JSONResponseBodyStatusCode.+// Defines values for CreateSecretApprovalPolicyJSONBodyApprovers1Type.const (- CreateSecretV4404JSONResponseBodyStatusCodeN404 CreateSecretV4404JSONResponseBodyStatusCode = 404+ CreateSecretApprovalPolicyJSONBodyApprovers1TypeUser CreateSecretApprovalPolicyJSONBodyApprovers1Type = "user")-// Valid indicates whether the value is a known member of the CreateSecretV4404JSONResponseBodyStatusCode enum.-func (e CreateSecretV4404JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicyJSONBodyApprovers1Type enum.+func (e CreateSecretApprovalPolicyJSONBodyApprovers1Type) Valid() bool {switch e {- case CreateSecretV4404JSONResponseBodyStatusCodeN404:+ case CreateSecretApprovalPolicyJSONBodyApprovers1TypeUser:return truedefault:return false}}-// Defines values for CreateSecretV4422JSONResponseBodyStatusCode.+// Defines values for CreateSecretApprovalPolicyJSONBodyBypassers0Type.const (- CreateSecretV4422JSONResponseBodyStatusCodeN422 CreateSecretV4422JSONResponseBodyStatusCode = 422+ CreateSecretApprovalPolicyJSONBodyBypassers0TypeGroup CreateSecretApprovalPolicyJSONBodyBypassers0Type = "group")-// Valid indicates whether the value is a known member of the CreateSecretV4422JSONResponseBodyStatusCode enum.-func (e CreateSecretV4422JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicyJSONBodyBypassers0Type enum.+func (e CreateSecretApprovalPolicyJSONBodyBypassers0Type) Valid() bool {switch e {- case CreateSecretV4422JSONResponseBodyStatusCodeN422:+ case CreateSecretApprovalPolicyJSONBodyBypassers0TypeGroup:return truedefault:return false}}-// Defines values for CreateSecretV4500JSONResponseBodyStatusCode.+// Defines values for CreateSecretApprovalPolicyJSONBodyBypassers1Type.const (- CreateSecretV4500JSONResponseBodyStatusCodeN500 CreateSecretV4500JSONResponseBodyStatusCode = 500+ CreateSecretApprovalPolicyJSONBodyBypassers1TypeUser CreateSecretApprovalPolicyJSONBodyBypassers1Type = "user")-// Valid indicates whether the value is a known member of the CreateSecretV4500JSONResponseBodyStatusCode enum.-func (e CreateSecretV4500JSONResponseBodyStatusCode) Valid() bool {+// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicyJSONBodyBypassers1Type enum.+func (e CreateSecretApprovalPolicyJSONBodyBypassers1Type) Valid() bool {switch e {- case CreateSecretV4500JSONResponseBodyStatusCodeN500:+ case CreateSecretApprovalPolicyJSONBodyBypassers1TypeUser:return truedefault:return false}}-// GetInstanceStatus400JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.-type GetInstanceStatus400JSONResponseBodyStatusCode float32--// GetInstanceStatus401JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.-type GetInstanceStatus401JSONResponseBodyStatusCode float32+// Defines values for CreateSecretApprovalPolicyJSONBodyEnforcementLevel.+const (+ CreateSecretApprovalPolicyJSONBodyEnforcementLevelHard CreateSecretApprovalPolicyJSONBodyEnforcementLevel = "hard"+ CreateSecretApprovalPolicyJSONBodyEnforcementLevelSoft CreateSecretApprovalPolicyJSONBodyEnforcementLevel = "soft"+)-// GetInstanceStatus403JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.-type GetInstanceStatus403JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicyJSONBodyEnforcementLevel enum.+func (e CreateSecretApprovalPolicyJSONBodyEnforcementLevel) Valid() bool {+ switch e {+ case CreateSecretApprovalPolicyJSONBodyEnforcementLevelHard:+ return true+ case CreateSecretApprovalPolicyJSONBodyEnforcementLevelSoft:+ return true+ default:+ return false+ }+}-// GetInstanceStatus404JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.-type GetInstanceStatus404JSONResponseBodyStatusCode float32+// Defines values for CreateSecretApprovalPolicy400JSONResponseBodyStatusCode.+const (+ CreateSecretApprovalPolicy400JSONResponseBodyStatusCodeN400 CreateSecretApprovalPolicy400JSONResponseBodyStatusCode = 400+)-// GetInstanceStatus422JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.-type GetInstanceStatus422JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy400JSONResponseBodyStatusCode enum.+func (e CreateSecretApprovalPolicy400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretApprovalPolicy400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }+}-// GetInstanceStatus500JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.-type GetInstanceStatus500JSONResponseBodyStatusCode float32+// Defines values for CreateSecretApprovalPolicy401JSONResponseBodyStatusCode.+const (+ CreateSecretApprovalPolicy401JSONResponseBodyStatusCodeN401 CreateSecretApprovalPolicy401JSONResponseBodyStatusCode = 401+)-// AdminBootstrapJSONBody defines parameters for AdminBootstrap.-type AdminBootstrapJSONBody struct {- Email openapi_types.Email `json:"email"`- Organization string `json:"organization"`- Password string `json:"password"`+// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy401JSONResponseBodyStatusCode enum.+func (e CreateSecretApprovalPolicy401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretApprovalPolicy401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }}-// AdminBootstrap400JSONResponseBodyStatusCode defines parameters for AdminBootstrap.-type AdminBootstrap400JSONResponseBodyStatusCode float32--// AdminBootstrap401JSONResponseBodyStatusCode defines parameters for AdminBootstrap.-type AdminBootstrap401JSONResponseBodyStatusCode float32+// Defines values for CreateSecretApprovalPolicy403JSONResponseBodyStatusCode.+const (+ CreateSecretApprovalPolicy403JSONResponseBodyStatusCodeN403 CreateSecretApprovalPolicy403JSONResponseBodyStatusCode = 403+)-// AdminBootstrap403JSONResponseBodyStatusCode defines parameters for AdminBootstrap.-type AdminBootstrap403JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy403JSONResponseBodyStatusCode enum.+func (e CreateSecretApprovalPolicy403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretApprovalPolicy403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}-// AdminBootstrap404JSONResponseBodyStatusCode defines parameters for AdminBootstrap.-type AdminBootstrap404JSONResponseBodyStatusCode float32+// Defines values for CreateSecretApprovalPolicy404JSONResponseBodyStatusCode.+const (+ CreateSecretApprovalPolicy404JSONResponseBodyStatusCodeN404 CreateSecretApprovalPolicy404JSONResponseBodyStatusCode = 404+)-// AdminBootstrap422JSONResponseBodyStatusCode defines parameters for AdminBootstrap.-type AdminBootstrap422JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy404JSONResponseBodyStatusCode enum.+func (e CreateSecretApprovalPolicy404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretApprovalPolicy404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}-// AdminBootstrap500JSONResponseBodyStatusCode defines parameters for AdminBootstrap.-type AdminBootstrap500JSONResponseBodyStatusCode float32+// Defines values for CreateSecretApprovalPolicy422JSONResponseBodyStatusCode.+const (+ CreateSecretApprovalPolicy422JSONResponseBodyStatusCodeN422 CreateSecretApprovalPolicy422JSONResponseBodyStatusCode = 422+)-// UpdateAdminConfigJSONBody defines parameters for UpdateAdminConfig.-type UpdateAdminConfigJSONBody struct {- AllowSignUp *bool `json:"allowSignUp,omitempty"`- AllowedSignUpDomain *string `json:"allowedSignUpDomain,omitempty"`- AuthConsentContent *string `json:"authConsentContent,omitempty"`- DefaultAuthOrgId *string `json:"defaultAuthOrgId,omitempty"`- EnabledLoginMethods *[]UpdateAdminConfigJSONBodyEnabledLoginMethods `json:"enabledLoginMethods,omitempty"`- EnvOverrides *struct {- CLIENTGITLABLOGINURL string `json:"CLIENT_GITLAB_LOGIN_URL"`- CLIENTIDGITHUBLOGIN string `json:"CLIENT_ID_GITHUB_LOGIN"`- CLIENTIDGITLABLOGIN string `json:"CLIENT_ID_GITLAB_LOGIN"`- CLIENTIDGOOGLELOGIN string `json:"CLIENT_ID_GOOGLE_LOGIN"`- CLIENTSECRETGITHUBLOGIN string `json:"CLIENT_SECRET_GITHUB_LOGIN"`- CLIENTSECRETGITLABLOGIN string `json:"CLIENT_SECRET_GITLAB_LOGIN"`- CLIENTSECRETGOOGLELOGIN string `json:"CLIENT_SECRET_GOOGLE_LOGIN"`- DISABLEAUDITLOGSTORAGE string `json:"DISABLE_AUDIT_LOG_STORAGE"`- DISABLEPOSTGRESAUDITLOGSTORAGE string `json:"DISABLE_POSTGRES_AUDIT_LOG_STORAGE"`- DISABLEPUBLICSECRETSHARING string `json:"DISABLE_PUBLIC_SECRET_SHARING"`- INFAPPCONNECTIONAWSACCESSKEYID string `json:"INF_APP_CONNECTION_AWS_ACCESS_KEY_ID"`- INFAPPCONNECTIONAWSSECRETACCESSKEY string `json:"INF_APP_CONNECTION_AWS_SECRET_ACCESS_KEY"`- INFAPPCONNECTIONAZUREAPPCONFIGURATIONCLIENTID string `json:"INF_APP_CONNECTION_AZURE_APP_CONFIGURATION_CLIENT_ID"`- INFAPPCONNECTIONAZUREAPPCONFIGURATIONCLIENTSECRET string `json:"INF_APP_CONNECTION_AZURE_APP_CONFIGURATION_CLIENT_SECRET"`- INFAPPCONNECTIONAZURECLIENTSECRETSCLIENTID string `json:"INF_APP_CONNECTION_AZURE_CLIENT_SECRETS_CLIENT_ID"`- INFAPPCONNECTIONAZURECLIENTSECRETSCLIENTSECRET string `json:"INF_APP_CONNECTION_AZURE_CLIENT_SECRETS_CLIENT_SECRET"`- INFAPPCONNECTIONAZUREDEVOPSCLIENTID string `json:"INF_APP_CONNECTION_AZURE_DEVOPS_CLIENT_ID"`- INFAPPCONNECTIONAZUREDEVOPSCLIENTSECRET string `json:"INF_APP_CONNECTION_AZURE_DEVOPS_CLIENT_SECRET"`- INFAPPCONNECTIONAZUREKEYVAULTCLIENTID string `json:"INF_APP_CONNECTION_AZURE_KEY_VAULT_CLIENT_ID"`- INFAPPCONNECTIONAZUREKEYVAULTCLIENTSECRET string `json:"INF_APP_CONNECTION_AZURE_KEY_VAULT_CLIENT_SECRET"`- INFAPPCONNECTIONGCPSERVICEACCOUNTCREDENTIAL string `json:"INF_APP_CONNECTION_GCP_SERVICE_ACCOUNT_CREDENTIAL"`- INFAPPCONNECTIONGITHUBAPPCLIENTID string `json:"INF_APP_CONNECTION_GITHUB_APP_CLIENT_ID"`- INFAPPCONNECTIONGITHUBAPPCLIENTSECRET string `json:"INF_APP_CONNECTION_GITHUB_APP_CLIENT_SECRET"`- INFAPPCONNECTIONGITHUBAPPHOST string `json:"INF_APP_CONNECTION_GITHUB_APP_HOST"`- INFAPPCONNECTIONGITHUBAPPID string `json:"INF_APP_CONNECTION_GITHUB_APP_ID"`- INFAPPCONNECTIONGITHUBAPPPRIVATEKEY string `json:"INF_APP_CONNECTION_GITHUB_APP_PRIVATE_KEY"`- INFAPPCONNECTIONGITHUBAPPSLUG string `json:"INF_APP_CONNECTION_GITHUB_APP_SLUG"`- INFAPPCONNECTIONGITHUBOAUTHCLIENTID string `json:"INF_APP_CONNECTION_GITHUB_OAUTH_CLIENT_ID"`- INFAPPCONNECTIONGITHUBOAUTHCLIENTSECRET string `json:"INF_APP_CONNECTION_GITHUB_OAUTH_CLIENT_SECRET"`- INFAPPCONNECTIONGITHUBRADARAPPCLIENTID string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_CLIENT_ID"`- INFAPPCONNECTIONGITHUBRADARAPPCLIENTSECRET string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_CLIENT_SECRET"`- INFAPPCONNECTIONGITHUBRADARAPPID string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_ID"`- INFAPPCONNECTIONGITHUBRADARAPPPRIVATEKEY string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_PRIVATE_KEY"`- INFAPPCONNECTIONGITHUBRADARAPPSLUG string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_SLUG"`- INFAPPCONNECTIONGITHUBRADARAPPWEBHOOKSECRET string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_WEBHOOK_SECRET"`- INFAPPCONNECTIONGITLABOAUTHCLIENTID string `json:"INF_APP_CONNECTION_GITLAB_OAUTH_CLIENT_ID"`- INFAPPCONNECTIONGITLABOAUTHCLIENTSECRET string `json:"INF_APP_CONNECTION_GITLAB_OAUTH_CLIENT_SECRET"`- INFAPPCONNECTIONHEROKUOAUTHCLIENTID string `json:"INF_APP_CONNECTION_HEROKU_OAUTH_CLIENT_ID"`- INFAPPCONNECTIONHEROKUOAUTHCLIENTSECRET string `json:"INF_APP_CONNECTION_HEROKU_OAUTH_CLIENT_SECRET"`- INFAPPCONNECTIONSTRIPEOAUTHAUTHORIZEURL string `json:"INF_APP_CONNECTION_STRIPE_OAUTH_AUTHORIZE_URL"`- INFAPPCONNECTIONSTRIPEOAUTHCLIENTID string `json:"INF_APP_CONNECTION_STRIPE_OAUTH_CLIENT_ID"`- INFAPPCONNECTIONSTRIPESECRETKEY string `json:"INF_APP_CONNECTION_STRIPE_SECRET_KEY"`- } `json:"envOverrides,omitempty"`- GitHubAppConnectionClientId *string `json:"gitHubAppConnectionClientId,omitempty"`- GitHubAppConnectionClientSecret *string `json:"gitHubAppConnectionClientSecret,omitempty"`- GitHubAppConnectionId *string `json:"gitHubAppConnectionId,omitempty"`- GitHubAppConnectionPrivateKey *string `json:"gitHubAppConnectionPrivateKey,omitempty"`- GitHubAppConnectionSlug *string `json:"gitHubAppConnectionSlug,omitempty"`- MicrosoftTeamsAppId *string `json:"microsoftTeamsAppId,omitempty"`- MicrosoftTeamsBotId *string `json:"microsoftTeamsBotId,omitempty"`- MicrosoftTeamsClientSecret *string `json:"microsoftTeamsClientSecret,omitempty"`- OnboardingCompleted *bool `json:"onboardingCompleted,omitempty"`- PageFrameContent *string `json:"pageFrameContent,omitempty"`- SlackClientId *string `json:"slackClientId,omitempty"`- SlackClientSecret *string `json:"slackClientSecret,omitempty"`- TrustLdapEmails *bool `json:"trustLdapEmails,omitempty"`+// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy422JSONResponseBodyStatusCode enum.+func (e CreateSecretApprovalPolicy422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretApprovalPolicy422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }}-// UpdateAdminConfigJSONBodyEnabledLoginMethods defines parameters for UpdateAdminConfig.-type UpdateAdminConfigJSONBodyEnabledLoginMethods string--// UpdateAdminConfig400JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.-type UpdateAdminConfig400JSONResponseBodyStatusCode float32+// Defines values for CreateSecretApprovalPolicy500JSONResponseBodyStatusCode.+const (+ CreateSecretApprovalPolicy500JSONResponseBodyStatusCodeN500 CreateSecretApprovalPolicy500JSONResponseBodyStatusCode = 500+)-// UpdateAdminConfig401JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.-type UpdateAdminConfig401JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy500JSONResponseBodyStatusCode enum.+func (e CreateSecretApprovalPolicy500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretApprovalPolicy500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}-// UpdateAdminConfig403JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.-type UpdateAdminConfig403JSONResponseBodyStatusCode float32+// Defines values for GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCode.+const (+ GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCodeN400 GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCode = 400+)-// UpdateAdminConfig404JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.-type UpdateAdminConfig404JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }+}-// UpdateAdminConfig422JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.-type UpdateAdminConfig422JSONResponseBodyStatusCode float32+// Defines values for GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCode.+const (+ GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCodeN401 GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCode = 401+)-// UpdateAdminConfig500JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.-type UpdateAdminConfig500JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}-// CreateGitHubAppConnectionJSONBody defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody struct {- // Description An optional description for the GitHub Connection.- Description *string `json:"description,omitempty"`+// Defines values for GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCode.+const (+ GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCodeN403 GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCode = 403+)- // GatewayId The Gateway ID to use for this connection.- GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`+// Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}- // GatewayPoolId The Gateway Pool ID to use for this connection.- GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`+// Defines values for GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCode.+const (+ GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCodeN404 GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCode = 404+)- // IsAutoRotationEnabled Not supported for GitHub Connections.- IsAutoRotationEnabled *CreateGitHubAppConnectionJSONBodyIsAutoRotationEnabled `json:"isAutoRotationEnabled,omitempty"`+// Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}- // IsPlatformManagedCredentials Not supported for GitHub Connections.- IsPlatformManagedCredentials *CreateGitHubAppConnectionJSONBodyIsPlatformManagedCredentials `json:"isPlatformManagedCredentials,omitempty"`+// Defines values for GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCode.+const (+ GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCodeN422 GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCode = 422+)- // Name The name of the GitHub Connection to create. Must be slug-friendly.- Name string `json:"name"`+// Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }+}- // ProjectId The ID of the project to create the GitHub Connection in.- ProjectId *string `json:"projectId,omitempty"`+// Defines values for GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCode.+const (+ GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCodeN500 GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCode = 500+)- // Rotation Not supported for GitHub Connections.- Rotation *CreateGitHubAppConnectionJSONBody_Rotation `json:"rotation,omitempty"`- union json.RawMessage+// Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBodyIsAutoRotationEnabled defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBodyIsAutoRotationEnabled bool--// CreateGitHubAppConnectionJSONBodyIsPlatformManagedCredentials defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBodyIsPlatformManagedCredentials bool+// Defines values for DeleteSecretApprovalPolicy400JSONResponseBodyStatusCode.+const (+ DeleteSecretApprovalPolicy400JSONResponseBodyStatusCodeN400 DeleteSecretApprovalPolicy400JSONResponseBodyStatusCode = 400+)-// CreateGitHubAppConnectionJSONBodyRotation0 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBodyRotation0 = interface{}+// Valid indicates whether the value is a known member of the DeleteSecretApprovalPolicy400JSONResponseBodyStatusCode enum.+func (e DeleteSecretApprovalPolicy400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteSecretApprovalPolicy400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }+}-// CreateGitHubAppConnectionJSONBodyRotation1 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBodyRotation1 = interface{}+// Defines values for DeleteSecretApprovalPolicy401JSONResponseBodyStatusCode.+const (+ DeleteSecretApprovalPolicy401JSONResponseBodyStatusCodeN401 DeleteSecretApprovalPolicy401JSONResponseBodyStatusCode = 401+)-// CreateGitHubAppConnectionJSONBody_Rotation defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody_Rotation struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the DeleteSecretApprovalPolicy401JSONResponseBodyStatusCode enum.+func (e DeleteSecretApprovalPolicy401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteSecretApprovalPolicy401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody0 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody0 struct {- // Credentials The credentials used to connect with GitHub.- Credentials CreateGitHubAppConnectionJSONBody_0_Credentials `json:"credentials"`+// Defines values for DeleteSecretApprovalPolicy403JSONResponseBodyStatusCode.+const (+ DeleteSecretApprovalPolicy403JSONResponseBodyStatusCodeN403 DeleteSecretApprovalPolicy403JSONResponseBodyStatusCode = 403+)- // Method The method used to authenticate with GitHub.- Method CreateGitHubAppConnectionJSONBody0Method `json:"method"`+// Valid indicates whether the value is a known member of the DeleteSecretApprovalPolicy403JSONResponseBodyStatusCode enum.+func (e DeleteSecretApprovalPolicy403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteSecretApprovalPolicy403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody0Credentials0 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody0Credentials0 struct {- Code string `json:"code"`- GitHubAppId *openapi_types.UUID `json:"gitHubAppId,omitempty"`- Host string `json:"host"`- InstallationId string `json:"installationId"`- InstanceType CreateGitHubAppConnectionJSONBody0Credentials0InstanceType `json:"instanceType"`+// Defines values for DeleteSecretApprovalPolicy404JSONResponseBodyStatusCode.+const (+ DeleteSecretApprovalPolicy404JSONResponseBodyStatusCodeN404 DeleteSecretApprovalPolicy404JSONResponseBodyStatusCode = 404+)++// Valid indicates whether the value is a known member of the DeleteSecretApprovalPolicy404JSONResponseBodyStatusCode enum.+func (e DeleteSecretApprovalPolicy404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteSecretApprovalPolicy404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody0Credentials0InstanceType defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody0Credentials0InstanceType string+// Defines values for DeleteSecretApprovalPolicy422JSONResponseBodyStatusCode.+const (+ DeleteSecretApprovalPolicy422JSONResponseBodyStatusCodeN422 DeleteSecretApprovalPolicy422JSONResponseBodyStatusCode = 422+)-// CreateGitHubAppConnectionJSONBody0Credentials1 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody0Credentials1 struct {- Code string `json:"code"`- GitHubAppId *openapi_types.UUID `json:"gitHubAppId,omitempty"`- Host *string `json:"host,omitempty"`- InstallationId string `json:"installationId"`- InstanceType *CreateGitHubAppConnectionJSONBody0Credentials1InstanceType `json:"instanceType,omitempty"`+// Valid indicates whether the value is a known member of the DeleteSecretApprovalPolicy422JSONResponseBodyStatusCode enum.+func (e DeleteSecretApprovalPolicy422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteSecretApprovalPolicy422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody0Credentials1InstanceType defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody0Credentials1InstanceType string+// Defines values for DeleteSecretApprovalPolicy500JSONResponseBodyStatusCode.+const (+ DeleteSecretApprovalPolicy500JSONResponseBodyStatusCodeN500 DeleteSecretApprovalPolicy500JSONResponseBodyStatusCode = 500+)-// CreateGitHubAppConnectionJSONBody_0_Credentials defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody_0_Credentials struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the DeleteSecretApprovalPolicy500JSONResponseBodyStatusCode enum.+func (e DeleteSecretApprovalPolicy500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteSecretApprovalPolicy500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody0Method defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody0Method string--// CreateGitHubAppConnectionJSONBody1 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody1 struct {- // Credentials The credentials used to connect with GitHub.- Credentials CreateGitHubAppConnectionJSONBody_1_Credentials `json:"credentials"`+// Defines values for GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType.+const (+ GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversTypeGroup GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType = "group"+ GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversTypeUser GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType = "user"+)- // Method The method used to authenticate with GitHub.- Method CreateGitHubAppConnectionJSONBody1Method `json:"method"`+// Valid indicates whether the value is a known member of the GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType enum.+func (e GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType) Valid() bool {+ switch e {+ case GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversTypeGroup:+ return true+ case GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversTypeUser:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody1Credentials0 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody1Credentials0 struct {- Code string `json:"code"`- Host string `json:"host"`- InstanceType CreateGitHubAppConnectionJSONBody1Credentials0InstanceType `json:"instanceType"`+// Defines values for GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType.+const (+ GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersTypeGroup GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType = "group"+ GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersTypeUser GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType = "user"+)++// Valid indicates whether the value is a known member of the GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType enum.+func (e GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType) Valid() bool {+ switch e {+ case GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersTypeGroup:+ return true+ case GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersTypeUser:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody1Credentials0InstanceType defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody1Credentials0InstanceType string+// Defines values for GetSecretApprovalPolicy400JSONResponseBodyStatusCode.+const (+ GetSecretApprovalPolicy400JSONResponseBodyStatusCodeN400 GetSecretApprovalPolicy400JSONResponseBodyStatusCode = 400+)-// CreateGitHubAppConnectionJSONBody1Credentials1 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody1Credentials1 struct {- Code string `json:"code"`- Host *string `json:"host,omitempty"`- InstanceType *CreateGitHubAppConnectionJSONBody1Credentials1InstanceType `json:"instanceType,omitempty"`+// Valid indicates whether the value is a known member of the GetSecretApprovalPolicy400JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalPolicy400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretApprovalPolicy400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody1Credentials1InstanceType defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody1Credentials1InstanceType string+// Defines values for GetSecretApprovalPolicy401JSONResponseBodyStatusCode.+const (+ GetSecretApprovalPolicy401JSONResponseBodyStatusCodeN401 GetSecretApprovalPolicy401JSONResponseBodyStatusCode = 401+)-// CreateGitHubAppConnectionJSONBody_1_Credentials defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody_1_Credentials struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the GetSecretApprovalPolicy401JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalPolicy401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretApprovalPolicy401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody1Method defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody1Method string--// CreateGitHubAppConnectionJSONBody2 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody2 struct {- // Credentials The credentials used to connect with GitHub.- Credentials CreateGitHubAppConnectionJSONBody_2_Credentials `json:"credentials"`+// Defines values for GetSecretApprovalPolicy403JSONResponseBodyStatusCode.+const (+ GetSecretApprovalPolicy403JSONResponseBodyStatusCodeN403 GetSecretApprovalPolicy403JSONResponseBodyStatusCode = 403+)- // Method The method used to authenticate with GitHub.- Method CreateGitHubAppConnectionJSONBody2Method `json:"method"`+// Valid indicates whether the value is a known member of the GetSecretApprovalPolicy403JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalPolicy403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretApprovalPolicy403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody2Credentials0 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody2Credentials0 struct {- Host string `json:"host"`- InstanceType CreateGitHubAppConnectionJSONBody2Credentials0InstanceType `json:"instanceType"`- PersonalAccessToken string `json:"personalAccessToken"`+// Defines values for GetSecretApprovalPolicy404JSONResponseBodyStatusCode.+const (+ GetSecretApprovalPolicy404JSONResponseBodyStatusCodeN404 GetSecretApprovalPolicy404JSONResponseBodyStatusCode = 404+)++// Valid indicates whether the value is a known member of the GetSecretApprovalPolicy404JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalPolicy404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretApprovalPolicy404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody2Credentials0InstanceType defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody2Credentials0InstanceType string+// Defines values for GetSecretApprovalPolicy422JSONResponseBodyStatusCode.+const (+ GetSecretApprovalPolicy422JSONResponseBodyStatusCodeN422 GetSecretApprovalPolicy422JSONResponseBodyStatusCode = 422+)-// CreateGitHubAppConnectionJSONBody2Credentials1 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody2Credentials1 struct {- Host *string `json:"host,omitempty"`- InstanceType *CreateGitHubAppConnectionJSONBody2Credentials1InstanceType `json:"instanceType,omitempty"`- PersonalAccessToken string `json:"personalAccessToken"`+// Valid indicates whether the value is a known member of the GetSecretApprovalPolicy422JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalPolicy422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretApprovalPolicy422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody2Credentials1InstanceType defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody2Credentials1InstanceType string+// Defines values for GetSecretApprovalPolicy500JSONResponseBodyStatusCode.+const (+ GetSecretApprovalPolicy500JSONResponseBodyStatusCodeN500 GetSecretApprovalPolicy500JSONResponseBodyStatusCode = 500+)-// CreateGitHubAppConnectionJSONBody_2_Credentials defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody_2_Credentials struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the GetSecretApprovalPolicy500JSONResponseBodyStatusCode enum.+func (e GetSecretApprovalPolicy500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretApprovalPolicy500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody2Method defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody2Method string+// Defines values for UpdateSecretApprovalPolicyJSONBodyApprovers0Type.+const (+ UpdateSecretApprovalPolicyJSONBodyApprovers0TypeGroup UpdateSecretApprovalPolicyJSONBodyApprovers0Type = "group"+)-// CreateGitHubAppConnection200JSONResponseBodyAppConnection0 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection0 struct {- App CreateGitHubAppConnection200JSONResponseBodyAppConnection0App `json:"app"`- CreatedAt time.Time `json:"createdAt"`- Credentials struct {- GitHubAppId *openapi_types.UUID `json:"gitHubAppId,omitempty"`- Host *string `json:"host,omitempty"`- InstanceType *CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType `json:"instanceType,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 CreateGitHubAppConnection200JSONResponseBodyAppConnection0Method `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"`+// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicyJSONBodyApprovers0Type enum.+func (e UpdateSecretApprovalPolicyJSONBodyApprovers0Type) Valid() bool {+ switch e {+ case UpdateSecretApprovalPolicyJSONBodyApprovers0TypeGroup:+ return true+ default:+ return false+ }+}- // Rotation The credential rotation configuration, if configured.- Rotation *struct {- // LastRotationMessage The message from the last rotation attempt.- LastRotationMessage *string `json:"lastRotationMessage,omitempty"`+// Defines values for UpdateSecretApprovalPolicyJSONBodyApprovers1Type.+const (+ UpdateSecretApprovalPolicyJSONBodyApprovers1TypeUser UpdateSecretApprovalPolicyJSONBodyApprovers1Type = "user"+)- // NextRotationAt The next scheduled rotation time.- NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`+// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicyJSONBodyApprovers1Type enum.+func (e UpdateSecretApprovalPolicyJSONBodyApprovers1Type) Valid() bool {+ switch e {+ case UpdateSecretApprovalPolicyJSONBodyApprovers1TypeUser:+ return true+ default:+ return false+ }+}- // 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"`+// Defines values for UpdateSecretApprovalPolicyJSONBodyBypassers0Type.+const (+ UpdateSecretApprovalPolicyJSONBodyBypassers0TypeGroup UpdateSecretApprovalPolicyJSONBodyBypassers0Type = "group"+)- // Minutes The minute (0-59) at which to rotate.- Minutes float32 `json:"minutes"`- } `json:"rotateAtUtc"`+// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicyJSONBodyBypassers0Type enum.+func (e UpdateSecretApprovalPolicyJSONBodyBypassers0Type) Valid() bool {+ switch e {+ case UpdateSecretApprovalPolicyJSONBodyBypassers0TypeGroup:+ return true+ default:+ return false+ }+}- // RotationInterval The interval in days between credential rotations.- RotationInterval float32 `json:"rotationInterval"`+// Defines values for UpdateSecretApprovalPolicyJSONBodyBypassers1Type.+const (+ UpdateSecretApprovalPolicyJSONBodyBypassers1TypeUser UpdateSecretApprovalPolicyJSONBodyBypassers1Type = "user"+)- // RotationStatus The status of the last rotation attempt.- RotationStatus CreateGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus `json:"rotationStatus"`- } `json:"rotation,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`+// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicyJSONBodyBypassers1Type enum.+func (e UpdateSecretApprovalPolicyJSONBodyBypassers1Type) Valid() bool {+ switch e {+ case UpdateSecretApprovalPolicyJSONBodyBypassers1TypeUser:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnection200JSONResponseBodyAppConnection0App defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection0App string+// Defines values for UpdateSecretApprovalPolicyJSONBodyEnforcementLevel.+const (+ UpdateSecretApprovalPolicyJSONBodyEnforcementLevelHard UpdateSecretApprovalPolicyJSONBodyEnforcementLevel = "hard"+ UpdateSecretApprovalPolicyJSONBodyEnforcementLevelSoft UpdateSecretApprovalPolicyJSONBodyEnforcementLevel = "soft"+)-// CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 string+// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicyJSONBodyEnforcementLevel enum.+func (e UpdateSecretApprovalPolicyJSONBodyEnforcementLevel) Valid() bool {+ switch e {+ case UpdateSecretApprovalPolicyJSONBodyEnforcementLevelHard:+ return true+ case UpdateSecretApprovalPolicyJSONBodyEnforcementLevelSoft:+ return true+ default:+ return false+ }+}-// CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 string+// Defines values for UpdateSecretApprovalPolicy400JSONResponseBodyStatusCode.+const (+ UpdateSecretApprovalPolicy400JSONResponseBodyStatusCodeN400 UpdateSecretApprovalPolicy400JSONResponseBodyStatusCode = 400+)-// CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy400JSONResponseBodyStatusCode enum.+func (e UpdateSecretApprovalPolicy400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateSecretApprovalPolicy400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnection200JSONResponseBodyAppConnection0Method defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection0Method string+// Defines values for UpdateSecretApprovalPolicy401JSONResponseBodyStatusCode.+const (+ UpdateSecretApprovalPolicy401JSONResponseBodyStatusCodeN401 UpdateSecretApprovalPolicy401JSONResponseBodyStatusCode = 401+)-// CreateGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus string+// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy401JSONResponseBodyStatusCode enum.+func (e UpdateSecretApprovalPolicy401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateSecretApprovalPolicy401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}-// CreateGitHubAppConnection200JSONResponseBodyAppConnection1 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection1 struct {- App CreateGitHubAppConnection200JSONResponseBodyAppConnection1App `json:"app"`- CreatedAt time.Time `json:"createdAt"`- Credentials struct {- Host *string `json:"host,omitempty"`- InstanceType *CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType `json:"instanceType,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 CreateGitHubAppConnection200JSONResponseBodyAppConnection1Method `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"`+// Defines values for UpdateSecretApprovalPolicy403JSONResponseBodyStatusCode.+const (+ UpdateSecretApprovalPolicy403JSONResponseBodyStatusCodeN403 UpdateSecretApprovalPolicy403JSONResponseBodyStatusCode = 403+)- // NextRotationAt The next scheduled rotation time.- NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`+// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy403JSONResponseBodyStatusCode enum.+func (e UpdateSecretApprovalPolicy403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateSecretApprovalPolicy403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}- // 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"`+// Defines values for UpdateSecretApprovalPolicy404JSONResponseBodyStatusCode.+const (+ UpdateSecretApprovalPolicy404JSONResponseBodyStatusCodeN404 UpdateSecretApprovalPolicy404JSONResponseBodyStatusCode = 404+)- // Minutes The minute (0-59) at which to rotate.- Minutes float32 `json:"minutes"`- } `json:"rotateAtUtc"`+// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy404JSONResponseBodyStatusCode enum.+func (e UpdateSecretApprovalPolicy404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateSecretApprovalPolicy404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}- // RotationInterval The interval in days between credential rotations.- RotationInterval float32 `json:"rotationInterval"`+// Defines values for UpdateSecretApprovalPolicy422JSONResponseBodyStatusCode.+const (+ UpdateSecretApprovalPolicy422JSONResponseBodyStatusCodeN422 UpdateSecretApprovalPolicy422JSONResponseBodyStatusCode = 422+)- // RotationStatus The status of the last rotation attempt.- RotationStatus CreateGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus `json:"rotationStatus"`- } `json:"rotation,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`+// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy422JSONResponseBodyStatusCode enum.+func (e UpdateSecretApprovalPolicy422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateSecretApprovalPolicy422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnection200JSONResponseBodyAppConnection1App defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection1App string+// Defines values for UpdateSecretApprovalPolicy500JSONResponseBodyStatusCode.+const (+ UpdateSecretApprovalPolicy500JSONResponseBodyStatusCodeN500 UpdateSecretApprovalPolicy500JSONResponseBodyStatusCode = 500+)-// CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 string+// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy500JSONResponseBodyStatusCode enum.+func (e UpdateSecretApprovalPolicy500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateSecretApprovalPolicy500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}-// CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 string+// Defines values for CreateSecretImport400JSONResponseBodyStatusCode.+const (+ CreateSecretImport400JSONResponseBodyStatusCodeN400 CreateSecretImport400JSONResponseBodyStatusCode = 400+)-// CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the CreateSecretImport400JSONResponseBodyStatusCode enum.+func (e CreateSecretImport400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretImport400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnection200JSONResponseBodyAppConnection1Method defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection1Method string--// CreateGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus string+// Defines values for CreateSecretImport401JSONResponseBodyStatusCode.+const (+ CreateSecretImport401JSONResponseBodyStatusCodeN401 CreateSecretImport401JSONResponseBodyStatusCode = 401+)-// CreateGitHubAppConnection200JSONResponseBodyAppConnection2 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection2 struct {- App CreateGitHubAppConnection200JSONResponseBodyAppConnection2App `json:"app"`- CreatedAt time.Time `json:"createdAt"`- Credentials struct {- Host *string `json:"host,omitempty"`- InstanceType *CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType `json:"instanceType,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 CreateGitHubAppConnection200JSONResponseBodyAppConnection2Method `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"`+// Valid indicates whether the value is a known member of the CreateSecretImport401JSONResponseBodyStatusCode enum.+func (e CreateSecretImport401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretImport401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}- // Rotation The credential rotation configuration, if configured.- Rotation *struct {- // LastRotationMessage The message from the last rotation attempt.- LastRotationMessage *string `json:"lastRotationMessage,omitempty"`+// Defines values for CreateSecretImport403JSONResponseBodyStatusCode.+const (+ CreateSecretImport403JSONResponseBodyStatusCodeN403 CreateSecretImport403JSONResponseBodyStatusCode = 403+)- // NextRotationAt The next scheduled rotation time.- NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`+// Valid indicates whether the value is a known member of the CreateSecretImport403JSONResponseBodyStatusCode enum.+func (e CreateSecretImport403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretImport403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}- // 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"`+// Defines values for CreateSecretImport404JSONResponseBodyStatusCode.+const (+ CreateSecretImport404JSONResponseBodyStatusCodeN404 CreateSecretImport404JSONResponseBodyStatusCode = 404+)- // Minutes The minute (0-59) at which to rotate.- Minutes float32 `json:"minutes"`- } `json:"rotateAtUtc"`+// Valid indicates whether the value is a known member of the CreateSecretImport404JSONResponseBodyStatusCode enum.+func (e CreateSecretImport404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretImport404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}- // RotationInterval The interval in days between credential rotations.- RotationInterval float32 `json:"rotationInterval"`+// Defines values for CreateSecretImport422JSONResponseBodyStatusCode.+const (+ CreateSecretImport422JSONResponseBodyStatusCodeN422 CreateSecretImport422JSONResponseBodyStatusCode = 422+)- // RotationStatus The status of the last rotation attempt.- RotationStatus CreateGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus `json:"rotationStatus"`- } `json:"rotation,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`+// Valid indicates whether the value is a known member of the CreateSecretImport422JSONResponseBodyStatusCode enum.+func (e CreateSecretImport422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretImport422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnection200JSONResponseBodyAppConnection2App defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection2App string+// Defines values for CreateSecretImport500JSONResponseBodyStatusCode.+const (+ CreateSecretImport500JSONResponseBodyStatusCodeN500 CreateSecretImport500JSONResponseBodyStatusCode = 500+)-// CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 string+// Valid indicates whether the value is a known member of the CreateSecretImport500JSONResponseBodyStatusCode enum.+func (e CreateSecretImport500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretImport500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}-// CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 string+// Defines values for LoginV3400JSONResponseBodyStatusCode.+const (+ LoginV3400JSONResponseBodyStatusCodeN400 LoginV3400JSONResponseBodyStatusCode = 400+)-// CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the LoginV3400JSONResponseBodyStatusCode enum.+func (e LoginV3400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case LoginV3400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnection200JSONResponseBodyAppConnection2Method defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection2Method string--// CreateGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus string+// Defines values for LoginV3401JSONResponseBodyStatusCode.+const (+ LoginV3401JSONResponseBodyStatusCodeN401 LoginV3401JSONResponseBodyStatusCode = 401+)-// CreateGitHubAppConnection200JSONResponseBody_AppConnection defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBody_AppConnection struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the LoginV3401JSONResponseBodyStatusCode enum.+func (e LoginV3401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case LoginV3401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnection400JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection400JSONResponseBodyStatusCode float32+// Defines values for LoginV3403JSONResponseBodyStatusCode.+const (+ LoginV3403JSONResponseBodyStatusCodeN403 LoginV3403JSONResponseBodyStatusCode = 403+)-// CreateGitHubAppConnection401JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection401JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the LoginV3403JSONResponseBodyStatusCode enum.+func (e LoginV3403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case LoginV3403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}-// CreateGitHubAppConnection403JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection403JSONResponseBodyStatusCode float32+// Defines values for LoginV3404JSONResponseBodyStatusCode.+const (+ LoginV3404JSONResponseBodyStatusCodeN404 LoginV3404JSONResponseBodyStatusCode = 404+)-// CreateGitHubAppConnection404JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection404JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the LoginV3404JSONResponseBodyStatusCode enum.+func (e LoginV3404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case LoginV3404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}-// CreateGitHubAppConnection422JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection422JSONResponseBodyStatusCode float32--// CreateGitHubAppConnection500JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection500JSONResponseBodyStatusCode float32--// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0 defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0 struct {- App DeleteGitHubAppConnection200JSONResponseBodyAppConnection0App `json:"app"`- CreatedAt time.Time `json:"createdAt"`- Credentials struct {- GitHubAppId *openapi_types.UUID `json:"gitHubAppId,omitempty"`- Host *string `json:"host,omitempty"`- InstanceType *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType `json:"instanceType,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 DeleteGitHubAppConnection200JSONResponseBodyAppConnection0Method `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"`+// Defines values for LoginV3422JSONResponseBodyStatusCode.+const (+ LoginV3422JSONResponseBodyStatusCodeN422 LoginV3422JSONResponseBodyStatusCode = 422+)- // Minutes The minute (0-59) at which to rotate.- Minutes float32 `json:"minutes"`- } `json:"rotateAtUtc"`+// Valid indicates whether the value is a known member of the LoginV3422JSONResponseBodyStatusCode enum.+func (e LoginV3422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case LoginV3422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }+}- // RotationInterval The interval in days between credential rotations.- RotationInterval float32 `json:"rotationInterval"`+// Defines values for LoginV3500JSONResponseBodyStatusCode.+const (+ LoginV3500JSONResponseBodyStatusCodeN500 LoginV3500JSONResponseBodyStatusCode = 500+)- // RotationStatus The status of the last rotation attempt.- RotationStatus DeleteGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus `json:"rotationStatus"`- } `json:"rotation,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`+// Valid indicates whether the value is a known member of the LoginV3500JSONResponseBodyStatusCode enum.+func (e LoginV3500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case LoginV3500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }}-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0App defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0App string+// Defines values for SelectOrganizationV3JSONBodyUserAgent.+const (+ Cli SelectOrganizationV3JSONBodyUserAgent = "cli"+)-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 string+// Valid indicates whether the value is a known member of the SelectOrganizationV3JSONBodyUserAgent enum.+func (e SelectOrganizationV3JSONBodyUserAgent) Valid() bool {+ switch e {+ case Cli:+ return true+ default:+ return false+ }+}-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 string+// Defines values for SelectOrganizationV3400JSONResponseBodyStatusCode.+const (+ SelectOrganizationV3400JSONResponseBodyStatusCodeN400 SelectOrganizationV3400JSONResponseBodyStatusCode = 400+)-// DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the SelectOrganizationV3400JSONResponseBodyStatusCode enum.+func (e SelectOrganizationV3400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case SelectOrganizationV3400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }}-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0Method defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0Method string--// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus string+// Defines values for SelectOrganizationV3401JSONResponseBodyStatusCode.+const (+ SelectOrganizationV3401JSONResponseBodyStatusCodeN401 SelectOrganizationV3401JSONResponseBodyStatusCode = 401+)-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1 defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1 struct {- App DeleteGitHubAppConnection200JSONResponseBodyAppConnection1App `json:"app"`- CreatedAt time.Time `json:"createdAt"`- Credentials struct {- Host *string `json:"host,omitempty"`- InstanceType *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType `json:"instanceType,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 DeleteGitHubAppConnection200JSONResponseBodyAppConnection1Method `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"`+// Valid indicates whether the value is a known member of the SelectOrganizationV3401JSONResponseBodyStatusCode enum.+func (e SelectOrganizationV3401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case SelectOrganizationV3401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}- // Rotation The credential rotation configuration, if configured.- Rotation *struct {- // LastRotationMessage The message from the last rotation attempt.- LastRotationMessage *string `json:"lastRotationMessage,omitempty"`+// Defines values for SelectOrganizationV3403JSONResponseBodyStatusCode.+const (+ SelectOrganizationV3403JSONResponseBodyStatusCodeN403 SelectOrganizationV3403JSONResponseBodyStatusCode = 403+)- // NextRotationAt The next scheduled rotation time.- NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`+// Valid indicates whether the value is a known member of the SelectOrganizationV3403JSONResponseBodyStatusCode enum.+func (e SelectOrganizationV3403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case SelectOrganizationV3403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}- // 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"`+// Defines values for SelectOrganizationV3404JSONResponseBodyStatusCode.+const (+ SelectOrganizationV3404JSONResponseBodyStatusCodeN404 SelectOrganizationV3404JSONResponseBodyStatusCode = 404+)- // Minutes The minute (0-59) at which to rotate.- Minutes float32 `json:"minutes"`- } `json:"rotateAtUtc"`+// Valid indicates whether the value is a known member of the SelectOrganizationV3404JSONResponseBodyStatusCode enum.+func (e SelectOrganizationV3404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case SelectOrganizationV3404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}- // RotationInterval The interval in days between credential rotations.- RotationInterval float32 `json:"rotationInterval"`+// Defines values for SelectOrganizationV3422JSONResponseBodyStatusCode.+const (+ SelectOrganizationV3422JSONResponseBodyStatusCodeN422 SelectOrganizationV3422JSONResponseBodyStatusCode = 422+)- // RotationStatus The status of the last rotation attempt.- RotationStatus DeleteGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus `json:"rotationStatus"`- } `json:"rotation,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`+// Valid indicates whether the value is a known member of the SelectOrganizationV3422JSONResponseBodyStatusCode enum.+func (e SelectOrganizationV3422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case SelectOrganizationV3422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }}-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1App defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1App string+// Defines values for SelectOrganizationV3500JSONResponseBodyStatusCode.+const (+ SelectOrganizationV3500JSONResponseBodyStatusCodeN500 SelectOrganizationV3500JSONResponseBodyStatusCode = 500+)-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 string+// Valid indicates whether the value is a known member of the SelectOrganizationV3500JSONResponseBodyStatusCode enum.+func (e SelectOrganizationV3500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case SelectOrganizationV3500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 string+// Defines values for CompleteAccountSignupV3JSONBody0Type.+const (+ CompleteAccountSignupV3JSONBody0TypeEmail CompleteAccountSignupV3JSONBody0Type = "email"+)-// DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the CompleteAccountSignupV3JSONBody0Type enum.+func (e CompleteAccountSignupV3JSONBody0Type) Valid() bool {+ switch e {+ case CompleteAccountSignupV3JSONBody0TypeEmail:+ return true+ default:+ return false+ }}-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1Method defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1Method string+// Defines values for CompleteAccountSignupV3JSONBody1Type.+const (+ Alias CompleteAccountSignupV3JSONBody1Type = "alias"+)-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus string--// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2 defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2 struct {- App DeleteGitHubAppConnection200JSONResponseBodyAppConnection2App `json:"app"`- CreatedAt time.Time `json:"createdAt"`- Credentials struct {- Host *string `json:"host,omitempty"`- InstanceType *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType `json:"instanceType,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 DeleteGitHubAppConnection200JSONResponseBodyAppConnection2Method `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"`+// Valid indicates whether the value is a known member of the CompleteAccountSignupV3JSONBody1Type enum.+func (e CompleteAccountSignupV3JSONBody1Type) Valid() bool {+ switch e {+ case Alias:+ return true+ default:+ return false+ }+}- // Rotation The credential rotation configuration, if configured.- Rotation *struct {- // LastRotationMessage The message from the last rotation attempt.- LastRotationMessage *string `json:"lastRotationMessage,omitempty"`+// Defines values for CompleteAccountSignupV3400JSONResponseBodyStatusCode.+const (+ CompleteAccountSignupV3400JSONResponseBodyStatusCodeN400 CompleteAccountSignupV3400JSONResponseBodyStatusCode = 400+)- // NextRotationAt The next scheduled rotation time.- NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`+// Valid indicates whether the value is a known member of the CompleteAccountSignupV3400JSONResponseBodyStatusCode enum.+func (e CompleteAccountSignupV3400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CompleteAccountSignupV3400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }+}- // 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"`+// Defines values for CompleteAccountSignupV3401JSONResponseBodyStatusCode.+const (+ CompleteAccountSignupV3401JSONResponseBodyStatusCodeN401 CompleteAccountSignupV3401JSONResponseBodyStatusCode = 401+)- // Minutes The minute (0-59) at which to rotate.- Minutes float32 `json:"minutes"`- } `json:"rotateAtUtc"`+// Valid indicates whether the value is a known member of the CompleteAccountSignupV3401JSONResponseBodyStatusCode enum.+func (e CompleteAccountSignupV3401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CompleteAccountSignupV3401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}- // RotationInterval The interval in days between credential rotations.- RotationInterval float32 `json:"rotationInterval"`+// Defines values for CompleteAccountSignupV3403JSONResponseBodyStatusCode.+const (+ CompleteAccountSignupV3403JSONResponseBodyStatusCodeN403 CompleteAccountSignupV3403JSONResponseBodyStatusCode = 403+)- // RotationStatus The status of the last rotation attempt.- RotationStatus DeleteGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus `json:"rotationStatus"`- } `json:"rotation,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`+// Valid indicates whether the value is a known member of the CompleteAccountSignupV3403JSONResponseBodyStatusCode enum.+func (e CompleteAccountSignupV3403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CompleteAccountSignupV3403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }}-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2App defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2App string+// Defines values for CompleteAccountSignupV3404JSONResponseBodyStatusCode.+const (+ CompleteAccountSignupV3404JSONResponseBodyStatusCodeN404 CompleteAccountSignupV3404JSONResponseBodyStatusCode = 404+)-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 string+// Valid indicates whether the value is a known member of the CompleteAccountSignupV3404JSONResponseBodyStatusCode enum.+func (e CompleteAccountSignupV3404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CompleteAccountSignupV3404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 string+// Defines values for CompleteAccountSignupV3422JSONResponseBodyStatusCode.+const (+ CompleteAccountSignupV3422JSONResponseBodyStatusCodeN422 CompleteAccountSignupV3422JSONResponseBodyStatusCode = 422+)-// DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the CompleteAccountSignupV3422JSONResponseBodyStatusCode enum.+func (e CompleteAccountSignupV3422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CompleteAccountSignupV3422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }}-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2Method defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2Method string--// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus string+// Defines values for CompleteAccountSignupV3500JSONResponseBodyStatusCode.+const (+ CompleteAccountSignupV3500JSONResponseBodyStatusCodeN500 CompleteAccountSignupV3500JSONResponseBodyStatusCode = 500+)-// DeleteGitHubAppConnection200JSONResponseBody_AppConnection defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBody_AppConnection struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the CompleteAccountSignupV3500JSONResponseBodyStatusCode enum.+func (e CompleteAccountSignupV3500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CompleteAccountSignupV3500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }}-// DeleteGitHubAppConnection400JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection400JSONResponseBodyStatusCode float32--// DeleteGitHubAppConnection401JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection401JSONResponseBodyStatusCode float32+// Defines values for BeginEmailSignupV3400JSONResponseBodyStatusCode.+const (+ BeginEmailSignupV3400JSONResponseBodyStatusCodeN400 BeginEmailSignupV3400JSONResponseBodyStatusCode = 400+)-// DeleteGitHubAppConnection403JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection403JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the BeginEmailSignupV3400JSONResponseBodyStatusCode enum.+func (e BeginEmailSignupV3400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case BeginEmailSignupV3400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }+}-// DeleteGitHubAppConnection404JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection404JSONResponseBodyStatusCode float32+// Defines values for BeginEmailSignupV3401JSONResponseBodyStatusCode.+const (+ BeginEmailSignupV3401JSONResponseBodyStatusCodeN401 BeginEmailSignupV3401JSONResponseBodyStatusCode = 401+)-// DeleteGitHubAppConnection422JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection422JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the BeginEmailSignupV3401JSONResponseBodyStatusCode enum.+func (e BeginEmailSignupV3401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case BeginEmailSignupV3401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}-// DeleteGitHubAppConnection500JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection500JSONResponseBodyStatusCode float32+// Defines values for BeginEmailSignupV3403JSONResponseBodyStatusCode.+const (+ BeginEmailSignupV3403JSONResponseBodyStatusCodeN403 BeginEmailSignupV3403JSONResponseBodyStatusCode = 403+)-// RefreshAuthToken400JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.-type RefreshAuthToken400JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the BeginEmailSignupV3403JSONResponseBodyStatusCode enum.+func (e BeginEmailSignupV3403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case BeginEmailSignupV3403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}-// RefreshAuthToken401JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.-type RefreshAuthToken401JSONResponseBodyStatusCode float32+// Defines values for BeginEmailSignupV3404JSONResponseBodyStatusCode.+const (+ BeginEmailSignupV3404JSONResponseBodyStatusCodeN404 BeginEmailSignupV3404JSONResponseBodyStatusCode = 404+)-// RefreshAuthToken403JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.-type RefreshAuthToken403JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the BeginEmailSignupV3404JSONResponseBodyStatusCode enum.+func (e BeginEmailSignupV3404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case BeginEmailSignupV3404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}-// RefreshAuthToken404JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.-type RefreshAuthToken404JSONResponseBodyStatusCode float32+// Defines values for BeginEmailSignupV3422JSONResponseBodyStatusCode.+const (+ BeginEmailSignupV3422JSONResponseBodyStatusCodeN422 BeginEmailSignupV3422JSONResponseBodyStatusCode = 422+)-// RefreshAuthToken422JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.-type RefreshAuthToken422JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the BeginEmailSignupV3422JSONResponseBodyStatusCode enum.+func (e BeginEmailSignupV3422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case BeginEmailSignupV3422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }+}-// RefreshAuthToken500JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.-type RefreshAuthToken500JSONResponseBodyStatusCode float32+// Defines values for BeginEmailSignupV3500JSONResponseBodyStatusCode.+const (+ BeginEmailSignupV3500JSONResponseBodyStatusCodeN500 BeginEmailSignupV3500JSONResponseBodyStatusCode = 500+)-// AttachUniversalAuthJSONBody defines parameters for AttachUniversalAuth.-type AttachUniversalAuthJSONBody struct {- // AccessTokenMaxTTL The maximum lifetime for an access token in seconds. This value will be referenced at renewal time.- AccessTokenMaxTTL *int `json:"accessTokenMaxTTL,omitempty"`+// Valid indicates whether the value is a known member of the BeginEmailSignupV3500JSONResponseBodyStatusCode enum.+func (e BeginEmailSignupV3500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case BeginEmailSignupV3500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}- // AccessTokenNumUsesLimit The maximum number of times that an access token can be used; a value of 0 implies infinite number of uses.- AccessTokenNumUsesLimit *int `json:"accessTokenNumUsesLimit,omitempty"`-- // AccessTokenPeriod The period for an access token in seconds. This value will be referenced at renewal time. Default value is 0.- AccessTokenPeriod *int `json:"accessTokenPeriod,omitempty"`+// Defines values for VerifyEmailSignupV3400JSONResponseBodyStatusCode.+const (+ VerifyEmailSignupV3400JSONResponseBodyStatusCodeN400 VerifyEmailSignupV3400JSONResponseBodyStatusCode = 400+)- // AccessTokenTTL The lifetime for an access token in seconds. This value will be referenced at renewal time.- AccessTokenTTL *int `json:"accessTokenTTL,omitempty"`+// Valid indicates whether the value is a known member of the VerifyEmailSignupV3400JSONResponseBodyStatusCode enum.+func (e VerifyEmailSignupV3400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case VerifyEmailSignupV3400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }+}- // AccessTokenTrustedIps A list of IPs or CIDR ranges that access tokens can be used from. You can use 0.0.0.0/0, to allow usage from any network address.- AccessTokenTrustedIps *[]struct {- IpAddress string `json:"ipAddress"`- } `json:"accessTokenTrustedIps,omitempty"`+// Defines values for VerifyEmailSignupV3401JSONResponseBodyStatusCode.+const (+ VerifyEmailSignupV3401JSONResponseBodyStatusCodeN401 VerifyEmailSignupV3401JSONResponseBodyStatusCode = 401+)- // ClientSecretTrustedIps A list of IPs or CIDR ranges that the Client Secret can be used from together with the Client ID to get back an access token. You can use 0.0.0.0/0, to allow usage from any network address.- ClientSecretTrustedIps *[]struct {- IpAddress string `json:"ipAddress"`- } `json:"clientSecretTrustedIps,omitempty"`+// Valid indicates whether the value is a known member of the VerifyEmailSignupV3401JSONResponseBodyStatusCode enum.+func (e VerifyEmailSignupV3401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case VerifyEmailSignupV3401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}- // LockoutCounterResetSeconds How long to wait from the most recent failed login until resetting the lockout counter.- LockoutCounterResetSeconds *float32 `json:"lockoutCounterResetSeconds,omitempty"`+// Defines values for VerifyEmailSignupV3403JSONResponseBodyStatusCode.+const (+ VerifyEmailSignupV3403JSONResponseBodyStatusCodeN403 VerifyEmailSignupV3403JSONResponseBodyStatusCode = 403+)- // LockoutDurationSeconds How long an identity auth method lockout lasts.- LockoutDurationSeconds *float32 `json:"lockoutDurationSeconds,omitempty"`+// Valid indicates whether the value is a known member of the VerifyEmailSignupV3403JSONResponseBodyStatusCode enum.+func (e VerifyEmailSignupV3403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case VerifyEmailSignupV3403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}- // LockoutEnabled Whether the lockout feature is enabled.- LockoutEnabled *bool `json:"lockoutEnabled,omitempty"`+// Defines values for VerifyEmailSignupV3404JSONResponseBodyStatusCode.+const (+ VerifyEmailSignupV3404JSONResponseBodyStatusCodeN404 VerifyEmailSignupV3404JSONResponseBodyStatusCode = 404+)- // LockoutThreshold The amount of times login must fail before locking the identity auth method.- LockoutThreshold *float32 `json:"lockoutThreshold,omitempty"`+// Valid indicates whether the value is a known member of the VerifyEmailSignupV3404JSONResponseBodyStatusCode enum.+func (e VerifyEmailSignupV3404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case VerifyEmailSignupV3404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }}-// AttachUniversalAuth400JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.-type AttachUniversalAuth400JSONResponseBodyStatusCode float32--// AttachUniversalAuth401JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.-type AttachUniversalAuth401JSONResponseBodyStatusCode float32+// Defines values for VerifyEmailSignupV3422JSONResponseBodyStatusCode.+const (+ VerifyEmailSignupV3422JSONResponseBodyStatusCodeN422 VerifyEmailSignupV3422JSONResponseBodyStatusCode = 422+)-// AttachUniversalAuth403JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.-type AttachUniversalAuth403JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the VerifyEmailSignupV3422JSONResponseBodyStatusCode enum.+func (e VerifyEmailSignupV3422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case VerifyEmailSignupV3422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }+}-// AttachUniversalAuth404JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.-type AttachUniversalAuth404JSONResponseBodyStatusCode float32+// Defines values for VerifyEmailSignupV3500JSONResponseBodyStatusCode.+const (+ VerifyEmailSignupV3500JSONResponseBodyStatusCodeN500 VerifyEmailSignupV3500JSONResponseBodyStatusCode = 500+)-// AttachUniversalAuth422JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.-type AttachUniversalAuth422JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the VerifyEmailSignupV3500JSONResponseBodyStatusCode enum.+func (e VerifyEmailSignupV3500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case VerifyEmailSignupV3500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}-// AttachUniversalAuth500JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.-type AttachUniversalAuth500JSONResponseBodyStatusCode float32+// Defines values for ListSecretsV4ParamsViewSecretValue.+const (+ ListSecretsV4ParamsViewSecretValueFalse ListSecretsV4ParamsViewSecretValue = "false"+ ListSecretsV4ParamsViewSecretValueTrue ListSecretsV4ParamsViewSecretValue = "true"+)-// CreateUniversalAuthClientSecretJSONBody defines parameters for CreateUniversalAuthClientSecret.-type CreateUniversalAuthClientSecretJSONBody struct {- // Description The description of the client secret.- Description *string `json:"description,omitempty"`+// Valid indicates whether the value is a known member of the ListSecretsV4ParamsViewSecretValue enum.+func (e ListSecretsV4ParamsViewSecretValue) Valid() bool {+ switch e {+ case ListSecretsV4ParamsViewSecretValueFalse:+ return true+ case ListSecretsV4ParamsViewSecretValueTrue:+ return true+ default:+ return false+ }+}- // NumUsesLimit The maximum number of times that the client secret can be used; a value of 0 implies infinite number of uses.- NumUsesLimit *float32 `json:"numUsesLimit,omitempty"`+// Defines values for ListSecretsV4ParamsExpandSecretReferences.+const (+ ListSecretsV4ParamsExpandSecretReferencesFalse ListSecretsV4ParamsExpandSecretReferences = "false"+ ListSecretsV4ParamsExpandSecretReferencesTrue ListSecretsV4ParamsExpandSecretReferences = "true"+)- // Ttl The lifetime for the client secret in seconds.- Ttl *float32 `json:"ttl,omitempty"`+// Valid indicates whether the value is a known member of the ListSecretsV4ParamsExpandSecretReferences enum.+func (e ListSecretsV4ParamsExpandSecretReferences) Valid() bool {+ switch e {+ case ListSecretsV4ParamsExpandSecretReferencesFalse:+ return true+ case ListSecretsV4ParamsExpandSecretReferencesTrue:+ return true+ default:+ return false+ }}-// CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.-type CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode float32--// CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.-type CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode float32+// Defines values for ListSecretsV4ParamsRecursive.+const (+ ListSecretsV4ParamsRecursiveFalse ListSecretsV4ParamsRecursive = "false"+ ListSecretsV4ParamsRecursiveTrue ListSecretsV4ParamsRecursive = "true"+)-// CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.-type CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the ListSecretsV4ParamsRecursive enum.+func (e ListSecretsV4ParamsRecursive) Valid() bool {+ switch e {+ case ListSecretsV4ParamsRecursiveFalse:+ return true+ case ListSecretsV4ParamsRecursiveTrue:+ return true+ default:+ return false+ }+}-// CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.-type CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode float32+// Defines values for ListSecretsV4ParamsIncludePersonalOverrides.+const (+ ListSecretsV4ParamsIncludePersonalOverridesFalse ListSecretsV4ParamsIncludePersonalOverrides = "false"+ ListSecretsV4ParamsIncludePersonalOverridesTrue ListSecretsV4ParamsIncludePersonalOverrides = "true"+)-// CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.-type CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the ListSecretsV4ParamsIncludePersonalOverrides enum.+func (e ListSecretsV4ParamsIncludePersonalOverrides) Valid() bool {+ switch e {+ case ListSecretsV4ParamsIncludePersonalOverridesFalse:+ return true+ case ListSecretsV4ParamsIncludePersonalOverridesTrue:+ return true+ default:+ return false+ }+}-// CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.-type CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode float32+// Defines values for ListSecretsV4ParamsIncludeImports.+const (+ ListSecretsV4ParamsIncludeImportsFalse ListSecretsV4ParamsIncludeImports = "false"+ ListSecretsV4ParamsIncludeImportsTrue ListSecretsV4ParamsIncludeImports = "true"+)-// LoginWithUniversalAuthJSONBody defines parameters for LoginWithUniversalAuth.-type LoginWithUniversalAuthJSONBody struct {- // ClientId Your Machine Identity Client ID.- ClientId string `json:"clientId"`+// Valid indicates whether the value is a known member of the ListSecretsV4ParamsIncludeImports enum.+func (e ListSecretsV4ParamsIncludeImports) Valid() bool {+ switch e {+ case ListSecretsV4ParamsIncludeImportsFalse:+ return true+ case ListSecretsV4ParamsIncludeImportsTrue:+ return true+ default:+ return false+ }+}- // ClientSecret Your Machine Identity Client Secret.- ClientSecret string `json:"clientSecret"`+// Defines values for ListSecretsV4400JSONResponseBodyStatusCode.+const (+ ListSecretsV4400JSONResponseBodyStatusCodeN400 ListSecretsV4400JSONResponseBodyStatusCode = 400+)- // OrganizationSlug When set, this will scope the login session to the specified organization the machine identity has access to. If omitted, the session defaults to the organization where the machine identity was created in.- OrganizationSlug *string `json:"organizationSlug,omitempty"`+// Valid indicates whether the value is a known member of the ListSecretsV4400JSONResponseBodyStatusCode enum.+func (e ListSecretsV4400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case ListSecretsV4400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }}-// LoginWithUniversalAuth200JSONResponseBodyTokenType defines parameters for LoginWithUniversalAuth.-type LoginWithUniversalAuth200JSONResponseBodyTokenType string+// Defines values for ListSecretsV4401JSONResponseBodyStatusCode.+const (+ ListSecretsV4401JSONResponseBodyStatusCodeN401 ListSecretsV4401JSONResponseBodyStatusCode = 401+)-// LoginWithUniversalAuth400JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.-type LoginWithUniversalAuth400JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the ListSecretsV4401JSONResponseBodyStatusCode enum.+func (e ListSecretsV4401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case ListSecretsV4401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}-// LoginWithUniversalAuth401JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.-type LoginWithUniversalAuth401JSONResponseBodyStatusCode float32+// Defines values for ListSecretsV4403JSONResponseBodyStatusCode.+const (+ ListSecretsV4403JSONResponseBodyStatusCodeN403 ListSecretsV4403JSONResponseBodyStatusCode = 403+)-// LoginWithUniversalAuth403JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.-type LoginWithUniversalAuth403JSONResponseBodyStatusCode float32--// LoginWithUniversalAuth404JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.-type LoginWithUniversalAuth404JSONResponseBodyStatusCode float32--// LoginWithUniversalAuth422JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.-type LoginWithUniversalAuth422JSONResponseBodyStatusCode float32--// LoginWithUniversalAuth500JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.-type LoginWithUniversalAuth500JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the ListSecretsV4403JSONResponseBodyStatusCode enum.+func (e ListSecretsV4403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case ListSecretsV4403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}-// CreateMachineIdentityJSONBody defines parameters for CreateMachineIdentity.-type CreateMachineIdentityJSONBody struct {- // HasDeleteProtection Prevents deletion of the identity when enabled.- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Metadata *[]struct {- Key string `json:"key"`- Value string `json:"value"`- } `json:"metadata,omitempty"`+// Defines values for ListSecretsV4404JSONResponseBodyStatusCode.+const (+ ListSecretsV4404JSONResponseBodyStatusCodeN404 ListSecretsV4404JSONResponseBodyStatusCode = 404+)- // Name The name of the identity to create.- Name string `json:"name"`+// Valid indicates whether the value is a known member of the ListSecretsV4404JSONResponseBodyStatusCode enum.+func (e ListSecretsV4404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case ListSecretsV4404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}- // OrganizationId The organization ID to which the identity belongs.- OrganizationId string `json:"organizationId"`+// Defines values for ListSecretsV4422JSONResponseBodyStatusCode.+const (+ ListSecretsV4422JSONResponseBodyStatusCodeN422 ListSecretsV4422JSONResponseBodyStatusCode = 422+)- // Role The role of the identity. Possible values are 'no-access', 'member', and 'admin'.- Role *string `json:"role,omitempty"`+// Valid indicates whether the value is a known member of the ListSecretsV4422JSONResponseBodyStatusCode enum.+func (e ListSecretsV4422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case ListSecretsV4422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }}-// CreateMachineIdentity400JSONResponseBodyStatusCode defines parameters for CreateMachineIdentity.-type CreateMachineIdentity400JSONResponseBodyStatusCode float32--// CreateMachineIdentity401JSONResponseBodyStatusCode defines parameters for CreateMachineIdentity.-type CreateMachineIdentity401JSONResponseBodyStatusCode float32+// Defines values for ListSecretsV4500JSONResponseBodyStatusCode.+const (+ ListSecretsV4500JSONResponseBodyStatusCodeN500 ListSecretsV4500JSONResponseBodyStatusCode = 500+)-// CreateMachineIdentity403JSONResponseBodyStatusCode defines parameters for CreateMachineIdentity.-type CreateMachineIdentity403JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the ListSecretsV4500JSONResponseBodyStatusCode enum.+func (e ListSecretsV4500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case ListSecretsV4500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}-// CreateMachineIdentity404JSONResponseBodyStatusCode defines parameters for CreateMachineIdentity.-type CreateMachineIdentity404JSONResponseBodyStatusCode float32+// Defines values for DeleteManySecretsV4JSONBodySecretsType.+const (+ DeleteManySecretsV4JSONBodySecretsTypePersonal DeleteManySecretsV4JSONBodySecretsType = "personal"+ DeleteManySecretsV4JSONBodySecretsTypeShared DeleteManySecretsV4JSONBodySecretsType = "shared"+)-// CreateMachineIdentity422JSONResponseBodyStatusCode defines parameters for CreateMachineIdentity.-type CreateMachineIdentity422JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the DeleteManySecretsV4JSONBodySecretsType enum.+func (e DeleteManySecretsV4JSONBodySecretsType) Valid() bool {+ switch e {+ case DeleteManySecretsV4JSONBodySecretsTypePersonal:+ return true+ case DeleteManySecretsV4JSONBodySecretsTypeShared:+ return true+ default:+ return false+ }+}-// CreateMachineIdentity500JSONResponseBodyStatusCode defines parameters for CreateMachineIdentity.-type CreateMachineIdentity500JSONResponseBodyStatusCode float32+// Defines values for DeleteManySecretsV4400JSONResponseBodyStatusCode.+const (+ DeleteManySecretsV4400JSONResponseBodyStatusCodeN400 DeleteManySecretsV4400JSONResponseBodyStatusCode = 400+)-// InviteUsersToOrganizationJSONBody defines parameters for InviteUsersToOrganization.-type InviteUsersToOrganizationJSONBody struct {- GrantAgentVaultAccess *bool `json:"grantAgentVaultAccess,omitempty"`- GrantPamAccess *bool `json:"grantPamAccess,omitempty"`- InviteeEmails []openapi_types.Email `json:"inviteeEmails"`- OrganizationId string `json:"organizationId"`- OrganizationRoleSlug *string `json:"organizationRoleSlug,omitempty"`- ProjectIds *[]string `json:"projectIds,omitempty"`+// Valid indicates whether the value is a known member of the DeleteManySecretsV4400JSONResponseBodyStatusCode enum.+func (e DeleteManySecretsV4400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteManySecretsV4400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }}-// InviteUsersToOrganization400JSONResponseBodyStatusCode defines parameters for InviteUsersToOrganization.-type InviteUsersToOrganization400JSONResponseBodyStatusCode float32--// InviteUsersToOrganization401JSONResponseBodyStatusCode defines parameters for InviteUsersToOrganization.-type InviteUsersToOrganization401JSONResponseBodyStatusCode float32+// Defines values for DeleteManySecretsV4401JSONResponseBodyStatusCode.+const (+ DeleteManySecretsV4401JSONResponseBodyStatusCodeN401 DeleteManySecretsV4401JSONResponseBodyStatusCode = 401+)-// InviteUsersToOrganization403JSONResponseBodyStatusCode defines parameters for InviteUsersToOrganization.-type InviteUsersToOrganization403JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the DeleteManySecretsV4401JSONResponseBodyStatusCode enum.+func (e DeleteManySecretsV4401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteManySecretsV4401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}-// InviteUsersToOrganization404JSONResponseBodyStatusCode defines parameters for InviteUsersToOrganization.-type InviteUsersToOrganization404JSONResponseBodyStatusCode float32+// Defines values for DeleteManySecretsV4403JSONResponseBodyStatusCode.+const (+ DeleteManySecretsV4403JSONResponseBodyStatusCodeN403 DeleteManySecretsV4403JSONResponseBodyStatusCode = 403+)-// InviteUsersToOrganization422JSONResponseBodyStatusCode defines parameters for InviteUsersToOrganization.-type InviteUsersToOrganization422JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the DeleteManySecretsV4403JSONResponseBodyStatusCode enum.+func (e DeleteManySecretsV4403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteManySecretsV4403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}-// InviteUsersToOrganization500JSONResponseBodyStatusCode defines parameters for InviteUsersToOrganization.-type InviteUsersToOrganization500JSONResponseBodyStatusCode float32+// Defines values for DeleteManySecretsV4404JSONResponseBodyStatusCode.+const (+ DeleteManySecretsV4404JSONResponseBodyStatusCodeN404 DeleteManySecretsV4404JSONResponseBodyStatusCode = 404+)-// VerifyUserToOrganizationJSONBody defines parameters for VerifyUserToOrganization.-type VerifyUserToOrganizationJSONBody struct {- Code string `json:"code"`- Email openapi_types.Email `json:"email"`- OrganizationId string `json:"organizationId"`+// Valid indicates whether the value is a known member of the DeleteManySecretsV4404JSONResponseBodyStatusCode enum.+func (e DeleteManySecretsV4404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteManySecretsV4404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }}-// VerifyUserToOrganization400JSONResponseBodyStatusCode defines parameters for VerifyUserToOrganization.-type VerifyUserToOrganization400JSONResponseBodyStatusCode float32--// VerifyUserToOrganization401JSONResponseBodyStatusCode defines parameters for VerifyUserToOrganization.-type VerifyUserToOrganization401JSONResponseBodyStatusCode float32+// Defines values for DeleteManySecretsV4422JSONResponseBodyStatusCode.+const (+ DeleteManySecretsV4422JSONResponseBodyStatusCodeN422 DeleteManySecretsV4422JSONResponseBodyStatusCode = 422+)-// VerifyUserToOrganization403JSONResponseBodyStatusCode defines parameters for VerifyUserToOrganization.-type VerifyUserToOrganization403JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the DeleteManySecretsV4422JSONResponseBodyStatusCode enum.+func (e DeleteManySecretsV4422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteManySecretsV4422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }+}-// VerifyUserToOrganization404JSONResponseBodyStatusCode defines parameters for VerifyUserToOrganization.-type VerifyUserToOrganization404JSONResponseBodyStatusCode float32+// Defines values for DeleteManySecretsV4500JSONResponseBodyStatusCode.+const (+ DeleteManySecretsV4500JSONResponseBodyStatusCodeN500 DeleteManySecretsV4500JSONResponseBodyStatusCode = 500+)-// VerifyUserToOrganization422JSONResponseBodyStatusCode defines parameters for VerifyUserToOrganization.-type VerifyUserToOrganization422JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the DeleteManySecretsV4500JSONResponseBodyStatusCode enum.+func (e DeleteManySecretsV4500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteManySecretsV4500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}-// VerifyUserToOrganization500JSONResponseBodyStatusCode defines parameters for VerifyUserToOrganization.-type VerifyUserToOrganization500JSONResponseBodyStatusCode float32+// Defines values for UpdateManySecretsV4JSONBodyMode.+const (+ FailOnNotFound UpdateManySecretsV4JSONBodyMode = "failOnNotFound"+ Ignore UpdateManySecretsV4JSONBodyMode = "ignore"+ Upsert UpdateManySecretsV4JSONBodyMode = "upsert"+)-// GetOrganizationPlanParams defines parameters for GetOrganizationPlan.-type GetOrganizationPlanParams struct {- RefreshCache *GetOrganizationPlanParamsRefreshCache `form:"refreshCache,omitempty" json:"refreshCache,omitempty"`+// Valid indicates whether the value is a known member of the UpdateManySecretsV4JSONBodyMode enum.+func (e UpdateManySecretsV4JSONBodyMode) Valid() bool {+ switch e {+ case FailOnNotFound:+ return true+ case Ignore:+ return true+ case Upsert:+ return true+ default:+ return false+ }}-// GetOrganizationPlanParamsRefreshCache defines parameters for GetOrganizationPlan.-type GetOrganizationPlanParamsRefreshCache string+// Defines values for UpdateManySecretsV4400JSONResponseBodyStatusCode.+const (+ UpdateManySecretsV4400JSONResponseBodyStatusCodeN400 UpdateManySecretsV4400JSONResponseBodyStatusCode = 400+)-// GetOrganizationPlan400JSONResponseBodyStatusCode defines parameters for GetOrganizationPlan.-type GetOrganizationPlan400JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the UpdateManySecretsV4400JSONResponseBodyStatusCode enum.+func (e UpdateManySecretsV4400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateManySecretsV4400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }+}-// GetOrganizationPlan401JSONResponseBodyStatusCode defines parameters for GetOrganizationPlan.-type GetOrganizationPlan401JSONResponseBodyStatusCode float32+// Defines values for UpdateManySecretsV4401JSONResponseBodyStatusCode.+const (+ UpdateManySecretsV4401JSONResponseBodyStatusCodeN401 UpdateManySecretsV4401JSONResponseBodyStatusCode = 401+)-// GetOrganizationPlan403JSONResponseBodyStatusCode defines parameters for GetOrganizationPlan.-type GetOrganizationPlan403JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the UpdateManySecretsV4401JSONResponseBodyStatusCode enum.+func (e UpdateManySecretsV4401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateManySecretsV4401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}-// GetOrganizationPlan404JSONResponseBodyStatusCode defines parameters for GetOrganizationPlan.-type GetOrganizationPlan404JSONResponseBodyStatusCode float32+// Defines values for UpdateManySecretsV4403JSONResponseBodyStatusCode.+const (+ UpdateManySecretsV4403JSONResponseBodyStatusCodeN403 UpdateManySecretsV4403JSONResponseBodyStatusCode = 403+)-// GetOrganizationPlan422JSONResponseBodyStatusCode defines parameters for GetOrganizationPlan.-type GetOrganizationPlan422JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the UpdateManySecretsV4403JSONResponseBodyStatusCode enum.+func (e UpdateManySecretsV4403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateManySecretsV4403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}-// GetOrganizationPlan500JSONResponseBodyStatusCode defines parameters for GetOrganizationPlan.-type GetOrganizationPlan500JSONResponseBodyStatusCode float32+// Defines values for UpdateManySecretsV4404JSONResponseBodyStatusCode.+const (+ UpdateManySecretsV4404JSONResponseBodyStatusCodeN404 UpdateManySecretsV4404JSONResponseBodyStatusCode = 404+)-// CreateProjectJSONBody defines parameters for CreateProject.-type CreateProjectJSONBody struct {- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- KmsKeyId *string `json:"kmsKeyId,omitempty"`+// Valid indicates whether the value is a known member of the UpdateManySecretsV4404JSONResponseBodyStatusCode enum.+func (e UpdateManySecretsV4404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateManySecretsV4404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}- // ProjectDescription An optional description label for the project.- ProjectDescription *string `json:"projectDescription,omitempty"`+// Defines values for UpdateManySecretsV4422JSONResponseBodyStatusCode.+const (+ UpdateManySecretsV4422JSONResponseBodyStatusCodeN422 UpdateManySecretsV4422JSONResponseBodyStatusCode = 422+)- // ProjectName The name of the project to create.- ProjectName string `json:"projectName"`- ShouldCreateDefaultEnvs *bool `json:"shouldCreateDefaultEnvs,omitempty"`+// Valid indicates whether the value is a known member of the UpdateManySecretsV4422JSONResponseBodyStatusCode enum.+func (e UpdateManySecretsV4422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateManySecretsV4422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }+}- // Slug An optional slug for the project.- Slug *string `json:"slug,omitempty"`+// Defines values for UpdateManySecretsV4500JSONResponseBodyStatusCode.+const (+ UpdateManySecretsV4500JSONResponseBodyStatusCodeN500 UpdateManySecretsV4500JSONResponseBodyStatusCode = 500+)- // Template The name of the project template, if specified, to apply to this project.- Template *string `json:"template,omitempty"`- Type *CreateProjectJSONBodyType `json:"type,omitempty"`+// Valid indicates whether the value is a known member of the UpdateManySecretsV4500JSONResponseBodyStatusCode enum.+func (e UpdateManySecretsV4500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateManySecretsV4500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }}-// CreateProjectJSONBodyType defines parameters for CreateProject.-type CreateProjectJSONBodyType string+// Defines values for CreateManySecretsV4400JSONResponseBodyStatusCode.+const (+ CreateManySecretsV4400JSONResponseBodyStatusCodeN400 CreateManySecretsV4400JSONResponseBodyStatusCode = 400+)-// CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0 defines parameters for CreateProject.-type CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0 struct {- Email *string `json:"email"`- FirstName *string `json:"firstName"`- Id string `json:"id"`- LastName *string `json:"lastName"`- Type CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0Type `json:"type"`- Username *string `json:"username"`+// Valid indicates whether the value is a known member of the CreateManySecretsV4400JSONResponseBodyStatusCode enum.+func (e CreateManySecretsV4400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateManySecretsV4400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }}-// CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0Type defines parameters for CreateProject.-type CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0Type string+// Defines values for CreateManySecretsV4401JSONResponseBodyStatusCode.+const (+ CreateManySecretsV4401JSONResponseBodyStatusCodeN401 CreateManySecretsV4401JSONResponseBodyStatusCode = 401+)-// CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1 defines parameters for CreateProject.-type CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1 struct {- Id string `json:"id"`- Name string `json:"name"`- Type CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1Type `json:"type"`+// Valid indicates whether the value is a known member of the CreateManySecretsV4401JSONResponseBodyStatusCode enum.+func (e CreateManySecretsV4401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateManySecretsV4401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }}-// CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1Type defines parameters for CreateProject.-type CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1Type string+// Defines values for CreateManySecretsV4403JSONResponseBodyStatusCode.+const (+ CreateManySecretsV4403JSONResponseBodyStatusCodeN403 CreateManySecretsV4403JSONResponseBodyStatusCode = 403+)-// CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy defines parameters for CreateProject.-type CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the CreateManySecretsV4403JSONResponseBodyStatusCode enum.+func (e CreateManySecretsV4403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateManySecretsV4403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }}-// CreateProject400JSONResponseBodyStatusCode defines parameters for CreateProject.-type CreateProject400JSONResponseBodyStatusCode float32--// CreateProject401JSONResponseBodyStatusCode defines parameters for CreateProject.-type CreateProject401JSONResponseBodyStatusCode float32+// Defines values for CreateManySecretsV4404JSONResponseBodyStatusCode.+const (+ CreateManySecretsV4404JSONResponseBodyStatusCodeN404 CreateManySecretsV4404JSONResponseBodyStatusCode = 404+)-// CreateProject403JSONResponseBodyStatusCode defines parameters for CreateProject.-type CreateProject403JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the CreateManySecretsV4404JSONResponseBodyStatusCode enum.+func (e CreateManySecretsV4404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateManySecretsV4404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}-// CreateProject404JSONResponseBodyStatusCode defines parameters for CreateProject.-type CreateProject404JSONResponseBodyStatusCode float32+// Defines values for CreateManySecretsV4422JSONResponseBodyStatusCode.+const (+ CreateManySecretsV4422JSONResponseBodyStatusCodeN422 CreateManySecretsV4422JSONResponseBodyStatusCode = 422+)-// CreateProject422JSONResponseBodyStatusCode defines parameters for CreateProject.-type CreateProject422JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the CreateManySecretsV4422JSONResponseBodyStatusCode enum.+func (e CreateManySecretsV4422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateManySecretsV4422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }+}-// CreateProject500JSONResponseBodyStatusCode defines parameters for CreateProject.-type CreateProject500JSONResponseBodyStatusCode float32+// Defines values for CreateManySecretsV4500JSONResponseBodyStatusCode.+const (+ CreateManySecretsV4500JSONResponseBodyStatusCodeN500 CreateManySecretsV4500JSONResponseBodyStatusCode = 500+)-// ListProjectMachineIdentitiesParams defines parameters for ListProjectMachineIdentities.-type ListProjectMachineIdentitiesParams struct {- // Offset The offset to start from. If you enter 10, it will start from the 10th identity.- Offset *float32 `form:"offset,omitempty" json:"offset,omitempty"`+// Valid indicates whether the value is a known member of the CreateManySecretsV4500JSONResponseBodyStatusCode enum.+func (e CreateManySecretsV4500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateManySecretsV4500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}- // Limit The number of identities to return.- Limit *float32 `form:"limit,omitempty" json:"limit,omitempty"`+// Defines values for DuplicateSecretV4400JSONResponseBodyStatusCode.+const (+ DuplicateSecretV4400JSONResponseBodyStatusCodeN400 DuplicateSecretV4400JSONResponseBodyStatusCode = 400+)- // Search The text string that identity names will be filtered by.- Search *string `form:"search,omitempty" json:"search,omitempty"`+// Valid indicates whether the value is a known member of the DuplicateSecretV4400JSONResponseBodyStatusCode enum.+func (e DuplicateSecretV4400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DuplicateSecretV4400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }}-// ListProjectMachineIdentities400JSONResponseBodyStatusCode defines parameters for ListProjectMachineIdentities.-type ListProjectMachineIdentities400JSONResponseBodyStatusCode float32--// ListProjectMachineIdentities401JSONResponseBodyStatusCode defines parameters for ListProjectMachineIdentities.-type ListProjectMachineIdentities401JSONResponseBodyStatusCode float32+// Defines values for DuplicateSecretV4401JSONResponseBodyStatusCode.+const (+ DuplicateSecretV4401JSONResponseBodyStatusCodeN401 DuplicateSecretV4401JSONResponseBodyStatusCode = 401+)-// ListProjectMachineIdentities403JSONResponseBodyStatusCode defines parameters for ListProjectMachineIdentities.-type ListProjectMachineIdentities403JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the DuplicateSecretV4401JSONResponseBodyStatusCode enum.+func (e DuplicateSecretV4401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DuplicateSecretV4401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}-// ListProjectMachineIdentities404JSONResponseBodyStatusCode defines parameters for ListProjectMachineIdentities.-type ListProjectMachineIdentities404JSONResponseBodyStatusCode float32+// Defines values for DuplicateSecretV4403JSONResponseBodyStatusCode.+const (+ DuplicateSecretV4403JSONResponseBodyStatusCodeN403 DuplicateSecretV4403JSONResponseBodyStatusCode = 403+)-// ListProjectMachineIdentities422JSONResponseBodyStatusCode defines parameters for ListProjectMachineIdentities.-type ListProjectMachineIdentities422JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the DuplicateSecretV4403JSONResponseBodyStatusCode enum.+func (e DuplicateSecretV4403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DuplicateSecretV4403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}-// ListProjectMachineIdentities500JSONResponseBodyStatusCode defines parameters for ListProjectMachineIdentities.-type ListProjectMachineIdentities500JSONResponseBodyStatusCode float32+// Defines values for DuplicateSecretV4404JSONResponseBodyStatusCode.+const (+ DuplicateSecretV4404JSONResponseBodyStatusCodeN404 DuplicateSecretV4404JSONResponseBodyStatusCode = 404+)-// CreateProjectMachineIdentityJSONBody defines parameters for CreateProjectMachineIdentity.-type CreateProjectMachineIdentityJSONBody struct {- // HasDeleteProtection Prevents deletion of the identity when enabled.- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+// Valid indicates whether the value is a known member of the DuplicateSecretV4404JSONResponseBodyStatusCode enum.+func (e DuplicateSecretV4404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DuplicateSecretV4404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}- // Metadata An optional array of key-value pairs to attach to the identity.- Metadata *[]struct {- Key string `json:"key"`- Value string `json:"value"`- } `json:"metadata,omitempty"`+// Defines values for DuplicateSecretV4422JSONResponseBodyStatusCode.+const (+ DuplicateSecretV4422JSONResponseBodyStatusCodeN422 DuplicateSecretV4422JSONResponseBodyStatusCode = 422+)- // Name The name of the identity to create.- Name string `json:"name"`- Roles *[]CreateProjectMachineIdentityJSONBody_Roles_Item `json:"roles,omitempty"`+// Valid indicates whether the value is a known member of the DuplicateSecretV4422JSONResponseBodyStatusCode enum.+func (e DuplicateSecretV4422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DuplicateSecretV4422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }}-// CreateProjectMachineIdentityJSONBodyRoles0 defines parameters for CreateProjectMachineIdentity.-type CreateProjectMachineIdentityJSONBodyRoles0 struct {- IsTemporary *CreateProjectMachineIdentityJSONBodyRoles0IsTemporary `json:"isTemporary,omitempty"`- Role string `json:"role"`+// Defines values for DuplicateSecretV4500JSONResponseBodyStatusCode.+const (+ DuplicateSecretV4500JSONResponseBodyStatusCodeN500 DuplicateSecretV4500JSONResponseBodyStatusCode = 500+)++// Valid indicates whether the value is a known member of the DuplicateSecretV4500JSONResponseBodyStatusCode enum.+func (e DuplicateSecretV4500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DuplicateSecretV4500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }}-// CreateProjectMachineIdentityJSONBodyRoles0IsTemporary defines parameters for CreateProjectMachineIdentity.-type CreateProjectMachineIdentityJSONBodyRoles0IsTemporary bool+// Defines values for GetSecretByIdV4400JSONResponseBodyStatusCode.+const (+ GetSecretByIdV4400JSONResponseBodyStatusCodeN400 GetSecretByIdV4400JSONResponseBodyStatusCode = 400+)-// CreateProjectMachineIdentityJSONBodyRoles1 defines parameters for CreateProjectMachineIdentity.-type CreateProjectMachineIdentityJSONBodyRoles1 struct {- IsTemporary CreateProjectMachineIdentityJSONBodyRoles1IsTemporary `json:"isTemporary"`- Role string `json:"role"`- TemporaryAccessStartTime time.Time `json:"temporaryAccessStartTime"`- TemporaryMode CreateProjectMachineIdentityJSONBodyRoles1TemporaryMode `json:"temporaryMode"`- TemporaryRange string `json:"temporaryRange"`+// Valid indicates whether the value is a known member of the GetSecretByIdV4400JSONResponseBodyStatusCode enum.+func (e GetSecretByIdV4400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretByIdV4400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }}-// CreateProjectMachineIdentityJSONBodyRoles1IsTemporary defines parameters for CreateProjectMachineIdentity.-type CreateProjectMachineIdentityJSONBodyRoles1IsTemporary bool--// CreateProjectMachineIdentityJSONBodyRoles1TemporaryMode defines parameters for CreateProjectMachineIdentity.-type CreateProjectMachineIdentityJSONBodyRoles1TemporaryMode string+// Defines values for GetSecretByIdV4401JSONResponseBodyStatusCode.+const (+ GetSecretByIdV4401JSONResponseBodyStatusCodeN401 GetSecretByIdV4401JSONResponseBodyStatusCode = 401+)-// CreateProjectMachineIdentityJSONBody_Roles_Item defines parameters for CreateProjectMachineIdentity.-type CreateProjectMachineIdentityJSONBody_Roles_Item struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the GetSecretByIdV4401JSONResponseBodyStatusCode enum.+func (e GetSecretByIdV4401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretByIdV4401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }}-// CreateProjectMachineIdentity400JSONResponseBodyStatusCode defines parameters for CreateProjectMachineIdentity.-type CreateProjectMachineIdentity400JSONResponseBodyStatusCode float32--// CreateProjectMachineIdentity401JSONResponseBodyStatusCode defines parameters for CreateProjectMachineIdentity.-type CreateProjectMachineIdentity401JSONResponseBodyStatusCode float32+// Defines values for GetSecretByIdV4403JSONResponseBodyStatusCode.+const (+ GetSecretByIdV4403JSONResponseBodyStatusCodeN403 GetSecretByIdV4403JSONResponseBodyStatusCode = 403+)-// CreateProjectMachineIdentity403JSONResponseBodyStatusCode defines parameters for CreateProjectMachineIdentity.-type CreateProjectMachineIdentity403JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the GetSecretByIdV4403JSONResponseBodyStatusCode enum.+func (e GetSecretByIdV4403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretByIdV4403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}-// CreateProjectMachineIdentity404JSONResponseBodyStatusCode defines parameters for CreateProjectMachineIdentity.-type CreateProjectMachineIdentity404JSONResponseBodyStatusCode float32+// Defines values for GetSecretByIdV4404JSONResponseBodyStatusCode.+const (+ GetSecretByIdV4404JSONResponseBodyStatusCodeN404 GetSecretByIdV4404JSONResponseBodyStatusCode = 404+)-// CreateProjectMachineIdentity422JSONResponseBodyStatusCode defines parameters for CreateProjectMachineIdentity.-type CreateProjectMachineIdentity422JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the GetSecretByIdV4404JSONResponseBodyStatusCode enum.+func (e GetSecretByIdV4404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretByIdV4404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}-// CreateProjectMachineIdentity500JSONResponseBodyStatusCode defines parameters for CreateProjectMachineIdentity.-type CreateProjectMachineIdentity500JSONResponseBodyStatusCode float32+// Defines values for GetSecretByIdV4422JSONResponseBodyStatusCode.+const (+ GetSecretByIdV4422JSONResponseBodyStatusCodeN422 GetSecretByIdV4422JSONResponseBodyStatusCode = 422+)-// InviteProjectMembersJSONBody defines parameters for InviteProjectMembers.-type InviteProjectMembersJSONBody struct {- // Emails A list of organization member emails to invite to the project.- Emails *[]openapi_types.Email `json:"emails,omitempty"`+// Valid indicates whether the value is a known member of the GetSecretByIdV4422JSONResponseBodyStatusCode enum.+func (e GetSecretByIdV4422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretByIdV4422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }+}- // RoleSlugs A list of role slugs to assign to the newly created project membership. If nothing is provided, it will default to the Member role.- RoleSlugs *[]string `json:"roleSlugs,omitempty"`+// Defines values for GetSecretByIdV4500JSONResponseBodyStatusCode.+const (+ GetSecretByIdV4500JSONResponseBodyStatusCodeN500 GetSecretByIdV4500JSONResponseBodyStatusCode = 500+)- // Usernames A list of usernames to invite to the project.- Usernames *[]string `json:"usernames,omitempty"`+// Valid indicates whether the value is a known member of the GetSecretByIdV4500JSONResponseBodyStatusCode enum.+func (e GetSecretByIdV4500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretByIdV4500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }}-// InviteProjectMembers400JSONResponseBodyStatusCode defines parameters for InviteProjectMembers.-type InviteProjectMembers400JSONResponseBodyStatusCode float32--// InviteProjectMembers401JSONResponseBodyStatusCode defines parameters for InviteProjectMembers.-type InviteProjectMembers401JSONResponseBodyStatusCode float32--// InviteProjectMembers403JSONResponseBodyStatusCode defines parameters for InviteProjectMembers.-type InviteProjectMembers403JSONResponseBodyStatusCode float32+// Defines values for MoveSecretsV4400JSONResponseBodyStatusCode.+const (+ MoveSecretsV4400JSONResponseBodyStatusCodeN400 MoveSecretsV4400JSONResponseBodyStatusCode = 400+)-// InviteProjectMembers404JSONResponseBodyStatusCode defines parameters for InviteProjectMembers.-type InviteProjectMembers404JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the MoveSecretsV4400JSONResponseBodyStatusCode enum.+func (e MoveSecretsV4400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case MoveSecretsV4400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }+}-// InviteProjectMembers422JSONResponseBodyStatusCode defines parameters for InviteProjectMembers.-type InviteProjectMembers422JSONResponseBodyStatusCode float32+// Defines values for MoveSecretsV4401JSONResponseBodyStatusCode.+const (+ MoveSecretsV4401JSONResponseBodyStatusCodeN401 MoveSecretsV4401JSONResponseBodyStatusCode = 401+)-// InviteProjectMembers500JSONResponseBodyStatusCode defines parameters for InviteProjectMembers.-type InviteProjectMembers500JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the MoveSecretsV4401JSONResponseBodyStatusCode enum.+func (e MoveSecretsV4401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case MoveSecretsV4401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}-// CreateProjectIdentityMembershipJSONBody defines parameters for CreateProjectIdentityMembership.-type CreateProjectIdentityMembershipJSONBody struct {- Role *string `json:"role,omitempty"`+// Defines values for MoveSecretsV4403JSONResponseBodyStatusCode.+const (+ MoveSecretsV4403JSONResponseBodyStatusCodeN403 MoveSecretsV4403JSONResponseBodyStatusCode = 403+)- // Roles A list of role slugs to assign to the newly created identity project membership.- Roles *[]CreateProjectIdentityMembershipJSONBody_Roles_Item `json:"roles,omitempty"`+// Valid indicates whether the value is a known member of the MoveSecretsV4403JSONResponseBodyStatusCode enum.+func (e MoveSecretsV4403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case MoveSecretsV4403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }}-// CreateProjectIdentityMembershipJSONBodyRoles0 defines parameters for CreateProjectIdentityMembership.-type CreateProjectIdentityMembershipJSONBodyRoles0 struct {- // IsTemporary The role slug to assign to the newly created identity project membership.- IsTemporary *CreateProjectIdentityMembershipJSONBodyRoles0IsTemporary `json:"isTemporary,omitempty"`+// Defines values for MoveSecretsV4404JSONResponseBodyStatusCode.+const (+ MoveSecretsV4404JSONResponseBodyStatusCodeN404 MoveSecretsV4404JSONResponseBodyStatusCode = 404+)- // Role The role slug to assign to the newly created identity project membership.- Role string `json:"role"`+// Valid indicates whether the value is a known member of the MoveSecretsV4404JSONResponseBodyStatusCode enum.+func (e MoveSecretsV4404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case MoveSecretsV4404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }}-// CreateProjectIdentityMembershipJSONBodyRoles0IsTemporary defines parameters for CreateProjectIdentityMembership.-type CreateProjectIdentityMembershipJSONBodyRoles0IsTemporary bool+// Defines values for MoveSecretsV4422JSONResponseBodyStatusCode.+const (+ MoveSecretsV4422JSONResponseBodyStatusCodeN422 MoveSecretsV4422JSONResponseBodyStatusCode = 422+)-// CreateProjectIdentityMembershipJSONBodyRoles1 defines parameters for CreateProjectIdentityMembership.-type CreateProjectIdentityMembershipJSONBodyRoles1 struct {- // IsTemporary The role slug to assign to the newly created identity project membership.- IsTemporary CreateProjectIdentityMembershipJSONBodyRoles1IsTemporary `json:"isTemporary"`+// Valid indicates whether the value is a known member of the MoveSecretsV4422JSONResponseBodyStatusCode enum.+func (e MoveSecretsV4422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case MoveSecretsV4422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }+}- // Role The role slug to assign to the newly created identity project membership.- Role string `json:"role"`+// Defines values for MoveSecretsV4500JSONResponseBodyStatusCode.+const (+ MoveSecretsV4500JSONResponseBodyStatusCodeN500 MoveSecretsV4500JSONResponseBodyStatusCode = 500+)- // TemporaryAccessStartTime The role slug to assign to the newly created identity project membership.- TemporaryAccessStartTime time.Time `json:"temporaryAccessStartTime"`+// Valid indicates whether the value is a known member of the MoveSecretsV4500JSONResponseBodyStatusCode enum.+func (e MoveSecretsV4500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case MoveSecretsV4500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}- // TemporaryMode The role slug to assign to the newly created identity project membership.- TemporaryMode CreateProjectIdentityMembershipJSONBodyRoles1TemporaryMode `json:"temporaryMode"`+// Defines values for DeleteSecretV4JSONBodyType.+const (+ DeleteSecretV4JSONBodyTypePersonal DeleteSecretV4JSONBodyType = "personal"+ DeleteSecretV4JSONBodyTypeShared DeleteSecretV4JSONBodyType = "shared"+)- // TemporaryRange The role slug to assign to the newly created identity project membership.- TemporaryRange string `json:"temporaryRange"`+// Valid indicates whether the value is a known member of the DeleteSecretV4JSONBodyType enum.+func (e DeleteSecretV4JSONBodyType) Valid() bool {+ switch e {+ case DeleteSecretV4JSONBodyTypePersonal:+ return true+ case DeleteSecretV4JSONBodyTypeShared:+ return true+ default:+ return false+ }}-// CreateProjectIdentityMembershipJSONBodyRoles1IsTemporary defines parameters for CreateProjectIdentityMembership.-type CreateProjectIdentityMembershipJSONBodyRoles1IsTemporary bool--// CreateProjectIdentityMembershipJSONBodyRoles1TemporaryMode defines parameters for CreateProjectIdentityMembership.-type CreateProjectIdentityMembershipJSONBodyRoles1TemporaryMode string+// Defines values for DeleteSecretV4400JSONResponseBodyStatusCode.+const (+ DeleteSecretV4400JSONResponseBodyStatusCodeN400 DeleteSecretV4400JSONResponseBodyStatusCode = 400+)-// CreateProjectIdentityMembershipJSONBody_Roles_Item defines parameters for CreateProjectIdentityMembership.-type CreateProjectIdentityMembershipJSONBody_Roles_Item struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the DeleteSecretV4400JSONResponseBodyStatusCode enum.+func (e DeleteSecretV4400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteSecretV4400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }}-// CreateProjectIdentityMembership400JSONResponseBodyStatusCode defines parameters for CreateProjectIdentityMembership.-type CreateProjectIdentityMembership400JSONResponseBodyStatusCode float32+// Defines values for DeleteSecretV4401JSONResponseBodyStatusCode.+const (+ DeleteSecretV4401JSONResponseBodyStatusCodeN401 DeleteSecretV4401JSONResponseBodyStatusCode = 401+)-// CreateProjectIdentityMembership401JSONResponseBodyStatusCode defines parameters for CreateProjectIdentityMembership.-type CreateProjectIdentityMembership401JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the DeleteSecretV4401JSONResponseBodyStatusCode enum.+func (e DeleteSecretV4401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteSecretV4401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}-// CreateProjectIdentityMembership403JSONResponseBodyStatusCode defines parameters for CreateProjectIdentityMembership.-type CreateProjectIdentityMembership403JSONResponseBodyStatusCode float32+// Defines values for DeleteSecretV4403JSONResponseBodyStatusCode.+const (+ DeleteSecretV4403JSONResponseBodyStatusCodeN403 DeleteSecretV4403JSONResponseBodyStatusCode = 403+)-// CreateProjectIdentityMembership404JSONResponseBodyStatusCode defines parameters for CreateProjectIdentityMembership.-type CreateProjectIdentityMembership404JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the DeleteSecretV4403JSONResponseBodyStatusCode enum.+func (e DeleteSecretV4403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteSecretV4403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}-// CreateProjectIdentityMembership422JSONResponseBodyStatusCode defines parameters for CreateProjectIdentityMembership.-type CreateProjectIdentityMembership422JSONResponseBodyStatusCode float32+// Defines values for DeleteSecretV4404JSONResponseBodyStatusCode.+const (+ DeleteSecretV4404JSONResponseBodyStatusCodeN404 DeleteSecretV4404JSONResponseBodyStatusCode = 404+)-// CreateProjectIdentityMembership500JSONResponseBodyStatusCode defines parameters for CreateProjectIdentityMembership.-type CreateProjectIdentityMembership500JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the DeleteSecretV4404JSONResponseBodyStatusCode enum.+func (e DeleteSecretV4404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteSecretV4404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}-// CreateGitHubSecretSyncJSONBody defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSyncJSONBody struct {- // ConnectionId The ID of the GitHub Connection to use for syncing.- ConnectionId openapi_types.UUID `json:"connectionId"`+// Defines values for DeleteSecretV4422JSONResponseBodyStatusCode.+const (+ DeleteSecretV4422JSONResponseBodyStatusCodeN422 DeleteSecretV4422JSONResponseBodyStatusCode = 422+)- // Description An optional description for the GitHub Sync.- Description *string `json:"description,omitempty"`- DestinationConfig CreateGitHubSecretSyncJSONBody_DestinationConfig `json:"destinationConfig"`+// Valid indicates whether the value is a known member of the DeleteSecretV4422JSONResponseBodyStatusCode enum.+func (e DeleteSecretV4422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteSecretV4422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }+}- // Environment The slug of the project environment to sync secrets from.- Environment string `json:"environment"`+// Defines values for DeleteSecretV4500JSONResponseBodyStatusCode.+const (+ DeleteSecretV4500JSONResponseBodyStatusCodeN500 DeleteSecretV4500JSONResponseBodyStatusCode = 500+)- // IsAutoSyncEnabled Whether secrets should be automatically synced when changes occur at the source location or not.- IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+// Valid indicates whether the value is a known member of the DeleteSecretV4500JSONResponseBodyStatusCode enum.+func (e DeleteSecretV4500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case DeleteSecretV4500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}- // Name The name of the GitHub Sync to create. Must be slug-friendly.- Name string `json:"name"`+// Defines values for GetSecretByNameV4ParamsType.+const (+ GetSecretByNameV4ParamsTypePersonal GetSecretByNameV4ParamsType = "personal"+ GetSecretByNameV4ParamsTypeShared GetSecretByNameV4ParamsType = "shared"+)- // ProjectId The ID of the project to create the sync in.- ProjectId string `json:"projectId"`+// Valid indicates whether the value is a known member of the GetSecretByNameV4ParamsType enum.+func (e GetSecretByNameV4ParamsType) Valid() bool {+ switch e {+ case GetSecretByNameV4ParamsTypePersonal:+ return true+ case GetSecretByNameV4ParamsTypeShared:+ return true+ default:+ return false+ }+}- // SecretPath The folder path to sync secrets from.- SecretPath string `json:"secretPath"`+// Defines values for GetSecretByNameV4ParamsViewSecretValue.+const (+ GetSecretByNameV4ParamsViewSecretValueFalse GetSecretByNameV4ParamsViewSecretValue = "false"+ GetSecretByNameV4ParamsViewSecretValueTrue GetSecretByNameV4ParamsViewSecretValue = "true"+)- // SyncOptions Optional parameters to modify how secrets are synced.- SyncOptions struct {- // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.- DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`+// Valid indicates whether the value is a known member of the GetSecretByNameV4ParamsViewSecretValue enum.+func (e GetSecretByNameV4ParamsViewSecretValue) Valid() bool {+ switch e {+ case GetSecretByNameV4ParamsViewSecretValueFalse:+ return true+ case GetSecretByNameV4ParamsViewSecretValueTrue:+ return true+ default:+ return false+ }+}- // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.- IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`+// Defines values for GetSecretByNameV4ParamsExpandSecretReferences.+const (+ GetSecretByNameV4ParamsExpandSecretReferencesFalse GetSecretByNameV4ParamsExpandSecretReferences = "false"+ GetSecretByNameV4ParamsExpandSecretReferencesTrue GetSecretByNameV4ParamsExpandSecretReferences = "true"+)- // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.- InitialSyncBehavior CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`-- // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.- KeySchema *string `json:"keySchema,omitempty"`- } `json:"syncOptions"`+// Valid indicates whether the value is a known member of the GetSecretByNameV4ParamsExpandSecretReferences enum.+func (e GetSecretByNameV4ParamsExpandSecretReferences) Valid() bool {+ switch e {+ case GetSecretByNameV4ParamsExpandSecretReferencesFalse:+ return true+ case GetSecretByNameV4ParamsExpandSecretReferencesTrue:+ return true+ default:+ return false+ }}-// CreateGitHubSecretSyncJSONBodyDestinationConfig0 defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSyncJSONBodyDestinationConfig0 struct {- // Org The name of the GitHub organization.- Org string `json:"org"`+// Defines values for GetSecretByNameV4ParamsIncludeImports.+const (+ GetSecretByNameV4ParamsIncludeImportsFalse GetSecretByNameV4ParamsIncludeImports = "false"+ GetSecretByNameV4ParamsIncludeImportsTrue GetSecretByNameV4ParamsIncludeImports = "true"+)- // Scope The GitHub scope that secrets should be synced to- Scope CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope `json:"scope"`- SelectedRepositoryIds *[]float32 `json:"selectedRepositoryIds,omitempty"`- Visibility CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility `json:"visibility"`+// Valid indicates whether the value is a known member of the GetSecretByNameV4ParamsIncludeImports enum.+func (e GetSecretByNameV4ParamsIncludeImports) Valid() bool {+ switch e {+ case GetSecretByNameV4ParamsIncludeImportsFalse:+ return true+ case GetSecretByNameV4ParamsIncludeImportsTrue:+ return true+ default:+ return false+ }}-// CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope string--// CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility string+// Defines values for GetSecretByNameV4400JSONResponseBodyStatusCode.+const (+ GetSecretByNameV4400JSONResponseBodyStatusCodeN400 GetSecretByNameV4400JSONResponseBodyStatusCode = 400+)-// CreateGitHubSecretSyncJSONBodyDestinationConfig1 defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSyncJSONBodyDestinationConfig1 struct {- // Owner The name of the GitHub account owner of the repository.- Owner string `json:"owner"`+// Valid indicates whether the value is a known member of the GetSecretByNameV4400JSONResponseBodyStatusCode enum.+func (e GetSecretByNameV4400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretByNameV4400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }+}- // Repo The name of the GitHub repository.- Repo string `json:"repo"`+// Defines values for GetSecretByNameV4401JSONResponseBodyStatusCode.+const (+ GetSecretByNameV4401JSONResponseBodyStatusCodeN401 GetSecretByNameV4401JSONResponseBodyStatusCode = 401+)- // Scope The GitHub scope that secrets should be synced to- Scope CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope `json:"scope"`+// Valid indicates whether the value is a known member of the GetSecretByNameV4401JSONResponseBodyStatusCode enum.+func (e GetSecretByNameV4401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretByNameV4401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }}-// CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope string--// CreateGitHubSecretSyncJSONBodyDestinationConfig2 defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSyncJSONBodyDestinationConfig2 struct {- // Env The name of the GitHub environment.- Env string `json:"env"`+// Defines values for GetSecretByNameV4403JSONResponseBodyStatusCode.+const (+ GetSecretByNameV4403JSONResponseBodyStatusCodeN403 GetSecretByNameV4403JSONResponseBodyStatusCode = 403+)- // Owner The name of the GitHub account owner of the repository.- Owner string `json:"owner"`+// Valid indicates whether the value is a known member of the GetSecretByNameV4403JSONResponseBodyStatusCode enum.+func (e GetSecretByNameV4403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretByNameV4403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}- // Repo The name of the GitHub repository.- Repo string `json:"repo"`+// Defines values for GetSecretByNameV4404JSONResponseBodyStatusCode.+const (+ GetSecretByNameV4404JSONResponseBodyStatusCodeN404 GetSecretByNameV4404JSONResponseBodyStatusCode = 404+)- // Scope The GitHub scope that secrets should be synced to- Scope CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope `json:"scope"`+// Valid indicates whether the value is a known member of the GetSecretByNameV4404JSONResponseBodyStatusCode enum.+func (e GetSecretByNameV4404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretByNameV4404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }}-// CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope string+// Defines values for GetSecretByNameV4422JSONResponseBodyStatusCode.+const (+ GetSecretByNameV4422JSONResponseBodyStatusCodeN422 GetSecretByNameV4422JSONResponseBodyStatusCode = 422+)-// CreateGitHubSecretSyncJSONBody_DestinationConfig defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSyncJSONBody_DestinationConfig struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the GetSecretByNameV4422JSONResponseBodyStatusCode enum.+func (e GetSecretByNameV4422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretByNameV4422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }}-// CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior string--// CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp string+// Defines values for GetSecretByNameV4500JSONResponseBodyStatusCode.+const (+ GetSecretByNameV4500JSONResponseBodyStatusCodeN500 GetSecretByNameV4500JSONResponseBodyStatusCode = 500+)-// CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination string+// Valid indicates whether the value is a known member of the GetSecretByNameV4500JSONResponseBodyStatusCode enum.+func (e GetSecretByNameV4500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretByNameV4500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}-// CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 struct {- // Org The name of the GitHub organization.- Org string `json:"org"`+// Defines values for UpdateSecretV4JSONBodyType.+const (+ UpdateSecretV4JSONBodyTypePersonal UpdateSecretV4JSONBodyType = "personal"+ UpdateSecretV4JSONBodyTypeShared UpdateSecretV4JSONBodyType = "shared"+)- // Scope The GitHub scope that secrets should be synced to- Scope CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope `json:"scope"`- SelectedRepositoryIds *[]float32 `json:"selectedRepositoryIds,omitempty"`- Visibility CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility `json:"visibility"`+// Valid indicates whether the value is a known member of the UpdateSecretV4JSONBodyType enum.+func (e UpdateSecretV4JSONBodyType) Valid() bool {+ switch e {+ case UpdateSecretV4JSONBodyTypePersonal:+ return true+ case UpdateSecretV4JSONBodyTypeShared:+ return true+ default:+ return false+ }}-// CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope string--// CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility string+// Defines values for UpdateSecretV4400JSONResponseBodyStatusCode.+const (+ UpdateSecretV4400JSONResponseBodyStatusCodeN400 UpdateSecretV4400JSONResponseBodyStatusCode = 400+)-// CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 struct {- // Owner The name of the GitHub account owner of the repository.- Owner string `json:"owner"`+// Valid indicates whether the value is a known member of the UpdateSecretV4400JSONResponseBodyStatusCode enum.+func (e UpdateSecretV4400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateSecretV4400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }+}- // Repo The name of the GitHub repository.- Repo string `json:"repo"`+// Defines values for UpdateSecretV4401JSONResponseBodyStatusCode.+const (+ UpdateSecretV4401JSONResponseBodyStatusCodeN401 UpdateSecretV4401JSONResponseBodyStatusCode = 401+)- // Scope The GitHub scope that secrets should be synced to- Scope CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope `json:"scope"`+// Valid indicates whether the value is a known member of the UpdateSecretV4401JSONResponseBodyStatusCode enum.+func (e UpdateSecretV4401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateSecretV4401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }}-// CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope string--// CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 struct {- // Env The name of the GitHub environment.- Env string `json:"env"`+// Defines values for UpdateSecretV4403JSONResponseBodyStatusCode.+const (+ UpdateSecretV4403JSONResponseBodyStatusCodeN403 UpdateSecretV4403JSONResponseBodyStatusCode = 403+)- // Owner The name of the GitHub account owner of the repository.- Owner string `json:"owner"`+// Valid indicates whether the value is a known member of the UpdateSecretV4403JSONResponseBodyStatusCode enum.+func (e UpdateSecretV4403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateSecretV4403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}- // Repo The name of the GitHub repository.- Repo string `json:"repo"`+// Defines values for UpdateSecretV4404JSONResponseBodyStatusCode.+const (+ UpdateSecretV4404JSONResponseBodyStatusCodeN404 UpdateSecretV4404JSONResponseBodyStatusCode = 404+)- // Scope The GitHub scope that secrets should be synced to- Scope CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope `json:"scope"`+// Valid indicates whether the value is a known member of the UpdateSecretV4404JSONResponseBodyStatusCode enum.+func (e UpdateSecretV4404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateSecretV4404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }}-// CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope string+// Defines values for UpdateSecretV4422JSONResponseBodyStatusCode.+const (+ UpdateSecretV4422JSONResponseBodyStatusCodeN422 UpdateSecretV4422JSONResponseBodyStatusCode = 422+)-// CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the UpdateSecretV4422JSONResponseBodyStatusCode enum.+func (e UpdateSecretV4422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateSecretV4422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }}-// CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior string+// Defines values for UpdateSecretV4500JSONResponseBodyStatusCode.+const (+ UpdateSecretV4500JSONResponseBodyStatusCodeN500 UpdateSecretV4500JSONResponseBodyStatusCode = 500+)-// CreateGitHubSecretSync400JSONResponseBodyStatusCode defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSync400JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the UpdateSecretV4500JSONResponseBodyStatusCode enum.+func (e UpdateSecretV4500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case UpdateSecretV4500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}-// CreateGitHubSecretSync401JSONResponseBodyStatusCode defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSync401JSONResponseBodyStatusCode float32+// Defines values for CreateSecretV4JSONBodyType.+const (+ CreateSecretV4JSONBodyTypePersonal CreateSecretV4JSONBodyType = "personal"+ CreateSecretV4JSONBodyTypeShared CreateSecretV4JSONBodyType = "shared"+)-// CreateGitHubSecretSync403JSONResponseBodyStatusCode defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSync403JSONResponseBodyStatusCode float32--// CreateGitHubSecretSync404JSONResponseBodyStatusCode defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSync404JSONResponseBodyStatusCode float32--// CreateGitHubSecretSync422JSONResponseBodyStatusCode defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSync422JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the CreateSecretV4JSONBodyType enum.+func (e CreateSecretV4JSONBodyType) Valid() bool {+ switch e {+ case CreateSecretV4JSONBodyTypePersonal:+ return true+ case CreateSecretV4JSONBodyTypeShared:+ return true+ default:+ return false+ }+}-// CreateGitHubSecretSync500JSONResponseBodyStatusCode defines parameters for CreateGitHubSecretSync.-type CreateGitHubSecretSync500JSONResponseBodyStatusCode float32+// Defines values for CreateSecretV4400JSONResponseBodyStatusCode.+const (+ CreateSecretV4400JSONResponseBodyStatusCodeN400 CreateSecretV4400JSONResponseBodyStatusCode = 400+)-// DeleteGitHubSecretSyncParams defines parameters for DeleteGitHubSecretSync.-type DeleteGitHubSecretSyncParams struct {- // RemoveSecrets Whether previously synced secrets should be removed prior to deletion.- RemoveSecrets *DeleteGitHubSecretSyncParamsRemoveSecrets `form:"removeSecrets,omitempty" json:"removeSecrets,omitempty"`+// Valid indicates whether the value is a known member of the CreateSecretV4400JSONResponseBodyStatusCode enum.+func (e CreateSecretV4400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretV4400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }}-// DeleteGitHubSecretSyncParamsRemoveSecrets defines parameters for DeleteGitHubSecretSync.-type DeleteGitHubSecretSyncParamsRemoveSecrets string--// DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp defines parameters for DeleteGitHubSecretSync.-type DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp string+// Defines values for CreateSecretV4401JSONResponseBodyStatusCode.+const (+ CreateSecretV4401JSONResponseBodyStatusCodeN401 CreateSecretV4401JSONResponseBodyStatusCode = 401+)-// DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination defines parameters for DeleteGitHubSecretSync.-type DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination string+// Valid indicates whether the value is a known member of the CreateSecretV4401JSONResponseBodyStatusCode enum.+func (e CreateSecretV4401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretV4401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}-// DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 defines parameters for DeleteGitHubSecretSync.-type DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 struct {- // Org The name of the GitHub organization.- Org string `json:"org"`+// Defines values for CreateSecretV4403JSONResponseBodyStatusCode.+const (+ CreateSecretV4403JSONResponseBodyStatusCodeN403 CreateSecretV4403JSONResponseBodyStatusCode = 403+)- // Scope The GitHub scope that secrets should be synced to- Scope DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope `json:"scope"`- SelectedRepositoryIds *[]float32 `json:"selectedRepositoryIds,omitempty"`- Visibility DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility `json:"visibility"`+// Valid indicates whether the value is a known member of the CreateSecretV4403JSONResponseBodyStatusCode enum.+func (e CreateSecretV4403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretV4403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }}-// DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope defines parameters for DeleteGitHubSecretSync.-type DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope string--// DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility defines parameters for DeleteGitHubSecretSync.-type DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility string+// Defines values for CreateSecretV4404JSONResponseBodyStatusCode.+const (+ CreateSecretV4404JSONResponseBodyStatusCodeN404 CreateSecretV4404JSONResponseBodyStatusCode = 404+)-// DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 defines parameters for DeleteGitHubSecretSync.-type DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 struct {- // Owner The name of the GitHub account owner of the repository.- Owner string `json:"owner"`+// Valid indicates whether the value is a known member of the CreateSecretV4404JSONResponseBodyStatusCode enum.+func (e CreateSecretV4404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretV4404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}- // Repo The name of the GitHub repository.- Repo string `json:"repo"`+// Defines values for CreateSecretV4422JSONResponseBodyStatusCode.+const (+ CreateSecretV4422JSONResponseBodyStatusCodeN422 CreateSecretV4422JSONResponseBodyStatusCode = 422+)- // Scope The GitHub scope that secrets should be synced to- Scope DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope `json:"scope"`+// Valid indicates whether the value is a known member of the CreateSecretV4422JSONResponseBodyStatusCode enum.+func (e CreateSecretV4422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretV4422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }}-// DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope defines parameters for DeleteGitHubSecretSync.-type DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope string--// DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 defines parameters for DeleteGitHubSecretSync.-type DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 struct {- // Env The name of the GitHub environment.- Env string `json:"env"`+// Defines values for CreateSecretV4500JSONResponseBodyStatusCode.+const (+ CreateSecretV4500JSONResponseBodyStatusCodeN500 CreateSecretV4500JSONResponseBodyStatusCode = 500+)- // Owner The name of the GitHub account owner of the repository.- Owner string `json:"owner"`+// Valid indicates whether the value is a known member of the CreateSecretV4500JSONResponseBodyStatusCode enum.+func (e CreateSecretV4500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretV4500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}- // Repo The name of the GitHub repository.- Repo string `json:"repo"`+// Defines values for GetSecretReferencesV4400JSONResponseBodyStatusCode.+const (+ GetSecretReferencesV4400JSONResponseBodyStatusCodeN400 GetSecretReferencesV4400JSONResponseBodyStatusCode = 400+)- // Scope The GitHub scope that secrets should be synced to- Scope DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope `json:"scope"`+// Valid indicates whether the value is a known member of the GetSecretReferencesV4400JSONResponseBodyStatusCode enum.+func (e GetSecretReferencesV4400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretReferencesV4400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }}-// DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope defines parameters for DeleteGitHubSecretSync.-type DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope string+// Defines values for GetSecretReferencesV4401JSONResponseBodyStatusCode.+const (+ GetSecretReferencesV4401JSONResponseBodyStatusCodeN401 GetSecretReferencesV4401JSONResponseBodyStatusCode = 401+)-// DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig defines parameters for DeleteGitHubSecretSync.-type DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the GetSecretReferencesV4401JSONResponseBodyStatusCode enum.+func (e GetSecretReferencesV4401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretReferencesV4401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }}-// DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior defines parameters for DeleteGitHubSecretSync.-type DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior string--// DeleteGitHubSecretSync400JSONResponseBodyStatusCode defines parameters for DeleteGitHubSecretSync.-type DeleteGitHubSecretSync400JSONResponseBodyStatusCode float32+// Defines values for GetSecretReferencesV4403JSONResponseBodyStatusCode.+const (+ GetSecretReferencesV4403JSONResponseBodyStatusCodeN403 GetSecretReferencesV4403JSONResponseBodyStatusCode = 403+)-// DeleteGitHubSecretSync401JSONResponseBodyStatusCode defines parameters for DeleteGitHubSecretSync.-type DeleteGitHubSecretSync401JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the GetSecretReferencesV4403JSONResponseBodyStatusCode enum.+func (e GetSecretReferencesV4403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretReferencesV4403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}-// DeleteGitHubSecretSync403JSONResponseBodyStatusCode defines parameters for DeleteGitHubSecretSync.-type DeleteGitHubSecretSync403JSONResponseBodyStatusCode float32+// Defines values for GetSecretReferencesV4404JSONResponseBodyStatusCode.+const (+ GetSecretReferencesV4404JSONResponseBodyStatusCodeN404 GetSecretReferencesV4404JSONResponseBodyStatusCode = 404+)-// DeleteGitHubSecretSync404JSONResponseBodyStatusCode defines parameters for DeleteGitHubSecretSync.-type DeleteGitHubSecretSync404JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the GetSecretReferencesV4404JSONResponseBodyStatusCode enum.+func (e GetSecretReferencesV4404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretReferencesV4404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}-// DeleteGitHubSecretSync422JSONResponseBodyStatusCode defines parameters for DeleteGitHubSecretSync.-type DeleteGitHubSecretSync422JSONResponseBodyStatusCode float32+// Defines values for GetSecretReferencesV4422JSONResponseBodyStatusCode.+const (+ GetSecretReferencesV4422JSONResponseBodyStatusCodeN422 GetSecretReferencesV4422JSONResponseBodyStatusCode = 422+)-// DeleteGitHubSecretSync500JSONResponseBodyStatusCode defines parameters for DeleteGitHubSecretSync.-type DeleteGitHubSecretSync500JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the GetSecretReferencesV4422JSONResponseBodyStatusCode enum.+func (e GetSecretReferencesV4422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretReferencesV4422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }+}-// GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp defines parameters for GetGitHubSecretSync.-type GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp string+// Defines values for GetSecretReferencesV4500JSONResponseBodyStatusCode.+const (+ GetSecretReferencesV4500JSONResponseBodyStatusCodeN500 GetSecretReferencesV4500JSONResponseBodyStatusCode = 500+)-// GetGitHubSecretSync200JSONResponseBodySecretSyncDestination defines parameters for GetGitHubSecretSync.-type GetGitHubSecretSync200JSONResponseBodySecretSyncDestination string+// Valid indicates whether the value is a known member of the GetSecretReferencesV4500JSONResponseBodyStatusCode enum.+func (e GetSecretReferencesV4500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretReferencesV4500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}-// GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 defines parameters for GetGitHubSecretSync.-type GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 struct {- // Org The name of the GitHub organization.- Org string `json:"org"`+// Defines values for GetSecretReferenceTreeV4400JSONResponseBodyStatusCode.+const (+ GetSecretReferenceTreeV4400JSONResponseBodyStatusCodeN400 GetSecretReferenceTreeV4400JSONResponseBodyStatusCode = 400+)- // Scope The GitHub scope that secrets should be synced to- Scope GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope `json:"scope"`- SelectedRepositoryIds *[]float32 `json:"selectedRepositoryIds,omitempty"`- Visibility GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility `json:"visibility"`+// Valid indicates whether the value is a known member of the GetSecretReferenceTreeV4400JSONResponseBodyStatusCode enum.+func (e GetSecretReferenceTreeV4400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretReferenceTreeV4400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }}-// GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope defines parameters for GetGitHubSecretSync.-type GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope string--// GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility defines parameters for GetGitHubSecretSync.-type GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility string+// Defines values for GetSecretReferenceTreeV4401JSONResponseBodyStatusCode.+const (+ GetSecretReferenceTreeV4401JSONResponseBodyStatusCodeN401 GetSecretReferenceTreeV4401JSONResponseBodyStatusCode = 401+)-// GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 defines parameters for GetGitHubSecretSync.-type GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 struct {- // Owner The name of the GitHub account owner of the repository.- Owner string `json:"owner"`+// Valid indicates whether the value is a known member of the GetSecretReferenceTreeV4401JSONResponseBodyStatusCode enum.+func (e GetSecretReferenceTreeV4401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretReferenceTreeV4401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}- // Repo The name of the GitHub repository.- Repo string `json:"repo"`+// Defines values for GetSecretReferenceTreeV4403JSONResponseBodyStatusCode.+const (+ GetSecretReferenceTreeV4403JSONResponseBodyStatusCodeN403 GetSecretReferenceTreeV4403JSONResponseBodyStatusCode = 403+)- // Scope The GitHub scope that secrets should be synced to- Scope GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope `json:"scope"`+// Valid indicates whether the value is a known member of the GetSecretReferenceTreeV4403JSONResponseBodyStatusCode enum.+func (e GetSecretReferenceTreeV4403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretReferenceTreeV4403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }}-// GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope defines parameters for GetGitHubSecretSync.-type GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope string+// Defines values for GetSecretReferenceTreeV4404JSONResponseBodyStatusCode.+const (+ GetSecretReferenceTreeV4404JSONResponseBodyStatusCodeN404 GetSecretReferenceTreeV4404JSONResponseBodyStatusCode = 404+)-// GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 defines parameters for GetGitHubSecretSync.-type GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 struct {- // Env The name of the GitHub environment.- Env string `json:"env"`-- // Owner The name of the GitHub account owner of the repository.- Owner string `json:"owner"`+// Valid indicates whether the value is a known member of the GetSecretReferenceTreeV4404JSONResponseBodyStatusCode enum.+func (e GetSecretReferenceTreeV4404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretReferenceTreeV4404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}- // Repo The name of the GitHub repository.- Repo string `json:"repo"`+// Defines values for GetSecretReferenceTreeV4422JSONResponseBodyStatusCode.+const (+ GetSecretReferenceTreeV4422JSONResponseBodyStatusCodeN422 GetSecretReferenceTreeV4422JSONResponseBodyStatusCode = 422+)- // Scope The GitHub scope that secrets should be synced to- Scope GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope `json:"scope"`+// Valid indicates whether the value is a known member of the GetSecretReferenceTreeV4422JSONResponseBodyStatusCode enum.+func (e GetSecretReferenceTreeV4422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretReferenceTreeV4422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }}-// GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope defines parameters for GetGitHubSecretSync.-type GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope string+// Defines values for GetSecretReferenceTreeV4500JSONResponseBodyStatusCode.+const (+ GetSecretReferenceTreeV4500JSONResponseBodyStatusCodeN500 GetSecretReferenceTreeV4500JSONResponseBodyStatusCode = 500+)-// GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig defines parameters for GetGitHubSecretSync.-type GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the GetSecretReferenceTreeV4500JSONResponseBodyStatusCode enum.+func (e GetSecretReferenceTreeV4500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretReferenceTreeV4500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }}-// GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior defines parameters for GetGitHubSecretSync.-type GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior string+// GetInstanceStatus400JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.+type GetInstanceStatus400JSONResponseBodyStatusCode float32-// GetGitHubSecretSync400JSONResponseBodyStatusCode defines parameters for GetGitHubSecretSync.-type GetGitHubSecretSync400JSONResponseBodyStatusCode float32+// GetInstanceStatus401JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.+type GetInstanceStatus401JSONResponseBodyStatusCode float32-// GetGitHubSecretSync401JSONResponseBodyStatusCode defines parameters for GetGitHubSecretSync.-type GetGitHubSecretSync401JSONResponseBodyStatusCode float32+// GetInstanceStatus403JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.+type GetInstanceStatus403JSONResponseBodyStatusCode float32-// GetGitHubSecretSync403JSONResponseBodyStatusCode defines parameters for GetGitHubSecretSync.-type GetGitHubSecretSync403JSONResponseBodyStatusCode float32+// GetInstanceStatus404JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.+type GetInstanceStatus404JSONResponseBodyStatusCode float32-// GetGitHubSecretSync404JSONResponseBodyStatusCode defines parameters for GetGitHubSecretSync.-type GetGitHubSecretSync404JSONResponseBodyStatusCode float32+// GetInstanceStatus422JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.+type GetInstanceStatus422JSONResponseBodyStatusCode float32-// GetGitHubSecretSync422JSONResponseBodyStatusCode defines parameters for GetGitHubSecretSync.-type GetGitHubSecretSync422JSONResponseBodyStatusCode float32+// GetInstanceStatus500JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.+type GetInstanceStatus500JSONResponseBodyStatusCode float32-// GetGitHubSecretSync500JSONResponseBodyStatusCode defines parameters for GetGitHubSecretSync.-type GetGitHubSecretSync500JSONResponseBodyStatusCode float32+// AdminBootstrapJSONBody defines parameters for AdminBootstrap.+type AdminBootstrapJSONBody struct {+ Email openapi_types.Email `json:"email"`+ Organization string `json:"organization"`+ Password string `json:"password"`+}-// RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp defines parameters for RemoveGitHubSecretSyncSecrets.-type RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp string+// AdminBootstrap400JSONResponseBodyStatusCode defines parameters for AdminBootstrap.+type AdminBootstrap400JSONResponseBodyStatusCode float32-// RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination defines parameters for RemoveGitHubSecretSyncSecrets.-type RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination string+// AdminBootstrap401JSONResponseBodyStatusCode defines parameters for AdminBootstrap.+type AdminBootstrap401JSONResponseBodyStatusCode float32-// RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0 defines parameters for RemoveGitHubSecretSyncSecrets.-type RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0 struct {- // Org The name of the GitHub organization.- Org string `json:"org"`+// AdminBootstrap403JSONResponseBodyStatusCode defines parameters for AdminBootstrap.+type AdminBootstrap403JSONResponseBodyStatusCode float32- // Scope The GitHub scope that secrets should be synced to- Scope RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Scope `json:"scope"`- SelectedRepositoryIds *[]float32 `json:"selectedRepositoryIds,omitempty"`- Visibility RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility `json:"visibility"`-}+// AdminBootstrap404JSONResponseBodyStatusCode defines parameters for AdminBootstrap.+type AdminBootstrap404JSONResponseBodyStatusCode float32-// RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Scope defines parameters for RemoveGitHubSecretSyncSecrets.-type RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Scope string+// AdminBootstrap422JSONResponseBodyStatusCode defines parameters for AdminBootstrap.+type AdminBootstrap422JSONResponseBodyStatusCode float32-// RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility defines parameters for RemoveGitHubSecretSyncSecrets.-type RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility string+// AdminBootstrap500JSONResponseBodyStatusCode defines parameters for AdminBootstrap.+type AdminBootstrap500JSONResponseBodyStatusCode float32-// RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1 defines parameters for RemoveGitHubSecretSyncSecrets.-type RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1 struct {- // Owner The name of the GitHub account owner of the repository.- Owner string `json:"owner"`+// UpdateAdminConfigJSONBody defines parameters for UpdateAdminConfig.+type UpdateAdminConfigJSONBody struct {+ AllowSignUp *bool `json:"allowSignUp,omitempty"`+ AllowedSignUpDomain *string `json:"allowedSignUpDomain,omitempty"`+ AuthConsentContent *string `json:"authConsentContent,omitempty"`+ DefaultAuthOrgId *string `json:"defaultAuthOrgId,omitempty"`+ EnabledLoginMethods *[]UpdateAdminConfigJSONBodyEnabledLoginMethods `json:"enabledLoginMethods,omitempty"`+ EnvOverrides *struct {+ CLIENTGITLABLOGINURL string `json:"CLIENT_GITLAB_LOGIN_URL"`+ CLIENTIDGITHUBLOGIN string `json:"CLIENT_ID_GITHUB_LOGIN"`+ CLIENTIDGITLABLOGIN string `json:"CLIENT_ID_GITLAB_LOGIN"`+ CLIENTIDGOOGLELOGIN string `json:"CLIENT_ID_GOOGLE_LOGIN"`+ CLIENTSECRETGITHUBLOGIN string `json:"CLIENT_SECRET_GITHUB_LOGIN"`+ CLIENTSECRETGITLABLOGIN string `json:"CLIENT_SECRET_GITLAB_LOGIN"`+ CLIENTSECRETGOOGLELOGIN string `json:"CLIENT_SECRET_GOOGLE_LOGIN"`+ DISABLEAUDITLOGSTORAGE string `json:"DISABLE_AUDIT_LOG_STORAGE"`+ DISABLEPOSTGRESAUDITLOGSTORAGE string `json:"DISABLE_POSTGRES_AUDIT_LOG_STORAGE"`+ DISABLEPUBLICSECRETSHARING string `json:"DISABLE_PUBLIC_SECRET_SHARING"`+ INFAPPCONNECTIONAWSACCESSKEYID string `json:"INF_APP_CONNECTION_AWS_ACCESS_KEY_ID"`+ INFAPPCONNECTIONAWSSECRETACCESSKEY string `json:"INF_APP_CONNECTION_AWS_SECRET_ACCESS_KEY"`+ INFAPPCONNECTIONAZUREAPPCONFIGURATIONCLIENTID string `json:"INF_APP_CONNECTION_AZURE_APP_CONFIGURATION_CLIENT_ID"`+ INFAPPCONNECTIONAZUREAPPCONFIGURATIONCLIENTSECRET string `json:"INF_APP_CONNECTION_AZURE_APP_CONFIGURATION_CLIENT_SECRET"`+ INFAPPCONNECTIONAZURECLIENTSECRETSCLIENTID string `json:"INF_APP_CONNECTION_AZURE_CLIENT_SECRETS_CLIENT_ID"`+ INFAPPCONNECTIONAZURECLIENTSECRETSCLIENTSECRET string `json:"INF_APP_CONNECTION_AZURE_CLIENT_SECRETS_CLIENT_SECRET"`+ INFAPPCONNECTIONAZUREDEVOPSCLIENTID string `json:"INF_APP_CONNECTION_AZURE_DEVOPS_CLIENT_ID"`+ INFAPPCONNECTIONAZUREDEVOPSCLIENTSECRET string `json:"INF_APP_CONNECTION_AZURE_DEVOPS_CLIENT_SECRET"`+ INFAPPCONNECTIONAZUREKEYVAULTCLIENTID string `json:"INF_APP_CONNECTION_AZURE_KEY_VAULT_CLIENT_ID"`+ INFAPPCONNECTIONAZUREKEYVAULTCLIENTSECRET string `json:"INF_APP_CONNECTION_AZURE_KEY_VAULT_CLIENT_SECRET"`+ INFAPPCONNECTIONGCPSERVICEACCOUNTCREDENTIAL string `json:"INF_APP_CONNECTION_GCP_SERVICE_ACCOUNT_CREDENTIAL"`+ INFAPPCONNECTIONGITHUBAPPCLIENTID string `json:"INF_APP_CONNECTION_GITHUB_APP_CLIENT_ID"`+ INFAPPCONNECTIONGITHUBAPPCLIENTSECRET string `json:"INF_APP_CONNECTION_GITHUB_APP_CLIENT_SECRET"`+ INFAPPCONNECTIONGITHUBAPPHOST string `json:"INF_APP_CONNECTION_GITHUB_APP_HOST"`+ INFAPPCONNECTIONGITHUBAPPID string `json:"INF_APP_CONNECTION_GITHUB_APP_ID"`+ INFAPPCONNECTIONGITHUBAPPPRIVATEKEY string `json:"INF_APP_CONNECTION_GITHUB_APP_PRIVATE_KEY"`+ INFAPPCONNECTIONGITHUBAPPSLUG string `json:"INF_APP_CONNECTION_GITHUB_APP_SLUG"`+ INFAPPCONNECTIONGITHUBOAUTHCLIENTID string `json:"INF_APP_CONNECTION_GITHUB_OAUTH_CLIENT_ID"`+ INFAPPCONNECTIONGITHUBOAUTHCLIENTSECRET string `json:"INF_APP_CONNECTION_GITHUB_OAUTH_CLIENT_SECRET"`+ INFAPPCONNECTIONGITHUBRADARAPPCLIENTID string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_CLIENT_ID"`+ INFAPPCONNECTIONGITHUBRADARAPPCLIENTSECRET string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_CLIENT_SECRET"`+ INFAPPCONNECTIONGITHUBRADARAPPID string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_ID"`+ INFAPPCONNECTIONGITHUBRADARAPPPRIVATEKEY string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_PRIVATE_KEY"`+ INFAPPCONNECTIONGITHUBRADARAPPSLUG string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_SLUG"`+ INFAPPCONNECTIONGITHUBRADARAPPWEBHOOKSECRET string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_WEBHOOK_SECRET"`+ INFAPPCONNECTIONGITLABOAUTHCLIENTID string `json:"INF_APP_CONNECTION_GITLAB_OAUTH_CLIENT_ID"`+ INFAPPCONNECTIONGITLABOAUTHCLIENTSECRET string `json:"INF_APP_CONNECTION_GITLAB_OAUTH_CLIENT_SECRET"`+ INFAPPCONNECTIONHEROKUOAUTHCLIENTID string `json:"INF_APP_CONNECTION_HEROKU_OAUTH_CLIENT_ID"`+ INFAPPCONNECTIONHEROKUOAUTHCLIENTSECRET string `json:"INF_APP_CONNECTION_HEROKU_OAUTH_CLIENT_SECRET"`+ INFAPPCONNECTIONSTRIPEOAUTHAUTHORIZEURL string `json:"INF_APP_CONNECTION_STRIPE_OAUTH_AUTHORIZE_URL"`+ INFAPPCONNECTIONSTRIPEOAUTHCLIENTID string `json:"INF_APP_CONNECTION_STRIPE_OAUTH_CLIENT_ID"`+ INFAPPCONNECTIONSTRIPESECRETKEY string `json:"INF_APP_CONNECTION_STRIPE_SECRET_KEY"`+ } `json:"envOverrides,omitempty"`+ GitHubAppConnectionClientId *string `json:"gitHubAppConnectionClientId,omitempty"`+ GitHubAppConnectionClientSecret *string `json:"gitHubAppConnectionClientSecret,omitempty"`+ GitHubAppConnectionId *string `json:"gitHubAppConnectionId,omitempty"`+ GitHubAppConnectionPrivateKey *string `json:"gitHubAppConnectionPrivateKey,omitempty"`+ GitHubAppConnectionSlug *string `json:"gitHubAppConnectionSlug,omitempty"`+ MicrosoftTeamsAppId *string `json:"microsoftTeamsAppId,omitempty"`+ MicrosoftTeamsBotId *string `json:"microsoftTeamsBotId,omitempty"`+ MicrosoftTeamsClientSecret *string `json:"microsoftTeamsClientSecret,omitempty"`+ OnboardingCompleted *bool `json:"onboardingCompleted,omitempty"`+ PageFrameContent *string `json:"pageFrameContent,omitempty"`+ SlackClientId *string `json:"slackClientId,omitempty"`+ SlackClientSecret *string `json:"slackClientSecret,omitempty"`+ TrustLdapEmails *bool `json:"trustLdapEmails,omitempty"`+}- // Repo The name of the GitHub repository.- Repo string `json:"repo"`+// UpdateAdminConfigJSONBodyEnabledLoginMethods defines parameters for UpdateAdminConfig.+type UpdateAdminConfigJSONBodyEnabledLoginMethods string- // Scope The GitHub scope that secrets should be synced to- Scope RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1Scope `json:"scope"`-}+// UpdateAdminConfig400JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.+type UpdateAdminConfig400JSONResponseBodyStatusCode float32-// RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1Scope defines parameters for RemoveGitHubSecretSyncSecrets.-type RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1Scope string+// UpdateAdminConfig401JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.+type UpdateAdminConfig401JSONResponseBodyStatusCode float32-// RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2 defines parameters for RemoveGitHubSecretSyncSecrets.-type RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2 struct {- // Env The name of the GitHub environment.- Env string `json:"env"`+// UpdateAdminConfig403JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.+type UpdateAdminConfig403JSONResponseBodyStatusCode float32- // Owner The name of the GitHub account owner of the repository.- Owner string `json:"owner"`+// UpdateAdminConfig404JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.+type UpdateAdminConfig404JSONResponseBodyStatusCode float32- // Repo The name of the GitHub repository.- Repo string `json:"repo"`+// UpdateAdminConfig422JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.+type UpdateAdminConfig422JSONResponseBodyStatusCode float32- // Scope The GitHub scope that secrets should be synced to- Scope RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2Scope `json:"scope"`-}+// UpdateAdminConfig500JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.+type UpdateAdminConfig500JSONResponseBodyStatusCode float32-// RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2Scope defines parameters for RemoveGitHubSecretSyncSecrets.-type RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2Scope string+// CreateGitHubAppConnectionJSONBody defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody struct {+ // Description An optional description for the GitHub Connection.+ Description *string `json:"description,omitempty"`-// RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig defines parameters for RemoveGitHubSecretSyncSecrets.-type RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig struct {- union json.RawMessage-}+ // GatewayId The Gateway ID to use for this connection.+ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`-// RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior defines parameters for RemoveGitHubSecretSyncSecrets.-type RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior string+ // GatewayPoolId The Gateway Pool ID to use for this connection.+ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`-// RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode defines parameters for RemoveGitHubSecretSyncSecrets.-type RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode float32+ // IsAutoRotationEnabled Not supported for GitHub Connections.+ IsAutoRotationEnabled *CreateGitHubAppConnectionJSONBodyIsAutoRotationEnabled `json:"isAutoRotationEnabled,omitempty"`-// RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode defines parameters for RemoveGitHubSecretSyncSecrets.-type RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode float32+ // IsPlatformManagedCredentials Not supported for GitHub Connections.+ IsPlatformManagedCredentials *CreateGitHubAppConnectionJSONBodyIsPlatformManagedCredentials `json:"isPlatformManagedCredentials,omitempty"`-// RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode defines parameters for RemoveGitHubSecretSyncSecrets.-type RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode float32+ // Name The name of the GitHub Connection to create. Must be slug-friendly.+ Name string `json:"name"`-// RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode defines parameters for RemoveGitHubSecretSyncSecrets.-type RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode float32+ // ProjectId The ID of the project to create the GitHub Connection in.+ ProjectId *string `json:"projectId,omitempty"`-// RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode defines parameters for RemoveGitHubSecretSyncSecrets.-type RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode float32+ // Rotation Not supported for GitHub Connections.+ Rotation *CreateGitHubAppConnectionJSONBody_Rotation `json:"rotation,omitempty"`+ union json.RawMessage+}-// RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode defines parameters for RemoveGitHubSecretSyncSecrets.-type RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode float32+// CreateGitHubAppConnectionJSONBodyIsAutoRotationEnabled defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBodyIsAutoRotationEnabled bool-// SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp defines parameters for SyncGitHubSecretSync.-type SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp string+// CreateGitHubAppConnectionJSONBodyIsPlatformManagedCredentials defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBodyIsPlatformManagedCredentials bool-// SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination defines parameters for SyncGitHubSecretSync.-type SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination string+// CreateGitHubAppConnectionJSONBodyRotation0 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBodyRotation0 = interface{}-// SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 defines parameters for SyncGitHubSecretSync.-type SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 struct {- // Org The name of the GitHub organization.- Org string `json:"org"`+// CreateGitHubAppConnectionJSONBodyRotation1 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBodyRotation1 = interface{}- // Scope The GitHub scope that secrets should be synced to- Scope SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope `json:"scope"`- SelectedRepositoryIds *[]float32 `json:"selectedRepositoryIds,omitempty"`- Visibility SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility `json:"visibility"`+// CreateGitHubAppConnectionJSONBody_Rotation defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody_Rotation struct {+ union json.RawMessage}-// SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope defines parameters for SyncGitHubSecretSync.-type SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope string--// SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility defines parameters for SyncGitHubSecretSync.-type SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility string--// SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 defines parameters for SyncGitHubSecretSync.-type SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 struct {- // Owner The name of the GitHub account owner of the repository.- Owner string `json:"owner"`-- // Repo The name of the GitHub repository.- Repo string `json:"repo"`+// CreateGitHubAppConnectionJSONBody0 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody0 struct {+ // Credentials The credentials used to connect with GitHub.+ Credentials CreateGitHubAppConnectionJSONBody_0_Credentials `json:"credentials"`- // Scope The GitHub scope that secrets should be synced to- Scope SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope `json:"scope"`+ // Method The method used to authenticate with GitHub.+ Method CreateGitHubAppConnectionJSONBody0Method `json:"method"`}-// SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope defines parameters for SyncGitHubSecretSync.-type SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope string--// SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 defines parameters for SyncGitHubSecretSync.-type SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 struct {- // Env The name of the GitHub environment.- Env string `json:"env"`-- // Owner The name of the GitHub account owner of the repository.- Owner string `json:"owner"`+// CreateGitHubAppConnectionJSONBody0Credentials0 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody0Credentials0 struct {+ Code string `json:"code"`+ GitHubAppId *openapi_types.UUID `json:"gitHubAppId,omitempty"`+ Host string `json:"host"`+ InstallationId string `json:"installationId"`+ InstanceType CreateGitHubAppConnectionJSONBody0Credentials0InstanceType `json:"instanceType"`+}- // Repo The name of the GitHub repository.- Repo string `json:"repo"`+// CreateGitHubAppConnectionJSONBody0Credentials0InstanceType defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody0Credentials0InstanceType string- // Scope The GitHub scope that secrets should be synced to- Scope SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope `json:"scope"`+// CreateGitHubAppConnectionJSONBody0Credentials1 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody0Credentials1 struct {+ Code string `json:"code"`+ GitHubAppId *openapi_types.UUID `json:"gitHubAppId,omitempty"`+ Host *string `json:"host,omitempty"`+ InstallationId string `json:"installationId"`+ InstanceType *CreateGitHubAppConnectionJSONBody0Credentials1InstanceType `json:"instanceType,omitempty"`}-// SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope defines parameters for SyncGitHubSecretSync.-type SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope string+// CreateGitHubAppConnectionJSONBody0Credentials1InstanceType defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody0Credentials1InstanceType string-// SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig defines parameters for SyncGitHubSecretSync.-type SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig struct {+// CreateGitHubAppConnectionJSONBody_0_Credentials defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody_0_Credentials struct {union json.RawMessage}-// SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior defines parameters for SyncGitHubSecretSync.-type SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior string+// CreateGitHubAppConnectionJSONBody0Method defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody0Method string-// SyncGitHubSecretSync400JSONResponseBodyStatusCode defines parameters for SyncGitHubSecretSync.-type SyncGitHubSecretSync400JSONResponseBodyStatusCode float32+// CreateGitHubAppConnectionJSONBody1 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody1 struct {+ // Credentials The credentials used to connect with GitHub.+ Credentials CreateGitHubAppConnectionJSONBody_1_Credentials `json:"credentials"`-// SyncGitHubSecretSync401JSONResponseBodyStatusCode defines parameters for SyncGitHubSecretSync.-type SyncGitHubSecretSync401JSONResponseBodyStatusCode float32+ // Method The method used to authenticate with GitHub.+ Method CreateGitHubAppConnectionJSONBody1Method `json:"method"`+}-// SyncGitHubSecretSync403JSONResponseBodyStatusCode defines parameters for SyncGitHubSecretSync.-type SyncGitHubSecretSync403JSONResponseBodyStatusCode float32+// CreateGitHubAppConnectionJSONBody1Credentials0 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody1Credentials0 struct {+ Code string `json:"code"`+ Host string `json:"host"`+ InstanceType CreateGitHubAppConnectionJSONBody1Credentials0InstanceType `json:"instanceType"`+}-// SyncGitHubSecretSync404JSONResponseBodyStatusCode defines parameters for SyncGitHubSecretSync.-type SyncGitHubSecretSync404JSONResponseBodyStatusCode float32+// CreateGitHubAppConnectionJSONBody1Credentials0InstanceType defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody1Credentials0InstanceType string-// SyncGitHubSecretSync422JSONResponseBodyStatusCode defines parameters for SyncGitHubSecretSync.-type SyncGitHubSecretSync422JSONResponseBodyStatusCode float32+// CreateGitHubAppConnectionJSONBody1Credentials1 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody1Credentials1 struct {+ Code string `json:"code"`+ Host *string `json:"host,omitempty"`+ InstanceType *CreateGitHubAppConnectionJSONBody1Credentials1InstanceType `json:"instanceType,omitempty"`+}-// SyncGitHubSecretSync500JSONResponseBodyStatusCode defines parameters for SyncGitHubSecretSync.-type SyncGitHubSecretSync500JSONResponseBodyStatusCode float32+// CreateGitHubAppConnectionJSONBody1Credentials1InstanceType defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody1Credentials1InstanceType string-// CreateOrganizationJSONBody defines parameters for CreateOrganization.-type CreateOrganizationJSONBody struct {- Name string `json:"name"`+// CreateGitHubAppConnectionJSONBody_1_Credentials defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody_1_Credentials struct {+ union json.RawMessage}-// CreateOrganization400JSONResponseBodyStatusCode defines parameters for CreateOrganization.-type CreateOrganization400JSONResponseBodyStatusCode float32+// CreateGitHubAppConnectionJSONBody1Method defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody1Method string-// CreateOrganization401JSONResponseBodyStatusCode defines parameters for CreateOrganization.-type CreateOrganization401JSONResponseBodyStatusCode float32+// CreateGitHubAppConnectionJSONBody2 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody2 struct {+ // Credentials The credentials used to connect with GitHub.+ Credentials CreateGitHubAppConnectionJSONBody_2_Credentials `json:"credentials"`-// CreateOrganization403JSONResponseBodyStatusCode defines parameters for CreateOrganization.-type CreateOrganization403JSONResponseBodyStatusCode float32+ // Method The method used to authenticate with GitHub.+ Method CreateGitHubAppConnectionJSONBody2Method `json:"method"`+}-// CreateOrganization404JSONResponseBodyStatusCode defines parameters for CreateOrganization.-type CreateOrganization404JSONResponseBodyStatusCode float32+// CreateGitHubAppConnectionJSONBody2Credentials0 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody2Credentials0 struct {+ Host string `json:"host"`+ InstanceType CreateGitHubAppConnectionJSONBody2Credentials0InstanceType `json:"instanceType"`+ PersonalAccessToken string `json:"personalAccessToken"`+}-// CreateOrganization422JSONResponseBodyStatusCode defines parameters for CreateOrganization.-type CreateOrganization422JSONResponseBodyStatusCode float32+// CreateGitHubAppConnectionJSONBody2Credentials0InstanceType defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody2Credentials0InstanceType string-// CreateOrganization500JSONResponseBodyStatusCode defines parameters for CreateOrganization.-type CreateOrganization500JSONResponseBodyStatusCode float32+// CreateGitHubAppConnectionJSONBody2Credentials1 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody2Credentials1 struct {+ Host *string `json:"host,omitempty"`+ InstanceType *CreateGitHubAppConnectionJSONBody2Credentials1InstanceType `json:"instanceType,omitempty"`+ PersonalAccessToken string `json:"personalAccessToken"`+}-// DeleteOrganization400JSONResponseBodyStatusCode defines parameters for DeleteOrganization.-type DeleteOrganization400JSONResponseBodyStatusCode float32+// CreateGitHubAppConnectionJSONBody2Credentials1InstanceType defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody2Credentials1InstanceType string-// DeleteOrganization401JSONResponseBodyStatusCode defines parameters for DeleteOrganization.-type DeleteOrganization401JSONResponseBodyStatusCode float32+// CreateGitHubAppConnectionJSONBody_2_Credentials defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody_2_Credentials struct {+ union json.RawMessage+}-// DeleteOrganization403JSONResponseBodyStatusCode defines parameters for DeleteOrganization.-type DeleteOrganization403JSONResponseBodyStatusCode float32+// CreateGitHubAppConnectionJSONBody2Method defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody2Method string-// DeleteOrganization404JSONResponseBodyStatusCode defines parameters for DeleteOrganization.-type DeleteOrganization404JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection200JSONResponseBodyAppConnection0 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection0 struct {+ App CreateGitHubAppConnection200JSONResponseBodyAppConnection0App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials struct {+ GitHubAppId *openapi_types.UUID `json:"gitHubAppId,omitempty"`+ Host *string `json:"host,omitempty"`+ InstanceType *CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType `json:"instanceType,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 CreateGitHubAppConnection200JSONResponseBodyAppConnection0Method `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"`-// DeleteOrganization422JSONResponseBodyStatusCode defines parameters for DeleteOrganization.-type DeleteOrganization422JSONResponseBodyStatusCode float32+ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`-// DeleteOrganization500JSONResponseBodyStatusCode defines parameters for DeleteOrganization.-type DeleteOrganization500JSONResponseBodyStatusCode float32+ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`-// LoginV3JSONBody defines parameters for LoginV3.-type LoginV3JSONBody struct {- CaptchaToken *string `json:"captchaToken,omitempty"`- Email string `json:"email"`- Password string `json:"password"`-}+ // 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"`-// LoginV3400JSONResponseBodyStatusCode defines parameters for LoginV3.-type LoginV3400JSONResponseBodyStatusCode float32+ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`-// LoginV3401JSONResponseBodyStatusCode defines parameters for LoginV3.-type LoginV3401JSONResponseBodyStatusCode float32+ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`-// LoginV3403JSONResponseBodyStatusCode defines parameters for LoginV3.-type LoginV3403JSONResponseBodyStatusCode float32+ // RotationStatus The status of the last rotation attempt.+ RotationStatus CreateGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+}-// LoginV3404JSONResponseBodyStatusCode defines parameters for LoginV3.-type LoginV3404JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection200JSONResponseBodyAppConnection0App defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection0App string-// LoginV3422JSONResponseBodyStatusCode defines parameters for LoginV3.-type LoginV3422JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 string-// LoginV3500JSONResponseBodyStatusCode defines parameters for LoginV3.-type LoginV3500JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 string-// SelectOrganizationV3JSONBody defines parameters for SelectOrganizationV3.-type SelectOrganizationV3JSONBody struct {- OrganizationId string `json:"organizationId"`- UserAgent *SelectOrganizationV3JSONBodyUserAgent `json:"userAgent,omitempty"`+// CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType struct {+ union json.RawMessage}-// SelectOrganizationV3JSONBodyUserAgent defines parameters for SelectOrganizationV3.-type SelectOrganizationV3JSONBodyUserAgent string--// SelectOrganizationV3400JSONResponseBodyStatusCode defines parameters for SelectOrganizationV3.-type SelectOrganizationV3400JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection200JSONResponseBodyAppConnection0Method defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection0Method string-// SelectOrganizationV3401JSONResponseBodyStatusCode defines parameters for SelectOrganizationV3.-type SelectOrganizationV3401JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus string-// SelectOrganizationV3403JSONResponseBodyStatusCode defines parameters for SelectOrganizationV3.-type SelectOrganizationV3403JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection200JSONResponseBodyAppConnection1 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection1 struct {+ App CreateGitHubAppConnection200JSONResponseBodyAppConnection1App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials struct {+ Host *string `json:"host,omitempty"`+ InstanceType *CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType `json:"instanceType,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 CreateGitHubAppConnection200JSONResponseBodyAppConnection1Method `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"`-// SelectOrganizationV3404JSONResponseBodyStatusCode defines parameters for SelectOrganizationV3.-type SelectOrganizationV3404JSONResponseBodyStatusCode float32+ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`-// SelectOrganizationV3422JSONResponseBodyStatusCode defines parameters for SelectOrganizationV3.-type SelectOrganizationV3422JSONResponseBodyStatusCode float32+ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`-// SelectOrganizationV3500JSONResponseBodyStatusCode defines parameters for SelectOrganizationV3.-type SelectOrganizationV3500JSONResponseBodyStatusCode float32+ // 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"`-// CompleteAccountSignupV3JSONBody defines parameters for CompleteAccountSignupV3.-type CompleteAccountSignupV3JSONBody struct {- union json.RawMessage-}+ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`-// CompleteAccountSignupV3JSONBody0 defines parameters for CompleteAccountSignupV3.-type CompleteAccountSignupV3JSONBody0 struct {- AttributionSource *string `json:"attributionSource,omitempty"`- Email string `json:"email"`- FirstName string `json:"firstName"`- HubspotUtk *string `json:"hubspotUtk,omitempty"`- LastName *string `json:"lastName,omitempty"`- OrganizationName *string `json:"organizationName,omitempty"`- Password string `json:"password"`- Type CompleteAccountSignupV3JSONBody0Type `json:"type"`+ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`++ // RotationStatus The status of the last rotation attempt.+ RotationStatus CreateGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`}-// CompleteAccountSignupV3JSONBody0Type defines parameters for CompleteAccountSignupV3.-type CompleteAccountSignupV3JSONBody0Type string+// CreateGitHubAppConnection200JSONResponseBodyAppConnection1App defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection1App string-// CompleteAccountSignupV3JSONBody1 defines parameters for CompleteAccountSignupV3.-type CompleteAccountSignupV3JSONBody1 struct {- Code string `json:"code"`- HubspotUtk *string `json:"hubspotUtk,omitempty"`- Type CompleteAccountSignupV3JSONBody1Type `json:"type"`-}+// CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 string-// CompleteAccountSignupV3JSONBody1Type defines parameters for CompleteAccountSignupV3.-type CompleteAccountSignupV3JSONBody1Type string+// CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 string-// CompleteAccountSignupV3400JSONResponseBodyStatusCode defines parameters for CompleteAccountSignupV3.-type CompleteAccountSignupV3400JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType struct {+ union json.RawMessage+}-// CompleteAccountSignupV3401JSONResponseBodyStatusCode defines parameters for CompleteAccountSignupV3.-type CompleteAccountSignupV3401JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection200JSONResponseBodyAppConnection1Method defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection1Method string-// CompleteAccountSignupV3403JSONResponseBodyStatusCode defines parameters for CompleteAccountSignupV3.-type CompleteAccountSignupV3403JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus string-// CompleteAccountSignupV3404JSONResponseBodyStatusCode defines parameters for CompleteAccountSignupV3.-type CompleteAccountSignupV3404JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection200JSONResponseBodyAppConnection2 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection2 struct {+ App CreateGitHubAppConnection200JSONResponseBodyAppConnection2App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials struct {+ Host *string `json:"host,omitempty"`+ InstanceType *CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType `json:"instanceType,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 CreateGitHubAppConnection200JSONResponseBodyAppConnection2Method `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"`-// CompleteAccountSignupV3422JSONResponseBodyStatusCode defines parameters for CompleteAccountSignupV3.-type CompleteAccountSignupV3422JSONResponseBodyStatusCode float32+ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`-// CompleteAccountSignupV3500JSONResponseBodyStatusCode defines parameters for CompleteAccountSignupV3.-type CompleteAccountSignupV3500JSONResponseBodyStatusCode float32+ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`-// BeginEmailSignupV3JSONBody defines parameters for BeginEmailSignupV3.-type BeginEmailSignupV3JSONBody struct {- CaptchaToken *string `json:"captchaToken,omitempty"`- Email openapi_types.Email `json:"email"`-}+ // 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"`-// BeginEmailSignupV3400JSONResponseBodyStatusCode defines parameters for BeginEmailSignupV3.-type BeginEmailSignupV3400JSONResponseBodyStatusCode float32+ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`-// BeginEmailSignupV3401JSONResponseBodyStatusCode defines parameters for BeginEmailSignupV3.-type BeginEmailSignupV3401JSONResponseBodyStatusCode float32+ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`-// BeginEmailSignupV3403JSONResponseBodyStatusCode defines parameters for BeginEmailSignupV3.-type BeginEmailSignupV3403JSONResponseBodyStatusCode float32+ // RotationStatus The status of the last rotation attempt.+ RotationStatus CreateGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+}-// BeginEmailSignupV3404JSONResponseBodyStatusCode defines parameters for BeginEmailSignupV3.-type BeginEmailSignupV3404JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection200JSONResponseBodyAppConnection2App defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection2App string-// BeginEmailSignupV3422JSONResponseBodyStatusCode defines parameters for BeginEmailSignupV3.-type BeginEmailSignupV3422JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 string-// BeginEmailSignupV3500JSONResponseBodyStatusCode defines parameters for BeginEmailSignupV3.-type BeginEmailSignupV3500JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 string-// VerifyEmailSignupV3JSONBody defines parameters for VerifyEmailSignupV3.-type VerifyEmailSignupV3JSONBody struct {- Code string `json:"code"`- Email openapi_types.Email `json:"email"`+// CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType struct {+ union json.RawMessage}-// VerifyEmailSignupV3400JSONResponseBodyStatusCode defines parameters for VerifyEmailSignupV3.-type VerifyEmailSignupV3400JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection200JSONResponseBodyAppConnection2Method defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection2Method string-// VerifyEmailSignupV3401JSONResponseBodyStatusCode defines parameters for VerifyEmailSignupV3.-type VerifyEmailSignupV3401JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus string-// VerifyEmailSignupV3403JSONResponseBodyStatusCode defines parameters for VerifyEmailSignupV3.-type VerifyEmailSignupV3403JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection200JSONResponseBody_AppConnection defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBody_AppConnection struct {+ union json.RawMessage+}-// VerifyEmailSignupV3404JSONResponseBodyStatusCode defines parameters for VerifyEmailSignupV3.-type VerifyEmailSignupV3404JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection400JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection400JSONResponseBodyStatusCode float32-// VerifyEmailSignupV3422JSONResponseBodyStatusCode defines parameters for VerifyEmailSignupV3.-type VerifyEmailSignupV3422JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection401JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection401JSONResponseBodyStatusCode float32-// VerifyEmailSignupV3500JSONResponseBodyStatusCode defines parameters for VerifyEmailSignupV3.-type VerifyEmailSignupV3500JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection403JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection403JSONResponseBodyStatusCode float32-// ListSecretsV4Params defines parameters for ListSecretsV4.-type ListSecretsV4Params struct {- // MetadataFilter Unencrypted secret metadata key-value pairs used to filter secrets. Only metadata with unencrypted values is supported. When querying for multiple metadata pairs, the query is treated as an AND operation. Secret metadata format is key=value1,value=value2|key=value3,value=value4.- MetadataFilter *string `form:"metadataFilter,omitempty" json:"metadataFilter,omitempty"`+// CreateGitHubAppConnection404JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection404JSONResponseBodyStatusCode float32- // ProjectId The ID of the project to list secrets from.- ProjectId *string `form:"projectId,omitempty" json:"projectId,omitempty"`+// CreateGitHubAppConnection422JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection422JSONResponseBodyStatusCode float32- // Environment The slug of the environment to list secrets from.- Environment *string `form:"environment,omitempty" json:"environment,omitempty"`+// CreateGitHubAppConnection500JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection500JSONResponseBodyStatusCode float32- // SecretPath The secret path to list secrets from.- SecretPath *string `form:"secretPath,omitempty" json:"secretPath,omitempty"`+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0 defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0 struct {+ App DeleteGitHubAppConnection200JSONResponseBodyAppConnection0App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials struct {+ GitHubAppId *openapi_types.UUID `json:"gitHubAppId,omitempty"`+ Host *string `json:"host,omitempty"`+ InstanceType *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType `json:"instanceType,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 DeleteGitHubAppConnection200JSONResponseBodyAppConnection0Method `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"`- // ViewSecretValue Whether or not to retrieve the secret value.- ViewSecretValue *ListSecretsV4ParamsViewSecretValue `form:"viewSecretValue,omitempty" json:"viewSecretValue,omitempty"`+ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`- // ExpandSecretReferences Whether or not to expand secret references.- ExpandSecretReferences *ListSecretsV4ParamsExpandSecretReferences `form:"expandSecretReferences,omitempty" json:"expandSecretReferences,omitempty"`+ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`- // Recursive Whether or not to fetch all secrets from the specified base path, and all of its subdirectories. Note, the max depth is 20 deep.- Recursive *ListSecretsV4ParamsRecursive `form:"recursive,omitempty" json:"recursive,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"`- // IncludePersonalOverrides Whether or not to include personal secrets in the response. When enabled, personal secrets will be included in the response. Shared secrets will still be included, but personal secrets will take priority, and the corresponding shared secrets will be replaced with the personal secrets.- IncludePersonalOverrides *ListSecretsV4ParamsIncludePersonalOverrides `form:"includePersonalOverrides,omitempty" json:"includePersonalOverrides,omitempty"`+ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`- // IncludeImports Weather to include imported secrets or not.- IncludeImports *ListSecretsV4ParamsIncludeImports `form:"includeImports,omitempty" json:"includeImports,omitempty"`+ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`- // TagSlugs The comma separated tag slugs to filter secrets.- TagSlugs *string `form:"tagSlugs,omitempty" json:"tagSlugs,omitempty"`+ // RotationStatus The status of the last rotation attempt.+ RotationStatus DeleteGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`}-// ListSecretsV4ParamsViewSecretValue defines parameters for ListSecretsV4.-type ListSecretsV4ParamsViewSecretValue string--// ListSecretsV4ParamsExpandSecretReferences defines parameters for ListSecretsV4.-type ListSecretsV4ParamsExpandSecretReferences string--// ListSecretsV4ParamsRecursive defines parameters for ListSecretsV4.-type ListSecretsV4ParamsRecursive string+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0App defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0App string-// ListSecretsV4ParamsIncludePersonalOverrides defines parameters for ListSecretsV4.-type ListSecretsV4ParamsIncludePersonalOverrides string+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 string-// ListSecretsV4ParamsIncludeImports defines parameters for ListSecretsV4.-type ListSecretsV4ParamsIncludeImports string+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 string-// ListSecretsV4400JSONResponseBodyStatusCode defines parameters for ListSecretsV4.-type ListSecretsV4400JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType struct {+ union json.RawMessage+}-// ListSecretsV4401JSONResponseBodyStatusCode defines parameters for ListSecretsV4.-type ListSecretsV4401JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0Method defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0Method string-// ListSecretsV4403JSONResponseBodyStatusCode defines parameters for ListSecretsV4.-type ListSecretsV4403JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus string-// ListSecretsV4404JSONResponseBodyStatusCode defines parameters for ListSecretsV4.-type ListSecretsV4404JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1 defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1 struct {+ App DeleteGitHubAppConnection200JSONResponseBodyAppConnection1App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials struct {+ Host *string `json:"host,omitempty"`+ InstanceType *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType `json:"instanceType,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 DeleteGitHubAppConnection200JSONResponseBodyAppConnection1Method `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"`-// ListSecretsV4422JSONResponseBodyStatusCode defines parameters for ListSecretsV4.-type ListSecretsV4422JSONResponseBodyStatusCode float32+ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`-// ListSecretsV4500JSONResponseBodyStatusCode defines parameters for ListSecretsV4.-type ListSecretsV4500JSONResponseBodyStatusCode float32+ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`-// DeleteSecretV4JSONBody defines parameters for DeleteSecretV4.-type DeleteSecretV4JSONBody struct {- // Environment The slug of the environment where the secret is located.- Environment string `json:"environment"`+ // 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"`- // ProjectId The ID of the project where the secret is located.- ProjectId string `json:"projectId"`+ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`- // SecretPath The path of the secret.- SecretPath *string `json:"secretPath,omitempty"`+ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`- // Type The type of the secret to delete.- Type *DeleteSecretV4JSONBodyType `json:"type,omitempty"`+ // RotationStatus The status of the last rotation attempt.+ RotationStatus DeleteGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`}-// DeleteSecretV4JSONBodyType defines parameters for DeleteSecretV4.-type DeleteSecretV4JSONBodyType string+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1App defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1App string-// DeleteSecretV4200JSONResponseBody0 defines parameters for DeleteSecretV4.-type DeleteSecretV4200JSONResponseBody0 struct {- Secret struct {- UnderscoreId string `json:"_id"`- Actor *struct {- ActorId *string `json:"actorId,omitempty"`- ActorType *string `json:"actorType,omitempty"`- GroupId *string `json:"groupId,omitempty"`- MembershipId *string `json:"membershipId,omitempty"`- Name *string `json:"name,omitempty"`- } `json:"actor,omitempty"`- CreatedAt time.Time `json:"createdAt"`- Environment string `json:"environment"`- Id string `json:"id"`- IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`- RotationId *openapi_types.UUID `json:"rotationId,omitempty"`- SecretComment string `json:"secretComment"`- SecretKey string `json:"secretKey"`- SecretReminderNote *string `json:"secretReminderNote,omitempty"`- SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`- SecretValue string `json:"secretValue"`- SecretValueHidden bool `json:"secretValueHidden"`- SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`- Type string `json:"type"`- UpdatedAt time.Time `json:"updatedAt"`- Version float32 `json:"version"`- Workspace string `json:"workspace"`- } `json:"secret"`-}+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 string-// DeleteSecretV4200JSONResponseBody1 defines parameters for DeleteSecretV4.-type DeleteSecretV4200JSONResponseBody1 struct {- Approval struct {- BypassReason *string `json:"bypassReason,omitempty"`- CommitMessage *string `json:"commitMessage,omitempty"`- CommitterIdentityId *openapi_types.UUID `json:"committerIdentityId,omitempty"`- CommitterUserId *openapi_types.UUID `json:"committerUserId,omitempty"`- Conflicts interface{} `json:"conflicts,omitempty"`- CreatedAt time.Time `json:"createdAt"`- FolderId openapi_types.UUID `json:"folderId"`- HasMerged *bool `json:"hasMerged,omitempty"`- Id openapi_types.UUID `json:"id"`- IsReplicated *bool `json:"isReplicated,omitempty"`- PolicyId openapi_types.UUID `json:"policyId"`- Slug string `json:"slug"`- Status *string `json:"status,omitempty"`- StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"approval"`-}+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 string-// DeleteSecretV4200JSONResponseBody defines parameters for DeleteSecretV4.-type DeleteSecretV4200JSONResponseBody struct {+// DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType struct {union json.RawMessage}-// DeleteSecretV4400JSONResponseBodyStatusCode defines parameters for DeleteSecretV4.-type DeleteSecretV4400JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1Method defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1Method string-// DeleteSecretV4401JSONResponseBodyStatusCode defines parameters for DeleteSecretV4.-type DeleteSecretV4401JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus string-// DeleteSecretV4403JSONResponseBodyStatusCode defines parameters for DeleteSecretV4.-type DeleteSecretV4403JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2 defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2 struct {+ App DeleteGitHubAppConnection200JSONResponseBodyAppConnection2App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials struct {+ Host *string `json:"host,omitempty"`+ InstanceType *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType `json:"instanceType,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 DeleteGitHubAppConnection200JSONResponseBodyAppConnection2Method `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"`-// DeleteSecretV4404JSONResponseBodyStatusCode defines parameters for DeleteSecretV4.-type DeleteSecretV4404JSONResponseBodyStatusCode float32+ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`-// DeleteSecretV4422JSONResponseBodyStatusCode defines parameters for DeleteSecretV4.-type DeleteSecretV4422JSONResponseBodyStatusCode float32+ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`-// DeleteSecretV4500JSONResponseBodyStatusCode defines parameters for DeleteSecretV4.-type DeleteSecretV4500JSONResponseBodyStatusCode float32+ // 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"`-// GetSecretByNameV4Params defines parameters for GetSecretByNameV4.-type GetSecretByNameV4Params struct {- // ProjectId The ID of the project to get the secret from.- ProjectId string `form:"projectId" json:"projectId"`+ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`- // Environment The slug of the environment to get the secret from.- Environment *string `form:"environment,omitempty" json:"environment,omitempty"`+ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`- // SecretPath The path of the secret to get.- SecretPath *string `form:"secretPath,omitempty" json:"secretPath,omitempty"`+ // RotationStatus The status of the last rotation attempt.+ RotationStatus DeleteGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+}- // Version The version of the secret to get.- Version *float32 `form:"version,omitempty" json:"version,omitempty"`+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2App defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2App string- // Type The type of the secret to get.- Type *GetSecretByNameV4ParamsType `form:"type,omitempty" json:"type,omitempty"`+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 string- // ViewSecretValue Whether or not to retrieve the secret value.- ViewSecretValue *GetSecretByNameV4ParamsViewSecretValue `form:"viewSecretValue,omitempty" json:"viewSecretValue,omitempty"`-- // ExpandSecretReferences Whether or not to expand secret references.- ExpandSecretReferences *GetSecretByNameV4ParamsExpandSecretReferences `form:"expandSecretReferences,omitempty" json:"expandSecretReferences,omitempty"`+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 string- // IncludeImports Weather to include imported secrets or not.- IncludeImports *GetSecretByNameV4ParamsIncludeImports `form:"includeImports,omitempty" json:"includeImports,omitempty"`+// DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType struct {+ union json.RawMessage}-// GetSecretByNameV4ParamsType defines parameters for GetSecretByNameV4.-type GetSecretByNameV4ParamsType string+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2Method defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2Method string-// GetSecretByNameV4ParamsViewSecretValue defines parameters for GetSecretByNameV4.-type GetSecretByNameV4ParamsViewSecretValue string+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus string-// GetSecretByNameV4ParamsExpandSecretReferences defines parameters for GetSecretByNameV4.-type GetSecretByNameV4ParamsExpandSecretReferences string+// DeleteGitHubAppConnection200JSONResponseBody_AppConnection defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBody_AppConnection struct {+ union json.RawMessage+}-// GetSecretByNameV4ParamsIncludeImports defines parameters for GetSecretByNameV4.-type GetSecretByNameV4ParamsIncludeImports string+// DeleteGitHubAppConnection400JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection400JSONResponseBodyStatusCode float32-// GetSecretByNameV4400JSONResponseBodyStatusCode defines parameters for GetSecretByNameV4.-type GetSecretByNameV4400JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection401JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection401JSONResponseBodyStatusCode float32-// GetSecretByNameV4401JSONResponseBodyStatusCode defines parameters for GetSecretByNameV4.-type GetSecretByNameV4401JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection403JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection403JSONResponseBodyStatusCode float32-// GetSecretByNameV4403JSONResponseBodyStatusCode defines parameters for GetSecretByNameV4.-type GetSecretByNameV4403JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection404JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection404JSONResponseBodyStatusCode float32-// GetSecretByNameV4404JSONResponseBodyStatusCode defines parameters for GetSecretByNameV4.-type GetSecretByNameV4404JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection422JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection422JSONResponseBodyStatusCode float32-// GetSecretByNameV4422JSONResponseBodyStatusCode defines parameters for GetSecretByNameV4.-type GetSecretByNameV4422JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection500JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection500JSONResponseBodyStatusCode float32-// GetSecretByNameV4500JSONResponseBodyStatusCode defines parameters for GetSecretByNameV4.-type GetSecretByNameV4500JSONResponseBodyStatusCode float32+// RefreshAuthToken400JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.+type RefreshAuthToken400JSONResponseBodyStatusCode float32-// CreateSecretV4JSONBody defines parameters for CreateSecretV4.-type CreateSecretV4JSONBody struct {- // Environment The slug of the environment to create the secret in.- Environment string `json:"environment"`+// RefreshAuthToken401JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.+type RefreshAuthToken401JSONResponseBodyStatusCode float32- // ProjectId The ID of the project to create the secret in.- ProjectId string `json:"projectId"`+// RefreshAuthToken403JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.+type RefreshAuthToken403JSONResponseBodyStatusCode float32- // SecretComment Attach a comment to the secret.- SecretComment *string `json:"secretComment,omitempty"`- SecretMetadata *[]struct {- IsEncrypted *bool `json:"isEncrypted,omitempty"`- Key string `json:"key"`- Value *string `json:"value,omitempty"`- } `json:"secretMetadata,omitempty"`+// RefreshAuthToken404JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.+type RefreshAuthToken404JSONResponseBodyStatusCode float32- // SecretPath The path to create the secret in.- SecretPath *string `json:"secretPath,omitempty"`+// RefreshAuthToken422JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.+type RefreshAuthToken422JSONResponseBodyStatusCode float32- // SecretReminderNote Note to be attached in notification email.- SecretReminderNote *string `json:"secretReminderNote,omitempty"`+// RefreshAuthToken500JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.+type RefreshAuthToken500JSONResponseBodyStatusCode float32- // SecretReminderRepeatDays Interval for secret rotation notifications, measured in days.- SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+// AttachUniversalAuthJSONBody defines parameters for AttachUniversalAuth.+type AttachUniversalAuthJSONBody struct {+ // AccessTokenMaxTTL The maximum lifetime for an access token in seconds. This value will be referenced at renewal time.+ AccessTokenMaxTTL *int `json:"accessTokenMaxTTL,omitempty"`- // SecretValue The value of the secret to create.- SecretValue string `json:"secretValue"`+ // AccessTokenNumUsesLimit The maximum number of times that an access token can be used; a value of 0 implies infinite number of uses.+ AccessTokenNumUsesLimit *int `json:"accessTokenNumUsesLimit,omitempty"`- // SkipMultilineEncoding Skip multiline encoding for the secret value.- SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ // AccessTokenPeriod The period for an access token in seconds. This value will be referenced at renewal time. Default value is 0.+ AccessTokenPeriod *int `json:"accessTokenPeriod,omitempty"`- // TagIds The ID of the tags to be attached to the created secret.- TagIds *[]string `json:"tagIds,omitempty"`+ // AccessTokenTTL The lifetime for an access token in seconds. This value will be referenced at renewal time.+ AccessTokenTTL *int `json:"accessTokenTTL,omitempty"`- // Type The type of the secret to create.- Type *CreateSecretV4JSONBodyType `json:"type,omitempty"`-}+ // AccessTokenTrustedIps A list of IPs or CIDR ranges that access tokens can be used from. You can use 0.0.0.0/0, to allow usage from any network address.+ AccessTokenTrustedIps *[]struct {+ IpAddress string `json:"ipAddress"`+ } `json:"accessTokenTrustedIps,omitempty"`-// CreateSecretV4JSONBodyType defines parameters for CreateSecretV4.-type CreateSecretV4JSONBodyType string+ // ClientSecretTrustedIps A list of IPs or CIDR ranges that the Client Secret can be used from together with the Client ID to get back an access token. You can use 0.0.0.0/0, to allow usage from any network address.+ ClientSecretTrustedIps *[]struct {+ IpAddress string `json:"ipAddress"`+ } `json:"clientSecretTrustedIps,omitempty"`-// CreateSecretV4200JSONResponseBody0 defines parameters for CreateSecretV4.-type CreateSecretV4200JSONResponseBody0 struct {- Secret struct {- UnderscoreId string `json:"_id"`- Actor *struct {- ActorId *string `json:"actorId,omitempty"`- ActorType *string `json:"actorType,omitempty"`- GroupId *string `json:"groupId,omitempty"`- MembershipId *string `json:"membershipId,omitempty"`- Name *string `json:"name,omitempty"`- } `json:"actor,omitempty"`- CreatedAt time.Time `json:"createdAt"`- Environment string `json:"environment"`- Id string `json:"id"`- IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`- RotationId *openapi_types.UUID `json:"rotationId,omitempty"`- SecretComment string `json:"secretComment"`- SecretKey string `json:"secretKey"`- SecretReminderNote *string `json:"secretReminderNote,omitempty"`- SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`- SecretValue string `json:"secretValue"`- SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`- Type string `json:"type"`- UpdatedAt time.Time `json:"updatedAt"`- Version float32 `json:"version"`- Workspace string `json:"workspace"`- } `json:"secret"`-}+ // LockoutCounterResetSeconds How long to wait from the most recent failed login until resetting the lockout counter.+ LockoutCounterResetSeconds *float32 `json:"lockoutCounterResetSeconds,omitempty"`-// CreateSecretV4200JSONResponseBody1 defines parameters for CreateSecretV4.-type CreateSecretV4200JSONResponseBody1 struct {- Approval struct {- BypassReason *string `json:"bypassReason,omitempty"`- CommitMessage *string `json:"commitMessage,omitempty"`- CommitterIdentityId *openapi_types.UUID `json:"committerIdentityId,omitempty"`- CommitterUserId *openapi_types.UUID `json:"committerUserId,omitempty"`- Conflicts interface{} `json:"conflicts,omitempty"`- CreatedAt time.Time `json:"createdAt"`- FolderId openapi_types.UUID `json:"folderId"`- HasMerged *bool `json:"hasMerged,omitempty"`- Id openapi_types.UUID `json:"id"`- IsReplicated *bool `json:"isReplicated,omitempty"`- PolicyId openapi_types.UUID `json:"policyId"`- Slug string `json:"slug"`- Status *string `json:"status,omitempty"`- StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"approval"`-}+ // LockoutDurationSeconds How long an identity auth method lockout lasts.+ LockoutDurationSeconds *float32 `json:"lockoutDurationSeconds,omitempty"`-// CreateSecretV4200JSONResponseBody defines parameters for CreateSecretV4.-type CreateSecretV4200JSONResponseBody struct {- union json.RawMessage+ // LockoutEnabled Whether the lockout feature is enabled.+ LockoutEnabled *bool `json:"lockoutEnabled,omitempty"`++ // LockoutThreshold The amount of times login must fail before locking the identity auth method.+ LockoutThreshold *float32 `json:"lockoutThreshold,omitempty"`}-// CreateSecretV4400JSONResponseBodyStatusCode defines parameters for CreateSecretV4.-type CreateSecretV4400JSONResponseBodyStatusCode float32+// AttachUniversalAuth400JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.+type AttachUniversalAuth400JSONResponseBodyStatusCode float32-// CreateSecretV4401JSONResponseBodyStatusCode defines parameters for CreateSecretV4.-type CreateSecretV4401JSONResponseBodyStatusCode float32+// AttachUniversalAuth401JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.+type AttachUniversalAuth401JSONResponseBodyStatusCode float32-// CreateSecretV4403JSONResponseBodyStatusCode defines parameters for CreateSecretV4.-type CreateSecretV4403JSONResponseBodyStatusCode float32+// AttachUniversalAuth403JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.+type AttachUniversalAuth403JSONResponseBodyStatusCode float32-// CreateSecretV4404JSONResponseBodyStatusCode defines parameters for CreateSecretV4.-type CreateSecretV4404JSONResponseBodyStatusCode float32+// AttachUniversalAuth404JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.+type AttachUniversalAuth404JSONResponseBodyStatusCode float32-// CreateSecretV4422JSONResponseBodyStatusCode defines parameters for CreateSecretV4.-type CreateSecretV4422JSONResponseBodyStatusCode float32+// AttachUniversalAuth422JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.+type AttachUniversalAuth422JSONResponseBodyStatusCode float32-// CreateSecretV4500JSONResponseBodyStatusCode defines parameters for CreateSecretV4.-type CreateSecretV4500JSONResponseBodyStatusCode float32+// AttachUniversalAuth500JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.+type AttachUniversalAuth500JSONResponseBodyStatusCode float32-// AdminBootstrapJSONRequestBody defines body for AdminBootstrap for application/json ContentType.-type AdminBootstrapJSONRequestBody AdminBootstrapJSONBody+// CreateUniversalAuthClientSecretJSONBody defines parameters for CreateUniversalAuthClientSecret.+type CreateUniversalAuthClientSecretJSONBody struct {+ // Description The description of the client secret.+ Description *string `json:"description,omitempty"`-// UpdateAdminConfigJSONRequestBody defines body for UpdateAdminConfig for application/json ContentType.-type UpdateAdminConfigJSONRequestBody UpdateAdminConfigJSONBody+ // NumUsesLimit The maximum number of times that the client secret can be used; a value of 0 implies infinite number of uses.+ NumUsesLimit *float32 `json:"numUsesLimit,omitempty"`-// CreateGitHubAppConnectionJSONRequestBody defines body for CreateGitHubAppConnection for application/json ContentType.-type CreateGitHubAppConnectionJSONRequestBody CreateGitHubAppConnectionJSONBody+ // Ttl The lifetime for the client secret in seconds.+ Ttl *float32 `json:"ttl,omitempty"`+}-// AttachUniversalAuthJSONRequestBody defines body for AttachUniversalAuth for application/json ContentType.-type AttachUniversalAuthJSONRequestBody AttachUniversalAuthJSONBody+// CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.+type CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode float32-// CreateUniversalAuthClientSecretJSONRequestBody defines body for CreateUniversalAuthClientSecret for application/json ContentType.-type CreateUniversalAuthClientSecretJSONRequestBody CreateUniversalAuthClientSecretJSONBody+// CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.+type CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode float32-// LoginWithUniversalAuthJSONRequestBody defines body for LoginWithUniversalAuth for application/json ContentType.-type LoginWithUniversalAuthJSONRequestBody LoginWithUniversalAuthJSONBody+// CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.+type CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode float32-// CreateMachineIdentityJSONRequestBody defines body for CreateMachineIdentity for application/json ContentType.-type CreateMachineIdentityJSONRequestBody CreateMachineIdentityJSONBody+// CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.+type CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode float32-// InviteUsersToOrganizationJSONRequestBody defines body for InviteUsersToOrganization for application/json ContentType.-type InviteUsersToOrganizationJSONRequestBody InviteUsersToOrganizationJSONBody+// CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.+type CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode float32-// VerifyUserToOrganizationJSONRequestBody defines body for VerifyUserToOrganization for application/json ContentType.-type VerifyUserToOrganizationJSONRequestBody VerifyUserToOrganizationJSONBody+// CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.+type CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode float32-// CreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.-type CreateProjectJSONRequestBody CreateProjectJSONBody+// LoginWithUniversalAuthJSONBody defines parameters for LoginWithUniversalAuth.+type LoginWithUniversalAuthJSONBody struct {+ // ClientId Your Machine Identity Client ID.+ ClientId string `json:"clientId"`-// CreateProjectMachineIdentityJSONRequestBody defines body for CreateProjectMachineIdentity for application/json ContentType.-type CreateProjectMachineIdentityJSONRequestBody CreateProjectMachineIdentityJSONBody+ // ClientSecret Your Machine Identity Client Secret.+ ClientSecret string `json:"clientSecret"`-// InviteProjectMembersJSONRequestBody defines body for InviteProjectMembers for application/json ContentType.-type InviteProjectMembersJSONRequestBody InviteProjectMembersJSONBody+ // OrganizationSlug When set, this will scope the login session to the specified organization the machine identity has access to. If omitted, the session defaults to the organization where the machine identity was created in.+ OrganizationSlug *string `json:"organizationSlug,omitempty"`+}-// CreateProjectIdentityMembershipJSONRequestBody defines body for CreateProjectIdentityMembership for application/json ContentType.-type CreateProjectIdentityMembershipJSONRequestBody CreateProjectIdentityMembershipJSONBody+// LoginWithUniversalAuth200JSONResponseBodyTokenType defines parameters for LoginWithUniversalAuth.+type LoginWithUniversalAuth200JSONResponseBodyTokenType string-// CreateGitHubSecretSyncJSONRequestBody defines body for CreateGitHubSecretSync for application/json ContentType.-type CreateGitHubSecretSyncJSONRequestBody CreateGitHubSecretSyncJSONBody+// LoginWithUniversalAuth400JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.+type LoginWithUniversalAuth400JSONResponseBodyStatusCode float32-// CreateOrganizationJSONRequestBody defines body for CreateOrganization for application/json ContentType.-type CreateOrganizationJSONRequestBody CreateOrganizationJSONBody+// LoginWithUniversalAuth401JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.+type LoginWithUniversalAuth401JSONResponseBodyStatusCode float32-// LoginV3JSONRequestBody defines body for LoginV3 for application/json ContentType.-type LoginV3JSONRequestBody LoginV3JSONBody+// LoginWithUniversalAuth403JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.+type LoginWithUniversalAuth403JSONResponseBodyStatusCode float32-// SelectOrganizationV3JSONRequestBody defines body for SelectOrganizationV3 for application/json ContentType.-type SelectOrganizationV3JSONRequestBody SelectOrganizationV3JSONBody+// LoginWithUniversalAuth404JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.+type LoginWithUniversalAuth404JSONResponseBodyStatusCode float32-// CompleteAccountSignupV3JSONRequestBody defines body for CompleteAccountSignupV3 for application/json ContentType.-type CompleteAccountSignupV3JSONRequestBody CompleteAccountSignupV3JSONBody+// LoginWithUniversalAuth422JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.+type LoginWithUniversalAuth422JSONResponseBodyStatusCode float32-// BeginEmailSignupV3JSONRequestBody defines body for BeginEmailSignupV3 for application/json ContentType.-type BeginEmailSignupV3JSONRequestBody BeginEmailSignupV3JSONBody+// LoginWithUniversalAuth500JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.+type LoginWithUniversalAuth500JSONResponseBodyStatusCode float32-// VerifyEmailSignupV3JSONRequestBody defines body for VerifyEmailSignupV3 for application/json ContentType.-type VerifyEmailSignupV3JSONRequestBody VerifyEmailSignupV3JSONBody+// CreateMachineIdentityJSONBody defines parameters for CreateMachineIdentity.+type CreateMachineIdentityJSONBody struct {+ // HasDeleteProtection Prevents deletion of the identity when enabled.+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Metadata *[]struct {+ Key string `json:"key"`+ Value string `json:"value"`+ } `json:"metadata,omitempty"`-// DeleteSecretV4JSONRequestBody defines body for DeleteSecretV4 for application/json ContentType.-type DeleteSecretV4JSONRequestBody DeleteSecretV4JSONBody+ // Name The name of the identity to create.+ Name string `json:"name"`-// CreateSecretV4JSONRequestBody defines body for CreateSecretV4 for application/json ContentType.-type CreateSecretV4JSONRequestBody CreateSecretV4JSONBody+ // OrganizationId The organization ID to which the identity belongs.+ OrganizationId string `json:"organizationId"`-// AsCreateGitHubAppConnectionJSONBody0 returns the union data inside the CreateGitHubAppConnectionJSONBody as a CreateGitHubAppConnectionJSONBody0-func (t CreateGitHubAppConnectionJSONBody) AsCreateGitHubAppConnectionJSONBody0() (CreateGitHubAppConnectionJSONBody0, error) {- var body CreateGitHubAppConnectionJSONBody0- err := json.Unmarshal(t.union, &body)- return body, err+ // Role The role of the identity. Possible values are 'no-access', 'member', and 'admin'.+ Role *string `json:"role,omitempty"`}-// FromCreateGitHubAppConnectionJSONBody0 overwrites any union data inside the CreateGitHubAppConnectionJSONBody as the provided CreateGitHubAppConnectionJSONBody0-func (t *CreateGitHubAppConnectionJSONBody) FromCreateGitHubAppConnectionJSONBody0(v CreateGitHubAppConnectionJSONBody0) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// CreateMachineIdentity400JSONResponseBodyStatusCode defines parameters for CreateMachineIdentity.+type CreateMachineIdentity400JSONResponseBodyStatusCode float32-// MergeCreateGitHubAppConnectionJSONBody0 performs a merge with any union data inside the CreateGitHubAppConnectionJSONBody, using the provided CreateGitHubAppConnectionJSONBody0-func (t *CreateGitHubAppConnectionJSONBody) MergeCreateGitHubAppConnectionJSONBody0(v CreateGitHubAppConnectionJSONBody0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// CreateMachineIdentity401JSONResponseBodyStatusCode defines parameters for CreateMachineIdentity.+type CreateMachineIdentity401JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// CreateMachineIdentity403JSONResponseBodyStatusCode defines parameters for CreateMachineIdentity.+type CreateMachineIdentity403JSONResponseBodyStatusCode float32-// AsCreateGitHubAppConnectionJSONBody1 returns the union data inside the CreateGitHubAppConnectionJSONBody as a CreateGitHubAppConnectionJSONBody1-func (t CreateGitHubAppConnectionJSONBody) AsCreateGitHubAppConnectionJSONBody1() (CreateGitHubAppConnectionJSONBody1, error) {- var body CreateGitHubAppConnectionJSONBody1- err := json.Unmarshal(t.union, &body)- return body, err-}+// CreateMachineIdentity404JSONResponseBodyStatusCode defines parameters for CreateMachineIdentity.+type CreateMachineIdentity404JSONResponseBodyStatusCode float32-// FromCreateGitHubAppConnectionJSONBody1 overwrites any union data inside the CreateGitHubAppConnectionJSONBody as the provided CreateGitHubAppConnectionJSONBody1-func (t *CreateGitHubAppConnectionJSONBody) FromCreateGitHubAppConnectionJSONBody1(v CreateGitHubAppConnectionJSONBody1) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// CreateMachineIdentity422JSONResponseBodyStatusCode defines parameters for CreateMachineIdentity.+type CreateMachineIdentity422JSONResponseBodyStatusCode float32-// MergeCreateGitHubAppConnectionJSONBody1 performs a merge with any union data inside the CreateGitHubAppConnectionJSONBody, using the provided CreateGitHubAppConnectionJSONBody1-func (t *CreateGitHubAppConnectionJSONBody) MergeCreateGitHubAppConnectionJSONBody1(v CreateGitHubAppConnectionJSONBody1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// CreateMachineIdentity500JSONResponseBodyStatusCode defines parameters for CreateMachineIdentity.+type CreateMachineIdentity500JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err+// InviteUsersToOrganizationJSONBody defines parameters for InviteUsersToOrganization.+type InviteUsersToOrganizationJSONBody struct {+ GrantAgentVaultAccess *bool `json:"grantAgentVaultAccess,omitempty"`+ GrantPamAccess *bool `json:"grantPamAccess,omitempty"`+ InviteeEmails []openapi_types.Email `json:"inviteeEmails"`+ OrganizationId string `json:"organizationId"`+ OrganizationRoleSlug *string `json:"organizationRoleSlug,omitempty"`+ ProjectIds *[]string `json:"projectIds,omitempty"`}-// AsCreateGitHubAppConnectionJSONBody2 returns the union data inside the CreateGitHubAppConnectionJSONBody as a CreateGitHubAppConnectionJSONBody2-func (t CreateGitHubAppConnectionJSONBody) AsCreateGitHubAppConnectionJSONBody2() (CreateGitHubAppConnectionJSONBody2, error) {- var body CreateGitHubAppConnectionJSONBody2- err := json.Unmarshal(t.union, &body)- return body, err-}+// InviteUsersToOrganization400JSONResponseBodyStatusCode defines parameters for InviteUsersToOrganization.+type InviteUsersToOrganization400JSONResponseBodyStatusCode float32-// FromCreateGitHubAppConnectionJSONBody2 overwrites any union data inside the CreateGitHubAppConnectionJSONBody as the provided CreateGitHubAppConnectionJSONBody2-func (t *CreateGitHubAppConnectionJSONBody) FromCreateGitHubAppConnectionJSONBody2(v CreateGitHubAppConnectionJSONBody2) error {- b, err := json.Marshal(v)- t.union = b- return err+// InviteUsersToOrganization401JSONResponseBodyStatusCode defines parameters for InviteUsersToOrganization.+type InviteUsersToOrganization401JSONResponseBodyStatusCode float32++// InviteUsersToOrganization403JSONResponseBodyStatusCode defines parameters for InviteUsersToOrganization.+type InviteUsersToOrganization403JSONResponseBodyStatusCode float32++// InviteUsersToOrganization404JSONResponseBodyStatusCode defines parameters for InviteUsersToOrganization.+type InviteUsersToOrganization404JSONResponseBodyStatusCode float32++// InviteUsersToOrganization422JSONResponseBodyStatusCode defines parameters for InviteUsersToOrganization.+type InviteUsersToOrganization422JSONResponseBodyStatusCode float32++// InviteUsersToOrganization500JSONResponseBodyStatusCode defines parameters for InviteUsersToOrganization.+type InviteUsersToOrganization500JSONResponseBodyStatusCode float32++// VerifyUserToOrganizationJSONBody defines parameters for VerifyUserToOrganization.+type VerifyUserToOrganizationJSONBody struct {+ Code string `json:"code"`+ Email openapi_types.Email `json:"email"`+ OrganizationId string `json:"organizationId"`}-// MergeCreateGitHubAppConnectionJSONBody2 performs a merge with any union data inside the CreateGitHubAppConnectionJSONBody, using the provided CreateGitHubAppConnectionJSONBody2-func (t *CreateGitHubAppConnectionJSONBody) MergeCreateGitHubAppConnectionJSONBody2(v CreateGitHubAppConnectionJSONBody2) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// VerifyUserToOrganization400JSONResponseBodyStatusCode defines parameters for VerifyUserToOrganization.+type VerifyUserToOrganization400JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err+// VerifyUserToOrganization401JSONResponseBodyStatusCode defines parameters for VerifyUserToOrganization.+type VerifyUserToOrganization401JSONResponseBodyStatusCode float32++// VerifyUserToOrganization403JSONResponseBodyStatusCode defines parameters for VerifyUserToOrganization.+type VerifyUserToOrganization403JSONResponseBodyStatusCode float32++// VerifyUserToOrganization404JSONResponseBodyStatusCode defines parameters for VerifyUserToOrganization.+type VerifyUserToOrganization404JSONResponseBodyStatusCode float32++// VerifyUserToOrganization422JSONResponseBodyStatusCode defines parameters for VerifyUserToOrganization.+type VerifyUserToOrganization422JSONResponseBodyStatusCode float32++// VerifyUserToOrganization500JSONResponseBodyStatusCode defines parameters for VerifyUserToOrganization.+type VerifyUserToOrganization500JSONResponseBodyStatusCode float32++// UpdateOrganizationJSONBody defines parameters for UpdateOrganization.+type UpdateOrganizationJSONBody struct {+ // AllowCrossProjectSecretSharing Allow secret imports and references to target secrets in other projects within the organization+ AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`+ AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`+ AuthEnforced *bool `json:"authEnforced,omitempty"`++ // BlockDuplicateSecretSyncDestinations Block duplicate secret sync destinations across the organization+ BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`+ BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`+ DefaultMembershipRoleSlug *string `json:"defaultMembershipRoleSlug,omitempty"`+ EnforceMfa *bool `json:"enforceMfa,omitempty"`+ GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`+ KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`+ MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`+ MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`+ Name *string `json:"name,omitempty"`+ PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`++ // RequireGatewayPools Require resources in the organization to connect through a gateway pool instead of an individual gateway+ RequireGatewayPools *bool `json:"requireGatewayPools,omitempty"`+ ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`+ ScimEnabled *bool `json:"scimEnabled,omitempty"`++ // SecretShareBrandConfig Custom branding configuration for secret sharing pages+ SecretShareBrandConfig *struct {+ PrimaryColor *UpdateOrganizationJSONBody_SecretShareBrandConfig_PrimaryColor `json:"primaryColor,omitempty"`+ SecondaryColor *UpdateOrganizationJSONBody_SecretShareBrandConfig_SecondaryColor `json:"secondaryColor,omitempty"`+ } `json:"secretShareBrandConfig,omitempty"`+ SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`+ SelectedMfaMethod *UpdateOrganizationJSONBodySelectedMfaMethod `json:"selectedMfaMethod,omitempty"`+ ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`+ Slug *string `json:"slug,omitempty"`+ UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`+}++// UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0 defines parameters for UpdateOrganization.+type UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0 struct {+ union json.RawMessage}-func (t CreateGitHubAppConnectionJSONBody) 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- }- }+// UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor00 defines parameters for UpdateOrganization.+type UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor00 = interface{}- if t.Description != nil {- object["description"], err = json.Marshal(t.Description)- if err != nil {- return nil, fmt.Errorf("error marshaling 'description': %w", err)- }- }+// UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor01 defines parameters for UpdateOrganization.+type UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor01 = string- if t.GatewayId != nil {- object["gatewayId"], err = json.Marshal(t.GatewayId)- if err != nil {- return nil, fmt.Errorf("error marshaling 'gatewayId': %w", err)- }- }+// UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor1 defines parameters for UpdateOrganization.+type UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor1 string- if t.GatewayPoolId != nil {- object["gatewayPoolId"], err = json.Marshal(t.GatewayPoolId)- if err != nil {- return nil, fmt.Errorf("error marshaling 'gatewayPoolId': %w", err)- }- }+// UpdateOrganizationJSONBody_SecretShareBrandConfig_PrimaryColor defines parameters for UpdateOrganization.+type UpdateOrganizationJSONBody_SecretShareBrandConfig_PrimaryColor struct {+ union json.RawMessage+}- if t.IsAutoRotationEnabled != nil {- object["isAutoRotationEnabled"], err = json.Marshal(t.IsAutoRotationEnabled)- if err != nil {- return nil, fmt.Errorf("error marshaling 'isAutoRotationEnabled': %w", err)- }- }+// UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0 defines parameters for UpdateOrganization.+type UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0 struct {+ union json.RawMessage+}- if t.IsPlatformManagedCredentials != nil {- object["isPlatformManagedCredentials"], err = json.Marshal(t.IsPlatformManagedCredentials)- if err != nil {- return nil, fmt.Errorf("error marshaling 'isPlatformManagedCredentials': %w", err)- }- }+// UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor00 defines parameters for UpdateOrganization.+type UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor00 = interface{}- object["name"], err = json.Marshal(t.Name)- if err != nil {- return nil, fmt.Errorf("error marshaling 'name': %w", err)- }+// UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor01 defines parameters for UpdateOrganization.+type UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor01 = string- if t.ProjectId != nil {- object["projectId"], err = json.Marshal(t.ProjectId)- if err != nil {- return nil, fmt.Errorf("error marshaling 'projectId': %w", err)- }- }+// UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor1 defines parameters for UpdateOrganization.+type UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor1 string- 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+// UpdateOrganizationJSONBody_SecretShareBrandConfig_SecondaryColor defines parameters for UpdateOrganization.+type UpdateOrganizationJSONBody_SecretShareBrandConfig_SecondaryColor struct {+ union json.RawMessage}-func (t *CreateGitHubAppConnectionJSONBody) 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- }+// UpdateOrganizationJSONBodySelectedMfaMethod defines parameters for UpdateOrganization.+type UpdateOrganizationJSONBodySelectedMfaMethod string- if raw, found := object["description"]; found {- err = json.Unmarshal(raw, &t.Description)- if err != nil {- return fmt.Errorf("error reading 'description': %w", err)- }- }+// UpdateOrganization400JSONResponseBodyStatusCode defines parameters for UpdateOrganization.+type UpdateOrganization400JSONResponseBodyStatusCode float32- if raw, found := object["gatewayId"]; found {- err = json.Unmarshal(raw, &t.GatewayId)- if err != nil {- return fmt.Errorf("error reading 'gatewayId': %w", err)- }- }+// UpdateOrganization401JSONResponseBodyStatusCode defines parameters for UpdateOrganization.+type UpdateOrganization401JSONResponseBodyStatusCode float32- if raw, found := object["gatewayPoolId"]; found {- err = json.Unmarshal(raw, &t.GatewayPoolId)- if err != nil {- return fmt.Errorf("error reading 'gatewayPoolId': %w", err)- }- }+// UpdateOrganization403JSONResponseBodyStatusCode defines parameters for UpdateOrganization.+type UpdateOrganization403JSONResponseBodyStatusCode float32- 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)- }- }+// UpdateOrganization404JSONResponseBodyStatusCode defines parameters for UpdateOrganization.+type UpdateOrganization404JSONResponseBodyStatusCode float32- if raw, found := object["projectId"]; found {- err = json.Unmarshal(raw, &t.ProjectId)- if err != nil {- return fmt.Errorf("error reading 'projectId': %w", err)- }- }+// UpdateOrganization422JSONResponseBodyStatusCode defines parameters for UpdateOrganization.+type UpdateOrganization422JSONResponseBodyStatusCode float32- if raw, found := object["rotation"]; found {- err = json.Unmarshal(raw, &t.Rotation)- if err != nil {- return fmt.Errorf("error reading 'rotation': %w", err)- }- }+// UpdateOrganization500JSONResponseBodyStatusCode defines parameters for UpdateOrganization.+type UpdateOrganization500JSONResponseBodyStatusCode float32- return err+// GetOrganizationPlanParams defines parameters for GetOrganizationPlan.+type GetOrganizationPlanParams struct {+ RefreshCache *GetOrganizationPlanParamsRefreshCache `form:"refreshCache,omitempty" json:"refreshCache,omitempty"`}-// AsCreateGitHubAppConnectionJSONBodyRotation0 returns the union data inside the CreateGitHubAppConnectionJSONBody_Rotation as a CreateGitHubAppConnectionJSONBodyRotation0-func (t CreateGitHubAppConnectionJSONBody_Rotation) AsCreateGitHubAppConnectionJSONBodyRotation0() (CreateGitHubAppConnectionJSONBodyRotation0, error) {- var body CreateGitHubAppConnectionJSONBodyRotation0- err := json.Unmarshal(t.union, &body)- return body, err-}+// GetOrganizationPlanParamsRefreshCache defines parameters for GetOrganizationPlan.+type GetOrganizationPlanParamsRefreshCache string-// FromCreateGitHubAppConnectionJSONBodyRotation0 overwrites any union data inside the CreateGitHubAppConnectionJSONBody_Rotation as the provided CreateGitHubAppConnectionJSONBodyRotation0-func (t *CreateGitHubAppConnectionJSONBody_Rotation) FromCreateGitHubAppConnectionJSONBodyRotation0(v CreateGitHubAppConnectionJSONBodyRotation0) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// GetOrganizationPlan400JSONResponseBodyStatusCode defines parameters for GetOrganizationPlan.+type GetOrganizationPlan400JSONResponseBodyStatusCode float32-// MergeCreateGitHubAppConnectionJSONBodyRotation0 performs a merge with any union data inside the CreateGitHubAppConnectionJSONBody_Rotation, using the provided CreateGitHubAppConnectionJSONBodyRotation0-func (t *CreateGitHubAppConnectionJSONBody_Rotation) MergeCreateGitHubAppConnectionJSONBodyRotation0(v CreateGitHubAppConnectionJSONBodyRotation0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// GetOrganizationPlan401JSONResponseBodyStatusCode defines parameters for GetOrganizationPlan.+type GetOrganizationPlan401JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// GetOrganizationPlan403JSONResponseBodyStatusCode defines parameters for GetOrganizationPlan.+type GetOrganizationPlan403JSONResponseBodyStatusCode float32-// AsCreateGitHubAppConnectionJSONBodyRotation1 returns the union data inside the CreateGitHubAppConnectionJSONBody_Rotation as a CreateGitHubAppConnectionJSONBodyRotation1-func (t CreateGitHubAppConnectionJSONBody_Rotation) AsCreateGitHubAppConnectionJSONBodyRotation1() (CreateGitHubAppConnectionJSONBodyRotation1, error) {- var body CreateGitHubAppConnectionJSONBodyRotation1- err := json.Unmarshal(t.union, &body)- return body, err-}+// GetOrganizationPlan404JSONResponseBodyStatusCode defines parameters for GetOrganizationPlan.+type GetOrganizationPlan404JSONResponseBodyStatusCode float32-// FromCreateGitHubAppConnectionJSONBodyRotation1 overwrites any union data inside the CreateGitHubAppConnectionJSONBody_Rotation as the provided CreateGitHubAppConnectionJSONBodyRotation1-func (t *CreateGitHubAppConnectionJSONBody_Rotation) FromCreateGitHubAppConnectionJSONBodyRotation1(v CreateGitHubAppConnectionJSONBodyRotation1) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// GetOrganizationPlan422JSONResponseBodyStatusCode defines parameters for GetOrganizationPlan.+type GetOrganizationPlan422JSONResponseBodyStatusCode float32-// MergeCreateGitHubAppConnectionJSONBodyRotation1 performs a merge with any union data inside the CreateGitHubAppConnectionJSONBody_Rotation, using the provided CreateGitHubAppConnectionJSONBodyRotation1-func (t *CreateGitHubAppConnectionJSONBody_Rotation) MergeCreateGitHubAppConnectionJSONBodyRotation1(v CreateGitHubAppConnectionJSONBodyRotation1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// GetOrganizationPlan500JSONResponseBodyStatusCode defines parameters for GetOrganizationPlan.+type GetOrganizationPlan500JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err+// CreateProjectFolderGrantJSONBody defines parameters for CreateProjectFolderGrant.+type CreateProjectFolderGrantJSONBody struct {+ Environment string `json:"environment"`+ SecretPath string `json:"secretPath"`+ SourceProjectId string `json:"sourceProjectId"`+ TargetProjectId string `json:"targetProjectId"`}-func (t CreateGitHubAppConnectionJSONBody_Rotation) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}+// CreateProjectFolderGrant400JSONResponseBodyStatusCode defines parameters for CreateProjectFolderGrant.+type CreateProjectFolderGrant400JSONResponseBodyStatusCode float32-func (t *CreateGitHubAppConnectionJSONBody_Rotation) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}+// CreateProjectFolderGrant401JSONResponseBodyStatusCode defines parameters for CreateProjectFolderGrant.+type CreateProjectFolderGrant401JSONResponseBodyStatusCode float32-// AsCreateGitHubAppConnectionJSONBody0Credentials0 returns the union data inside the CreateGitHubAppConnectionJSONBody_0_Credentials as a CreateGitHubAppConnectionJSONBody0Credentials0-func (t CreateGitHubAppConnectionJSONBody_0_Credentials) AsCreateGitHubAppConnectionJSONBody0Credentials0() (CreateGitHubAppConnectionJSONBody0Credentials0, error) {- var body CreateGitHubAppConnectionJSONBody0Credentials0- err := json.Unmarshal(t.union, &body)- return body, err-}+// CreateProjectFolderGrant403JSONResponseBodyStatusCode defines parameters for CreateProjectFolderGrant.+type CreateProjectFolderGrant403JSONResponseBodyStatusCode float32-// FromCreateGitHubAppConnectionJSONBody0Credentials0 overwrites any union data inside the CreateGitHubAppConnectionJSONBody_0_Credentials as the provided CreateGitHubAppConnectionJSONBody0Credentials0-func (t *CreateGitHubAppConnectionJSONBody_0_Credentials) FromCreateGitHubAppConnectionJSONBody0Credentials0(v CreateGitHubAppConnectionJSONBody0Credentials0) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// CreateProjectFolderGrant404JSONResponseBodyStatusCode defines parameters for CreateProjectFolderGrant.+type CreateProjectFolderGrant404JSONResponseBodyStatusCode float32-// MergeCreateGitHubAppConnectionJSONBody0Credentials0 performs a merge with any union data inside the CreateGitHubAppConnectionJSONBody_0_Credentials, using the provided CreateGitHubAppConnectionJSONBody0Credentials0-func (t *CreateGitHubAppConnectionJSONBody_0_Credentials) MergeCreateGitHubAppConnectionJSONBody0Credentials0(v CreateGitHubAppConnectionJSONBody0Credentials0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// CreateProjectFolderGrant422JSONResponseBodyStatusCode defines parameters for CreateProjectFolderGrant.+type CreateProjectFolderGrant422JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// CreateProjectFolderGrant500JSONResponseBodyStatusCode defines parameters for CreateProjectFolderGrant.+type CreateProjectFolderGrant500JSONResponseBodyStatusCode float32-// AsCreateGitHubAppConnectionJSONBody0Credentials1 returns the union data inside the CreateGitHubAppConnectionJSONBody_0_Credentials as a CreateGitHubAppConnectionJSONBody0Credentials1-func (t CreateGitHubAppConnectionJSONBody_0_Credentials) AsCreateGitHubAppConnectionJSONBody0Credentials1() (CreateGitHubAppConnectionJSONBody0Credentials1, error) {- var body CreateGitHubAppConnectionJSONBody0Credentials1- err := json.Unmarshal(t.union, &body)- return body, err+// DeleteProjectFolderGrantParams defines parameters for DeleteProjectFolderGrant.+type DeleteProjectFolderGrantParams struct {+ SourceProjectId string `form:"sourceProjectId" json:"sourceProjectId"`}-// FromCreateGitHubAppConnectionJSONBody0Credentials1 overwrites any union data inside the CreateGitHubAppConnectionJSONBody_0_Credentials as the provided CreateGitHubAppConnectionJSONBody0Credentials1-func (t *CreateGitHubAppConnectionJSONBody_0_Credentials) FromCreateGitHubAppConnectionJSONBody0Credentials1(v CreateGitHubAppConnectionJSONBody0Credentials1) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// DeleteProjectFolderGrant400JSONResponseBodyStatusCode defines parameters for DeleteProjectFolderGrant.+type DeleteProjectFolderGrant400JSONResponseBodyStatusCode float32-// MergeCreateGitHubAppConnectionJSONBody0Credentials1 performs a merge with any union data inside the CreateGitHubAppConnectionJSONBody_0_Credentials, using the provided CreateGitHubAppConnectionJSONBody0Credentials1-func (t *CreateGitHubAppConnectionJSONBody_0_Credentials) MergeCreateGitHubAppConnectionJSONBody0Credentials1(v CreateGitHubAppConnectionJSONBody0Credentials1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// DeleteProjectFolderGrant401JSONResponseBodyStatusCode defines parameters for DeleteProjectFolderGrant.+type DeleteProjectFolderGrant401JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// DeleteProjectFolderGrant403JSONResponseBodyStatusCode defines parameters for DeleteProjectFolderGrant.+type DeleteProjectFolderGrant403JSONResponseBodyStatusCode float32-func (t CreateGitHubAppConnectionJSONBody_0_Credentials) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}+// DeleteProjectFolderGrant404JSONResponseBodyStatusCode defines parameters for DeleteProjectFolderGrant.+type DeleteProjectFolderGrant404JSONResponseBodyStatusCode float32-func (t *CreateGitHubAppConnectionJSONBody_0_Credentials) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}+// DeleteProjectFolderGrant422JSONResponseBodyStatusCode defines parameters for DeleteProjectFolderGrant.+type DeleteProjectFolderGrant422JSONResponseBodyStatusCode float32-// AsCreateGitHubAppConnectionJSONBody1Credentials0 returns the union data inside the CreateGitHubAppConnectionJSONBody_1_Credentials as a CreateGitHubAppConnectionJSONBody1Credentials0-func (t CreateGitHubAppConnectionJSONBody_1_Credentials) AsCreateGitHubAppConnectionJSONBody1Credentials0() (CreateGitHubAppConnectionJSONBody1Credentials0, error) {- var body CreateGitHubAppConnectionJSONBody1Credentials0- err := json.Unmarshal(t.union, &body)- return body, err-}+// DeleteProjectFolderGrant500JSONResponseBodyStatusCode defines parameters for DeleteProjectFolderGrant.+type DeleteProjectFolderGrant500JSONResponseBodyStatusCode float32-// FromCreateGitHubAppConnectionJSONBody1Credentials0 overwrites any union data inside the CreateGitHubAppConnectionJSONBody_1_Credentials as the provided CreateGitHubAppConnectionJSONBody1Credentials0-func (t *CreateGitHubAppConnectionJSONBody_1_Credentials) FromCreateGitHubAppConnectionJSONBody1Credentials0(v CreateGitHubAppConnectionJSONBody1Credentials0) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// CreateProjectJSONBody defines parameters for CreateProject.+type CreateProjectJSONBody struct {+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ KmsKeyId *string `json:"kmsKeyId,omitempty"`-// MergeCreateGitHubAppConnectionJSONBody1Credentials0 performs a merge with any union data inside the CreateGitHubAppConnectionJSONBody_1_Credentials, using the provided CreateGitHubAppConnectionJSONBody1Credentials0-func (t *CreateGitHubAppConnectionJSONBody_1_Credentials) MergeCreateGitHubAppConnectionJSONBody1Credentials0(v CreateGitHubAppConnectionJSONBody1Credentials0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+ // ProjectDescription An optional description label for the project.+ ProjectDescription *string `json:"projectDescription,omitempty"`- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+ // ProjectName The name of the project to create.+ ProjectName string `json:"projectName"`+ ShouldCreateDefaultEnvs *bool `json:"shouldCreateDefaultEnvs,omitempty"`-// AsCreateGitHubAppConnectionJSONBody1Credentials1 returns the union data inside the CreateGitHubAppConnectionJSONBody_1_Credentials as a CreateGitHubAppConnectionJSONBody1Credentials1-func (t CreateGitHubAppConnectionJSONBody_1_Credentials) AsCreateGitHubAppConnectionJSONBody1Credentials1() (CreateGitHubAppConnectionJSONBody1Credentials1, error) {- var body CreateGitHubAppConnectionJSONBody1Credentials1- err := json.Unmarshal(t.union, &body)- return body, err-}+ // Slug An optional slug for the project.+ Slug *string `json:"slug,omitempty"`-// FromCreateGitHubAppConnectionJSONBody1Credentials1 overwrites any union data inside the CreateGitHubAppConnectionJSONBody_1_Credentials as the provided CreateGitHubAppConnectionJSONBody1Credentials1-func (t *CreateGitHubAppConnectionJSONBody_1_Credentials) FromCreateGitHubAppConnectionJSONBody1Credentials1(v CreateGitHubAppConnectionJSONBody1Credentials1) error {- b, err := json.Marshal(v)- t.union = b- return err+ // Template The name of the project template, if specified, to apply to this project.+ Template *string `json:"template,omitempty"`+ Type *CreateProjectJSONBodyType `json:"type,omitempty"`}-// MergeCreateGitHubAppConnectionJSONBody1Credentials1 performs a merge with any union data inside the CreateGitHubAppConnectionJSONBody_1_Credentials, using the provided CreateGitHubAppConnectionJSONBody1Credentials1-func (t *CreateGitHubAppConnectionJSONBody_1_Credentials) MergeCreateGitHubAppConnectionJSONBody1Credentials1(v CreateGitHubAppConnectionJSONBody1Credentials1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// CreateProjectJSONBodyType defines parameters for CreateProject.+type CreateProjectJSONBodyType string- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err+// CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0 defines parameters for CreateProject.+type CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0 struct {+ Email *string `json:"email"`+ FirstName *string `json:"firstName"`+ Id string `json:"id"`+ LastName *string `json:"lastName"`+ Type CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0Type `json:"type"`+ Username *string `json:"username"`}-func (t CreateGitHubAppConnectionJSONBody_1_Credentials) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}+// CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0Type defines parameters for CreateProject.+type CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0Type string-func (t *CreateGitHubAppConnectionJSONBody_1_Credentials) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err+// CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1 defines parameters for CreateProject.+type CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1 struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Type CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1Type `json:"type"`}-// AsCreateGitHubAppConnectionJSONBody2Credentials0 returns the union data inside the CreateGitHubAppConnectionJSONBody_2_Credentials as a CreateGitHubAppConnectionJSONBody2Credentials0-func (t CreateGitHubAppConnectionJSONBody_2_Credentials) AsCreateGitHubAppConnectionJSONBody2Credentials0() (CreateGitHubAppConnectionJSONBody2Credentials0, error) {- var body CreateGitHubAppConnectionJSONBody2Credentials0- err := json.Unmarshal(t.union, &body)- return body, err-}+// CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1Type defines parameters for CreateProject.+type CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1Type string-// FromCreateGitHubAppConnectionJSONBody2Credentials0 overwrites any union data inside the CreateGitHubAppConnectionJSONBody_2_Credentials as the provided CreateGitHubAppConnectionJSONBody2Credentials0-func (t *CreateGitHubAppConnectionJSONBody_2_Credentials) FromCreateGitHubAppConnectionJSONBody2Credentials0(v CreateGitHubAppConnectionJSONBody2Credentials0) error {- b, err := json.Marshal(v)- t.union = b- return err+// CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy defines parameters for CreateProject.+type CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy struct {+ union json.RawMessage}-// MergeCreateGitHubAppConnectionJSONBody2Credentials0 performs a merge with any union data inside the CreateGitHubAppConnectionJSONBody_2_Credentials, using the provided CreateGitHubAppConnectionJSONBody2Credentials0-func (t *CreateGitHubAppConnectionJSONBody_2_Credentials) MergeCreateGitHubAppConnectionJSONBody2Credentials0(v CreateGitHubAppConnectionJSONBody2Credentials0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// CreateProject400JSONResponseBodyStatusCode defines parameters for CreateProject.+type CreateProject400JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// CreateProject401JSONResponseBodyStatusCode defines parameters for CreateProject.+type CreateProject401JSONResponseBodyStatusCode float32-// AsCreateGitHubAppConnectionJSONBody2Credentials1 returns the union data inside the CreateGitHubAppConnectionJSONBody_2_Credentials as a CreateGitHubAppConnectionJSONBody2Credentials1-func (t CreateGitHubAppConnectionJSONBody_2_Credentials) AsCreateGitHubAppConnectionJSONBody2Credentials1() (CreateGitHubAppConnectionJSONBody2Credentials1, error) {- var body CreateGitHubAppConnectionJSONBody2Credentials1- err := json.Unmarshal(t.union, &body)- return body, err-}+// CreateProject403JSONResponseBodyStatusCode defines parameters for CreateProject.+type CreateProject403JSONResponseBodyStatusCode float32-// FromCreateGitHubAppConnectionJSONBody2Credentials1 overwrites any union data inside the CreateGitHubAppConnectionJSONBody_2_Credentials as the provided CreateGitHubAppConnectionJSONBody2Credentials1-func (t *CreateGitHubAppConnectionJSONBody_2_Credentials) FromCreateGitHubAppConnectionJSONBody2Credentials1(v CreateGitHubAppConnectionJSONBody2Credentials1) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// CreateProject404JSONResponseBodyStatusCode defines parameters for CreateProject.+type CreateProject404JSONResponseBodyStatusCode float32-// MergeCreateGitHubAppConnectionJSONBody2Credentials1 performs a merge with any union data inside the CreateGitHubAppConnectionJSONBody_2_Credentials, using the provided CreateGitHubAppConnectionJSONBody2Credentials1-func (t *CreateGitHubAppConnectionJSONBody_2_Credentials) MergeCreateGitHubAppConnectionJSONBody2Credentials1(v CreateGitHubAppConnectionJSONBody2Credentials1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// CreateProject422JSONResponseBodyStatusCode defines parameters for CreateProject.+type CreateProject422JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// CreateProject500JSONResponseBodyStatusCode defines parameters for CreateProject.+type CreateProject500JSONResponseBodyStatusCode float32-func (t CreateGitHubAppConnectionJSONBody_2_Credentials) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}+// ListProjectMachineIdentitiesParams defines parameters for ListProjectMachineIdentities.+type ListProjectMachineIdentitiesParams struct {+ // Offset The offset to start from. If you enter 10, it will start from the 10th identity.+ Offset *float32 `form:"offset,omitempty" json:"offset,omitempty"`-func (t *CreateGitHubAppConnectionJSONBody_2_Credentials) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}+ // Limit The number of identities to return.+ Limit *float32 `form:"limit,omitempty" json:"limit,omitempty"`-// AsCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 returns the union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType as a CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0-func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) AsCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0() (CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0, error) {- var body CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0- err := json.Unmarshal(t.union, &body)- return body, err+ // Search The text string that identity names will be filtered by.+ Search *string `form:"search,omitempty" json:"search,omitempty"`}-// FromCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 overwrites any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType as the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0-func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) FromCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0(v CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// ListProjectMachineIdentities400JSONResponseBodyStatusCode defines parameters for ListProjectMachineIdentities.+type ListProjectMachineIdentities400JSONResponseBodyStatusCode float32-// MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 performs a merge with any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType, using the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0-func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0(v CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// ListProjectMachineIdentities401JSONResponseBodyStatusCode defines parameters for ListProjectMachineIdentities.+type ListProjectMachineIdentities401JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// ListProjectMachineIdentities403JSONResponseBodyStatusCode defines parameters for ListProjectMachineIdentities.+type ListProjectMachineIdentities403JSONResponseBodyStatusCode float32-// AsCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 returns the union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType as a CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1-func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) AsCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1() (CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1, error) {- var body CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1- err := json.Unmarshal(t.union, &body)- return body, err-}+// ListProjectMachineIdentities404JSONResponseBodyStatusCode defines parameters for ListProjectMachineIdentities.+type ListProjectMachineIdentities404JSONResponseBodyStatusCode float32-// FromCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 overwrites any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType as the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1-func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) FromCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1(v CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// ListProjectMachineIdentities422JSONResponseBodyStatusCode defines parameters for ListProjectMachineIdentities.+type ListProjectMachineIdentities422JSONResponseBodyStatusCode float32-// MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 performs a merge with any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType, using the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1-func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1(v CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// ListProjectMachineIdentities500JSONResponseBodyStatusCode defines parameters for ListProjectMachineIdentities.+type ListProjectMachineIdentities500JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// CreateProjectMachineIdentityJSONBody defines parameters for CreateProjectMachineIdentity.+type CreateProjectMachineIdentityJSONBody struct {+ // HasDeleteProtection Prevents deletion of the identity when enabled.+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`-func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}+ // Metadata An optional array of key-value pairs to attach to the identity.+ Metadata *[]struct {+ Key string `json:"key"`+ Value string `json:"value"`+ } `json:"metadata,omitempty"`-func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err+ // Name The name of the identity to create.+ Name string `json:"name"`+ Roles *[]CreateProjectMachineIdentityJSONBody_Roles_Item `json:"roles,omitempty"`}-// AsCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 returns the union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType as a CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0-func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) AsCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0() (CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0, error) {- var body CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0- err := json.Unmarshal(t.union, &body)- return body, err+// CreateProjectMachineIdentityJSONBodyRoles0 defines parameters for CreateProjectMachineIdentity.+type CreateProjectMachineIdentityJSONBodyRoles0 struct {+ IsTemporary *CreateProjectMachineIdentityJSONBodyRoles0IsTemporary `json:"isTemporary,omitempty"`+ Role string `json:"role"`}-// FromCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 overwrites any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType as the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0-func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) FromCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0(v CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0) error {- b, err := json.Marshal(v)- t.union = b- return err+// CreateProjectMachineIdentityJSONBodyRoles0IsTemporary defines parameters for CreateProjectMachineIdentity.+type CreateProjectMachineIdentityJSONBodyRoles0IsTemporary bool++// CreateProjectMachineIdentityJSONBodyRoles1 defines parameters for CreateProjectMachineIdentity.+type CreateProjectMachineIdentityJSONBodyRoles1 struct {+ IsTemporary CreateProjectMachineIdentityJSONBodyRoles1IsTemporary `json:"isTemporary"`+ Role string `json:"role"`+ TemporaryAccessStartTime time.Time `json:"temporaryAccessStartTime"`+ TemporaryMode CreateProjectMachineIdentityJSONBodyRoles1TemporaryMode `json:"temporaryMode"`+ TemporaryRange string `json:"temporaryRange"`}-// MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 performs a merge with any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType, using the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0-func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0(v CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// CreateProjectMachineIdentityJSONBodyRoles1IsTemporary defines parameters for CreateProjectMachineIdentity.+type CreateProjectMachineIdentityJSONBodyRoles1IsTemporary bool- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// CreateProjectMachineIdentityJSONBodyRoles1TemporaryMode defines parameters for CreateProjectMachineIdentity.+type CreateProjectMachineIdentityJSONBodyRoles1TemporaryMode string-// AsCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 returns the union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType as a CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1-func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) AsCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1() (CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1, error) {- var body CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1- err := json.Unmarshal(t.union, &body)- return body, err+// CreateProjectMachineIdentityJSONBody_Roles_Item defines parameters for CreateProjectMachineIdentity.+type CreateProjectMachineIdentityJSONBody_Roles_Item struct {+ union json.RawMessage}-// FromCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 overwrites any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType as the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1-func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) FromCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1(v CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// CreateProjectMachineIdentity400JSONResponseBodyStatusCode defines parameters for CreateProjectMachineIdentity.+type CreateProjectMachineIdentity400JSONResponseBodyStatusCode float32-// MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 performs a merge with any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType, using the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1-func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1(v CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// CreateProjectMachineIdentity401JSONResponseBodyStatusCode defines parameters for CreateProjectMachineIdentity.+type CreateProjectMachineIdentity401JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// CreateProjectMachineIdentity403JSONResponseBodyStatusCode defines parameters for CreateProjectMachineIdentity.+type CreateProjectMachineIdentity403JSONResponseBodyStatusCode float32-func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}+// CreateProjectMachineIdentity404JSONResponseBodyStatusCode defines parameters for CreateProjectMachineIdentity.+type CreateProjectMachineIdentity404JSONResponseBodyStatusCode float32-func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}+// CreateProjectMachineIdentity422JSONResponseBodyStatusCode defines parameters for CreateProjectMachineIdentity.+type CreateProjectMachineIdentity422JSONResponseBodyStatusCode float32-// AsCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 returns the union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType as a CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0-func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) AsCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0() (CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0, error) {- var body CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0- err := json.Unmarshal(t.union, &body)- return body, err-}+// CreateProjectMachineIdentity500JSONResponseBodyStatusCode defines parameters for CreateProjectMachineIdentity.+type CreateProjectMachineIdentity500JSONResponseBodyStatusCode float32-// FromCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 overwrites any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType as the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0-func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) FromCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0(v CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// InviteProjectMembersJSONBody defines parameters for InviteProjectMembers.+type InviteProjectMembersJSONBody struct {+ // Emails A list of organization member emails to invite to the project.+ Emails *[]openapi_types.Email `json:"emails,omitempty"`-// MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 performs a merge with any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType, using the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0-func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0(v CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+ // RoleSlugs A list of role slugs to assign to the newly created project membership. If nothing is provided, it will default to the Member role.+ RoleSlugs *[]string `json:"roleSlugs,omitempty"`- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err+ // Usernames A list of usernames to invite to the project.+ Usernames *[]string `json:"usernames,omitempty"`}-// AsCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 returns the union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType as a CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1-func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) AsCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1() (CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1, error) {- var body CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1- err := json.Unmarshal(t.union, &body)- return body, err-}+// InviteProjectMembers400JSONResponseBodyStatusCode defines parameters for InviteProjectMembers.+type InviteProjectMembers400JSONResponseBodyStatusCode float32-// FromCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 overwrites any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType as the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1-func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) FromCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1(v CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// InviteProjectMembers401JSONResponseBodyStatusCode defines parameters for InviteProjectMembers.+type InviteProjectMembers401JSONResponseBodyStatusCode float32-// MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 performs a merge with any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType, using the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1-func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1(v CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// InviteProjectMembers403JSONResponseBodyStatusCode defines parameters for InviteProjectMembers.+type InviteProjectMembers403JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// InviteProjectMembers404JSONResponseBodyStatusCode defines parameters for InviteProjectMembers.+type InviteProjectMembers404JSONResponseBodyStatusCode float32-func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}+// InviteProjectMembers422JSONResponseBodyStatusCode defines parameters for InviteProjectMembers.+type InviteProjectMembers422JSONResponseBodyStatusCode float32-func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}+// InviteProjectMembers500JSONResponseBodyStatusCode defines parameters for InviteProjectMembers.+type InviteProjectMembers500JSONResponseBodyStatusCode float32-// AsCreateGitHubAppConnection200JSONResponseBodyAppConnection0 returns the union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection as a CreateGitHubAppConnection200JSONResponseBodyAppConnection0-func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection) AsCreateGitHubAppConnection200JSONResponseBodyAppConnection0() (CreateGitHubAppConnection200JSONResponseBodyAppConnection0, error) {- var body CreateGitHubAppConnection200JSONResponseBodyAppConnection0- err := json.Unmarshal(t.union, &body)- return body, err-}+// CreateProjectIdentityMembershipJSONBody defines parameters for CreateProjectIdentityMembership.+type CreateProjectIdentityMembershipJSONBody struct {+ Role *string `json:"role,omitempty"`-// FromCreateGitHubAppConnection200JSONResponseBodyAppConnection0 overwrites any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection as the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection0-func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection) FromCreateGitHubAppConnection200JSONResponseBodyAppConnection0(v CreateGitHubAppConnection200JSONResponseBodyAppConnection0) error {- b, err := json.Marshal(v)- t.union = b- return err+ // Roles A list of role slugs to assign to the newly created identity project membership.+ Roles *[]CreateProjectIdentityMembershipJSONBody_Roles_Item `json:"roles,omitempty"`}-// MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection0 performs a merge with any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection, using the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection0-func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection) MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection0(v CreateGitHubAppConnection200JSONResponseBodyAppConnection0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// CreateProjectIdentityMembershipJSONBodyRoles0 defines parameters for CreateProjectIdentityMembership.+type CreateProjectIdentityMembershipJSONBodyRoles0 struct {+ // IsTemporary The role slug to assign to the newly created identity project membership.+ IsTemporary *CreateProjectIdentityMembershipJSONBodyRoles0IsTemporary `json:"isTemporary,omitempty"`- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err+ // Role The role slug to assign to the newly created identity project membership.+ Role string `json:"role"`}-// AsCreateGitHubAppConnection200JSONResponseBodyAppConnection1 returns the union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection as a CreateGitHubAppConnection200JSONResponseBodyAppConnection1-func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection) AsCreateGitHubAppConnection200JSONResponseBodyAppConnection1() (CreateGitHubAppConnection200JSONResponseBodyAppConnection1, error) {- var body CreateGitHubAppConnection200JSONResponseBodyAppConnection1- err := json.Unmarshal(t.union, &body)- return body, err-}+// CreateProjectIdentityMembershipJSONBodyRoles0IsTemporary defines parameters for CreateProjectIdentityMembership.+type CreateProjectIdentityMembershipJSONBodyRoles0IsTemporary bool-// FromCreateGitHubAppConnection200JSONResponseBodyAppConnection1 overwrites any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection as the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection1-func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection) FromCreateGitHubAppConnection200JSONResponseBodyAppConnection1(v CreateGitHubAppConnection200JSONResponseBodyAppConnection1) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// CreateProjectIdentityMembershipJSONBodyRoles1 defines parameters for CreateProjectIdentityMembership.+type CreateProjectIdentityMembershipJSONBodyRoles1 struct {+ // IsTemporary The role slug to assign to the newly created identity project membership.+ IsTemporary CreateProjectIdentityMembershipJSONBodyRoles1IsTemporary `json:"isTemporary"`-// MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection1 performs a merge with any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection, using the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection1-func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection) MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection1(v CreateGitHubAppConnection200JSONResponseBodyAppConnection1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+ // Role The role slug to assign to the newly created identity project membership.+ Role string `json:"role"`- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+ // TemporaryAccessStartTime The role slug to assign to the newly created identity project membership.+ TemporaryAccessStartTime time.Time `json:"temporaryAccessStartTime"`-// AsCreateGitHubAppConnection200JSONResponseBodyAppConnection2 returns the union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection as a CreateGitHubAppConnection200JSONResponseBodyAppConnection2-func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection) AsCreateGitHubAppConnection200JSONResponseBodyAppConnection2() (CreateGitHubAppConnection200JSONResponseBodyAppConnection2, error) {- var body CreateGitHubAppConnection200JSONResponseBodyAppConnection2- err := json.Unmarshal(t.union, &body)- return body, err-}+ // TemporaryMode The role slug to assign to the newly created identity project membership.+ TemporaryMode CreateProjectIdentityMembershipJSONBodyRoles1TemporaryMode `json:"temporaryMode"`-// FromCreateGitHubAppConnection200JSONResponseBodyAppConnection2 overwrites any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection as the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection2-func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection) FromCreateGitHubAppConnection200JSONResponseBodyAppConnection2(v CreateGitHubAppConnection200JSONResponseBodyAppConnection2) error {- b, err := json.Marshal(v)- t.union = b- return err+ // TemporaryRange The role slug to assign to the newly created identity project membership.+ TemporaryRange string `json:"temporaryRange"`}-// MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection2 performs a merge with any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection, using the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection2-func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection) MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection2(v CreateGitHubAppConnection200JSONResponseBodyAppConnection2) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// CreateProjectIdentityMembershipJSONBodyRoles1IsTemporary defines parameters for CreateProjectIdentityMembership.+type CreateProjectIdentityMembershipJSONBodyRoles1IsTemporary bool- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// CreateProjectIdentityMembershipJSONBodyRoles1TemporaryMode defines parameters for CreateProjectIdentityMembership.+type CreateProjectIdentityMembershipJSONBodyRoles1TemporaryMode string-func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err+// CreateProjectIdentityMembershipJSONBody_Roles_Item defines parameters for CreateProjectIdentityMembership.+type CreateProjectIdentityMembershipJSONBody_Roles_Item struct {+ union json.RawMessage}-func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}+// CreateProjectIdentityMembership400JSONResponseBodyStatusCode defines parameters for CreateProjectIdentityMembership.+type CreateProjectIdentityMembership400JSONResponseBodyStatusCode float32-// AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 returns the union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType as a DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0-func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0() (DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0, error) {- var body DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0- err := json.Unmarshal(t.union, &body)- return body, err-}+// CreateProjectIdentityMembership401JSONResponseBodyStatusCode defines parameters for CreateProjectIdentityMembership.+type CreateProjectIdentityMembership401JSONResponseBodyStatusCode float32-// FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 overwrites any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType as the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0-func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// CreateProjectIdentityMembership403JSONResponseBodyStatusCode defines parameters for CreateProjectIdentityMembership.+type CreateProjectIdentityMembership403JSONResponseBodyStatusCode float32-// MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 performs a merge with any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType, using the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0-func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// CreateProjectIdentityMembership404JSONResponseBodyStatusCode defines parameters for CreateProjectIdentityMembership.+type CreateProjectIdentityMembership404JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// CreateProjectIdentityMembership422JSONResponseBodyStatusCode defines parameters for CreateProjectIdentityMembership.+type CreateProjectIdentityMembership422JSONResponseBodyStatusCode float32-// AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 returns the union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType as a DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1-func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1() (DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1, error) {- var body DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1- err := json.Unmarshal(t.union, &body)- return body, err-}+// CreateProjectIdentityMembership500JSONResponseBodyStatusCode defines parameters for CreateProjectIdentityMembership.+type CreateProjectIdentityMembership500JSONResponseBodyStatusCode float32-// FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 overwrites any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType as the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1-func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// CreateIdentityFolderAccessJSONBody defines parameters for CreateIdentityFolderAccess.+type CreateIdentityFolderAccessJSONBody struct {+ // EnvironmentSlug The slug of the environment the folder is in.+ EnvironmentSlug string `json:"environmentSlug"`-// MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 performs a merge with any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType, using the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1-func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+ // Permission The folder role to grant. One of: list, read, edit, manage, full-access. The full-access role cannot be temporary.+ Permission CreateIdentityFolderAccessJSONBodyPermission `json:"permission"`- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err+ // SecretPath The path of the folder to grant access on.+ SecretPath string `json:"secretPath"`+ Type *CreateIdentityFolderAccessJSONBody_Type `json:"type,omitempty"`}-func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}+// CreateIdentityFolderAccessJSONBodyPermission defines parameters for CreateIdentityFolderAccess.+type CreateIdentityFolderAccessJSONBodyPermission string-func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err+// CreateIdentityFolderAccessJSONBodyType0 defines parameters for CreateIdentityFolderAccess.+type CreateIdentityFolderAccessJSONBodyType0 struct {+ // IsTemporary Whether the folder access is temporary. Omit the type object for permanent access. The full-access role must be permanent.+ IsTemporary CreateIdentityFolderAccessJSONBodyType0IsTemporary `json:"isTemporary"`}-// AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 returns the union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType as a DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0-func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0() (DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0, error) {- var body DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0- err := json.Unmarshal(t.union, &body)- return body, err-}+// CreateIdentityFolderAccessJSONBodyType0IsTemporary defines parameters for CreateIdentityFolderAccess.+type CreateIdentityFolderAccessJSONBodyType0IsTemporary bool-// FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 overwrites any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType as the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0-func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// CreateIdentityFolderAccessJSONBodyType1 defines parameters for CreateIdentityFolderAccess.+type CreateIdentityFolderAccessJSONBodyType1 struct {+ // IsTemporary Whether the folder access is temporary. Omit the type object for permanent access. The full-access role must be permanent.+ IsTemporary CreateIdentityFolderAccessJSONBodyType1IsTemporary `json:"isTemporary"`-// MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 performs a merge with any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType, using the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0-func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+ // TemporaryAccessStartTime ISO time the temporary access starts.+ TemporaryAccessStartTime time.Time `json:"temporaryAccessStartTime"`- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+ // TemporaryMode Type of temporary access given. Types: relative.+ TemporaryMode CreateIdentityFolderAccessJSONBodyType1TemporaryMode `json:"temporaryMode"`-// AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 returns the union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType as a DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1-func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1() (DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1, error) {- var body DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1- err := json.Unmarshal(t.union, &body)- return body, err+ // TemporaryRange How long the access lasts from its start time. Eg: 30m, 4h, 1d.+ TemporaryRange string `json:"temporaryRange"`}-// FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 overwrites any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType as the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1-func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// CreateIdentityFolderAccessJSONBodyType1IsTemporary defines parameters for CreateIdentityFolderAccess.+type CreateIdentityFolderAccessJSONBodyType1IsTemporary bool-// MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 performs a merge with any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType, using the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1-func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// CreateIdentityFolderAccessJSONBodyType1TemporaryMode defines parameters for CreateIdentityFolderAccess.+type CreateIdentityFolderAccessJSONBodyType1TemporaryMode string- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err+// CreateIdentityFolderAccessJSONBody_Type defines parameters for CreateIdentityFolderAccess.+type CreateIdentityFolderAccessJSONBody_Type struct {+ union json.RawMessage}-func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}+// CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermission defines parameters for CreateIdentityFolderAccess.+type CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermission string-func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}+// CreateIdentityFolderAccess400JSONResponseBodyStatusCode defines parameters for CreateIdentityFolderAccess.+type CreateIdentityFolderAccess400JSONResponseBodyStatusCode float32-// AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 returns the union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType as a DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0-func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0() (DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0, error) {- var body DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0- err := json.Unmarshal(t.union, &body)- return body, err-}+// CreateIdentityFolderAccess401JSONResponseBodyStatusCode defines parameters for CreateIdentityFolderAccess.+type CreateIdentityFolderAccess401JSONResponseBodyStatusCode float32-// FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 overwrites any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType as the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0-func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0) error {- b, err := json.Marshal(v)- t.union = b- return err+// CreateIdentityFolderAccess403JSONResponseBodyStatusCode defines parameters for CreateIdentityFolderAccess.+type CreateIdentityFolderAccess403JSONResponseBodyStatusCode float32++// CreateIdentityFolderAccess404JSONResponseBodyStatusCode defines parameters for CreateIdentityFolderAccess.+type CreateIdentityFolderAccess404JSONResponseBodyStatusCode float32++// CreateIdentityFolderAccess422JSONResponseBodyStatusCode defines parameters for CreateIdentityFolderAccess.+type CreateIdentityFolderAccess422JSONResponseBodyStatusCode float32++// CreateIdentityFolderAccess500JSONResponseBodyStatusCode defines parameters for CreateIdentityFolderAccess.+type CreateIdentityFolderAccess500JSONResponseBodyStatusCode float32++// CreateSecretTagJSONBody defines parameters for CreateSecretTag.+type CreateSecretTagJSONBody struct {+ // Color The color of the tag to create.+ Color string `json:"color"`++ // Slug The slug of the tag to create.+ Slug string `json:"slug"`}-// MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 performs a merge with any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType, using the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0-func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// CreateSecretTag400JSONResponseBodyStatusCode defines parameters for CreateSecretTag.+type CreateSecretTag400JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// CreateSecretTag401JSONResponseBodyStatusCode defines parameters for CreateSecretTag.+type CreateSecretTag401JSONResponseBodyStatusCode float32-// AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 returns the union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType as a DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1-func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1() (DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1, error) {- var body DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1- err := json.Unmarshal(t.union, &body)- return body, err-}+// CreateSecretTag403JSONResponseBodyStatusCode defines parameters for CreateSecretTag.+type CreateSecretTag403JSONResponseBodyStatusCode float32-// FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 overwrites any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType as the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1-func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// CreateSecretTag404JSONResponseBodyStatusCode defines parameters for CreateSecretTag.+type CreateSecretTag404JSONResponseBodyStatusCode float32-// MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 performs a merge with any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType, using the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1-func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// CreateSecretTag422JSONResponseBodyStatusCode defines parameters for CreateSecretTag.+type CreateSecretTag422JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// CreateSecretTag500JSONResponseBodyStatusCode defines parameters for CreateSecretTag.+type CreateSecretTag500JSONResponseBodyStatusCode float32-func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}+// ListSecretApprovalRequestsParams defines parameters for ListSecretApprovalRequests.+type ListSecretApprovalRequestsParams struct {+ ProjectId string `form:"projectId" json:"projectId"`+ Environment *string `form:"environment,omitempty" json:"environment,omitempty"`+ Committer *string `form:"committer,omitempty" json:"committer,omitempty"`+ Search *string `form:"search,omitempty" json:"search,omitempty"`+ Status *ListSecretApprovalRequestsParamsStatus `form:"status,omitempty" json:"status,omitempty"`+ Limit *float32 `form:"limit,omitempty" json:"limit,omitempty"`+ Offset *float32 `form:"offset,omitempty" json:"offset,omitempty"`-func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}+ // OrderBy Field to order change requests by+ OrderBy *ListSecretApprovalRequestsParamsOrderBy `form:"orderBy,omitempty" json:"orderBy,omitempty"`-// AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection0 returns the union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection as a DeleteGitHubAppConnection200JSONResponseBodyAppConnection0-func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection) AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection0() (DeleteGitHubAppConnection200JSONResponseBodyAppConnection0, error) {- var body DeleteGitHubAppConnection200JSONResponseBodyAppConnection0- err := json.Unmarshal(t.union, &body)- return body, err+ // OrderDirection Change request order direction+ OrderDirection *ListSecretApprovalRequestsParamsOrderDirection `form:"orderDirection,omitempty" json:"orderDirection,omitempty"`}-// FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection0 overwrites any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection as the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection0-func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection) FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection0(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection0) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// ListSecretApprovalRequestsParamsStatus defines parameters for ListSecretApprovalRequests.+type ListSecretApprovalRequestsParamsStatus string-// MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection0 performs a merge with any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection, using the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection0-func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection) MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection0(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// ListSecretApprovalRequestsParamsOrderBy defines parameters for ListSecretApprovalRequests.+type ListSecretApprovalRequestsParamsOrderBy string- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// ListSecretApprovalRequestsParamsOrderDirection defines parameters for ListSecretApprovalRequests.+type ListSecretApprovalRequestsParamsOrderDirection string-// AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection1 returns the union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection as a DeleteGitHubAppConnection200JSONResponseBodyAppConnection1-func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection) AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection1() (DeleteGitHubAppConnection200JSONResponseBodyAppConnection1, error) {- var body DeleteGitHubAppConnection200JSONResponseBodyAppConnection1- err := json.Unmarshal(t.union, &body)- return body, err-}+// ListSecretApprovalRequests400JSONResponseBodyStatusCode defines parameters for ListSecretApprovalRequests.+type ListSecretApprovalRequests400JSONResponseBodyStatusCode float32-// FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection1 overwrites any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection as the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection1-func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection) FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection1(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection1) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// ListSecretApprovalRequests401JSONResponseBodyStatusCode defines parameters for ListSecretApprovalRequests.+type ListSecretApprovalRequests401JSONResponseBodyStatusCode float32-// MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection1 performs a merge with any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection, using the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection1-func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection) MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection1(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// ListSecretApprovalRequests403JSONResponseBodyStatusCode defines parameters for ListSecretApprovalRequests.+type ListSecretApprovalRequests403JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// ListSecretApprovalRequests404JSONResponseBodyStatusCode defines parameters for ListSecretApprovalRequests.+type ListSecretApprovalRequests404JSONResponseBodyStatusCode float32-// AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection2 returns the union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection as a DeleteGitHubAppConnection200JSONResponseBodyAppConnection2-func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection) AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection2() (DeleteGitHubAppConnection200JSONResponseBodyAppConnection2, error) {- var body DeleteGitHubAppConnection200JSONResponseBodyAppConnection2- err := json.Unmarshal(t.union, &body)- return body, err-}+// ListSecretApprovalRequests422JSONResponseBodyStatusCode defines parameters for ListSecretApprovalRequests.+type ListSecretApprovalRequests422JSONResponseBodyStatusCode float32-// FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection2 overwrites any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection as the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection2-func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection) FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection2(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection2) error {- b, err := json.Marshal(v)- t.union = b- return err+// ListSecretApprovalRequests500JSONResponseBodyStatusCode defines parameters for ListSecretApprovalRequests.+type ListSecretApprovalRequests500JSONResponseBodyStatusCode float32++// GetSecretApprovalRequestCountParams defines parameters for GetSecretApprovalRequestCount.+type GetSecretApprovalRequestCountParams struct {+ ProjectId string `form:"projectId" json:"projectId"`+ PolicyId *string `form:"policyId,omitempty" json:"policyId,omitempty"`}-// MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection2 performs a merge with any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection, using the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection2-func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection) MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection2(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection2) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// GetSecretApprovalRequestCount400JSONResponseBodyStatusCode defines parameters for GetSecretApprovalRequestCount.+type GetSecretApprovalRequestCount400JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// GetSecretApprovalRequestCount401JSONResponseBodyStatusCode defines parameters for GetSecretApprovalRequestCount.+type GetSecretApprovalRequestCount401JSONResponseBodyStatusCode float32-func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}+// GetSecretApprovalRequestCount403JSONResponseBodyStatusCode defines parameters for GetSecretApprovalRequestCount.+type GetSecretApprovalRequestCount403JSONResponseBodyStatusCode float32-func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}+// GetSecretApprovalRequestCount404JSONResponseBodyStatusCode defines parameters for GetSecretApprovalRequestCount.+type GetSecretApprovalRequestCount404JSONResponseBodyStatusCode float32-// AsCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0 returns the union data inside the CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy as a CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0-func (t CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy) AsCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0() (CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0, error) {- var body CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0- err := json.Unmarshal(t.union, &body)- return body, err-}+// GetSecretApprovalRequestCount422JSONResponseBodyStatusCode defines parameters for GetSecretApprovalRequestCount.+type GetSecretApprovalRequestCount422JSONResponseBodyStatusCode float32-// FromCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0 overwrites any union data inside the CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy as the provided CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0-func (t *CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy) FromCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0(v CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// GetSecretApprovalRequestCount500JSONResponseBodyStatusCode defines parameters for GetSecretApprovalRequestCount.+type GetSecretApprovalRequestCount500JSONResponseBodyStatusCode float32-// MergeCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0 performs a merge with any union data inside the CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy, using the provided CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0-func (t *CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy) MergeCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0(v CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// GetSecretApprovalRequest400JSONResponseBodyStatusCode defines parameters for GetSecretApprovalRequest.+type GetSecretApprovalRequest400JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// GetSecretApprovalRequest401JSONResponseBodyStatusCode defines parameters for GetSecretApprovalRequest.+type GetSecretApprovalRequest401JSONResponseBodyStatusCode float32-// AsCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1 returns the union data inside the CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy as a CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1-func (t CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy) AsCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1() (CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1, error) {- var body CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1- err := json.Unmarshal(t.union, &body)- return body, err-}+// GetSecretApprovalRequest403JSONResponseBodyStatusCode defines parameters for GetSecretApprovalRequest.+type GetSecretApprovalRequest403JSONResponseBodyStatusCode float32-// FromCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1 overwrites any union data inside the CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy as the provided CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1-func (t *CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy) FromCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1(v CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// GetSecretApprovalRequest404JSONResponseBodyStatusCode defines parameters for GetSecretApprovalRequest.+type GetSecretApprovalRequest404JSONResponseBodyStatusCode float32-// MergeCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1 performs a merge with any union data inside the CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy, using the provided CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1-func (t *CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy) MergeCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1(v CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// GetSecretApprovalRequest422JSONResponseBodyStatusCode defines parameters for GetSecretApprovalRequest.+type GetSecretApprovalRequest422JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// GetSecretApprovalRequest500JSONResponseBodyStatusCode defines parameters for GetSecretApprovalRequest.+type GetSecretApprovalRequest500JSONResponseBodyStatusCode float32-func (t CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err+// MergeSecretApprovalRequestJSONBody defines parameters for MergeSecretApprovalRequest.+type MergeSecretApprovalRequestJSONBody struct {+ BypassReason *string `json:"bypassReason,omitempty"`}-func (t *CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}+// MergeSecretApprovalRequest400JSONResponseBodyStatusCode defines parameters for MergeSecretApprovalRequest.+type MergeSecretApprovalRequest400JSONResponseBodyStatusCode float32-// AsCreateProjectMachineIdentityJSONBodyRoles0 returns the union data inside the CreateProjectMachineIdentityJSONBody_Roles_Item as a CreateProjectMachineIdentityJSONBodyRoles0-func (t CreateProjectMachineIdentityJSONBody_Roles_Item) AsCreateProjectMachineIdentityJSONBodyRoles0() (CreateProjectMachineIdentityJSONBodyRoles0, error) {- var body CreateProjectMachineIdentityJSONBodyRoles0- err := json.Unmarshal(t.union, &body)- return body, err-}+// MergeSecretApprovalRequest401JSONResponseBodyStatusCode defines parameters for MergeSecretApprovalRequest.+type MergeSecretApprovalRequest401JSONResponseBodyStatusCode float32-// FromCreateProjectMachineIdentityJSONBodyRoles0 overwrites any union data inside the CreateProjectMachineIdentityJSONBody_Roles_Item as the provided CreateProjectMachineIdentityJSONBodyRoles0-func (t *CreateProjectMachineIdentityJSONBody_Roles_Item) FromCreateProjectMachineIdentityJSONBodyRoles0(v CreateProjectMachineIdentityJSONBodyRoles0) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// MergeSecretApprovalRequest403JSONResponseBodyStatusCode defines parameters for MergeSecretApprovalRequest.+type MergeSecretApprovalRequest403JSONResponseBodyStatusCode float32-// MergeCreateProjectMachineIdentityJSONBodyRoles0 performs a merge with any union data inside the CreateProjectMachineIdentityJSONBody_Roles_Item, using the provided CreateProjectMachineIdentityJSONBodyRoles0-func (t *CreateProjectMachineIdentityJSONBody_Roles_Item) MergeCreateProjectMachineIdentityJSONBodyRoles0(v CreateProjectMachineIdentityJSONBodyRoles0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// MergeSecretApprovalRequest404JSONResponseBodyStatusCode defines parameters for MergeSecretApprovalRequest.+type MergeSecretApprovalRequest404JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// MergeSecretApprovalRequest422JSONResponseBodyStatusCode defines parameters for MergeSecretApprovalRequest.+type MergeSecretApprovalRequest422JSONResponseBodyStatusCode float32-// AsCreateProjectMachineIdentityJSONBodyRoles1 returns the union data inside the CreateProjectMachineIdentityJSONBody_Roles_Item as a CreateProjectMachineIdentityJSONBodyRoles1-func (t CreateProjectMachineIdentityJSONBody_Roles_Item) AsCreateProjectMachineIdentityJSONBodyRoles1() (CreateProjectMachineIdentityJSONBodyRoles1, error) {- var body CreateProjectMachineIdentityJSONBodyRoles1- err := json.Unmarshal(t.union, &body)- return body, err-}+// MergeSecretApprovalRequest500JSONResponseBodyStatusCode defines parameters for MergeSecretApprovalRequest.+type MergeSecretApprovalRequest500JSONResponseBodyStatusCode float32-// FromCreateProjectMachineIdentityJSONBodyRoles1 overwrites any union data inside the CreateProjectMachineIdentityJSONBody_Roles_Item as the provided CreateProjectMachineIdentityJSONBodyRoles1-func (t *CreateProjectMachineIdentityJSONBody_Roles_Item) FromCreateProjectMachineIdentityJSONBodyRoles1(v CreateProjectMachineIdentityJSONBodyRoles1) error {- b, err := json.Marshal(v)- t.union = b- return err+// ReviewSecretApprovalRequestJSONBody defines parameters for ReviewSecretApprovalRequest.+type ReviewSecretApprovalRequestJSONBody struct {+ Comment *string `json:"comment,omitempty"`+ Status ReviewSecretApprovalRequestJSONBodyStatus `json:"status"`}-// MergeCreateProjectMachineIdentityJSONBodyRoles1 performs a merge with any union data inside the CreateProjectMachineIdentityJSONBody_Roles_Item, using the provided CreateProjectMachineIdentityJSONBodyRoles1-func (t *CreateProjectMachineIdentityJSONBody_Roles_Item) MergeCreateProjectMachineIdentityJSONBodyRoles1(v CreateProjectMachineIdentityJSONBodyRoles1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// ReviewSecretApprovalRequestJSONBodyStatus defines parameters for ReviewSecretApprovalRequest.+type ReviewSecretApprovalRequestJSONBodyStatus string- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// ReviewSecretApprovalRequest400JSONResponseBodyStatusCode defines parameters for ReviewSecretApprovalRequest.+type ReviewSecretApprovalRequest400JSONResponseBodyStatusCode float32-func (t CreateProjectMachineIdentityJSONBody_Roles_Item) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}+// ReviewSecretApprovalRequest401JSONResponseBodyStatusCode defines parameters for ReviewSecretApprovalRequest.+type ReviewSecretApprovalRequest401JSONResponseBodyStatusCode float32-func (t *CreateProjectMachineIdentityJSONBody_Roles_Item) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}+// ReviewSecretApprovalRequest403JSONResponseBodyStatusCode defines parameters for ReviewSecretApprovalRequest.+type ReviewSecretApprovalRequest403JSONResponseBodyStatusCode float32-// AsCreateProjectIdentityMembershipJSONBodyRoles0 returns the union data inside the CreateProjectIdentityMembershipJSONBody_Roles_Item as a CreateProjectIdentityMembershipJSONBodyRoles0-func (t CreateProjectIdentityMembershipJSONBody_Roles_Item) AsCreateProjectIdentityMembershipJSONBodyRoles0() (CreateProjectIdentityMembershipJSONBodyRoles0, error) {- var body CreateProjectIdentityMembershipJSONBodyRoles0- err := json.Unmarshal(t.union, &body)- return body, err-}+// ReviewSecretApprovalRequest404JSONResponseBodyStatusCode defines parameters for ReviewSecretApprovalRequest.+type ReviewSecretApprovalRequest404JSONResponseBodyStatusCode float32-// FromCreateProjectIdentityMembershipJSONBodyRoles0 overwrites any union data inside the CreateProjectIdentityMembershipJSONBody_Roles_Item as the provided CreateProjectIdentityMembershipJSONBodyRoles0-func (t *CreateProjectIdentityMembershipJSONBody_Roles_Item) FromCreateProjectIdentityMembershipJSONBodyRoles0(v CreateProjectIdentityMembershipJSONBodyRoles0) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// ReviewSecretApprovalRequest422JSONResponseBodyStatusCode defines parameters for ReviewSecretApprovalRequest.+type ReviewSecretApprovalRequest422JSONResponseBodyStatusCode float32-// MergeCreateProjectIdentityMembershipJSONBodyRoles0 performs a merge with any union data inside the CreateProjectIdentityMembershipJSONBody_Roles_Item, using the provided CreateProjectIdentityMembershipJSONBodyRoles0-func (t *CreateProjectIdentityMembershipJSONBody_Roles_Item) MergeCreateProjectIdentityMembershipJSONBodyRoles0(v CreateProjectIdentityMembershipJSONBodyRoles0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// ReviewSecretApprovalRequest500JSONResponseBodyStatusCode defines parameters for ReviewSecretApprovalRequest.+type ReviewSecretApprovalRequest500JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err+// UpdateSecretApprovalRequestStatusJSONBody defines parameters for UpdateSecretApprovalRequestStatus.+type UpdateSecretApprovalRequestStatusJSONBody struct {+ Status UpdateSecretApprovalRequestStatusJSONBodyStatus `json:"status"`}-// AsCreateProjectIdentityMembershipJSONBodyRoles1 returns the union data inside the CreateProjectIdentityMembershipJSONBody_Roles_Item as a CreateProjectIdentityMembershipJSONBodyRoles1-func (t CreateProjectIdentityMembershipJSONBody_Roles_Item) AsCreateProjectIdentityMembershipJSONBodyRoles1() (CreateProjectIdentityMembershipJSONBodyRoles1, error) {- var body CreateProjectIdentityMembershipJSONBodyRoles1- err := json.Unmarshal(t.union, &body)- return body, err-}+// UpdateSecretApprovalRequestStatusJSONBodyStatus defines parameters for UpdateSecretApprovalRequestStatus.+type UpdateSecretApprovalRequestStatusJSONBodyStatus string-// FromCreateProjectIdentityMembershipJSONBodyRoles1 overwrites any union data inside the CreateProjectIdentityMembershipJSONBody_Roles_Item as the provided CreateProjectIdentityMembershipJSONBodyRoles1-func (t *CreateProjectIdentityMembershipJSONBody_Roles_Item) FromCreateProjectIdentityMembershipJSONBodyRoles1(v CreateProjectIdentityMembershipJSONBodyRoles1) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCode defines parameters for UpdateSecretApprovalRequestStatus.+type UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCode float32-// MergeCreateProjectIdentityMembershipJSONBodyRoles1 performs a merge with any union data inside the CreateProjectIdentityMembershipJSONBody_Roles_Item, using the provided CreateProjectIdentityMembershipJSONBodyRoles1-func (t *CreateProjectIdentityMembershipJSONBody_Roles_Item) MergeCreateProjectIdentityMembershipJSONBodyRoles1(v CreateProjectIdentityMembershipJSONBodyRoles1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCode defines parameters for UpdateSecretApprovalRequestStatus.+type UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCode defines parameters for UpdateSecretApprovalRequestStatus.+type UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCode float32-func (t CreateProjectIdentityMembershipJSONBody_Roles_Item) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}+// UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCode defines parameters for UpdateSecretApprovalRequestStatus.+type UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCode float32-func (t *CreateProjectIdentityMembershipJSONBody_Roles_Item) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}+// UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCode defines parameters for UpdateSecretApprovalRequestStatus.+type UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCode float32-// AsCreateGitHubSecretSyncJSONBodyDestinationConfig0 returns the union data inside the CreateGitHubSecretSyncJSONBody_DestinationConfig as a CreateGitHubSecretSyncJSONBodyDestinationConfig0-func (t CreateGitHubSecretSyncJSONBody_DestinationConfig) AsCreateGitHubSecretSyncJSONBodyDestinationConfig0() (CreateGitHubSecretSyncJSONBodyDestinationConfig0, error) {- var body CreateGitHubSecretSyncJSONBodyDestinationConfig0- err := json.Unmarshal(t.union, &body)- return body, err-}+// UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCode defines parameters for UpdateSecretApprovalRequestStatus.+type UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCode float32-// FromCreateGitHubSecretSyncJSONBodyDestinationConfig0 overwrites any union data inside the CreateGitHubSecretSyncJSONBody_DestinationConfig as the provided CreateGitHubSecretSyncJSONBodyDestinationConfig0-func (t *CreateGitHubSecretSyncJSONBody_DestinationConfig) FromCreateGitHubSecretSyncJSONBodyDestinationConfig0(v CreateGitHubSecretSyncJSONBodyDestinationConfig0) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// CreateGitHubSecretSyncJSONBody defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSyncJSONBody struct {+ // ConnectionId The ID of the GitHub Connection to use for syncing.+ ConnectionId openapi_types.UUID `json:"connectionId"`-// MergeCreateGitHubSecretSyncJSONBodyDestinationConfig0 performs a merge with any union data inside the CreateGitHubSecretSyncJSONBody_DestinationConfig, using the provided CreateGitHubSecretSyncJSONBodyDestinationConfig0-func (t *CreateGitHubSecretSyncJSONBody_DestinationConfig) MergeCreateGitHubSecretSyncJSONBodyDestinationConfig0(v CreateGitHubSecretSyncJSONBodyDestinationConfig0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+ // Description An optional description for the GitHub Sync.+ Description *string `json:"description,omitempty"`+ DestinationConfig CreateGitHubSecretSyncJSONBody_DestinationConfig `json:"destinationConfig"`- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+ // Environment The slug of the project environment to sync secrets from.+ Environment string `json:"environment"`-// AsCreateGitHubSecretSyncJSONBodyDestinationConfig1 returns the union data inside the CreateGitHubSecretSyncJSONBody_DestinationConfig as a CreateGitHubSecretSyncJSONBodyDestinationConfig1-func (t CreateGitHubSecretSyncJSONBody_DestinationConfig) AsCreateGitHubSecretSyncJSONBodyDestinationConfig1() (CreateGitHubSecretSyncJSONBodyDestinationConfig1, error) {- var body CreateGitHubSecretSyncJSONBodyDestinationConfig1- err := json.Unmarshal(t.union, &body)- return body, err-}+ // IsAutoSyncEnabled Whether secrets should be automatically synced when changes occur at the source location or not.+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`-// FromCreateGitHubSecretSyncJSONBodyDestinationConfig1 overwrites any union data inside the CreateGitHubSecretSyncJSONBody_DestinationConfig as the provided CreateGitHubSecretSyncJSONBodyDestinationConfig1-func (t *CreateGitHubSecretSyncJSONBody_DestinationConfig) FromCreateGitHubSecretSyncJSONBodyDestinationConfig1(v CreateGitHubSecretSyncJSONBodyDestinationConfig1) error {- b, err := json.Marshal(v)- t.union = b- return err-}+ // Name The name of the GitHub Sync to create. Must be slug-friendly.+ Name string `json:"name"`-// MergeCreateGitHubSecretSyncJSONBodyDestinationConfig1 performs a merge with any union data inside the CreateGitHubSecretSyncJSONBody_DestinationConfig, using the provided CreateGitHubSecretSyncJSONBodyDestinationConfig1-func (t *CreateGitHubSecretSyncJSONBody_DestinationConfig) MergeCreateGitHubSecretSyncJSONBodyDestinationConfig1(v CreateGitHubSecretSyncJSONBodyDestinationConfig1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+ // ProjectId The ID of the project to create the sync in.+ ProjectId string `json:"projectId"`- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+ // SecretPath The folder path to sync secrets from.+ SecretPath string `json:"secretPath"`-// AsCreateGitHubSecretSyncJSONBodyDestinationConfig2 returns the union data inside the CreateGitHubSecretSyncJSONBody_DestinationConfig as a CreateGitHubSecretSyncJSONBodyDestinationConfig2-func (t CreateGitHubSecretSyncJSONBody_DestinationConfig) AsCreateGitHubSecretSyncJSONBodyDestinationConfig2() (CreateGitHubSecretSyncJSONBodyDestinationConfig2, error) {- var body CreateGitHubSecretSyncJSONBodyDestinationConfig2- err := json.Unmarshal(t.union, &body)- return body, err-}+ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`-// FromCreateGitHubSecretSyncJSONBodyDestinationConfig2 overwrites any union data inside the CreateGitHubSecretSyncJSONBody_DestinationConfig as the provided CreateGitHubSecretSyncJSONBodyDestinationConfig2-func (t *CreateGitHubSecretSyncJSONBody_DestinationConfig) FromCreateGitHubSecretSyncJSONBodyDestinationConfig2(v CreateGitHubSecretSyncJSONBodyDestinationConfig2) error {- b, err := json.Marshal(v)- t.union = b- return err-}+ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`-// MergeCreateGitHubSecretSyncJSONBodyDestinationConfig2 performs a merge with any union data inside the CreateGitHubSecretSyncJSONBody_DestinationConfig, using the provided CreateGitHubSecretSyncJSONBodyDestinationConfig2-func (t *CreateGitHubSecretSyncJSONBody_DestinationConfig) MergeCreateGitHubSecretSyncJSONBodyDestinationConfig2(v CreateGitHubSecretSyncJSONBodyDestinationConfig2) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.+ InitialSyncBehavior CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err+ // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`}-func (t CreateGitHubSecretSyncJSONBody_DestinationConfig) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}+// CreateGitHubSecretSyncJSONBodyDestinationConfig0 defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSyncJSONBodyDestinationConfig0 struct {+ // Org The name of the GitHub organization.+ Org string `json:"org"`-func (t *CreateGitHubSecretSyncJSONBody_DestinationConfig) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err+ // Scope The GitHub scope that secrets should be synced to+ Scope CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope `json:"scope"`+ SelectedRepositoryIds *[]float32 `json:"selectedRepositoryIds,omitempty"`+ Visibility CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility `json:"visibility"`}-// AsCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 returns the union data inside the CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0-func (t CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0() (CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0, error) {- var body CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0- err := json.Unmarshal(t.union, &body)- return body, err-}+// CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope string-// FromCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 overwrites any union data inside the CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0-func (t *CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0(v CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility string-// MergeCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 performs a merge with any union data inside the CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0-func (t *CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0(v CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// CreateGitHubSecretSyncJSONBodyDestinationConfig1 defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSyncJSONBodyDestinationConfig1 struct {+ // Owner The name of the GitHub account owner of the repository.+ Owner string `json:"owner"`- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+ // Repo The name of the GitHub repository.+ Repo string `json:"repo"`-// AsCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 returns the union data inside the CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1-func (t CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1() (CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1, error) {- var body CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1- err := json.Unmarshal(t.union, &body)- return body, err+ // Scope The GitHub scope that secrets should be synced to+ Scope CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope `json:"scope"`}-// FromCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 overwrites any union data inside the CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1-func (t *CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1(v CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope string-// MergeCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 performs a merge with any union data inside the CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1-func (t *CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1(v CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// CreateGitHubSecretSyncJSONBodyDestinationConfig2 defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSyncJSONBodyDestinationConfig2 struct {+ // Env The name of the GitHub environment.+ Env string `json:"env"`- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+ // Owner The name of the GitHub account owner of the repository.+ Owner string `json:"owner"`-// AsCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 returns the union data inside the CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2-func (t CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2() (CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2, error) {- var body CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2- err := json.Unmarshal(t.union, &body)- return body, err-}+ // Repo The name of the GitHub repository.+ Repo string `json:"repo"`-// FromCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 overwrites any union data inside the CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2-func (t *CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2(v CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2) error {- b, err := json.Marshal(v)- t.union = b- return err+ // Scope The GitHub scope that secrets should be synced to+ Scope CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope `json:"scope"`}-// MergeCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 performs a merge with any union data inside the CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2-func (t *CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2(v CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2) error {- b, err := json.Marshal(v)- if err != nil {- return err- }-- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope string-func (t CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err+// CreateGitHubSecretSyncJSONBody_DestinationConfig defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSyncJSONBody_DestinationConfig struct {+ union json.RawMessage}-func (t *CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}+// CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior string-// AsDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 returns the union data inside the DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0-func (t DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0() (DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0, error) {- var body DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0- err := json.Unmarshal(t.union, &body)- return body, err-}+// CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp string-// FromDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 overwrites any union data inside the DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0-func (t *DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0(v DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination string-// MergeDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 performs a merge with any union data inside the DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0-func (t *DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0(v DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 struct {+ // Org The name of the GitHub organization.+ Org string `json:"org"`- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err+ // Scope The GitHub scope that secrets should be synced to+ Scope CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope `json:"scope"`+ SelectedRepositoryIds *[]float32 `json:"selectedRepositoryIds,omitempty"`+ Visibility CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility `json:"visibility"`}-// AsDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 returns the union data inside the DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1-func (t DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1() (DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1, error) {- var body DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1- err := json.Unmarshal(t.union, &body)- return body, err-}+// CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope string-// FromDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 overwrites any union data inside the DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1-func (t *DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1(v DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility string-// MergeDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 performs a merge with any union data inside the DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1-func (t *DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1(v DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 struct {+ // Owner The name of the GitHub account owner of the repository.+ Owner string `json:"owner"`- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+ // Repo The name of the GitHub repository.+ Repo string `json:"repo"`-// AsDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 returns the union data inside the DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2-func (t DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2() (DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2, error) {- var body DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2- err := json.Unmarshal(t.union, &body)- return body, err+ // Scope The GitHub scope that secrets should be synced to+ Scope CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope `json:"scope"`}-// FromDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 overwrites any union data inside the DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2-func (t *DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2(v DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope string-// MergeDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 performs a merge with any union data inside the DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2-func (t *DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2(v DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 struct {+ // Env The name of the GitHub environment.+ Env string `json:"env"`- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+ // Owner The name of the GitHub account owner of the repository.+ Owner string `json:"owner"`-func (t DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}+ // Repo The name of the GitHub repository.+ Repo string `json:"repo"`-func (t *DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err+ // Scope The GitHub scope that secrets should be synced to+ Scope CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope `json:"scope"`}-// AsGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 returns the union data inside the GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0-func (t GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0() (GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0, error) {- var body GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0- err := json.Unmarshal(t.union, &body)- return body, err-}+// CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope string-// FromGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 overwrites any union data inside the GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0-func (t *GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0(v GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0) error {- b, err := json.Marshal(v)- t.union = b- return err+// CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig struct {+ union json.RawMessage}-// MergeGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 performs a merge with any union data inside the GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0-func (t *GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0(v GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior string- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// CreateGitHubSecretSync400JSONResponseBodyStatusCode defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSync400JSONResponseBodyStatusCode float32-// AsGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 returns the union data inside the GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1-func (t GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1() (GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1, error) {- var body GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1- err := json.Unmarshal(t.union, &body)- return body, err-}+// CreateGitHubSecretSync401JSONResponseBodyStatusCode defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSync401JSONResponseBodyStatusCode float32-// FromGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 overwrites any union data inside the GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1-func (t *GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1(v GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// CreateGitHubSecretSync403JSONResponseBodyStatusCode defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSync403JSONResponseBodyStatusCode float32-// MergeGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 performs a merge with any union data inside the GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1-func (t *GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1(v GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// CreateGitHubSecretSync404JSONResponseBodyStatusCode defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSync404JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// CreateGitHubSecretSync422JSONResponseBodyStatusCode defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSync422JSONResponseBodyStatusCode float32-// AsGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 returns the union data inside the GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2-func (t GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2() (GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2, error) {- var body GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2- err := json.Unmarshal(t.union, &body)- return body, err-}+// CreateGitHubSecretSync500JSONResponseBodyStatusCode defines parameters for CreateGitHubSecretSync.+type CreateGitHubSecretSync500JSONResponseBodyStatusCode float32-// FromGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 overwrites any union data inside the GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2-func (t *GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2(v GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2) error {- b, err := json.Marshal(v)- t.union = b- return err+// DeleteGitHubSecretSyncParams defines parameters for DeleteGitHubSecretSync.+type DeleteGitHubSecretSyncParams struct {+ // RemoveSecrets Whether previously synced secrets should be removed prior to deletion.+ RemoveSecrets *DeleteGitHubSecretSyncParamsRemoveSecrets `form:"removeSecrets,omitempty" json:"removeSecrets,omitempty"`}-// MergeGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 performs a merge with any union data inside the GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2-func (t *GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2(v GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// DeleteGitHubSecretSyncParamsRemoveSecrets defines parameters for DeleteGitHubSecretSync.+type DeleteGitHubSecretSyncParamsRemoveSecrets string- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp defines parameters for DeleteGitHubSecretSync.+type DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp string-func (t GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}+// DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination defines parameters for DeleteGitHubSecretSync.+type DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination string-func (t *GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}+// DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 defines parameters for DeleteGitHubSecretSync.+type DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 struct {+ // Org The name of the GitHub organization.+ Org string `json:"org"`-// AsRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0 returns the union data inside the RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig as a RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0-func (t RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig) AsRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0() (RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0, error) {- var body RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0- err := json.Unmarshal(t.union, &body)- return body, err+ // Scope The GitHub scope that secrets should be synced to+ Scope DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope `json:"scope"`+ SelectedRepositoryIds *[]float32 `json:"selectedRepositoryIds,omitempty"`+ Visibility DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility `json:"visibility"`}-// FromRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0 overwrites any union data inside the RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig as the provided RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0-func (t *RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig) FromRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0(v RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope defines parameters for DeleteGitHubSecretSync.+type DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope string-// MergeRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0 performs a merge with any union data inside the RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig, using the provided RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0-func (t *RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig) MergeRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0(v RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility defines parameters for DeleteGitHubSecretSync.+type DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility string- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 defines parameters for DeleteGitHubSecretSync.+type DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 struct {+ // Owner The name of the GitHub account owner of the repository.+ Owner string `json:"owner"`-// AsRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1 returns the union data inside the RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig as a RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1-func (t RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig) AsRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1() (RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1, error) {- var body RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1- err := json.Unmarshal(t.union, &body)- return body, err-}+ // Repo The name of the GitHub repository.+ Repo string `json:"repo"`-// FromRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1 overwrites any union data inside the RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig as the provided RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1-func (t *RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig) FromRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1(v RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1) error {- b, err := json.Marshal(v)- t.union = b- return err+ // Scope The GitHub scope that secrets should be synced to+ Scope DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope `json:"scope"`}-// MergeRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1 performs a merge with any union data inside the RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig, using the provided RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1-func (t *RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig) MergeRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1(v RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope defines parameters for DeleteGitHubSecretSync.+type DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope string- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 defines parameters for DeleteGitHubSecretSync.+type DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 struct {+ // Env The name of the GitHub environment.+ Env string `json:"env"`-// AsRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2 returns the union data inside the RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig as a RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2-func (t RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig) AsRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2() (RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2, error) {- var body RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2- err := json.Unmarshal(t.union, &body)- return body, err-}+ // Owner The name of the GitHub account owner of the repository.+ Owner string `json:"owner"`-// FromRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2 overwrites any union data inside the RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig as the provided RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2-func (t *RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig) FromRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2(v RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2) error {- b, err := json.Marshal(v)- t.union = b- return err-}+ // Repo The name of the GitHub repository.+ Repo string `json:"repo"`-// MergeRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2 performs a merge with any union data inside the RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig, using the provided RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2-func (t *RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig) MergeRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2(v RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2) error {- b, err := json.Marshal(v)- if err != nil {- return err- }-- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err+ // Scope The GitHub scope that secrets should be synced to+ Scope DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope `json:"scope"`}-func (t RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}+// DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope defines parameters for DeleteGitHubSecretSync.+type DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope string-func (t *RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err+// DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig defines parameters for DeleteGitHubSecretSync.+type DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig struct {+ union json.RawMessage}-// AsSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 returns the union data inside the SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0-func (t SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0() (SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0, error) {- var body SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0- err := json.Unmarshal(t.union, &body)- return body, err-}+// DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior defines parameters for DeleteGitHubSecretSync.+type DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior string-// FromSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 overwrites any union data inside the SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0-func (t *SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0(v SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// DeleteGitHubSecretSync400JSONResponseBodyStatusCode defines parameters for DeleteGitHubSecretSync.+type DeleteGitHubSecretSync400JSONResponseBodyStatusCode float32-// MergeSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 performs a merge with any union data inside the SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0-func (t *SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0(v SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// DeleteGitHubSecretSync401JSONResponseBodyStatusCode defines parameters for DeleteGitHubSecretSync.+type DeleteGitHubSecretSync401JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// DeleteGitHubSecretSync403JSONResponseBodyStatusCode defines parameters for DeleteGitHubSecretSync.+type DeleteGitHubSecretSync403JSONResponseBodyStatusCode float32-// AsSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 returns the union data inside the SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1-func (t SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1() (SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1, error) {- var body SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1- err := json.Unmarshal(t.union, &body)- return body, err-}+// DeleteGitHubSecretSync404JSONResponseBodyStatusCode defines parameters for DeleteGitHubSecretSync.+type DeleteGitHubSecretSync404JSONResponseBodyStatusCode float32-// FromSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 overwrites any union data inside the SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1-func (t *SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1(v SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// DeleteGitHubSecretSync422JSONResponseBodyStatusCode defines parameters for DeleteGitHubSecretSync.+type DeleteGitHubSecretSync422JSONResponseBodyStatusCode float32-// MergeSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 performs a merge with any union data inside the SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1-func (t *SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1(v SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// DeleteGitHubSecretSync500JSONResponseBodyStatusCode defines parameters for DeleteGitHubSecretSync.+type DeleteGitHubSecretSync500JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp defines parameters for GetGitHubSecretSync.+type GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp string-// AsSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 returns the union data inside the SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2-func (t SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2() (SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2, error) {- var body SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2- err := json.Unmarshal(t.union, &body)- return body, err-}+// GetGitHubSecretSync200JSONResponseBodySecretSyncDestination defines parameters for GetGitHubSecretSync.+type GetGitHubSecretSync200JSONResponseBodySecretSyncDestination string-// FromSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 overwrites any union data inside the SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2-func (t *SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2(v SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2) error {- b, err := json.Marshal(v)- t.union = b- return err+// GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 defines parameters for GetGitHubSecretSync.+type GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 struct {+ // Org The name of the GitHub organization.+ Org string `json:"org"`++ // Scope The GitHub scope that secrets should be synced to+ Scope GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope `json:"scope"`+ SelectedRepositoryIds *[]float32 `json:"selectedRepositoryIds,omitempty"`+ Visibility GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility `json:"visibility"`}-// MergeSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 performs a merge with any union data inside the SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2-func (t *SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2(v SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope defines parameters for GetGitHubSecretSync.+type GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope string- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility defines parameters for GetGitHubSecretSync.+type GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility string-func (t SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}+// GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 defines parameters for GetGitHubSecretSync.+type GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 struct {+ // Owner The name of the GitHub account owner of the repository.+ Owner string `json:"owner"`-func (t *SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}+ // Repo The name of the GitHub repository.+ Repo string `json:"repo"`-// AsCompleteAccountSignupV3JSONBody0 returns the union data inside the CompleteAccountSignupV3JSONBody as a CompleteAccountSignupV3JSONBody0-func (t CompleteAccountSignupV3JSONBody) AsCompleteAccountSignupV3JSONBody0() (CompleteAccountSignupV3JSONBody0, error) {- var body CompleteAccountSignupV3JSONBody0- err := json.Unmarshal(t.union, &body)- return body, err+ // Scope The GitHub scope that secrets should be synced to+ Scope GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope `json:"scope"`}-// FromCompleteAccountSignupV3JSONBody0 overwrites any union data inside the CompleteAccountSignupV3JSONBody as the provided CompleteAccountSignupV3JSONBody0-func (t *CompleteAccountSignupV3JSONBody) FromCompleteAccountSignupV3JSONBody0(v CompleteAccountSignupV3JSONBody0) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope defines parameters for GetGitHubSecretSync.+type GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope string-// MergeCompleteAccountSignupV3JSONBody0 performs a merge with any union data inside the CompleteAccountSignupV3JSONBody, using the provided CompleteAccountSignupV3JSONBody0-func (t *CompleteAccountSignupV3JSONBody) MergeCompleteAccountSignupV3JSONBody0(v CompleteAccountSignupV3JSONBody0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 defines parameters for GetGitHubSecretSync.+type GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 struct {+ // Env The name of the GitHub environment.+ Env string `json:"env"`- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+ // Owner The name of the GitHub account owner of the repository.+ Owner string `json:"owner"`-// AsCompleteAccountSignupV3JSONBody1 returns the union data inside the CompleteAccountSignupV3JSONBody as a CompleteAccountSignupV3JSONBody1-func (t CompleteAccountSignupV3JSONBody) AsCompleteAccountSignupV3JSONBody1() (CompleteAccountSignupV3JSONBody1, error) {- var body CompleteAccountSignupV3JSONBody1- err := json.Unmarshal(t.union, &body)- return body, err-}+ // Repo The name of the GitHub repository.+ Repo string `json:"repo"`-// FromCompleteAccountSignupV3JSONBody1 overwrites any union data inside the CompleteAccountSignupV3JSONBody as the provided CompleteAccountSignupV3JSONBody1-func (t *CompleteAccountSignupV3JSONBody) FromCompleteAccountSignupV3JSONBody1(v CompleteAccountSignupV3JSONBody1) error {- b, err := json.Marshal(v)- t.union = b- return err+ // Scope The GitHub scope that secrets should be synced to+ Scope GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope `json:"scope"`}-// MergeCompleteAccountSignupV3JSONBody1 performs a merge with any union data inside the CompleteAccountSignupV3JSONBody, using the provided CompleteAccountSignupV3JSONBody1-func (t *CompleteAccountSignupV3JSONBody) MergeCompleteAccountSignupV3JSONBody1(v CompleteAccountSignupV3JSONBody1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope defines parameters for GetGitHubSecretSync.+type GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope string- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err+// GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig defines parameters for GetGitHubSecretSync.+type GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig struct {+ union json.RawMessage}-func (t CompleteAccountSignupV3JSONBody) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}+// GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior defines parameters for GetGitHubSecretSync.+type GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior string-func (t *CompleteAccountSignupV3JSONBody) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err-}+// GetGitHubSecretSync400JSONResponseBodyStatusCode defines parameters for GetGitHubSecretSync.+type GetGitHubSecretSync400JSONResponseBodyStatusCode float32-// AsDeleteSecretV4200JSONResponseBody0 returns the union data inside the DeleteSecretV4200JSONResponseBody as a DeleteSecretV4200JSONResponseBody0-func (t DeleteSecretV4200JSONResponseBody) AsDeleteSecretV4200JSONResponseBody0() (DeleteSecretV4200JSONResponseBody0, error) {- var body DeleteSecretV4200JSONResponseBody0- err := json.Unmarshal(t.union, &body)- return body, err-}+// GetGitHubSecretSync401JSONResponseBodyStatusCode defines parameters for GetGitHubSecretSync.+type GetGitHubSecretSync401JSONResponseBodyStatusCode float32-// FromDeleteSecretV4200JSONResponseBody0 overwrites any union data inside the DeleteSecretV4200JSONResponseBody as the provided DeleteSecretV4200JSONResponseBody0-func (t *DeleteSecretV4200JSONResponseBody) FromDeleteSecretV4200JSONResponseBody0(v DeleteSecretV4200JSONResponseBody0) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// GetGitHubSecretSync403JSONResponseBodyStatusCode defines parameters for GetGitHubSecretSync.+type GetGitHubSecretSync403JSONResponseBodyStatusCode float32-// MergeDeleteSecretV4200JSONResponseBody0 performs a merge with any union data inside the DeleteSecretV4200JSONResponseBody, using the provided DeleteSecretV4200JSONResponseBody0-func (t *DeleteSecretV4200JSONResponseBody) MergeDeleteSecretV4200JSONResponseBody0(v DeleteSecretV4200JSONResponseBody0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// GetGitHubSecretSync404JSONResponseBodyStatusCode defines parameters for GetGitHubSecretSync.+type GetGitHubSecretSync404JSONResponseBodyStatusCode float32- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// GetGitHubSecretSync422JSONResponseBodyStatusCode defines parameters for GetGitHubSecretSync.+type GetGitHubSecretSync422JSONResponseBodyStatusCode float32-// AsDeleteSecretV4200JSONResponseBody1 returns the union data inside the DeleteSecretV4200JSONResponseBody as a DeleteSecretV4200JSONResponseBody1-func (t DeleteSecretV4200JSONResponseBody) AsDeleteSecretV4200JSONResponseBody1() (DeleteSecretV4200JSONResponseBody1, error) {- var body DeleteSecretV4200JSONResponseBody1- err := json.Unmarshal(t.union, &body)- return body, err-}+// GetGitHubSecretSync500JSONResponseBodyStatusCode defines parameters for GetGitHubSecretSync.+type GetGitHubSecretSync500JSONResponseBodyStatusCode float32-// FromDeleteSecretV4200JSONResponseBody1 overwrites any union data inside the DeleteSecretV4200JSONResponseBody as the provided DeleteSecretV4200JSONResponseBody1-func (t *DeleteSecretV4200JSONResponseBody) FromDeleteSecretV4200JSONResponseBody1(v DeleteSecretV4200JSONResponseBody1) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp defines parameters for RemoveGitHubSecretSyncSecrets.+type RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp string-// MergeDeleteSecretV4200JSONResponseBody1 performs a merge with any union data inside the DeleteSecretV4200JSONResponseBody, using the provided DeleteSecretV4200JSONResponseBody1-func (t *DeleteSecretV4200JSONResponseBody) MergeDeleteSecretV4200JSONResponseBody1(v DeleteSecretV4200JSONResponseBody1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }-- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+// RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination defines parameters for RemoveGitHubSecretSyncSecrets.+type RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination string-func (t DeleteSecretV4200JSONResponseBody) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}+// RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0 defines parameters for RemoveGitHubSecretSyncSecrets.+type RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0 struct {+ // Org The name of the GitHub organization.+ Org string `json:"org"`-func (t *DeleteSecretV4200JSONResponseBody) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err+ // Scope The GitHub scope that secrets should be synced to+ Scope RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Scope `json:"scope"`+ SelectedRepositoryIds *[]float32 `json:"selectedRepositoryIds,omitempty"`+ Visibility RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility `json:"visibility"`}-// AsCreateSecretV4200JSONResponseBody0 returns the union data inside the CreateSecretV4200JSONResponseBody as a CreateSecretV4200JSONResponseBody0-func (t CreateSecretV4200JSONResponseBody) AsCreateSecretV4200JSONResponseBody0() (CreateSecretV4200JSONResponseBody0, error) {- var body CreateSecretV4200JSONResponseBody0- err := json.Unmarshal(t.union, &body)- return body, err-}+// RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Scope defines parameters for RemoveGitHubSecretSyncSecrets.+type RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Scope string-// FromCreateSecretV4200JSONResponseBody0 overwrites any union data inside the CreateSecretV4200JSONResponseBody as the provided CreateSecretV4200JSONResponseBody0-func (t *CreateSecretV4200JSONResponseBody) FromCreateSecretV4200JSONResponseBody0(v CreateSecretV4200JSONResponseBody0) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility defines parameters for RemoveGitHubSecretSyncSecrets.+type RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility string-// MergeCreateSecretV4200JSONResponseBody0 performs a merge with any union data inside the CreateSecretV4200JSONResponseBody, using the provided CreateSecretV4200JSONResponseBody0-func (t *CreateSecretV4200JSONResponseBody) MergeCreateSecretV4200JSONResponseBody0(v CreateSecretV4200JSONResponseBody0) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1 defines parameters for RemoveGitHubSecretSyncSecrets.+type RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1 struct {+ // Owner The name of the GitHub account owner of the repository.+ Owner string `json:"owner"`- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+ // Repo The name of the GitHub repository.+ Repo string `json:"repo"`-// AsCreateSecretV4200JSONResponseBody1 returns the union data inside the CreateSecretV4200JSONResponseBody as a CreateSecretV4200JSONResponseBody1-func (t CreateSecretV4200JSONResponseBody) AsCreateSecretV4200JSONResponseBody1() (CreateSecretV4200JSONResponseBody1, error) {- var body CreateSecretV4200JSONResponseBody1- err := json.Unmarshal(t.union, &body)- return body, err+ // Scope The GitHub scope that secrets should be synced to+ Scope RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1Scope `json:"scope"`}-// FromCreateSecretV4200JSONResponseBody1 overwrites any union data inside the CreateSecretV4200JSONResponseBody as the provided CreateSecretV4200JSONResponseBody1-func (t *CreateSecretV4200JSONResponseBody) FromCreateSecretV4200JSONResponseBody1(v CreateSecretV4200JSONResponseBody1) error {- b, err := json.Marshal(v)- t.union = b- return err-}+// RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1Scope defines parameters for RemoveGitHubSecretSyncSecrets.+type RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1Scope string-// MergeCreateSecretV4200JSONResponseBody1 performs a merge with any union data inside the CreateSecretV4200JSONResponseBody, using the provided CreateSecretV4200JSONResponseBody1-func (t *CreateSecretV4200JSONResponseBody) MergeCreateSecretV4200JSONResponseBody1(v CreateSecretV4200JSONResponseBody1) error {- b, err := json.Marshal(v)- if err != nil {- return err- }+// RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2 defines parameters for RemoveGitHubSecretSyncSecrets.+type RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2 struct {+ // Env The name of the GitHub environment.+ Env string `json:"env"`- merged, err := runtime.JSONMerge(t.union, b)- t.union = merged- return err-}+ // Owner The name of the GitHub account owner of the repository.+ Owner string `json:"owner"`-func (t CreateSecretV4200JSONResponseBody) MarshalJSON() ([]byte, error) {- b, err := t.union.MarshalJSON()- return b, err-}+ // Repo The name of the GitHub repository.+ Repo string `json:"repo"`-func (t *CreateSecretV4200JSONResponseBody) UnmarshalJSON(b []byte) error {- err := t.union.UnmarshalJSON(b)- return err+ // Scope The GitHub scope that secrets should be synced to+ Scope RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2Scope `json:"scope"`}-// RequestEditorFn is the function signature for the RequestEditor callback function-type RequestEditorFn func(ctx context.Context, req *http.Request) error+// RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2Scope defines parameters for RemoveGitHubSecretSyncSecrets.+type RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2Scope string-// Doer performs HTTP requests.-//-// The standard http.Client implements this interface.-type HttpRequestDoer interface {- Do(req *http.Request) (*http.Response, error)+// RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig defines parameters for RemoveGitHubSecretSyncSecrets.+type RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig struct {+ union json.RawMessage}-// Client which conforms to the OpenAPI3 specification for this service.-type Client struct {- // The endpoint of the server conforming to this interface, with scheme,- // https://api.deepmap.com for example. This can contain a path relative- // to the server, such as https://api.deepmap.com/dev-test, and all the- // paths in the swagger spec will be appended to the server.- Server string+// RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior defines parameters for RemoveGitHubSecretSyncSecrets.+type RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior string- // Doer for performing requests, typically a *http.Client with any- // customized settings, such as certificate chains.- Client HttpRequestDoer+// RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode defines parameters for RemoveGitHubSecretSyncSecrets.+type RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode float32- // A list of callbacks for modifying requests which are generated before sending over- // the network.- RequestEditors []RequestEditorFn-}+// RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode defines parameters for RemoveGitHubSecretSyncSecrets.+type RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode float32-// ClientOption allows setting custom parameters during construction-type ClientOption func(*Client) error+// RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode defines parameters for RemoveGitHubSecretSyncSecrets.+type RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode float32-// Creates a new Client, with reasonable defaults-func NewClient(server string, opts ...ClientOption) (*Client, error) {- // create a client with sane default values- client := Client{- Server: server,- }- // mutate client and add all optional params- for _, o := range opts {- if err := o(&client); err != nil {- return nil, err- }- }- // ensure the server URL always has a trailing slash- if !strings.HasSuffix(client.Server, "/") {- client.Server += "/"- }- // create httpClient, if not already present- if client.Client == nil {- client.Client = &http.Client{}- }- return &client, nil-}+// RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode defines parameters for RemoveGitHubSecretSyncSecrets.+type RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode float32-// WithHTTPClient allows overriding the default Doer, which is-// automatically created using http.Client. This is useful for tests.-func WithHTTPClient(doer HttpRequestDoer) ClientOption {- return func(c *Client) error {- c.Client = doer- return nil- }-}+// RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode defines parameters for RemoveGitHubSecretSyncSecrets.+type RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode float32-// WithRequestEditorFn allows setting up a callback function, which will be-// called right before sending the request. This can be used to mutate the request.-func WithRequestEditorFn(fn RequestEditorFn) ClientOption {- return func(c *Client) error {- c.RequestEditors = append(c.RequestEditors, fn)- return nil- }-}+// RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode defines parameters for RemoveGitHubSecretSyncSecrets.+type RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode float32-// The interface specification for the client above.-type ClientInterface interface {+// SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp defines parameters for SyncGitHubSecretSync.+type SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp string- // GetInstanceStatus performs a GET /api/status (the `GetInstanceStatus` operationId) request.- //- // Get the status of the Infisical instance and the features configured on it. Public and unauthenticated; used by liveness and readiness probes and exempt from the API-wide rate limit.- GetInstanceStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)+// SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination defines parameters for SyncGitHubSecretSync.+type SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination string- // AdminBootstrapWithBody performs a POST /api/v1/admin/bootstrap (the `AdminBootstrap` operationId) request,- // with any type of body and a specified content type.- AdminBootstrapWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)+// SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 defines parameters for SyncGitHubSecretSync.+type SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 struct {+ // Org The name of the GitHub organization.+ Org string `json:"org"`- // AdminBootstrap performs a POST /api/v1/admin/bootstrap (the `AdminBootstrap` operationId) request.- // Takes a body of the `application/json` content type.- AdminBootstrap(ctx context.Context, body AdminBootstrapJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+ // Scope The GitHub scope that secrets should be synced to+ Scope SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope `json:"scope"`+ SelectedRepositoryIds *[]float32 `json:"selectedRepositoryIds,omitempty"`+ Visibility SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility `json:"visibility"`+}- // UpdateAdminConfigWithBody performs a PATCH /api/v1/admin/config (the `UpdateAdminConfig` operationId) request,- // with any type of body and a specified content type.- UpdateAdminConfigWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)+// SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope defines parameters for SyncGitHubSecretSync.+type SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope string- // UpdateAdminConfig performs a PATCH /api/v1/admin/config (the `UpdateAdminConfig` operationId) request.- // Takes a body of the `application/json` content type.- UpdateAdminConfig(ctx context.Context, body UpdateAdminConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+// SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility defines parameters for SyncGitHubSecretSync.+type SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility string- // CreateGitHubAppConnectionWithBody performs a POST /api/v1/app-connections/github (the `CreateGitHubAppConnection` operationId) request,- // with any type of body and a specified content type.- //- // Create a GitHub Connection.- CreateGitHubAppConnectionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)+// SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 defines parameters for SyncGitHubSecretSync.+type SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 struct {+ // Owner The name of the GitHub account owner of the repository.+ Owner string `json:"owner"`- // CreateGitHubAppConnection performs a POST /api/v1/app-connections/github (the `CreateGitHubAppConnection` operationId) request.- // Takes a body of the `application/json` content type.- //- // Create a GitHub Connection.- CreateGitHubAppConnection(ctx context.Context, body CreateGitHubAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+ // Repo The name of the GitHub repository.+ Repo string `json:"repo"`- // DeleteGitHubAppConnection performs a DELETE /api/v1/app-connections/github/{connectionId} (the `DeleteGitHubAppConnection` operationId) request.- //- // Delete the specified GitHub Connection.- DeleteGitHubAppConnection(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)+ // Scope The GitHub scope that secrets should be synced to+ Scope SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope `json:"scope"`+}- // RefreshAuthToken performs a POST /api/v1/auth/token (the `RefreshAuthToken` operationId) request.- RefreshAuthToken(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)+// SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope defines parameters for SyncGitHubSecretSync.+type SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope string- // AttachUniversalAuthWithBody performs a POST /api/v1/auth/universal-auth/identities/{identityId} (the `AttachUniversalAuth` operationId) request,- // with any type of body and a specified content type.- //- // Attach Universal Auth configuration onto machine identity.- AttachUniversalAuthWithBody(ctx context.Context, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)+// SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 defines parameters for SyncGitHubSecretSync.+type SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 struct {+ // Env The name of the GitHub environment.+ Env string `json:"env"`- // AttachUniversalAuth performs a POST /api/v1/auth/universal-auth/identities/{identityId} (the `AttachUniversalAuth` operationId) request.- // Takes a body of the `application/json` content type.- //- // Attach Universal Auth configuration onto machine identity.- AttachUniversalAuth(ctx context.Context, identityId string, body AttachUniversalAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+ // Owner The name of the GitHub account owner of the repository.+ Owner string `json:"owner"`- // CreateUniversalAuthClientSecretWithBody performs a POST /api/v1/auth/universal-auth/identities/{identityId}/client-secrets (the `CreateUniversalAuthClientSecret` operationId) request,- // with any type of body and a specified content type.- //- // Create Universal Auth Client Secret for machine identity.- CreateUniversalAuthClientSecretWithBody(ctx context.Context, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)+ // Repo The name of the GitHub repository.+ Repo string `json:"repo"`- // CreateUniversalAuthClientSecret performs a POST /api/v1/auth/universal-auth/identities/{identityId}/client-secrets (the `CreateUniversalAuthClientSecret` operationId) request.- // Takes a body of the `application/json` content type.- //- // Create Universal Auth Client Secret for machine identity.- CreateUniversalAuthClientSecret(ctx context.Context, identityId string, body CreateUniversalAuthClientSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+ // Scope The GitHub scope that secrets should be synced to+ Scope SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope `json:"scope"`+}- // LoginWithUniversalAuthWithBody performs a POST /api/v1/auth/universal-auth/login (the `LoginWithUniversalAuth` operationId) request,- // with any type of body and a specified content type.- //- // Login with Universal Auth for machine identity.- LoginWithUniversalAuthWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)+// SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope defines parameters for SyncGitHubSecretSync.+type SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope string- // LoginWithUniversalAuth performs a POST /api/v1/auth/universal-auth/login (the `LoginWithUniversalAuth` operationId) request.- // Takes a body of the `application/json` content type.- //- // Login with Universal Auth for machine identity.- LoginWithUniversalAuth(ctx context.Context, body LoginWithUniversalAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+// SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig defines parameters for SyncGitHubSecretSync.+type SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig struct {+ union json.RawMessage+}- // CreateMachineIdentityWithBody performs a POST /api/v1/identities (the `CreateMachineIdentity` operationId) request,- // with any type of body and a specified content type.- //- // Create machine identity.- CreateMachineIdentityWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)+// SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior defines parameters for SyncGitHubSecretSync.+type SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior string- // CreateMachineIdentity performs a POST /api/v1/identities (the `CreateMachineIdentity` operationId) request.- // Takes a body of the `application/json` content type.- //- // Create machine identity.- CreateMachineIdentity(ctx context.Context, body CreateMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+// SyncGitHubSecretSync400JSONResponseBodyStatusCode defines parameters for SyncGitHubSecretSync.+type SyncGitHubSecretSync400JSONResponseBodyStatusCode float32- // InviteUsersToOrganizationWithBody performs a POST /api/v1/invite-org/signup (the `InviteUsersToOrganization` operationId) request,- // with any type of body and a specified content type.- InviteUsersToOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)+// SyncGitHubSecretSync401JSONResponseBodyStatusCode defines parameters for SyncGitHubSecretSync.+type SyncGitHubSecretSync401JSONResponseBodyStatusCode float32- // InviteUsersToOrganization performs a POST /api/v1/invite-org/signup (the `InviteUsersToOrganization` operationId) request.- // Takes a body of the `application/json` content type.- InviteUsersToOrganization(ctx context.Context, body InviteUsersToOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+// SyncGitHubSecretSync403JSONResponseBodyStatusCode defines parameters for SyncGitHubSecretSync.+type SyncGitHubSecretSync403JSONResponseBodyStatusCode float32- // VerifyUserToOrganizationWithBody performs a POST /api/v1/invite-org/verify (the `VerifyUserToOrganization` operationId) request,- // with any type of body and a specified content type.- VerifyUserToOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)+// SyncGitHubSecretSync404JSONResponseBodyStatusCode defines parameters for SyncGitHubSecretSync.+type SyncGitHubSecretSync404JSONResponseBodyStatusCode float32- // VerifyUserToOrganization performs a POST /api/v1/invite-org/verify (the `VerifyUserToOrganization` operationId) request.- // Takes a body of the `application/json` content type.- VerifyUserToOrganization(ctx context.Context, body VerifyUserToOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+// SyncGitHubSecretSync422JSONResponseBodyStatusCode defines parameters for SyncGitHubSecretSync.+type SyncGitHubSecretSync422JSONResponseBodyStatusCode float32- // GetOrganizationPlan performs a GET /api/v1/organizations/{organizationId}/plan (the `GetOrganizationPlan` operationId) request.- GetOrganizationPlan(ctx context.Context, organizationId string, params *GetOrganizationPlanParams, reqEditors ...RequestEditorFn) (*http.Response, error)+// SyncGitHubSecretSync500JSONResponseBodyStatusCode defines parameters for SyncGitHubSecretSync.+type SyncGitHubSecretSync500JSONResponseBodyStatusCode float32- // CreateProjectWithBody performs a POST /api/v1/projects (the `CreateProject` operationId) request,- // with any type of body and a specified content type.- //- // Create a new project.- CreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateSecretFolderJSONBody defines parameters for CreateSecretFolder.+type CreateSecretFolderJSONBody struct {+ // Description An optional description label for the folder.+ Description *string `json:"description,omitempty"`- // CreateProject performs a POST /api/v1/projects (the `CreateProject` operationId) request.- // Takes a body of the `application/json` content type.- //- // Create a new project.- CreateProject(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+ // Environment The slug of the environment to create the folder in.+ Environment string `json:"environment"`- // ListProjectMachineIdentities performs a GET /api/v1/projects/{projectId}/identities (the `ListProjectMachineIdentities` operationId) request.- //- // List identities in a project.- ListProjectMachineIdentities(ctx context.Context, projectId string, params *ListProjectMachineIdentitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)+ // Name The name of the folder to create.+ Name string `json:"name"`- // CreateProjectMachineIdentityWithBody performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` operationId) request,- // with any type of body and a specified content type.- //- // Create an identity in a project.- CreateProjectMachineIdentityWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)+ // Path The path of the folder to create.+ Path *string `json:"path,omitempty"`- // CreateProjectMachineIdentity performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` operationId) request.- // Takes a body of the `application/json` content type.- //- // Create an identity in a project.- CreateProjectMachineIdentity(ctx context.Context, projectId string, body CreateProjectMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+ // ProjectId The ID of the project to create the folder in.+ ProjectId string `json:"projectId"`+}- // InviteProjectMembersWithBody performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request,- // with any type of body and a specified content type.- //- // Invite members to project.- InviteProjectMembersWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateSecretFolder400JSONResponseBodyStatusCode defines parameters for CreateSecretFolder.+type CreateSecretFolder400JSONResponseBodyStatusCode float32- // InviteProjectMembers performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request.- // Takes a body of the `application/json` content type.- //- // Invite members to project.- InviteProjectMembers(ctx context.Context, projectId string, body InviteProjectMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateSecretFolder401JSONResponseBodyStatusCode defines parameters for CreateSecretFolder.+type CreateSecretFolder401JSONResponseBodyStatusCode float32- // CreateProjectIdentityMembershipWithBody performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request,- // with any type of body and a specified content type.- //- // Create project identity membership.- CreateProjectIdentityMembershipWithBody(ctx context.Context, projectId string, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateSecretFolder403JSONResponseBodyStatusCode defines parameters for CreateSecretFolder.+type CreateSecretFolder403JSONResponseBodyStatusCode float32- // CreateProjectIdentityMembership performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request.- // Takes a body of the `application/json` content type.- //- // Create project identity membership.- CreateProjectIdentityMembership(ctx context.Context, projectId string, identityId string, body CreateProjectIdentityMembershipJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateSecretFolder404JSONResponseBodyStatusCode defines parameters for CreateSecretFolder.+type CreateSecretFolder404JSONResponseBodyStatusCode float32- // CreateGitHubSecretSyncWithBody performs a POST /api/v1/secret-syncs/github (the `CreateGitHubSecretSync` operationId) request,- // with any type of body and a specified content type.- //- // Create a GitHub Sync for the specified project environment.- CreateGitHubSecretSyncWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateSecretFolder422JSONResponseBodyStatusCode defines parameters for CreateSecretFolder.+type CreateSecretFolder422JSONResponseBodyStatusCode float32- // CreateGitHubSecretSync performs a POST /api/v1/secret-syncs/github (the `CreateGitHubSecretSync` operationId) request.- // Takes a body of the `application/json` content type.- //- // Create a GitHub Sync for the specified project environment.- CreateGitHubSecretSync(ctx context.Context, body CreateGitHubSecretSyncJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateSecretFolder500JSONResponseBodyStatusCode defines parameters for CreateSecretFolder.+type CreateSecretFolder500JSONResponseBodyStatusCode float32- // DeleteGitHubSecretSync performs a DELETE /api/v1/secret-syncs/github/{syncId} (the `DeleteGitHubSecretSync` operationId) request.- //- // Delete the specified GitHub Sync.- DeleteGitHubSecretSync(ctx context.Context, syncId openapi_types.UUID, params *DeleteGitHubSecretSyncParams, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateOrganizationJSONBody defines parameters for CreateOrganization.+type CreateOrganizationJSONBody struct {+ Name string `json:"name"`+}- // GetGitHubSecretSync performs a GET /api/v1/secret-syncs/github/{syncId} (the `GetGitHubSecretSync` operationId) request.- //- // Get the specified GitHub Sync by ID.- GetGitHubSecretSync(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateOrganization400JSONResponseBodyStatusCode defines parameters for CreateOrganization.+type CreateOrganization400JSONResponseBodyStatusCode float32- // RemoveGitHubSecretSyncSecrets performs a POST /api/v1/secret-syncs/github/{syncId}/remove-secrets (the `RemoveGitHubSecretSyncSecrets` operationId) request.- //- // Remove previously synced secrets from the specified GitHub Sync destination.- RemoveGitHubSecretSyncSecrets(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateOrganization401JSONResponseBodyStatusCode defines parameters for CreateOrganization.+type CreateOrganization401JSONResponseBodyStatusCode float32- // SyncGitHubSecretSync performs a POST /api/v1/secret-syncs/github/{syncId}/sync-secrets (the `SyncGitHubSecretSync` operationId) request.- //- // Trigger a sync for the specified GitHub Sync.- SyncGitHubSecretSync(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateOrganization403JSONResponseBodyStatusCode defines parameters for CreateOrganization.+type CreateOrganization403JSONResponseBodyStatusCode float32- // CreateOrganizationWithBody performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request,- // with any type of body and a specified content type.- CreateOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateOrganization404JSONResponseBodyStatusCode defines parameters for CreateOrganization.+type CreateOrganization404JSONResponseBodyStatusCode float32- // CreateOrganization performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request.- // Takes a body of the `application/json` content type.- CreateOrganization(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateOrganization422JSONResponseBodyStatusCode defines parameters for CreateOrganization.+type CreateOrganization422JSONResponseBodyStatusCode float32- // DeleteOrganization performs a DELETE /api/v2/organizations/{organizationId} (the `DeleteOrganization` operationId) request.- DeleteOrganization(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateOrganization500JSONResponseBodyStatusCode defines parameters for CreateOrganization.+type CreateOrganization500JSONResponseBodyStatusCode float32- // LoginV3WithBody performs a POST /api/v3/auth/login (the `LoginV3` operationId) request,- // with any type of body and a specified content type.- LoginV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)+// DeleteOrganization400JSONResponseBodyStatusCode defines parameters for DeleteOrganization.+type DeleteOrganization400JSONResponseBodyStatusCode float32- // LoginV3 performs a POST /api/v3/auth/login (the `LoginV3` operationId) request.- // Takes a body of the `application/json` content type.- LoginV3(ctx context.Context, body LoginV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+// DeleteOrganization401JSONResponseBodyStatusCode defines parameters for DeleteOrganization.+type DeleteOrganization401JSONResponseBodyStatusCode float32- // SelectOrganizationV3WithBody performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request,- // with any type of body and a specified content type.- SelectOrganizationV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)+// DeleteOrganization403JSONResponseBodyStatusCode defines parameters for DeleteOrganization.+type DeleteOrganization403JSONResponseBodyStatusCode float32- // SelectOrganizationV3 performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request.- // Takes a body of the `application/json` content type.- SelectOrganizationV3(ctx context.Context, body SelectOrganizationV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+// DeleteOrganization404JSONResponseBodyStatusCode defines parameters for DeleteOrganization.+type DeleteOrganization404JSONResponseBodyStatusCode float32- // CompleteAccountSignupV3WithBody performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request,- // with any type of body and a specified content type.- CompleteAccountSignupV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)+// DeleteOrganization422JSONResponseBodyStatusCode defines parameters for DeleteOrganization.+type DeleteOrganization422JSONResponseBodyStatusCode float32- // CompleteAccountSignupV3 performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request.- // Takes a body of the `application/json` content type.- CompleteAccountSignupV3(ctx context.Context, body CompleteAccountSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+// DeleteOrganization500JSONResponseBodyStatusCode defines parameters for DeleteOrganization.+type DeleteOrganization500JSONResponseBodyStatusCode float32- // BeginEmailSignupV3WithBody performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request,- // with any type of body and a specified content type.- BeginEmailSignupV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateSecretApprovalPolicyJSONBody defines parameters for CreateSecretApprovalPolicy.+type CreateSecretApprovalPolicyJSONBody struct {+ AllowedSelfApprovals *bool `json:"allowedSelfApprovals,omitempty"`+ Approvals *float32 `json:"approvals,omitempty"`+ Approvers []CreateSecretApprovalPolicyJSONBody_Approvers_Item `json:"approvers"`+ BypassForMachineIdentities *bool `json:"bypassForMachineIdentities,omitempty"`+ Bypassers *[]CreateSecretApprovalPolicyJSONBody_Bypassers_Item `json:"bypassers,omitempty"`+ EnforcementLevel *CreateSecretApprovalPolicyJSONBodyEnforcementLevel `json:"enforcementLevel,omitempty"`+ Environment *string `json:"environment,omitempty"`+ Environments *[]string `json:"environments,omitempty"`+ Name *string `json:"name,omitempty"`+ ProjectId string `json:"projectId"`+ SecretPath string `json:"secretPath"`+}- // BeginEmailSignupV3 performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request.- // Takes a body of the `application/json` content type.- BeginEmailSignupV3(ctx context.Context, body BeginEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateSecretApprovalPolicyJSONBodyApprovers0 defines parameters for CreateSecretApprovalPolicy.+type CreateSecretApprovalPolicyJSONBodyApprovers0 struct {+ Id string `json:"id"`+ Type CreateSecretApprovalPolicyJSONBodyApprovers0Type `json:"type"`+}- // VerifyEmailSignupV3WithBody performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request,- // with any type of body and a specified content type.- VerifyEmailSignupV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateSecretApprovalPolicyJSONBodyApprovers0Type defines parameters for CreateSecretApprovalPolicy.+type CreateSecretApprovalPolicyJSONBodyApprovers0Type string- // VerifyEmailSignupV3 performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request.- // Takes a body of the `application/json` content type.- VerifyEmailSignupV3(ctx context.Context, body VerifyEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateSecretApprovalPolicyJSONBodyApprovers1 defines parameters for CreateSecretApprovalPolicy.+type CreateSecretApprovalPolicyJSONBodyApprovers1 struct {+ Id *string `json:"id,omitempty"`+ Type CreateSecretApprovalPolicyJSONBodyApprovers1Type `json:"type"`+ Username *string `json:"username,omitempty"`+}- // ListSecretsV4 performs a GET /api/v4/secrets (the `ListSecretsV4` operationId) request.- //- // List secrets.- ListSecretsV4(ctx context.Context, params *ListSecretsV4Params, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateSecretApprovalPolicyJSONBodyApprovers1Type defines parameters for CreateSecretApprovalPolicy.+type CreateSecretApprovalPolicyJSONBodyApprovers1Type string- // DeleteSecretV4WithBody performs a DELETE /api/v4/secrets/{secretName} (the `DeleteSecretV4` operationId) request,- // with any type of body and a specified content type.- //- // Delete secret.- DeleteSecretV4WithBody(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateSecretApprovalPolicyJSONBody_Approvers_Item defines parameters for CreateSecretApprovalPolicy.+type CreateSecretApprovalPolicyJSONBody_Approvers_Item struct {+ union json.RawMessage+}- // DeleteSecretV4 performs a DELETE /api/v4/secrets/{secretName} (the `DeleteSecretV4` operationId) request.- // Takes a body of the `application/json` content type.- //- // Delete secret.- DeleteSecretV4(ctx context.Context, secretName string, body DeleteSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateSecretApprovalPolicyJSONBodyBypassers0 defines parameters for CreateSecretApprovalPolicy.+type CreateSecretApprovalPolicyJSONBodyBypassers0 struct {+ Id string `json:"id"`+ Type CreateSecretApprovalPolicyJSONBodyBypassers0Type `json:"type"`+}- // GetSecretByNameV4 performs a GET /api/v4/secrets/{secretName} (the `GetSecretByNameV4` operationId) request.- //- // Get a secret by name.- GetSecretByNameV4(ctx context.Context, secretName string, params *GetSecretByNameV4Params, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateSecretApprovalPolicyJSONBodyBypassers0Type defines parameters for CreateSecretApprovalPolicy.+type CreateSecretApprovalPolicyJSONBodyBypassers0Type string- // CreateSecretV4WithBody performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request,- // with any type of body and a specified content type.- //- // Create secret.- CreateSecretV4WithBody(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateSecretApprovalPolicyJSONBodyBypassers1 defines parameters for CreateSecretApprovalPolicy.+type CreateSecretApprovalPolicyJSONBodyBypassers1 struct {+ Id *string `json:"id,omitempty"`+ Type CreateSecretApprovalPolicyJSONBodyBypassers1Type `json:"type"`+ Username *string `json:"username,omitempty"`+}- // CreateSecretV4 performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request.- // Takes a body of the `application/json` content type.- //- // Create secret.- CreateSecretV4(ctx context.Context, secretName string, body CreateSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)+// CreateSecretApprovalPolicyJSONBodyBypassers1Type defines parameters for CreateSecretApprovalPolicy.+type CreateSecretApprovalPolicyJSONBodyBypassers1Type string++// CreateSecretApprovalPolicyJSONBody_Bypassers_Item defines parameters for CreateSecretApprovalPolicy.+type CreateSecretApprovalPolicyJSONBody_Bypassers_Item struct {+ union json.RawMessage}-// GetInstanceStatus performs a GET /api/status (the `GetInstanceStatus` operationId) request.-//-// Get the status of the Infisical instance and the features configured on it. Public and unauthenticated; used by liveness and readiness probes and exempt from the API-wide rate limit.-func (c *Client) GetInstanceStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewGetInstanceStatusRequest(c.Server)- 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)-}+// CreateSecretApprovalPolicyJSONBodyEnforcementLevel defines parameters for CreateSecretApprovalPolicy.+type CreateSecretApprovalPolicyJSONBodyEnforcementLevel string-// AdminBootstrapWithBody performs a POST /api/v1/admin/bootstrap (the `AdminBootstrap` operationId) request,-// with any type of body and a specified content type.-func (c *Client) AdminBootstrapWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewAdminBootstrapRequestWithBody(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)-}+// CreateSecretApprovalPolicy400JSONResponseBodyStatusCode defines parameters for CreateSecretApprovalPolicy.+type CreateSecretApprovalPolicy400JSONResponseBodyStatusCode float32-// AdminBootstrap performs a POST /api/v1/admin/bootstrap (the `AdminBootstrap` operationId) request.-// Takes a body of the `application/json` content type.-func (c *Client) AdminBootstrap(ctx context.Context, body AdminBootstrapJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewAdminBootstrapRequest(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)-}+// CreateSecretApprovalPolicy401JSONResponseBodyStatusCode defines parameters for CreateSecretApprovalPolicy.+type CreateSecretApprovalPolicy401JSONResponseBodyStatusCode float32-// UpdateAdminConfigWithBody performs a PATCH /api/v1/admin/config (the `UpdateAdminConfig` operationId) request,-// with any type of body and a specified content type.-func (c *Client) UpdateAdminConfigWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewUpdateAdminConfigRequestWithBody(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)-}+// CreateSecretApprovalPolicy403JSONResponseBodyStatusCode defines parameters for CreateSecretApprovalPolicy.+type CreateSecretApprovalPolicy403JSONResponseBodyStatusCode float32-// UpdateAdminConfig performs a PATCH /api/v1/admin/config (the `UpdateAdminConfig` operationId) request.-// Takes a body of the `application/json` content type.-func (c *Client) UpdateAdminConfig(ctx context.Context, body UpdateAdminConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewUpdateAdminConfigRequest(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)-}+// CreateSecretApprovalPolicy404JSONResponseBodyStatusCode defines parameters for CreateSecretApprovalPolicy.+type CreateSecretApprovalPolicy404JSONResponseBodyStatusCode float32-// CreateGitHubAppConnectionWithBody performs a POST /api/v1/app-connections/github (the `CreateGitHubAppConnection` operationId) request,-// with any type of body and a specified content type.-//-// Create a GitHub Connection.-func (c *Client) CreateGitHubAppConnectionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewCreateGitHubAppConnectionRequestWithBody(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)-}+// CreateSecretApprovalPolicy422JSONResponseBodyStatusCode defines parameters for CreateSecretApprovalPolicy.+type CreateSecretApprovalPolicy422JSONResponseBodyStatusCode float32-// CreateGitHubAppConnection performs a POST /api/v1/app-connections/github (the `CreateGitHubAppConnection` operationId) request.-// Takes a body of the `application/json` content type.-//-// Create a GitHub Connection.-func (c *Client) CreateGitHubAppConnection(ctx context.Context, body CreateGitHubAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewCreateGitHubAppConnectionRequest(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)-}+// CreateSecretApprovalPolicy500JSONResponseBodyStatusCode defines parameters for CreateSecretApprovalPolicy.+type CreateSecretApprovalPolicy500JSONResponseBodyStatusCode float32-// DeleteGitHubAppConnection performs a DELETE /api/v1/app-connections/github/{connectionId} (the `DeleteGitHubAppConnection` operationId) request.-//-// Delete the specified GitHub Connection.-func (c *Client) DeleteGitHubAppConnection(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewDeleteGitHubAppConnectionRequest(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)+// GetSecretApprovalPolicyBoardParams defines parameters for GetSecretApprovalPolicyBoard.+type GetSecretApprovalPolicyBoardParams struct {+ ProjectId string `form:"projectId" json:"projectId"`+ Environment string `form:"environment" json:"environment"`+ SecretPath string `form:"secretPath" json:"secretPath"`}-// RefreshAuthToken performs a POST /api/v1/auth/token (the `RefreshAuthToken` operationId) request.-func (c *Client) RefreshAuthToken(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewRefreshAuthTokenRequest(c.Server)- 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)-}+// GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCode defines parameters for GetSecretApprovalPolicyBoard.+type GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCode float32-// AttachUniversalAuthWithBody performs a POST /api/v1/auth/universal-auth/identities/{identityId} (the `AttachUniversalAuth` operationId) request,-// with any type of body and a specified content type.-//-// Attach Universal Auth configuration onto machine identity.-func (c *Client) AttachUniversalAuthWithBody(ctx context.Context, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewAttachUniversalAuthRequestWithBody(c.Server, identityId, 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)-}+// GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCode defines parameters for GetSecretApprovalPolicyBoard.+type GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCode float32-// AttachUniversalAuth performs a POST /api/v1/auth/universal-auth/identities/{identityId} (the `AttachUniversalAuth` operationId) request.-// Takes a body of the `application/json` content type.-//-// Attach Universal Auth configuration onto machine identity.-func (c *Client) AttachUniversalAuth(ctx context.Context, identityId string, body AttachUniversalAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewAttachUniversalAuthRequest(c.Server, identityId, 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)+// GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCode defines parameters for GetSecretApprovalPolicyBoard.+type GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCode float32++// GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCode defines parameters for GetSecretApprovalPolicyBoard.+type GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCode float32++// GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCode defines parameters for GetSecretApprovalPolicyBoard.+type GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCode float32++// GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCode defines parameters for GetSecretApprovalPolicyBoard.+type GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCode float32++// DeleteSecretApprovalPolicy400JSONResponseBodyStatusCode defines parameters for DeleteSecretApprovalPolicy.+type DeleteSecretApprovalPolicy400JSONResponseBodyStatusCode float32++// DeleteSecretApprovalPolicy401JSONResponseBodyStatusCode defines parameters for DeleteSecretApprovalPolicy.+type DeleteSecretApprovalPolicy401JSONResponseBodyStatusCode float32++// DeleteSecretApprovalPolicy403JSONResponseBodyStatusCode defines parameters for DeleteSecretApprovalPolicy.+type DeleteSecretApprovalPolicy403JSONResponseBodyStatusCode float32++// DeleteSecretApprovalPolicy404JSONResponseBodyStatusCode defines parameters for DeleteSecretApprovalPolicy.+type DeleteSecretApprovalPolicy404JSONResponseBodyStatusCode float32++// DeleteSecretApprovalPolicy422JSONResponseBodyStatusCode defines parameters for DeleteSecretApprovalPolicy.+type DeleteSecretApprovalPolicy422JSONResponseBodyStatusCode float32++// DeleteSecretApprovalPolicy500JSONResponseBodyStatusCode defines parameters for DeleteSecretApprovalPolicy.+type DeleteSecretApprovalPolicy500JSONResponseBodyStatusCode float32++// GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType defines parameters for GetSecretApprovalPolicy.+type GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType string++// GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType defines parameters for GetSecretApprovalPolicy.+type GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType string++// GetSecretApprovalPolicy400JSONResponseBodyStatusCode defines parameters for GetSecretApprovalPolicy.+type GetSecretApprovalPolicy400JSONResponseBodyStatusCode float32++// GetSecretApprovalPolicy401JSONResponseBodyStatusCode defines parameters for GetSecretApprovalPolicy.+type GetSecretApprovalPolicy401JSONResponseBodyStatusCode float32++// GetSecretApprovalPolicy403JSONResponseBodyStatusCode defines parameters for GetSecretApprovalPolicy.+type GetSecretApprovalPolicy403JSONResponseBodyStatusCode float32++// GetSecretApprovalPolicy404JSONResponseBodyStatusCode defines parameters for GetSecretApprovalPolicy.+type GetSecretApprovalPolicy404JSONResponseBodyStatusCode float32++// GetSecretApprovalPolicy422JSONResponseBodyStatusCode defines parameters for GetSecretApprovalPolicy.+type GetSecretApprovalPolicy422JSONResponseBodyStatusCode float32++// GetSecretApprovalPolicy500JSONResponseBodyStatusCode defines parameters for GetSecretApprovalPolicy.+type GetSecretApprovalPolicy500JSONResponseBodyStatusCode float32++// UpdateSecretApprovalPolicyJSONBody defines parameters for UpdateSecretApprovalPolicy.+type UpdateSecretApprovalPolicyJSONBody struct {+ AllowedSelfApprovals *bool `json:"allowedSelfApprovals,omitempty"`+ Approvals *float32 `json:"approvals,omitempty"`+ Approvers []UpdateSecretApprovalPolicyJSONBody_Approvers_Item `json:"approvers"`+ BypassForMachineIdentities *bool `json:"bypassForMachineIdentities,omitempty"`+ Bypassers *[]UpdateSecretApprovalPolicyJSONBody_Bypassers_Item `json:"bypassers,omitempty"`+ EnforcementLevel *UpdateSecretApprovalPolicyJSONBodyEnforcementLevel `json:"enforcementLevel,omitempty"`+ Environments *[]string `json:"environments,omitempty"`+ Name *string `json:"name,omitempty"`+ SecretPath *string `json:"secretPath,omitempty"`}-// CreateUniversalAuthClientSecretWithBody performs a POST /api/v1/auth/universal-auth/identities/{identityId}/client-secrets (the `CreateUniversalAuthClientSecret` operationId) request,-// with any type of body and a specified content type.-//-// Create Universal Auth Client Secret for machine identity.-func (c *Client) CreateUniversalAuthClientSecretWithBody(ctx context.Context, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewCreateUniversalAuthClientSecretRequestWithBody(c.Server, identityId, 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)+// UpdateSecretApprovalPolicyJSONBodyApprovers0 defines parameters for UpdateSecretApprovalPolicy.+type UpdateSecretApprovalPolicyJSONBodyApprovers0 struct {+ Id string `json:"id"`+ Type UpdateSecretApprovalPolicyJSONBodyApprovers0Type `json:"type"`}-// CreateUniversalAuthClientSecret performs a POST /api/v1/auth/universal-auth/identities/{identityId}/client-secrets (the `CreateUniversalAuthClientSecret` operationId) request.-// Takes a body of the `application/json` content type.-//-// Create Universal Auth Client Secret for machine identity.-func (c *Client) CreateUniversalAuthClientSecret(ctx context.Context, identityId string, body CreateUniversalAuthClientSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewCreateUniversalAuthClientSecretRequest(c.Server, identityId, 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)+// UpdateSecretApprovalPolicyJSONBodyApprovers0Type defines parameters for UpdateSecretApprovalPolicy.+type UpdateSecretApprovalPolicyJSONBodyApprovers0Type string++// UpdateSecretApprovalPolicyJSONBodyApprovers1 defines parameters for UpdateSecretApprovalPolicy.+type UpdateSecretApprovalPolicyJSONBodyApprovers1 struct {+ Id *string `json:"id,omitempty"`+ Type UpdateSecretApprovalPolicyJSONBodyApprovers1Type `json:"type"`+ Username *string `json:"username,omitempty"`}-// LoginWithUniversalAuthWithBody performs a POST /api/v1/auth/universal-auth/login (the `LoginWithUniversalAuth` operationId) request,-// with any type of body and a specified content type.-//-// Login with Universal Auth for machine identity.-func (c *Client) LoginWithUniversalAuthWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewLoginWithUniversalAuthRequestWithBody(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)+// UpdateSecretApprovalPolicyJSONBodyApprovers1Type defines parameters for UpdateSecretApprovalPolicy.+type UpdateSecretApprovalPolicyJSONBodyApprovers1Type string++// UpdateSecretApprovalPolicyJSONBody_Approvers_Item defines parameters for UpdateSecretApprovalPolicy.+type UpdateSecretApprovalPolicyJSONBody_Approvers_Item struct {+ union json.RawMessage}-// LoginWithUniversalAuth performs a POST /api/v1/auth/universal-auth/login (the `LoginWithUniversalAuth` operationId) request.-// Takes a body of the `application/json` content type.-//-// Login with Universal Auth for machine identity.-func (c *Client) LoginWithUniversalAuth(ctx context.Context, body LoginWithUniversalAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewLoginWithUniversalAuthRequest(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)+// UpdateSecretApprovalPolicyJSONBodyBypassers0 defines parameters for UpdateSecretApprovalPolicy.+type UpdateSecretApprovalPolicyJSONBodyBypassers0 struct {+ Id string `json:"id"`+ Type UpdateSecretApprovalPolicyJSONBodyBypassers0Type `json:"type"`}-// CreateMachineIdentityWithBody performs a POST /api/v1/identities (the `CreateMachineIdentity` operationId) request,-// with any type of body and a specified content type.-//-// Create machine identity.-func (c *Client) CreateMachineIdentityWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewCreateMachineIdentityRequestWithBody(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)+// UpdateSecretApprovalPolicyJSONBodyBypassers0Type defines parameters for UpdateSecretApprovalPolicy.+type UpdateSecretApprovalPolicyJSONBodyBypassers0Type string++// UpdateSecretApprovalPolicyJSONBodyBypassers1 defines parameters for UpdateSecretApprovalPolicy.+type UpdateSecretApprovalPolicyJSONBodyBypassers1 struct {+ Id *string `json:"id,omitempty"`+ Type UpdateSecretApprovalPolicyJSONBodyBypassers1Type `json:"type"`+ Username *string `json:"username,omitempty"`}-// CreateMachineIdentity performs a POST /api/v1/identities (the `CreateMachineIdentity` operationId) request.-// Takes a body of the `application/json` content type.-//-// Create machine identity.-func (c *Client) CreateMachineIdentity(ctx context.Context, body CreateMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewCreateMachineIdentityRequest(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)+// UpdateSecretApprovalPolicyJSONBodyBypassers1Type defines parameters for UpdateSecretApprovalPolicy.+type UpdateSecretApprovalPolicyJSONBodyBypassers1Type string++// UpdateSecretApprovalPolicyJSONBody_Bypassers_Item defines parameters for UpdateSecretApprovalPolicy.+type UpdateSecretApprovalPolicyJSONBody_Bypassers_Item struct {+ union json.RawMessage}-// InviteUsersToOrganizationWithBody performs a POST /api/v1/invite-org/signup (the `InviteUsersToOrganization` operationId) request,-// with any type of body and a specified content type.-func (c *Client) InviteUsersToOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewInviteUsersToOrganizationRequestWithBody(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)-}+// UpdateSecretApprovalPolicyJSONBodyEnforcementLevel defines parameters for UpdateSecretApprovalPolicy.+type UpdateSecretApprovalPolicyJSONBodyEnforcementLevel string-// InviteUsersToOrganization performs a POST /api/v1/invite-org/signup (the `InviteUsersToOrganization` operationId) request.-// Takes a body of the `application/json` content type.-func (c *Client) InviteUsersToOrganization(ctx context.Context, body InviteUsersToOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewInviteUsersToOrganizationRequest(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)-}+// UpdateSecretApprovalPolicy400JSONResponseBodyStatusCode defines parameters for UpdateSecretApprovalPolicy.+type UpdateSecretApprovalPolicy400JSONResponseBodyStatusCode float32-// VerifyUserToOrganizationWithBody performs a POST /api/v1/invite-org/verify (the `VerifyUserToOrganization` operationId) request,-// with any type of body and a specified content type.-func (c *Client) VerifyUserToOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewVerifyUserToOrganizationRequestWithBody(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)-}+// UpdateSecretApprovalPolicy401JSONResponseBodyStatusCode defines parameters for UpdateSecretApprovalPolicy.+type UpdateSecretApprovalPolicy401JSONResponseBodyStatusCode float32-// VerifyUserToOrganization performs a POST /api/v1/invite-org/verify (the `VerifyUserToOrganization` operationId) request.-// Takes a body of the `application/json` content type.-func (c *Client) VerifyUserToOrganization(ctx context.Context, body VerifyUserToOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewVerifyUserToOrganizationRequest(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)-}+// UpdateSecretApprovalPolicy403JSONResponseBodyStatusCode defines parameters for UpdateSecretApprovalPolicy.+type UpdateSecretApprovalPolicy403JSONResponseBodyStatusCode float32-// GetOrganizationPlan performs a GET /api/v1/organizations/{organizationId}/plan (the `GetOrganizationPlan` operationId) request.-func (c *Client) GetOrganizationPlan(ctx context.Context, organizationId string, params *GetOrganizationPlanParams, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewGetOrganizationPlanRequest(c.Server, organizationId, params)- 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)-}+// UpdateSecretApprovalPolicy404JSONResponseBodyStatusCode defines parameters for UpdateSecretApprovalPolicy.+type UpdateSecretApprovalPolicy404JSONResponseBodyStatusCode float32-// CreateProjectWithBody performs a POST /api/v1/projects (the `CreateProject` operationId) request,-// with any type of body and a specified content type.-//-// Create a new project.-func (c *Client) CreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewCreateProjectRequestWithBody(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)-}+// UpdateSecretApprovalPolicy422JSONResponseBodyStatusCode defines parameters for UpdateSecretApprovalPolicy.+type UpdateSecretApprovalPolicy422JSONResponseBodyStatusCode float32-// CreateProject performs a POST /api/v1/projects (the `CreateProject` operationId) request.-// Takes a body of the `application/json` content type.-//-// Create a new project.-func (c *Client) CreateProject(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewCreateProjectRequest(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)-}+// UpdateSecretApprovalPolicy500JSONResponseBodyStatusCode defines parameters for UpdateSecretApprovalPolicy.+type UpdateSecretApprovalPolicy500JSONResponseBodyStatusCode float32-// ListProjectMachineIdentities performs a GET /api/v1/projects/{projectId}/identities (the `ListProjectMachineIdentities` operationId) request.-//-// List identities in a project.-func (c *Client) ListProjectMachineIdentities(ctx context.Context, projectId string, params *ListProjectMachineIdentitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewListProjectMachineIdentitiesRequest(c.Server, projectId, params)- 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)-}+// CreateSecretImportJSONBody defines parameters for CreateSecretImport.+type CreateSecretImportJSONBody struct {+ // Environment The slug of the environment to import into.+ Environment string `json:"environment"`+ Import struct {+ // Environment The slug of the environment to import from.+ Environment string `json:"environment"`-// CreateProjectMachineIdentityWithBody performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` operationId) request,-// with any type of body and a specified content type.-//-// Create an identity in a project.-func (c *Client) CreateProjectMachineIdentityWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewCreateProjectMachineIdentityRequestWithBody(c.Server, projectId, 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)-}+ // Path The path to import from.+ Path string `json:"path"`-// CreateProjectMachineIdentity performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` operationId) request.-// Takes a body of the `application/json` content type.-//-// Create an identity in a project.-func (c *Client) CreateProjectMachineIdentity(ctx context.Context, projectId string, body CreateProjectMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewCreateProjectMachineIdentityRequest(c.Server, projectId, 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)-}+ // SourceProjectId The ID of the project to import from.+ SourceProjectId *string `json:"sourceProjectId,omitempty"`+ } `json:"import"`-// InviteProjectMembersWithBody performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request,-// with any type of body and a specified content type.-//-// Invite members to project.-func (c *Client) InviteProjectMembersWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewInviteProjectMembersRequestWithBody(c.Server, projectId, 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)-}+ // IsReplication When true, secrets from the source will be automatically sent to the destination. If approval policies exist at the destination, the secrets will be sent as approval requests instead of being applied immediately.+ IsReplication *bool `json:"isReplication,omitempty"`-// InviteProjectMembers performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request.-// Takes a body of the `application/json` content type.-//-// Invite members to project.-func (c *Client) InviteProjectMembers(ctx context.Context, projectId string, body InviteProjectMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewInviteProjectMembersRequest(c.Server, projectId, 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)-}+ // Path The path to import into.+ Path *string `json:"path,omitempty"`-// CreateProjectIdentityMembershipWithBody performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request,-// with any type of body and a specified content type.-//-// Create project identity membership.-func (c *Client) CreateProjectIdentityMembershipWithBody(ctx context.Context, projectId string, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewCreateProjectIdentityMembershipRequestWithBody(c.Server, projectId, identityId, 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)+ // ProjectId The ID of the project you are working in.+ ProjectId string `json:"projectId"`}-// CreateProjectIdentityMembership performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request.-// Takes a body of the `application/json` content type.-//-// Create project identity membership.-func (c *Client) CreateProjectIdentityMembership(ctx context.Context, projectId string, identityId string, body CreateProjectIdentityMembershipJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewCreateProjectIdentityMembershipRequest(c.Server, projectId, identityId, 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)-}+// CreateSecretImport400JSONResponseBodyStatusCode defines parameters for CreateSecretImport.+type CreateSecretImport400JSONResponseBodyStatusCode float32-// CreateGitHubSecretSyncWithBody performs a POST /api/v1/secret-syncs/github (the `CreateGitHubSecretSync` operationId) request,-// with any type of body and a specified content type.-//-// Create a GitHub Sync for the specified project environment.-func (c *Client) CreateGitHubSecretSyncWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewCreateGitHubSecretSyncRequestWithBody(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)-}+// CreateSecretImport401JSONResponseBodyStatusCode defines parameters for CreateSecretImport.+type CreateSecretImport401JSONResponseBodyStatusCode float32-// CreateGitHubSecretSync performs a POST /api/v1/secret-syncs/github (the `CreateGitHubSecretSync` operationId) request.-// Takes a body of the `application/json` content type.-//-// Create a GitHub Sync for the specified project environment.-func (c *Client) CreateGitHubSecretSync(ctx context.Context, body CreateGitHubSecretSyncJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewCreateGitHubSecretSyncRequest(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)-}+// CreateSecretImport403JSONResponseBodyStatusCode defines parameters for CreateSecretImport.+type CreateSecretImport403JSONResponseBodyStatusCode float32-// DeleteGitHubSecretSync performs a DELETE /api/v1/secret-syncs/github/{syncId} (the `DeleteGitHubSecretSync` operationId) request.-//-// Delete the specified GitHub Sync.-func (c *Client) DeleteGitHubSecretSync(ctx context.Context, syncId openapi_types.UUID, params *DeleteGitHubSecretSyncParams, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewDeleteGitHubSecretSyncRequest(c.Server, syncId, params)- 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)-}+// CreateSecretImport404JSONResponseBodyStatusCode defines parameters for CreateSecretImport.+type CreateSecretImport404JSONResponseBodyStatusCode float32-// GetGitHubSecretSync performs a GET /api/v1/secret-syncs/github/{syncId} (the `GetGitHubSecretSync` operationId) request.-//-// Get the specified GitHub Sync by ID.-func (c *Client) GetGitHubSecretSync(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewGetGitHubSecretSyncRequest(c.Server, syncId)- 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)+// CreateSecretImport422JSONResponseBodyStatusCode defines parameters for CreateSecretImport.+type CreateSecretImport422JSONResponseBodyStatusCode float32++// CreateSecretImport500JSONResponseBodyStatusCode defines parameters for CreateSecretImport.+type CreateSecretImport500JSONResponseBodyStatusCode float32++// LoginV3JSONBody defines parameters for LoginV3.+type LoginV3JSONBody struct {+ CaptchaToken *string `json:"captchaToken,omitempty"`+ Email string `json:"email"`+ Password string `json:"password"`}-// RemoveGitHubSecretSyncSecrets performs a POST /api/v1/secret-syncs/github/{syncId}/remove-secrets (the `RemoveGitHubSecretSyncSecrets` operationId) request.-//-// Remove previously synced secrets from the specified GitHub Sync destination.-func (c *Client) RemoveGitHubSecretSyncSecrets(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewRemoveGitHubSecretSyncSecretsRequest(c.Server, syncId)- 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)-}+// LoginV3400JSONResponseBodyStatusCode defines parameters for LoginV3.+type LoginV3400JSONResponseBodyStatusCode float32-// SyncGitHubSecretSync performs a POST /api/v1/secret-syncs/github/{syncId}/sync-secrets (the `SyncGitHubSecretSync` operationId) request.-//-// Trigger a sync for the specified GitHub Sync.-func (c *Client) SyncGitHubSecretSync(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewSyncGitHubSecretSyncRequest(c.Server, syncId)- 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)-}+// LoginV3401JSONResponseBodyStatusCode defines parameters for LoginV3.+type LoginV3401JSONResponseBodyStatusCode float32-// CreateOrganizationWithBody performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request,-// with any type of body and a specified content type.-func (c *Client) CreateOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewCreateOrganizationRequestWithBody(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)-}+// LoginV3403JSONResponseBodyStatusCode defines parameters for LoginV3.+type LoginV3403JSONResponseBodyStatusCode float32-// CreateOrganization performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request.-// Takes a body of the `application/json` content type.-func (c *Client) CreateOrganization(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewCreateOrganizationRequest(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)-}+// LoginV3404JSONResponseBodyStatusCode defines parameters for LoginV3.+type LoginV3404JSONResponseBodyStatusCode float32-// DeleteOrganization performs a DELETE /api/v2/organizations/{organizationId} (the `DeleteOrganization` operationId) request.-func (c *Client) DeleteOrganization(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewDeleteOrganizationRequest(c.Server, organizationId)- 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)-}+// LoginV3422JSONResponseBodyStatusCode defines parameters for LoginV3.+type LoginV3422JSONResponseBodyStatusCode float32-// LoginV3WithBody performs a POST /api/v3/auth/login (the `LoginV3` operationId) request,-// with any type of body and a specified content type.-func (c *Client) LoginV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewLoginV3RequestWithBody(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)-}+// LoginV3500JSONResponseBodyStatusCode defines parameters for LoginV3.+type LoginV3500JSONResponseBodyStatusCode float32-// LoginV3 performs a POST /api/v3/auth/login (the `LoginV3` operationId) request.-// Takes a body of the `application/json` content type.-func (c *Client) LoginV3(ctx context.Context, body LoginV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewLoginV3Request(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)+// SelectOrganizationV3JSONBody defines parameters for SelectOrganizationV3.+type SelectOrganizationV3JSONBody struct {+ OrganizationId string `json:"organizationId"`+ UserAgent *SelectOrganizationV3JSONBodyUserAgent `json:"userAgent,omitempty"`}-// SelectOrganizationV3WithBody performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request,-// with any type of body and a specified content type.-func (c *Client) SelectOrganizationV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewSelectOrganizationV3RequestWithBody(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)-}+// SelectOrganizationV3JSONBodyUserAgent defines parameters for SelectOrganizationV3.+type SelectOrganizationV3JSONBodyUserAgent string-// SelectOrganizationV3 performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request.-// Takes a body of the `application/json` content type.-func (c *Client) SelectOrganizationV3(ctx context.Context, body SelectOrganizationV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewSelectOrganizationV3Request(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)-}+// SelectOrganizationV3400JSONResponseBodyStatusCode defines parameters for SelectOrganizationV3.+type SelectOrganizationV3400JSONResponseBodyStatusCode float32-// CompleteAccountSignupV3WithBody performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request,-// with any type of body and a specified content type.-func (c *Client) CompleteAccountSignupV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewCompleteAccountSignupV3RequestWithBody(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)-}+// SelectOrganizationV3401JSONResponseBodyStatusCode defines parameters for SelectOrganizationV3.+type SelectOrganizationV3401JSONResponseBodyStatusCode float32-// CompleteAccountSignupV3 performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request.-// Takes a body of the `application/json` content type.-func (c *Client) CompleteAccountSignupV3(ctx context.Context, body CompleteAccountSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewCompleteAccountSignupV3Request(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)-}+// SelectOrganizationV3403JSONResponseBodyStatusCode defines parameters for SelectOrganizationV3.+type SelectOrganizationV3403JSONResponseBodyStatusCode float32-// BeginEmailSignupV3WithBody performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request,-// with any type of body and a specified content type.-func (c *Client) BeginEmailSignupV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewBeginEmailSignupV3RequestWithBody(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)-}+// SelectOrganizationV3404JSONResponseBodyStatusCode defines parameters for SelectOrganizationV3.+type SelectOrganizationV3404JSONResponseBodyStatusCode float32-// BeginEmailSignupV3 performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request.-// Takes a body of the `application/json` content type.-func (c *Client) BeginEmailSignupV3(ctx context.Context, body BeginEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewBeginEmailSignupV3Request(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)-}+// SelectOrganizationV3422JSONResponseBodyStatusCode defines parameters for SelectOrganizationV3.+type SelectOrganizationV3422JSONResponseBodyStatusCode float32-// VerifyEmailSignupV3WithBody performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request,-// with any type of body and a specified content type.-func (c *Client) VerifyEmailSignupV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewVerifyEmailSignupV3RequestWithBody(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)-}+// SelectOrganizationV3500JSONResponseBodyStatusCode defines parameters for SelectOrganizationV3.+type SelectOrganizationV3500JSONResponseBodyStatusCode float32-// VerifyEmailSignupV3 performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request.-// Takes a body of the `application/json` content type.-func (c *Client) VerifyEmailSignupV3(ctx context.Context, body VerifyEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewVerifyEmailSignupV3Request(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)+// CompleteAccountSignupV3JSONBody defines parameters for CompleteAccountSignupV3.+type CompleteAccountSignupV3JSONBody struct {+ union json.RawMessage}-// ListSecretsV4 performs a GET /api/v4/secrets (the `ListSecretsV4` operationId) request.-//-// List secrets.-func (c *Client) ListSecretsV4(ctx context.Context, params *ListSecretsV4Params, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewListSecretsV4Request(c.Server, params)- 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)+// CompleteAccountSignupV3JSONBody0 defines parameters for CompleteAccountSignupV3.+type CompleteAccountSignupV3JSONBody0 struct {+ AttributionSource *string `json:"attributionSource,omitempty"`+ Email string `json:"email"`+ FirstName string `json:"firstName"`+ HubspotUtk *string `json:"hubspotUtk,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ OrganizationName *string `json:"organizationName,omitempty"`+ Password string `json:"password"`+ Type CompleteAccountSignupV3JSONBody0Type `json:"type"`}-// DeleteSecretV4WithBody performs a DELETE /api/v4/secrets/{secretName} (the `DeleteSecretV4` operationId) request,-// with any type of body and a specified content type.-//-// Delete secret.-func (c *Client) DeleteSecretV4WithBody(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewDeleteSecretV4RequestWithBody(c.Server, secretName, 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)-}--// DeleteSecretV4 performs a DELETE /api/v4/secrets/{secretName} (the `DeleteSecretV4` operationId) request.-// Takes a body of the `application/json` content type.-//-// Delete secret.-func (c *Client) DeleteSecretV4(ctx context.Context, secretName string, body DeleteSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewDeleteSecretV4Request(c.Server, secretName, 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)-}--// GetSecretByNameV4 performs a GET /api/v4/secrets/{secretName} (the `GetSecretByNameV4` operationId) request.-//-// Get a secret by name.-func (c *Client) GetSecretByNameV4(ctx context.Context, secretName string, params *GetSecretByNameV4Params, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewGetSecretByNameV4Request(c.Server, secretName, params)- 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)-}+// CompleteAccountSignupV3JSONBody0Type defines parameters for CompleteAccountSignupV3.+type CompleteAccountSignupV3JSONBody0Type string-// CreateSecretV4WithBody performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request,-// with any type of body and a specified content type.-//-// Create secret.-func (c *Client) CreateSecretV4WithBody(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewCreateSecretV4RequestWithBody(c.Server, secretName, 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)+// CompleteAccountSignupV3JSONBody1 defines parameters for CompleteAccountSignupV3.+type CompleteAccountSignupV3JSONBody1 struct {+ Code string `json:"code"`+ HubspotUtk *string `json:"hubspotUtk,omitempty"`+ Type CompleteAccountSignupV3JSONBody1Type `json:"type"`}-// CreateSecretV4 performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request.-// Takes a body of the `application/json` content type.-//-// Create secret.-func (c *Client) CreateSecretV4(ctx context.Context, secretName string, body CreateSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {- req, err := NewCreateSecretV4Request(c.Server, secretName, 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)-}+// CompleteAccountSignupV3JSONBody1Type defines parameters for CompleteAccountSignupV3.+type CompleteAccountSignupV3JSONBody1Type string-// NewGetInstanceStatusRequest constructs an http.Request for the GetInstanceStatus method-func NewGetInstanceStatusRequest(server string) (*http.Request, error) {- var err error+// CompleteAccountSignupV3400JSONResponseBodyStatusCode defines parameters for CompleteAccountSignupV3.+type CompleteAccountSignupV3400JSONResponseBodyStatusCode float32- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+// CompleteAccountSignupV3401JSONResponseBodyStatusCode defines parameters for CompleteAccountSignupV3.+type CompleteAccountSignupV3401JSONResponseBodyStatusCode float32- operationPath := fmt.Sprintf("/api/status")- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+// CompleteAccountSignupV3403JSONResponseBodyStatusCode defines parameters for CompleteAccountSignupV3.+type CompleteAccountSignupV3403JSONResponseBodyStatusCode float32- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+// CompleteAccountSignupV3404JSONResponseBodyStatusCode defines parameters for CompleteAccountSignupV3.+type CompleteAccountSignupV3404JSONResponseBodyStatusCode float32- req, err := http.NewRequest(http.MethodGet, queryURL.String(), nil)- if err != nil {- return nil, err- }+// CompleteAccountSignupV3422JSONResponseBodyStatusCode defines parameters for CompleteAccountSignupV3.+type CompleteAccountSignupV3422JSONResponseBodyStatusCode float32- return req, nil-}+// CompleteAccountSignupV3500JSONResponseBodyStatusCode defines parameters for CompleteAccountSignupV3.+type CompleteAccountSignupV3500JSONResponseBodyStatusCode float32-// NewAdminBootstrapRequest calls the generic AdminBootstrap builder with application/json body-func NewAdminBootstrapRequest(server string, body AdminBootstrapJSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)- if err != nil {- return nil, err- }- bodyReader = bytes.NewReader(buf)- return NewAdminBootstrapRequestWithBody(server, "application/json", bodyReader)+// BeginEmailSignupV3JSONBody defines parameters for BeginEmailSignupV3.+type BeginEmailSignupV3JSONBody struct {+ CaptchaToken *string `json:"captchaToken,omitempty"`+ Email openapi_types.Email `json:"email"`}-// NewAdminBootstrapRequestWithBody constructs an http.Request for the AdminBootstrap method, with any body, and a specified content type-func NewAdminBootstrapRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {- var err error+// BeginEmailSignupV3400JSONResponseBodyStatusCode defines parameters for BeginEmailSignupV3.+type BeginEmailSignupV3400JSONResponseBodyStatusCode float32- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+// BeginEmailSignupV3401JSONResponseBodyStatusCode defines parameters for BeginEmailSignupV3.+type BeginEmailSignupV3401JSONResponseBodyStatusCode float32- operationPath := fmt.Sprintf("/api/v1/admin/bootstrap")- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+// BeginEmailSignupV3403JSONResponseBodyStatusCode defines parameters for BeginEmailSignupV3.+type BeginEmailSignupV3403JSONResponseBodyStatusCode float32- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+// BeginEmailSignupV3404JSONResponseBodyStatusCode defines parameters for BeginEmailSignupV3.+type BeginEmailSignupV3404JSONResponseBodyStatusCode float32- req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)- if err != nil {- return nil, err- }+// BeginEmailSignupV3422JSONResponseBodyStatusCode defines parameters for BeginEmailSignupV3.+type BeginEmailSignupV3422JSONResponseBodyStatusCode float32- req.Header.Add("Content-Type", contentType)+// BeginEmailSignupV3500JSONResponseBodyStatusCode defines parameters for BeginEmailSignupV3.+type BeginEmailSignupV3500JSONResponseBodyStatusCode float32- return req, nil+// VerifyEmailSignupV3JSONBody defines parameters for VerifyEmailSignupV3.+type VerifyEmailSignupV3JSONBody struct {+ Code string `json:"code"`+ Email openapi_types.Email `json:"email"`}-// NewUpdateAdminConfigRequest calls the generic UpdateAdminConfig builder with application/json body-func NewUpdateAdminConfigRequest(server string, body UpdateAdminConfigJSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)- if err != nil {- return nil, err- }- bodyReader = bytes.NewReader(buf)- return NewUpdateAdminConfigRequestWithBody(server, "application/json", bodyReader)-}+// VerifyEmailSignupV3400JSONResponseBodyStatusCode defines parameters for VerifyEmailSignupV3.+type VerifyEmailSignupV3400JSONResponseBodyStatusCode float32-// NewUpdateAdminConfigRequestWithBody constructs an http.Request for the UpdateAdminConfig method, with any body, and a specified content type-func NewUpdateAdminConfigRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {- var err error+// VerifyEmailSignupV3401JSONResponseBodyStatusCode defines parameters for VerifyEmailSignupV3.+type VerifyEmailSignupV3401JSONResponseBodyStatusCode float32- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+// VerifyEmailSignupV3403JSONResponseBodyStatusCode defines parameters for VerifyEmailSignupV3.+type VerifyEmailSignupV3403JSONResponseBodyStatusCode float32- operationPath := fmt.Sprintf("/api/v1/admin/config")- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+// VerifyEmailSignupV3404JSONResponseBodyStatusCode defines parameters for VerifyEmailSignupV3.+type VerifyEmailSignupV3404JSONResponseBodyStatusCode float32- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+// VerifyEmailSignupV3422JSONResponseBodyStatusCode defines parameters for VerifyEmailSignupV3.+type VerifyEmailSignupV3422JSONResponseBodyStatusCode float32- req, err := http.NewRequest(http.MethodPatch, queryURL.String(), body)- if err != nil {- return nil, err- }+// VerifyEmailSignupV3500JSONResponseBodyStatusCode defines parameters for VerifyEmailSignupV3.+type VerifyEmailSignupV3500JSONResponseBodyStatusCode float32- req.Header.Add("Content-Type", contentType)+// ListSecretsV4Params defines parameters for ListSecretsV4.+type ListSecretsV4Params struct {+ // MetadataFilter Unencrypted secret metadata key-value pairs used to filter secrets. Only metadata with unencrypted values is supported. When querying for multiple metadata pairs, the query is treated as an AND operation. Secret metadata format is key=value1,value=value2|key=value3,value=value4.+ MetadataFilter *string `form:"metadataFilter,omitempty" json:"metadataFilter,omitempty"`- return req, nil-}+ // ProjectId The ID of the project to list secrets from.+ ProjectId *string `form:"projectId,omitempty" json:"projectId,omitempty"`-// NewCreateGitHubAppConnectionRequest calls the generic CreateGitHubAppConnection builder with application/json body-func NewCreateGitHubAppConnectionRequest(server string, body CreateGitHubAppConnectionJSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)- if err != nil {- return nil, err- }- bodyReader = bytes.NewReader(buf)- return NewCreateGitHubAppConnectionRequestWithBody(server, "application/json", bodyReader)-}+ // Environment The slug of the environment to list secrets from.+ Environment *string `form:"environment,omitempty" json:"environment,omitempty"`-// NewCreateGitHubAppConnectionRequestWithBody constructs an http.Request for the CreateGitHubAppConnection method, with any body, and a specified content type-func NewCreateGitHubAppConnectionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {- var err error+ // SecretPath The secret path to list secrets from.+ SecretPath *string `form:"secretPath,omitempty" json:"secretPath,omitempty"`- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+ // ViewSecretValue Whether or not to retrieve the secret value.+ ViewSecretValue *ListSecretsV4ParamsViewSecretValue `form:"viewSecretValue,omitempty" json:"viewSecretValue,omitempty"`- operationPath := fmt.Sprintf("/api/v1/app-connections/github")- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+ // ExpandSecretReferences Whether or not to expand secret references.+ ExpandSecretReferences *ListSecretsV4ParamsExpandSecretReferences `form:"expandSecretReferences,omitempty" json:"expandSecretReferences,omitempty"`- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+ // Recursive Whether or not to fetch all secrets from the specified base path, and all of its subdirectories. Note, the max depth is 20 deep.+ Recursive *ListSecretsV4ParamsRecursive `form:"recursive,omitempty" json:"recursive,omitempty"`- req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)- if err != nil {- return nil, err- }+ // IncludePersonalOverrides Whether or not to include personal secrets in the response. When enabled, personal secrets will be included in the response. Shared secrets will still be included, but personal secrets will take priority, and the corresponding shared secrets will be replaced with the personal secrets.+ IncludePersonalOverrides *ListSecretsV4ParamsIncludePersonalOverrides `form:"includePersonalOverrides,omitempty" json:"includePersonalOverrides,omitempty"`- req.Header.Add("Content-Type", contentType)+ // IncludeImports Weather to include imported secrets or not.+ IncludeImports *ListSecretsV4ParamsIncludeImports `form:"includeImports,omitempty" json:"includeImports,omitempty"`- return req, nil+ // TagSlugs The comma separated tag slugs to filter secrets.+ TagSlugs *string `form:"tagSlugs,omitempty" json:"tagSlugs,omitempty"`}-// NewDeleteGitHubAppConnectionRequest constructs an http.Request for the DeleteGitHubAppConnection method-func NewDeleteGitHubAppConnectionRequest(server string, connectionId openapi_types.UUID) (*http.Request, error) {- var err error-- var pathParam0 string+// ListSecretsV4ParamsViewSecretValue defines parameters for ListSecretsV4.+type ListSecretsV4ParamsViewSecretValue string- pathParam0, err = runtime.StyleParamWithOptions("simple", false, "connectionId", connectionId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: "uuid"})- if err != nil {- return nil, err- }+// ListSecretsV4ParamsExpandSecretReferences defines parameters for ListSecretsV4.+type ListSecretsV4ParamsExpandSecretReferences string- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+// ListSecretsV4ParamsRecursive defines parameters for ListSecretsV4.+type ListSecretsV4ParamsRecursive string- operationPath := fmt.Sprintf("/api/v1/app-connections/github/%s", pathParam0)- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+// ListSecretsV4ParamsIncludePersonalOverrides defines parameters for ListSecretsV4.+type ListSecretsV4ParamsIncludePersonalOverrides string- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+// ListSecretsV4ParamsIncludeImports defines parameters for ListSecretsV4.+type ListSecretsV4ParamsIncludeImports string- req, err := http.NewRequest(http.MethodDelete, queryURL.String(), nil)- if err != nil {- return nil, err- }+// ListSecretsV4400JSONResponseBodyStatusCode defines parameters for ListSecretsV4.+type ListSecretsV4400JSONResponseBodyStatusCode float32- return req, nil-}+// ListSecretsV4401JSONResponseBodyStatusCode defines parameters for ListSecretsV4.+type ListSecretsV4401JSONResponseBodyStatusCode float32-// NewRefreshAuthTokenRequest constructs an http.Request for the RefreshAuthToken method-func NewRefreshAuthTokenRequest(server string) (*http.Request, error) {- var err error+// ListSecretsV4403JSONResponseBodyStatusCode defines parameters for ListSecretsV4.+type ListSecretsV4403JSONResponseBodyStatusCode float32- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+// ListSecretsV4404JSONResponseBodyStatusCode defines parameters for ListSecretsV4.+type ListSecretsV4404JSONResponseBodyStatusCode float32- operationPath := fmt.Sprintf("/api/v1/auth/token")- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+// ListSecretsV4422JSONResponseBodyStatusCode defines parameters for ListSecretsV4.+type ListSecretsV4422JSONResponseBodyStatusCode float32- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+// ListSecretsV4500JSONResponseBodyStatusCode defines parameters for ListSecretsV4.+type ListSecretsV4500JSONResponseBodyStatusCode float32- req, err := http.NewRequest(http.MethodPost, queryURL.String(), nil)- if err != nil {- return nil, err- }+// DeleteManySecretsV4JSONBody defines parameters for DeleteManySecretsV4.+type DeleteManySecretsV4JSONBody struct {+ // Environment The slug of the environment where the secret is located.+ Environment string `json:"environment"`- return req, nil-}+ // ProjectId The ID of the project where the secret is located.+ ProjectId string `json:"projectId"`-// NewAttachUniversalAuthRequest calls the generic AttachUniversalAuth builder with application/json body-func NewAttachUniversalAuthRequest(server string, identityId string, body AttachUniversalAuthJSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)- if err != nil {- return nil, err- }- bodyReader = bytes.NewReader(buf)- return NewAttachUniversalAuthRequestWithBody(server, identityId, "application/json", bodyReader)+ // SecretPath The path of the secret.+ SecretPath *string `json:"secretPath,omitempty"`+ Secrets []struct {+ // SecretKey The name of the secret to delete.+ SecretKey string `json:"secretKey"`+ Type *DeleteManySecretsV4JSONBodySecretsType `json:"type,omitempty"`+ } `json:"secrets"`}-// NewAttachUniversalAuthRequestWithBody constructs an http.Request for the AttachUniversalAuth method, with any body, and a specified content type-func NewAttachUniversalAuthRequestWithBody(server string, identityId string, contentType string, body io.Reader) (*http.Request, error) {- var err error-- var pathParam0 string-- pathParam0, err = runtime.StyleParamWithOptions("simple", false, "identityId", identityId, 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/auth/universal-auth/identities/%s", pathParam0)- 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- }+// DeleteManySecretsV4JSONBodySecretsType defines parameters for DeleteManySecretsV4.+type DeleteManySecretsV4JSONBodySecretsType string- req.Header.Add("Content-Type", contentType)+// DeleteManySecretsV4200JSONResponseBody0 defines parameters for DeleteManySecretsV4.+type DeleteManySecretsV4200JSONResponseBody0 struct {+ Secrets []struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secrets"`+}- return req, nil+// DeleteManySecretsV4200JSONResponseBody1 defines parameters for DeleteManySecretsV4.+type DeleteManySecretsV4200JSONResponseBody1 struct {+ Approval struct {+ BypassReason *string `json:"bypassReason,omitempty"`+ CommitMessage *string `json:"commitMessage,omitempty"`+ CommitterIdentityId *openapi_types.UUID `json:"committerIdentityId,omitempty"`+ CommitterUserId *openapi_types.UUID `json:"committerUserId,omitempty"`+ Conflicts interface{} `json:"conflicts,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ FolderId openapi_types.UUID `json:"folderId"`+ HasMerged *bool `json:"hasMerged,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsReplicated *bool `json:"isReplicated,omitempty"`+ PolicyId openapi_types.UUID `json:"policyId"`+ Slug string `json:"slug"`+ Status *string `json:"status,omitempty"`+ StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`}-// NewCreateUniversalAuthClientSecretRequest calls the generic CreateUniversalAuthClientSecret builder with application/json body-func NewCreateUniversalAuthClientSecretRequest(server string, identityId string, body CreateUniversalAuthClientSecretJSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)- if err != nil {- return nil, err- }- bodyReader = bytes.NewReader(buf)- return NewCreateUniversalAuthClientSecretRequestWithBody(server, identityId, "application/json", bodyReader)+// DeleteManySecretsV4200JSONResponseBody defines parameters for DeleteManySecretsV4.+type DeleteManySecretsV4200JSONResponseBody struct {+ union json.RawMessage}-// NewCreateUniversalAuthClientSecretRequestWithBody constructs an http.Request for the CreateUniversalAuthClientSecret method, with any body, and a specified content type-func NewCreateUniversalAuthClientSecretRequestWithBody(server string, identityId string, contentType string, body io.Reader) (*http.Request, error) {- var err error+// DeleteManySecretsV4400JSONResponseBodyStatusCode defines parameters for DeleteManySecretsV4.+type DeleteManySecretsV4400JSONResponseBodyStatusCode float32- var pathParam0 string+// DeleteManySecretsV4401JSONResponseBodyStatusCode defines parameters for DeleteManySecretsV4.+type DeleteManySecretsV4401JSONResponseBodyStatusCode float32- pathParam0, err = runtime.StyleParamWithOptions("simple", false, "identityId", identityId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})- if err != nil {- return nil, err- }+// DeleteManySecretsV4403JSONResponseBodyStatusCode defines parameters for DeleteManySecretsV4.+type DeleteManySecretsV4403JSONResponseBodyStatusCode float32- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+// DeleteManySecretsV4404JSONResponseBodyStatusCode defines parameters for DeleteManySecretsV4.+type DeleteManySecretsV4404JSONResponseBodyStatusCode float32- operationPath := fmt.Sprintf("/api/v1/auth/universal-auth/identities/%s/client-secrets", pathParam0)- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+// DeleteManySecretsV4422JSONResponseBodyStatusCode defines parameters for DeleteManySecretsV4.+type DeleteManySecretsV4422JSONResponseBodyStatusCode float32- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+// DeleteManySecretsV4500JSONResponseBodyStatusCode defines parameters for DeleteManySecretsV4.+type DeleteManySecretsV4500JSONResponseBodyStatusCode float32- req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)- if err != nil {- return nil, err- }+// UpdateManySecretsV4JSONBody defines parameters for UpdateManySecretsV4.+type UpdateManySecretsV4JSONBody struct {+ // Environment The slug of the environment where the secret is located.+ Environment string `json:"environment"`- req.Header.Add("Content-Type", contentType)+ // Mode Defines how the system should handle missing secrets during an update.+ Mode *UpdateManySecretsV4JSONBodyMode `json:"mode,omitempty"`- return req, nil-}+ // ProjectId The ID of the project where the secret is located.+ ProjectId string `json:"projectId"`-// NewLoginWithUniversalAuthRequest calls the generic LoginWithUniversalAuth builder with application/json body-func NewLoginWithUniversalAuthRequest(server string, body LoginWithUniversalAuthJSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)- if err != nil {- return nil, err- }- bodyReader = bytes.NewReader(buf)- return NewLoginWithUniversalAuthRequestWithBody(server, "application/json", bodyReader)-}+ // SecretPath The default path for secrets to update or upsert, if not provided in the secret details.+ SecretPath *string `json:"secretPath,omitempty"`+ Secrets []struct {+ // NewSecretName The new name for the secret.+ NewSecretName *string `json:"newSecretName,omitempty"`-// NewLoginWithUniversalAuthRequestWithBody constructs an http.Request for the LoginWithUniversalAuth method, with any body, and a specified content type-func NewLoginWithUniversalAuthRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {- var err error+ // SecretComment Update comment to the secret.+ SecretComment *string `json:"secretComment,omitempty"`- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+ // SecretKey The name of the secret to update.+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`- operationPath := fmt.Sprintf("/api/v1/auth/universal-auth/login")- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+ // SecretPath The default path for secrets to update or upsert, if not provided in the secret details.+ SecretPath *string `json:"secretPath,omitempty"`- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+ // SecretReminderNote Note to be attached in notification email.+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`- req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)- if err != nil {- return nil, err- }+ // SecretReminderRepeatDays Interval for secret rotation notifications, measured in days.+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`- req.Header.Add("Content-Type", contentType)+ // SecretValue The new value of the secret.+ SecretValue *string `json:"secretValue,omitempty"`- return req, nil-}+ // SkipMultilineEncoding Skip multiline encoding for the secret value.+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`-// NewCreateMachineIdentityRequest calls the generic CreateMachineIdentity builder with application/json body-func NewCreateMachineIdentityRequest(server string, body CreateMachineIdentityJSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)- if err != nil {- return nil, err- }- bodyReader = bytes.NewReader(buf)- return NewCreateMachineIdentityRequestWithBody(server, "application/json", bodyReader)+ // TagIds The ID of the tags to be attached to the updated secret.+ TagIds *[]string `json:"tagIds,omitempty"`+ } `json:"secrets"`}-// NewCreateMachineIdentityRequestWithBody constructs an http.Request for the CreateMachineIdentity method, with any body, and a specified content type-func NewCreateMachineIdentityRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {- var err error+// UpdateManySecretsV4JSONBodyMode defines parameters for UpdateManySecretsV4.+type UpdateManySecretsV4JSONBodyMode string- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }-- operationPath := fmt.Sprintf("/api/v1/identities")- 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)+// UpdateManySecretsV4200JSONResponseBody0 defines parameters for UpdateManySecretsV4.+type UpdateManySecretsV4200JSONResponseBody0 struct {+ Secrets []struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secrets"`+}- return req, nil+// UpdateManySecretsV4200JSONResponseBody1 defines parameters for UpdateManySecretsV4.+type UpdateManySecretsV4200JSONResponseBody1 struct {+ Approval struct {+ BypassReason *string `json:"bypassReason,omitempty"`+ CommitMessage *string `json:"commitMessage,omitempty"`+ CommitterIdentityId *openapi_types.UUID `json:"committerIdentityId,omitempty"`+ CommitterUserId *openapi_types.UUID `json:"committerUserId,omitempty"`+ Conflicts interface{} `json:"conflicts,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ FolderId openapi_types.UUID `json:"folderId"`+ HasMerged *bool `json:"hasMerged,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsReplicated *bool `json:"isReplicated,omitempty"`+ PolicyId openapi_types.UUID `json:"policyId"`+ Slug string `json:"slug"`+ Status *string `json:"status,omitempty"`+ StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`}-// NewInviteUsersToOrganizationRequest calls the generic InviteUsersToOrganization builder with application/json body-func NewInviteUsersToOrganizationRequest(server string, body InviteUsersToOrganizationJSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)- if err != nil {- return nil, err- }- bodyReader = bytes.NewReader(buf)- return NewInviteUsersToOrganizationRequestWithBody(server, "application/json", bodyReader)+// UpdateManySecretsV4200JSONResponseBody defines parameters for UpdateManySecretsV4.+type UpdateManySecretsV4200JSONResponseBody struct {+ union json.RawMessage}-// NewInviteUsersToOrganizationRequestWithBody constructs an http.Request for the InviteUsersToOrganization method, with any body, and a specified content type-func NewInviteUsersToOrganizationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {- var err error+// UpdateManySecretsV4400JSONResponseBodyStatusCode defines parameters for UpdateManySecretsV4.+type UpdateManySecretsV4400JSONResponseBodyStatusCode float32- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+// UpdateManySecretsV4401JSONResponseBodyStatusCode defines parameters for UpdateManySecretsV4.+type UpdateManySecretsV4401JSONResponseBodyStatusCode float32- operationPath := fmt.Sprintf("/api/v1/invite-org/signup")- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+// UpdateManySecretsV4403JSONResponseBodyStatusCode defines parameters for UpdateManySecretsV4.+type UpdateManySecretsV4403JSONResponseBodyStatusCode float32- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+// UpdateManySecretsV4404JSONResponseBodyStatusCode defines parameters for UpdateManySecretsV4.+type UpdateManySecretsV4404JSONResponseBodyStatusCode float32- req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)- if err != nil {- return nil, err- }+// UpdateManySecretsV4422JSONResponseBodyStatusCode defines parameters for UpdateManySecretsV4.+type UpdateManySecretsV4422JSONResponseBodyStatusCode float32- req.Header.Add("Content-Type", contentType)+// UpdateManySecretsV4500JSONResponseBodyStatusCode defines parameters for UpdateManySecretsV4.+type UpdateManySecretsV4500JSONResponseBodyStatusCode float32- return req, nil-}+// CreateManySecretsV4JSONBody defines parameters for CreateManySecretsV4.+type CreateManySecretsV4JSONBody struct {+ // Environment The slug of the environment to create the secret in.+ Environment string `json:"environment"`-// NewVerifyUserToOrganizationRequest calls the generic VerifyUserToOrganization builder with application/json body-func NewVerifyUserToOrganizationRequest(server string, body VerifyUserToOrganizationJSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)- if err != nil {- return nil, err- }- bodyReader = bytes.NewReader(buf)- return NewVerifyUserToOrganizationRequestWithBody(server, "application/json", bodyReader)-}+ // ProjectId The ID of the project to update the secret in.+ ProjectId string `json:"projectId"`-// NewVerifyUserToOrganizationRequestWithBody constructs an http.Request for the VerifyUserToOrganization method, with any body, and a specified content type-func NewVerifyUserToOrganizationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {- var err error+ // SecretPath The path to create the secret in.+ SecretPath *string `json:"secretPath,omitempty"`+ Secrets []struct {+ Metadata *map[string]string `json:"metadata,omitempty"`- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+ // SecretComment Attach a comment to the secret.+ SecretComment *string `json:"secretComment,omitempty"`- operationPath := fmt.Sprintf("/api/v1/invite-org/verify")- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+ // SecretKey The name of the secret to create.+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+ // SecretValue The value of the secret to create.+ SecretValue string `json:"secretValue"`- req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)- if err != nil {- return nil, err- }+ // SkipMultilineEncoding Skip multiline encoding for the secret value.+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`- req.Header.Add("Content-Type", contentType)+ // TagIds The ID of the tags to be attached to the created secret.+ TagIds *[]string `json:"tagIds,omitempty"`+ } `json:"secrets"`+}- return req, nil+// CreateManySecretsV4200JSONResponseBody0 defines parameters for CreateManySecretsV4.+type CreateManySecretsV4200JSONResponseBody0 struct {+ Secrets []struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secrets"`}-// NewGetOrganizationPlanRequest constructs an http.Request for the GetOrganizationPlan method-func NewGetOrganizationPlanRequest(server string, organizationId string, params *GetOrganizationPlanParams) (*http.Request, error) {- var err error+// CreateManySecretsV4200JSONResponseBody1 defines parameters for CreateManySecretsV4.+type CreateManySecretsV4200JSONResponseBody1 struct {+ Approval struct {+ BypassReason *string `json:"bypassReason,omitempty"`+ CommitMessage *string `json:"commitMessage,omitempty"`+ CommitterIdentityId *openapi_types.UUID `json:"committerIdentityId,omitempty"`+ CommitterUserId *openapi_types.UUID `json:"committerUserId,omitempty"`+ Conflicts interface{} `json:"conflicts,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ FolderId openapi_types.UUID `json:"folderId"`+ HasMerged *bool `json:"hasMerged,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsReplicated *bool `json:"isReplicated,omitempty"`+ PolicyId openapi_types.UUID `json:"policyId"`+ Slug string `json:"slug"`+ Status *string `json:"status,omitempty"`+ StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`+}- var pathParam0 string+// CreateManySecretsV4200JSONResponseBody defines parameters for CreateManySecretsV4.+type CreateManySecretsV4200JSONResponseBody struct {+ union json.RawMessage+}- pathParam0, err = runtime.StyleParamWithOptions("simple", false, "organizationId", organizationId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})- if err != nil {- return nil, err- }+// CreateManySecretsV4400JSONResponseBodyStatusCode defines parameters for CreateManySecretsV4.+type CreateManySecretsV4400JSONResponseBodyStatusCode float32- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+// CreateManySecretsV4401JSONResponseBodyStatusCode defines parameters for CreateManySecretsV4.+type CreateManySecretsV4401JSONResponseBodyStatusCode float32- operationPath := fmt.Sprintf("/api/v1/organizations/%s/plan", pathParam0)- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+// CreateManySecretsV4403JSONResponseBodyStatusCode defines parameters for CreateManySecretsV4.+type CreateManySecretsV4403JSONResponseBodyStatusCode float32- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+// CreateManySecretsV4404JSONResponseBodyStatusCode defines parameters for CreateManySecretsV4.+type CreateManySecretsV4404JSONResponseBodyStatusCode float32- 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+// CreateManySecretsV4422JSONResponseBodyStatusCode defines parameters for CreateManySecretsV4.+type CreateManySecretsV4422JSONResponseBodyStatusCode float32- if params.RefreshCache != nil {+// CreateManySecretsV4500JSONResponseBodyStatusCode defines parameters for CreateManySecretsV4.+type CreateManySecretsV4500JSONResponseBodyStatusCode float32- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "refreshCache", *params.RefreshCache, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {- return nil, err- } else {- for _, qp := range strings.Split(queryFrag, "&") {- rawQueryFragments = append(rawQueryFragments, qp)- }- }+// DuplicateSecretV4JSONBody defines parameters for DuplicateSecretV4.+type DuplicateSecretV4JSONBody struct {+ // AttributesToCopy Object specifying which attributes of the source secret to copy to the destination. Each key is optional and defaults to false. Available keys: value, comment, tags, metadata, skipMultilineEncoding.+ AttributesToCopy *struct {+ Comment *bool `json:"comment,omitempty"`+ Metadata *bool `json:"metadata,omitempty"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Tags *bool `json:"tags,omitempty"`+ Value *bool `json:"value,omitempty"`+ } `json:"attributesToCopy,omitempty"`- }+ // DestinationEnvironment The slug of the destination environment.+ DestinationEnvironment string `json:"destinationEnvironment"`- if encoded := queryValues.Encode(); encoded != "" {- rawQueryFragments = append(rawQueryFragments, encoded)- }- queryURL.RawQuery = strings.Join(rawQueryFragments, "&")- }+ // DestinationSecretPath The folder path where the secret will be duplicated to.+ DestinationSecretPath *string `json:"destinationSecretPath,omitempty"`- req, err := http.NewRequest(http.MethodGet, queryURL.String(), nil)- if err != nil {- return nil, err- }+ // ProjectId The ID of the project containing the secret.+ ProjectId string `json:"projectId"`- return req, nil-}+ // SecretIds Array of source secret IDs to duplicate. All secrets must belong to the source environment and path. Rotation and honey-token secrets cannot be duplicated. Maximum 50 secrets per request.+ SecretIds []openapi_types.UUID `json:"secretIds"`-// NewCreateProjectRequest calls the generic CreateProject builder with application/json body-func NewCreateProjectRequest(server string, body CreateProjectJSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)- if err != nil {- return nil, err- }- bodyReader = bytes.NewReader(buf)- return NewCreateProjectRequestWithBody(server, "application/json", bodyReader)-}+ // ShouldOverwrite When true, overwrite an existing secret with the same key at the destination. When false (default), the request fails if the destination already has a secret with that key.+ ShouldOverwrite *bool `json:"shouldOverwrite,omitempty"`-// NewCreateProjectRequestWithBody constructs an http.Request for the CreateProject method, with any body, and a specified content type-func NewCreateProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {- var err error+ // SourceEnvironment The slug of the source environment.+ SourceEnvironment string `json:"sourceEnvironment"`- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+ // SourceSecretPath The folder path of the source secret.+ SourceSecretPath *string `json:"sourceSecretPath,omitempty"`+}- operationPath := fmt.Sprintf("/api/v1/projects")- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+// DuplicateSecretV4200JSONResponseBodyResults0 defines parameters for DuplicateSecretV4.+type DuplicateSecretV4200JSONResponseBodyResults0 struct {+ DestinationSecretId string `json:"destinationSecretId"`+ SourceSecretId string `json:"sourceSecretId"`+ SourceSecretKey string `json:"sourceSecretKey"`+}- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+// DuplicateSecretV4200JSONResponseBodyResults1 defines parameters for DuplicateSecretV4.+type DuplicateSecretV4200JSONResponseBodyResults1 struct {+ Approval struct {+ BypassReason *string `json:"bypassReason,omitempty"`+ CommitMessage *string `json:"commitMessage,omitempty"`+ CommitterIdentityId *openapi_types.UUID `json:"committerIdentityId,omitempty"`+ CommitterUserId *openapi_types.UUID `json:"committerUserId,omitempty"`+ Conflicts interface{} `json:"conflicts,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ FolderId openapi_types.UUID `json:"folderId"`+ HasMerged *bool `json:"hasMerged,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsReplicated *bool `json:"isReplicated,omitempty"`+ PolicyId openapi_types.UUID `json:"policyId"`+ Slug string `json:"slug"`+ Status *string `json:"status,omitempty"`+ StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`+ SourceSecretId string `json:"sourceSecretId"`+ SourceSecretKey string `json:"sourceSecretKey"`+}- req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)- if err != nil {- return nil, err- }+// DuplicateSecretV4200JSONResponseBody_Results_Item defines parameters for DuplicateSecretV4.+type DuplicateSecretV4200JSONResponseBody_Results_Item struct {+ union json.RawMessage+}- req.Header.Add("Content-Type", contentType)+// DuplicateSecretV4400JSONResponseBodyStatusCode defines parameters for DuplicateSecretV4.+type DuplicateSecretV4400JSONResponseBodyStatusCode float32- return req, nil-}+// DuplicateSecretV4401JSONResponseBodyStatusCode defines parameters for DuplicateSecretV4.+type DuplicateSecretV4401JSONResponseBodyStatusCode float32-// NewListProjectMachineIdentitiesRequest constructs an http.Request for the ListProjectMachineIdentities method-func NewListProjectMachineIdentitiesRequest(server string, projectId string, params *ListProjectMachineIdentitiesParams) (*http.Request, error) {- var err error+// DuplicateSecretV4403JSONResponseBodyStatusCode defines parameters for DuplicateSecretV4.+type DuplicateSecretV4403JSONResponseBodyStatusCode float32- var pathParam0 string+// DuplicateSecretV4404JSONResponseBodyStatusCode defines parameters for DuplicateSecretV4.+type DuplicateSecretV4404JSONResponseBodyStatusCode float32- pathParam0, err = runtime.StyleParamWithOptions("simple", false, "projectId", projectId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})- if err != nil {- return nil, err- }+// DuplicateSecretV4422JSONResponseBodyStatusCode defines parameters for DuplicateSecretV4.+type DuplicateSecretV4422JSONResponseBodyStatusCode float32- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+// DuplicateSecretV4500JSONResponseBodyStatusCode defines parameters for DuplicateSecretV4.+type DuplicateSecretV4500JSONResponseBodyStatusCode float32- operationPath := fmt.Sprintf("/api/v1/projects/%s/identities", pathParam0)- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+// GetSecretByIdV4400JSONResponseBodyStatusCode defines parameters for GetSecretByIdV4.+type GetSecretByIdV4400JSONResponseBodyStatusCode float32- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+// GetSecretByIdV4401JSONResponseBodyStatusCode defines parameters for GetSecretByIdV4.+type GetSecretByIdV4401JSONResponseBodyStatusCode float32- 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+// GetSecretByIdV4403JSONResponseBodyStatusCode defines parameters for GetSecretByIdV4.+type GetSecretByIdV4403JSONResponseBodyStatusCode float32- if params.Offset != nil {+// GetSecretByIdV4404JSONResponseBodyStatusCode defines parameters for GetSecretByIdV4.+type GetSecretByIdV4404JSONResponseBodyStatusCode float32- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "offset", *params.Offset, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "number", Format: ""}); err != nil {- return nil, err- } else {- for _, qp := range strings.Split(queryFrag, "&") {- rawQueryFragments = append(rawQueryFragments, qp)- }- }+// GetSecretByIdV4422JSONResponseBodyStatusCode defines parameters for GetSecretByIdV4.+type GetSecretByIdV4422JSONResponseBodyStatusCode float32- }+// GetSecretByIdV4500JSONResponseBodyStatusCode defines parameters for GetSecretByIdV4.+type GetSecretByIdV4500JSONResponseBodyStatusCode float32- if params.Limit != nil {+// MoveSecretsV4JSONBody defines parameters for MoveSecretsV4.+type MoveSecretsV4JSONBody struct {+ DestinationEnvironment string `json:"destinationEnvironment"`+ DestinationSecretPath *string `json:"destinationSecretPath,omitempty"`+ ProjectId string `json:"projectId"`+ SecretIds []string `json:"secretIds"`+ ShouldOverwrite *bool `json:"shouldOverwrite,omitempty"`+ SourceEnvironment string `json:"sourceEnvironment"`+ SourceSecretPath *string `json:"sourceSecretPath,omitempty"`+}- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "limit", *params.Limit, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "number", Format: ""}); err != nil {- return nil, err- } else {- for _, qp := range strings.Split(queryFrag, "&") {- rawQueryFragments = append(rawQueryFragments, qp)- }- }+// MoveSecretsV4400JSONResponseBodyStatusCode defines parameters for MoveSecretsV4.+type MoveSecretsV4400JSONResponseBodyStatusCode float32- }+// MoveSecretsV4401JSONResponseBodyStatusCode defines parameters for MoveSecretsV4.+type MoveSecretsV4401JSONResponseBodyStatusCode float32- if params.Search != nil {+// MoveSecretsV4403JSONResponseBodyStatusCode defines parameters for MoveSecretsV4.+type MoveSecretsV4403JSONResponseBodyStatusCode float32- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "search", *params.Search, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {- return nil, err- } else {- for _, qp := range strings.Split(queryFrag, "&") {- rawQueryFragments = append(rawQueryFragments, qp)- }- }+// MoveSecretsV4404JSONResponseBodyStatusCode defines parameters for MoveSecretsV4.+type MoveSecretsV4404JSONResponseBodyStatusCode float32- }+// MoveSecretsV4422JSONResponseBodyStatusCode defines parameters for MoveSecretsV4.+type MoveSecretsV4422JSONResponseBodyStatusCode float32- if encoded := queryValues.Encode(); encoded != "" {- rawQueryFragments = append(rawQueryFragments, encoded)- }- queryURL.RawQuery = strings.Join(rawQueryFragments, "&")- }+// MoveSecretsV4500JSONResponseBodyStatusCode defines parameters for MoveSecretsV4.+type MoveSecretsV4500JSONResponseBodyStatusCode float32- req, err := http.NewRequest(http.MethodGet, queryURL.String(), nil)- if err != nil {- return nil, err- }+// DeleteSecretV4JSONBody defines parameters for DeleteSecretV4.+type DeleteSecretV4JSONBody struct {+ // Environment The slug of the environment where the secret is located.+ Environment string `json:"environment"`- return req, nil+ // ProjectId The ID of the project where the secret is located.+ ProjectId string `json:"projectId"`++ // SecretPath The path of the secret.+ SecretPath *string `json:"secretPath,omitempty"`++ // Type The type of the secret to delete.+ Type *DeleteSecretV4JSONBodyType `json:"type,omitempty"`}-// NewCreateProjectMachineIdentityRequest calls the generic CreateProjectMachineIdentity builder with application/json body-func NewCreateProjectMachineIdentityRequest(server string, projectId string, body CreateProjectMachineIdentityJSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)- if err != nil {- return nil, err- }- bodyReader = bytes.NewReader(buf)- return NewCreateProjectMachineIdentityRequestWithBody(server, projectId, "application/json", bodyReader)+// DeleteSecretV4JSONBodyType defines parameters for DeleteSecretV4.+type DeleteSecretV4JSONBodyType string++// DeleteSecretV4200JSONResponseBody0 defines parameters for DeleteSecretV4.+type DeleteSecretV4200JSONResponseBody0 struct {+ Secret struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secret"`}-// NewCreateProjectMachineIdentityRequestWithBody constructs an http.Request for the CreateProjectMachineIdentity method, with any body, and a specified content type-func NewCreateProjectMachineIdentityRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error) {- var err error+// DeleteSecretV4200JSONResponseBody1 defines parameters for DeleteSecretV4.+type DeleteSecretV4200JSONResponseBody1 struct {+ Approval struct {+ BypassReason *string `json:"bypassReason,omitempty"`+ CommitMessage *string `json:"commitMessage,omitempty"`+ CommitterIdentityId *openapi_types.UUID `json:"committerIdentityId,omitempty"`+ CommitterUserId *openapi_types.UUID `json:"committerUserId,omitempty"`+ Conflicts interface{} `json:"conflicts,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ FolderId openapi_types.UUID `json:"folderId"`+ HasMerged *bool `json:"hasMerged,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsReplicated *bool `json:"isReplicated,omitempty"`+ PolicyId openapi_types.UUID `json:"policyId"`+ Slug string `json:"slug"`+ Status *string `json:"status,omitempty"`+ StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`+}- var pathParam0 string+// DeleteSecretV4200JSONResponseBody defines parameters for DeleteSecretV4.+type DeleteSecretV4200JSONResponseBody struct {+ union json.RawMessage+}- pathParam0, err = runtime.StyleParamWithOptions("simple", false, "projectId", projectId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})- if err != nil {- return nil, err- }+// DeleteSecretV4400JSONResponseBodyStatusCode defines parameters for DeleteSecretV4.+type DeleteSecretV4400JSONResponseBodyStatusCode float32- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+// DeleteSecretV4401JSONResponseBodyStatusCode defines parameters for DeleteSecretV4.+type DeleteSecretV4401JSONResponseBodyStatusCode float32- operationPath := fmt.Sprintf("/api/v1/projects/%s/identities", pathParam0)- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+// DeleteSecretV4403JSONResponseBodyStatusCode defines parameters for DeleteSecretV4.+type DeleteSecretV4403JSONResponseBodyStatusCode float32- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+// DeleteSecretV4404JSONResponseBodyStatusCode defines parameters for DeleteSecretV4.+type DeleteSecretV4404JSONResponseBodyStatusCode float32- req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)- if err != nil {- return nil, err- }+// DeleteSecretV4422JSONResponseBodyStatusCode defines parameters for DeleteSecretV4.+type DeleteSecretV4422JSONResponseBodyStatusCode float32- req.Header.Add("Content-Type", contentType)+// DeleteSecretV4500JSONResponseBodyStatusCode defines parameters for DeleteSecretV4.+type DeleteSecretV4500JSONResponseBodyStatusCode float32- return req, nil-}+// GetSecretByNameV4Params defines parameters for GetSecretByNameV4.+type GetSecretByNameV4Params struct {+ // ProjectId The ID of the project to get the secret from.+ ProjectId string `form:"projectId" json:"projectId"`-// NewInviteProjectMembersRequest calls the generic InviteProjectMembers builder with application/json body-func NewInviteProjectMembersRequest(server string, projectId string, body InviteProjectMembersJSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)- if err != nil {- return nil, err- }- bodyReader = bytes.NewReader(buf)- return NewInviteProjectMembersRequestWithBody(server, projectId, "application/json", bodyReader)-}+ // Environment The slug of the environment to get the secret from.+ Environment *string `form:"environment,omitempty" json:"environment,omitempty"`-// NewInviteProjectMembersRequestWithBody constructs an http.Request for the InviteProjectMembers method, with any body, and a specified content type-func NewInviteProjectMembersRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error) {- var err error+ // SecretPath The path of the secret to get.+ SecretPath *string `form:"secretPath,omitempty" json:"secretPath,omitempty"`- var pathParam0 string+ // Version The version of the secret to get.+ Version *float32 `form:"version,omitempty" json:"version,omitempty"`- pathParam0, err = runtime.StyleParamWithOptions("simple", false, "projectId", projectId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})- if err != nil {- return nil, err- }+ // Type The type of the secret to get.+ Type *GetSecretByNameV4ParamsType `form:"type,omitempty" json:"type,omitempty"`- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+ // ViewSecretValue Whether or not to retrieve the secret value.+ ViewSecretValue *GetSecretByNameV4ParamsViewSecretValue `form:"viewSecretValue,omitempty" json:"viewSecretValue,omitempty"`- operationPath := fmt.Sprintf("/api/v1/projects/%s/memberships", pathParam0)- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+ // ExpandSecretReferences Whether or not to expand secret references.+ ExpandSecretReferences *GetSecretByNameV4ParamsExpandSecretReferences `form:"expandSecretReferences,omitempty" json:"expandSecretReferences,omitempty"`- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+ // IncludeImports Weather to include imported secrets or not.+ IncludeImports *GetSecretByNameV4ParamsIncludeImports `form:"includeImports,omitempty" json:"includeImports,omitempty"`+}- req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)- if err != nil {- return nil, err- }+// GetSecretByNameV4ParamsType defines parameters for GetSecretByNameV4.+type GetSecretByNameV4ParamsType string- req.Header.Add("Content-Type", contentType)+// GetSecretByNameV4ParamsViewSecretValue defines parameters for GetSecretByNameV4.+type GetSecretByNameV4ParamsViewSecretValue string- return req, nil-}+// GetSecretByNameV4ParamsExpandSecretReferences defines parameters for GetSecretByNameV4.+type GetSecretByNameV4ParamsExpandSecretReferences string-// NewCreateProjectIdentityMembershipRequest calls the generic CreateProjectIdentityMembership builder with application/json body-func NewCreateProjectIdentityMembershipRequest(server string, projectId string, identityId string, body CreateProjectIdentityMembershipJSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)- if err != nil {- return nil, err- }- bodyReader = bytes.NewReader(buf)- return NewCreateProjectIdentityMembershipRequestWithBody(server, projectId, identityId, "application/json", bodyReader)-}+// GetSecretByNameV4ParamsIncludeImports defines parameters for GetSecretByNameV4.+type GetSecretByNameV4ParamsIncludeImports string-// NewCreateProjectIdentityMembershipRequestWithBody constructs an http.Request for the CreateProjectIdentityMembership method, with any body, and a specified content type-func NewCreateProjectIdentityMembershipRequestWithBody(server string, projectId string, identityId string, contentType string, body io.Reader) (*http.Request, error) {- var err error+// GetSecretByNameV4400JSONResponseBodyStatusCode defines parameters for GetSecretByNameV4.+type GetSecretByNameV4400JSONResponseBodyStatusCode float32- var pathParam0 string+// GetSecretByNameV4401JSONResponseBodyStatusCode defines parameters for GetSecretByNameV4.+type GetSecretByNameV4401JSONResponseBodyStatusCode float32- pathParam0, err = runtime.StyleParamWithOptions("simple", false, "projectId", projectId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})- if err != nil {- return nil, err- }+// GetSecretByNameV4403JSONResponseBodyStatusCode defines parameters for GetSecretByNameV4.+type GetSecretByNameV4403JSONResponseBodyStatusCode float32- var pathParam1 string+// GetSecretByNameV4404JSONResponseBodyStatusCode defines parameters for GetSecretByNameV4.+type GetSecretByNameV4404JSONResponseBodyStatusCode float32- pathParam1, err = runtime.StyleParamWithOptions("simple", false, "identityId", identityId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})- if err != nil {- return nil, err- }+// GetSecretByNameV4422JSONResponseBodyStatusCode defines parameters for GetSecretByNameV4.+type GetSecretByNameV4422JSONResponseBodyStatusCode float32- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+// GetSecretByNameV4500JSONResponseBodyStatusCode defines parameters for GetSecretByNameV4.+type GetSecretByNameV4500JSONResponseBodyStatusCode float32- operationPath := fmt.Sprintf("/api/v1/projects/%s/memberships/identities/%s", pathParam0, pathParam1)- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+// UpdateSecretV4JSONBody defines parameters for UpdateSecretV4.+type UpdateSecretV4JSONBody struct {+ // Environment The slug of the environment where the secret is located.+ Environment string `json:"environment"`+ Metadata *map[string]string `json:"metadata,omitempty"`- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+ // NewSecretName The new name for the secret.+ NewSecretName *string `json:"newSecretName,omitempty"`- req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)- if err != nil {- return nil, err- }+ // ProjectId The ID of the project to update the secret in.+ ProjectId string `json:"projectId"`- req.Header.Add("Content-Type", contentType)+ // SecretComment Update comment to the secret.+ SecretComment *string `json:"secretComment,omitempty"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`- return req, nil-}+ // SecretPath The default path for secrets to update or upsert, if not provided in the secret details.+ SecretPath *string `json:"secretPath,omitempty"`-// NewCreateGitHubSecretSyncRequest calls the generic CreateGitHubSecretSync builder with application/json body-func NewCreateGitHubSecretSyncRequest(server string, body CreateGitHubSecretSyncJSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)- if err != nil {- return nil, err- }- bodyReader = bytes.NewReader(buf)- return NewCreateGitHubSecretSyncRequestWithBody(server, "application/json", bodyReader)-}+ // SecretReminderNote Note to be attached in notification email.+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`-// NewCreateGitHubSecretSyncRequestWithBody constructs an http.Request for the CreateGitHubSecretSync method, with any body, and a specified content type-func NewCreateGitHubSecretSyncRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {- var err error+ // SecretReminderRecipients An array of user IDs that will receive the reminder email. If not specified, all project members will receive the reminder email.+ SecretReminderRecipients *[]string `json:"secretReminderRecipients,omitempty"`- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+ // SecretReminderRepeatDays Interval for secret rotation notifications, measured in days.+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`- operationPath := fmt.Sprintf("/api/v1/secret-syncs/github")- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+ // SecretValue The new value of the secret.+ SecretValue *string `json:"secretValue,omitempty"`- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+ // SkipMultilineEncoding Skip multiline encoding for the secret value.+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`- req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)- if err != nil {- return nil, err- }+ // TagIds The ID of the tags to be attached to the updated secret.+ TagIds *[]string `json:"tagIds,omitempty"`- req.Header.Add("Content-Type", contentType)+ // Type The type of the secret to update.+ Type *UpdateSecretV4JSONBodyType `json:"type,omitempty"`+}- return req, nil+// UpdateSecretV4JSONBodyType defines parameters for UpdateSecretV4.+type UpdateSecretV4JSONBodyType string++// UpdateSecretV4200JSONResponseBody0 defines parameters for UpdateSecretV4.+type UpdateSecretV4200JSONResponseBody0 struct {+ Secret struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secret"`}-// NewDeleteGitHubSecretSyncRequest constructs an http.Request for the DeleteGitHubSecretSync method-func NewDeleteGitHubSecretSyncRequest(server string, syncId openapi_types.UUID, params *DeleteGitHubSecretSyncParams) (*http.Request, error) {- var err error+// UpdateSecretV4200JSONResponseBody1 defines parameters for UpdateSecretV4.+type UpdateSecretV4200JSONResponseBody1 struct {+ Approval struct {+ BypassReason *string `json:"bypassReason,omitempty"`+ CommitMessage *string `json:"commitMessage,omitempty"`+ CommitterIdentityId *openapi_types.UUID `json:"committerIdentityId,omitempty"`+ CommitterUserId *openapi_types.UUID `json:"committerUserId,omitempty"`+ Conflicts interface{} `json:"conflicts,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ FolderId openapi_types.UUID `json:"folderId"`+ HasMerged *bool `json:"hasMerged,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsReplicated *bool `json:"isReplicated,omitempty"`+ PolicyId openapi_types.UUID `json:"policyId"`+ Slug string `json:"slug"`+ Status *string `json:"status,omitempty"`+ StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`+}- var pathParam0 string+// UpdateSecretV4200JSONResponseBody defines parameters for UpdateSecretV4.+type UpdateSecretV4200JSONResponseBody struct {+ union json.RawMessage+}- pathParam0, err = runtime.StyleParamWithOptions("simple", false, "syncId", syncId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: "uuid"})- if err != nil {- return nil, err- }+// UpdateSecretV4400JSONResponseBodyStatusCode defines parameters for UpdateSecretV4.+type UpdateSecretV4400JSONResponseBodyStatusCode float32- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+// UpdateSecretV4401JSONResponseBodyStatusCode defines parameters for UpdateSecretV4.+type UpdateSecretV4401JSONResponseBodyStatusCode float32- operationPath := fmt.Sprintf("/api/v1/secret-syncs/github/%s", pathParam0)- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+// UpdateSecretV4403JSONResponseBodyStatusCode defines parameters for UpdateSecretV4.+type UpdateSecretV4403JSONResponseBodyStatusCode float32- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+// UpdateSecretV4404JSONResponseBodyStatusCode defines parameters for UpdateSecretV4.+type UpdateSecretV4404JSONResponseBodyStatusCode float32- 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+// UpdateSecretV4422JSONResponseBodyStatusCode defines parameters for UpdateSecretV4.+type UpdateSecretV4422JSONResponseBodyStatusCode float32- if params.RemoveSecrets != nil {+// UpdateSecretV4500JSONResponseBodyStatusCode defines parameters for UpdateSecretV4.+type UpdateSecretV4500JSONResponseBodyStatusCode float32- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "removeSecrets", *params.RemoveSecrets, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {- return nil, err- } else {- for _, qp := range strings.Split(queryFrag, "&") {- rawQueryFragments = append(rawQueryFragments, qp)- }- }+// CreateSecretV4JSONBody defines parameters for CreateSecretV4.+type CreateSecretV4JSONBody struct {+ // Environment The slug of the environment to create the secret in.+ Environment string `json:"environment"`- }+ // ProjectId The ID of the project to create the secret in.+ ProjectId string `json:"projectId"`- if encoded := queryValues.Encode(); encoded != "" {- rawQueryFragments = append(rawQueryFragments, encoded)- }- queryURL.RawQuery = strings.Join(rawQueryFragments, "&")- }+ // SecretComment Attach a comment to the secret.+ SecretComment *string `json:"secretComment,omitempty"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`- req, err := http.NewRequest(http.MethodDelete, queryURL.String(), nil)- if err != nil {- return nil, err- }+ // SecretPath The path to create the secret in.+ SecretPath *string `json:"secretPath,omitempty"`- return req, nil-}+ // SecretReminderNote Note to be attached in notification email.+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`-// NewGetGitHubSecretSyncRequest constructs an http.Request for the GetGitHubSecretSync method-func NewGetGitHubSecretSyncRequest(server string, syncId openapi_types.UUID) (*http.Request, error) {- var err error+ // SecretReminderRepeatDays Interval for secret rotation notifications, measured in days.+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`- var pathParam0 string+ // SecretValue The value of the secret to create.+ SecretValue string `json:"secretValue"`- pathParam0, err = runtime.StyleParamWithOptions("simple", false, "syncId", syncId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: "uuid"})- if err != nil {- return nil, err- }+ // SkipMultilineEncoding Skip multiline encoding for the secret value.+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+ // TagIds The ID of the tags to be attached to the created secret.+ TagIds *[]string `json:"tagIds,omitempty"`- operationPath := fmt.Sprintf("/api/v1/secret-syncs/github/%s", pathParam0)- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+ // Type The type of the secret to create.+ Type *CreateSecretV4JSONBodyType `json:"type,omitempty"`+}- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+// CreateSecretV4JSONBodyType defines parameters for CreateSecretV4.+type CreateSecretV4JSONBodyType string- req, err := http.NewRequest(http.MethodGet, queryURL.String(), nil)- if err != nil {- return nil, err- }+// CreateSecretV4200JSONResponseBody0 defines parameters for CreateSecretV4.+type CreateSecretV4200JSONResponseBody0 struct {+ Secret struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secret"`+}- return req, nil+// CreateSecretV4200JSONResponseBody1 defines parameters for CreateSecretV4.+type CreateSecretV4200JSONResponseBody1 struct {+ Approval struct {+ BypassReason *string `json:"bypassReason,omitempty"`+ CommitMessage *string `json:"commitMessage,omitempty"`+ CommitterIdentityId *openapi_types.UUID `json:"committerIdentityId,omitempty"`+ CommitterUserId *openapi_types.UUID `json:"committerUserId,omitempty"`+ Conflicts interface{} `json:"conflicts,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ FolderId openapi_types.UUID `json:"folderId"`+ HasMerged *bool `json:"hasMerged,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsReplicated *bool `json:"isReplicated,omitempty"`+ PolicyId openapi_types.UUID `json:"policyId"`+ Slug string `json:"slug"`+ Status *string `json:"status,omitempty"`+ StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`}-// NewRemoveGitHubSecretSyncSecretsRequest constructs an http.Request for the RemoveGitHubSecretSyncSecrets method-func NewRemoveGitHubSecretSyncSecretsRequest(server string, syncId openapi_types.UUID) (*http.Request, error) {- var err error+// CreateSecretV4200JSONResponseBody defines parameters for CreateSecretV4.+type CreateSecretV4200JSONResponseBody struct {+ union json.RawMessage+}- var pathParam0 string+// CreateSecretV4400JSONResponseBodyStatusCode defines parameters for CreateSecretV4.+type CreateSecretV4400JSONResponseBodyStatusCode float32- pathParam0, err = runtime.StyleParamWithOptions("simple", false, "syncId", syncId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: "uuid"})- if err != nil {- return nil, err- }+// CreateSecretV4401JSONResponseBodyStatusCode defines parameters for CreateSecretV4.+type CreateSecretV4401JSONResponseBodyStatusCode float32- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+// CreateSecretV4403JSONResponseBodyStatusCode defines parameters for CreateSecretV4.+type CreateSecretV4403JSONResponseBodyStatusCode float32- operationPath := fmt.Sprintf("/api/v1/secret-syncs/github/%s/remove-secrets", pathParam0)- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+// CreateSecretV4404JSONResponseBodyStatusCode defines parameters for CreateSecretV4.+type CreateSecretV4404JSONResponseBodyStatusCode float32- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+// CreateSecretV4422JSONResponseBodyStatusCode defines parameters for CreateSecretV4.+type CreateSecretV4422JSONResponseBodyStatusCode float32- req, err := http.NewRequest(http.MethodPost, queryURL.String(), nil)- if err != nil {- return nil, err- }+// CreateSecretV4500JSONResponseBodyStatusCode defines parameters for CreateSecretV4.+type CreateSecretV4500JSONResponseBodyStatusCode float32- return req, nil+// GetSecretReferencesV4Params defines parameters for GetSecretReferencesV4.+type GetSecretReferencesV4Params struct {+ // ProjectId The ID of the project where the secret is located.+ ProjectId string `form:"projectId" json:"projectId"`++ // Environment The slug of the environment where the the secret is located.+ Environment string `form:"environment" json:"environment"`++ // SecretPath The folder path where the secret is located.+ SecretPath *string `form:"secretPath,omitempty" json:"secretPath,omitempty"`}-// NewSyncGitHubSecretSyncRequest constructs an http.Request for the SyncGitHubSecretSync method-func NewSyncGitHubSecretSyncRequest(server string, syncId openapi_types.UUID) (*http.Request, error) {- var err error+// GetSecretReferencesV4400JSONResponseBodyStatusCode defines parameters for GetSecretReferencesV4.+type GetSecretReferencesV4400JSONResponseBodyStatusCode float32- var pathParam0 string+// GetSecretReferencesV4401JSONResponseBodyStatusCode defines parameters for GetSecretReferencesV4.+type GetSecretReferencesV4401JSONResponseBodyStatusCode float32- pathParam0, err = runtime.StyleParamWithOptions("simple", false, "syncId", syncId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: "uuid"})- if err != nil {- return nil, err- }+// GetSecretReferencesV4403JSONResponseBodyStatusCode defines parameters for GetSecretReferencesV4.+type GetSecretReferencesV4403JSONResponseBodyStatusCode float32- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+// GetSecretReferencesV4404JSONResponseBodyStatusCode defines parameters for GetSecretReferencesV4.+type GetSecretReferencesV4404JSONResponseBodyStatusCode float32- operationPath := fmt.Sprintf("/api/v1/secret-syncs/github/%s/sync-secrets", pathParam0)- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+// GetSecretReferencesV4422JSONResponseBodyStatusCode defines parameters for GetSecretReferencesV4.+type GetSecretReferencesV4422JSONResponseBodyStatusCode float32- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+// GetSecretReferencesV4500JSONResponseBodyStatusCode defines parameters for GetSecretReferencesV4.+type GetSecretReferencesV4500JSONResponseBodyStatusCode float32- req, err := http.NewRequest(http.MethodPost, queryURL.String(), nil)- if err != nil {- return nil, err- }+// GetSecretReferenceTreeV4Params defines parameters for GetSecretReferenceTreeV4.+type GetSecretReferenceTreeV4Params struct {+ // ProjectId The ID of the project where the secret is located.+ ProjectId string `form:"projectId" json:"projectId"`- return req, nil-}+ // Environment The slug of the environment where the the secret is located.+ Environment string `form:"environment" json:"environment"`-// NewCreateOrganizationRequest calls the generic CreateOrganization builder with application/json body-func NewCreateOrganizationRequest(server string, body CreateOrganizationJSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)- if err != nil {- return nil, err- }- bodyReader = bytes.NewReader(buf)- return NewCreateOrganizationRequestWithBody(server, "application/json", bodyReader)+ // SecretPath The folder path where the secret is located.+ SecretPath *string `form:"secretPath,omitempty" json:"secretPath,omitempty"`}-// NewCreateOrganizationRequestWithBody constructs an http.Request for the CreateOrganization method, with any body, and a specified content type-func NewCreateOrganizationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {- var err error+// GetSecretReferenceTreeV4400JSONResponseBodyStatusCode defines parameters for GetSecretReferenceTreeV4.+type GetSecretReferenceTreeV4400JSONResponseBodyStatusCode float32- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+// GetSecretReferenceTreeV4401JSONResponseBodyStatusCode defines parameters for GetSecretReferenceTreeV4.+type GetSecretReferenceTreeV4401JSONResponseBodyStatusCode float32- operationPath := fmt.Sprintf("/api/v2/organizations")- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+// GetSecretReferenceTreeV4403JSONResponseBodyStatusCode defines parameters for GetSecretReferenceTreeV4.+type GetSecretReferenceTreeV4403JSONResponseBodyStatusCode float32- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+// GetSecretReferenceTreeV4404JSONResponseBodyStatusCode defines parameters for GetSecretReferenceTreeV4.+type GetSecretReferenceTreeV4404JSONResponseBodyStatusCode float32- req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)- if err != nil {- return nil, err- }+// GetSecretReferenceTreeV4422JSONResponseBodyStatusCode defines parameters for GetSecretReferenceTreeV4.+type GetSecretReferenceTreeV4422JSONResponseBodyStatusCode float32- req.Header.Add("Content-Type", contentType)+// GetSecretReferenceTreeV4500JSONResponseBodyStatusCode defines parameters for GetSecretReferenceTreeV4.+type GetSecretReferenceTreeV4500JSONResponseBodyStatusCode float32- return req, nil-}+// AdminBootstrapJSONRequestBody defines body for AdminBootstrap for application/json ContentType.+type AdminBootstrapJSONRequestBody AdminBootstrapJSONBody-// NewDeleteOrganizationRequest constructs an http.Request for the DeleteOrganization method-func NewDeleteOrganizationRequest(server string, organizationId string) (*http.Request, error) {- var err error+// UpdateAdminConfigJSONRequestBody defines body for UpdateAdminConfig for application/json ContentType.+type UpdateAdminConfigJSONRequestBody UpdateAdminConfigJSONBody- var pathParam0 string+// CreateGitHubAppConnectionJSONRequestBody defines body for CreateGitHubAppConnection for application/json ContentType.+type CreateGitHubAppConnectionJSONRequestBody CreateGitHubAppConnectionJSONBody- pathParam0, err = runtime.StyleParamWithOptions("simple", false, "organizationId", organizationId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})- if err != nil {- return nil, err- }+// AttachUniversalAuthJSONRequestBody defines body for AttachUniversalAuth for application/json ContentType.+type AttachUniversalAuthJSONRequestBody AttachUniversalAuthJSONBody- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+// CreateUniversalAuthClientSecretJSONRequestBody defines body for CreateUniversalAuthClientSecret for application/json ContentType.+type CreateUniversalAuthClientSecretJSONRequestBody CreateUniversalAuthClientSecretJSONBody- operationPath := fmt.Sprintf("/api/v2/organizations/%s", pathParam0)- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+// LoginWithUniversalAuthJSONRequestBody defines body for LoginWithUniversalAuth for application/json ContentType.+type LoginWithUniversalAuthJSONRequestBody LoginWithUniversalAuthJSONBody- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+// CreateMachineIdentityJSONRequestBody defines body for CreateMachineIdentity for application/json ContentType.+type CreateMachineIdentityJSONRequestBody CreateMachineIdentityJSONBody- req, err := http.NewRequest(http.MethodDelete, queryURL.String(), nil)- if err != nil {- return nil, err- }+// InviteUsersToOrganizationJSONRequestBody defines body for InviteUsersToOrganization for application/json ContentType.+type InviteUsersToOrganizationJSONRequestBody InviteUsersToOrganizationJSONBody- return req, nil-}+// VerifyUserToOrganizationJSONRequestBody defines body for VerifyUserToOrganization for application/json ContentType.+type VerifyUserToOrganizationJSONRequestBody VerifyUserToOrganizationJSONBody-// NewLoginV3Request calls the generic LoginV3 builder with application/json body-func NewLoginV3Request(server string, body LoginV3JSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)- if err != nil {- return nil, err- }- bodyReader = bytes.NewReader(buf)- return NewLoginV3RequestWithBody(server, "application/json", bodyReader)-}+// UpdateOrganizationJSONRequestBody defines body for UpdateOrganization for application/json ContentType.+type UpdateOrganizationJSONRequestBody UpdateOrganizationJSONBody-// NewLoginV3RequestWithBody constructs an http.Request for the LoginV3 method, with any body, and a specified content type-func NewLoginV3RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {- var err error+// CreateProjectFolderGrantJSONRequestBody defines body for CreateProjectFolderGrant for application/json ContentType.+type CreateProjectFolderGrantJSONRequestBody CreateProjectFolderGrantJSONBody- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+// CreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.+type CreateProjectJSONRequestBody CreateProjectJSONBody- operationPath := fmt.Sprintf("/api/v3/auth/login")- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+// CreateProjectMachineIdentityJSONRequestBody defines body for CreateProjectMachineIdentity for application/json ContentType.+type CreateProjectMachineIdentityJSONRequestBody CreateProjectMachineIdentityJSONBody- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+// InviteProjectMembersJSONRequestBody defines body for InviteProjectMembers for application/json ContentType.+type InviteProjectMembersJSONRequestBody InviteProjectMembersJSONBody- req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)- if err != nil {- return nil, err- }+// CreateProjectIdentityMembershipJSONRequestBody defines body for CreateProjectIdentityMembership for application/json ContentType.+type CreateProjectIdentityMembershipJSONRequestBody CreateProjectIdentityMembershipJSONBody- req.Header.Add("Content-Type", contentType)+// CreateIdentityFolderAccessJSONRequestBody defines body for CreateIdentityFolderAccess for application/json ContentType.+type CreateIdentityFolderAccessJSONRequestBody CreateIdentityFolderAccessJSONBody- return req, nil-}+// CreateSecretTagJSONRequestBody defines body for CreateSecretTag for application/json ContentType.+type CreateSecretTagJSONRequestBody CreateSecretTagJSONBody-// NewSelectOrganizationV3Request calls the generic SelectOrganizationV3 builder with application/json body-func NewSelectOrganizationV3Request(server string, body SelectOrganizationV3JSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)- if err != nil {- return nil, err- }- bodyReader = bytes.NewReader(buf)- return NewSelectOrganizationV3RequestWithBody(server, "application/json", bodyReader)-}+// MergeSecretApprovalRequestJSONRequestBody defines body for MergeSecretApprovalRequest for application/json ContentType.+type MergeSecretApprovalRequestJSONRequestBody MergeSecretApprovalRequestJSONBody-// NewSelectOrganizationV3RequestWithBody constructs an http.Request for the SelectOrganizationV3 method, with any body, and a specified content type-func NewSelectOrganizationV3RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {- var err error+// ReviewSecretApprovalRequestJSONRequestBody defines body for ReviewSecretApprovalRequest for application/json ContentType.+type ReviewSecretApprovalRequestJSONRequestBody ReviewSecretApprovalRequestJSONBody- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+// UpdateSecretApprovalRequestStatusJSONRequestBody defines body for UpdateSecretApprovalRequestStatus for application/json ContentType.+type UpdateSecretApprovalRequestStatusJSONRequestBody UpdateSecretApprovalRequestStatusJSONBody- operationPath := fmt.Sprintf("/api/v3/auth/select-organization")- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+// CreateGitHubSecretSyncJSONRequestBody defines body for CreateGitHubSecretSync for application/json ContentType.+type CreateGitHubSecretSyncJSONRequestBody CreateGitHubSecretSyncJSONBody- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+// CreateSecretFolderJSONRequestBody defines body for CreateSecretFolder for application/json ContentType.+type CreateSecretFolderJSONRequestBody CreateSecretFolderJSONBody- req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)- if err != nil {- return nil, err- }+// CreateOrganizationJSONRequestBody defines body for CreateOrganization for application/json ContentType.+type CreateOrganizationJSONRequestBody CreateOrganizationJSONBody- req.Header.Add("Content-Type", contentType)+// CreateSecretApprovalPolicyJSONRequestBody defines body for CreateSecretApprovalPolicy for application/json ContentType.+type CreateSecretApprovalPolicyJSONRequestBody CreateSecretApprovalPolicyJSONBody- return req, nil-}+// UpdateSecretApprovalPolicyJSONRequestBody defines body for UpdateSecretApprovalPolicy for application/json ContentType.+type UpdateSecretApprovalPolicyJSONRequestBody UpdateSecretApprovalPolicyJSONBody-// NewCompleteAccountSignupV3Request calls the generic CompleteAccountSignupV3 builder with application/json body-func NewCompleteAccountSignupV3Request(server string, body CompleteAccountSignupV3JSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)- if err != nil {- return nil, err- }- bodyReader = bytes.NewReader(buf)- return NewCompleteAccountSignupV3RequestWithBody(server, "application/json", bodyReader)-}+// CreateSecretImportJSONRequestBody defines body for CreateSecretImport for application/json ContentType.+type CreateSecretImportJSONRequestBody CreateSecretImportJSONBody-// NewCompleteAccountSignupV3RequestWithBody constructs an http.Request for the CompleteAccountSignupV3 method, with any body, and a specified content type-func NewCompleteAccountSignupV3RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {- var err error+// LoginV3JSONRequestBody defines body for LoginV3 for application/json ContentType.+type LoginV3JSONRequestBody LoginV3JSONBody- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+// SelectOrganizationV3JSONRequestBody defines body for SelectOrganizationV3 for application/json ContentType.+type SelectOrganizationV3JSONRequestBody SelectOrganizationV3JSONBody- operationPath := fmt.Sprintf("/api/v3/signup/complete-account")- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+// CompleteAccountSignupV3JSONRequestBody defines body for CompleteAccountSignupV3 for application/json ContentType.+type CompleteAccountSignupV3JSONRequestBody CompleteAccountSignupV3JSONBody- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+// BeginEmailSignupV3JSONRequestBody defines body for BeginEmailSignupV3 for application/json ContentType.+type BeginEmailSignupV3JSONRequestBody BeginEmailSignupV3JSONBody- req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)- if err != nil {- return nil, err- }+// VerifyEmailSignupV3JSONRequestBody defines body for VerifyEmailSignupV3 for application/json ContentType.+type VerifyEmailSignupV3JSONRequestBody VerifyEmailSignupV3JSONBody- req.Header.Add("Content-Type", contentType)+// DeleteManySecretsV4JSONRequestBody defines body for DeleteManySecretsV4 for application/json ContentType.+type DeleteManySecretsV4JSONRequestBody DeleteManySecretsV4JSONBody- return req, nil-}+// UpdateManySecretsV4JSONRequestBody defines body for UpdateManySecretsV4 for application/json ContentType.+type UpdateManySecretsV4JSONRequestBody UpdateManySecretsV4JSONBody-// NewBeginEmailSignupV3Request calls the generic BeginEmailSignupV3 builder with application/json body-func NewBeginEmailSignupV3Request(server string, body BeginEmailSignupV3JSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)- if err != nil {- return nil, err- }- bodyReader = bytes.NewReader(buf)- return NewBeginEmailSignupV3RequestWithBody(server, "application/json", bodyReader)+// CreateManySecretsV4JSONRequestBody defines body for CreateManySecretsV4 for application/json ContentType.+type CreateManySecretsV4JSONRequestBody CreateManySecretsV4JSONBody++// DuplicateSecretV4JSONRequestBody defines body for DuplicateSecretV4 for application/json ContentType.+type DuplicateSecretV4JSONRequestBody DuplicateSecretV4JSONBody++// MoveSecretsV4JSONRequestBody defines body for MoveSecretsV4 for application/json ContentType.+type MoveSecretsV4JSONRequestBody MoveSecretsV4JSONBody++// DeleteSecretV4JSONRequestBody defines body for DeleteSecretV4 for application/json ContentType.+type DeleteSecretV4JSONRequestBody DeleteSecretV4JSONBody++// UpdateSecretV4JSONRequestBody defines body for UpdateSecretV4 for application/json ContentType.+type UpdateSecretV4JSONRequestBody UpdateSecretV4JSONBody++// CreateSecretV4JSONRequestBody defines body for CreateSecretV4 for application/json ContentType.+type CreateSecretV4JSONRequestBody CreateSecretV4JSONBody++// AsCreateGitHubAppConnectionJSONBody0 returns the union data inside the CreateGitHubAppConnectionJSONBody as a CreateGitHubAppConnectionJSONBody0+func (t CreateGitHubAppConnectionJSONBody) AsCreateGitHubAppConnectionJSONBody0() (CreateGitHubAppConnectionJSONBody0, error) {+ var body CreateGitHubAppConnectionJSONBody0+ err := json.Unmarshal(t.union, &body)+ return body, err}-// NewBeginEmailSignupV3RequestWithBody constructs an http.Request for the BeginEmailSignupV3 method, with any body, and a specified content type-func NewBeginEmailSignupV3RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {- var err error+// FromCreateGitHubAppConnectionJSONBody0 overwrites any union data inside the CreateGitHubAppConnectionJSONBody as the provided CreateGitHubAppConnectionJSONBody0+func (t *CreateGitHubAppConnectionJSONBody) FromCreateGitHubAppConnectionJSONBody0(v CreateGitHubAppConnectionJSONBody0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- serverURL, err := url.Parse(server)+// MergeCreateGitHubAppConnectionJSONBody0 performs a merge with any union data inside the CreateGitHubAppConnectionJSONBody, using the provided CreateGitHubAppConnectionJSONBody0+func (t *CreateGitHubAppConnectionJSONBody) MergeCreateGitHubAppConnectionJSONBody0(v CreateGitHubAppConnectionJSONBody0) error {+ b, err := json.Marshal(v)if err != nil {- return nil, err+ return err}- operationPath := fmt.Sprintf("/api/v3/signup/email/signup")- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+// AsCreateGitHubAppConnectionJSONBody1 returns the union data inside the CreateGitHubAppConnectionJSONBody as a CreateGitHubAppConnectionJSONBody1+func (t CreateGitHubAppConnectionJSONBody) AsCreateGitHubAppConnectionJSONBody1() (CreateGitHubAppConnectionJSONBody1, error) {+ var body CreateGitHubAppConnectionJSONBody1+ err := json.Unmarshal(t.union, &body)+ return body, err+}- req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)+// FromCreateGitHubAppConnectionJSONBody1 overwrites any union data inside the CreateGitHubAppConnectionJSONBody as the provided CreateGitHubAppConnectionJSONBody1+func (t *CreateGitHubAppConnectionJSONBody) FromCreateGitHubAppConnectionJSONBody1(v CreateGitHubAppConnectionJSONBody1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateGitHubAppConnectionJSONBody1 performs a merge with any union data inside the CreateGitHubAppConnectionJSONBody, using the provided CreateGitHubAppConnectionJSONBody1+func (t *CreateGitHubAppConnectionJSONBody) MergeCreateGitHubAppConnectionJSONBody1(v CreateGitHubAppConnectionJSONBody1) error {+ b, err := json.Marshal(v)if err != nil {- return nil, err+ return err}- req.Header.Add("Content-Type", contentType)+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- return req, nil+// AsCreateGitHubAppConnectionJSONBody2 returns the union data inside the CreateGitHubAppConnectionJSONBody as a CreateGitHubAppConnectionJSONBody2+func (t CreateGitHubAppConnectionJSONBody) AsCreateGitHubAppConnectionJSONBody2() (CreateGitHubAppConnectionJSONBody2, error) {+ var body CreateGitHubAppConnectionJSONBody2+ err := json.Unmarshal(t.union, &body)+ return body, err}-// NewVerifyEmailSignupV3Request calls the generic VerifyEmailSignupV3 builder with application/json body-func NewVerifyEmailSignupV3Request(server string, body VerifyEmailSignupV3JSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)+// FromCreateGitHubAppConnectionJSONBody2 overwrites any union data inside the CreateGitHubAppConnectionJSONBody as the provided CreateGitHubAppConnectionJSONBody2+func (t *CreateGitHubAppConnectionJSONBody) FromCreateGitHubAppConnectionJSONBody2(v CreateGitHubAppConnectionJSONBody2) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateGitHubAppConnectionJSONBody2 performs a merge with any union data inside the CreateGitHubAppConnectionJSONBody, using the provided CreateGitHubAppConnectionJSONBody2+func (t *CreateGitHubAppConnectionJSONBody) MergeCreateGitHubAppConnectionJSONBody2(v CreateGitHubAppConnectionJSONBody2) error {+ b, err := json.Marshal(v)if err != nil {- return nil, err+ return err}- bodyReader = bytes.NewReader(buf)- return NewVerifyEmailSignupV3RequestWithBody(server, "application/json", bodyReader)-}-// NewVerifyEmailSignupV3RequestWithBody constructs an http.Request for the VerifyEmailSignupV3 method, with any body, and a specified content type-func NewVerifyEmailSignupV3RequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {- var err error+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- serverURL, err := url.Parse(server)+func (t CreateGitHubAppConnectionJSONBody) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()if err != nil {return nil, err}-- operationPath := fmt.Sprintf("/api/v3/signup/email/verify")- if operationPath[0] == '/' {- operationPath = "." + operationPath+ object := make(map[string]json.RawMessage)+ if t.union != nil {+ err = json.Unmarshal(b, &object)+ if err != nil {+ return nil, err+ }}- queryURL, err := serverURL.Parse(operationPath)- 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)+ }}- req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)- if err != nil {- return nil, err+ if t.GatewayId != nil {+ object["gatewayId"], err = json.Marshal(t.GatewayId)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'gatewayId': %w", err)+ }}- req.Header.Add("Content-Type", contentType)+ if t.GatewayPoolId != nil {+ object["gatewayPoolId"], err = json.Marshal(t.GatewayPoolId)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'gatewayPoolId': %w", err)+ }+ }- return req, nil-}+ if t.IsAutoRotationEnabled != nil {+ object["isAutoRotationEnabled"], err = json.Marshal(t.IsAutoRotationEnabled)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'isAutoRotationEnabled': %w", err)+ }+ }-// NewListSecretsV4Request constructs an http.Request for the ListSecretsV4 method-func NewListSecretsV4Request(server string, params *ListSecretsV4Params) (*http.Request, error) {- var err error+ if t.IsPlatformManagedCredentials != nil {+ object["isPlatformManagedCredentials"], err = json.Marshal(t.IsPlatformManagedCredentials)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'isPlatformManagedCredentials': %w", err)+ }+ }- serverURL, err := url.Parse(server)+ object["name"], err = json.Marshal(t.Name)if err != nil {- return nil, err+ return nil, fmt.Errorf("error marshaling 'name': %w", err)}- operationPath := fmt.Sprintf("/api/v4/secrets")- if operationPath[0] == '/' {- operationPath = "." + operationPath+ if t.ProjectId != nil {+ object["projectId"], err = json.Marshal(t.ProjectId)+ if err != nil {+ return nil, fmt.Errorf("error marshaling 'projectId': %w", err)+ }}- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, 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+}- 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.MetadataFilter != nil {-- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "metadataFilter", *params.MetadataFilter, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {- return nil, err- } else {- for _, qp := range strings.Split(queryFrag, "&") {- rawQueryFragments = append(rawQueryFragments, qp)- }- }+func (t *CreateGitHubAppConnectionJSONBody) 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 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 raw, found := object["gatewayId"]; found {+ err = json.Unmarshal(raw, &t.GatewayId)+ if err != nil {+ return fmt.Errorf("error reading 'gatewayId': %w", err)}+ }- if params.Environment != nil {-- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "environment", *params.Environment, 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 raw, found := object["gatewayPoolId"]; found {+ err = json.Unmarshal(raw, &t.GatewayPoolId)+ if err != nil {+ return fmt.Errorf("error reading 'gatewayPoolId': %w", err)}+ }- if params.SecretPath != nil {-- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "secretPath", *params.SecretPath, 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 raw, found := object["isAutoRotationEnabled"]; found {+ err = json.Unmarshal(raw, &t.IsAutoRotationEnabled)+ if err != nil {+ return fmt.Errorf("error reading 'isAutoRotationEnabled': %w", err)}+ }- if params.ViewSecretValue != nil {-- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "viewSecretValue", *params.ViewSecretValue, 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 raw, found := object["isPlatformManagedCredentials"]; found {+ err = json.Unmarshal(raw, &t.IsPlatformManagedCredentials)+ if err != nil {+ return fmt.Errorf("error reading 'isPlatformManagedCredentials': %w", err)}+ }- if params.ExpandSecretReferences != nil {-- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "expandSecretReferences", *params.ExpandSecretReferences, 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 raw, found := object["name"]; found {+ err = json.Unmarshal(raw, &t.Name)+ if err != nil {+ return fmt.Errorf("error reading 'name': %w", err)}+ }- if params.Recursive != nil {-- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "recursive", *params.Recursive, 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 raw, found := object["projectId"]; found {+ err = json.Unmarshal(raw, &t.ProjectId)+ if err != nil {+ return fmt.Errorf("error reading 'projectId': %w", err)}+ }- if params.IncludePersonalOverrides != nil {-- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "includePersonalOverrides", *params.IncludePersonalOverrides, 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 raw, found := object["rotation"]; found {+ err = json.Unmarshal(raw, &t.Rotation)+ if err != nil {+ return fmt.Errorf("error reading 'rotation': %w", err)}+ }- if params.IncludeImports != nil {+ return err+}- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "includeImports", *params.IncludeImports, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {- return nil, err- } else {- for _, qp := range strings.Split(queryFrag, "&") {- rawQueryFragments = append(rawQueryFragments, qp)- }- }+// AsCreateGitHubAppConnectionJSONBodyRotation0 returns the union data inside the CreateGitHubAppConnectionJSONBody_Rotation as a CreateGitHubAppConnectionJSONBodyRotation0+func (t CreateGitHubAppConnectionJSONBody_Rotation) AsCreateGitHubAppConnectionJSONBodyRotation0() (CreateGitHubAppConnectionJSONBodyRotation0, error) {+ var body CreateGitHubAppConnectionJSONBodyRotation0+ err := json.Unmarshal(t.union, &body)+ return body, err+}- }+// FromCreateGitHubAppConnectionJSONBodyRotation0 overwrites any union data inside the CreateGitHubAppConnectionJSONBody_Rotation as the provided CreateGitHubAppConnectionJSONBodyRotation0+func (t *CreateGitHubAppConnectionJSONBody_Rotation) FromCreateGitHubAppConnectionJSONBodyRotation0(v CreateGitHubAppConnectionJSONBodyRotation0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- if params.TagSlugs != nil {+// MergeCreateGitHubAppConnectionJSONBodyRotation0 performs a merge with any union data inside the CreateGitHubAppConnectionJSONBody_Rotation, using the provided CreateGitHubAppConnectionJSONBodyRotation0+func (t *CreateGitHubAppConnectionJSONBody_Rotation) MergeCreateGitHubAppConnectionJSONBodyRotation0(v CreateGitHubAppConnectionJSONBodyRotation0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "tagSlugs", *params.TagSlugs, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {- return nil, err- } else {- for _, qp := range strings.Split(queryFrag, "&") {- rawQueryFragments = append(rawQueryFragments, qp)- }- }+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- }+// AsCreateGitHubAppConnectionJSONBodyRotation1 returns the union data inside the CreateGitHubAppConnectionJSONBody_Rotation as a CreateGitHubAppConnectionJSONBodyRotation1+func (t CreateGitHubAppConnectionJSONBody_Rotation) AsCreateGitHubAppConnectionJSONBodyRotation1() (CreateGitHubAppConnectionJSONBodyRotation1, error) {+ var body CreateGitHubAppConnectionJSONBodyRotation1+ err := json.Unmarshal(t.union, &body)+ return body, err+}- if encoded := queryValues.Encode(); encoded != "" {- rawQueryFragments = append(rawQueryFragments, encoded)- }- queryURL.RawQuery = strings.Join(rawQueryFragments, "&")- }+// FromCreateGitHubAppConnectionJSONBodyRotation1 overwrites any union data inside the CreateGitHubAppConnectionJSONBody_Rotation as the provided CreateGitHubAppConnectionJSONBodyRotation1+func (t *CreateGitHubAppConnectionJSONBody_Rotation) FromCreateGitHubAppConnectionJSONBodyRotation1(v CreateGitHubAppConnectionJSONBodyRotation1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- req, err := http.NewRequest(http.MethodGet, queryURL.String(), nil)+// MergeCreateGitHubAppConnectionJSONBodyRotation1 performs a merge with any union data inside the CreateGitHubAppConnectionJSONBody_Rotation, using the provided CreateGitHubAppConnectionJSONBodyRotation1+func (t *CreateGitHubAppConnectionJSONBody_Rotation) MergeCreateGitHubAppConnectionJSONBodyRotation1(v CreateGitHubAppConnectionJSONBodyRotation1) error {+ b, err := json.Marshal(v)if err != nil {- return nil, err+ return err}- return req, nil+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// NewDeleteSecretV4Request calls the generic DeleteSecretV4 builder with application/json body-func NewDeleteSecretV4Request(server string, secretName string, body DeleteSecretV4JSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)- if err != nil {- return nil, err- }- bodyReader = bytes.NewReader(buf)- return NewDeleteSecretV4RequestWithBody(server, secretName, "application/json", bodyReader)+func (t CreateGitHubAppConnectionJSONBody_Rotation) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// NewDeleteSecretV4RequestWithBody constructs an http.Request for the DeleteSecretV4 method, with any body, and a specified content type-func NewDeleteSecretV4RequestWithBody(server string, secretName string, contentType string, body io.Reader) (*http.Request, error) {- var err error+func (t *CreateGitHubAppConnectionJSONBody_Rotation) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}- var pathParam0 string+// AsCreateGitHubAppConnectionJSONBody0Credentials0 returns the union data inside the CreateGitHubAppConnectionJSONBody_0_Credentials as a CreateGitHubAppConnectionJSONBody0Credentials0+func (t CreateGitHubAppConnectionJSONBody_0_Credentials) AsCreateGitHubAppConnectionJSONBody0Credentials0() (CreateGitHubAppConnectionJSONBody0Credentials0, error) {+ var body CreateGitHubAppConnectionJSONBody0Credentials0+ err := json.Unmarshal(t.union, &body)+ return body, err+}- pathParam0, err = runtime.StyleParamWithOptions("simple", false, "secretName", secretName, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})- if err != nil {- return nil, err- }+// FromCreateGitHubAppConnectionJSONBody0Credentials0 overwrites any union data inside the CreateGitHubAppConnectionJSONBody_0_Credentials as the provided CreateGitHubAppConnectionJSONBody0Credentials0+func (t *CreateGitHubAppConnectionJSONBody_0_Credentials) FromCreateGitHubAppConnectionJSONBody0Credentials0(v CreateGitHubAppConnectionJSONBody0Credentials0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- serverURL, err := url.Parse(server)+// MergeCreateGitHubAppConnectionJSONBody0Credentials0 performs a merge with any union data inside the CreateGitHubAppConnectionJSONBody_0_Credentials, using the provided CreateGitHubAppConnectionJSONBody0Credentials0+func (t *CreateGitHubAppConnectionJSONBody_0_Credentials) MergeCreateGitHubAppConnectionJSONBody0Credentials0(v CreateGitHubAppConnectionJSONBody0Credentials0) error {+ b, err := json.Marshal(v)if err != nil {- return nil, err+ return err}- operationPath := fmt.Sprintf("/api/v4/secrets/%s", pathParam0)- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+// AsCreateGitHubAppConnectionJSONBody0Credentials1 returns the union data inside the CreateGitHubAppConnectionJSONBody_0_Credentials as a CreateGitHubAppConnectionJSONBody0Credentials1+func (t CreateGitHubAppConnectionJSONBody_0_Credentials) AsCreateGitHubAppConnectionJSONBody0Credentials1() (CreateGitHubAppConnectionJSONBody0Credentials1, error) {+ var body CreateGitHubAppConnectionJSONBody0Credentials1+ err := json.Unmarshal(t.union, &body)+ return body, err+}- req, err := http.NewRequest(http.MethodDelete, queryURL.String(), body)+// FromCreateGitHubAppConnectionJSONBody0Credentials1 overwrites any union data inside the CreateGitHubAppConnectionJSONBody_0_Credentials as the provided CreateGitHubAppConnectionJSONBody0Credentials1+func (t *CreateGitHubAppConnectionJSONBody_0_Credentials) FromCreateGitHubAppConnectionJSONBody0Credentials1(v CreateGitHubAppConnectionJSONBody0Credentials1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateGitHubAppConnectionJSONBody0Credentials1 performs a merge with any union data inside the CreateGitHubAppConnectionJSONBody_0_Credentials, using the provided CreateGitHubAppConnectionJSONBody0Credentials1+func (t *CreateGitHubAppConnectionJSONBody_0_Credentials) MergeCreateGitHubAppConnectionJSONBody0Credentials1(v CreateGitHubAppConnectionJSONBody0Credentials1) error {+ b, err := json.Marshal(v)if err != nil {- return nil, err+ return err}- req.Header.Add("Content-Type", contentType)+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- return req, nil+func (t CreateGitHubAppConnectionJSONBody_0_Credentials) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// NewGetSecretByNameV4Request constructs an http.Request for the GetSecretByNameV4 method-func NewGetSecretByNameV4Request(server string, secretName string, params *GetSecretByNameV4Params) (*http.Request, error) {- var err error+func (t *CreateGitHubAppConnectionJSONBody_0_Credentials) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}- var pathParam0 string+// AsCreateGitHubAppConnectionJSONBody1Credentials0 returns the union data inside the CreateGitHubAppConnectionJSONBody_1_Credentials as a CreateGitHubAppConnectionJSONBody1Credentials0+func (t CreateGitHubAppConnectionJSONBody_1_Credentials) AsCreateGitHubAppConnectionJSONBody1Credentials0() (CreateGitHubAppConnectionJSONBody1Credentials0, error) {+ var body CreateGitHubAppConnectionJSONBody1Credentials0+ err := json.Unmarshal(t.union, &body)+ return body, err+}- pathParam0, err = runtime.StyleParamWithOptions("simple", false, "secretName", secretName, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})- if err != nil {- return nil, err- }+// FromCreateGitHubAppConnectionJSONBody1Credentials0 overwrites any union data inside the CreateGitHubAppConnectionJSONBody_1_Credentials as the provided CreateGitHubAppConnectionJSONBody1Credentials0+func (t *CreateGitHubAppConnectionJSONBody_1_Credentials) FromCreateGitHubAppConnectionJSONBody1Credentials0(v CreateGitHubAppConnectionJSONBody1Credentials0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- serverURL, err := url.Parse(server)+// MergeCreateGitHubAppConnectionJSONBody1Credentials0 performs a merge with any union data inside the CreateGitHubAppConnectionJSONBody_1_Credentials, using the provided CreateGitHubAppConnectionJSONBody1Credentials0+func (t *CreateGitHubAppConnectionJSONBody_1_Credentials) MergeCreateGitHubAppConnectionJSONBody1Credentials0(v CreateGitHubAppConnectionJSONBody1Credentials0) error {+ b, err := json.Marshal(v)if err != nil {- return nil, err+ return err}- operationPath := fmt.Sprintf("/api/v4/secrets/%s", pathParam0)- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- queryURL, err := serverURL.Parse(operationPath)+// AsCreateGitHubAppConnectionJSONBody1Credentials1 returns the union data inside the CreateGitHubAppConnectionJSONBody_1_Credentials as a CreateGitHubAppConnectionJSONBody1Credentials1+func (t CreateGitHubAppConnectionJSONBody_1_Credentials) AsCreateGitHubAppConnectionJSONBody1Credentials1() (CreateGitHubAppConnectionJSONBody1Credentials1, error) {+ var body CreateGitHubAppConnectionJSONBody1Credentials1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateGitHubAppConnectionJSONBody1Credentials1 overwrites any union data inside the CreateGitHubAppConnectionJSONBody_1_Credentials as the provided CreateGitHubAppConnectionJSONBody1Credentials1+func (t *CreateGitHubAppConnectionJSONBody_1_Credentials) FromCreateGitHubAppConnectionJSONBody1Credentials1(v CreateGitHubAppConnectionJSONBody1Credentials1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateGitHubAppConnectionJSONBody1Credentials1 performs a merge with any union data inside the CreateGitHubAppConnectionJSONBody_1_Credentials, using the provided CreateGitHubAppConnectionJSONBody1Credentials1+func (t *CreateGitHubAppConnectionJSONBody_1_Credentials) MergeCreateGitHubAppConnectionJSONBody1Credentials1(v CreateGitHubAppConnectionJSONBody1Credentials1) error {+ b, err := json.Marshal(v)if err != nil {- return nil, err+ return 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 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)- }- }+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- if params.Environment != nil {+func (t CreateGitHubAppConnectionJSONBody_1_Credentials) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "environment", *params.Environment, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {- return nil, err- } else {- for _, qp := range strings.Split(queryFrag, "&") {- rawQueryFragments = append(rawQueryFragments, qp)- }- }+func (t *CreateGitHubAppConnectionJSONBody_1_Credentials) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}- }+// AsCreateGitHubAppConnectionJSONBody2Credentials0 returns the union data inside the CreateGitHubAppConnectionJSONBody_2_Credentials as a CreateGitHubAppConnectionJSONBody2Credentials0+func (t CreateGitHubAppConnectionJSONBody_2_Credentials) AsCreateGitHubAppConnectionJSONBody2Credentials0() (CreateGitHubAppConnectionJSONBody2Credentials0, error) {+ var body CreateGitHubAppConnectionJSONBody2Credentials0+ err := json.Unmarshal(t.union, &body)+ return body, err+}- if params.SecretPath != nil {+// FromCreateGitHubAppConnectionJSONBody2Credentials0 overwrites any union data inside the CreateGitHubAppConnectionJSONBody_2_Credentials as the provided CreateGitHubAppConnectionJSONBody2Credentials0+func (t *CreateGitHubAppConnectionJSONBody_2_Credentials) FromCreateGitHubAppConnectionJSONBody2Credentials0(v CreateGitHubAppConnectionJSONBody2Credentials0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "secretPath", *params.SecretPath, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {- return nil, err- } else {- for _, qp := range strings.Split(queryFrag, "&") {- rawQueryFragments = append(rawQueryFragments, qp)- }- }+// MergeCreateGitHubAppConnectionJSONBody2Credentials0 performs a merge with any union data inside the CreateGitHubAppConnectionJSONBody_2_Credentials, using the provided CreateGitHubAppConnectionJSONBody2Credentials0+func (t *CreateGitHubAppConnectionJSONBody_2_Credentials) MergeCreateGitHubAppConnectionJSONBody2Credentials0(v CreateGitHubAppConnectionJSONBody2Credentials0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }- }+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- if params.Version != nil {+// AsCreateGitHubAppConnectionJSONBody2Credentials1 returns the union data inside the CreateGitHubAppConnectionJSONBody_2_Credentials as a CreateGitHubAppConnectionJSONBody2Credentials1+func (t CreateGitHubAppConnectionJSONBody_2_Credentials) AsCreateGitHubAppConnectionJSONBody2Credentials1() (CreateGitHubAppConnectionJSONBody2Credentials1, error) {+ var body CreateGitHubAppConnectionJSONBody2Credentials1+ err := json.Unmarshal(t.union, &body)+ return body, err+}- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "version", *params.Version, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "number", Format: ""}); err != nil {- return nil, err- } else {- for _, qp := range strings.Split(queryFrag, "&") {- rawQueryFragments = append(rawQueryFragments, qp)- }- }+// FromCreateGitHubAppConnectionJSONBody2Credentials1 overwrites any union data inside the CreateGitHubAppConnectionJSONBody_2_Credentials as the provided CreateGitHubAppConnectionJSONBody2Credentials1+func (t *CreateGitHubAppConnectionJSONBody_2_Credentials) FromCreateGitHubAppConnectionJSONBody2Credentials1(v CreateGitHubAppConnectionJSONBody2Credentials1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- }+// MergeCreateGitHubAppConnectionJSONBody2Credentials1 performs a merge with any union data inside the CreateGitHubAppConnectionJSONBody_2_Credentials, using the provided CreateGitHubAppConnectionJSONBody2Credentials1+func (t *CreateGitHubAppConnectionJSONBody_2_Credentials) MergeCreateGitHubAppConnectionJSONBody2Credentials1(v CreateGitHubAppConnectionJSONBody2Credentials1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }- if params.Type != nil {+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "type", *params.Type, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {- return nil, err- } else {- for _, qp := range strings.Split(queryFrag, "&") {- rawQueryFragments = append(rawQueryFragments, qp)- }- }+func (t CreateGitHubAppConnectionJSONBody_2_Credentials) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}- }+func (t *CreateGitHubAppConnectionJSONBody_2_Credentials) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}- if params.ViewSecretValue != nil {+// AsCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 returns the union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType as a CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0+func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) AsCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0() (CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0, error) {+ var body CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0+ err := json.Unmarshal(t.union, &body)+ return body, err+}- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "viewSecretValue", *params.ViewSecretValue, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {- return nil, err- } else {- for _, qp := range strings.Split(queryFrag, "&") {- rawQueryFragments = append(rawQueryFragments, qp)- }- }+// FromCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 overwrites any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType as the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0+func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) FromCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0(v CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- }+// MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 performs a merge with any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType, using the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0+func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0(v CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }- if params.ExpandSecretReferences != nil {+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "expandSecretReferences", *params.ExpandSecretReferences, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {- return nil, err- } else {- for _, qp := range strings.Split(queryFrag, "&") {- rawQueryFragments = append(rawQueryFragments, qp)- }- }+// AsCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 returns the union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType as a CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1+func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) AsCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1() (CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1, error) {+ var body CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1+ err := json.Unmarshal(t.union, &body)+ return body, err+}- }+// FromCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 overwrites any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType as the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1+func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) FromCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1(v CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- if params.IncludeImports != nil {+// MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 performs a merge with any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType, using the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1+func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1(v CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }- if queryFrag, err := runtime.StyleParamWithOptions("form", true, "includeImports", *params.IncludeImports, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {- return nil, err- } else {- for _, qp := range strings.Split(queryFrag, "&") {- rawQueryFragments = append(rawQueryFragments, qp)- }- }+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- }+func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}- if encoded := queryValues.Encode(); encoded != "" {- rawQueryFragments = append(rawQueryFragments, encoded)- }- queryURL.RawQuery = strings.Join(rawQueryFragments, "&")- }+func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}- req, err := http.NewRequest(http.MethodGet, queryURL.String(), nil)- if err != nil {- return nil, err- }+// AsCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 returns the union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType as a CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0+func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) AsCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0() (CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0, error) {+ var body CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0+ err := json.Unmarshal(t.union, &body)+ return body, err+}- return req, nil+// FromCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 overwrites any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType as the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0+func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) FromCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0(v CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// NewCreateSecretV4Request calls the generic CreateSecretV4 builder with application/json body-func NewCreateSecretV4Request(server string, secretName string, body CreateSecretV4JSONRequestBody) (*http.Request, error) {- var bodyReader io.Reader- buf, err := json.Marshal(body)+// MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 performs a merge with any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType, using the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0+func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0(v CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0) error {+ b, err := json.Marshal(v)if err != nil {- return nil, err+ return err}- bodyReader = bytes.NewReader(buf)- return NewCreateSecretV4RequestWithBody(server, secretName, "application/json", bodyReader)++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// NewCreateSecretV4RequestWithBody constructs an http.Request for the CreateSecretV4 method, with any body, and a specified content type-func NewCreateSecretV4RequestWithBody(server string, secretName string, contentType string, body io.Reader) (*http.Request, error) {- var err error+// AsCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 returns the union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType as a CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1+func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) AsCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1() (CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1, error) {+ var body CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1+ err := json.Unmarshal(t.union, &body)+ return body, err+}- var pathParam0 string+// FromCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 overwrites any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType as the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1+func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) FromCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1(v CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- pathParam0, err = runtime.StyleParamWithOptions("simple", false, "secretName", secretName, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})+// MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 performs a merge with any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType, using the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1+func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1(v CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1) error {+ b, err := json.Marshal(v)if err != nil {- return nil, err+ return err}- serverURL, err := url.Parse(server)- if err != nil {- return nil, err- }+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- operationPath := fmt.Sprintf("/api/v4/secrets/%s", pathParam0)- if operationPath[0] == '/' {- operationPath = "." + operationPath- }+func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}- queryURL, err := serverURL.Parse(operationPath)- if err != nil {- return nil, err- }+func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}- req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)+// AsCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 returns the union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType as a CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0+func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) AsCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0() (CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0, error) {+ var body CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 overwrites any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType as the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0+func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) FromCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0(v CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 performs a merge with any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType, using the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0+func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0(v CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0) error {+ b, err := json.Marshal(v)if err != nil {- return nil, err+ return err}- req.Header.Add("Content-Type", contentType)-- return req, nil+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-func (c *Client) applyEditors(ctx context.Context, req *http.Request, additionalEditors []RequestEditorFn) error {- for _, r := range c.RequestEditors {- if err := r(ctx, req); err != nil {- return err- }- }- for _, r := range additionalEditors {- if err := r(ctx, req); err != nil {- return err- }- }- return nil+// AsCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 returns the union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType as a CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1+func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) AsCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1() (CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1, error) {+ var body CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1+ err := json.Unmarshal(t.union, &body)+ return body, err}-// ClientWithResponses builds on ClientInterface to offer response payloads-type ClientWithResponses struct {- ClientInterface+// FromCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 overwrites any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType as the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1+func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) FromCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1(v CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// NewClientWithResponses creates a new ClientWithResponses, which wraps-// Client with return type handling-func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) {- client, err := NewClient(server, opts...)+// MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 performs a merge with any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType, using the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1+func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1(v CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1) error {+ b, err := json.Marshal(v)if err != nil {- return nil, err+ return err}- return &ClientWithResponses{client}, nil++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// WithBaseURL overrides the baseURL.-func WithBaseURL(baseURL string) ClientOption {- return func(c *Client) error {- newBaseURL, err := url.Parse(baseURL)- if err != nil {- return err- }- c.Server = newBaseURL.String()- return nil- }+func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// ClientWithResponsesInterface is the interface specification for the client with responses above.-type ClientWithResponsesInterface interface {+func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}- // GetInstanceStatusWithResponse performs a GET /api/status (the `GetInstanceStatus` operationId) request.- //- // Get the status of the Infisical instance and the features configured on it. Public and unauthenticated; used by liveness and readiness probes and exempt from the API-wide rate limit.- //- // Returns a wrapper object for the known response body format(s).- GetInstanceStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInstanceStatusResponse, error)+// AsCreateGitHubAppConnection200JSONResponseBodyAppConnection0 returns the union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection as a CreateGitHubAppConnection200JSONResponseBodyAppConnection0+func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection) AsCreateGitHubAppConnection200JSONResponseBodyAppConnection0() (CreateGitHubAppConnection200JSONResponseBodyAppConnection0, error) {+ var body CreateGitHubAppConnection200JSONResponseBodyAppConnection0+ err := json.Unmarshal(t.union, &body)+ return body, err+}- // AdminBootstrapWithBodyWithResponse performs a POST /api/v1/admin/bootstrap (the `AdminBootstrap` operationId) request,- // with any type of body and a specified content type.- //- // Returns a wrapper object for the known response body format(s).- AdminBootstrapWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminBootstrapResponse, error)+// FromCreateGitHubAppConnection200JSONResponseBodyAppConnection0 overwrites any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection as the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection0+func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection) FromCreateGitHubAppConnection200JSONResponseBodyAppConnection0(v CreateGitHubAppConnection200JSONResponseBodyAppConnection0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- // AdminBootstrapWithResponse performs a POST /api/v1/admin/bootstrap (the `AdminBootstrap` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- AdminBootstrapWithResponse(ctx context.Context, body AdminBootstrapJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminBootstrapResponse, error)+// MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection0 performs a merge with any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection, using the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection0+func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection) MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection0(v CreateGitHubAppConnection200JSONResponseBodyAppConnection0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }- // UpdateAdminConfigWithBodyWithResponse performs a PATCH /api/v1/admin/config (the `UpdateAdminConfig` operationId) request,- // with any type of body and a specified content type.- //- // Returns a wrapper object for the known response body format(s).- UpdateAdminConfigWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAdminConfigResponse, error)+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- // UpdateAdminConfigWithResponse performs a PATCH /api/v1/admin/config (the `UpdateAdminConfig` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- UpdateAdminConfigWithResponse(ctx context.Context, body UpdateAdminConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAdminConfigResponse, error)+// AsCreateGitHubAppConnection200JSONResponseBodyAppConnection1 returns the union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection as a CreateGitHubAppConnection200JSONResponseBodyAppConnection1+func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection) AsCreateGitHubAppConnection200JSONResponseBodyAppConnection1() (CreateGitHubAppConnection200JSONResponseBodyAppConnection1, error) {+ var body CreateGitHubAppConnection200JSONResponseBodyAppConnection1+ err := json.Unmarshal(t.union, &body)+ return body, err+}- // CreateGitHubAppConnectionWithBodyWithResponse performs a POST /api/v1/app-connections/github (the `CreateGitHubAppConnection` operationId) request,- // with any type of body and a specified content type.- //- // Create a GitHub Connection.- //- // Returns a wrapper object for the known response body format(s).- CreateGitHubAppConnectionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGitHubAppConnectionResponse, error)+// FromCreateGitHubAppConnection200JSONResponseBodyAppConnection1 overwrites any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection as the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection1+func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection) FromCreateGitHubAppConnection200JSONResponseBodyAppConnection1(v CreateGitHubAppConnection200JSONResponseBodyAppConnection1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- // CreateGitHubAppConnectionWithResponse performs a POST /api/v1/app-connections/github (the `CreateGitHubAppConnection` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- //- // Create a GitHub Connection.- CreateGitHubAppConnectionWithResponse(ctx context.Context, body CreateGitHubAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGitHubAppConnectionResponse, error)+// MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection1 performs a merge with any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection, using the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection1+func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection) MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection1(v CreateGitHubAppConnection200JSONResponseBodyAppConnection1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }- // DeleteGitHubAppConnectionWithResponse performs a DELETE /api/v1/app-connections/github/{connectionId} (the `DeleteGitHubAppConnection` operationId) request.- //- // Delete the specified GitHub Connection.- //- // Returns a wrapper object for the known response body format(s).- DeleteGitHubAppConnectionWithResponse(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteGitHubAppConnectionResponse, error)+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- // RefreshAuthTokenWithResponse performs a POST /api/v1/auth/token (the `RefreshAuthToken` operationId) request.- //- // Returns a wrapper object for the known response body format(s).- RefreshAuthTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshAuthTokenResponse, error)+// AsCreateGitHubAppConnection200JSONResponseBodyAppConnection2 returns the union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection as a CreateGitHubAppConnection200JSONResponseBodyAppConnection2+func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection) AsCreateGitHubAppConnection200JSONResponseBodyAppConnection2() (CreateGitHubAppConnection200JSONResponseBodyAppConnection2, error) {+ var body CreateGitHubAppConnection200JSONResponseBodyAppConnection2+ err := json.Unmarshal(t.union, &body)+ return body, err+}- // AttachUniversalAuthWithBodyWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId} (the `AttachUniversalAuth` operationId) request,- // with any type of body and a specified content type.- //- // Attach Universal Auth configuration onto machine identity.- //- // Returns a wrapper object for the known response body format(s).- AttachUniversalAuthWithBodyWithResponse(ctx context.Context, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachUniversalAuthResponse, error)+// FromCreateGitHubAppConnection200JSONResponseBodyAppConnection2 overwrites any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection as the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection2+func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection) FromCreateGitHubAppConnection200JSONResponseBodyAppConnection2(v CreateGitHubAppConnection200JSONResponseBodyAppConnection2) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- // AttachUniversalAuthWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId} (the `AttachUniversalAuth` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- //- // Attach Universal Auth configuration onto machine identity.- AttachUniversalAuthWithResponse(ctx context.Context, identityId string, body AttachUniversalAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachUniversalAuthResponse, error)+// MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection2 performs a merge with any union data inside the CreateGitHubAppConnection200JSONResponseBody_AppConnection, using the provided CreateGitHubAppConnection200JSONResponseBodyAppConnection2+func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection) MergeCreateGitHubAppConnection200JSONResponseBodyAppConnection2(v CreateGitHubAppConnection200JSONResponseBodyAppConnection2) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }- // CreateUniversalAuthClientSecretWithBodyWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId}/client-secrets (the `CreateUniversalAuthClientSecret` operationId) request,- // with any type of body and a specified content type.- //- // Create Universal Auth Client Secret for machine identity.- //- // Returns a wrapper object for the known response body format(s).- CreateUniversalAuthClientSecretWithBodyWithResponse(ctx context.Context, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUniversalAuthClientSecretResponse, error)+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- // CreateUniversalAuthClientSecretWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId}/client-secrets (the `CreateUniversalAuthClientSecret` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- //- // Create Universal Auth Client Secret for machine identity.- CreateUniversalAuthClientSecretWithResponse(ctx context.Context, identityId string, body CreateUniversalAuthClientSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUniversalAuthClientSecretResponse, error)+func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}- // LoginWithUniversalAuthWithBodyWithResponse performs a POST /api/v1/auth/universal-auth/login (the `LoginWithUniversalAuth` operationId) request,- // with any type of body and a specified content type.- //- // Login with Universal Auth for machine identity.- //- // Returns a wrapper object for the known response body format(s).- LoginWithUniversalAuthWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginWithUniversalAuthResponse, error)+func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}- // LoginWithUniversalAuthWithResponse performs a POST /api/v1/auth/universal-auth/login (the `LoginWithUniversalAuth` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- //- // Login with Universal Auth for machine identity.- LoginWithUniversalAuthWithResponse(ctx context.Context, body LoginWithUniversalAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*LoginWithUniversalAuthResponse, error)+// AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 returns the union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType as a DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0+func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0() (DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0, error) {+ var body DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0+ err := json.Unmarshal(t.union, &body)+ return body, err+}- // CreateMachineIdentityWithBodyWithResponse performs a POST /api/v1/identities (the `CreateMachineIdentity` operationId) request,- // with any type of body and a specified content type.- //- // Create machine identity.- //- // Returns a wrapper object for the known response body format(s).- CreateMachineIdentityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMachineIdentityResponse, error)+// FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 overwrites any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType as the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0+func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- // CreateMachineIdentityWithResponse performs a POST /api/v1/identities (the `CreateMachineIdentity` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- //- // Create machine identity.- CreateMachineIdentityWithResponse(ctx context.Context, body CreateMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMachineIdentityResponse, error)+// MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 performs a merge with any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType, using the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0+func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }- // InviteUsersToOrganizationWithBodyWithResponse performs a POST /api/v1/invite-org/signup (the `InviteUsersToOrganization` operationId) request,- // with any type of body and a specified content type.- //- // Returns a wrapper object for the known response body format(s).- InviteUsersToOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteUsersToOrganizationResponse, error)+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- // InviteUsersToOrganizationWithResponse performs a POST /api/v1/invite-org/signup (the `InviteUsersToOrganization` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- InviteUsersToOrganizationWithResponse(ctx context.Context, body InviteUsersToOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteUsersToOrganizationResponse, error)+// AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 returns the union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType as a DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1+func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1() (DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1, error) {+ var body DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1+ err := json.Unmarshal(t.union, &body)+ return body, err+}- // VerifyUserToOrganizationWithBodyWithResponse performs a POST /api/v1/invite-org/verify (the `VerifyUserToOrganization` operationId) request,- // with any type of body and a specified content type.- //- // Returns a wrapper object for the known response body format(s).- VerifyUserToOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyUserToOrganizationResponse, error)+// FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 overwrites any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType as the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1+func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- // VerifyUserToOrganizationWithResponse performs a POST /api/v1/invite-org/verify (the `VerifyUserToOrganization` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- VerifyUserToOrganizationWithResponse(ctx context.Context, body VerifyUserToOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyUserToOrganizationResponse, error)+// MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 performs a merge with any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType, using the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1+func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }- // GetOrganizationPlanWithResponse performs a GET /api/v1/organizations/{organizationId}/plan (the `GetOrganizationPlan` operationId) request.- //- // Returns a wrapper object for the known response body format(s).- GetOrganizationPlanWithResponse(ctx context.Context, organizationId string, params *GetOrganizationPlanParams, reqEditors ...RequestEditorFn) (*GetOrganizationPlanResponse, error)+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- // CreateProjectWithBodyWithResponse performs a POST /api/v1/projects (the `CreateProject` operationId) request,- // with any type of body and a specified content type.- //- // Create a new project.- //- // Returns a wrapper object for the known response body format(s).- CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)+func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}- // CreateProjectWithResponse performs a POST /api/v1/projects (the `CreateProject` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- //- // Create a new project.- CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)+func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}- // ListProjectMachineIdentitiesWithResponse performs a GET /api/v1/projects/{projectId}/identities (the `ListProjectMachineIdentities` operationId) request.- //- // List identities in a project.- //- // Returns a wrapper object for the known response body format(s).- ListProjectMachineIdentitiesWithResponse(ctx context.Context, projectId string, params *ListProjectMachineIdentitiesParams, reqEditors ...RequestEditorFn) (*ListProjectMachineIdentitiesResponse, error)+// AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 returns the union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType as a DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0+func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0() (DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0, error) {+ var body DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0+ err := json.Unmarshal(t.union, &body)+ return body, err+}- // CreateProjectMachineIdentityWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` operationId) request,- // with any type of body and a specified content type.- //- // Create an identity in a project.- //- // Returns a wrapper object for the known response body format(s).- CreateProjectMachineIdentityWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectMachineIdentityResponse, error)+// FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 overwrites any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType as the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0+func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- // CreateProjectMachineIdentityWithResponse performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` 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 identity in a project.- CreateProjectMachineIdentityWithResponse(ctx context.Context, projectId string, body CreateProjectMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectMachineIdentityResponse, error)+// MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 performs a merge with any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType, using the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0+func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }- // InviteProjectMembersWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request,- // with any type of body and a specified content type.- //- // Invite members to project.- //- // Returns a wrapper object for the known response body format(s).- InviteProjectMembersWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteProjectMembersResponse, error)+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- // InviteProjectMembersWithResponse performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- //- // Invite members to project.- InviteProjectMembersWithResponse(ctx context.Context, projectId string, body InviteProjectMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteProjectMembersResponse, error)+// AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 returns the union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType as a DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1+func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1() (DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1, error) {+ var body DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1+ err := json.Unmarshal(t.union, &body)+ return body, err+}- // CreateProjectIdentityMembershipWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request,- // with any type of body and a specified content type.- //- // Create project identity membership.- //- // Returns a wrapper object for the known response body format(s).- CreateProjectIdentityMembershipWithBodyWithResponse(ctx context.Context, projectId string, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectIdentityMembershipResponse, error)+// FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 overwrites any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType as the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1+func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- // CreateProjectIdentityMembershipWithResponse performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- //- // Create project identity membership.- CreateProjectIdentityMembershipWithResponse(ctx context.Context, projectId string, identityId string, body CreateProjectIdentityMembershipJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectIdentityMembershipResponse, error)+// MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 performs a merge with any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType, using the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1+func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }- // CreateGitHubSecretSyncWithBodyWithResponse performs a POST /api/v1/secret-syncs/github (the `CreateGitHubSecretSync` operationId) request,- // with any type of body and a specified content type.- //- // Create a GitHub Sync for the specified project environment.- //- // Returns a wrapper object for the known response body format(s).- CreateGitHubSecretSyncWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGitHubSecretSyncResponse, error)+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- // CreateGitHubSecretSyncWithResponse performs a POST /api/v1/secret-syncs/github (the `CreateGitHubSecretSync` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- //- // Create a GitHub Sync for the specified project environment.- CreateGitHubSecretSyncWithResponse(ctx context.Context, body CreateGitHubSecretSyncJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGitHubSecretSyncResponse, error)+func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}- // DeleteGitHubSecretSyncWithResponse performs a DELETE /api/v1/secret-syncs/github/{syncId} (the `DeleteGitHubSecretSync` operationId) request.- //- // Delete the specified GitHub Sync.- //- // Returns a wrapper object for the known response body format(s).- DeleteGitHubSecretSyncWithResponse(ctx context.Context, syncId openapi_types.UUID, params *DeleteGitHubSecretSyncParams, reqEditors ...RequestEditorFn) (*DeleteGitHubSecretSyncResponse, error)+func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}- // GetGitHubSecretSyncWithResponse performs a GET /api/v1/secret-syncs/github/{syncId} (the `GetGitHubSecretSync` operationId) request.- //- // Get the specified GitHub Sync by ID.- //- // Returns a wrapper object for the known response body format(s).- GetGitHubSecretSyncWithResponse(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetGitHubSecretSyncResponse, error)+// AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 returns the union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType as a DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0+func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0() (DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0, error) {+ var body DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0+ err := json.Unmarshal(t.union, &body)+ return body, err+}- // RemoveGitHubSecretSyncSecretsWithResponse performs a POST /api/v1/secret-syncs/github/{syncId}/remove-secrets (the `RemoveGitHubSecretSyncSecrets` operationId) request.- //- // Remove previously synced secrets from the specified GitHub Sync destination.- //- // Returns a wrapper object for the known response body format(s).- RemoveGitHubSecretSyncSecretsWithResponse(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveGitHubSecretSyncSecretsResponse, error)+// FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 overwrites any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType as the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0+func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- // SyncGitHubSecretSyncWithResponse performs a POST /api/v1/secret-syncs/github/{syncId}/sync-secrets (the `SyncGitHubSecretSync` operationId) request.- //- // Trigger a sync for the specified GitHub Sync.- //- // Returns a wrapper object for the known response body format(s).- SyncGitHubSecretSyncWithResponse(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*SyncGitHubSecretSyncResponse, error)+// MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 performs a merge with any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType, using the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0+func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }- // CreateOrganizationWithBodyWithResponse performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request,- // with any type of body and a specified content type.- //- // Returns a wrapper object for the known response body format(s).- CreateOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- // CreateOrganizationWithResponse performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- CreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)+// AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 returns the union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType as a DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1+func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1() (DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1, error) {+ var body DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1+ err := json.Unmarshal(t.union, &body)+ return body, err+}- // DeleteOrganizationWithResponse performs a DELETE /api/v2/organizations/{organizationId} (the `DeleteOrganization` operationId) request.- //- // Returns a wrapper object for the known response body format(s).- DeleteOrganizationWithResponse(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationResponse, error)+// FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 overwrites any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType as the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1+func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- // LoginV3WithBodyWithResponse performs a POST /api/v3/auth/login (the `LoginV3` operationId) request,- // with any type of body and a specified content type.- //- // Returns a wrapper object for the known response body format(s).- LoginV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginV3Response, error)+// MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 performs a merge with any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType, using the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1+func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }- // LoginV3WithResponse performs a POST /api/v3/auth/login (the `LoginV3` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- LoginV3WithResponse(ctx context.Context, body LoginV3JSONRequestBody, reqEditors ...RequestEditorFn) (*LoginV3Response, error)+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- // SelectOrganizationV3WithBodyWithResponse performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request,- // with any type of body and a specified content type.- //- // Returns a wrapper object for the known response body format(s).- SelectOrganizationV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectOrganizationV3Response, error)+func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}- // SelectOrganizationV3WithResponse performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- SelectOrganizationV3WithResponse(ctx context.Context, body SelectOrganizationV3JSONRequestBody, reqEditors ...RequestEditorFn) (*SelectOrganizationV3Response, error)+func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}- // CompleteAccountSignupV3WithBodyWithResponse performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request,- // with any type of body and a specified content type.- //- // Returns a wrapper object for the known response body format(s).- CompleteAccountSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CompleteAccountSignupV3Response, error)+// AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection0 returns the union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection as a DeleteGitHubAppConnection200JSONResponseBodyAppConnection0+func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection) AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection0() (DeleteGitHubAppConnection200JSONResponseBodyAppConnection0, error) {+ var body DeleteGitHubAppConnection200JSONResponseBodyAppConnection0+ err := json.Unmarshal(t.union, &body)+ return body, err+}- // CompleteAccountSignupV3WithResponse performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- CompleteAccountSignupV3WithResponse(ctx context.Context, body CompleteAccountSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*CompleteAccountSignupV3Response, error)+// FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection0 overwrites any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection as the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection0+func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection) FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection0(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- // BeginEmailSignupV3WithBodyWithResponse performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request,- // with any type of body and a specified content type.- //- // Returns a wrapper object for the known response body format(s).- BeginEmailSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BeginEmailSignupV3Response, error)+// MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection0 performs a merge with any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection, using the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection0+func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection) MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection0(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }- // BeginEmailSignupV3WithResponse performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- BeginEmailSignupV3WithResponse(ctx context.Context, body BeginEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*BeginEmailSignupV3Response, error)+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- // VerifyEmailSignupV3WithBodyWithResponse performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request,- // with any type of body and a specified content type.- //- // Returns a wrapper object for the known response body format(s).- VerifyEmailSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyEmailSignupV3Response, error)+// AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection1 returns the union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection as a DeleteGitHubAppConnection200JSONResponseBodyAppConnection1+func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection) AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection1() (DeleteGitHubAppConnection200JSONResponseBodyAppConnection1, error) {+ var body DeleteGitHubAppConnection200JSONResponseBodyAppConnection1+ err := json.Unmarshal(t.union, &body)+ return body, err+}- // VerifyEmailSignupV3WithResponse performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- VerifyEmailSignupV3WithResponse(ctx context.Context, body VerifyEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyEmailSignupV3Response, error)+// FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection1 overwrites any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection as the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection1+func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection) FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection1(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- // ListSecretsV4WithResponse performs a GET /api/v4/secrets (the `ListSecretsV4` operationId) request.- //- // List secrets.- //- // Returns a wrapper object for the known response body format(s).- ListSecretsV4WithResponse(ctx context.Context, params *ListSecretsV4Params, reqEditors ...RequestEditorFn) (*ListSecretsV4Response, error)+// MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection1 performs a merge with any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection, using the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection1+func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection) MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection1(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }- // DeleteSecretV4WithBodyWithResponse performs a DELETE /api/v4/secrets/{secretName} (the `DeleteSecretV4` operationId) request,- // with any type of body and a specified content type.- //- // Delete secret.- //- // Returns a wrapper object for the known response body format(s).- DeleteSecretV4WithBodyWithResponse(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteSecretV4Response, error)+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}- // DeleteSecretV4WithResponse performs a DELETE /api/v4/secrets/{secretName} (the `DeleteSecretV4` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- //- // Delete secret.- DeleteSecretV4WithResponse(ctx context.Context, secretName string, body DeleteSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteSecretV4Response, error)+// AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection2 returns the union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection as a DeleteGitHubAppConnection200JSONResponseBodyAppConnection2+func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection) AsDeleteGitHubAppConnection200JSONResponseBodyAppConnection2() (DeleteGitHubAppConnection200JSONResponseBodyAppConnection2, error) {+ var body DeleteGitHubAppConnection200JSONResponseBodyAppConnection2+ err := json.Unmarshal(t.union, &body)+ return body, err+}- // GetSecretByNameV4WithResponse performs a GET /api/v4/secrets/{secretName} (the `GetSecretByNameV4` operationId) request.- //- // Get a secret by name.- //- // Returns a wrapper object for the known response body format(s).- GetSecretByNameV4WithResponse(ctx context.Context, secretName string, params *GetSecretByNameV4Params, reqEditors ...RequestEditorFn) (*GetSecretByNameV4Response, error)+// FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection2 overwrites any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection as the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection2+func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection) FromDeleteGitHubAppConnection200JSONResponseBodyAppConnection2(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection2) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- // CreateSecretV4WithBodyWithResponse performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request,- // with any type of body and a specified content type.- //- // Create secret.- //- // Returns a wrapper object for the known response body format(s).- CreateSecretV4WithBodyWithResponse(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretV4Response, error)+// MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection2 performs a merge with any union data inside the DeleteGitHubAppConnection200JSONResponseBody_AppConnection, using the provided DeleteGitHubAppConnection200JSONResponseBodyAppConnection2+func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection) MergeDeleteGitHubAppConnection200JSONResponseBodyAppConnection2(v DeleteGitHubAppConnection200JSONResponseBodyAppConnection2) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }- // CreateSecretV4WithResponse performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- //- // Create secret.- CreateSecretV4WithResponse(ctx context.Context, secretName string, body CreateSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretV4Response, error)+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-type GetInstanceStatusResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- AuditLogStorageDisabled *bool `json:"auditLogStorageDisabled,omitempty"`- Date time.Time `json:"date"`- EmailConfigured *bool `json:"emailConfigured,omitempty"`- InviteOnlySignup *bool `json:"inviteOnlySignup,omitempty"`- MaxIdentityAccessTokenTTL *float32 `json:"maxIdentityAccessTokenTTL,omitempty"`- Message *string `json:"message,omitempty"`- RedisConfigured *bool `json:"redisConfigured,omitempty"`- SamlDefaultOrgSlug *string `json:"samlDefaultOrgSlug,omitempty"`- SecretScanningConfigured *bool `json:"secretScanningConfigured,omitempty"`- }- // 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 GetInstanceStatus400JSONResponseBodyStatusCode `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 GetInstanceStatus401JSONResponseBodyStatusCode `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 GetInstanceStatus403JSONResponseBodyStatusCode `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 GetInstanceStatus404JSONResponseBodyStatusCode `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 GetInstanceStatus422JSONResponseBodyStatusCode `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 GetInstanceStatus500JSONResponseBodyStatusCode `json:"statusCode"`- }+func (t DeleteGitHubAppConnection200JSONResponseBody_AppConnection) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r GetInstanceStatusResponse) GetJSON200() *struct {- AuditLogStorageDisabled *bool `json:"auditLogStorageDisabled,omitempty"`- Date time.Time `json:"date"`- EmailConfigured *bool `json:"emailConfigured,omitempty"`- InviteOnlySignup *bool `json:"inviteOnlySignup,omitempty"`- MaxIdentityAccessTokenTTL *float32 `json:"maxIdentityAccessTokenTTL,omitempty"`- Message *string `json:"message,omitempty"`- RedisConfigured *bool `json:"redisConfigured,omitempty"`- SamlDefaultOrgSlug *string `json:"samlDefaultOrgSlug,omitempty"`- SecretScanningConfigured *bool `json:"secretScanningConfigured,omitempty"`-} {- return r.JSON200+func (t *DeleteGitHubAppConnection200JSONResponseBody_AppConnection) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r GetInstanceStatusResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetInstanceStatus400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+// AsUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor00 returns the union data inside the UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0 as a UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor00+func (t UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0) AsUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor00() (UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor00, error) {+ var body UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor00+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r GetInstanceStatusResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetInstanceStatus401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+// FromUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor00 overwrites any union data inside the UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0 as the provided UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor00+func (t *UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0) FromUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor00(v UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor00) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r GetInstanceStatusResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetInstanceStatus403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+// MergeUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor00 performs a merge with any union data inside the UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0, using the provided UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor00+func (t *UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0) MergeUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor00(v UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor00) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r GetInstanceStatusResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetInstanceStatus404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404+// AsUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor01 returns the union data inside the UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0 as a UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor01+func (t UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0) AsUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor01() (UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor01, error) {+ var body UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor01+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r GetInstanceStatusResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode GetInstanceStatus422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+// FromUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor01 overwrites any union data inside the UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0 as the provided UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor01+func (t *UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0) FromUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor01(v UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor01) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r GetInstanceStatusResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetInstanceStatus500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+// MergeUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor01 performs a merge with any union data inside the UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0, using the provided UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor01+func (t *UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0) MergeUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor01(v UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor01) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetBody returns the raw response body bytes-func (r GetInstanceStatusResponse) GetBody() []byte {- return r.Body+func (t UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// Status returns HTTPResponse.Status-func (r GetInstanceStatusResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status+func (t *UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}++// AsUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0 returns the union data inside the UpdateOrganizationJSONBody_SecretShareBrandConfig_PrimaryColor as a UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0+func (t UpdateOrganizationJSONBody_SecretShareBrandConfig_PrimaryColor) AsUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0() (UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0, error) {+ var body UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0 overwrites any union data inside the UpdateOrganizationJSONBody_SecretShareBrandConfig_PrimaryColor as the provided UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0+func (t *UpdateOrganizationJSONBody_SecretShareBrandConfig_PrimaryColor) FromUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0(v UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0 performs a merge with any union data inside the UpdateOrganizationJSONBody_SecretShareBrandConfig_PrimaryColor, using the provided UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0+func (t *UpdateOrganizationJSONBody_SecretShareBrandConfig_PrimaryColor) MergeUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0(v UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return http.StatusText(0)++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// StatusCode returns HTTPResponse.StatusCode-func (r GetInstanceStatusResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode+// AsUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor1 returns the union data inside the UpdateOrganizationJSONBody_SecretShareBrandConfig_PrimaryColor as a UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor1+func (t UpdateOrganizationJSONBody_SecretShareBrandConfig_PrimaryColor) AsUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor1() (UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor1, error) {+ var body UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor1 overwrites any union data inside the UpdateOrganizationJSONBody_SecretShareBrandConfig_PrimaryColor as the provided UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor1+func (t *UpdateOrganizationJSONBody_SecretShareBrandConfig_PrimaryColor) FromUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor1(v UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor1 performs a merge with any union data inside the UpdateOrganizationJSONBody_SecretShareBrandConfig_PrimaryColor, using the provided UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor1+func (t *UpdateOrganizationJSONBody_SecretShareBrandConfig_PrimaryColor) MergeUpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor1(v UpdateOrganizationJSONBodySecretShareBrandConfigPrimaryColor1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return 0++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r GetInstanceStatusResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")+func (t UpdateOrganizationJSONBody_SecretShareBrandConfig_PrimaryColor) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}++func (t *UpdateOrganizationJSONBody_SecretShareBrandConfig_PrimaryColor) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}++// AsUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor00 returns the union data inside the UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0 as a UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor00+func (t UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0) AsUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor00() (UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor00, error) {+ var body UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor00+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor00 overwrites any union data inside the UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0 as the provided UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor00+func (t *UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0) FromUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor00(v UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor00) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor00 performs a merge with any union data inside the UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0, using the provided UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor00+func (t *UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0) MergeUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor00(v UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor00) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return ""++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-type AdminBootstrapResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- Identity struct {- Credentials struct {- Token string `json:"token"`- } `json:"credentials"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- } `json:"identity"`- Message string `json:"message"`- Organization struct {- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"organization"`- User struct {- Email *string `json:"email,omitempty"`- FirstName *string `json:"firstName,omitempty"`- Id openapi_types.UUID `json:"id"`- LastName *string `json:"lastName,omitempty"`- SuperAdmin *bool `json:"superAdmin,omitempty"`- Username string `json:"username"`- } `json:"user"`- }- // 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 AdminBootstrap400JSONResponseBodyStatusCode `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 AdminBootstrap401JSONResponseBodyStatusCode `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 AdminBootstrap403JSONResponseBodyStatusCode `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 AdminBootstrap404JSONResponseBodyStatusCode `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 AdminBootstrap422JSONResponseBodyStatusCode `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 AdminBootstrap500JSONResponseBodyStatusCode `json:"statusCode"`- }+// AsUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor01 returns the union data inside the UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0 as a UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor01+func (t UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0) AsUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor01() (UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor01, error) {+ var body UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor01+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r AdminBootstrapResponse) GetJSON200() *struct {- Identity struct {- Credentials struct {- Token string `json:"token"`- } `json:"credentials"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- } `json:"identity"`- Message string `json:"message"`- Organization struct {- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"organization"`- User struct {- Email *string `json:"email,omitempty"`- FirstName *string `json:"firstName,omitempty"`- Id openapi_types.UUID `json:"id"`- LastName *string `json:"lastName,omitempty"`- SuperAdmin *bool `json:"superAdmin,omitempty"`- Username string `json:"username"`- } `json:"user"`-} {- return r.JSON200+// FromUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor01 overwrites any union data inside the UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0 as the provided UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor01+func (t *UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0) FromUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor01(v UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor01) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r AdminBootstrapResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+// MergeUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor01 performs a merge with any union data inside the UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0, using the provided UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor01+func (t *UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0) MergeUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor01(v UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor01) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r AdminBootstrapResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+func (t UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r AdminBootstrapResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+func (t *UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r AdminBootstrapResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404+// AsUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0 returns the union data inside the UpdateOrganizationJSONBody_SecretShareBrandConfig_SecondaryColor as a UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0+func (t UpdateOrganizationJSONBody_SecretShareBrandConfig_SecondaryColor) AsUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0() (UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0, error) {+ var body UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r AdminBootstrapResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+// FromUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0 overwrites any union data inside the UpdateOrganizationJSONBody_SecretShareBrandConfig_SecondaryColor as the provided UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0+func (t *UpdateOrganizationJSONBody_SecretShareBrandConfig_SecondaryColor) FromUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0(v UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r AdminBootstrapResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+// MergeUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0 performs a merge with any union data inside the UpdateOrganizationJSONBody_SecretShareBrandConfig_SecondaryColor, using the provided UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0+func (t *UpdateOrganizationJSONBody_SecretShareBrandConfig_SecondaryColor) MergeUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0(v UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetBody returns the raw response body bytes-func (r AdminBootstrapResponse) GetBody() []byte {- return r.Body+// AsUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor1 returns the union data inside the UpdateOrganizationJSONBody_SecretShareBrandConfig_SecondaryColor as a UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor1+func (t UpdateOrganizationJSONBody_SecretShareBrandConfig_SecondaryColor) AsUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor1() (UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor1, error) {+ var body UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor1+ err := json.Unmarshal(t.union, &body)+ return body, err}-// Status returns HTTPResponse.Status-func (r AdminBootstrapResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status+// FromUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor1 overwrites any union data inside the UpdateOrganizationJSONBody_SecretShareBrandConfig_SecondaryColor as the provided UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor1+func (t *UpdateOrganizationJSONBody_SecretShareBrandConfig_SecondaryColor) FromUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor1(v UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor1 performs a merge with any union data inside the UpdateOrganizationJSONBody_SecretShareBrandConfig_SecondaryColor, using the provided UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor1+func (t *UpdateOrganizationJSONBody_SecretShareBrandConfig_SecondaryColor) MergeUpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor1(v UpdateOrganizationJSONBodySecretShareBrandConfigSecondaryColor1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return http.StatusText(0)++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// StatusCode returns HTTPResponse.StatusCode-func (r AdminBootstrapResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode+func (t UpdateOrganizationJSONBody_SecretShareBrandConfig_SecondaryColor) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}++func (t *UpdateOrganizationJSONBody_SecretShareBrandConfig_SecondaryColor) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}++// AsCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0 returns the union data inside the CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy as a CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0+func (t CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy) AsCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0() (CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0, error) {+ var body CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0 overwrites any union data inside the CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy as the provided CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0+func (t *CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy) FromCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0(v CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0 performs a merge with any union data inside the CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy, using the provided CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0+func (t *CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy) MergeCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0(v CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return 0++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r AdminBootstrapResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")+// AsCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1 returns the union data inside the CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy as a CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1+func (t CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy) AsCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1() (CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1, error) {+ var body CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1 overwrites any union data inside the CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy as the provided CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1+func (t *CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy) FromCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1(v CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1 performs a merge with any union data inside the CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy, using the provided CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1+func (t *CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy) MergeCreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1(v CreateProject200JSONResponseBodyProjectDeletedEnvironmentsDeletedBy1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return ""++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-type UpdateAdminConfigResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- Config struct {- AdminIdentityIds *[]string `json:"adminIdentityIds,omitempty"`- AllowSignUp *bool `json:"allowSignUp,omitempty"`- AllowedSignUpDomain *string `json:"allowedSignUpDomain,omitempty"`- AuthConsentContent *string `json:"authConsentContent,omitempty"`- CreatedAt *time.Time `json:"createdAt,omitempty"`- DefaultAuthOrgAuthEnforced *bool `json:"defaultAuthOrgAuthEnforced,omitempty"`- DefaultAuthOrgAuthMethod *string `json:"defaultAuthOrgAuthMethod,omitempty"`- DefaultAuthOrgId *openapi_types.UUID `json:"defaultAuthOrgId,omitempty"`- DefaultAuthOrgSlug *string `json:"defaultAuthOrgSlug"`- EnabledLoginMethods *[]string `json:"enabledLoginMethods,omitempty"`- FipsEnabled *bool `json:"fipsEnabled,omitempty"`- Id openapi_types.UUID `json:"id"`- Initialized *bool `json:"initialized,omitempty"`- InstanceId *openapi_types.UUID `json:"instanceId,omitempty"`- IsClickhouseAuditLogEnabled *bool `json:"isClickhouseAuditLogEnabled,omitempty"`- IsMigrationModeOn *bool `json:"isMigrationModeOn,omitempty"`- IsOfflineUsageReportsEnabled *bool `json:"isOfflineUsageReportsEnabled,omitempty"`- IsPublicSecretSharingDisabled *bool `json:"isPublicSecretSharingDisabled,omitempty"`- IsSecretScanningDisabled *bool `json:"isSecretScanningDisabled,omitempty"`- KubernetesAutoFetchServiceAccountToken *bool `json:"kubernetesAutoFetchServiceAccountToken,omitempty"`- LatestAvailableVersion *string `json:"latestAvailableVersion,omitempty"`- OnboardingCompleted *bool `json:"onboardingCompleted,omitempty"`- PageFrameContent *string `json:"pageFrameContent,omitempty"`- ParamsFolderSecretDetectionEnabled *bool `json:"paramsFolderSecretDetectionEnabled,omitempty"`- PasswordPolicy struct {- Requirements []struct {- Code string `json:"code"`- Flags *string `json:"flags,omitempty"`- IsPrimary bool `json:"isPrimary"`- MaxConsecutiveCharacters *int `json:"maxConsecutiveCharacters,omitempty"`- Message string `json:"message"`- Patterns []string `json:"patterns"`- ShouldMatch bool `json:"shouldMatch"`- ValidationMessage string `json:"validationMessage"`- } `json:"requirements"`- } `json:"passwordPolicy"`- TrustLdapEmails *bool `json:"trustLdapEmails,omitempty"`- } `json:"config"`- }- // 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 UpdateAdminConfig400JSONResponseBodyStatusCode `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 UpdateAdminConfig401JSONResponseBodyStatusCode `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 UpdateAdminConfig403JSONResponseBodyStatusCode `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 UpdateAdminConfig404JSONResponseBodyStatusCode `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 UpdateAdminConfig422JSONResponseBodyStatusCode `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 UpdateAdminConfig500JSONResponseBodyStatusCode `json:"statusCode"`- }-}--// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r UpdateAdminConfigResponse) GetJSON200() *struct {- Config struct {- AdminIdentityIds *[]string `json:"adminIdentityIds,omitempty"`- AllowSignUp *bool `json:"allowSignUp,omitempty"`- AllowedSignUpDomain *string `json:"allowedSignUpDomain,omitempty"`- AuthConsentContent *string `json:"authConsentContent,omitempty"`- CreatedAt *time.Time `json:"createdAt,omitempty"`- DefaultAuthOrgAuthEnforced *bool `json:"defaultAuthOrgAuthEnforced,omitempty"`- DefaultAuthOrgAuthMethod *string `json:"defaultAuthOrgAuthMethod,omitempty"`- DefaultAuthOrgId *openapi_types.UUID `json:"defaultAuthOrgId,omitempty"`- DefaultAuthOrgSlug *string `json:"defaultAuthOrgSlug"`- EnabledLoginMethods *[]string `json:"enabledLoginMethods,omitempty"`- FipsEnabled *bool `json:"fipsEnabled,omitempty"`- Id openapi_types.UUID `json:"id"`- Initialized *bool `json:"initialized,omitempty"`- InstanceId *openapi_types.UUID `json:"instanceId,omitempty"`- IsClickhouseAuditLogEnabled *bool `json:"isClickhouseAuditLogEnabled,omitempty"`- IsMigrationModeOn *bool `json:"isMigrationModeOn,omitempty"`- IsOfflineUsageReportsEnabled *bool `json:"isOfflineUsageReportsEnabled,omitempty"`- IsPublicSecretSharingDisabled *bool `json:"isPublicSecretSharingDisabled,omitempty"`- IsSecretScanningDisabled *bool `json:"isSecretScanningDisabled,omitempty"`- KubernetesAutoFetchServiceAccountToken *bool `json:"kubernetesAutoFetchServiceAccountToken,omitempty"`- LatestAvailableVersion *string `json:"latestAvailableVersion,omitempty"`- OnboardingCompleted *bool `json:"onboardingCompleted,omitempty"`- PageFrameContent *string `json:"pageFrameContent,omitempty"`- ParamsFolderSecretDetectionEnabled *bool `json:"paramsFolderSecretDetectionEnabled,omitempty"`- PasswordPolicy struct {- Requirements []struct {- Code string `json:"code"`- Flags *string `json:"flags,omitempty"`- IsPrimary bool `json:"isPrimary"`- MaxConsecutiveCharacters *int `json:"maxConsecutiveCharacters,omitempty"`- Message string `json:"message"`- Patterns []string `json:"patterns"`- ShouldMatch bool `json:"shouldMatch"`- ValidationMessage string `json:"validationMessage"`- } `json:"requirements"`- } `json:"passwordPolicy"`- TrustLdapEmails *bool `json:"trustLdapEmails,omitempty"`- } `json:"config"`-} {- return r.JSON200+func (t CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r UpdateAdminConfigResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+func (t *CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r UpdateAdminConfigResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+// AsCreateProjectMachineIdentityJSONBodyRoles0 returns the union data inside the CreateProjectMachineIdentityJSONBody_Roles_Item as a CreateProjectMachineIdentityJSONBodyRoles0+func (t CreateProjectMachineIdentityJSONBody_Roles_Item) AsCreateProjectMachineIdentityJSONBodyRoles0() (CreateProjectMachineIdentityJSONBodyRoles0, error) {+ var body CreateProjectMachineIdentityJSONBodyRoles0+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r UpdateAdminConfigResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+// FromCreateProjectMachineIdentityJSONBodyRoles0 overwrites any union data inside the CreateProjectMachineIdentityJSONBody_Roles_Item as the provided CreateProjectMachineIdentityJSONBodyRoles0+func (t *CreateProjectMachineIdentityJSONBody_Roles_Item) FromCreateProjectMachineIdentityJSONBodyRoles0(v CreateProjectMachineIdentityJSONBodyRoles0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r UpdateAdminConfigResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404-}+// MergeCreateProjectMachineIdentityJSONBodyRoles0 performs a merge with any union data inside the CreateProjectMachineIdentityJSONBody_Roles_Item, using the provided CreateProjectMachineIdentityJSONBodyRoles0+func (t *CreateProjectMachineIdentityJSONBody_Roles_Item) MergeCreateProjectMachineIdentityJSONBodyRoles0(v CreateProjectMachineIdentityJSONBodyRoles0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r UpdateAdminConfigResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r UpdateAdminConfigResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+// AsCreateProjectMachineIdentityJSONBodyRoles1 returns the union data inside the CreateProjectMachineIdentityJSONBody_Roles_Item as a CreateProjectMachineIdentityJSONBodyRoles1+func (t CreateProjectMachineIdentityJSONBody_Roles_Item) AsCreateProjectMachineIdentityJSONBodyRoles1() (CreateProjectMachineIdentityJSONBodyRoles1, error) {+ var body CreateProjectMachineIdentityJSONBodyRoles1+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetBody returns the raw response body bytes-func (r UpdateAdminConfigResponse) GetBody() []byte {- return r.Body+// FromCreateProjectMachineIdentityJSONBodyRoles1 overwrites any union data inside the CreateProjectMachineIdentityJSONBody_Roles_Item as the provided CreateProjectMachineIdentityJSONBodyRoles1+func (t *CreateProjectMachineIdentityJSONBody_Roles_Item) FromCreateProjectMachineIdentityJSONBodyRoles1(v CreateProjectMachineIdentityJSONBodyRoles1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// Status returns HTTPResponse.Status-func (r UpdateAdminConfigResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status+// MergeCreateProjectMachineIdentityJSONBodyRoles1 performs a merge with any union data inside the CreateProjectMachineIdentityJSONBody_Roles_Item, using the provided CreateProjectMachineIdentityJSONBodyRoles1+func (t *CreateProjectMachineIdentityJSONBody_Roles_Item) MergeCreateProjectMachineIdentityJSONBodyRoles1(v CreateProjectMachineIdentityJSONBodyRoles1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return http.StatusText(0)++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// StatusCode returns HTTPResponse.StatusCode-func (r UpdateAdminConfigResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode- }- return 0+func (t CreateProjectMachineIdentityJSONBody_Roles_Item) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r UpdateAdminConfigResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")- }- return ""+func (t *CreateProjectMachineIdentityJSONBody_Roles_Item) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err}-type CreateGitHubAppConnectionResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- AppConnection CreateGitHubAppConnection200JSONResponseBody_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 CreateGitHubAppConnection400JSONResponseBodyStatusCode `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 CreateGitHubAppConnection401JSONResponseBodyStatusCode `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 CreateGitHubAppConnection403JSONResponseBodyStatusCode `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 CreateGitHubAppConnection404JSONResponseBodyStatusCode `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 CreateGitHubAppConnection422JSONResponseBodyStatusCode `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 CreateGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`- }+// AsCreateProjectIdentityMembershipJSONBodyRoles0 returns the union data inside the CreateProjectIdentityMembershipJSONBody_Roles_Item as a CreateProjectIdentityMembershipJSONBodyRoles0+func (t CreateProjectIdentityMembershipJSONBody_Roles_Item) AsCreateProjectIdentityMembershipJSONBodyRoles0() (CreateProjectIdentityMembershipJSONBodyRoles0, error) {+ var body CreateProjectIdentityMembershipJSONBodyRoles0+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r CreateGitHubAppConnectionResponse) GetJSON200() *struct {- AppConnection CreateGitHubAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`-} {- return r.JSON200+// FromCreateProjectIdentityMembershipJSONBodyRoles0 overwrites any union data inside the CreateProjectIdentityMembershipJSONBody_Roles_Item as the provided CreateProjectIdentityMembershipJSONBodyRoles0+func (t *CreateProjectIdentityMembershipJSONBody_Roles_Item) FromCreateProjectIdentityMembershipJSONBodyRoles0(v CreateProjectIdentityMembershipJSONBodyRoles0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r CreateGitHubAppConnectionResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+// MergeCreateProjectIdentityMembershipJSONBodyRoles0 performs a merge with any union data inside the CreateProjectIdentityMembershipJSONBody_Roles_Item, using the provided CreateProjectIdentityMembershipJSONBodyRoles0+func (t *CreateProjectIdentityMembershipJSONBody_Roles_Item) MergeCreateProjectIdentityMembershipJSONBodyRoles0(v CreateProjectIdentityMembershipJSONBodyRoles0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r CreateGitHubAppConnectionResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+// AsCreateProjectIdentityMembershipJSONBodyRoles1 returns the union data inside the CreateProjectIdentityMembershipJSONBody_Roles_Item as a CreateProjectIdentityMembershipJSONBodyRoles1+func (t CreateProjectIdentityMembershipJSONBody_Roles_Item) AsCreateProjectIdentityMembershipJSONBodyRoles1() (CreateProjectIdentityMembershipJSONBodyRoles1, error) {+ var body CreateProjectIdentityMembershipJSONBodyRoles1+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r CreateGitHubAppConnectionResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+// FromCreateProjectIdentityMembershipJSONBodyRoles1 overwrites any union data inside the CreateProjectIdentityMembershipJSONBody_Roles_Item as the provided CreateProjectIdentityMembershipJSONBodyRoles1+func (t *CreateProjectIdentityMembershipJSONBody_Roles_Item) FromCreateProjectIdentityMembershipJSONBodyRoles1(v CreateProjectIdentityMembershipJSONBodyRoles1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r CreateGitHubAppConnectionResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404+// MergeCreateProjectIdentityMembershipJSONBodyRoles1 performs a merge with any union data inside the CreateProjectIdentityMembershipJSONBody_Roles_Item, using the provided CreateProjectIdentityMembershipJSONBodyRoles1+func (t *CreateProjectIdentityMembershipJSONBody_Roles_Item) MergeCreateProjectIdentityMembershipJSONBodyRoles1(v CreateProjectIdentityMembershipJSONBodyRoles1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r CreateGitHubAppConnectionResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+func (t CreateProjectIdentityMembershipJSONBody_Roles_Item) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r CreateGitHubAppConnectionResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+func (t *CreateProjectIdentityMembershipJSONBody_Roles_Item) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err}-// GetBody returns the raw response body bytes-func (r CreateGitHubAppConnectionResponse) GetBody() []byte {- return r.Body+// AsCreateIdentityFolderAccessJSONBodyType0 returns the union data inside the CreateIdentityFolderAccessJSONBody_Type as a CreateIdentityFolderAccessJSONBodyType0+func (t CreateIdentityFolderAccessJSONBody_Type) AsCreateIdentityFolderAccessJSONBodyType0() (CreateIdentityFolderAccessJSONBodyType0, error) {+ var body CreateIdentityFolderAccessJSONBodyType0+ err := json.Unmarshal(t.union, &body)+ return body, err}-// Status returns HTTPResponse.Status-func (r CreateGitHubAppConnectionResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status- }- return http.StatusText(0)+// FromCreateIdentityFolderAccessJSONBodyType0 overwrites any union data inside the CreateIdentityFolderAccessJSONBody_Type as the provided CreateIdentityFolderAccessJSONBodyType0+func (t *CreateIdentityFolderAccessJSONBody_Type) FromCreateIdentityFolderAccessJSONBodyType0(v CreateIdentityFolderAccessJSONBodyType0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// StatusCode returns HTTPResponse.StatusCode-func (r CreateGitHubAppConnectionResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode+// MergeCreateIdentityFolderAccessJSONBodyType0 performs a merge with any union data inside the CreateIdentityFolderAccessJSONBody_Type, using the provided CreateIdentityFolderAccessJSONBodyType0+func (t *CreateIdentityFolderAccessJSONBody_Type) MergeCreateIdentityFolderAccessJSONBodyType0(v CreateIdentityFolderAccessJSONBodyType0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return 0++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r CreateGitHubAppConnectionResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")- }- return ""+// AsCreateIdentityFolderAccessJSONBodyType1 returns the union data inside the CreateIdentityFolderAccessJSONBody_Type as a CreateIdentityFolderAccessJSONBodyType1+func (t CreateIdentityFolderAccessJSONBody_Type) AsCreateIdentityFolderAccessJSONBodyType1() (CreateIdentityFolderAccessJSONBodyType1, error) {+ var body CreateIdentityFolderAccessJSONBodyType1+ err := json.Unmarshal(t.union, &body)+ return body, err}-type DeleteGitHubAppConnectionResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- AppConnection DeleteGitHubAppConnection200JSONResponseBody_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 DeleteGitHubAppConnection400JSONResponseBodyStatusCode `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 DeleteGitHubAppConnection401JSONResponseBodyStatusCode `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 DeleteGitHubAppConnection403JSONResponseBodyStatusCode `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 DeleteGitHubAppConnection404JSONResponseBodyStatusCode `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 DeleteGitHubAppConnection422JSONResponseBodyStatusCode `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 DeleteGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+// FromCreateIdentityFolderAccessJSONBodyType1 overwrites any union data inside the CreateIdentityFolderAccessJSONBody_Type as the provided CreateIdentityFolderAccessJSONBodyType1+func (t *CreateIdentityFolderAccessJSONBody_Type) FromCreateIdentityFolderAccessJSONBodyType1(v CreateIdentityFolderAccessJSONBodyType1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateIdentityFolderAccessJSONBodyType1 performs a merge with any union data inside the CreateIdentityFolderAccessJSONBody_Type, using the provided CreateIdentityFolderAccessJSONBodyType1+func (t *CreateIdentityFolderAccessJSONBody_Type) MergeCreateIdentityFolderAccessJSONBodyType1(v CreateIdentityFolderAccessJSONBodyType1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r DeleteGitHubAppConnectionResponse) GetJSON200() *struct {- AppConnection DeleteGitHubAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`-} {- return r.JSON200+func (t CreateIdentityFolderAccessJSONBody_Type) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r DeleteGitHubAppConnectionResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+func (t *CreateIdentityFolderAccessJSONBody_Type) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r DeleteGitHubAppConnectionResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+// AsCreateGitHubSecretSyncJSONBodyDestinationConfig0 returns the union data inside the CreateGitHubSecretSyncJSONBody_DestinationConfig as a CreateGitHubSecretSyncJSONBodyDestinationConfig0+func (t CreateGitHubSecretSyncJSONBody_DestinationConfig) AsCreateGitHubSecretSyncJSONBodyDestinationConfig0() (CreateGitHubSecretSyncJSONBodyDestinationConfig0, error) {+ var body CreateGitHubSecretSyncJSONBodyDestinationConfig0+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r DeleteGitHubAppConnectionResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+// FromCreateGitHubSecretSyncJSONBodyDestinationConfig0 overwrites any union data inside the CreateGitHubSecretSyncJSONBody_DestinationConfig as the provided CreateGitHubSecretSyncJSONBodyDestinationConfig0+func (t *CreateGitHubSecretSyncJSONBody_DestinationConfig) FromCreateGitHubSecretSyncJSONBodyDestinationConfig0(v CreateGitHubSecretSyncJSONBodyDestinationConfig0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r DeleteGitHubAppConnectionResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404-}+// MergeCreateGitHubSecretSyncJSONBodyDestinationConfig0 performs a merge with any union data inside the CreateGitHubSecretSyncJSONBody_DestinationConfig, using the provided CreateGitHubSecretSyncJSONBodyDestinationConfig0+func (t *CreateGitHubSecretSyncJSONBody_DestinationConfig) MergeCreateGitHubSecretSyncJSONBodyDestinationConfig0(v CreateGitHubSecretSyncJSONBodyDestinationConfig0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r DeleteGitHubAppConnectionResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r DeleteGitHubAppConnectionResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+// AsCreateGitHubSecretSyncJSONBodyDestinationConfig1 returns the union data inside the CreateGitHubSecretSyncJSONBody_DestinationConfig as a CreateGitHubSecretSyncJSONBodyDestinationConfig1+func (t CreateGitHubSecretSyncJSONBody_DestinationConfig) AsCreateGitHubSecretSyncJSONBodyDestinationConfig1() (CreateGitHubSecretSyncJSONBodyDestinationConfig1, error) {+ var body CreateGitHubSecretSyncJSONBodyDestinationConfig1+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetBody returns the raw response body bytes-func (r DeleteGitHubAppConnectionResponse) GetBody() []byte {- return r.Body+// FromCreateGitHubSecretSyncJSONBodyDestinationConfig1 overwrites any union data inside the CreateGitHubSecretSyncJSONBody_DestinationConfig as the provided CreateGitHubSecretSyncJSONBodyDestinationConfig1+func (t *CreateGitHubSecretSyncJSONBody_DestinationConfig) FromCreateGitHubSecretSyncJSONBodyDestinationConfig1(v CreateGitHubSecretSyncJSONBodyDestinationConfig1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// Status returns HTTPResponse.Status-func (r DeleteGitHubAppConnectionResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status+// MergeCreateGitHubSecretSyncJSONBodyDestinationConfig1 performs a merge with any union data inside the CreateGitHubSecretSyncJSONBody_DestinationConfig, using the provided CreateGitHubSecretSyncJSONBodyDestinationConfig1+func (t *CreateGitHubSecretSyncJSONBody_DestinationConfig) MergeCreateGitHubSecretSyncJSONBodyDestinationConfig1(v CreateGitHubSecretSyncJSONBodyDestinationConfig1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return http.StatusText(0)++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// StatusCode returns HTTPResponse.StatusCode-func (r DeleteGitHubAppConnectionResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode- }- return 0+// AsCreateGitHubSecretSyncJSONBodyDestinationConfig2 returns the union data inside the CreateGitHubSecretSyncJSONBody_DestinationConfig as a CreateGitHubSecretSyncJSONBodyDestinationConfig2+func (t CreateGitHubSecretSyncJSONBody_DestinationConfig) AsCreateGitHubSecretSyncJSONBodyDestinationConfig2() (CreateGitHubSecretSyncJSONBodyDestinationConfig2, error) {+ var body CreateGitHubSecretSyncJSONBodyDestinationConfig2+ err := json.Unmarshal(t.union, &body)+ return body, err}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r DeleteGitHubAppConnectionResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")- }- return ""+// FromCreateGitHubSecretSyncJSONBodyDestinationConfig2 overwrites any union data inside the CreateGitHubSecretSyncJSONBody_DestinationConfig as the provided CreateGitHubSecretSyncJSONBodyDestinationConfig2+func (t *CreateGitHubSecretSyncJSONBody_DestinationConfig) FromCreateGitHubSecretSyncJSONBodyDestinationConfig2(v CreateGitHubSecretSyncJSONBodyDestinationConfig2) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-type RefreshAuthTokenResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- OrganizationId *string `json:"organizationId,omitempty"`- RefreshToken *string `json:"refreshToken,omitempty"`- SubOrganizationId *string `json:"subOrganizationId,omitempty"`- Token string `json:"token"`- }- // 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 RefreshAuthToken400JSONResponseBodyStatusCode `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 RefreshAuthToken401JSONResponseBodyStatusCode `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 RefreshAuthToken403JSONResponseBodyStatusCode `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 RefreshAuthToken404JSONResponseBodyStatusCode `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 RefreshAuthToken422JSONResponseBodyStatusCode `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 RefreshAuthToken500JSONResponseBodyStatusCode `json:"statusCode"`+// MergeCreateGitHubSecretSyncJSONBodyDestinationConfig2 performs a merge with any union data inside the CreateGitHubSecretSyncJSONBody_DestinationConfig, using the provided CreateGitHubSecretSyncJSONBodyDestinationConfig2+func (t *CreateGitHubSecretSyncJSONBody_DestinationConfig) MergeCreateGitHubSecretSyncJSONBodyDestinationConfig2(v CreateGitHubSecretSyncJSONBodyDestinationConfig2) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}-}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r RefreshAuthTokenResponse) GetJSON200() *struct {- OrganizationId *string `json:"organizationId,omitempty"`- RefreshToken *string `json:"refreshToken,omitempty"`- SubOrganizationId *string `json:"subOrganizationId,omitempty"`- Token string `json:"token"`-} {- return r.JSON200+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r RefreshAuthTokenResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+func (t CreateGitHubSecretSyncJSONBody_DestinationConfig) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r RefreshAuthTokenResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+func (t *CreateGitHubSecretSyncJSONBody_DestinationConfig) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r RefreshAuthTokenResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+// AsCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 returns the union data inside the CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0+func (t CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0() (CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0, error) {+ var body CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r RefreshAuthTokenResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404+// FromCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 overwrites any union data inside the CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0+func (t *CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0(v CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r RefreshAuthTokenResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422-}+// MergeCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 performs a merge with any union data inside the CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0+func (t *CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0(v CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r RefreshAuthTokenResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetBody returns the raw response body bytes-func (r RefreshAuthTokenResponse) GetBody() []byte {- return r.Body+// AsCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 returns the union data inside the CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1+func (t CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1() (CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1, error) {+ var body CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1+ err := json.Unmarshal(t.union, &body)+ return body, err}-// Status returns HTTPResponse.Status-func (r RefreshAuthTokenResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status- }- return http.StatusText(0)+// FromCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 overwrites any union data inside the CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1+func (t *CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1(v CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// StatusCode returns HTTPResponse.StatusCode-func (r RefreshAuthTokenResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode+// MergeCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 performs a merge with any union data inside the CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1+func (t *CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1(v CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return 0++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r RefreshAuthTokenResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")- }- return ""+// AsCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 returns the union data inside the CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2+func (t CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2() (CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2, error) {+ var body CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2+ err := json.Unmarshal(t.union, &body)+ return body, err}-type AttachUniversalAuthResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- IdentityUniversalAuth struct {- AccessTokenMaxTTL *float32 `json:"accessTokenMaxTTL,omitempty"`- AccessTokenNumUsesLimit *float32 `json:"accessTokenNumUsesLimit,omitempty"`- AccessTokenPeriod *float32 `json:"accessTokenPeriod,omitempty"`- AccessTokenTTL *float32 `json:"accessTokenTTL,omitempty"`- AccessTokenTrustedIps interface{} `json:"accessTokenTrustedIps,omitempty"`- ClientId string `json:"clientId"`- ClientSecretTrustedIps interface{} `json:"clientSecretTrustedIps,omitempty"`- CreatedAt time.Time `json:"createdAt"`- Id openapi_types.UUID `json:"id"`- IdentityId openapi_types.UUID `json:"identityId"`- LockoutCounterResetSeconds *float32 `json:"lockoutCounterResetSeconds,omitempty"`- LockoutDurationSeconds *float32 `json:"lockoutDurationSeconds,omitempty"`- LockoutEnabled *bool `json:"lockoutEnabled,omitempty"`- LockoutThreshold *float32 `json:"lockoutThreshold,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identityUniversalAuth"`- }- // 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 AttachUniversalAuth400JSONResponseBodyStatusCode `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 AttachUniversalAuth401JSONResponseBodyStatusCode `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 AttachUniversalAuth403JSONResponseBodyStatusCode `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 AttachUniversalAuth404JSONResponseBodyStatusCode `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 AttachUniversalAuth422JSONResponseBodyStatusCode `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 AttachUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`- }+// FromCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 overwrites any union data inside the CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2+func (t *CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2(v CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r AttachUniversalAuthResponse) GetJSON200() *struct {- IdentityUniversalAuth struct {- AccessTokenMaxTTL *float32 `json:"accessTokenMaxTTL,omitempty"`- AccessTokenNumUsesLimit *float32 `json:"accessTokenNumUsesLimit,omitempty"`- AccessTokenPeriod *float32 `json:"accessTokenPeriod,omitempty"`- AccessTokenTTL *float32 `json:"accessTokenTTL,omitempty"`- AccessTokenTrustedIps interface{} `json:"accessTokenTrustedIps,omitempty"`- ClientId string `json:"clientId"`- ClientSecretTrustedIps interface{} `json:"clientSecretTrustedIps,omitempty"`- CreatedAt time.Time `json:"createdAt"`- Id openapi_types.UUID `json:"id"`- IdentityId openapi_types.UUID `json:"identityId"`- LockoutCounterResetSeconds *float32 `json:"lockoutCounterResetSeconds,omitempty"`- LockoutDurationSeconds *float32 `json:"lockoutDurationSeconds,omitempty"`- LockoutEnabled *bool `json:"lockoutEnabled,omitempty"`- LockoutThreshold *float32 `json:"lockoutThreshold,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identityUniversalAuth"`-} {- return r.JSON200+// MergeCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 performs a merge with any union data inside the CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2+func (t *CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeCreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2(v CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r AttachUniversalAuthResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+func (t CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r AttachUniversalAuthResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+func (t *CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r AttachUniversalAuthResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+// AsDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 returns the union data inside the DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0+func (t DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0() (DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0, error) {+ var body DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r AttachUniversalAuthResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404+// FromDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 overwrites any union data inside the DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0+func (t *DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0(v DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r AttachUniversalAuthResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+// MergeDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 performs a merge with any union data inside the DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0+func (t *DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0(v DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r AttachUniversalAuthResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+// AsDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 returns the union data inside the DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1+func (t DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1() (DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1, error) {+ var body DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetBody returns the raw response body bytes-func (r AttachUniversalAuthResponse) GetBody() []byte {- return r.Body+// FromDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 overwrites any union data inside the DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1+func (t *DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1(v DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// Status returns HTTPResponse.Status-func (r AttachUniversalAuthResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status+// MergeDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 performs a merge with any union data inside the DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1+func (t *DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1(v DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return http.StatusText(0)-}-// StatusCode returns HTTPResponse.StatusCode-func (r AttachUniversalAuthResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode- }- return 0+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r AttachUniversalAuthResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")- }- return ""+// AsDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 returns the union data inside the DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2+func (t DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2() (DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2, error) {+ var body DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2+ err := json.Unmarshal(t.union, &body)+ return body, err}-type CreateUniversalAuthClientSecretResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- ClientSecret string `json:"clientSecret"`- ClientSecretData struct {- ClientSecretNumUses *float32 `json:"clientSecretNumUses,omitempty"`- ClientSecretNumUsesLimit *float32 `json:"clientSecretNumUsesLimit,omitempty"`- ClientSecretPrefix string `json:"clientSecretPrefix"`- ClientSecretTTL *float32 `json:"clientSecretTTL,omitempty"`- CreatedAt time.Time `json:"createdAt"`- Description string `json:"description"`- Id string `json:"id"`- IdentityUAId openapi_types.UUID `json:"identityUAId"`- IsClientSecretRevoked *bool `json:"isClientSecretRevoked,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"clientSecretData"`- }- // 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 CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode `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 CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode `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 CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode `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 CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode `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 CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode `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 CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode `json:"statusCode"`- }+// FromDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 overwrites any union data inside the DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2+func (t *DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2(v DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r CreateUniversalAuthClientSecretResponse) GetJSON200() *struct {- ClientSecret string `json:"clientSecret"`- ClientSecretData struct {- ClientSecretNumUses *float32 `json:"clientSecretNumUses,omitempty"`- ClientSecretNumUsesLimit *float32 `json:"clientSecretNumUsesLimit,omitempty"`- ClientSecretPrefix string `json:"clientSecretPrefix"`- ClientSecretTTL *float32 `json:"clientSecretTTL,omitempty"`- CreatedAt time.Time `json:"createdAt"`- Description string `json:"description"`- Id string `json:"id"`- IdentityUAId openapi_types.UUID `json:"identityUAId"`- IsClientSecretRevoked *bool `json:"isClientSecretRevoked,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"clientSecretData"`-} {- return r.JSON200+// MergeDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 performs a merge with any union data inside the DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2+func (t *DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeDeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2(v DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r CreateUniversalAuthClientSecretResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+func (t DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r CreateUniversalAuthClientSecretResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+func (t *DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r CreateUniversalAuthClientSecretResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+// AsGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 returns the union data inside the GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0+func (t GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0() (GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0, error) {+ var body GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r CreateUniversalAuthClientSecretResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404+// FromGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 overwrites any union data inside the GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0+func (t *GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0(v GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r CreateUniversalAuthClientSecretResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+// MergeGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 performs a merge with any union data inside the GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0+func (t *GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0(v GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r CreateUniversalAuthClientSecretResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+// AsGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 returns the union data inside the GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1+func (t GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1() (GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1, error) {+ var body GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetBody returns the raw response body bytes-func (r CreateUniversalAuthClientSecretResponse) GetBody() []byte {- return r.Body+// FromGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 overwrites any union data inside the GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1+func (t *GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1(v GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// Status returns HTTPResponse.Status-func (r CreateUniversalAuthClientSecretResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status+// MergeGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 performs a merge with any union data inside the GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1+func (t *GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1(v GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return http.StatusText(0)++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// StatusCode returns HTTPResponse.StatusCode-func (r CreateUniversalAuthClientSecretResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode- }- return 0+// AsGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 returns the union data inside the GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2+func (t GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2() (GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2, error) {+ var body GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2+ err := json.Unmarshal(t.union, &body)+ return body, err}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r CreateUniversalAuthClientSecretResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")- }- return ""+// FromGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 overwrites any union data inside the GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2+func (t *GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2(v GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-type LoginWithUniversalAuthResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- AccessToken string `json:"accessToken"`- AccessTokenMaxTTL float32 `json:"accessTokenMaxTTL"`- ExpiresIn float32 `json:"expiresIn"`- TokenType LoginWithUniversalAuth200JSONResponseBodyTokenType `json:"tokenType"`+// MergeGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 performs a merge with any union data inside the GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2+func (t *GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeGetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2(v GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- // 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 LoginWithUniversalAuth400JSONResponseBodyStatusCode `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 LoginWithUniversalAuth401JSONResponseBodyStatusCode `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 LoginWithUniversalAuth403JSONResponseBodyStatusCode `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 LoginWithUniversalAuth404JSONResponseBodyStatusCode `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 LoginWithUniversalAuth422JSONResponseBodyStatusCode `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 LoginWithUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`- }-}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r LoginWithUniversalAuthResponse) GetJSON200() *struct {- AccessToken string `json:"accessToken"`- AccessTokenMaxTTL float32 `json:"accessTokenMaxTTL"`- ExpiresIn float32 `json:"expiresIn"`- TokenType LoginWithUniversalAuth200JSONResponseBodyTokenType `json:"tokenType"`-} {- return r.JSON200+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r LoginWithUniversalAuthResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+func (t GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r LoginWithUniversalAuthResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+func (t *GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r LoginWithUniversalAuthResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+// AsRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0 returns the union data inside the RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig as a RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0+func (t RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig) AsRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0() (RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0, error) {+ var body RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r LoginWithUniversalAuthResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404+// FromRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0 overwrites any union data inside the RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig as the provided RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0+func (t *RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig) FromRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0(v RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r LoginWithUniversalAuthResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+// MergeRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0 performs a merge with any union data inside the RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig, using the provided RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0+func (t *RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig) MergeRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0(v RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r LoginWithUniversalAuthResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+// AsRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1 returns the union data inside the RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig as a RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1+func (t RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig) AsRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1() (RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1, error) {+ var body RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetBody returns the raw response body bytes-func (r LoginWithUniversalAuthResponse) GetBody() []byte {- return r.Body+// FromRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1 overwrites any union data inside the RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig as the provided RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1+func (t *RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig) FromRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1(v RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// Status returns HTTPResponse.Status-func (r LoginWithUniversalAuthResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status+// MergeRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1 performs a merge with any union data inside the RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig, using the provided RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1+func (t *RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig) MergeRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1(v RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return http.StatusText(0)++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// StatusCode returns HTTPResponse.StatusCode-func (r LoginWithUniversalAuthResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode- }- return 0+// AsRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2 returns the union data inside the RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig as a RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2+func (t RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig) AsRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2() (RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2, error) {+ var body RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2+ err := json.Unmarshal(t.union, &body)+ return body, err}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r LoginWithUniversalAuthResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")- }- return ""+// FromRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2 overwrites any union data inside the RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig as the provided RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2+func (t *RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig) FromRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2(v RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-type CreateMachineIdentityResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- Identity struct {- AuthMethod *string `json:"authMethod,omitempty"`- AuthMethods []string `json:"authMethods"`- CreatedAt time.Time `json:"createdAt"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id openapi_types.UUID `json:"id"`- Metadata []struct {- Id string `json:"id"`- Key string `json:"key"`- Value string `json:"value"`- } `json:"metadata"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- ProjectId *string `json:"projectId,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identity"`- }- // 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 CreateMachineIdentity400JSONResponseBodyStatusCode `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 CreateMachineIdentity401JSONResponseBodyStatusCode `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 CreateMachineIdentity403JSONResponseBodyStatusCode `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 CreateMachineIdentity404JSONResponseBodyStatusCode `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 CreateMachineIdentity422JSONResponseBodyStatusCode `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 CreateMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`+// MergeRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2 performs a merge with any union data inside the RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig, using the provided RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2+func (t *RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig) MergeRemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2(v RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r CreateMachineIdentityResponse) GetJSON200() *struct {- Identity struct {- AuthMethod *string `json:"authMethod,omitempty"`- AuthMethods []string `json:"authMethods"`- CreatedAt time.Time `json:"createdAt"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id openapi_types.UUID `json:"id"`- Metadata []struct {- Id string `json:"id"`- Key string `json:"key"`- Value string `json:"value"`- } `json:"metadata"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- ProjectId *string `json:"projectId,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identity"`-} {- return r.JSON200+func (t RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r CreateMachineIdentityResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+func (t *RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r CreateMachineIdentityResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+// AsSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 returns the union data inside the SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0+func (t SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0() (SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0, error) {+ var body SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r CreateMachineIdentityResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+// FromSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 overwrites any union data inside the SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0+func (t *SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0(v SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r CreateMachineIdentityResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404-}+// MergeSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0 performs a merge with any union data inside the SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0+func (t *SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0(v SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r CreateMachineIdentityResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r CreateMachineIdentityResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+// AsSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 returns the union data inside the SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1+func (t SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1() (SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1, error) {+ var body SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetBody returns the raw response body bytes-func (r CreateMachineIdentityResponse) GetBody() []byte {- return r.Body+// FromSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 overwrites any union data inside the SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1+func (t *SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1(v SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// Status returns HTTPResponse.Status-func (r CreateMachineIdentityResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status+// MergeSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1 performs a merge with any union data inside the SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1+func (t *SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1(v SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return http.StatusText(0)++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// StatusCode returns HTTPResponse.StatusCode-func (r CreateMachineIdentityResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode- }- return 0+// AsSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 returns the union data inside the SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as a SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2+func (t SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) AsSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2() (SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2, error) {+ var body SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2+ err := json.Unmarshal(t.union, &body)+ return body, err}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r CreateMachineIdentityResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")- }- return ""+// FromSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 overwrites any union data inside the SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig as the provided SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2+func (t *SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) FromSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2(v SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-type InviteUsersToOrganizationResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- CompleteInviteLinks *[]struct {- Email string `json:"email"`- Link string `json:"link"`- } `json:"completeInviteLinks,omitempty"`- GrantFailures *struct {- AgentVaultAccess bool `json:"agentVaultAccess"`- PamAccess bool `json:"pamAccess"`- ProjectIds []string `json:"projectIds"`- } `json:"grantFailures,omitempty"`- Message string `json:"message"`- }- // 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 InviteUsersToOrganization400JSONResponseBodyStatusCode `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 InviteUsersToOrganization401JSONResponseBodyStatusCode `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 InviteUsersToOrganization403JSONResponseBodyStatusCode `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 InviteUsersToOrganization404JSONResponseBodyStatusCode `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 InviteUsersToOrganization422JSONResponseBodyStatusCode `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 InviteUsersToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+// MergeSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2 performs a merge with any union data inside the SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig, using the provided SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2+func (t *SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MergeSyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2(v SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r InviteUsersToOrganizationResponse) GetJSON200() *struct {- CompleteInviteLinks *[]struct {- Email string `json:"email"`- Link string `json:"link"`- } `json:"completeInviteLinks,omitempty"`- GrantFailures *struct {- AgentVaultAccess bool `json:"agentVaultAccess"`- PamAccess bool `json:"pamAccess"`- ProjectIds []string `json:"projectIds"`- } `json:"grantFailures,omitempty"`- Message string `json:"message"`-} {- return r.JSON200+func (t SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r InviteUsersToOrganizationResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+func (t *SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r InviteUsersToOrganizationResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+// AsCreateSecretApprovalPolicyJSONBodyApprovers0 returns the union data inside the CreateSecretApprovalPolicyJSONBody_Approvers_Item as a CreateSecretApprovalPolicyJSONBodyApprovers0+func (t CreateSecretApprovalPolicyJSONBody_Approvers_Item) AsCreateSecretApprovalPolicyJSONBodyApprovers0() (CreateSecretApprovalPolicyJSONBodyApprovers0, error) {+ var body CreateSecretApprovalPolicyJSONBodyApprovers0+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r InviteUsersToOrganizationResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+// FromCreateSecretApprovalPolicyJSONBodyApprovers0 overwrites any union data inside the CreateSecretApprovalPolicyJSONBody_Approvers_Item as the provided CreateSecretApprovalPolicyJSONBodyApprovers0+func (t *CreateSecretApprovalPolicyJSONBody_Approvers_Item) FromCreateSecretApprovalPolicyJSONBodyApprovers0(v CreateSecretApprovalPolicyJSONBodyApprovers0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r InviteUsersToOrganizationResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404-}+// MergeCreateSecretApprovalPolicyJSONBodyApprovers0 performs a merge with any union data inside the CreateSecretApprovalPolicyJSONBody_Approvers_Item, using the provided CreateSecretApprovalPolicyJSONBodyApprovers0+func (t *CreateSecretApprovalPolicyJSONBody_Approvers_Item) MergeCreateSecretApprovalPolicyJSONBodyApprovers0(v CreateSecretApprovalPolicyJSONBodyApprovers0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r InviteUsersToOrganizationResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r InviteUsersToOrganizationResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+// AsCreateSecretApprovalPolicyJSONBodyApprovers1 returns the union data inside the CreateSecretApprovalPolicyJSONBody_Approvers_Item as a CreateSecretApprovalPolicyJSONBodyApprovers1+func (t CreateSecretApprovalPolicyJSONBody_Approvers_Item) AsCreateSecretApprovalPolicyJSONBodyApprovers1() (CreateSecretApprovalPolicyJSONBodyApprovers1, error) {+ var body CreateSecretApprovalPolicyJSONBodyApprovers1+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetBody returns the raw response body bytes-func (r InviteUsersToOrganizationResponse) GetBody() []byte {- return r.Body+// FromCreateSecretApprovalPolicyJSONBodyApprovers1 overwrites any union data inside the CreateSecretApprovalPolicyJSONBody_Approvers_Item as the provided CreateSecretApprovalPolicyJSONBodyApprovers1+func (t *CreateSecretApprovalPolicyJSONBody_Approvers_Item) FromCreateSecretApprovalPolicyJSONBodyApprovers1(v CreateSecretApprovalPolicyJSONBodyApprovers1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// Status returns HTTPResponse.Status-func (r InviteUsersToOrganizationResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status+// MergeCreateSecretApprovalPolicyJSONBodyApprovers1 performs a merge with any union data inside the CreateSecretApprovalPolicyJSONBody_Approvers_Item, using the provided CreateSecretApprovalPolicyJSONBodyApprovers1+func (t *CreateSecretApprovalPolicyJSONBody_Approvers_Item) MergeCreateSecretApprovalPolicyJSONBodyApprovers1(v CreateSecretApprovalPolicyJSONBodyApprovers1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return http.StatusText(0)++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// StatusCode returns HTTPResponse.StatusCode-func (r InviteUsersToOrganizationResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode- }- return 0+func (t CreateSecretApprovalPolicyJSONBody_Approvers_Item) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r InviteUsersToOrganizationResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")- }- return ""+func (t *CreateSecretApprovalPolicyJSONBody_Approvers_Item) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err}-type VerifyUserToOrganizationResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- Message string `json:"message"`+// AsCreateSecretApprovalPolicyJSONBodyBypassers0 returns the union data inside the CreateSecretApprovalPolicyJSONBody_Bypassers_Item as a CreateSecretApprovalPolicyJSONBodyBypassers0+func (t CreateSecretApprovalPolicyJSONBody_Bypassers_Item) AsCreateSecretApprovalPolicyJSONBodyBypassers0() (CreateSecretApprovalPolicyJSONBodyBypassers0, error) {+ var body CreateSecretApprovalPolicyJSONBodyBypassers0+ err := json.Unmarshal(t.union, &body)+ return body, err+}- // OrganizationName Name of the organization associated with the verified invitation- OrganizationName string `json:"organizationName"`- Token *string `json:"token,omitempty"`- }- // 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 VerifyUserToOrganization400JSONResponseBodyStatusCode `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 VerifyUserToOrganization401JSONResponseBodyStatusCode `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 VerifyUserToOrganization403JSONResponseBodyStatusCode `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 VerifyUserToOrganization404JSONResponseBodyStatusCode `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 VerifyUserToOrganization422JSONResponseBodyStatusCode `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 VerifyUserToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`- }+// FromCreateSecretApprovalPolicyJSONBodyBypassers0 overwrites any union data inside the CreateSecretApprovalPolicyJSONBody_Bypassers_Item as the provided CreateSecretApprovalPolicyJSONBodyBypassers0+func (t *CreateSecretApprovalPolicyJSONBody_Bypassers_Item) FromCreateSecretApprovalPolicyJSONBodyBypassers0(v CreateSecretApprovalPolicyJSONBodyBypassers0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r VerifyUserToOrganizationResponse) GetJSON200() *struct {- Message string `json:"message"`+// MergeCreateSecretApprovalPolicyJSONBodyBypassers0 performs a merge with any union data inside the CreateSecretApprovalPolicyJSONBody_Bypassers_Item, using the provided CreateSecretApprovalPolicyJSONBodyBypassers0+func (t *CreateSecretApprovalPolicyJSONBody_Bypassers_Item) MergeCreateSecretApprovalPolicyJSONBodyBypassers0(v CreateSecretApprovalPolicyJSONBodyBypassers0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }- // OrganizationName Name of the organization associated with the verified invitation- OrganizationName string `json:"organizationName"`- Token *string `json:"token,omitempty"`-} {- return r.JSON200+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r VerifyUserToOrganizationResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+// AsCreateSecretApprovalPolicyJSONBodyBypassers1 returns the union data inside the CreateSecretApprovalPolicyJSONBody_Bypassers_Item as a CreateSecretApprovalPolicyJSONBodyBypassers1+func (t CreateSecretApprovalPolicyJSONBody_Bypassers_Item) AsCreateSecretApprovalPolicyJSONBodyBypassers1() (CreateSecretApprovalPolicyJSONBodyBypassers1, error) {+ var body CreateSecretApprovalPolicyJSONBodyBypassers1+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r VerifyUserToOrganizationResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+// FromCreateSecretApprovalPolicyJSONBodyBypassers1 overwrites any union data inside the CreateSecretApprovalPolicyJSONBody_Bypassers_Item as the provided CreateSecretApprovalPolicyJSONBodyBypassers1+func (t *CreateSecretApprovalPolicyJSONBody_Bypassers_Item) FromCreateSecretApprovalPolicyJSONBodyBypassers1(v CreateSecretApprovalPolicyJSONBodyBypassers1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r VerifyUserToOrganizationResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+// MergeCreateSecretApprovalPolicyJSONBodyBypassers1 performs a merge with any union data inside the CreateSecretApprovalPolicyJSONBody_Bypassers_Item, using the provided CreateSecretApprovalPolicyJSONBodyBypassers1+func (t *CreateSecretApprovalPolicyJSONBody_Bypassers_Item) MergeCreateSecretApprovalPolicyJSONBodyBypassers1(v CreateSecretApprovalPolicyJSONBodyBypassers1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r VerifyUserToOrganizationResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404+func (t CreateSecretApprovalPolicyJSONBody_Bypassers_Item) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r VerifyUserToOrganizationResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+func (t *CreateSecretApprovalPolicyJSONBody_Bypassers_Item) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r VerifyUserToOrganizationResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+// AsUpdateSecretApprovalPolicyJSONBodyApprovers0 returns the union data inside the UpdateSecretApprovalPolicyJSONBody_Approvers_Item as a UpdateSecretApprovalPolicyJSONBodyApprovers0+func (t UpdateSecretApprovalPolicyJSONBody_Approvers_Item) AsUpdateSecretApprovalPolicyJSONBodyApprovers0() (UpdateSecretApprovalPolicyJSONBodyApprovers0, error) {+ var body UpdateSecretApprovalPolicyJSONBodyApprovers0+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetBody returns the raw response body bytes-func (r VerifyUserToOrganizationResponse) GetBody() []byte {- return r.Body+// FromUpdateSecretApprovalPolicyJSONBodyApprovers0 overwrites any union data inside the UpdateSecretApprovalPolicyJSONBody_Approvers_Item as the provided UpdateSecretApprovalPolicyJSONBodyApprovers0+func (t *UpdateSecretApprovalPolicyJSONBody_Approvers_Item) FromUpdateSecretApprovalPolicyJSONBodyApprovers0(v UpdateSecretApprovalPolicyJSONBodyApprovers0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// Status returns HTTPResponse.Status-func (r VerifyUserToOrganizationResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status+// MergeUpdateSecretApprovalPolicyJSONBodyApprovers0 performs a merge with any union data inside the UpdateSecretApprovalPolicyJSONBody_Approvers_Item, using the provided UpdateSecretApprovalPolicyJSONBodyApprovers0+func (t *UpdateSecretApprovalPolicyJSONBody_Approvers_Item) MergeUpdateSecretApprovalPolicyJSONBodyApprovers0(v UpdateSecretApprovalPolicyJSONBodyApprovers0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return http.StatusText(0)++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// StatusCode returns HTTPResponse.StatusCode-func (r VerifyUserToOrganizationResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode- }- return 0+// AsUpdateSecretApprovalPolicyJSONBodyApprovers1 returns the union data inside the UpdateSecretApprovalPolicyJSONBody_Approvers_Item as a UpdateSecretApprovalPolicyJSONBodyApprovers1+func (t UpdateSecretApprovalPolicyJSONBody_Approvers_Item) AsUpdateSecretApprovalPolicyJSONBodyApprovers1() (UpdateSecretApprovalPolicyJSONBodyApprovers1, error) {+ var body UpdateSecretApprovalPolicyJSONBodyApprovers1+ err := json.Unmarshal(t.union, &body)+ return body, err}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r VerifyUserToOrganizationResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")- }- return ""+// FromUpdateSecretApprovalPolicyJSONBodyApprovers1 overwrites any union data inside the UpdateSecretApprovalPolicyJSONBody_Approvers_Item as the provided UpdateSecretApprovalPolicyJSONBodyApprovers1+func (t *UpdateSecretApprovalPolicyJSONBody_Approvers_Item) FromUpdateSecretApprovalPolicyJSONBodyApprovers1(v UpdateSecretApprovalPolicyJSONBodyApprovers1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-type GetOrganizationPlanResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- Plan interface{} `json:"plan,omitempty"`- }- // 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 GetOrganizationPlan400JSONResponseBodyStatusCode `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 GetOrganizationPlan401JSONResponseBodyStatusCode `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 GetOrganizationPlan403JSONResponseBodyStatusCode `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 GetOrganizationPlan404JSONResponseBodyStatusCode `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 GetOrganizationPlan422JSONResponseBodyStatusCode `json:"statusCode"`+// MergeUpdateSecretApprovalPolicyJSONBodyApprovers1 performs a merge with any union data inside the UpdateSecretApprovalPolicyJSONBody_Approvers_Item, using the provided UpdateSecretApprovalPolicyJSONBodyApprovers1+func (t *UpdateSecretApprovalPolicyJSONBody_Approvers_Item) MergeUpdateSecretApprovalPolicyJSONBodyApprovers1(v UpdateSecretApprovalPolicyJSONBodyApprovers1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- // 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 GetOrganizationPlan500JSONResponseBodyStatusCode `json:"statusCode"`++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++func (t UpdateSecretApprovalPolicyJSONBody_Approvers_Item) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}++func (t *UpdateSecretApprovalPolicyJSONBody_Approvers_Item) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}++// AsUpdateSecretApprovalPolicyJSONBodyBypassers0 returns the union data inside the UpdateSecretApprovalPolicyJSONBody_Bypassers_Item as a UpdateSecretApprovalPolicyJSONBodyBypassers0+func (t UpdateSecretApprovalPolicyJSONBody_Bypassers_Item) AsUpdateSecretApprovalPolicyJSONBodyBypassers0() (UpdateSecretApprovalPolicyJSONBodyBypassers0, error) {+ var body UpdateSecretApprovalPolicyJSONBodyBypassers0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromUpdateSecretApprovalPolicyJSONBodyBypassers0 overwrites any union data inside the UpdateSecretApprovalPolicyJSONBody_Bypassers_Item as the provided UpdateSecretApprovalPolicyJSONBodyBypassers0+func (t *UpdateSecretApprovalPolicyJSONBody_Bypassers_Item) FromUpdateSecretApprovalPolicyJSONBodyBypassers0(v UpdateSecretApprovalPolicyJSONBodyBypassers0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeUpdateSecretApprovalPolicyJSONBodyBypassers0 performs a merge with any union data inside the UpdateSecretApprovalPolicyJSONBody_Bypassers_Item, using the provided UpdateSecretApprovalPolicyJSONBodyBypassers0+func (t *UpdateSecretApprovalPolicyJSONBody_Bypassers_Item) MergeUpdateSecretApprovalPolicyJSONBodyBypassers0(v UpdateSecretApprovalPolicyJSONBodyBypassers0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r GetOrganizationPlanResponse) GetJSON200() *struct {- Plan interface{} `json:"plan,omitempty"`-} {- return r.JSON200+// AsUpdateSecretApprovalPolicyJSONBodyBypassers1 returns the union data inside the UpdateSecretApprovalPolicyJSONBody_Bypassers_Item as a UpdateSecretApprovalPolicyJSONBodyBypassers1+func (t UpdateSecretApprovalPolicyJSONBody_Bypassers_Item) AsUpdateSecretApprovalPolicyJSONBodyBypassers1() (UpdateSecretApprovalPolicyJSONBodyBypassers1, error) {+ var body UpdateSecretApprovalPolicyJSONBodyBypassers1+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r GetOrganizationPlanResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+// FromUpdateSecretApprovalPolicyJSONBodyBypassers1 overwrites any union data inside the UpdateSecretApprovalPolicyJSONBody_Bypassers_Item as the provided UpdateSecretApprovalPolicyJSONBodyBypassers1+func (t *UpdateSecretApprovalPolicyJSONBody_Bypassers_Item) FromUpdateSecretApprovalPolicyJSONBodyBypassers1(v UpdateSecretApprovalPolicyJSONBodyBypassers1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r GetOrganizationPlanResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+// MergeUpdateSecretApprovalPolicyJSONBodyBypassers1 performs a merge with any union data inside the UpdateSecretApprovalPolicyJSONBody_Bypassers_Item, using the provided UpdateSecretApprovalPolicyJSONBodyBypassers1+func (t *UpdateSecretApprovalPolicyJSONBody_Bypassers_Item) MergeUpdateSecretApprovalPolicyJSONBodyBypassers1(v UpdateSecretApprovalPolicyJSONBodyBypassers1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r GetOrganizationPlanResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+func (t UpdateSecretApprovalPolicyJSONBody_Bypassers_Item) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r GetOrganizationPlanResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404+func (t *UpdateSecretApprovalPolicyJSONBody_Bypassers_Item) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err}-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r GetOrganizationPlanResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+// AsCompleteAccountSignupV3JSONBody0 returns the union data inside the CompleteAccountSignupV3JSONBody as a CompleteAccountSignupV3JSONBody0+func (t CompleteAccountSignupV3JSONBody) AsCompleteAccountSignupV3JSONBody0() (CompleteAccountSignupV3JSONBody0, error) {+ var body CompleteAccountSignupV3JSONBody0+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r GetOrganizationPlanResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+// FromCompleteAccountSignupV3JSONBody0 overwrites any union data inside the CompleteAccountSignupV3JSONBody as the provided CompleteAccountSignupV3JSONBody0+func (t *CompleteAccountSignupV3JSONBody) FromCompleteAccountSignupV3JSONBody0(v CompleteAccountSignupV3JSONBody0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetBody returns the raw response body bytes-func (r GetOrganizationPlanResponse) GetBody() []byte {- return r.Body+// MergeCompleteAccountSignupV3JSONBody0 performs a merge with any union data inside the CompleteAccountSignupV3JSONBody, using the provided CompleteAccountSignupV3JSONBody0+func (t *CompleteAccountSignupV3JSONBody) MergeCompleteAccountSignupV3JSONBody0(v CompleteAccountSignupV3JSONBody0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// Status returns HTTPResponse.Status-func (r GetOrganizationPlanResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status+// AsCompleteAccountSignupV3JSONBody1 returns the union data inside the CompleteAccountSignupV3JSONBody as a CompleteAccountSignupV3JSONBody1+func (t CompleteAccountSignupV3JSONBody) AsCompleteAccountSignupV3JSONBody1() (CompleteAccountSignupV3JSONBody1, error) {+ var body CompleteAccountSignupV3JSONBody1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCompleteAccountSignupV3JSONBody1 overwrites any union data inside the CompleteAccountSignupV3JSONBody as the provided CompleteAccountSignupV3JSONBody1+func (t *CompleteAccountSignupV3JSONBody) FromCompleteAccountSignupV3JSONBody1(v CompleteAccountSignupV3JSONBody1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCompleteAccountSignupV3JSONBody1 performs a merge with any union data inside the CompleteAccountSignupV3JSONBody, using the provided CompleteAccountSignupV3JSONBody1+func (t *CompleteAccountSignupV3JSONBody) MergeCompleteAccountSignupV3JSONBody1(v CompleteAccountSignupV3JSONBody1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return http.StatusText(0)++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// StatusCode returns HTTPResponse.StatusCode-func (r GetOrganizationPlanResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode+func (t CompleteAccountSignupV3JSONBody) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}++func (t *CompleteAccountSignupV3JSONBody) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}++// AsDeleteManySecretsV4200JSONResponseBody0 returns the union data inside the DeleteManySecretsV4200JSONResponseBody as a DeleteManySecretsV4200JSONResponseBody0+func (t DeleteManySecretsV4200JSONResponseBody) AsDeleteManySecretsV4200JSONResponseBody0() (DeleteManySecretsV4200JSONResponseBody0, error) {+ var body DeleteManySecretsV4200JSONResponseBody0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromDeleteManySecretsV4200JSONResponseBody0 overwrites any union data inside the DeleteManySecretsV4200JSONResponseBody as the provided DeleteManySecretsV4200JSONResponseBody0+func (t *DeleteManySecretsV4200JSONResponseBody) FromDeleteManySecretsV4200JSONResponseBody0(v DeleteManySecretsV4200JSONResponseBody0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeDeleteManySecretsV4200JSONResponseBody0 performs a merge with any union data inside the DeleteManySecretsV4200JSONResponseBody, using the provided DeleteManySecretsV4200JSONResponseBody0+func (t *DeleteManySecretsV4200JSONResponseBody) MergeDeleteManySecretsV4200JSONResponseBody0(v DeleteManySecretsV4200JSONResponseBody0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return 0++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r GetOrganizationPlanResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")+// AsDeleteManySecretsV4200JSONResponseBody1 returns the union data inside the DeleteManySecretsV4200JSONResponseBody as a DeleteManySecretsV4200JSONResponseBody1+func (t DeleteManySecretsV4200JSONResponseBody) AsDeleteManySecretsV4200JSONResponseBody1() (DeleteManySecretsV4200JSONResponseBody1, error) {+ var body DeleteManySecretsV4200JSONResponseBody1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromDeleteManySecretsV4200JSONResponseBody1 overwrites any union data inside the DeleteManySecretsV4200JSONResponseBody as the provided DeleteManySecretsV4200JSONResponseBody1+func (t *DeleteManySecretsV4200JSONResponseBody) FromDeleteManySecretsV4200JSONResponseBody1(v DeleteManySecretsV4200JSONResponseBody1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeDeleteManySecretsV4200JSONResponseBody1 performs a merge with any union data inside the DeleteManySecretsV4200JSONResponseBody, using the provided DeleteManySecretsV4200JSONResponseBody1+func (t *DeleteManySecretsV4200JSONResponseBody) MergeDeleteManySecretsV4200JSONResponseBody1(v DeleteManySecretsV4200JSONResponseBody1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return ""++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-type CreateProjectResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- Project struct {- UnderscoreId string `json:"_id"`- AuditLogsRetentionDays *float32 `json:"auditLogsRetentionDays,omitempty"`- AutoCapitalization *bool `json:"autoCapitalization,omitempty"`- CreatedAt time.Time `json:"createdAt"`- DefaultProduct *string `json:"defaultProduct,omitempty"`- DeletedEnvironments []struct {- DeleteAfter time.Time `json:"deleteAfter"`- DeletedBy *CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy `json:"deletedBy"`- Id string `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- SoftDeletedAt time.Time `json:"softDeletedAt"`- } `json:"deletedEnvironments"`- Description *string `json:"description,omitempty"`- EnforceEncryptedSecretManagerSecretMetadata *bool `json:"enforceEncryptedSecretManagerSecretMetadata,omitempty"`- Environments []struct {- Id string `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"environments"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id string `json:"id"`- IsLegacyAdditionalPrivilegesEnabled *bool `json:"isLegacyAdditionalPrivilegesEnabled,omitempty"`- KmsCertificateKeyId *openapi_types.UUID `json:"kmsCertificateKeyId,omitempty"`- KmsSecretManagerKeyId *openapi_types.UUID `json:"kmsSecretManagerKeyId,omitempty"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- PitVersionLimit *float32 `json:"pitVersionLimit,omitempty"`- SecretBlindIndexEnabled *bool `json:"secretBlindIndexEnabled,omitempty"`- SecretDetectionIgnoreValues *[]string `json:"secretDetectionIgnoreValues,omitempty"`- SecretSharing *bool `json:"secretSharing,omitempty"`- ShowSnapshotsLegacy *bool `json:"showSnapshotsLegacy,omitempty"`- Slug string `json:"slug"`- Type string `json:"type"`- UpdatedAt time.Time `json:"updatedAt"`- UpgradeStatus *string `json:"upgradeStatus,omitempty"`- Version *float32 `json:"version,omitempty"`- } `json:"project"`- }- // 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 CreateProject400JSONResponseBodyStatusCode `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 CreateProject401JSONResponseBodyStatusCode `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 CreateProject403JSONResponseBodyStatusCode `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 CreateProject404JSONResponseBodyStatusCode `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 CreateProject422JSONResponseBodyStatusCode `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 CreateProject500JSONResponseBodyStatusCode `json:"statusCode"`- }+func (t DeleteManySecretsV4200JSONResponseBody) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r CreateProjectResponse) GetJSON200() *struct {- Project struct {- UnderscoreId string `json:"_id"`- AuditLogsRetentionDays *float32 `json:"auditLogsRetentionDays,omitempty"`- AutoCapitalization *bool `json:"autoCapitalization,omitempty"`- CreatedAt time.Time `json:"createdAt"`- DefaultProduct *string `json:"defaultProduct,omitempty"`- DeletedEnvironments []struct {- DeleteAfter time.Time `json:"deleteAfter"`- DeletedBy *CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy `json:"deletedBy"`- Id string `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- SoftDeletedAt time.Time `json:"softDeletedAt"`- } `json:"deletedEnvironments"`- Description *string `json:"description,omitempty"`- EnforceEncryptedSecretManagerSecretMetadata *bool `json:"enforceEncryptedSecretManagerSecretMetadata,omitempty"`- Environments []struct {- Id string `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"environments"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id string `json:"id"`- IsLegacyAdditionalPrivilegesEnabled *bool `json:"isLegacyAdditionalPrivilegesEnabled,omitempty"`- KmsCertificateKeyId *openapi_types.UUID `json:"kmsCertificateKeyId,omitempty"`- KmsSecretManagerKeyId *openapi_types.UUID `json:"kmsSecretManagerKeyId,omitempty"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- PitVersionLimit *float32 `json:"pitVersionLimit,omitempty"`- SecretBlindIndexEnabled *bool `json:"secretBlindIndexEnabled,omitempty"`- SecretDetectionIgnoreValues *[]string `json:"secretDetectionIgnoreValues,omitempty"`- SecretSharing *bool `json:"secretSharing,omitempty"`- ShowSnapshotsLegacy *bool `json:"showSnapshotsLegacy,omitempty"`- Slug string `json:"slug"`- Type string `json:"type"`- UpdatedAt time.Time `json:"updatedAt"`- UpgradeStatus *string `json:"upgradeStatus,omitempty"`- Version *float32 `json:"version,omitempty"`- } `json:"project"`-} {- return r.JSON200+func (t *DeleteManySecretsV4200JSONResponseBody) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r CreateProjectResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProject400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+// AsUpdateManySecretsV4200JSONResponseBody0 returns the union data inside the UpdateManySecretsV4200JSONResponseBody as a UpdateManySecretsV4200JSONResponseBody0+func (t UpdateManySecretsV4200JSONResponseBody) AsUpdateManySecretsV4200JSONResponseBody0() (UpdateManySecretsV4200JSONResponseBody0, error) {+ var body UpdateManySecretsV4200JSONResponseBody0+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r CreateProjectResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProject401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+// FromUpdateManySecretsV4200JSONResponseBody0 overwrites any union data inside the UpdateManySecretsV4200JSONResponseBody as the provided UpdateManySecretsV4200JSONResponseBody0+func (t *UpdateManySecretsV4200JSONResponseBody) FromUpdateManySecretsV4200JSONResponseBody0(v UpdateManySecretsV4200JSONResponseBody0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r CreateProjectResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProject403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+// MergeUpdateManySecretsV4200JSONResponseBody0 performs a merge with any union data inside the UpdateManySecretsV4200JSONResponseBody, using the provided UpdateManySecretsV4200JSONResponseBody0+func (t *UpdateManySecretsV4200JSONResponseBody) MergeUpdateManySecretsV4200JSONResponseBody0(v UpdateManySecretsV4200JSONResponseBody0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r CreateProjectResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProject404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404+// AsUpdateManySecretsV4200JSONResponseBody1 returns the union data inside the UpdateManySecretsV4200JSONResponseBody as a UpdateManySecretsV4200JSONResponseBody1+func (t UpdateManySecretsV4200JSONResponseBody) AsUpdateManySecretsV4200JSONResponseBody1() (UpdateManySecretsV4200JSONResponseBody1, error) {+ var body UpdateManySecretsV4200JSONResponseBody1+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r CreateProjectResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateProject422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+// FromUpdateManySecretsV4200JSONResponseBody1 overwrites any union data inside the UpdateManySecretsV4200JSONResponseBody as the provided UpdateManySecretsV4200JSONResponseBody1+func (t *UpdateManySecretsV4200JSONResponseBody) FromUpdateManySecretsV4200JSONResponseBody1(v UpdateManySecretsV4200JSONResponseBody1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r CreateProjectResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProject500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+// MergeUpdateManySecretsV4200JSONResponseBody1 performs a merge with any union data inside the UpdateManySecretsV4200JSONResponseBody, using the provided UpdateManySecretsV4200JSONResponseBody1+func (t *UpdateManySecretsV4200JSONResponseBody) MergeUpdateManySecretsV4200JSONResponseBody1(v UpdateManySecretsV4200JSONResponseBody1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetBody returns the raw response body bytes-func (r CreateProjectResponse) GetBody() []byte {- return r.Body+func (t UpdateManySecretsV4200JSONResponseBody) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// Status returns HTTPResponse.Status-func (r CreateProjectResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status- }- return http.StatusText(0)+func (t *UpdateManySecretsV4200JSONResponseBody) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err}-// StatusCode returns HTTPResponse.StatusCode-func (r CreateProjectResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode- }- return 0+// AsCreateManySecretsV4200JSONResponseBody0 returns the union data inside the CreateManySecretsV4200JSONResponseBody as a CreateManySecretsV4200JSONResponseBody0+func (t CreateManySecretsV4200JSONResponseBody) AsCreateManySecretsV4200JSONResponseBody0() (CreateManySecretsV4200JSONResponseBody0, error) {+ var body CreateManySecretsV4200JSONResponseBody0+ err := json.Unmarshal(t.union, &body)+ return body, err}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r CreateProjectResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")+// FromCreateManySecretsV4200JSONResponseBody0 overwrites any union data inside the CreateManySecretsV4200JSONResponseBody as the provided CreateManySecretsV4200JSONResponseBody0+func (t *CreateManySecretsV4200JSONResponseBody) FromCreateManySecretsV4200JSONResponseBody0(v CreateManySecretsV4200JSONResponseBody0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateManySecretsV4200JSONResponseBody0 performs a merge with any union data inside the CreateManySecretsV4200JSONResponseBody, using the provided CreateManySecretsV4200JSONResponseBody0+func (t *CreateManySecretsV4200JSONResponseBody) MergeCreateManySecretsV4200JSONResponseBody0(v CreateManySecretsV4200JSONResponseBody0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return ""++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-type ListProjectMachineIdentitiesResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- Identities []struct {- ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`- AuthMethods *[]string `json:"authMethods,omitempty"`- CreatedAt time.Time `json:"createdAt"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id openapi_types.UUID `json:"id"`- Metadata *[]struct {- Id string `json:"id"`- Key string `json:"key"`- Value string `json:"value"`- } `json:"metadata,omitempty"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- ProjectId *string `json:"projectId,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identities"`- TotalCount float32 `json:"totalCount"`- }- // 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 ListProjectMachineIdentities400JSONResponseBodyStatusCode `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 ListProjectMachineIdentities401JSONResponseBodyStatusCode `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 ListProjectMachineIdentities403JSONResponseBodyStatusCode `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 ListProjectMachineIdentities404JSONResponseBodyStatusCode `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 ListProjectMachineIdentities422JSONResponseBodyStatusCode `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 ListProjectMachineIdentities500JSONResponseBodyStatusCode `json:"statusCode"`- }+// AsCreateManySecretsV4200JSONResponseBody1 returns the union data inside the CreateManySecretsV4200JSONResponseBody as a CreateManySecretsV4200JSONResponseBody1+func (t CreateManySecretsV4200JSONResponseBody) AsCreateManySecretsV4200JSONResponseBody1() (CreateManySecretsV4200JSONResponseBody1, error) {+ var body CreateManySecretsV4200JSONResponseBody1+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r ListProjectMachineIdentitiesResponse) GetJSON200() *struct {- Identities []struct {- ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`- AuthMethods *[]string `json:"authMethods,omitempty"`- CreatedAt time.Time `json:"createdAt"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id openapi_types.UUID `json:"id"`- Metadata *[]struct {- Id string `json:"id"`- Key string `json:"key"`- Value string `json:"value"`- } `json:"metadata,omitempty"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- ProjectId *string `json:"projectId,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identities"`- TotalCount float32 `json:"totalCount"`-} {- return r.JSON200+// FromCreateManySecretsV4200JSONResponseBody1 overwrites any union data inside the CreateManySecretsV4200JSONResponseBody as the provided CreateManySecretsV4200JSONResponseBody1+func (t *CreateManySecretsV4200JSONResponseBody) FromCreateManySecretsV4200JSONResponseBody1(v CreateManySecretsV4200JSONResponseBody1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r ListProjectMachineIdentitiesResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+// MergeCreateManySecretsV4200JSONResponseBody1 performs a merge with any union data inside the CreateManySecretsV4200JSONResponseBody, using the provided CreateManySecretsV4200JSONResponseBody1+func (t *CreateManySecretsV4200JSONResponseBody) MergeCreateManySecretsV4200JSONResponseBody1(v CreateManySecretsV4200JSONResponseBody1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r ListProjectMachineIdentitiesResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+func (t CreateManySecretsV4200JSONResponseBody) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r ListProjectMachineIdentitiesResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+func (t *CreateManySecretsV4200JSONResponseBody) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r ListProjectMachineIdentitiesResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404+// AsDuplicateSecretV4200JSONResponseBodyResults0 returns the union data inside the DuplicateSecretV4200JSONResponseBody_Results_Item as a DuplicateSecretV4200JSONResponseBodyResults0+func (t DuplicateSecretV4200JSONResponseBody_Results_Item) AsDuplicateSecretV4200JSONResponseBodyResults0() (DuplicateSecretV4200JSONResponseBodyResults0, error) {+ var body DuplicateSecretV4200JSONResponseBodyResults0+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r ListProjectMachineIdentitiesResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+// FromDuplicateSecretV4200JSONResponseBodyResults0 overwrites any union data inside the DuplicateSecretV4200JSONResponseBody_Results_Item as the provided DuplicateSecretV4200JSONResponseBodyResults0+func (t *DuplicateSecretV4200JSONResponseBody_Results_Item) FromDuplicateSecretV4200JSONResponseBodyResults0(v DuplicateSecretV4200JSONResponseBodyResults0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r ListProjectMachineIdentitiesResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+// MergeDuplicateSecretV4200JSONResponseBodyResults0 performs a merge with any union data inside the DuplicateSecretV4200JSONResponseBody_Results_Item, using the provided DuplicateSecretV4200JSONResponseBodyResults0+func (t *DuplicateSecretV4200JSONResponseBody_Results_Item) MergeDuplicateSecretV4200JSONResponseBodyResults0(v DuplicateSecretV4200JSONResponseBodyResults0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetBody returns the raw response body bytes-func (r ListProjectMachineIdentitiesResponse) GetBody() []byte {- return r.Body+// AsDuplicateSecretV4200JSONResponseBodyResults1 returns the union data inside the DuplicateSecretV4200JSONResponseBody_Results_Item as a DuplicateSecretV4200JSONResponseBodyResults1+func (t DuplicateSecretV4200JSONResponseBody_Results_Item) AsDuplicateSecretV4200JSONResponseBodyResults1() (DuplicateSecretV4200JSONResponseBodyResults1, error) {+ var body DuplicateSecretV4200JSONResponseBodyResults1+ err := json.Unmarshal(t.union, &body)+ return body, err}-// Status returns HTTPResponse.Status-func (r ListProjectMachineIdentitiesResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status+// FromDuplicateSecretV4200JSONResponseBodyResults1 overwrites any union data inside the DuplicateSecretV4200JSONResponseBody_Results_Item as the provided DuplicateSecretV4200JSONResponseBodyResults1+func (t *DuplicateSecretV4200JSONResponseBody_Results_Item) FromDuplicateSecretV4200JSONResponseBodyResults1(v DuplicateSecretV4200JSONResponseBodyResults1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeDuplicateSecretV4200JSONResponseBodyResults1 performs a merge with any union data inside the DuplicateSecretV4200JSONResponseBody_Results_Item, using the provided DuplicateSecretV4200JSONResponseBodyResults1+func (t *DuplicateSecretV4200JSONResponseBody_Results_Item) MergeDuplicateSecretV4200JSONResponseBodyResults1(v DuplicateSecretV4200JSONResponseBodyResults1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return http.StatusText(0)++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// StatusCode returns HTTPResponse.StatusCode-func (r ListProjectMachineIdentitiesResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode+func (t DuplicateSecretV4200JSONResponseBody_Results_Item) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}++func (t *DuplicateSecretV4200JSONResponseBody_Results_Item) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}++// AsDeleteSecretV4200JSONResponseBody0 returns the union data inside the DeleteSecretV4200JSONResponseBody as a DeleteSecretV4200JSONResponseBody0+func (t DeleteSecretV4200JSONResponseBody) AsDeleteSecretV4200JSONResponseBody0() (DeleteSecretV4200JSONResponseBody0, error) {+ var body DeleteSecretV4200JSONResponseBody0+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromDeleteSecretV4200JSONResponseBody0 overwrites any union data inside the DeleteSecretV4200JSONResponseBody as the provided DeleteSecretV4200JSONResponseBody0+func (t *DeleteSecretV4200JSONResponseBody) FromDeleteSecretV4200JSONResponseBody0(v DeleteSecretV4200JSONResponseBody0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeDeleteSecretV4200JSONResponseBody0 performs a merge with any union data inside the DeleteSecretV4200JSONResponseBody, using the provided DeleteSecretV4200JSONResponseBody0+func (t *DeleteSecretV4200JSONResponseBody) MergeDeleteSecretV4200JSONResponseBody0(v DeleteSecretV4200JSONResponseBody0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return 0++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r ListProjectMachineIdentitiesResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")+// AsDeleteSecretV4200JSONResponseBody1 returns the union data inside the DeleteSecretV4200JSONResponseBody as a DeleteSecretV4200JSONResponseBody1+func (t DeleteSecretV4200JSONResponseBody) AsDeleteSecretV4200JSONResponseBody1() (DeleteSecretV4200JSONResponseBody1, error) {+ var body DeleteSecretV4200JSONResponseBody1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromDeleteSecretV4200JSONResponseBody1 overwrites any union data inside the DeleteSecretV4200JSONResponseBody as the provided DeleteSecretV4200JSONResponseBody1+func (t *DeleteSecretV4200JSONResponseBody) FromDeleteSecretV4200JSONResponseBody1(v DeleteSecretV4200JSONResponseBody1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeDeleteSecretV4200JSONResponseBody1 performs a merge with any union data inside the DeleteSecretV4200JSONResponseBody, using the provided DeleteSecretV4200JSONResponseBody1+func (t *DeleteSecretV4200JSONResponseBody) MergeDeleteSecretV4200JSONResponseBody1(v DeleteSecretV4200JSONResponseBody1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}- return ""++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-type CreateProjectMachineIdentityResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- Identity struct {- ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`- AuthMethods *[]string `json:"authMethods,omitempty"`- CreatedAt time.Time `json:"createdAt"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id openapi_types.UUID `json:"id"`- Metadata *[]struct {- Id string `json:"id"`- Key string `json:"key"`- Value string `json:"value"`- } `json:"metadata,omitempty"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- ProjectId *string `json:"projectId,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identity"`- }- // 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 CreateProjectMachineIdentity400JSONResponseBodyStatusCode `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 CreateProjectMachineIdentity401JSONResponseBodyStatusCode `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 CreateProjectMachineIdentity403JSONResponseBodyStatusCode `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 CreateProjectMachineIdentity404JSONResponseBodyStatusCode `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 CreateProjectMachineIdentity422JSONResponseBodyStatusCode `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 CreateProjectMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`- }+func (t DeleteSecretV4200JSONResponseBody) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r CreateProjectMachineIdentityResponse) GetJSON200() *struct {- Identity struct {- ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`- AuthMethods *[]string `json:"authMethods,omitempty"`- CreatedAt time.Time `json:"createdAt"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id openapi_types.UUID `json:"id"`- Metadata *[]struct {- Id string `json:"id"`- Key string `json:"key"`- Value string `json:"value"`- } `json:"metadata,omitempty"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- ProjectId *string `json:"projectId,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identity"`-} {- return r.JSON200+func (t *DeleteSecretV4200JSONResponseBody) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r CreateProjectMachineIdentityResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+// AsUpdateSecretV4200JSONResponseBody0 returns the union data inside the UpdateSecretV4200JSONResponseBody as a UpdateSecretV4200JSONResponseBody0+func (t UpdateSecretV4200JSONResponseBody) AsUpdateSecretV4200JSONResponseBody0() (UpdateSecretV4200JSONResponseBody0, error) {+ var body UpdateSecretV4200JSONResponseBody0+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r CreateProjectMachineIdentityResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+// FromUpdateSecretV4200JSONResponseBody0 overwrites any union data inside the UpdateSecretV4200JSONResponseBody as the provided UpdateSecretV4200JSONResponseBody0+func (t *UpdateSecretV4200JSONResponseBody) FromUpdateSecretV4200JSONResponseBody0(v UpdateSecretV4200JSONResponseBody0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r CreateProjectMachineIdentityResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+// MergeUpdateSecretV4200JSONResponseBody0 performs a merge with any union data inside the UpdateSecretV4200JSONResponseBody, using the provided UpdateSecretV4200JSONResponseBody0+func (t *UpdateSecretV4200JSONResponseBody) MergeUpdateSecretV4200JSONResponseBody0(v UpdateSecretV4200JSONResponseBody0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r CreateProjectMachineIdentityResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404+// AsUpdateSecretV4200JSONResponseBody1 returns the union data inside the UpdateSecretV4200JSONResponseBody as a UpdateSecretV4200JSONResponseBody1+func (t UpdateSecretV4200JSONResponseBody) AsUpdateSecretV4200JSONResponseBody1() (UpdateSecretV4200JSONResponseBody1, error) {+ var body UpdateSecretV4200JSONResponseBody1+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r CreateProjectMachineIdentityResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+// FromUpdateSecretV4200JSONResponseBody1 overwrites any union data inside the UpdateSecretV4200JSONResponseBody as the provided UpdateSecretV4200JSONResponseBody1+func (t *UpdateSecretV4200JSONResponseBody) FromUpdateSecretV4200JSONResponseBody1(v UpdateSecretV4200JSONResponseBody1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r CreateProjectMachineIdentityResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+// MergeUpdateSecretV4200JSONResponseBody1 performs a merge with any union data inside the UpdateSecretV4200JSONResponseBody, using the provided UpdateSecretV4200JSONResponseBody1+func (t *UpdateSecretV4200JSONResponseBody) MergeUpdateSecretV4200JSONResponseBody1(v UpdateSecretV4200JSONResponseBody1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetBody returns the raw response body bytes-func (r CreateProjectMachineIdentityResponse) GetBody() []byte {- return r.Body+func (t UpdateSecretV4200JSONResponseBody) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// Status returns HTTPResponse.Status-func (r CreateProjectMachineIdentityResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status- }- return http.StatusText(0)+func (t *UpdateSecretV4200JSONResponseBody) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err}-// StatusCode returns HTTPResponse.StatusCode-func (r CreateProjectMachineIdentityResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode- }- return 0+// AsCreateSecretV4200JSONResponseBody0 returns the union data inside the CreateSecretV4200JSONResponseBody as a CreateSecretV4200JSONResponseBody0+func (t CreateSecretV4200JSONResponseBody) AsCreateSecretV4200JSONResponseBody0() (CreateSecretV4200JSONResponseBody0, error) {+ var body CreateSecretV4200JSONResponseBody0+ err := json.Unmarshal(t.union, &body)+ return body, err}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r CreateProjectMachineIdentityResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")- }- return ""+// FromCreateSecretV4200JSONResponseBody0 overwrites any union data inside the CreateSecretV4200JSONResponseBody as the provided CreateSecretV4200JSONResponseBody0+func (t *CreateSecretV4200JSONResponseBody) FromCreateSecretV4200JSONResponseBody0(v CreateSecretV4200JSONResponseBody0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-type InviteProjectMembersResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- Memberships []struct {- CreatedAt time.Time `json:"createdAt"`- Id openapi_types.UUID `json:"id"`- ProjectId string `json:"projectId"`- UpdatedAt time.Time `json:"updatedAt"`- UserId openapi_types.UUID `json:"userId"`- } `json:"memberships"`- }- // 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 InviteProjectMembers400JSONResponseBodyStatusCode `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 InviteProjectMembers401JSONResponseBodyStatusCode `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 InviteProjectMembers403JSONResponseBodyStatusCode `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 InviteProjectMembers404JSONResponseBodyStatusCode `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 InviteProjectMembers422JSONResponseBodyStatusCode `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 InviteProjectMembers500JSONResponseBodyStatusCode `json:"statusCode"`+// MergeCreateSecretV4200JSONResponseBody0 performs a merge with any union data inside the CreateSecretV4200JSONResponseBody, using the provided CreateSecretV4200JSONResponseBody0+func (t *CreateSecretV4200JSONResponseBody) MergeCreateSecretV4200JSONResponseBody0(v CreateSecretV4200JSONResponseBody0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err}-}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r InviteProjectMembersResponse) GetJSON200() *struct {- Memberships []struct {- CreatedAt time.Time `json:"createdAt"`- Id openapi_types.UUID `json:"id"`- ProjectId string `json:"projectId"`- UpdatedAt time.Time `json:"updatedAt"`- UserId openapi_types.UUID `json:"userId"`- } `json:"memberships"`-} {- return r.JSON200+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r InviteProjectMembersResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+// AsCreateSecretV4200JSONResponseBody1 returns the union data inside the CreateSecretV4200JSONResponseBody as a CreateSecretV4200JSONResponseBody1+func (t CreateSecretV4200JSONResponseBody) AsCreateSecretV4200JSONResponseBody1() (CreateSecretV4200JSONResponseBody1, error) {+ var body CreateSecretV4200JSONResponseBody1+ err := json.Unmarshal(t.union, &body)+ return body, err}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r InviteProjectMembersResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+// FromCreateSecretV4200JSONResponseBody1 overwrites any union data inside the CreateSecretV4200JSONResponseBody as the provided CreateSecretV4200JSONResponseBody1+func (t *CreateSecretV4200JSONResponseBody) FromCreateSecretV4200JSONResponseBody1(v CreateSecretV4200JSONResponseBody1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r InviteProjectMembersResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403-}+// MergeCreateSecretV4200JSONResponseBody1 performs a merge with any union data inside the CreateSecretV4200JSONResponseBody, using the provided CreateSecretV4200JSONResponseBody1+func (t *CreateSecretV4200JSONResponseBody) MergeCreateSecretV4200JSONResponseBody1(v CreateSecretV4200JSONResponseBody1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r InviteProjectMembersResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404+ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err}-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r InviteProjectMembersResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+func (t CreateSecretV4200JSONResponseBody) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r InviteProjectMembersResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+func (t *CreateSecretV4200JSONResponseBody) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err}-// GetBody returns the raw response body bytes-func (r InviteProjectMembersResponse) GetBody() []byte {- return r.Body-}+// RequestEditorFn is the function signature for the RequestEditor callback function+type RequestEditorFn func(ctx context.Context, req *http.Request) error-// Status returns HTTPResponse.Status-func (r InviteProjectMembersResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status- }- return http.StatusText(0)+// Doer performs HTTP requests.+//+// The standard http.Client implements this interface.+type HttpRequestDoer interface {+ Do(req *http.Request) (*http.Response, error)}-// StatusCode returns HTTPResponse.StatusCode-func (r InviteProjectMembersResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode- }- return 0-}+// Client which conforms to the OpenAPI3 specification for this service.+type Client struct {+ // The endpoint of the server conforming to this interface, with scheme,+ // https://api.deepmap.com for example. This can contain a path relative+ // to the server, such as https://api.deepmap.com/dev-test, and all the+ // paths in the swagger spec will be appended to the server.+ Server string-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r InviteProjectMembersResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")- }- return ""+ // Doer for performing requests, typically a *http.Client with any+ // customized settings, such as certificate chains.+ Client HttpRequestDoer++ // A list of callbacks for modifying requests which are generated before sending over+ // the network.+ RequestEditors []RequestEditorFn}-type CreateProjectIdentityMembershipResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- IdentityMembership struct {- CreatedAt time.Time `json:"createdAt"`- Id openapi_types.UUID `json:"id"`- IdentityId openapi_types.UUID `json:"identityId"`- ProjectId string `json:"projectId"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identityMembership"`- }- // 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 CreateProjectIdentityMembership400JSONResponseBodyStatusCode `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 CreateProjectIdentityMembership401JSONResponseBodyStatusCode `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 CreateProjectIdentityMembership403JSONResponseBodyStatusCode `json:"statusCode"`+// ClientOption allows setting custom parameters during construction+type ClientOption func(*Client) error++// Creates a new Client, with reasonable defaults+func NewClient(server string, opts ...ClientOption) (*Client, error) {+ // create a client with sane default values+ client := Client{+ Server: server,}- // 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 CreateProjectIdentityMembership404JSONResponseBodyStatusCode `json:"statusCode"`+ // mutate client and add all optional params+ for _, o := range opts {+ if err := o(&client); err != nil {+ return nil, err+ }}- // 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 CreateProjectIdentityMembership422JSONResponseBodyStatusCode `json:"statusCode"`+ // ensure the server URL always has a trailing slash+ if !strings.HasSuffix(client.Server, "/") {+ client.Server += "/"}- // 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 CreateProjectIdentityMembership500JSONResponseBodyStatusCode `json:"statusCode"`+ // create httpClient, if not already present+ if client.Client == nil {+ client.Client = &http.Client{}}+ return &client, nil}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r CreateProjectIdentityMembershipResponse) GetJSON200() *struct {- IdentityMembership struct {- CreatedAt time.Time `json:"createdAt"`- Id openapi_types.UUID `json:"id"`- IdentityId openapi_types.UUID `json:"identityId"`- ProjectId string `json:"projectId"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identityMembership"`-} {- return r.JSON200+// WithHTTPClient allows overriding the default Doer, which is+// automatically created using http.Client. This is useful for tests.+func WithHTTPClient(doer HttpRequestDoer) ClientOption {+ return func(c *Client) error {+ c.Client = doer+ return nil+ }}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r CreateProjectIdentityMembershipResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+// WithRequestEditorFn allows setting up a callback function, which will be+// called right before sending the request. This can be used to mutate the request.+func WithRequestEditorFn(fn RequestEditorFn) ClientOption {+ return func(c *Client) error {+ c.RequestEditors = append(c.RequestEditors, fn)+ return nil+ }}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r CreateProjectIdentityMembershipResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401-}+// The interface specification for the client above.+type ClientInterface interface {-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r CreateProjectIdentityMembershipResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403-}+ // GetInstanceStatus performs a GET /api/status (the `GetInstanceStatus` operationId) request.+ //+ // Get the status of the Infisical instance and the features configured on it. Public and unauthenticated; used by liveness and readiness probes and exempt from the API-wide rate limit.+ GetInstanceStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r CreateProjectIdentityMembershipResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404-}+ // AdminBootstrapWithBody performs a POST /api/v1/admin/bootstrap (the `AdminBootstrap` operationId) request,+ // with any type of body and a specified content type.+ AdminBootstrapWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r CreateProjectIdentityMembershipResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422-}+ // AdminBootstrap performs a POST /api/v1/admin/bootstrap (the `AdminBootstrap` operationId) request.+ // Takes a body of the `application/json` content type.+ AdminBootstrap(ctx context.Context, body AdminBootstrapJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r CreateProjectIdentityMembershipResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500-}+ // UpdateAdminConfigWithBody performs a PATCH /api/v1/admin/config (the `UpdateAdminConfig` operationId) request,+ // with any type of body and a specified content type.+ UpdateAdminConfigWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetBody returns the raw response body bytes-func (r CreateProjectIdentityMembershipResponse) GetBody() []byte {- return r.Body-}+ // UpdateAdminConfig performs a PATCH /api/v1/admin/config (the `UpdateAdminConfig` operationId) request.+ // Takes a body of the `application/json` content type.+ UpdateAdminConfig(ctx context.Context, body UpdateAdminConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-// Status returns HTTPResponse.Status-func (r CreateProjectIdentityMembershipResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status- }- return http.StatusText(0)-}+ // CreateGitHubAppConnectionWithBody performs a POST /api/v1/app-connections/github (the `CreateGitHubAppConnection` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create a GitHub Connection.+ CreateGitHubAppConnectionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)-// StatusCode returns HTTPResponse.StatusCode-func (r CreateProjectIdentityMembershipResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode- }- return 0-}+ // CreateGitHubAppConnection performs a POST /api/v1/app-connections/github (the `CreateGitHubAppConnection` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Create a GitHub Connection.+ CreateGitHubAppConnection(ctx context.Context, body CreateGitHubAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r CreateProjectIdentityMembershipResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")- }- return ""-}+ // DeleteGitHubAppConnection performs a DELETE /api/v1/app-connections/github/{connectionId} (the `DeleteGitHubAppConnection` operationId) request.+ //+ // Delete the specified GitHub Connection.+ DeleteGitHubAppConnection(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)-type CreateGitHubSecretSyncResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- SecretSync struct {- Connection struct {- App CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- } `json:"connection"`- ConnectionId openapi_types.UUID `json:"connectionId"`- CreatedAt time.Time `json:"createdAt"`- Description *string `json:"description,omitempty"`- Destination CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`- DestinationConfig CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`- Environment *struct {- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"environment"`- Folder *struct {- Id string `json:"id"`- Path string `json:"path"`- } `json:"folder"`- FolderId *openapi_types.UUID `json:"folderId,omitempty"`- Id openapi_types.UUID `json:"id"`- ImportStatus *string `json:"importStatus,omitempty"`- IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`- LastImportJobId *string `json:"lastImportJobId,omitempty"`- LastImportMessage *string `json:"lastImportMessage,omitempty"`- LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`- LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`- LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`- LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`- LastSyncJobId *string `json:"lastSyncJobId,omitempty"`- LastSyncMessage *string `json:"lastSyncMessage,omitempty"`- LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`- Name string `json:"name"`- ProjectId string `json:"projectId"`- RemoveStatus *string `json:"removeStatus,omitempty"`+ // RefreshAuthToken performs a POST /api/v1/auth/token (the `RefreshAuthToken` operationId) request.+ RefreshAuthToken(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)- // SyncOptions Optional parameters to modify how secrets are synced.- SyncOptions struct {- // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.- DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`+ // AttachUniversalAuthWithBody performs a POST /api/v1/auth/universal-auth/identities/{identityId} (the `AttachUniversalAuth` operationId) request,+ // with any type of body and a specified content type.+ //+ // Attach Universal Auth configuration onto machine identity.+ AttachUniversalAuthWithBody(ctx context.Context, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)- // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.- IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`+ // AttachUniversalAuth performs a POST /api/v1/auth/universal-auth/identities/{identityId} (the `AttachUniversalAuth` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Attach Universal Auth configuration onto machine identity.+ AttachUniversalAuth(ctx context.Context, identityId string, body AttachUniversalAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)- // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.- InitialSyncBehavior CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`+ // CreateUniversalAuthClientSecretWithBody performs a POST /api/v1/auth/universal-auth/identities/{identityId}/client-secrets (the `CreateUniversalAuthClientSecret` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create Universal Auth Client Secret for machine identity.+ CreateUniversalAuthClientSecretWithBody(ctx context.Context, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)- // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.- KeySchema *string `json:"keySchema,omitempty"`- } `json:"syncOptions"`- SyncStatus *string `json:"syncStatus,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`- } `json:"secretSync"`- }- // 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 CreateGitHubSecretSync400JSONResponseBodyStatusCode `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 CreateGitHubSecretSync401JSONResponseBodyStatusCode `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 CreateGitHubSecretSync403JSONResponseBodyStatusCode `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 CreateGitHubSecretSync404JSONResponseBodyStatusCode `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 CreateGitHubSecretSync422JSONResponseBodyStatusCode `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 CreateGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`- }-}+ // CreateUniversalAuthClientSecret performs a POST /api/v1/auth/universal-auth/identities/{identityId}/client-secrets (the `CreateUniversalAuthClientSecret` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Create Universal Auth Client Secret for machine identity.+ CreateUniversalAuthClientSecret(ctx context.Context, identityId string, body CreateUniversalAuthClientSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r CreateGitHubSecretSyncResponse) GetJSON200() *struct {- SecretSync struct {- Connection struct {- App CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- } `json:"connection"`- ConnectionId openapi_types.UUID `json:"connectionId"`- CreatedAt time.Time `json:"createdAt"`- Description *string `json:"description,omitempty"`- Destination CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`- DestinationConfig CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`- Environment *struct {- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"environment"`- Folder *struct {- Id string `json:"id"`- Path string `json:"path"`- } `json:"folder"`- FolderId *openapi_types.UUID `json:"folderId,omitempty"`- Id openapi_types.UUID `json:"id"`- ImportStatus *string `json:"importStatus,omitempty"`- IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`- LastImportJobId *string `json:"lastImportJobId,omitempty"`- LastImportMessage *string `json:"lastImportMessage,omitempty"`- LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`- LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`- LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`- LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`- LastSyncJobId *string `json:"lastSyncJobId,omitempty"`- LastSyncMessage *string `json:"lastSyncMessage,omitempty"`- LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`- Name string `json:"name"`- ProjectId string `json:"projectId"`- RemoveStatus *string `json:"removeStatus,omitempty"`+ // LoginWithUniversalAuthWithBody performs a POST /api/v1/auth/universal-auth/login (the `LoginWithUniversalAuth` operationId) request,+ // with any type of body and a specified content type.+ //+ // Login with Universal Auth for machine identity.+ LoginWithUniversalAuthWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)- // SyncOptions Optional parameters to modify how secrets are synced.- SyncOptions struct {- // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.- DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`-- // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.- IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`+ // LoginWithUniversalAuth performs a POST /api/v1/auth/universal-auth/login (the `LoginWithUniversalAuth` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Login with Universal Auth for machine identity.+ LoginWithUniversalAuth(ctx context.Context, body LoginWithUniversalAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)- // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.- InitialSyncBehavior CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`+ // CreateMachineIdentityWithBody performs a POST /api/v1/identities (the `CreateMachineIdentity` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create machine identity.+ CreateMachineIdentityWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)- // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.- KeySchema *string `json:"keySchema,omitempty"`- } `json:"syncOptions"`- SyncStatus *string `json:"syncStatus,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`- } `json:"secretSync"`-} {- return r.JSON200-}+ // CreateMachineIdentity performs a POST /api/v1/identities (the `CreateMachineIdentity` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Create machine identity.+ CreateMachineIdentity(ctx context.Context, body CreateMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r CreateGitHubSecretSyncResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400-}+ // InviteUsersToOrganizationWithBody performs a POST /api/v1/invite-org/signup (the `InviteUsersToOrganization` operationId) request,+ // with any type of body and a specified content type.+ InviteUsersToOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r CreateGitHubSecretSyncResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401-}+ // InviteUsersToOrganization performs a POST /api/v1/invite-org/signup (the `InviteUsersToOrganization` operationId) request.+ // Takes a body of the `application/json` content type.+ InviteUsersToOrganization(ctx context.Context, body InviteUsersToOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r CreateGitHubSecretSyncResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403-}+ // VerifyUserToOrganizationWithBody performs a POST /api/v1/invite-org/verify (the `VerifyUserToOrganization` operationId) request,+ // with any type of body and a specified content type.+ VerifyUserToOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r CreateGitHubSecretSyncResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404-}+ // VerifyUserToOrganization performs a POST /api/v1/invite-org/verify (the `VerifyUserToOrganization` operationId) request.+ // Takes a body of the `application/json` content type.+ VerifyUserToOrganization(ctx context.Context, body VerifyUserToOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r CreateGitHubSecretSyncResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422-}+ // UpdateOrganizationWithBody performs a PATCH /api/v1/organization/{organizationId} (the `UpdateOrganization` operationId) request,+ // with any type of body and a specified content type.+ UpdateOrganizationWithBody(ctx context.Context, organizationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r CreateGitHubSecretSyncResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500-}+ // UpdateOrganization performs a PATCH /api/v1/organization/{organizationId} (the `UpdateOrganization` operationId) request.+ // Takes a body of the `application/json` content type.+ UpdateOrganization(ctx context.Context, organizationId string, body UpdateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetBody returns the raw response body bytes-func (r CreateGitHubSecretSyncResponse) GetBody() []byte {- return r.Body-}+ // GetOrganizationPlan performs a GET /api/v1/organizations/{organizationId}/plan (the `GetOrganizationPlan` operationId) request.+ GetOrganizationPlan(ctx context.Context, organizationId string, params *GetOrganizationPlanParams, reqEditors ...RequestEditorFn) (*http.Response, error)-// Status returns HTTPResponse.Status-func (r CreateGitHubSecretSyncResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status- }- return http.StatusText(0)-}+ // CreateProjectFolderGrantWithBody performs a POST /api/v1/project-folder-grants (the `CreateProjectFolderGrant` operationId) request,+ // with any type of body and a specified content type.+ CreateProjectFolderGrantWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)-// StatusCode returns HTTPResponse.StatusCode-func (r CreateGitHubSecretSyncResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode- }- return 0-}+ // CreateProjectFolderGrant performs a POST /api/v1/project-folder-grants (the `CreateProjectFolderGrant` operationId) request.+ // Takes a body of the `application/json` content type.+ CreateProjectFolderGrant(ctx context.Context, body CreateProjectFolderGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r CreateGitHubSecretSyncResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")- }- return ""-}+ // DeleteProjectFolderGrant performs a DELETE /api/v1/project-folder-grants/{grantId} (the `DeleteProjectFolderGrant` operationId) request.+ DeleteProjectFolderGrant(ctx context.Context, grantId openapi_types.UUID, params *DeleteProjectFolderGrantParams, reqEditors ...RequestEditorFn) (*http.Response, error)-type DeleteGitHubSecretSyncResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- SecretSync struct {- Connection struct {- App DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- } `json:"connection"`- ConnectionId openapi_types.UUID `json:"connectionId"`- CreatedAt time.Time `json:"createdAt"`- Description *string `json:"description,omitempty"`- Destination DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`- DestinationConfig DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`- Environment *struct {- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"environment"`- Folder *struct {- Id string `json:"id"`- Path string `json:"path"`- } `json:"folder"`- FolderId *openapi_types.UUID `json:"folderId,omitempty"`- Id openapi_types.UUID `json:"id"`- ImportStatus *string `json:"importStatus,omitempty"`- IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`- LastImportJobId *string `json:"lastImportJobId,omitempty"`- LastImportMessage *string `json:"lastImportMessage,omitempty"`- LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`- LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`- LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`- LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`- LastSyncJobId *string `json:"lastSyncJobId,omitempty"`- LastSyncMessage *string `json:"lastSyncMessage,omitempty"`- LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`- Name string `json:"name"`- ProjectId string `json:"projectId"`- RemoveStatus *string `json:"removeStatus,omitempty"`+ // CreateProjectWithBody performs a POST /api/v1/projects (the `CreateProject` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create a new project.+ CreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)- // SyncOptions Optional parameters to modify how secrets are synced.- SyncOptions struct {- // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.- DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`+ // CreateProject performs a POST /api/v1/projects (the `CreateProject` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Create a new project.+ CreateProject(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)- // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.- IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`+ // ListProjectMachineIdentities performs a GET /api/v1/projects/{projectId}/identities (the `ListProjectMachineIdentities` operationId) request.+ //+ // List identities in a project.+ ListProjectMachineIdentities(ctx context.Context, projectId string, params *ListProjectMachineIdentitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)- // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.- InitialSyncBehavior DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`+ // CreateProjectMachineIdentityWithBody performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create an identity in a project.+ CreateProjectMachineIdentityWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)- // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.- KeySchema *string `json:"keySchema,omitempty"`- } `json:"syncOptions"`- SyncStatus *string `json:"syncStatus,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`- } `json:"secretSync"`- }- // 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 DeleteGitHubSecretSync400JSONResponseBodyStatusCode `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 DeleteGitHubSecretSync401JSONResponseBodyStatusCode `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 DeleteGitHubSecretSync403JSONResponseBodyStatusCode `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 DeleteGitHubSecretSync404JSONResponseBodyStatusCode `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 DeleteGitHubSecretSync422JSONResponseBodyStatusCode `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 DeleteGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`- }-}+ // CreateProjectMachineIdentity performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Create an identity in a project.+ CreateProjectMachineIdentity(ctx context.Context, projectId string, body CreateProjectMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r DeleteGitHubSecretSyncResponse) GetJSON200() *struct {- SecretSync struct {- Connection struct {- App DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- } `json:"connection"`- ConnectionId openapi_types.UUID `json:"connectionId"`- CreatedAt time.Time `json:"createdAt"`- Description *string `json:"description,omitempty"`- Destination DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`- DestinationConfig DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`- Environment *struct {- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"environment"`- Folder *struct {- Id string `json:"id"`- Path string `json:"path"`- } `json:"folder"`- FolderId *openapi_types.UUID `json:"folderId,omitempty"`- Id openapi_types.UUID `json:"id"`- ImportStatus *string `json:"importStatus,omitempty"`- IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`- LastImportJobId *string `json:"lastImportJobId,omitempty"`- LastImportMessage *string `json:"lastImportMessage,omitempty"`- LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`- LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`- LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`- LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`- LastSyncJobId *string `json:"lastSyncJobId,omitempty"`- LastSyncMessage *string `json:"lastSyncMessage,omitempty"`- LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`- Name string `json:"name"`- ProjectId string `json:"projectId"`- RemoveStatus *string `json:"removeStatus,omitempty"`+ // InviteProjectMembersWithBody performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request,+ // with any type of body and a specified content type.+ //+ // Invite members to project.+ InviteProjectMembersWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)- // SyncOptions Optional parameters to modify how secrets are synced.- SyncOptions struct {- // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.- DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`+ // InviteProjectMembers performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Invite members to project.+ InviteProjectMembers(ctx context.Context, projectId string, body InviteProjectMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)- // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.- IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`+ // CreateProjectIdentityMembershipWithBody performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create project identity membership.+ CreateProjectIdentityMembershipWithBody(ctx context.Context, projectId string, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)- // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.- InitialSyncBehavior DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`+ // CreateProjectIdentityMembership performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Create project identity membership.+ CreateProjectIdentityMembership(ctx context.Context, projectId string, identityId string, body CreateProjectIdentityMembershipJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)- // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.- KeySchema *string `json:"keySchema,omitempty"`- } `json:"syncOptions"`- SyncStatus *string `json:"syncStatus,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`- } `json:"secretSync"`-} {- return r.JSON200-}+ // CreateIdentityFolderAccessWithBody performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId}/secret-folder-access (the `CreateIdentityFolderAccess` operationId) request,+ // with any type of body and a specified content type.+ //+ // Grant a machine identity access to a folder.+ CreateIdentityFolderAccessWithBody(ctx context.Context, projectId string, identityId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r DeleteGitHubSecretSyncResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400-}+ // CreateIdentityFolderAccess performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId}/secret-folder-access (the `CreateIdentityFolderAccess` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Grant a machine identity access to a folder.+ CreateIdentityFolderAccess(ctx context.Context, projectId string, identityId openapi_types.UUID, body CreateIdentityFolderAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r DeleteGitHubSecretSyncResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401-}+ // CreateSecretTagWithBody performs a POST /api/v1/projects/{projectId}/tags (the `CreateSecretTag` operationId) request,+ // with any type of body and a specified content type.+ CreateSecretTagWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r DeleteGitHubSecretSyncResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403-}+ // CreateSecretTag performs a POST /api/v1/projects/{projectId}/tags (the `CreateSecretTag` operationId) request.+ // Takes a body of the `application/json` content type.+ CreateSecretTag(ctx context.Context, projectId string, body CreateSecretTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r DeleteGitHubSecretSyncResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404-}+ // ListSecretApprovalRequests performs a GET /api/v1/secret-approval-requests (the `ListSecretApprovalRequests` operationId) request.+ ListSecretApprovalRequests(ctx context.Context, params *ListSecretApprovalRequestsParams, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r DeleteGitHubSecretSyncResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422-}+ // GetSecretApprovalRequestCount performs a GET /api/v1/secret-approval-requests/count (the `GetSecretApprovalRequestCount` operationId) request.+ GetSecretApprovalRequestCount(ctx context.Context, params *GetSecretApprovalRequestCountParams, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r DeleteGitHubSecretSyncResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500-}+ // GetSecretApprovalRequest performs a GET /api/v1/secret-approval-requests/{id} (the `GetSecretApprovalRequest` operationId) request.+ GetSecretApprovalRequest(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetBody returns the raw response body bytes-func (r DeleteGitHubSecretSyncResponse) GetBody() []byte {- return r.Body-}+ // MergeSecretApprovalRequestWithBody performs a POST /api/v1/secret-approval-requests/{id}/merge (the `MergeSecretApprovalRequest` operationId) request,+ // with any type of body and a specified content type.+ MergeSecretApprovalRequestWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)-// Status returns HTTPResponse.Status-func (r DeleteGitHubSecretSyncResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status- }- return http.StatusText(0)-}+ // MergeSecretApprovalRequest performs a POST /api/v1/secret-approval-requests/{id}/merge (the `MergeSecretApprovalRequest` operationId) request.+ // Takes a body of the `application/json` content type.+ MergeSecretApprovalRequest(ctx context.Context, id openapi_types.UUID, body MergeSecretApprovalRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-// StatusCode returns HTTPResponse.StatusCode-func (r DeleteGitHubSecretSyncResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode- }- return 0-}+ // ReviewSecretApprovalRequestWithBody performs a POST /api/v1/secret-approval-requests/{id}/review (the `ReviewSecretApprovalRequest` operationId) request,+ // with any type of body and a specified content type.+ ReviewSecretApprovalRequestWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r DeleteGitHubSecretSyncResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")- }- return ""-}+ // ReviewSecretApprovalRequest performs a POST /api/v1/secret-approval-requests/{id}/review (the `ReviewSecretApprovalRequest` operationId) request.+ // Takes a body of the `application/json` content type.+ ReviewSecretApprovalRequest(ctx context.Context, id openapi_types.UUID, body ReviewSecretApprovalRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-type GetGitHubSecretSyncResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- SecretSync struct {- Connection struct {- App GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- } `json:"connection"`- ConnectionId openapi_types.UUID `json:"connectionId"`- CreatedAt time.Time `json:"createdAt"`- Description *string `json:"description,omitempty"`- Destination GetGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`- DestinationConfig GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`- Environment *struct {- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"environment"`- Folder *struct {- Id string `json:"id"`- Path string `json:"path"`- } `json:"folder"`- FolderId *openapi_types.UUID `json:"folderId,omitempty"`- Id openapi_types.UUID `json:"id"`- ImportStatus *string `json:"importStatus,omitempty"`- IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`- LastImportJobId *string `json:"lastImportJobId,omitempty"`- LastImportMessage *string `json:"lastImportMessage,omitempty"`- LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`- LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`- LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`- LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`- LastSyncJobId *string `json:"lastSyncJobId,omitempty"`- LastSyncMessage *string `json:"lastSyncMessage,omitempty"`- LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`- Name string `json:"name"`- ProjectId string `json:"projectId"`- RemoveStatus *string `json:"removeStatus,omitempty"`+ // UpdateSecretApprovalRequestStatusWithBody performs a POST /api/v1/secret-approval-requests/{id}/status (the `UpdateSecretApprovalRequestStatus` operationId) request,+ // with any type of body and a specified content type.+ UpdateSecretApprovalRequestStatusWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)- // SyncOptions Optional parameters to modify how secrets are synced.- SyncOptions struct {- // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.- DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`+ // UpdateSecretApprovalRequestStatus performs a POST /api/v1/secret-approval-requests/{id}/status (the `UpdateSecretApprovalRequestStatus` operationId) request.+ // Takes a body of the `application/json` content type.+ UpdateSecretApprovalRequestStatus(ctx context.Context, id openapi_types.UUID, body UpdateSecretApprovalRequestStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)- // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.- IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`+ // CreateGitHubSecretSyncWithBody performs a POST /api/v1/secret-syncs/github (the `CreateGitHubSecretSync` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create a GitHub Sync for the specified project environment.+ CreateGitHubSecretSyncWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)- // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.- InitialSyncBehavior GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`+ // CreateGitHubSecretSync performs a POST /api/v1/secret-syncs/github (the `CreateGitHubSecretSync` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Create a GitHub Sync for the specified project environment.+ CreateGitHubSecretSync(ctx context.Context, body CreateGitHubSecretSyncJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)- // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.- KeySchema *string `json:"keySchema,omitempty"`- } `json:"syncOptions"`- SyncStatus *string `json:"syncStatus,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`- } `json:"secretSync"`- }- // 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 GetGitHubSecretSync400JSONResponseBodyStatusCode `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 GetGitHubSecretSync401JSONResponseBodyStatusCode `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 GetGitHubSecretSync403JSONResponseBodyStatusCode `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 GetGitHubSecretSync404JSONResponseBodyStatusCode `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 GetGitHubSecretSync422JSONResponseBodyStatusCode `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 GetGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`- }-}+ // DeleteGitHubSecretSync performs a DELETE /api/v1/secret-syncs/github/{syncId} (the `DeleteGitHubSecretSync` operationId) request.+ //+ // Delete the specified GitHub Sync.+ DeleteGitHubSecretSync(ctx context.Context, syncId openapi_types.UUID, params *DeleteGitHubSecretSyncParams, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r GetGitHubSecretSyncResponse) GetJSON200() *struct {- SecretSync struct {- Connection struct {- App GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- } `json:"connection"`- ConnectionId openapi_types.UUID `json:"connectionId"`- CreatedAt time.Time `json:"createdAt"`- Description *string `json:"description,omitempty"`- Destination GetGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`- DestinationConfig GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`- Environment *struct {- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"environment"`- Folder *struct {- Id string `json:"id"`- Path string `json:"path"`- } `json:"folder"`- FolderId *openapi_types.UUID `json:"folderId,omitempty"`- Id openapi_types.UUID `json:"id"`- ImportStatus *string `json:"importStatus,omitempty"`- IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`- LastImportJobId *string `json:"lastImportJobId,omitempty"`- LastImportMessage *string `json:"lastImportMessage,omitempty"`- LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`- LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`- LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`- LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`- LastSyncJobId *string `json:"lastSyncJobId,omitempty"`- LastSyncMessage *string `json:"lastSyncMessage,omitempty"`- LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`- Name string `json:"name"`- ProjectId string `json:"projectId"`- RemoveStatus *string `json:"removeStatus,omitempty"`+ // GetGitHubSecretSync performs a GET /api/v1/secret-syncs/github/{syncId} (the `GetGitHubSecretSync` operationId) request.+ //+ // Get the specified GitHub Sync by ID.+ GetGitHubSecretSync(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)- // SyncOptions Optional parameters to modify how secrets are synced.- SyncOptions struct {- // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.- DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`+ // RemoveGitHubSecretSyncSecrets performs a POST /api/v1/secret-syncs/github/{syncId}/remove-secrets (the `RemoveGitHubSecretSyncSecrets` operationId) request.+ //+ // Remove previously synced secrets from the specified GitHub Sync destination.+ RemoveGitHubSecretSyncSecrets(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)- // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.- IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`+ // SyncGitHubSecretSync performs a POST /api/v1/secret-syncs/github/{syncId}/sync-secrets (the `SyncGitHubSecretSync` operationId) request.+ //+ // Trigger a sync for the specified GitHub Sync.+ SyncGitHubSecretSync(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)- // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.- InitialSyncBehavior GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`+ // CreateSecretFolderWithBody performs a POST /api/v2/folders (the `CreateSecretFolder` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create folders.+ CreateSecretFolderWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)- // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.- KeySchema *string `json:"keySchema,omitempty"`- } `json:"syncOptions"`- SyncStatus *string `json:"syncStatus,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`- } `json:"secretSync"`-} {- return r.JSON200-}+ // CreateSecretFolder performs a POST /api/v2/folders (the `CreateSecretFolder` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Create folders.+ CreateSecretFolder(ctx context.Context, body CreateSecretFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r GetGitHubSecretSyncResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetGitHubSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400-}+ // CreateOrganizationWithBody performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request,+ // with any type of body and a specified content type.+ CreateOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r GetGitHubSecretSyncResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetGitHubSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401-}+ // CreateOrganization performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request.+ // Takes a body of the `application/json` content type.+ CreateOrganization(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r GetGitHubSecretSyncResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetGitHubSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403-}+ // DeleteOrganization performs a DELETE /api/v2/organizations/{organizationId} (the `DeleteOrganization` operationId) request.+ DeleteOrganization(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r GetGitHubSecretSyncResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetGitHubSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404-}+ // CreateSecretApprovalPolicyWithBody performs a POST /api/v2/secret-approvals (the `CreateSecretApprovalPolicy` operationId) request,+ // with any type of body and a specified content type.+ CreateSecretApprovalPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r GetGitHubSecretSyncResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode GetGitHubSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422-}+ // CreateSecretApprovalPolicy performs a POST /api/v2/secret-approvals (the `CreateSecretApprovalPolicy` operationId) request.+ // Takes a body of the `application/json` content type.+ CreateSecretApprovalPolicy(ctx context.Context, body CreateSecretApprovalPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r GetGitHubSecretSyncResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500-}+ // GetSecretApprovalPolicyBoard performs a GET /api/v2/secret-approvals/board (the `GetSecretApprovalPolicyBoard` operationId) request.+ GetSecretApprovalPolicyBoard(ctx context.Context, params *GetSecretApprovalPolicyBoardParams, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetBody returns the raw response body bytes-func (r GetGitHubSecretSyncResponse) GetBody() []byte {- return r.Body-}+ // DeleteSecretApprovalPolicy performs a DELETE /api/v2/secret-approvals/{sapId} (the `DeleteSecretApprovalPolicy` operationId) request.+ DeleteSecretApprovalPolicy(ctx context.Context, sapId string, reqEditors ...RequestEditorFn) (*http.Response, error)-// Status returns HTTPResponse.Status-func (r GetGitHubSecretSyncResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status- }- return http.StatusText(0)-}+ // GetSecretApprovalPolicy performs a GET /api/v2/secret-approvals/{sapId} (the `GetSecretApprovalPolicy` operationId) request.+ GetSecretApprovalPolicy(ctx context.Context, sapId string, reqEditors ...RequestEditorFn) (*http.Response, error)-// StatusCode returns HTTPResponse.StatusCode-func (r GetGitHubSecretSyncResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode- }- return 0-}+ // UpdateSecretApprovalPolicyWithBody performs a PATCH /api/v2/secret-approvals/{sapId} (the `UpdateSecretApprovalPolicy` operationId) request,+ // with any type of body and a specified content type.+ UpdateSecretApprovalPolicyWithBody(ctx context.Context, sapId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r GetGitHubSecretSyncResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")- }- return ""-}+ // UpdateSecretApprovalPolicy performs a PATCH /api/v2/secret-approvals/{sapId} (the `UpdateSecretApprovalPolicy` operationId) request.+ // Takes a body of the `application/json` content type.+ UpdateSecretApprovalPolicy(ctx context.Context, sapId string, body UpdateSecretApprovalPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-type RemoveGitHubSecretSyncSecretsResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- SecretSync struct {- Connection struct {- App RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp `json:"app"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- } `json:"connection"`- ConnectionId openapi_types.UUID `json:"connectionId"`- CreatedAt time.Time `json:"createdAt"`- Description *string `json:"description,omitempty"`- Destination RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination `json:"destination"`- DestinationConfig RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`- Environment *struct {- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"environment"`- Folder *struct {- Id string `json:"id"`- Path string `json:"path"`- } `json:"folder"`- FolderId *openapi_types.UUID `json:"folderId,omitempty"`- Id openapi_types.UUID `json:"id"`- ImportStatus *string `json:"importStatus,omitempty"`- IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`- LastImportJobId *string `json:"lastImportJobId,omitempty"`- LastImportMessage *string `json:"lastImportMessage,omitempty"`- LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`- LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`- LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`- LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`- LastSyncJobId *string `json:"lastSyncJobId,omitempty"`- LastSyncMessage *string `json:"lastSyncMessage,omitempty"`- LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`- Name string `json:"name"`- ProjectId string `json:"projectId"`- RemoveStatus *string `json:"removeStatus,omitempty"`+ // CreateSecretImportWithBody performs a POST /api/v2/secret-imports (the `CreateSecretImport` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create secret imports.+ CreateSecretImportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)- // SyncOptions Optional parameters to modify how secrets are synced.- SyncOptions struct {- // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.- DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`+ // CreateSecretImport performs a POST /api/v2/secret-imports (the `CreateSecretImport` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Create secret imports.+ CreateSecretImport(ctx context.Context, body CreateSecretImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)- // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.- IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`+ // LoginV3WithBody performs a POST /api/v3/auth/login (the `LoginV3` operationId) request,+ // with any type of body and a specified content type.+ LoginV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)- // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.- InitialSyncBehavior RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`+ // LoginV3 performs a POST /api/v3/auth/login (the `LoginV3` operationId) request.+ // Takes a body of the `application/json` content type.+ LoginV3(ctx context.Context, body LoginV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)- // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.- KeySchema *string `json:"keySchema,omitempty"`- } `json:"syncOptions"`- SyncStatus *string `json:"syncStatus,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`- } `json:"secretSync"`- }- // 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 RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode `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 RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode `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 RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode `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 RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode `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 RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode `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 RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode `json:"statusCode"`- }-}+ // SelectOrganizationV3WithBody performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request,+ // with any type of body and a specified content type.+ SelectOrganizationV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r RemoveGitHubSecretSyncSecretsResponse) GetJSON200() *struct {- SecretSync struct {- Connection struct {- App RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp `json:"app"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- } `json:"connection"`- ConnectionId openapi_types.UUID `json:"connectionId"`- CreatedAt time.Time `json:"createdAt"`- Description *string `json:"description,omitempty"`- Destination RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination `json:"destination"`- DestinationConfig RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`- Environment *struct {- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"environment"`- Folder *struct {- Id string `json:"id"`- Path string `json:"path"`- } `json:"folder"`- FolderId *openapi_types.UUID `json:"folderId,omitempty"`- Id openapi_types.UUID `json:"id"`- ImportStatus *string `json:"importStatus,omitempty"`- IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`- LastImportJobId *string `json:"lastImportJobId,omitempty"`- LastImportMessage *string `json:"lastImportMessage,omitempty"`- LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`- LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`- LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`- LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`- LastSyncJobId *string `json:"lastSyncJobId,omitempty"`- LastSyncMessage *string `json:"lastSyncMessage,omitempty"`- LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`- Name string `json:"name"`- ProjectId string `json:"projectId"`- RemoveStatus *string `json:"removeStatus,omitempty"`+ // SelectOrganizationV3 performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request.+ // Takes a body of the `application/json` content type.+ SelectOrganizationV3(ctx context.Context, body SelectOrganizationV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)- // SyncOptions Optional parameters to modify how secrets are synced.- SyncOptions struct {- // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.- DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`+ // CompleteAccountSignupV3WithBody performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request,+ // with any type of body and a specified content type.+ CompleteAccountSignupV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)- // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.- IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`+ // CompleteAccountSignupV3 performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request.+ // Takes a body of the `application/json` content type.+ CompleteAccountSignupV3(ctx context.Context, body CompleteAccountSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)- // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.- InitialSyncBehavior RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`+ // BeginEmailSignupV3WithBody performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request,+ // with any type of body and a specified content type.+ BeginEmailSignupV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)- // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.- KeySchema *string `json:"keySchema,omitempty"`- } `json:"syncOptions"`- SyncStatus *string `json:"syncStatus,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`- } `json:"secretSync"`-} {- return r.JSON200-}+ // BeginEmailSignupV3 performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request.+ // Takes a body of the `application/json` content type.+ BeginEmailSignupV3(ctx context.Context, body BeginEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r RemoveGitHubSecretSyncSecretsResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400-}+ // VerifyEmailSignupV3WithBody performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request,+ // with any type of body and a specified content type.+ VerifyEmailSignupV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r RemoveGitHubSecretSyncSecretsResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401-}+ // VerifyEmailSignupV3 performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request.+ // Takes a body of the `application/json` content type.+ VerifyEmailSignupV3(ctx context.Context, body VerifyEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r RemoveGitHubSecretSyncSecretsResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403-}+ // ListSecretsV4 performs a GET /api/v4/secrets (the `ListSecretsV4` operationId) request.+ //+ // List secrets.+ ListSecretsV4(ctx context.Context, params *ListSecretsV4Params, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r RemoveGitHubSecretSyncSecretsResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404-}+ // DeleteManySecretsV4WithBody performs a DELETE /api/v4/secrets/batch (the `DeleteManySecretsV4` operationId) request,+ // with any type of body and a specified content type.+ //+ // Delete many secrets.+ DeleteManySecretsV4WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r RemoveGitHubSecretSyncSecretsResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422-}+ // DeleteManySecretsV4 performs a DELETE /api/v4/secrets/batch (the `DeleteManySecretsV4` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Delete many secrets.+ DeleteManySecretsV4(ctx context.Context, body DeleteManySecretsV4JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r RemoveGitHubSecretSyncSecretsResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500-}+ // UpdateManySecretsV4WithBody performs a PATCH /api/v4/secrets/batch (the `UpdateManySecretsV4` operationId) request,+ // with any type of body and a specified content type.+ //+ // Update many secrets.+ UpdateManySecretsV4WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetBody returns the raw response body bytes-func (r RemoveGitHubSecretSyncSecretsResponse) GetBody() []byte {- return r.Body-}+ // UpdateManySecretsV4 performs a PATCH /api/v4/secrets/batch (the `UpdateManySecretsV4` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Update many secrets.+ UpdateManySecretsV4(ctx context.Context, body UpdateManySecretsV4JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-// Status returns HTTPResponse.Status-func (r RemoveGitHubSecretSyncSecretsResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status- }- return http.StatusText(0)-}+ // CreateManySecretsV4WithBody performs a POST /api/v4/secrets/batch (the `CreateManySecretsV4` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create many secrets.+ CreateManySecretsV4WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)-// StatusCode returns HTTPResponse.StatusCode-func (r RemoveGitHubSecretSyncSecretsResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode- }- return 0-}+ // CreateManySecretsV4 performs a POST /api/v4/secrets/batch (the `CreateManySecretsV4` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Create many secrets.+ CreateManySecretsV4(ctx context.Context, body CreateManySecretsV4JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r RemoveGitHubSecretSyncSecretsResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")- }- return ""-}+ // DuplicateSecretV4WithBody performs a POST /api/v4/secrets/duplicate (the `DuplicateSecretV4` operationId) request,+ // with any type of body and a specified content type.+ //+ // Duplicate one or more static secrets into another environment.+ DuplicateSecretV4WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)-type SyncGitHubSecretSyncResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- SecretSync struct {- Connection struct {- App SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- } `json:"connection"`- ConnectionId openapi_types.UUID `json:"connectionId"`- CreatedAt time.Time `json:"createdAt"`- Description *string `json:"description,omitempty"`- Destination SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`- DestinationConfig SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`- Environment *struct {- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"environment"`- Folder *struct {- Id string `json:"id"`- Path string `json:"path"`- } `json:"folder"`- FolderId *openapi_types.UUID `json:"folderId,omitempty"`- Id openapi_types.UUID `json:"id"`- ImportStatus *string `json:"importStatus,omitempty"`- IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`- LastImportJobId *string `json:"lastImportJobId,omitempty"`- LastImportMessage *string `json:"lastImportMessage,omitempty"`- LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`- LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`- LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`- LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`- LastSyncJobId *string `json:"lastSyncJobId,omitempty"`- LastSyncMessage *string `json:"lastSyncMessage,omitempty"`- LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`- Name string `json:"name"`- ProjectId string `json:"projectId"`- RemoveStatus *string `json:"removeStatus,omitempty"`+ // DuplicateSecretV4 performs a POST /api/v4/secrets/duplicate (the `DuplicateSecretV4` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Duplicate one or more static secrets into another environment.+ DuplicateSecretV4(ctx context.Context, body DuplicateSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)- // SyncOptions Optional parameters to modify how secrets are synced.- SyncOptions struct {- // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.- DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`+ // GetSecretByIdV4 performs a GET /api/v4/secrets/id/{secretId} (the `GetSecretByIdV4` operationId) request.+ GetSecretByIdV4(ctx context.Context, secretId string, reqEditors ...RequestEditorFn) (*http.Response, error)- // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.- IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`+ // MoveSecretsV4WithBody performs a POST /api/v4/secrets/move (the `MoveSecretsV4` operationId) request,+ // with any type of body and a specified content type.+ MoveSecretsV4WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)- // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.- InitialSyncBehavior SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`+ // MoveSecretsV4 performs a POST /api/v4/secrets/move (the `MoveSecretsV4` operationId) request.+ // Takes a body of the `application/json` content type.+ MoveSecretsV4(ctx context.Context, body MoveSecretsV4JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)- // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.- KeySchema *string `json:"keySchema,omitempty"`- } `json:"syncOptions"`- SyncStatus *string `json:"syncStatus,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`- } `json:"secretSync"`- }- // 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 SyncGitHubSecretSync400JSONResponseBodyStatusCode `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 SyncGitHubSecretSync401JSONResponseBodyStatusCode `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 SyncGitHubSecretSync403JSONResponseBodyStatusCode `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 SyncGitHubSecretSync404JSONResponseBodyStatusCode `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 SyncGitHubSecretSync422JSONResponseBodyStatusCode `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 SyncGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`- }-}+ // DeleteSecretV4WithBody performs a DELETE /api/v4/secrets/{secretName} (the `DeleteSecretV4` operationId) request,+ // with any type of body and a specified content type.+ //+ // Delete secret.+ DeleteSecretV4WithBody(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r SyncGitHubSecretSyncResponse) GetJSON200() *struct {- SecretSync struct {- Connection struct {- App SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- } `json:"connection"`- ConnectionId openapi_types.UUID `json:"connectionId"`- CreatedAt time.Time `json:"createdAt"`- Description *string `json:"description,omitempty"`- Destination SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`- DestinationConfig SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`- Environment *struct {- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"environment"`- Folder *struct {- Id string `json:"id"`- Path string `json:"path"`- } `json:"folder"`- FolderId *openapi_types.UUID `json:"folderId,omitempty"`- Id openapi_types.UUID `json:"id"`- ImportStatus *string `json:"importStatus,omitempty"`- IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`- LastImportJobId *string `json:"lastImportJobId,omitempty"`- LastImportMessage *string `json:"lastImportMessage,omitempty"`- LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`- LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`- LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`- LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`- LastSyncJobId *string `json:"lastSyncJobId,omitempty"`- LastSyncMessage *string `json:"lastSyncMessage,omitempty"`- LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`- Name string `json:"name"`- ProjectId string `json:"projectId"`- RemoveStatus *string `json:"removeStatus,omitempty"`+ // DeleteSecretV4 performs a DELETE /api/v4/secrets/{secretName} (the `DeleteSecretV4` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Delete secret.+ DeleteSecretV4(ctx context.Context, secretName string, body DeleteSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)- // SyncOptions Optional parameters to modify how secrets are synced.- SyncOptions struct {- // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.- DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`+ // GetSecretByNameV4 performs a GET /api/v4/secrets/{secretName} (the `GetSecretByNameV4` operationId) request.+ //+ // Get a secret by name.+ GetSecretByNameV4(ctx context.Context, secretName string, params *GetSecretByNameV4Params, reqEditors ...RequestEditorFn) (*http.Response, error)- // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.- IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`+ // UpdateSecretV4WithBody performs a PATCH /api/v4/secrets/{secretName} (the `UpdateSecretV4` operationId) request,+ // with any type of body and a specified content type.+ //+ // Update secret.+ UpdateSecretV4WithBody(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)- // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.- InitialSyncBehavior SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`+ // UpdateSecretV4 performs a PATCH /api/v4/secrets/{secretName} (the `UpdateSecretV4` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Update secret.+ UpdateSecretV4(ctx context.Context, secretName string, body UpdateSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)- // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.- KeySchema *string `json:"keySchema,omitempty"`- } `json:"syncOptions"`- SyncStatus *string `json:"syncStatus,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`- } `json:"secretSync"`-} {- return r.JSON200-}+ // CreateSecretV4WithBody performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create secret.+ CreateSecretV4WithBody(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r SyncGitHubSecretSyncResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SyncGitHubSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400-}+ // CreateSecretV4 performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Create secret.+ CreateSecretV4(ctx context.Context, secretName string, body CreateSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r SyncGitHubSecretSyncResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SyncGitHubSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401-}+ // GetSecretReferencesV4 performs a GET /api/v4/secrets/{secretName}/reference-dependency-tree (the `GetSecretReferencesV4` operationId) request.+ //+ // Get secret reference dependency tree.+ GetSecretReferencesV4(ctx context.Context, secretName string, params *GetSecretReferencesV4Params, reqEditors ...RequestEditorFn) (*http.Response, error)-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r SyncGitHubSecretSyncResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SyncGitHubSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+ // GetSecretReferenceTreeV4 performs a GET /api/v4/secrets/{secretName}/secret-reference-tree (the `GetSecretReferenceTreeV4` operationId) request.+ //+ // Get secret reference tree.+ GetSecretReferenceTreeV4(ctx context.Context, secretName string, params *GetSecretReferenceTreeV4Params, reqEditors ...RequestEditorFn) (*http.Response, error)}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r SyncGitHubSecretSyncResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SyncGitHubSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404+// GetInstanceStatus performs a GET /api/status (the `GetInstanceStatus` operationId) request.+//+// Get the status of the Infisical instance and the features configured on it. Public and unauthenticated; used by liveness and readiness probes and exempt from the API-wide rate limit.+func (c *Client) GetInstanceStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewGetInstanceStatusRequest(c.Server)+ 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)}-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r SyncGitHubSecretSyncResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode SyncGitHubSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+// AdminBootstrapWithBody performs a POST /api/v1/admin/bootstrap (the `AdminBootstrap` operationId) request,+// with any type of body and a specified content type.+func (c *Client) AdminBootstrapWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewAdminBootstrapRequestWithBody(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)}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r SyncGitHubSecretSyncResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SyncGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+// AdminBootstrap performs a POST /api/v1/admin/bootstrap (the `AdminBootstrap` operationId) request.+// Takes a body of the `application/json` content type.+func (c *Client) AdminBootstrap(ctx context.Context, body AdminBootstrapJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewAdminBootstrapRequest(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)}-// GetBody returns the raw response body bytes-func (r SyncGitHubSecretSyncResponse) GetBody() []byte {- return r.Body+// UpdateAdminConfigWithBody performs a PATCH /api/v1/admin/config (the `UpdateAdminConfig` operationId) request,+// with any type of body and a specified content type.+func (c *Client) UpdateAdminConfigWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewUpdateAdminConfigRequestWithBody(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)}-// Status returns HTTPResponse.Status-func (r SyncGitHubSecretSyncResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status+// UpdateAdminConfig performs a PATCH /api/v1/admin/config (the `UpdateAdminConfig` operationId) request.+// Takes a body of the `application/json` content type.+func (c *Client) UpdateAdminConfig(ctx context.Context, body UpdateAdminConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewUpdateAdminConfigRequest(c.Server, body)+ if err != nil {+ return nil, err}- return http.StatusText(0)+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)}-// StatusCode returns HTTPResponse.StatusCode-func (r SyncGitHubSecretSyncResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode+// CreateGitHubAppConnectionWithBody performs a POST /api/v1/app-connections/github (the `CreateGitHubAppConnection` operationId) request,+// with any type of body and a specified content type.+//+// Create a GitHub Connection.+func (c *Client) CreateGitHubAppConnectionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateGitHubAppConnectionRequestWithBody(c.Server, contentType, body)+ if err != nil {+ return nil, err}- return 0+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r SyncGitHubSecretSyncResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")+// CreateGitHubAppConnection performs a POST /api/v1/app-connections/github (the `CreateGitHubAppConnection` operationId) request.+// Takes a body of the `application/json` content type.+//+// Create a GitHub Connection.+func (c *Client) CreateGitHubAppConnection(ctx context.Context, body CreateGitHubAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateGitHubAppConnectionRequest(c.Server, body)+ if err != nil {+ return nil, err}- return ""+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)}-type CreateOrganizationResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- Organization struct {- AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`- AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`- AuthEnforced *bool `json:"authEnforced,omitempty"`- BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`- BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`- CreatedAt time.Time `json:"createdAt"`- CustomerId *string `json:"customerId,omitempty"`- DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`- EnforceMfa *bool `json:"enforceMfa,omitempty"`- GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`- Id openapi_types.UUID `json:"id"`- KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`- KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`- MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`- MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`- Name string `json:"name"`- ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`- PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`- PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`- PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`- RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`- ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`- ScimEnabled *bool `json:"scimEnabled,omitempty"`- SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`- SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`- SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`- ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`- ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`- Slug string `json:"slug"`- UpdatedAt time.Time `json:"updatedAt"`- UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`- } `json:"organization"`- }- // 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 CreateOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+// DeleteGitHubAppConnection performs a DELETE /api/v1/app-connections/github/{connectionId} (the `DeleteGitHubAppConnection` operationId) request.+//+// Delete the specified GitHub Connection.+func (c *Client) DeleteGitHubAppConnection(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewDeleteGitHubAppConnectionRequest(c.Server, connectionId)+ if err != nil {+ return nil, err}- // 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 CreateOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err}- // 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 CreateOrganization403JSONResponseBodyStatusCode `json:"statusCode"`+ return c.Client.Do(req)+}++// RefreshAuthToken performs a POST /api/v1/auth/token (the `RefreshAuthToken` operationId) request.+func (c *Client) RefreshAuthToken(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewRefreshAuthTokenRequest(c.Server)+ if err != nil {+ return nil, err}- // 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 CreateOrganization404JSONResponseBodyStatusCode `json:"statusCode"`+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err}- // 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 CreateOrganization422JSONResponseBodyStatusCode `json:"statusCode"`+ return c.Client.Do(req)+}++// AttachUniversalAuthWithBody performs a POST /api/v1/auth/universal-auth/identities/{identityId} (the `AttachUniversalAuth` operationId) request,+// with any type of body and a specified content type.+//+// Attach Universal Auth configuration onto machine identity.+func (c *Client) AttachUniversalAuthWithBody(ctx context.Context, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewAttachUniversalAuthRequestWithBody(c.Server, identityId, contentType, body)+ if err != nil {+ return nil, err}- // 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 CreateOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err}+ return c.Client.Do(req)}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r CreateOrganizationResponse) GetJSON200() *struct {- Organization struct {- AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`- AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`- AuthEnforced *bool `json:"authEnforced,omitempty"`- BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`- BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`- CreatedAt time.Time `json:"createdAt"`- CustomerId *string `json:"customerId,omitempty"`- DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`- EnforceMfa *bool `json:"enforceMfa,omitempty"`- GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`- Id openapi_types.UUID `json:"id"`- KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`- KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`- MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`- MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`- Name string `json:"name"`- ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`- PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`- PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`- PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`- RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`- ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`- ScimEnabled *bool `json:"scimEnabled,omitempty"`- SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`- SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`- SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`- ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`- ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`- Slug string `json:"slug"`- UpdatedAt time.Time `json:"updatedAt"`- UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`- } `json:"organization"`-} {- return r.JSON200+// AttachUniversalAuth performs a POST /api/v1/auth/universal-auth/identities/{identityId} (the `AttachUniversalAuth` operationId) request.+// Takes a body of the `application/json` content type.+//+// Attach Universal Auth configuration onto machine identity.+func (c *Client) AttachUniversalAuth(ctx context.Context, identityId string, body AttachUniversalAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewAttachUniversalAuthRequest(c.Server, identityId, 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)}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r CreateOrganizationResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+// CreateUniversalAuthClientSecretWithBody performs a POST /api/v1/auth/universal-auth/identities/{identityId}/client-secrets (the `CreateUniversalAuthClientSecret` operationId) request,+// with any type of body and a specified content type.+//+// Create Universal Auth Client Secret for machine identity.+func (c *Client) CreateUniversalAuthClientSecretWithBody(ctx context.Context, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateUniversalAuthClientSecretRequestWithBody(c.Server, identityId, 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)}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r CreateOrganizationResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+// CreateUniversalAuthClientSecret performs a POST /api/v1/auth/universal-auth/identities/{identityId}/client-secrets (the `CreateUniversalAuthClientSecret` operationId) request.+// Takes a body of the `application/json` content type.+//+// Create Universal Auth Client Secret for machine identity.+func (c *Client) CreateUniversalAuthClientSecret(ctx context.Context, identityId string, body CreateUniversalAuthClientSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateUniversalAuthClientSecretRequest(c.Server, identityId, 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)}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r CreateOrganizationResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+// LoginWithUniversalAuthWithBody performs a POST /api/v1/auth/universal-auth/login (the `LoginWithUniversalAuth` operationId) request,+// with any type of body and a specified content type.+//+// Login with Universal Auth for machine identity.+func (c *Client) LoginWithUniversalAuthWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewLoginWithUniversalAuthRequestWithBody(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)}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r CreateOrganizationResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404+// LoginWithUniversalAuth performs a POST /api/v1/auth/universal-auth/login (the `LoginWithUniversalAuth` operationId) request.+// Takes a body of the `application/json` content type.+//+// Login with Universal Auth for machine identity.+func (c *Client) LoginWithUniversalAuth(ctx context.Context, body LoginWithUniversalAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewLoginWithUniversalAuthRequest(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)}-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r CreateOrganizationResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+// CreateMachineIdentityWithBody performs a POST /api/v1/identities (the `CreateMachineIdentity` operationId) request,+// with any type of body and a specified content type.+//+// Create machine identity.+func (c *Client) CreateMachineIdentityWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateMachineIdentityRequestWithBody(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)}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r CreateOrganizationResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+// CreateMachineIdentity performs a POST /api/v1/identities (the `CreateMachineIdentity` operationId) request.+// Takes a body of the `application/json` content type.+//+// Create machine identity.+func (c *Client) CreateMachineIdentity(ctx context.Context, body CreateMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateMachineIdentityRequest(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)}-// GetBody returns the raw response body bytes-func (r CreateOrganizationResponse) GetBody() []byte {- return r.Body+// InviteUsersToOrganizationWithBody performs a POST /api/v1/invite-org/signup (the `InviteUsersToOrganization` operationId) request,+// with any type of body and a specified content type.+func (c *Client) InviteUsersToOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewInviteUsersToOrganizationRequestWithBody(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)}-// Status returns HTTPResponse.Status-func (r CreateOrganizationResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status+// InviteUsersToOrganization performs a POST /api/v1/invite-org/signup (the `InviteUsersToOrganization` operationId) request.+// Takes a body of the `application/json` content type.+func (c *Client) InviteUsersToOrganization(ctx context.Context, body InviteUsersToOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewInviteUsersToOrganizationRequest(c.Server, body)+ if err != nil {+ return nil, err}- return http.StatusText(0)+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)}-// StatusCode returns HTTPResponse.StatusCode-func (r CreateOrganizationResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode+// VerifyUserToOrganizationWithBody performs a POST /api/v1/invite-org/verify (the `VerifyUserToOrganization` operationId) request,+// with any type of body and a specified content type.+func (c *Client) VerifyUserToOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewVerifyUserToOrganizationRequestWithBody(c.Server, contentType, body)+ if err != nil {+ return nil, err}- return 0+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r CreateOrganizationResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")+// VerifyUserToOrganization performs a POST /api/v1/invite-org/verify (the `VerifyUserToOrganization` operationId) request.+// Takes a body of the `application/json` content type.+func (c *Client) VerifyUserToOrganization(ctx context.Context, body VerifyUserToOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewVerifyUserToOrganizationRequest(c.Server, body)+ if err != nil {+ return nil, err}- return ""+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)}-type DeleteOrganizationResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- AccessToken string `json:"accessToken"`- Organization struct {- AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`- AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`- AuthEnforced *bool `json:"authEnforced,omitempty"`- BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`- BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`- CreatedAt time.Time `json:"createdAt"`- CustomerId *string `json:"customerId,omitempty"`- DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`- EnforceMfa *bool `json:"enforceMfa,omitempty"`- GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`- Id openapi_types.UUID `json:"id"`- KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`- KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`- MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`- MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`- Name string `json:"name"`- ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`- PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`- PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`- PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`- RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`- ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`- ScimEnabled *bool `json:"scimEnabled,omitempty"`- SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`- SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`- SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`- ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`- ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`- Slug string `json:"slug"`- UpdatedAt time.Time `json:"updatedAt"`- UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`- } `json:"organization"`- }- // 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 DeleteOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+// UpdateOrganizationWithBody performs a PATCH /api/v1/organization/{organizationId} (the `UpdateOrganization` operationId) request,+// with any type of body and a specified content type.+func (c *Client) UpdateOrganizationWithBody(ctx context.Context, organizationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewUpdateOrganizationRequestWithBody(c.Server, organizationId, contentType, body)+ if err != nil {+ return nil, err}- // 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 DeleteOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err}- // 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 DeleteOrganization403JSONResponseBodyStatusCode `json:"statusCode"`+ return c.Client.Do(req)+}++// UpdateOrganization performs a PATCH /api/v1/organization/{organizationId} (the `UpdateOrganization` operationId) request.+// Takes a body of the `application/json` content type.+func (c *Client) UpdateOrganization(ctx context.Context, organizationId string, body UpdateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewUpdateOrganizationRequest(c.Server, organizationId, body)+ if err != nil {+ return nil, err}- // 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 DeleteOrganization404JSONResponseBodyStatusCode `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 DeleteOrganization422JSONResponseBodyStatusCode `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 DeleteOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err}+ return c.Client.Do(req)}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r DeleteOrganizationResponse) GetJSON200() *struct {- AccessToken string `json:"accessToken"`- Organization struct {- AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`- AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`- AuthEnforced *bool `json:"authEnforced,omitempty"`- BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`- BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`- CreatedAt time.Time `json:"createdAt"`- CustomerId *string `json:"customerId,omitempty"`- DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`- EnforceMfa *bool `json:"enforceMfa,omitempty"`- GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`- Id openapi_types.UUID `json:"id"`- KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`- KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`- MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`- MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`- Name string `json:"name"`- ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`- PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`- PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`- PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`- RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`- ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`- ScimEnabled *bool `json:"scimEnabled,omitempty"`- SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`- SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`- SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`- ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`- ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`- Slug string `json:"slug"`- UpdatedAt time.Time `json:"updatedAt"`- UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`- } `json:"organization"`-} {- return r.JSON200+// GetOrganizationPlan performs a GET /api/v1/organizations/{organizationId}/plan (the `GetOrganizationPlan` operationId) request.+func (c *Client) GetOrganizationPlan(ctx context.Context, organizationId string, params *GetOrganizationPlanParams, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewGetOrganizationPlanRequest(c.Server, organizationId, params)+ 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)}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r DeleteOrganizationResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+// CreateProjectFolderGrantWithBody performs a POST /api/v1/project-folder-grants (the `CreateProjectFolderGrant` operationId) request,+// with any type of body and a specified content type.+func (c *Client) CreateProjectFolderGrantWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateProjectFolderGrantRequestWithBody(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)}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r DeleteOrganizationResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+// CreateProjectFolderGrant performs a POST /api/v1/project-folder-grants (the `CreateProjectFolderGrant` operationId) request.+// Takes a body of the `application/json` content type.+func (c *Client) CreateProjectFolderGrant(ctx context.Context, body CreateProjectFolderGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateProjectFolderGrantRequest(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)}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r DeleteOrganizationResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+// DeleteProjectFolderGrant performs a DELETE /api/v1/project-folder-grants/{grantId} (the `DeleteProjectFolderGrant` operationId) request.+func (c *Client) DeleteProjectFolderGrant(ctx context.Context, grantId openapi_types.UUID, params *DeleteProjectFolderGrantParams, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewDeleteProjectFolderGrantRequest(c.Server, grantId, params)+ 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)}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r DeleteOrganizationResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404+// CreateProjectWithBody performs a POST /api/v1/projects (the `CreateProject` operationId) request,+// with any type of body and a specified content type.+//+// Create a new project.+func (c *Client) CreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateProjectRequestWithBody(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)}-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r DeleteOrganizationResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+// CreateProject performs a POST /api/v1/projects (the `CreateProject` operationId) request.+// Takes a body of the `application/json` content type.+//+// Create a new project.+func (c *Client) CreateProject(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateProjectRequest(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)}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r DeleteOrganizationResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+// ListProjectMachineIdentities performs a GET /api/v1/projects/{projectId}/identities (the `ListProjectMachineIdentities` operationId) request.+//+// List identities in a project.+func (c *Client) ListProjectMachineIdentities(ctx context.Context, projectId string, params *ListProjectMachineIdentitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewListProjectMachineIdentitiesRequest(c.Server, projectId, params)+ 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)}-// GetBody returns the raw response body bytes-func (r DeleteOrganizationResponse) GetBody() []byte {- return r.Body+// CreateProjectMachineIdentityWithBody performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` operationId) request,+// with any type of body and a specified content type.+//+// Create an identity in a project.+func (c *Client) CreateProjectMachineIdentityWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateProjectMachineIdentityRequestWithBody(c.Server, projectId, 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)}-// Status returns HTTPResponse.Status-func (r DeleteOrganizationResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status+// CreateProjectMachineIdentity performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` operationId) request.+// Takes a body of the `application/json` content type.+//+// Create an identity in a project.+func (c *Client) CreateProjectMachineIdentity(ctx context.Context, projectId string, body CreateProjectMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateProjectMachineIdentityRequest(c.Server, projectId, body)+ if err != nil {+ return nil, err}- return http.StatusText(0)+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)}-// StatusCode returns HTTPResponse.StatusCode-func (r DeleteOrganizationResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode+// InviteProjectMembersWithBody performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request,+// with any type of body and a specified content type.+//+// Invite members to project.+func (c *Client) InviteProjectMembersWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewInviteProjectMembersRequestWithBody(c.Server, projectId, contentType, body)+ if err != nil {+ return nil, err}- return 0+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r DeleteOrganizationResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")+// InviteProjectMembers performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request.+// Takes a body of the `application/json` content type.+//+// Invite members to project.+func (c *Client) InviteProjectMembers(ctx context.Context, projectId string, body InviteProjectMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewInviteProjectMembersRequest(c.Server, projectId, body)+ if err != nil {+ return nil, err}- return ""+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)}-type LoginV3Response struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- AccessToken string `json:"accessToken"`- }- // 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 LoginV3400JSONResponseBodyStatusCode `json:"statusCode"`+// CreateProjectIdentityMembershipWithBody performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request,+// with any type of body and a specified content type.+//+// Create project identity membership.+func (c *Client) CreateProjectIdentityMembershipWithBody(ctx context.Context, projectId string, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateProjectIdentityMembershipRequestWithBody(c.Server, projectId, identityId, contentType, body)+ if err != nil {+ return nil, err}- // 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 LoginV3401JSONResponseBodyStatusCode `json:"statusCode"`+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err}- // 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 LoginV3403JSONResponseBodyStatusCode `json:"statusCode"`+ return c.Client.Do(req)+}++// CreateProjectIdentityMembership performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request.+// Takes a body of the `application/json` content type.+//+// Create project identity membership.+func (c *Client) CreateProjectIdentityMembership(ctx context.Context, projectId string, identityId string, body CreateProjectIdentityMembershipJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateProjectIdentityMembershipRequest(c.Server, projectId, identityId, body)+ if err != nil {+ return nil, err}- // 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 LoginV3404JSONResponseBodyStatusCode `json:"statusCode"`+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err}- // 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 LoginV3422JSONResponseBodyStatusCode `json:"statusCode"`+ return c.Client.Do(req)+}++// CreateIdentityFolderAccessWithBody performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId}/secret-folder-access (the `CreateIdentityFolderAccess` operationId) request,+// with any type of body and a specified content type.+//+// Grant a machine identity access to a folder.+func (c *Client) CreateIdentityFolderAccessWithBody(ctx context.Context, projectId string, identityId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateIdentityFolderAccessRequestWithBody(c.Server, projectId, identityId, contentType, body)+ if err != nil {+ return nil, err}- // 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 LoginV3500JSONResponseBodyStatusCode `json:"statusCode"`+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err}+ return c.Client.Do(req)}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r LoginV3Response) GetJSON200() *struct {- AccessToken string `json:"accessToken"`-} {- return r.JSON200+// CreateIdentityFolderAccess performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId}/secret-folder-access (the `CreateIdentityFolderAccess` operationId) request.+// Takes a body of the `application/json` content type.+//+// Grant a machine identity access to a folder.+func (c *Client) CreateIdentityFolderAccess(ctx context.Context, projectId string, identityId openapi_types.UUID, body CreateIdentityFolderAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateIdentityFolderAccessRequest(c.Server, projectId, identityId, 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)}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r LoginV3Response) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginV3400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+// CreateSecretTagWithBody performs a POST /api/v1/projects/{projectId}/tags (the `CreateSecretTag` operationId) request,+// with any type of body and a specified content type.+func (c *Client) CreateSecretTagWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateSecretTagRequestWithBody(c.Server, projectId, 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)}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r LoginV3Response) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginV3401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+// CreateSecretTag performs a POST /api/v1/projects/{projectId}/tags (the `CreateSecretTag` operationId) request.+// Takes a body of the `application/json` content type.+func (c *Client) CreateSecretTag(ctx context.Context, projectId string, body CreateSecretTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateSecretTagRequest(c.Server, projectId, 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)}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r LoginV3Response) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginV3403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+// ListSecretApprovalRequests performs a GET /api/v1/secret-approval-requests (the `ListSecretApprovalRequests` operationId) request.+func (c *Client) ListSecretApprovalRequests(ctx context.Context, params *ListSecretApprovalRequestsParams, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewListSecretApprovalRequestsRequest(c.Server, params)+ 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)}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r LoginV3Response) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginV3404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404+// GetSecretApprovalRequestCount performs a GET /api/v1/secret-approval-requests/count (the `GetSecretApprovalRequestCount` operationId) request.+func (c *Client) GetSecretApprovalRequestCount(ctx context.Context, params *GetSecretApprovalRequestCountParams, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewGetSecretApprovalRequestCountRequest(c.Server, params)+ 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)}-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r LoginV3Response) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode LoginV3422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+// GetSecretApprovalRequest performs a GET /api/v1/secret-approval-requests/{id} (the `GetSecretApprovalRequest` operationId) request.+func (c *Client) GetSecretApprovalRequest(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewGetSecretApprovalRequestRequest(c.Server, id)+ 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)}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r LoginV3Response) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginV3500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+// MergeSecretApprovalRequestWithBody performs a POST /api/v1/secret-approval-requests/{id}/merge (the `MergeSecretApprovalRequest` operationId) request,+// with any type of body and a specified content type.+func (c *Client) MergeSecretApprovalRequestWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewMergeSecretApprovalRequestRequestWithBody(c.Server, id, 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)}-// GetBody returns the raw response body bytes-func (r LoginV3Response) GetBody() []byte {- return r.Body+// MergeSecretApprovalRequest performs a POST /api/v1/secret-approval-requests/{id}/merge (the `MergeSecretApprovalRequest` operationId) request.+// Takes a body of the `application/json` content type.+func (c *Client) MergeSecretApprovalRequest(ctx context.Context, id openapi_types.UUID, body MergeSecretApprovalRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewMergeSecretApprovalRequestRequest(c.Server, id, 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)}-// Status returns HTTPResponse.Status-func (r LoginV3Response) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status+// ReviewSecretApprovalRequestWithBody performs a POST /api/v1/secret-approval-requests/{id}/review (the `ReviewSecretApprovalRequest` operationId) request,+// with any type of body and a specified content type.+func (c *Client) ReviewSecretApprovalRequestWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewReviewSecretApprovalRequestRequestWithBody(c.Server, id, contentType, body)+ if err != nil {+ return nil, err}- return http.StatusText(0)+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)}-// StatusCode returns HTTPResponse.StatusCode-func (r LoginV3Response) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode+// ReviewSecretApprovalRequest performs a POST /api/v1/secret-approval-requests/{id}/review (the `ReviewSecretApprovalRequest` operationId) request.+// Takes a body of the `application/json` content type.+func (c *Client) ReviewSecretApprovalRequest(ctx context.Context, id openapi_types.UUID, body ReviewSecretApprovalRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewReviewSecretApprovalRequestRequest(c.Server, id, body)+ if err != nil {+ return nil, err}- return 0+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r LoginV3Response) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")+// UpdateSecretApprovalRequestStatusWithBody performs a POST /api/v1/secret-approval-requests/{id}/status (the `UpdateSecretApprovalRequestStatus` operationId) request,+// with any type of body and a specified content type.+func (c *Client) UpdateSecretApprovalRequestStatusWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewUpdateSecretApprovalRequestStatusRequestWithBody(c.Server, id, contentType, body)+ if err != nil {+ return nil, err}- return ""+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)}-type SelectOrganizationV3Response struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- IsMfaEnabled bool `json:"isMfaEnabled"`- MfaMethod *string `json:"mfaMethod,omitempty"`- Token string `json:"token"`+// UpdateSecretApprovalRequestStatus performs a POST /api/v1/secret-approval-requests/{id}/status (the `UpdateSecretApprovalRequestStatus` operationId) request.+// Takes a body of the `application/json` content type.+func (c *Client) UpdateSecretApprovalRequestStatus(ctx context.Context, id openapi_types.UUID, body UpdateSecretApprovalRequestStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewUpdateSecretApprovalRequestStatusRequest(c.Server, id, body)+ if err != nil {+ return nil, err}- // 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 SelectOrganizationV3400JSONResponseBodyStatusCode `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 SelectOrganizationV3401JSONResponseBodyStatusCode `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 SelectOrganizationV3403JSONResponseBodyStatusCode `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 SelectOrganizationV3404JSONResponseBodyStatusCode `json:"statusCode"`+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err}- // 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 SelectOrganizationV3422JSONResponseBodyStatusCode `json:"statusCode"`+ return c.Client.Do(req)+}++// CreateGitHubSecretSyncWithBody performs a POST /api/v1/secret-syncs/github (the `CreateGitHubSecretSync` operationId) request,+// with any type of body and a specified content type.+//+// Create a GitHub Sync for the specified project environment.+func (c *Client) CreateGitHubSecretSyncWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateGitHubSecretSyncRequestWithBody(c.Server, contentType, body)+ if err != nil {+ return nil, err}- // 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 SelectOrganizationV3500JSONResponseBodyStatusCode `json:"statusCode"`+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err}+ return c.Client.Do(req)}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r SelectOrganizationV3Response) GetJSON200() *struct {- IsMfaEnabled bool `json:"isMfaEnabled"`- MfaMethod *string `json:"mfaMethod,omitempty"`- Token string `json:"token"`-} {- return r.JSON200+// CreateGitHubSecretSync performs a POST /api/v1/secret-syncs/github (the `CreateGitHubSecretSync` operationId) request.+// Takes a body of the `application/json` content type.+//+// Create a GitHub Sync for the specified project environment.+func (c *Client) CreateGitHubSecretSync(ctx context.Context, body CreateGitHubSecretSyncJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateGitHubSecretSyncRequest(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)}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r SelectOrganizationV3Response) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+// DeleteGitHubSecretSync performs a DELETE /api/v1/secret-syncs/github/{syncId} (the `DeleteGitHubSecretSync` operationId) request.+//+// Delete the specified GitHub Sync.+func (c *Client) DeleteGitHubSecretSync(ctx context.Context, syncId openapi_types.UUID, params *DeleteGitHubSecretSyncParams, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewDeleteGitHubSecretSyncRequest(c.Server, syncId, params)+ 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)}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r SelectOrganizationV3Response) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+// GetGitHubSecretSync performs a GET /api/v1/secret-syncs/github/{syncId} (the `GetGitHubSecretSync` operationId) request.+//+// Get the specified GitHub Sync by ID.+func (c *Client) GetGitHubSecretSync(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewGetGitHubSecretSyncRequest(c.Server, syncId)+ 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)}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r SelectOrganizationV3Response) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+// RemoveGitHubSecretSyncSecrets performs a POST /api/v1/secret-syncs/github/{syncId}/remove-secrets (the `RemoveGitHubSecretSyncSecrets` operationId) request.+//+// Remove previously synced secrets from the specified GitHub Sync destination.+func (c *Client) RemoveGitHubSecretSyncSecrets(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewRemoveGitHubSecretSyncSecretsRequest(c.Server, syncId)+ 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)}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r SelectOrganizationV3Response) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404+// SyncGitHubSecretSync performs a POST /api/v1/secret-syncs/github/{syncId}/sync-secrets (the `SyncGitHubSecretSync` operationId) request.+//+// Trigger a sync for the specified GitHub Sync.+func (c *Client) SyncGitHubSecretSync(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewSyncGitHubSecretSyncRequest(c.Server, syncId)+ 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)}-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r SelectOrganizationV3Response) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+// CreateSecretFolderWithBody performs a POST /api/v2/folders (the `CreateSecretFolder` operationId) request,+// with any type of body and a specified content type.+//+// Create folders.+func (c *Client) CreateSecretFolderWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateSecretFolderRequestWithBody(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)}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r SelectOrganizationV3Response) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+// CreateSecretFolder performs a POST /api/v2/folders (the `CreateSecretFolder` operationId) request.+// Takes a body of the `application/json` content type.+//+// Create folders.+func (c *Client) CreateSecretFolder(ctx context.Context, body CreateSecretFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateSecretFolderRequest(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)}-// GetBody returns the raw response body bytes-func (r SelectOrganizationV3Response) GetBody() []byte {- return r.Body+// CreateOrganizationWithBody performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request,+// with any type of body and a specified content type.+func (c *Client) CreateOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateOrganizationRequestWithBody(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)}-// Status returns HTTPResponse.Status-func (r SelectOrganizationV3Response) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status+// CreateOrganization performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request.+// Takes a body of the `application/json` content type.+func (c *Client) CreateOrganization(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateOrganizationRequest(c.Server, body)+ if err != nil {+ return nil, err}- return http.StatusText(0)+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)}-// StatusCode returns HTTPResponse.StatusCode-func (r SelectOrganizationV3Response) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode+// DeleteOrganization performs a DELETE /api/v2/organizations/{organizationId} (the `DeleteOrganization` operationId) request.+func (c *Client) DeleteOrganization(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewDeleteOrganizationRequest(c.Server, organizationId)+ if err != nil {+ return nil, err}- return 0+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r SelectOrganizationV3Response) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")+// CreateSecretApprovalPolicyWithBody performs a POST /api/v2/secret-approvals (the `CreateSecretApprovalPolicy` operationId) request,+// with any type of body and a specified content type.+func (c *Client) CreateSecretApprovalPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateSecretApprovalPolicyRequestWithBody(c.Server, contentType, body)+ if err != nil {+ return nil, err}- return ""+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)}-type CompleteAccountSignupV3Response struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- Message string `json:"message"`- Token string `json:"token"`- User struct {- AuthMethods *[]string `json:"authMethods,omitempty"`- Email *string `json:"email,omitempty"`- FirstName *string `json:"firstName,omitempty"`- Id openapi_types.UUID `json:"id"`- IsEmailVerified *bool `json:"isEmailVerified,omitempty"`- LastName *string `json:"lastName,omitempty"`- PublicKey *string `json:"publicKey,omitempty"`- Username string `json:"username"`- } `json:"user"`- }- // 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 CompleteAccountSignupV3400JSONResponseBodyStatusCode `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 CompleteAccountSignupV3401JSONResponseBodyStatusCode `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 CompleteAccountSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`+// CreateSecretApprovalPolicy performs a POST /api/v2/secret-approvals (the `CreateSecretApprovalPolicy` operationId) request.+// Takes a body of the `application/json` content type.+func (c *Client) CreateSecretApprovalPolicy(ctx context.Context, body CreateSecretApprovalPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateSecretApprovalPolicyRequest(c.Server, body)+ if err != nil {+ return nil, err}- // 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 CompleteAccountSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err}- // 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 CompleteAccountSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`+ return c.Client.Do(req)+}++// GetSecretApprovalPolicyBoard performs a GET /api/v2/secret-approvals/board (the `GetSecretApprovalPolicyBoard` operationId) request.+func (c *Client) GetSecretApprovalPolicyBoard(ctx context.Context, params *GetSecretApprovalPolicyBoardParams, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewGetSecretApprovalPolicyBoardRequest(c.Server, params)+ if err != nil {+ return nil, err}- // 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 CompleteAccountSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err}+ return c.Client.Do(req)}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r CompleteAccountSignupV3Response) GetJSON200() *struct {- Message string `json:"message"`- Token string `json:"token"`- User struct {- AuthMethods *[]string `json:"authMethods,omitempty"`- Email *string `json:"email,omitempty"`- FirstName *string `json:"firstName,omitempty"`- Id openapi_types.UUID `json:"id"`- IsEmailVerified *bool `json:"isEmailVerified,omitempty"`- LastName *string `json:"lastName,omitempty"`- PublicKey *string `json:"publicKey,omitempty"`- Username string `json:"username"`- } `json:"user"`-} {- return r.JSON200+// DeleteSecretApprovalPolicy performs a DELETE /api/v2/secret-approvals/{sapId} (the `DeleteSecretApprovalPolicy` operationId) request.+func (c *Client) DeleteSecretApprovalPolicy(ctx context.Context, sapId string, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewDeleteSecretApprovalPolicyRequest(c.Server, sapId)+ 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)}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r CompleteAccountSignupV3Response) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+// GetSecretApprovalPolicy performs a GET /api/v2/secret-approvals/{sapId} (the `GetSecretApprovalPolicy` operationId) request.+func (c *Client) GetSecretApprovalPolicy(ctx context.Context, sapId string, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewGetSecretApprovalPolicyRequest(c.Server, sapId)+ 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)}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r CompleteAccountSignupV3Response) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+// UpdateSecretApprovalPolicyWithBody performs a PATCH /api/v2/secret-approvals/{sapId} (the `UpdateSecretApprovalPolicy` operationId) request,+// with any type of body and a specified content type.+func (c *Client) UpdateSecretApprovalPolicyWithBody(ctx context.Context, sapId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewUpdateSecretApprovalPolicyRequestWithBody(c.Server, sapId, 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)}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r CompleteAccountSignupV3Response) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+// UpdateSecretApprovalPolicy performs a PATCH /api/v2/secret-approvals/{sapId} (the `UpdateSecretApprovalPolicy` operationId) request.+// Takes a body of the `application/json` content type.+func (c *Client) UpdateSecretApprovalPolicy(ctx context.Context, sapId string, body UpdateSecretApprovalPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewUpdateSecretApprovalPolicyRequest(c.Server, sapId, 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)}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r CompleteAccountSignupV3Response) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404+// CreateSecretImportWithBody performs a POST /api/v2/secret-imports (the `CreateSecretImport` operationId) request,+// with any type of body and a specified content type.+//+// Create secret imports.+func (c *Client) CreateSecretImportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateSecretImportRequestWithBody(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)}-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r CompleteAccountSignupV3Response) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+// CreateSecretImport performs a POST /api/v2/secret-imports (the `CreateSecretImport` operationId) request.+// Takes a body of the `application/json` content type.+//+// Create secret imports.+func (c *Client) CreateSecretImport(ctx context.Context, body CreateSecretImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateSecretImportRequest(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)}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r CompleteAccountSignupV3Response) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+// LoginV3WithBody performs a POST /api/v3/auth/login (the `LoginV3` operationId) request,+// with any type of body and a specified content type.+func (c *Client) LoginV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewLoginV3RequestWithBody(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)}-// GetBody returns the raw response body bytes-func (r CompleteAccountSignupV3Response) GetBody() []byte {- return r.Body+// LoginV3 performs a POST /api/v3/auth/login (the `LoginV3` operationId) request.+// Takes a body of the `application/json` content type.+func (c *Client) LoginV3(ctx context.Context, body LoginV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewLoginV3Request(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)}-// Status returns HTTPResponse.Status-func (r CompleteAccountSignupV3Response) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status+// SelectOrganizationV3WithBody performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request,+// with any type of body and a specified content type.+func (c *Client) SelectOrganizationV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewSelectOrganizationV3RequestWithBody(c.Server, contentType, body)+ if err != nil {+ return nil, err}- return http.StatusText(0)+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)}-// StatusCode returns HTTPResponse.StatusCode-func (r CompleteAccountSignupV3Response) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode+// SelectOrganizationV3 performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request.+// Takes a body of the `application/json` content type.+func (c *Client) SelectOrganizationV3(ctx context.Context, body SelectOrganizationV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewSelectOrganizationV3Request(c.Server, body)+ if err != nil {+ return nil, err}- return 0+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r CompleteAccountSignupV3Response) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")- }- return ""+// CompleteAccountSignupV3WithBody performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request,+// with any type of body and a specified content type.+func (c *Client) CompleteAccountSignupV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCompleteAccountSignupV3RequestWithBody(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)}-type BeginEmailSignupV3Response struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- CooldownSeconds float32 `json:"cooldownSeconds"`- Message string `json:"message"`- }- // 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 BeginEmailSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`+// CompleteAccountSignupV3 performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request.+// Takes a body of the `application/json` content type.+func (c *Client) CompleteAccountSignupV3(ctx context.Context, body CompleteAccountSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCompleteAccountSignupV3Request(c.Server, body)+ if err != nil {+ return nil, err}- // 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 BeginEmailSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err}- // 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 BeginEmailSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`+ return c.Client.Do(req)+}++// BeginEmailSignupV3WithBody performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request,+// with any type of body and a specified content type.+func (c *Client) BeginEmailSignupV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewBeginEmailSignupV3RequestWithBody(c.Server, contentType, body)+ if err != nil {+ return nil, err}- // 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 BeginEmailSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err}- // 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 BeginEmailSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`+ return c.Client.Do(req)+}++// BeginEmailSignupV3 performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request.+// Takes a body of the `application/json` content type.+func (c *Client) BeginEmailSignupV3(ctx context.Context, body BeginEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewBeginEmailSignupV3Request(c.Server, body)+ if err != nil {+ return nil, err}- // 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 BeginEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err}+ return c.Client.Do(req)}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r BeginEmailSignupV3Response) GetJSON200() *struct {- CooldownSeconds float32 `json:"cooldownSeconds"`- Message string `json:"message"`-} {- return r.JSON200+// VerifyEmailSignupV3WithBody performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request,+// with any type of body and a specified content type.+func (c *Client) VerifyEmailSignupV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewVerifyEmailSignupV3RequestWithBody(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)}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r BeginEmailSignupV3Response) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+// VerifyEmailSignupV3 performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request.+// Takes a body of the `application/json` content type.+func (c *Client) VerifyEmailSignupV3(ctx context.Context, body VerifyEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewVerifyEmailSignupV3Request(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)}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r BeginEmailSignupV3Response) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+// ListSecretsV4 performs a GET /api/v4/secrets (the `ListSecretsV4` operationId) request.+//+// List secrets.+func (c *Client) ListSecretsV4(ctx context.Context, params *ListSecretsV4Params, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewListSecretsV4Request(c.Server, params)+ 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)}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r BeginEmailSignupV3Response) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+// DeleteManySecretsV4WithBody performs a DELETE /api/v4/secrets/batch (the `DeleteManySecretsV4` operationId) request,+// with any type of body and a specified content type.+//+// Delete many secrets.+func (c *Client) DeleteManySecretsV4WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewDeleteManySecretsV4RequestWithBody(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)}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r BeginEmailSignupV3Response) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404+// DeleteManySecretsV4 performs a DELETE /api/v4/secrets/batch (the `DeleteManySecretsV4` operationId) request.+// Takes a body of the `application/json` content type.+//+// Delete many secrets.+func (c *Client) DeleteManySecretsV4(ctx context.Context, body DeleteManySecretsV4JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewDeleteManySecretsV4Request(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)}-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r BeginEmailSignupV3Response) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+// UpdateManySecretsV4WithBody performs a PATCH /api/v4/secrets/batch (the `UpdateManySecretsV4` operationId) request,+// with any type of body and a specified content type.+//+// Update many secrets.+func (c *Client) UpdateManySecretsV4WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewUpdateManySecretsV4RequestWithBody(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)}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r BeginEmailSignupV3Response) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+// UpdateManySecretsV4 performs a PATCH /api/v4/secrets/batch (the `UpdateManySecretsV4` operationId) request.+// Takes a body of the `application/json` content type.+//+// Update many secrets.+func (c *Client) UpdateManySecretsV4(ctx context.Context, body UpdateManySecretsV4JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewUpdateManySecretsV4Request(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)}-// GetBody returns the raw response body bytes-func (r BeginEmailSignupV3Response) GetBody() []byte {- return r.Body+// CreateManySecretsV4WithBody performs a POST /api/v4/secrets/batch (the `CreateManySecretsV4` operationId) request,+// with any type of body and a specified content type.+//+// Create many secrets.+func (c *Client) CreateManySecretsV4WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateManySecretsV4RequestWithBody(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)}-// Status returns HTTPResponse.Status-func (r BeginEmailSignupV3Response) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status+// CreateManySecretsV4 performs a POST /api/v4/secrets/batch (the `CreateManySecretsV4` operationId) request.+// Takes a body of the `application/json` content type.+//+// Create many secrets.+func (c *Client) CreateManySecretsV4(ctx context.Context, body CreateManySecretsV4JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateManySecretsV4Request(c.Server, body)+ if err != nil {+ return nil, err}- return http.StatusText(0)+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)}-// StatusCode returns HTTPResponse.StatusCode-func (r BeginEmailSignupV3Response) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode+// DuplicateSecretV4WithBody performs a POST /api/v4/secrets/duplicate (the `DuplicateSecretV4` operationId) request,+// with any type of body and a specified content type.+//+// Duplicate one or more static secrets into another environment.+func (c *Client) DuplicateSecretV4WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewDuplicateSecretV4RequestWithBody(c.Server, contentType, body)+ if err != nil {+ return nil, err}- return 0+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r BeginEmailSignupV3Response) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")+// DuplicateSecretV4 performs a POST /api/v4/secrets/duplicate (the `DuplicateSecretV4` operationId) request.+// Takes a body of the `application/json` content type.+//+// Duplicate one or more static secrets into another environment.+func (c *Client) DuplicateSecretV4(ctx context.Context, body DuplicateSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewDuplicateSecretV4Request(c.Server, body)+ if err != nil {+ return nil, err}- return ""+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)}-type VerifyEmailSignupV3Response struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- Message string `json:"message"`- Token string `json:"token"`- User struct {- AuthMethods *[]string `json:"authMethods,omitempty"`- Email *string `json:"email,omitempty"`- FirstName *string `json:"firstName,omitempty"`- Id openapi_types.UUID `json:"id"`- IsEmailVerified *bool `json:"isEmailVerified,omitempty"`- LastName *string `json:"lastName,omitempty"`- PublicKey *string `json:"publicKey,omitempty"`- Username string `json:"username"`- } `json:"user"`+// GetSecretByIdV4 performs a GET /api/v4/secrets/id/{secretId} (the `GetSecretByIdV4` operationId) request.+func (c *Client) GetSecretByIdV4(ctx context.Context, secretId string, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewGetSecretByIdV4Request(c.Server, secretId)+ if err != nil {+ return nil, err}- // 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 VerifyEmailSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err}- // 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 VerifyEmailSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`+ return c.Client.Do(req)+}++// MoveSecretsV4WithBody performs a POST /api/v4/secrets/move (the `MoveSecretsV4` operationId) request,+// with any type of body and a specified content type.+func (c *Client) MoveSecretsV4WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewMoveSecretsV4RequestWithBody(c.Server, contentType, body)+ if err != nil {+ return nil, err}- // 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 VerifyEmailSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err}- // 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 VerifyEmailSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`+ return c.Client.Do(req)+}++// MoveSecretsV4 performs a POST /api/v4/secrets/move (the `MoveSecretsV4` operationId) request.+// Takes a body of the `application/json` content type.+func (c *Client) MoveSecretsV4(ctx context.Context, body MoveSecretsV4JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewMoveSecretsV4Request(c.Server, body)+ if err != nil {+ return nil, err}- // 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 VerifyEmailSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err}- // 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 VerifyEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`+ return c.Client.Do(req)+}++// DeleteSecretV4WithBody performs a DELETE /api/v4/secrets/{secretName} (the `DeleteSecretV4` operationId) request,+// with any type of body and a specified content type.+//+// Delete secret.+func (c *Client) DeleteSecretV4WithBody(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewDeleteSecretV4RequestWithBody(c.Server, secretName, 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)}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r VerifyEmailSignupV3Response) GetJSON200() *struct {- Message string `json:"message"`- Token string `json:"token"`- User struct {- AuthMethods *[]string `json:"authMethods,omitempty"`- Email *string `json:"email,omitempty"`- FirstName *string `json:"firstName,omitempty"`- Id openapi_types.UUID `json:"id"`- IsEmailVerified *bool `json:"isEmailVerified,omitempty"`- LastName *string `json:"lastName,omitempty"`- PublicKey *string `json:"publicKey,omitempty"`- Username string `json:"username"`- } `json:"user"`-} {- return r.JSON200+// DeleteSecretV4 performs a DELETE /api/v4/secrets/{secretName} (the `DeleteSecretV4` operationId) request.+// Takes a body of the `application/json` content type.+//+// Delete secret.+func (c *Client) DeleteSecretV4(ctx context.Context, secretName string, body DeleteSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewDeleteSecretV4Request(c.Server, secretName, 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)}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r VerifyEmailSignupV3Response) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+// GetSecretByNameV4 performs a GET /api/v4/secrets/{secretName} (the `GetSecretByNameV4` operationId) request.+//+// Get a secret by name.+func (c *Client) GetSecretByNameV4(ctx context.Context, secretName string, params *GetSecretByNameV4Params, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewGetSecretByNameV4Request(c.Server, secretName, params)+ 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)}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r VerifyEmailSignupV3Response) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+// UpdateSecretV4WithBody performs a PATCH /api/v4/secrets/{secretName} (the `UpdateSecretV4` operationId) request,+// with any type of body and a specified content type.+//+// Update secret.+func (c *Client) UpdateSecretV4WithBody(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewUpdateSecretV4RequestWithBody(c.Server, secretName, 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)}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r VerifyEmailSignupV3Response) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+// UpdateSecretV4 performs a PATCH /api/v4/secrets/{secretName} (the `UpdateSecretV4` operationId) request.+// Takes a body of the `application/json` content type.+//+// Update secret.+func (c *Client) UpdateSecretV4(ctx context.Context, secretName string, body UpdateSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewUpdateSecretV4Request(c.Server, secretName, 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)}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r VerifyEmailSignupV3Response) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404+// CreateSecretV4WithBody performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request,+// with any type of body and a specified content type.+//+// Create secret.+func (c *Client) CreateSecretV4WithBody(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateSecretV4RequestWithBody(c.Server, secretName, 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)}-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r VerifyEmailSignupV3Response) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422+// CreateSecretV4 performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request.+// Takes a body of the `application/json` content type.+//+// Create secret.+func (c *Client) CreateSecretV4(ctx context.Context, secretName string, body CreateSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateSecretV4Request(c.Server, secretName, 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)}-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r VerifyEmailSignupV3Response) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+// GetSecretReferencesV4 performs a GET /api/v4/secrets/{secretName}/reference-dependency-tree (the `GetSecretReferencesV4` operationId) request.+//+// Get secret reference dependency tree.+func (c *Client) GetSecretReferencesV4(ctx context.Context, secretName string, params *GetSecretReferencesV4Params, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewGetSecretReferencesV4Request(c.Server, secretName, params)+ 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)}-// GetBody returns the raw response body bytes-func (r VerifyEmailSignupV3Response) GetBody() []byte {- return r.Body+// GetSecretReferenceTreeV4 performs a GET /api/v4/secrets/{secretName}/secret-reference-tree (the `GetSecretReferenceTreeV4` operationId) request.+//+// Get secret reference tree.+func (c *Client) GetSecretReferenceTreeV4(ctx context.Context, secretName string, params *GetSecretReferenceTreeV4Params, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewGetSecretReferenceTreeV4Request(c.Server, secretName, params)+ 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)}-// Status returns HTTPResponse.Status-func (r VerifyEmailSignupV3Response) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status+// NewGetInstanceStatusRequest constructs an http.Request for the GetInstanceStatus method+func NewGetInstanceStatusRequest(server string) (*http.Request, error) {+ var err error++ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err}- return http.StatusText(0)-}-// StatusCode returns HTTPResponse.StatusCode-func (r VerifyEmailSignupV3Response) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode+ operationPath := fmt.Sprintf("/api/status")+ if operationPath[0] == '/' {+ operationPath = "." + operationPath}- return 0++ 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}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r VerifyEmailSignupV3Response) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")+// NewAdminBootstrapRequest calls the generic AdminBootstrap builder with application/json body+func NewAdminBootstrapRequest(server string, body AdminBootstrapJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err}- return ""+ bodyReader = bytes.NewReader(buf)+ return NewAdminBootstrapRequestWithBody(server, "application/json", bodyReader)}-type ListSecretsV4Response struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- Imports *[]struct {- Environment string `json:"environment"`- FolderId *string `json:"folderId,omitempty"`- SecretPath string `json:"secretPath"`- Secrets []struct {- UnderscoreId string `json:"_id"`- Actor *struct {- ActorId *string `json:"actorId,omitempty"`- ActorType *string `json:"actorType,omitempty"`- GroupId *string `json:"groupId,omitempty"`- MembershipId *string `json:"membershipId,omitempty"`- Name *string `json:"name,omitempty"`- } `json:"actor,omitempty"`- Environment string `json:"environment"`- Id string `json:"id"`- IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`- RotationId *openapi_types.UUID `json:"rotationId,omitempty"`- SecretComment string `json:"secretComment"`- SecretKey string `json:"secretKey"`- SecretMetadata *[]struct {- IsEncrypted *bool `json:"isEncrypted,omitempty"`- Key string `json:"key"`- Value *string `json:"value,omitempty"`- } `json:"secretMetadata,omitempty"`- SecretPath *string `json:"secretPath,omitempty"`- SecretReminderNote *string `json:"secretReminderNote,omitempty"`- SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`- SecretValue string `json:"secretValue"`- SecretValueHidden bool `json:"secretValueHidden"`- SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`- Type string `json:"type"`- Version float32 `json:"version"`- Workspace string `json:"workspace"`- } `json:"secrets"`- } `json:"imports,omitempty"`- Secrets []struct {- UnderscoreId string `json:"_id"`- Actor *struct {- ActorId *string `json:"actorId,omitempty"`- ActorType *string `json:"actorType,omitempty"`- GroupId *string `json:"groupId,omitempty"`- MembershipId *string `json:"membershipId,omitempty"`- Name *string `json:"name,omitempty"`- } `json:"actor,omitempty"`- CreatedAt time.Time `json:"createdAt"`- Environment string `json:"environment"`- Id string `json:"id"`- IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`- RotationId *openapi_types.UUID `json:"rotationId,omitempty"`- SecretComment string `json:"secretComment"`- SecretKey string `json:"secretKey"`- SecretMetadata *[]struct {- IsEncrypted *bool `json:"isEncrypted,omitempty"`- Key string `json:"key"`- Value *string `json:"value,omitempty"`- } `json:"secretMetadata,omitempty"`- SecretPath *string `json:"secretPath,omitempty"`- SecretReminderNote *string `json:"secretReminderNote,omitempty"`- SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`- SecretValue string `json:"secretValue"`- SecretValueHidden bool `json:"secretValueHidden"`- SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`- Tags *[]struct {- Color *string `json:"color,omitempty"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"tags,omitempty"`- Type string `json:"type"`- UpdatedAt time.Time `json:"updatedAt"`- Version float32 `json:"version"`- Workspace string `json:"workspace"`- } `json:"secrets"`+// NewAdminBootstrapRequestWithBody constructs an http.Request for the AdminBootstrap method, with any body, and a specified content type+func NewAdminBootstrapRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {+ var err error++ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err}- // JSON304 the response for an HTTP 304 `application/json` response- JSON304 *interface{}- // 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 ListSecretsV4400JSONResponseBodyStatusCode `json:"statusCode"`++ operationPath := fmt.Sprintf("/api/v1/admin/bootstrap")+ if operationPath[0] == '/' {+ operationPath = "." + operationPath}- // 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 ListSecretsV4401JSONResponseBodyStatusCode `json:"statusCode"`++ queryURL, err := serverURL.Parse(operationPath)+ if err != nil {+ return nil, err}- // 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 ListSecretsV4403JSONResponseBodyStatusCode `json:"statusCode"`++ req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)+ if err != nil {+ return nil, err}- // 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 ListSecretsV4404JSONResponseBodyStatusCode `json:"statusCode"`++ req.Header.Add("Content-Type", contentType)++ return req, nil+}++// NewUpdateAdminConfigRequest calls the generic UpdateAdminConfig builder with application/json body+func NewUpdateAdminConfigRequest(server string, body UpdateAdminConfigJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err}- // 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 ListSecretsV4422JSONResponseBodyStatusCode `json:"statusCode"`+ bodyReader = bytes.NewReader(buf)+ return NewUpdateAdminConfigRequestWithBody(server, "application/json", bodyReader)+}++// NewUpdateAdminConfigRequestWithBody constructs an http.Request for the UpdateAdminConfig method, with any body, and a specified content type+func NewUpdateAdminConfigRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {+ var err error++ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err}- // 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 ListSecretsV4500JSONResponseBodyStatusCode `json:"statusCode"`++ operationPath := fmt.Sprintf("/api/v1/admin/config")+ 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}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r ListSecretsV4Response) GetJSON200() *struct {- Imports *[]struct {- Environment string `json:"environment"`- FolderId *string `json:"folderId,omitempty"`- SecretPath string `json:"secretPath"`- Secrets []struct {- UnderscoreId string `json:"_id"`- Actor *struct {- ActorId *string `json:"actorId,omitempty"`- ActorType *string `json:"actorType,omitempty"`- GroupId *string `json:"groupId,omitempty"`- MembershipId *string `json:"membershipId,omitempty"`- Name *string `json:"name,omitempty"`- } `json:"actor,omitempty"`- Environment string `json:"environment"`- Id string `json:"id"`- IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`- RotationId *openapi_types.UUID `json:"rotationId,omitempty"`- SecretComment string `json:"secretComment"`- SecretKey string `json:"secretKey"`- SecretMetadata *[]struct {- IsEncrypted *bool `json:"isEncrypted,omitempty"`- Key string `json:"key"`- Value *string `json:"value,omitempty"`- } `json:"secretMetadata,omitempty"`- SecretPath *string `json:"secretPath,omitempty"`- SecretReminderNote *string `json:"secretReminderNote,omitempty"`- SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`- SecretValue string `json:"secretValue"`- SecretValueHidden bool `json:"secretValueHidden"`- SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`- Type string `json:"type"`- Version float32 `json:"version"`- Workspace string `json:"workspace"`- } `json:"secrets"`- } `json:"imports,omitempty"`- Secrets []struct {- UnderscoreId string `json:"_id"`- Actor *struct {- ActorId *string `json:"actorId,omitempty"`- ActorType *string `json:"actorType,omitempty"`- GroupId *string `json:"groupId,omitempty"`- MembershipId *string `json:"membershipId,omitempty"`- Name *string `json:"name,omitempty"`- } `json:"actor,omitempty"`- CreatedAt time.Time `json:"createdAt"`- Environment string `json:"environment"`- Id string `json:"id"`- IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`- RotationId *openapi_types.UUID `json:"rotationId,omitempty"`- SecretComment string `json:"secretComment"`- SecretKey string `json:"secretKey"`- SecretMetadata *[]struct {- IsEncrypted *bool `json:"isEncrypted,omitempty"`- Key string `json:"key"`- Value *string `json:"value,omitempty"`- } `json:"secretMetadata,omitempty"`- SecretPath *string `json:"secretPath,omitempty"`- SecretReminderNote *string `json:"secretReminderNote,omitempty"`- SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`- SecretValue string `json:"secretValue"`- SecretValueHidden bool `json:"secretValueHidden"`- SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`- Tags *[]struct {- Color *string `json:"color,omitempty"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"tags,omitempty"`- Type string `json:"type"`- UpdatedAt time.Time `json:"updatedAt"`- Version float32 `json:"version"`- Workspace string `json:"workspace"`- } `json:"secrets"`-} {- return r.JSON200+// NewCreateGitHubAppConnectionRequest calls the generic CreateGitHubAppConnection builder with application/json body+func NewCreateGitHubAppConnectionRequest(server string, body CreateGitHubAppConnectionJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewCreateGitHubAppConnectionRequestWithBody(server, "application/json", bodyReader)}-// GetJSON304 returns the response for an HTTP 304 `application/json` response-func (r ListSecretsV4Response) GetJSON304() *interface{} {- return r.JSON304-}+// NewCreateGitHubAppConnectionRequestWithBody constructs an http.Request for the CreateGitHubAppConnection method, with any body, and a specified content type+func NewCreateGitHubAppConnectionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) {+ var err error-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r ListSecretsV4Response) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListSecretsV4400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400-}+ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err+ }-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r ListSecretsV4Response) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListSecretsV4401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401-}+ operationPath := fmt.Sprintf("/api/v1/app-connections/github")+ if operationPath[0] == '/' {+ operationPath = "." + operationPath+ }-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r ListSecretsV4Response) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListSecretsV4403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403-}+ queryURL, err := serverURL.Parse(operationPath)+ if err != nil {+ return nil, err+ }-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r ListSecretsV4Response) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListSecretsV4404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404-}+ req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)+ if err != nil {+ return nil, err+ }-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r ListSecretsV4Response) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode ListSecretsV4422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422-}+ req.Header.Add("Content-Type", contentType)-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r ListSecretsV4Response) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListSecretsV4500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+ return req, nil}-// GetBody returns the raw response body bytes-func (r ListSecretsV4Response) GetBody() []byte {- return r.Body-}+// NewDeleteGitHubAppConnectionRequest constructs an http.Request for the DeleteGitHubAppConnection method+func NewDeleteGitHubAppConnectionRequest(server string, connectionId openapi_types.UUID) (*http.Request, error) {+ var err error-// Status returns HTTPResponse.Status-func (r ListSecretsV4Response) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status- }- return http.StatusText(0)-}+ var pathParam0 string-// StatusCode returns HTTPResponse.StatusCode-func (r ListSecretsV4Response) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode+ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "connectionId", connectionId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: "uuid"})+ if err != nil {+ return nil, err}- return 0-}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r ListSecretsV4Response) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")+ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err}- return ""-}-type DeleteSecretV4Response struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *DeleteSecretV4200JSONResponseBody- // 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 DeleteSecretV4400JSONResponseBodyStatusCode `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 DeleteSecretV4401JSONResponseBodyStatusCode `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 DeleteSecretV4403JSONResponseBodyStatusCode `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 DeleteSecretV4404JSONResponseBodyStatusCode `json:"statusCode"`+ operationPath := fmt.Sprintf("/api/v1/app-connections/github/%s", pathParam0)+ if operationPath[0] == '/' {+ operationPath = "." + operationPath}- // 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 DeleteSecretV4422JSONResponseBodyStatusCode `json:"statusCode"`++ queryURL, err := serverURL.Parse(operationPath)+ if err != nil {+ return nil, err}- // 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 DeleteSecretV4500JSONResponseBodyStatusCode `json:"statusCode"`++ req, err := http.NewRequest(http.MethodDelete, queryURL.String(), nil)+ if err != nil {+ return nil, err}-}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r DeleteSecretV4Response) GetJSON200() *DeleteSecretV4200JSONResponseBody {- return r.JSON200+ return req, nil}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r DeleteSecretV4Response) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteSecretV4400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400-}+// NewRefreshAuthTokenRequest constructs an http.Request for the RefreshAuthToken method+func NewRefreshAuthTokenRequest(server string) (*http.Request, error) {+ var err error-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r DeleteSecretV4Response) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteSecretV4401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401-}+ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err+ }-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r DeleteSecretV4Response) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteSecretV4403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403-}+ operationPath := fmt.Sprintf("/api/v1/auth/token")+ if operationPath[0] == '/' {+ operationPath = "." + operationPath+ }-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r DeleteSecretV4Response) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteSecretV4404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404-}+ queryURL, err := serverURL.Parse(operationPath)+ if err != nil {+ return nil, err+ }-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r DeleteSecretV4Response) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode DeleteSecretV4422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422-}+ req, err := http.NewRequest(http.MethodPost, queryURL.String(), nil)+ if err != nil {+ return nil, err+ }-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r DeleteSecretV4Response) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteSecretV4500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500+ return req, nil}-// GetBody returns the raw response body bytes-func (r DeleteSecretV4Response) GetBody() []byte {- return r.Body+// NewAttachUniversalAuthRequest calls the generic AttachUniversalAuth builder with application/json body+func NewAttachUniversalAuthRequest(server string, identityId string, body AttachUniversalAuthJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewAttachUniversalAuthRequestWithBody(server, identityId, "application/json", bodyReader)}-// Status returns HTTPResponse.Status-func (r DeleteSecretV4Response) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status+// NewAttachUniversalAuthRequestWithBody constructs an http.Request for the AttachUniversalAuth method, with any body, and a specified content type+func NewAttachUniversalAuthRequestWithBody(server string, identityId string, contentType string, body io.Reader) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "identityId", identityId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})+ if err != nil {+ return nil, err}- return http.StatusText(0)-}-// StatusCode returns HTTPResponse.StatusCode-func (r DeleteSecretV4Response) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode+ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err}- return 0-}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r DeleteSecretV4Response) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")+ operationPath := fmt.Sprintf("/api/v1/auth/universal-auth/identities/%s", pathParam0)+ if operationPath[0] == '/' {+ operationPath = "." + operationPath}- return ""-}-type GetSecretByNameV4Response struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- Secret struct {- UnderscoreId string `json:"_id"`- Actor *struct {- ActorId *string `json:"actorId,omitempty"`- ActorType *string `json:"actorType,omitempty"`- GroupId *string `json:"groupId,omitempty"`- MembershipId *string `json:"membershipId,omitempty"`- Name *string `json:"name,omitempty"`- } `json:"actor,omitempty"`- CreatedAt time.Time `json:"createdAt"`- Environment string `json:"environment"`- Id string `json:"id"`- IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`- RotationId *openapi_types.UUID `json:"rotationId,omitempty"`- SecretComment string `json:"secretComment"`- SecretKey string `json:"secretKey"`- SecretMetadata *[]struct {- IsEncrypted *bool `json:"isEncrypted,omitempty"`- Key string `json:"key"`- Value *string `json:"value,omitempty"`- } `json:"secretMetadata,omitempty"`- SecretPath string `json:"secretPath"`- SecretReminderNote *string `json:"secretReminderNote,omitempty"`- SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`- SecretValue string `json:"secretValue"`- SecretValueHidden bool `json:"secretValueHidden"`- SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`- Tags *[]struct {- Color *string `json:"color,omitempty"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"tags,omitempty"`- Type string `json:"type"`- UpdatedAt time.Time `json:"updatedAt"`- Version float32 `json:"version"`- Workspace string `json:"workspace"`- } `json:"secret"`+ queryURL, err := serverURL.Parse(operationPath)+ if err != nil {+ return nil, err}- // 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 GetSecretByNameV4400JSONResponseBodyStatusCode `json:"statusCode"`++ req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)+ if err != nil {+ return nil, err}- // 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 GetSecretByNameV4401JSONResponseBodyStatusCode `json:"statusCode"`++ req.Header.Add("Content-Type", contentType)++ return req, nil+}++// NewCreateUniversalAuthClientSecretRequest calls the generic CreateUniversalAuthClientSecret builder with application/json body+func NewCreateUniversalAuthClientSecretRequest(server string, identityId string, body CreateUniversalAuthClientSecretJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err}- // 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 GetSecretByNameV4403JSONResponseBodyStatusCode `json:"statusCode"`+ bodyReader = bytes.NewReader(buf)+ return NewCreateUniversalAuthClientSecretRequestWithBody(server, identityId, "application/json", bodyReader)+}++// NewCreateUniversalAuthClientSecretRequestWithBody constructs an http.Request for the CreateUniversalAuthClientSecret method, with any body, and a specified content type+func NewCreateUniversalAuthClientSecretRequestWithBody(server string, identityId string, contentType string, body io.Reader) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "identityId", identityId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})+ if err != nil {+ return nil, err}- // 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 GetSecretByNameV4404JSONResponseBodyStatusCode `json:"statusCode"`++ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err}- // 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 GetSecretByNameV4422JSONResponseBodyStatusCode `json:"statusCode"`++ operationPath := fmt.Sprintf("/api/v1/auth/universal-auth/identities/%s/client-secrets", pathParam0)+ if operationPath[0] == '/' {+ operationPath = "." + operationPath}- // 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 GetSecretByNameV4500JSONResponseBodyStatusCode `json:"statusCode"`++ 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}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r GetSecretByNameV4Response) GetJSON200() *struct {- Secret struct {- UnderscoreId string `json:"_id"`- Actor *struct {- ActorId *string `json:"actorId,omitempty"`- ActorType *string `json:"actorType,omitempty"`- GroupId *string `json:"groupId,omitempty"`- MembershipId *string `json:"membershipId,omitempty"`- Name *string `json:"name,omitempty"`- } `json:"actor,omitempty"`- CreatedAt time.Time `json:"createdAt"`- Environment string `json:"environment"`- Id string `json:"id"`- IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`- RotationId *openapi_types.UUID `json:"rotationId,omitempty"`- SecretComment string `json:"secretComment"`- SecretKey string `json:"secretKey"`- SecretMetadata *[]struct {- IsEncrypted *bool `json:"isEncrypted,omitempty"`- Key string `json:"key"`- Value *string `json:"value,omitempty"`- } `json:"secretMetadata,omitempty"`- SecretPath string `json:"secretPath"`- SecretReminderNote *string `json:"secretReminderNote,omitempty"`- SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`- SecretValue string `json:"secretValue"`- SecretValueHidden bool `json:"secretValueHidden"`- SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`- Tags *[]struct {- Color *string `json:"color,omitempty"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"tags,omitempty"`- Type string `json:"type"`- UpdatedAt time.Time `json:"updatedAt"`- Version float32 `json:"version"`- Workspace string `json:"workspace"`- } `json:"secret"`-} {- return r.JSON200+// NewLoginWithUniversalAuthRequest calls the generic LoginWithUniversalAuth builder with application/json body+func NewLoginWithUniversalAuthRequest(server string, body LoginWithUniversalAuthJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewLoginWithUniversalAuthRequestWithBody(server, "application/json", bodyReader)}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r GetSecretByNameV4Response) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetSecretByNameV4400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+// NewLoginWithUniversalAuthRequestWithBody constructs an http.Request for the LoginWithUniversalAuth method, with any body, and a specified content type+func NewLoginWithUniversalAuthRequestWithBody(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/auth/universal-auth/login")+ 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}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r GetSecretByNameV4Response) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetSecretByNameV4401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401+// NewCreateMachineIdentityRequest calls the generic CreateMachineIdentity builder with application/json body+func NewCreateMachineIdentityRequest(server string, body CreateMachineIdentityJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewCreateMachineIdentityRequestWithBody(server, "application/json", bodyReader)}-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r GetSecretByNameV4Response) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetSecretByNameV4403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403+// NewCreateMachineIdentityRequestWithBody constructs an http.Request for the CreateMachineIdentity method, with any body, and a specified content type+func NewCreateMachineIdentityRequestWithBody(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/identities")+ 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}-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r GetSecretByNameV4Response) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetSecretByNameV4404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404+// NewInviteUsersToOrganizationRequest calls the generic InviteUsersToOrganization builder with application/json body+func NewInviteUsersToOrganizationRequest(server string, body InviteUsersToOrganizationJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewInviteUsersToOrganizationRequestWithBody(server, "application/json", bodyReader)+}++// NewInviteUsersToOrganizationRequestWithBody constructs an http.Request for the InviteUsersToOrganization method, with any body, and a specified content type+func NewInviteUsersToOrganizationRequestWithBody(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/invite-org/signup")+ 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+}++// NewVerifyUserToOrganizationRequest calls the generic VerifyUserToOrganization builder with application/json body+func NewVerifyUserToOrganizationRequest(server string, body VerifyUserToOrganizationJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewVerifyUserToOrganizationRequestWithBody(server, "application/json", bodyReader)+}++// NewVerifyUserToOrganizationRequestWithBody constructs an http.Request for the VerifyUserToOrganization method, with any body, and a specified content type+func NewVerifyUserToOrganizationRequestWithBody(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/invite-org/verify")+ 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+}++// NewUpdateOrganizationRequest calls the generic UpdateOrganization builder with application/json body+func NewUpdateOrganizationRequest(server string, organizationId string, body UpdateOrganizationJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewUpdateOrganizationRequestWithBody(server, organizationId, "application/json", bodyReader)}-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r GetSecretByNameV4Response) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode GetSecretByNameV4422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422-}+// NewUpdateOrganizationRequestWithBody constructs an http.Request for the UpdateOrganization method, with any body, and a specified content type+func NewUpdateOrganizationRequestWithBody(server string, organizationId string, contentType string, body io.Reader) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "organizationId", organizationId, 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/organization/%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+}++// NewGetOrganizationPlanRequest constructs an http.Request for the GetOrganizationPlan method+func NewGetOrganizationPlanRequest(server string, organizationId string, params *GetOrganizationPlanParams) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "organizationId", organizationId, 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/organizations/%s/plan", 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.RefreshCache != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "refreshCache", *params.RefreshCache, 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+}++// NewCreateProjectFolderGrantRequest calls the generic CreateProjectFolderGrant builder with application/json body+func NewCreateProjectFolderGrantRequest(server string, body CreateProjectFolderGrantJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewCreateProjectFolderGrantRequestWithBody(server, "application/json", bodyReader)+}++// NewCreateProjectFolderGrantRequestWithBody constructs an http.Request for the CreateProjectFolderGrant method, with any body, and a specified content type+func NewCreateProjectFolderGrantRequestWithBody(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/project-folder-grants")+ 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+}++// NewDeleteProjectFolderGrantRequest constructs an http.Request for the DeleteProjectFolderGrant method+func NewDeleteProjectFolderGrantRequest(server string, grantId openapi_types.UUID, params *DeleteProjectFolderGrantParams) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "grantId", grantId, 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/project-folder-grants/%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 queryFrag, err := runtime.StyleParamWithOptions("form", true, "sourceProjectId", params.SourceProjectId, 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.MethodDelete, queryURL.String(), nil)+ if err != nil {+ return nil, err+ }++ return req, nil+}++// NewCreateProjectRequest calls the generic CreateProject builder with application/json body+func NewCreateProjectRequest(server string, body CreateProjectJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewCreateProjectRequestWithBody(server, "application/json", bodyReader)+}++// NewCreateProjectRequestWithBody constructs an http.Request for the CreateProject method, with any body, and a specified content type+func NewCreateProjectRequestWithBody(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/projects")+ 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+}++// NewListProjectMachineIdentitiesRequest constructs an http.Request for the ListProjectMachineIdentities method+func NewListProjectMachineIdentitiesRequest(server string, projectId string, params *ListProjectMachineIdentitiesParams) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "projectId", projectId, 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/projects/%s/identities", 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.Offset != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "offset", *params.Offset, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "number", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }++ }++ if params.Limit != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "limit", *params.Limit, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "number", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }++ }++ if params.Search != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "search", *params.Search, 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+}++// NewCreateProjectMachineIdentityRequest calls the generic CreateProjectMachineIdentity builder with application/json body+func NewCreateProjectMachineIdentityRequest(server string, projectId string, body CreateProjectMachineIdentityJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewCreateProjectMachineIdentityRequestWithBody(server, projectId, "application/json", bodyReader)+}++// NewCreateProjectMachineIdentityRequestWithBody constructs an http.Request for the CreateProjectMachineIdentity method, with any body, and a specified content type+func NewCreateProjectMachineIdentityRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "projectId", projectId, 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/projects/%s/identities", pathParam0)+ 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+}++// NewInviteProjectMembersRequest calls the generic InviteProjectMembers builder with application/json body+func NewInviteProjectMembersRequest(server string, projectId string, body InviteProjectMembersJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewInviteProjectMembersRequestWithBody(server, projectId, "application/json", bodyReader)+}++// NewInviteProjectMembersRequestWithBody constructs an http.Request for the InviteProjectMembers method, with any body, and a specified content type+func NewInviteProjectMembersRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "projectId", projectId, 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/projects/%s/memberships", pathParam0)+ 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+}++// NewCreateProjectIdentityMembershipRequest calls the generic CreateProjectIdentityMembership builder with application/json body+func NewCreateProjectIdentityMembershipRequest(server string, projectId string, identityId string, body CreateProjectIdentityMembershipJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewCreateProjectIdentityMembershipRequestWithBody(server, projectId, identityId, "application/json", bodyReader)+}++// NewCreateProjectIdentityMembershipRequestWithBody constructs an http.Request for the CreateProjectIdentityMembership method, with any body, and a specified content type+func NewCreateProjectIdentityMembershipRequestWithBody(server string, projectId string, identityId string, contentType string, body io.Reader) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "projectId", projectId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})+ if err != nil {+ return nil, err+ }++ var pathParam1 string++ pathParam1, err = runtime.StyleParamWithOptions("simple", false, "identityId", identityId, 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/projects/%s/memberships/identities/%s", pathParam0, pathParam1)+ 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+}++// NewCreateIdentityFolderAccessRequest calls the generic CreateIdentityFolderAccess builder with application/json body+func NewCreateIdentityFolderAccessRequest(server string, projectId string, identityId openapi_types.UUID, body CreateIdentityFolderAccessJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewCreateIdentityFolderAccessRequestWithBody(server, projectId, identityId, "application/json", bodyReader)+}++// NewCreateIdentityFolderAccessRequestWithBody constructs an http.Request for the CreateIdentityFolderAccess method, with any body, and a specified content type+func NewCreateIdentityFolderAccessRequestWithBody(server string, projectId string, identityId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "projectId", projectId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})+ if err != nil {+ return nil, err+ }++ var pathParam1 string++ pathParam1, err = runtime.StyleParamWithOptions("simple", false, "identityId", identityId, 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/projects/%s/memberships/identities/%s/secret-folder-access", pathParam0, pathParam1)+ 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+}++// NewCreateSecretTagRequest calls the generic CreateSecretTag builder with application/json body+func NewCreateSecretTagRequest(server string, projectId string, body CreateSecretTagJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewCreateSecretTagRequestWithBody(server, projectId, "application/json", bodyReader)+}++// NewCreateSecretTagRequestWithBody constructs an http.Request for the CreateSecretTag method, with any body, and a specified content type+func NewCreateSecretTagRequestWithBody(server string, projectId string, contentType string, body io.Reader) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "projectId", projectId, 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/projects/%s/tags", pathParam0)+ 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+}++// NewListSecretApprovalRequestsRequest constructs an http.Request for the ListSecretApprovalRequests method+func NewListSecretApprovalRequestsRequest(server string, params *ListSecretApprovalRequestsParams) (*http.Request, error) {+ var err error++ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err+ }++ operationPath := fmt.Sprintf("/api/v1/secret-approval-requests")+ 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 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 params.Environment != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "environment", *params.Environment, 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 params.Committer != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "committer", *params.Committer, 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 params.Search != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "search", *params.Search, 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 params.Status != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "status", *params.Status, 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 params.Limit != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "limit", *params.Limit, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "number", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }++ }++ if params.Offset != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "offset", *params.Offset, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "number", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }++ }++ if params.OrderBy != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "orderBy", *params.OrderBy, 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 params.OrderDirection != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "orderDirection", *params.OrderDirection, 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+}++// NewGetSecretApprovalRequestCountRequest constructs an http.Request for the GetSecretApprovalRequestCount method+func NewGetSecretApprovalRequestCountRequest(server string, params *GetSecretApprovalRequestCountParams) (*http.Request, error) {+ var err error++ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err+ }++ operationPath := fmt.Sprintf("/api/v1/secret-approval-requests/count")+ 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 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 params.PolicyId != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "policyId", *params.PolicyId, 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+}++// NewGetSecretApprovalRequestRequest constructs an http.Request for the GetSecretApprovalRequest method+func NewGetSecretApprovalRequestRequest(server string, id openapi_types.UUID) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "id", id, 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/secret-approval-requests/%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+}++// NewMergeSecretApprovalRequestRequest calls the generic MergeSecretApprovalRequest builder with application/json body+func NewMergeSecretApprovalRequestRequest(server string, id openapi_types.UUID, body MergeSecretApprovalRequestJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewMergeSecretApprovalRequestRequestWithBody(server, id, "application/json", bodyReader)+}++// NewMergeSecretApprovalRequestRequestWithBody constructs an http.Request for the MergeSecretApprovalRequest method, with any body, and a specified content type+func NewMergeSecretApprovalRequestRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "id", id, 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/secret-approval-requests/%s/merge", pathParam0)+ 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+}++// NewReviewSecretApprovalRequestRequest calls the generic ReviewSecretApprovalRequest builder with application/json body+func NewReviewSecretApprovalRequestRequest(server string, id openapi_types.UUID, body ReviewSecretApprovalRequestJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewReviewSecretApprovalRequestRequestWithBody(server, id, "application/json", bodyReader)+}++// NewReviewSecretApprovalRequestRequestWithBody constructs an http.Request for the ReviewSecretApprovalRequest method, with any body, and a specified content type+func NewReviewSecretApprovalRequestRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "id", id, 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/secret-approval-requests/%s/review", pathParam0)+ 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+}++// NewUpdateSecretApprovalRequestStatusRequest calls the generic UpdateSecretApprovalRequestStatus builder with application/json body+func NewUpdateSecretApprovalRequestStatusRequest(server string, id openapi_types.UUID, body UpdateSecretApprovalRequestStatusJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewUpdateSecretApprovalRequestStatusRequestWithBody(server, id, "application/json", bodyReader)+}++// NewUpdateSecretApprovalRequestStatusRequestWithBody constructs an http.Request for the UpdateSecretApprovalRequestStatus method, with any body, and a specified content type+func NewUpdateSecretApprovalRequestStatusRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "id", id, 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/secret-approval-requests/%s/status", pathParam0)+ 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+}++// NewCreateGitHubSecretSyncRequest calls the generic CreateGitHubSecretSync builder with application/json body+func NewCreateGitHubSecretSyncRequest(server string, body CreateGitHubSecretSyncJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewCreateGitHubSecretSyncRequestWithBody(server, "application/json", bodyReader)+}++// NewCreateGitHubSecretSyncRequestWithBody constructs an http.Request for the CreateGitHubSecretSync method, with any body, and a specified content type+func NewCreateGitHubSecretSyncRequestWithBody(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/secret-syncs/github")+ 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+}++// NewDeleteGitHubSecretSyncRequest constructs an http.Request for the DeleteGitHubSecretSync method+func NewDeleteGitHubSecretSyncRequest(server string, syncId openapi_types.UUID, params *DeleteGitHubSecretSyncParams) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "syncId", syncId, 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/secret-syncs/github/%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.RemoveSecrets != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "removeSecrets", *params.RemoveSecrets, 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.MethodDelete, queryURL.String(), nil)+ if err != nil {+ return nil, err+ }++ return req, nil+}++// NewGetGitHubSecretSyncRequest constructs an http.Request for the GetGitHubSecretSync method+func NewGetGitHubSecretSyncRequest(server string, syncId openapi_types.UUID) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "syncId", syncId, 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/secret-syncs/github/%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+}++// NewRemoveGitHubSecretSyncSecretsRequest constructs an http.Request for the RemoveGitHubSecretSyncSecrets method+func NewRemoveGitHubSecretSyncSecretsRequest(server string, syncId openapi_types.UUID) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "syncId", syncId, 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/secret-syncs/github/%s/remove-secrets", pathParam0)+ if operationPath[0] == '/' {+ operationPath = "." + operationPath+ }++ queryURL, err := serverURL.Parse(operationPath)+ if err != nil {+ return nil, err+ }++ req, err := http.NewRequest(http.MethodPost, queryURL.String(), nil)+ if err != nil {+ return nil, err+ }++ return req, nil+}++// NewSyncGitHubSecretSyncRequest constructs an http.Request for the SyncGitHubSecretSync method+func NewSyncGitHubSecretSyncRequest(server string, syncId openapi_types.UUID) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "syncId", syncId, 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/secret-syncs/github/%s/sync-secrets", pathParam0)+ if operationPath[0] == '/' {+ operationPath = "." + operationPath+ }++ queryURL, err := serverURL.Parse(operationPath)+ if err != nil {+ return nil, err+ }++ req, err := http.NewRequest(http.MethodPost, queryURL.String(), nil)+ if err != nil {+ return nil, err+ }++ return req, nil+}++// NewCreateSecretFolderRequest calls the generic CreateSecretFolder builder with application/json body+func NewCreateSecretFolderRequest(server string, body CreateSecretFolderJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewCreateSecretFolderRequestWithBody(server, "application/json", bodyReader)+}++// NewCreateSecretFolderRequestWithBody constructs an http.Request for the CreateSecretFolder method, with any body, and a specified content type+func NewCreateSecretFolderRequestWithBody(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/v2/folders")+ 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+}++// NewCreateOrganizationRequest calls the generic CreateOrganization builder with application/json body+func NewCreateOrganizationRequest(server string, body CreateOrganizationJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewCreateOrganizationRequestWithBody(server, "application/json", bodyReader)+}++// NewCreateOrganizationRequestWithBody constructs an http.Request for the CreateOrganization method, with any body, and a specified content type+func NewCreateOrganizationRequestWithBody(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/v2/organizations")+ 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+}++// NewDeleteOrganizationRequest constructs an http.Request for the DeleteOrganization method+func NewDeleteOrganizationRequest(server string, organizationId string) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "organizationId", organizationId, 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/v2/organizations/%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+}++// NewCreateSecretApprovalPolicyRequest calls the generic CreateSecretApprovalPolicy builder with application/json body+func NewCreateSecretApprovalPolicyRequest(server string, body CreateSecretApprovalPolicyJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewCreateSecretApprovalPolicyRequestWithBody(server, "application/json", bodyReader)+}++// NewCreateSecretApprovalPolicyRequestWithBody constructs an http.Request for the CreateSecretApprovalPolicy method, with any body, and a specified content type+func NewCreateSecretApprovalPolicyRequestWithBody(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/v2/secret-approvals")+ 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+}++// NewGetSecretApprovalPolicyBoardRequest constructs an http.Request for the GetSecretApprovalPolicyBoard method+func NewGetSecretApprovalPolicyBoardRequest(server string, params *GetSecretApprovalPolicyBoardParams) (*http.Request, error) {+ var err error++ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err+ }++ operationPath := fmt.Sprintf("/api/v2/secret-approvals/board")+ 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 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 queryFrag, err := runtime.StyleParamWithOptions("form", true, "environment", params.Environment, 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 queryFrag, err := runtime.StyleParamWithOptions("form", true, "secretPath", params.SecretPath, 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+}++// NewDeleteSecretApprovalPolicyRequest constructs an http.Request for the DeleteSecretApprovalPolicy method+func NewDeleteSecretApprovalPolicyRequest(server string, sapId string) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "sapId", sapId, 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/v2/secret-approvals/%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+}++// NewGetSecretApprovalPolicyRequest constructs an http.Request for the GetSecretApprovalPolicy method+func NewGetSecretApprovalPolicyRequest(server string, sapId string) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "sapId", sapId, 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/v2/secret-approvals/%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+}++// NewUpdateSecretApprovalPolicyRequest calls the generic UpdateSecretApprovalPolicy builder with application/json body+func NewUpdateSecretApprovalPolicyRequest(server string, sapId string, body UpdateSecretApprovalPolicyJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewUpdateSecretApprovalPolicyRequestWithBody(server, sapId, "application/json", bodyReader)+}++// NewUpdateSecretApprovalPolicyRequestWithBody constructs an http.Request for the UpdateSecretApprovalPolicy method, with any body, and a specified content type+func NewUpdateSecretApprovalPolicyRequestWithBody(server string, sapId string, contentType string, body io.Reader) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "sapId", sapId, 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/v2/secret-approvals/%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+}++// NewCreateSecretImportRequest calls the generic CreateSecretImport builder with application/json body+func NewCreateSecretImportRequest(server string, body CreateSecretImportJSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewCreateSecretImportRequestWithBody(server, "application/json", bodyReader)+}++// NewCreateSecretImportRequestWithBody constructs an http.Request for the CreateSecretImport method, with any body, and a specified content type+func NewCreateSecretImportRequestWithBody(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/v2/secret-imports")+ 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+}++// NewLoginV3Request calls the generic LoginV3 builder with application/json body+func NewLoginV3Request(server string, body LoginV3JSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewLoginV3RequestWithBody(server, "application/json", bodyReader)+}++// NewLoginV3RequestWithBody constructs an http.Request for the LoginV3 method, with any body, and a specified content type+func NewLoginV3RequestWithBody(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/v3/auth/login")+ 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+}++// NewSelectOrganizationV3Request calls the generic SelectOrganizationV3 builder with application/json body+func NewSelectOrganizationV3Request(server string, body SelectOrganizationV3JSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewSelectOrganizationV3RequestWithBody(server, "application/json", bodyReader)+}++// NewSelectOrganizationV3RequestWithBody constructs an http.Request for the SelectOrganizationV3 method, with any body, and a specified content type+func NewSelectOrganizationV3RequestWithBody(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/v3/auth/select-organization")+ 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+}++// NewCompleteAccountSignupV3Request calls the generic CompleteAccountSignupV3 builder with application/json body+func NewCompleteAccountSignupV3Request(server string, body CompleteAccountSignupV3JSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewCompleteAccountSignupV3RequestWithBody(server, "application/json", bodyReader)+}++// NewCompleteAccountSignupV3RequestWithBody constructs an http.Request for the CompleteAccountSignupV3 method, with any body, and a specified content type+func NewCompleteAccountSignupV3RequestWithBody(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/v3/signup/complete-account")+ 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+}++// NewBeginEmailSignupV3Request calls the generic BeginEmailSignupV3 builder with application/json body+func NewBeginEmailSignupV3Request(server string, body BeginEmailSignupV3JSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewBeginEmailSignupV3RequestWithBody(server, "application/json", bodyReader)+}++// NewBeginEmailSignupV3RequestWithBody constructs an http.Request for the BeginEmailSignupV3 method, with any body, and a specified content type+func NewBeginEmailSignupV3RequestWithBody(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/v3/signup/email/signup")+ 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+}++// NewVerifyEmailSignupV3Request calls the generic VerifyEmailSignupV3 builder with application/json body+func NewVerifyEmailSignupV3Request(server string, body VerifyEmailSignupV3JSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewVerifyEmailSignupV3RequestWithBody(server, "application/json", bodyReader)+}++// NewVerifyEmailSignupV3RequestWithBody constructs an http.Request for the VerifyEmailSignupV3 method, with any body, and a specified content type+func NewVerifyEmailSignupV3RequestWithBody(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/v3/signup/email/verify")+ 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+}++// NewListSecretsV4Request constructs an http.Request for the ListSecretsV4 method+func NewListSecretsV4Request(server string, params *ListSecretsV4Params) (*http.Request, error) {+ var err error++ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err+ }++ operationPath := fmt.Sprintf("/api/v4/secrets")+ 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.MetadataFilter != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "metadataFilter", *params.MetadataFilter, 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 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 params.Environment != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "environment", *params.Environment, 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 params.SecretPath != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "secretPath", *params.SecretPath, 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 params.ViewSecretValue != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "viewSecretValue", *params.ViewSecretValue, 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 params.ExpandSecretReferences != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "expandSecretReferences", *params.ExpandSecretReferences, 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 params.Recursive != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "recursive", *params.Recursive, 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 params.IncludePersonalOverrides != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "includePersonalOverrides", *params.IncludePersonalOverrides, 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 params.IncludeImports != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "includeImports", *params.IncludeImports, 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 params.TagSlugs != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "tagSlugs", *params.TagSlugs, 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+}++// NewDeleteManySecretsV4Request calls the generic DeleteManySecretsV4 builder with application/json body+func NewDeleteManySecretsV4Request(server string, body DeleteManySecretsV4JSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewDeleteManySecretsV4RequestWithBody(server, "application/json", bodyReader)+}++// NewDeleteManySecretsV4RequestWithBody constructs an http.Request for the DeleteManySecretsV4 method, with any body, and a specified content type+func NewDeleteManySecretsV4RequestWithBody(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/v4/secrets/batch")+ if operationPath[0] == '/' {+ operationPath = "." + operationPath+ }++ queryURL, err := serverURL.Parse(operationPath)+ if err != nil {+ return nil, err+ }++ req, err := http.NewRequest(http.MethodDelete, queryURL.String(), body)+ if err != nil {+ return nil, err+ }++ req.Header.Add("Content-Type", contentType)++ return req, nil+}++// NewUpdateManySecretsV4Request calls the generic UpdateManySecretsV4 builder with application/json body+func NewUpdateManySecretsV4Request(server string, body UpdateManySecretsV4JSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewUpdateManySecretsV4RequestWithBody(server, "application/json", bodyReader)+}++// NewUpdateManySecretsV4RequestWithBody constructs an http.Request for the UpdateManySecretsV4 method, with any body, and a specified content type+func NewUpdateManySecretsV4RequestWithBody(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/v4/secrets/batch")+ 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+}++// NewCreateManySecretsV4Request calls the generic CreateManySecretsV4 builder with application/json body+func NewCreateManySecretsV4Request(server string, body CreateManySecretsV4JSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewCreateManySecretsV4RequestWithBody(server, "application/json", bodyReader)+}++// NewCreateManySecretsV4RequestWithBody constructs an http.Request for the CreateManySecretsV4 method, with any body, and a specified content type+func NewCreateManySecretsV4RequestWithBody(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/v4/secrets/batch")+ 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+}++// NewDuplicateSecretV4Request calls the generic DuplicateSecretV4 builder with application/json body+func NewDuplicateSecretV4Request(server string, body DuplicateSecretV4JSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewDuplicateSecretV4RequestWithBody(server, "application/json", bodyReader)+}++// NewDuplicateSecretV4RequestWithBody constructs an http.Request for the DuplicateSecretV4 method, with any body, and a specified content type+func NewDuplicateSecretV4RequestWithBody(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/v4/secrets/duplicate")+ 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+}++// NewGetSecretByIdV4Request constructs an http.Request for the GetSecretByIdV4 method+func NewGetSecretByIdV4Request(server string, secretId string) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "secretId", secretId, 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/v4/secrets/id/%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+}++// NewMoveSecretsV4Request calls the generic MoveSecretsV4 builder with application/json body+func NewMoveSecretsV4Request(server string, body MoveSecretsV4JSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewMoveSecretsV4RequestWithBody(server, "application/json", bodyReader)+}++// NewMoveSecretsV4RequestWithBody constructs an http.Request for the MoveSecretsV4 method, with any body, and a specified content type+func NewMoveSecretsV4RequestWithBody(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/v4/secrets/move")+ 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+}++// NewDeleteSecretV4Request calls the generic DeleteSecretV4 builder with application/json body+func NewDeleteSecretV4Request(server string, secretName string, body DeleteSecretV4JSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewDeleteSecretV4RequestWithBody(server, secretName, "application/json", bodyReader)+}++// NewDeleteSecretV4RequestWithBody constructs an http.Request for the DeleteSecretV4 method, with any body, and a specified content type+func NewDeleteSecretV4RequestWithBody(server string, secretName string, contentType string, body io.Reader) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "secretName", secretName, 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/v4/secrets/%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(), body)+ if err != nil {+ return nil, err+ }++ req.Header.Add("Content-Type", contentType)++ return req, nil+}++// NewGetSecretByNameV4Request constructs an http.Request for the GetSecretByNameV4 method+func NewGetSecretByNameV4Request(server string, secretName string, params *GetSecretByNameV4Params) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "secretName", secretName, 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/v4/secrets/%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 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 params.Environment != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "environment", *params.Environment, 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 params.SecretPath != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "secretPath", *params.SecretPath, 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 params.Version != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "version", *params.Version, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "number", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }++ }++ if params.Type != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "type", *params.Type, 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 params.ViewSecretValue != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "viewSecretValue", *params.ViewSecretValue, 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 params.ExpandSecretReferences != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "expandSecretReferences", *params.ExpandSecretReferences, 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 params.IncludeImports != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "includeImports", *params.IncludeImports, 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+}++// NewUpdateSecretV4Request calls the generic UpdateSecretV4 builder with application/json body+func NewUpdateSecretV4Request(server string, secretName string, body UpdateSecretV4JSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewUpdateSecretV4RequestWithBody(server, secretName, "application/json", bodyReader)+}++// NewUpdateSecretV4RequestWithBody constructs an http.Request for the UpdateSecretV4 method, with any body, and a specified content type+func NewUpdateSecretV4RequestWithBody(server string, secretName string, contentType string, body io.Reader) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "secretName", secretName, 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/v4/secrets/%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+}++// NewCreateSecretV4Request calls the generic CreateSecretV4 builder with application/json body+func NewCreateSecretV4Request(server string, secretName string, body CreateSecretV4JSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewCreateSecretV4RequestWithBody(server, secretName, "application/json", bodyReader)+}++// NewCreateSecretV4RequestWithBody constructs an http.Request for the CreateSecretV4 method, with any body, and a specified content type+func NewCreateSecretV4RequestWithBody(server string, secretName string, contentType string, body io.Reader) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "secretName", secretName, 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/v4/secrets/%s", pathParam0)+ 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+}++// NewGetSecretReferencesV4Request constructs an http.Request for the GetSecretReferencesV4 method+func NewGetSecretReferencesV4Request(server string, secretName string, params *GetSecretReferencesV4Params) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "secretName", secretName, 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/v4/secrets/%s/reference-dependency-tree", 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 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 queryFrag, err := runtime.StyleParamWithOptions("form", true, "environment", params.Environment, 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 params.SecretPath != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "secretPath", *params.SecretPath, 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+}++// NewGetSecretReferenceTreeV4Request constructs an http.Request for the GetSecretReferenceTreeV4 method+func NewGetSecretReferenceTreeV4Request(server string, secretName string, params *GetSecretReferenceTreeV4Params) (*http.Request, error) {+ var err error++ var pathParam0 string++ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "secretName", secretName, 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/v4/secrets/%s/secret-reference-tree", 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 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 queryFrag, err := runtime.StyleParamWithOptions("form", true, "environment", params.Environment, 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 params.SecretPath != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "secretPath", *params.SecretPath, 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+}++func (c *Client) applyEditors(ctx context.Context, req *http.Request, additionalEditors []RequestEditorFn) error {+ for _, r := range c.RequestEditors {+ if err := r(ctx, req); err != nil {+ return err+ }+ }+ for _, r := range additionalEditors {+ if err := r(ctx, req); err != nil {+ return err+ }+ }+ return nil+}++// ClientWithResponses builds on ClientInterface to offer response payloads+type ClientWithResponses struct {+ ClientInterface+}++// NewClientWithResponses creates a new ClientWithResponses, which wraps+// Client with return type handling+func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) {+ client, err := NewClient(server, opts...)+ if err != nil {+ return nil, err+ }+ return &ClientWithResponses{client}, nil+}++// WithBaseURL overrides the baseURL.+func WithBaseURL(baseURL string) ClientOption {+ return func(c *Client) error {+ newBaseURL, err := url.Parse(baseURL)+ if err != nil {+ return err+ }+ c.Server = newBaseURL.String()+ return nil+ }+}++// ClientWithResponsesInterface is the interface specification for the client with responses above.+type ClientWithResponsesInterface interface {++ // GetInstanceStatusWithResponse performs a GET /api/status (the `GetInstanceStatus` operationId) request.+ //+ // Get the status of the Infisical instance and the features configured on it. Public and unauthenticated; used by liveness and readiness probes and exempt from the API-wide rate limit.+ //+ // Returns a wrapper object for the known response body format(s).+ GetInstanceStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInstanceStatusResponse, error)++ // AdminBootstrapWithBodyWithResponse performs a POST /api/v1/admin/bootstrap (the `AdminBootstrap` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ AdminBootstrapWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminBootstrapResponse, error)++ // AdminBootstrapWithResponse performs a POST /api/v1/admin/bootstrap (the `AdminBootstrap` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ AdminBootstrapWithResponse(ctx context.Context, body AdminBootstrapJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminBootstrapResponse, error)++ // UpdateAdminConfigWithBodyWithResponse performs a PATCH /api/v1/admin/config (the `UpdateAdminConfig` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ UpdateAdminConfigWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAdminConfigResponse, error)++ // UpdateAdminConfigWithResponse performs a PATCH /api/v1/admin/config (the `UpdateAdminConfig` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ UpdateAdminConfigWithResponse(ctx context.Context, body UpdateAdminConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAdminConfigResponse, error)++ // CreateGitHubAppConnectionWithBodyWithResponse performs a POST /api/v1/app-connections/github (the `CreateGitHubAppConnection` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create a GitHub Connection.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateGitHubAppConnectionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGitHubAppConnectionResponse, error)++ // CreateGitHubAppConnectionWithResponse performs a POST /api/v1/app-connections/github (the `CreateGitHubAppConnection` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Create a GitHub Connection.+ CreateGitHubAppConnectionWithResponse(ctx context.Context, body CreateGitHubAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGitHubAppConnectionResponse, error)++ // DeleteGitHubAppConnectionWithResponse performs a DELETE /api/v1/app-connections/github/{connectionId} (the `DeleteGitHubAppConnection` operationId) request.+ //+ // Delete the specified GitHub Connection.+ //+ // Returns a wrapper object for the known response body format(s).+ DeleteGitHubAppConnectionWithResponse(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteGitHubAppConnectionResponse, error)++ // RefreshAuthTokenWithResponse performs a POST /api/v1/auth/token (the `RefreshAuthToken` operationId) request.+ //+ // Returns a wrapper object for the known response body format(s).+ RefreshAuthTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshAuthTokenResponse, error)++ // AttachUniversalAuthWithBodyWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId} (the `AttachUniversalAuth` operationId) request,+ // with any type of body and a specified content type.+ //+ // Attach Universal Auth configuration onto machine identity.+ //+ // Returns a wrapper object for the known response body format(s).+ AttachUniversalAuthWithBodyWithResponse(ctx context.Context, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachUniversalAuthResponse, error)++ // AttachUniversalAuthWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId} (the `AttachUniversalAuth` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Attach Universal Auth configuration onto machine identity.+ AttachUniversalAuthWithResponse(ctx context.Context, identityId string, body AttachUniversalAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachUniversalAuthResponse, error)++ // CreateUniversalAuthClientSecretWithBodyWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId}/client-secrets (the `CreateUniversalAuthClientSecret` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create Universal Auth Client Secret for machine identity.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateUniversalAuthClientSecretWithBodyWithResponse(ctx context.Context, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUniversalAuthClientSecretResponse, error)++ // CreateUniversalAuthClientSecretWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId}/client-secrets (the `CreateUniversalAuthClientSecret` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Create Universal Auth Client Secret for machine identity.+ CreateUniversalAuthClientSecretWithResponse(ctx context.Context, identityId string, body CreateUniversalAuthClientSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUniversalAuthClientSecretResponse, error)++ // LoginWithUniversalAuthWithBodyWithResponse performs a POST /api/v1/auth/universal-auth/login (the `LoginWithUniversalAuth` operationId) request,+ // with any type of body and a specified content type.+ //+ // Login with Universal Auth for machine identity.+ //+ // Returns a wrapper object for the known response body format(s).+ LoginWithUniversalAuthWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginWithUniversalAuthResponse, error)++ // LoginWithUniversalAuthWithResponse performs a POST /api/v1/auth/universal-auth/login (the `LoginWithUniversalAuth` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Login with Universal Auth for machine identity.+ LoginWithUniversalAuthWithResponse(ctx context.Context, body LoginWithUniversalAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*LoginWithUniversalAuthResponse, error)++ // CreateMachineIdentityWithBodyWithResponse performs a POST /api/v1/identities (the `CreateMachineIdentity` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create machine identity.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateMachineIdentityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMachineIdentityResponse, error)++ // CreateMachineIdentityWithResponse performs a POST /api/v1/identities (the `CreateMachineIdentity` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Create machine identity.+ CreateMachineIdentityWithResponse(ctx context.Context, body CreateMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMachineIdentityResponse, error)++ // InviteUsersToOrganizationWithBodyWithResponse performs a POST /api/v1/invite-org/signup (the `InviteUsersToOrganization` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ InviteUsersToOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteUsersToOrganizationResponse, error)++ // InviteUsersToOrganizationWithResponse performs a POST /api/v1/invite-org/signup (the `InviteUsersToOrganization` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ InviteUsersToOrganizationWithResponse(ctx context.Context, body InviteUsersToOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteUsersToOrganizationResponse, error)++ // VerifyUserToOrganizationWithBodyWithResponse performs a POST /api/v1/invite-org/verify (the `VerifyUserToOrganization` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ VerifyUserToOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyUserToOrganizationResponse, error)++ // VerifyUserToOrganizationWithResponse performs a POST /api/v1/invite-org/verify (the `VerifyUserToOrganization` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ VerifyUserToOrganizationWithResponse(ctx context.Context, body VerifyUserToOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyUserToOrganizationResponse, error)++ // UpdateOrganizationWithBodyWithResponse performs a PATCH /api/v1/organization/{organizationId} (the `UpdateOrganization` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ UpdateOrganizationWithBodyWithResponse(ctx context.Context, organizationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationResponse, error)++ // UpdateOrganizationWithResponse performs a PATCH /api/v1/organization/{organizationId} (the `UpdateOrganization` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ UpdateOrganizationWithResponse(ctx context.Context, organizationId string, body UpdateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationResponse, error)++ // GetOrganizationPlanWithResponse performs a GET /api/v1/organizations/{organizationId}/plan (the `GetOrganizationPlan` operationId) request.+ //+ // Returns a wrapper object for the known response body format(s).+ GetOrganizationPlanWithResponse(ctx context.Context, organizationId string, params *GetOrganizationPlanParams, reqEditors ...RequestEditorFn) (*GetOrganizationPlanResponse, error)++ // CreateProjectFolderGrantWithBodyWithResponse performs a POST /api/v1/project-folder-grants (the `CreateProjectFolderGrant` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateProjectFolderGrantWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectFolderGrantResponse, error)++ // CreateProjectFolderGrantWithResponse performs a POST /api/v1/project-folder-grants (the `CreateProjectFolderGrant` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ CreateProjectFolderGrantWithResponse(ctx context.Context, body CreateProjectFolderGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectFolderGrantResponse, error)++ // DeleteProjectFolderGrantWithResponse performs a DELETE /api/v1/project-folder-grants/{grantId} (the `DeleteProjectFolderGrant` operationId) request.+ //+ // Returns a wrapper object for the known response body format(s).+ DeleteProjectFolderGrantWithResponse(ctx context.Context, grantId openapi_types.UUID, params *DeleteProjectFolderGrantParams, reqEditors ...RequestEditorFn) (*DeleteProjectFolderGrantResponse, error)++ // CreateProjectWithBodyWithResponse performs a POST /api/v1/projects (the `CreateProject` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create a new project.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)++ // CreateProjectWithResponse performs a POST /api/v1/projects (the `CreateProject` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Create a new project.+ CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)++ // ListProjectMachineIdentitiesWithResponse performs a GET /api/v1/projects/{projectId}/identities (the `ListProjectMachineIdentities` operationId) request.+ //+ // List identities in a project.+ //+ // Returns a wrapper object for the known response body format(s).+ ListProjectMachineIdentitiesWithResponse(ctx context.Context, projectId string, params *ListProjectMachineIdentitiesParams, reqEditors ...RequestEditorFn) (*ListProjectMachineIdentitiesResponse, error)++ // CreateProjectMachineIdentityWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create an identity in a project.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateProjectMachineIdentityWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectMachineIdentityResponse, error)++ // CreateProjectMachineIdentityWithResponse performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` 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 identity in a project.+ CreateProjectMachineIdentityWithResponse(ctx context.Context, projectId string, body CreateProjectMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectMachineIdentityResponse, error)++ // InviteProjectMembersWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request,+ // with any type of body and a specified content type.+ //+ // Invite members to project.+ //+ // Returns a wrapper object for the known response body format(s).+ InviteProjectMembersWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteProjectMembersResponse, error)++ // InviteProjectMembersWithResponse performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Invite members to project.+ InviteProjectMembersWithResponse(ctx context.Context, projectId string, body InviteProjectMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteProjectMembersResponse, error)++ // CreateProjectIdentityMembershipWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create project identity membership.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateProjectIdentityMembershipWithBodyWithResponse(ctx context.Context, projectId string, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectIdentityMembershipResponse, error)++ // CreateProjectIdentityMembershipWithResponse performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Create project identity membership.+ CreateProjectIdentityMembershipWithResponse(ctx context.Context, projectId string, identityId string, body CreateProjectIdentityMembershipJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectIdentityMembershipResponse, error)++ // CreateIdentityFolderAccessWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId}/secret-folder-access (the `CreateIdentityFolderAccess` operationId) request,+ // with any type of body and a specified content type.+ //+ // Grant a machine identity access to a folder.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateIdentityFolderAccessWithBodyWithResponse(ctx context.Context, projectId string, identityId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIdentityFolderAccessResponse, error)++ // CreateIdentityFolderAccessWithResponse performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId}/secret-folder-access (the `CreateIdentityFolderAccess` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Grant a machine identity access to a folder.+ CreateIdentityFolderAccessWithResponse(ctx context.Context, projectId string, identityId openapi_types.UUID, body CreateIdentityFolderAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIdentityFolderAccessResponse, error)++ // CreateSecretTagWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/tags (the `CreateSecretTag` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateSecretTagWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretTagResponse, error)++ // CreateSecretTagWithResponse performs a POST /api/v1/projects/{projectId}/tags (the `CreateSecretTag` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ CreateSecretTagWithResponse(ctx context.Context, projectId string, body CreateSecretTagJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretTagResponse, error)++ // ListSecretApprovalRequestsWithResponse performs a GET /api/v1/secret-approval-requests (the `ListSecretApprovalRequests` operationId) request.+ //+ // Returns a wrapper object for the known response body format(s).+ ListSecretApprovalRequestsWithResponse(ctx context.Context, params *ListSecretApprovalRequestsParams, reqEditors ...RequestEditorFn) (*ListSecretApprovalRequestsResponse, error)++ // GetSecretApprovalRequestCountWithResponse performs a GET /api/v1/secret-approval-requests/count (the `GetSecretApprovalRequestCount` operationId) request.+ //+ // Returns a wrapper object for the known response body format(s).+ GetSecretApprovalRequestCountWithResponse(ctx context.Context, params *GetSecretApprovalRequestCountParams, reqEditors ...RequestEditorFn) (*GetSecretApprovalRequestCountResponse, error)++ // GetSecretApprovalRequestWithResponse performs a GET /api/v1/secret-approval-requests/{id} (the `GetSecretApprovalRequest` operationId) request.+ //+ // Returns a wrapper object for the known response body format(s).+ GetSecretApprovalRequestWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSecretApprovalRequestResponse, error)++ // MergeSecretApprovalRequestWithBodyWithResponse performs a POST /api/v1/secret-approval-requests/{id}/merge (the `MergeSecretApprovalRequest` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ MergeSecretApprovalRequestWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MergeSecretApprovalRequestResponse, error)++ // MergeSecretApprovalRequestWithResponse performs a POST /api/v1/secret-approval-requests/{id}/merge (the `MergeSecretApprovalRequest` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ MergeSecretApprovalRequestWithResponse(ctx context.Context, id openapi_types.UUID, body MergeSecretApprovalRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*MergeSecretApprovalRequestResponse, error)++ // ReviewSecretApprovalRequestWithBodyWithResponse performs a POST /api/v1/secret-approval-requests/{id}/review (the `ReviewSecretApprovalRequest` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ ReviewSecretApprovalRequestWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReviewSecretApprovalRequestResponse, error)++ // ReviewSecretApprovalRequestWithResponse performs a POST /api/v1/secret-approval-requests/{id}/review (the `ReviewSecretApprovalRequest` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ ReviewSecretApprovalRequestWithResponse(ctx context.Context, id openapi_types.UUID, body ReviewSecretApprovalRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*ReviewSecretApprovalRequestResponse, error)++ // UpdateSecretApprovalRequestStatusWithBodyWithResponse performs a POST /api/v1/secret-approval-requests/{id}/status (the `UpdateSecretApprovalRequestStatus` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ UpdateSecretApprovalRequestStatusWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSecretApprovalRequestStatusResponse, error)++ // UpdateSecretApprovalRequestStatusWithResponse performs a POST /api/v1/secret-approval-requests/{id}/status (the `UpdateSecretApprovalRequestStatus` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ UpdateSecretApprovalRequestStatusWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateSecretApprovalRequestStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSecretApprovalRequestStatusResponse, error)++ // CreateGitHubSecretSyncWithBodyWithResponse performs a POST /api/v1/secret-syncs/github (the `CreateGitHubSecretSync` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create a GitHub Sync for the specified project environment.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateGitHubSecretSyncWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGitHubSecretSyncResponse, error)++ // CreateGitHubSecretSyncWithResponse performs a POST /api/v1/secret-syncs/github (the `CreateGitHubSecretSync` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Create a GitHub Sync for the specified project environment.+ CreateGitHubSecretSyncWithResponse(ctx context.Context, body CreateGitHubSecretSyncJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGitHubSecretSyncResponse, error)++ // DeleteGitHubSecretSyncWithResponse performs a DELETE /api/v1/secret-syncs/github/{syncId} (the `DeleteGitHubSecretSync` operationId) request.+ //+ // Delete the specified GitHub Sync.+ //+ // Returns a wrapper object for the known response body format(s).+ DeleteGitHubSecretSyncWithResponse(ctx context.Context, syncId openapi_types.UUID, params *DeleteGitHubSecretSyncParams, reqEditors ...RequestEditorFn) (*DeleteGitHubSecretSyncResponse, error)++ // GetGitHubSecretSyncWithResponse performs a GET /api/v1/secret-syncs/github/{syncId} (the `GetGitHubSecretSync` operationId) request.+ //+ // Get the specified GitHub Sync by ID.+ //+ // Returns a wrapper object for the known response body format(s).+ GetGitHubSecretSyncWithResponse(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetGitHubSecretSyncResponse, error)++ // RemoveGitHubSecretSyncSecretsWithResponse performs a POST /api/v1/secret-syncs/github/{syncId}/remove-secrets (the `RemoveGitHubSecretSyncSecrets` operationId) request.+ //+ // Remove previously synced secrets from the specified GitHub Sync destination.+ //+ // Returns a wrapper object for the known response body format(s).+ RemoveGitHubSecretSyncSecretsWithResponse(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveGitHubSecretSyncSecretsResponse, error)++ // SyncGitHubSecretSyncWithResponse performs a POST /api/v1/secret-syncs/github/{syncId}/sync-secrets (the `SyncGitHubSecretSync` operationId) request.+ //+ // Trigger a sync for the specified GitHub Sync.+ //+ // Returns a wrapper object for the known response body format(s).+ SyncGitHubSecretSyncWithResponse(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*SyncGitHubSecretSyncResponse, error)++ // CreateSecretFolderWithBodyWithResponse performs a POST /api/v2/folders (the `CreateSecretFolder` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create folders.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateSecretFolderWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretFolderResponse, error)++ // CreateSecretFolderWithResponse performs a POST /api/v2/folders (the `CreateSecretFolder` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Create folders.+ CreateSecretFolderWithResponse(ctx context.Context, body CreateSecretFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretFolderResponse, error)++ // CreateOrganizationWithBodyWithResponse performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)++ // CreateOrganizationWithResponse performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ CreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)++ // DeleteOrganizationWithResponse performs a DELETE /api/v2/organizations/{organizationId} (the `DeleteOrganization` operationId) request.+ //+ // Returns a wrapper object for the known response body format(s).+ DeleteOrganizationWithResponse(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationResponse, error)++ // CreateSecretApprovalPolicyWithBodyWithResponse performs a POST /api/v2/secret-approvals (the `CreateSecretApprovalPolicy` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateSecretApprovalPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretApprovalPolicyResponse, error)++ // CreateSecretApprovalPolicyWithResponse performs a POST /api/v2/secret-approvals (the `CreateSecretApprovalPolicy` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ CreateSecretApprovalPolicyWithResponse(ctx context.Context, body CreateSecretApprovalPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretApprovalPolicyResponse, error)++ // GetSecretApprovalPolicyBoardWithResponse performs a GET /api/v2/secret-approvals/board (the `GetSecretApprovalPolicyBoard` operationId) request.+ //+ // Returns a wrapper object for the known response body format(s).+ GetSecretApprovalPolicyBoardWithResponse(ctx context.Context, params *GetSecretApprovalPolicyBoardParams, reqEditors ...RequestEditorFn) (*GetSecretApprovalPolicyBoardResponse, error)++ // DeleteSecretApprovalPolicyWithResponse performs a DELETE /api/v2/secret-approvals/{sapId} (the `DeleteSecretApprovalPolicy` operationId) request.+ //+ // Returns a wrapper object for the known response body format(s).+ DeleteSecretApprovalPolicyWithResponse(ctx context.Context, sapId string, reqEditors ...RequestEditorFn) (*DeleteSecretApprovalPolicyResponse, error)++ // GetSecretApprovalPolicyWithResponse performs a GET /api/v2/secret-approvals/{sapId} (the `GetSecretApprovalPolicy` operationId) request.+ //+ // Returns a wrapper object for the known response body format(s).+ GetSecretApprovalPolicyWithResponse(ctx context.Context, sapId string, reqEditors ...RequestEditorFn) (*GetSecretApprovalPolicyResponse, error)++ // UpdateSecretApprovalPolicyWithBodyWithResponse performs a PATCH /api/v2/secret-approvals/{sapId} (the `UpdateSecretApprovalPolicy` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ UpdateSecretApprovalPolicyWithBodyWithResponse(ctx context.Context, sapId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSecretApprovalPolicyResponse, error)++ // UpdateSecretApprovalPolicyWithResponse performs a PATCH /api/v2/secret-approvals/{sapId} (the `UpdateSecretApprovalPolicy` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ UpdateSecretApprovalPolicyWithResponse(ctx context.Context, sapId string, body UpdateSecretApprovalPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSecretApprovalPolicyResponse, error)++ // CreateSecretImportWithBodyWithResponse performs a POST /api/v2/secret-imports (the `CreateSecretImport` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create secret imports.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateSecretImportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretImportResponse, error)++ // CreateSecretImportWithResponse performs a POST /api/v2/secret-imports (the `CreateSecretImport` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Create secret imports.+ CreateSecretImportWithResponse(ctx context.Context, body CreateSecretImportJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretImportResponse, error)++ // LoginV3WithBodyWithResponse performs a POST /api/v3/auth/login (the `LoginV3` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ LoginV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginV3Response, error)++ // LoginV3WithResponse performs a POST /api/v3/auth/login (the `LoginV3` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ LoginV3WithResponse(ctx context.Context, body LoginV3JSONRequestBody, reqEditors ...RequestEditorFn) (*LoginV3Response, error)++ // SelectOrganizationV3WithBodyWithResponse performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ SelectOrganizationV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectOrganizationV3Response, error)++ // SelectOrganizationV3WithResponse performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ SelectOrganizationV3WithResponse(ctx context.Context, body SelectOrganizationV3JSONRequestBody, reqEditors ...RequestEditorFn) (*SelectOrganizationV3Response, error)++ // CompleteAccountSignupV3WithBodyWithResponse performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ CompleteAccountSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CompleteAccountSignupV3Response, error)++ // CompleteAccountSignupV3WithResponse performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ CompleteAccountSignupV3WithResponse(ctx context.Context, body CompleteAccountSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*CompleteAccountSignupV3Response, error)++ // BeginEmailSignupV3WithBodyWithResponse performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ BeginEmailSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BeginEmailSignupV3Response, error)++ // BeginEmailSignupV3WithResponse performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ BeginEmailSignupV3WithResponse(ctx context.Context, body BeginEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*BeginEmailSignupV3Response, error)++ // VerifyEmailSignupV3WithBodyWithResponse performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ VerifyEmailSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyEmailSignupV3Response, error)++ // VerifyEmailSignupV3WithResponse performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ VerifyEmailSignupV3WithResponse(ctx context.Context, body VerifyEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyEmailSignupV3Response, error)++ // ListSecretsV4WithResponse performs a GET /api/v4/secrets (the `ListSecretsV4` operationId) request.+ //+ // List secrets.+ //+ // Returns a wrapper object for the known response body format(s).+ ListSecretsV4WithResponse(ctx context.Context, params *ListSecretsV4Params, reqEditors ...RequestEditorFn) (*ListSecretsV4Response, error)++ // DeleteManySecretsV4WithBodyWithResponse performs a DELETE /api/v4/secrets/batch (the `DeleteManySecretsV4` operationId) request,+ // with any type of body and a specified content type.+ //+ // Delete many secrets.+ //+ // Returns a wrapper object for the known response body format(s).+ DeleteManySecretsV4WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteManySecretsV4Response, error)++ // DeleteManySecretsV4WithResponse performs a DELETE /api/v4/secrets/batch (the `DeleteManySecretsV4` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Delete many secrets.+ DeleteManySecretsV4WithResponse(ctx context.Context, body DeleteManySecretsV4JSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteManySecretsV4Response, error)++ // UpdateManySecretsV4WithBodyWithResponse performs a PATCH /api/v4/secrets/batch (the `UpdateManySecretsV4` operationId) request,+ // with any type of body and a specified content type.+ //+ // Update many secrets.+ //+ // Returns a wrapper object for the known response body format(s).+ UpdateManySecretsV4WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateManySecretsV4Response, error)++ // UpdateManySecretsV4WithResponse performs a PATCH /api/v4/secrets/batch (the `UpdateManySecretsV4` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Update many secrets.+ UpdateManySecretsV4WithResponse(ctx context.Context, body UpdateManySecretsV4JSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateManySecretsV4Response, error)++ // CreateManySecretsV4WithBodyWithResponse performs a POST /api/v4/secrets/batch (the `CreateManySecretsV4` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create many secrets.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateManySecretsV4WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateManySecretsV4Response, error)++ // CreateManySecretsV4WithResponse performs a POST /api/v4/secrets/batch (the `CreateManySecretsV4` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Create many secrets.+ CreateManySecretsV4WithResponse(ctx context.Context, body CreateManySecretsV4JSONRequestBody, reqEditors ...RequestEditorFn) (*CreateManySecretsV4Response, error)++ // DuplicateSecretV4WithBodyWithResponse performs a POST /api/v4/secrets/duplicate (the `DuplicateSecretV4` operationId) request,+ // with any type of body and a specified content type.+ //+ // Duplicate one or more static secrets into another environment.+ //+ // Returns a wrapper object for the known response body format(s).+ DuplicateSecretV4WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DuplicateSecretV4Response, error)++ // DuplicateSecretV4WithResponse performs a POST /api/v4/secrets/duplicate (the `DuplicateSecretV4` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Duplicate one or more static secrets into another environment.+ DuplicateSecretV4WithResponse(ctx context.Context, body DuplicateSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*DuplicateSecretV4Response, error)++ // GetSecretByIdV4WithResponse performs a GET /api/v4/secrets/id/{secretId} (the `GetSecretByIdV4` operationId) request.+ //+ // Returns a wrapper object for the known response body format(s).+ GetSecretByIdV4WithResponse(ctx context.Context, secretId string, reqEditors ...RequestEditorFn) (*GetSecretByIdV4Response, error)++ // MoveSecretsV4WithBodyWithResponse performs a POST /api/v4/secrets/move (the `MoveSecretsV4` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ MoveSecretsV4WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveSecretsV4Response, error)++ // MoveSecretsV4WithResponse performs a POST /api/v4/secrets/move (the `MoveSecretsV4` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ MoveSecretsV4WithResponse(ctx context.Context, body MoveSecretsV4JSONRequestBody, reqEditors ...RequestEditorFn) (*MoveSecretsV4Response, error)++ // DeleteSecretV4WithBodyWithResponse performs a DELETE /api/v4/secrets/{secretName} (the `DeleteSecretV4` operationId) request,+ // with any type of body and a specified content type.+ //+ // Delete secret.+ //+ // Returns a wrapper object for the known response body format(s).+ DeleteSecretV4WithBodyWithResponse(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteSecretV4Response, error)++ // DeleteSecretV4WithResponse performs a DELETE /api/v4/secrets/{secretName} (the `DeleteSecretV4` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Delete secret.+ DeleteSecretV4WithResponse(ctx context.Context, secretName string, body DeleteSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteSecretV4Response, error)++ // GetSecretByNameV4WithResponse performs a GET /api/v4/secrets/{secretName} (the `GetSecretByNameV4` operationId) request.+ //+ // Get a secret by name.+ //+ // Returns a wrapper object for the known response body format(s).+ GetSecretByNameV4WithResponse(ctx context.Context, secretName string, params *GetSecretByNameV4Params, reqEditors ...RequestEditorFn) (*GetSecretByNameV4Response, error)++ // UpdateSecretV4WithBodyWithResponse performs a PATCH /api/v4/secrets/{secretName} (the `UpdateSecretV4` operationId) request,+ // with any type of body and a specified content type.+ //+ // Update secret.+ //+ // Returns a wrapper object for the known response body format(s).+ UpdateSecretV4WithBodyWithResponse(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSecretV4Response, error)++ // UpdateSecretV4WithResponse performs a PATCH /api/v4/secrets/{secretName} (the `UpdateSecretV4` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Update secret.+ UpdateSecretV4WithResponse(ctx context.Context, secretName string, body UpdateSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSecretV4Response, error)++ // CreateSecretV4WithBodyWithResponse performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create secret.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateSecretV4WithBodyWithResponse(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretV4Response, error)++ // CreateSecretV4WithResponse performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Create secret.+ CreateSecretV4WithResponse(ctx context.Context, secretName string, body CreateSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretV4Response, error)++ // GetSecretReferencesV4WithResponse performs a GET /api/v4/secrets/{secretName}/reference-dependency-tree (the `GetSecretReferencesV4` operationId) request.+ //+ // Get secret reference dependency tree.+ //+ // Returns a wrapper object for the known response body format(s).+ GetSecretReferencesV4WithResponse(ctx context.Context, secretName string, params *GetSecretReferencesV4Params, reqEditors ...RequestEditorFn) (*GetSecretReferencesV4Response, error)++ // GetSecretReferenceTreeV4WithResponse performs a GET /api/v4/secrets/{secretName}/secret-reference-tree (the `GetSecretReferenceTreeV4` operationId) request.+ //+ // Get secret reference tree.+ //+ // Returns a wrapper object for the known response body format(s).+ GetSecretReferenceTreeV4WithResponse(ctx context.Context, secretName string, params *GetSecretReferenceTreeV4Params, reqEditors ...RequestEditorFn) (*GetSecretReferenceTreeV4Response, error)+}++type GetInstanceStatusResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ AuditLogStorageDisabled *bool `json:"auditLogStorageDisabled,omitempty"`+ Date time.Time `json:"date"`+ EmailConfigured *bool `json:"emailConfigured,omitempty"`+ InviteOnlySignup *bool `json:"inviteOnlySignup,omitempty"`+ MaxIdentityAccessTokenTTL *float32 `json:"maxIdentityAccessTokenTTL,omitempty"`+ Message *string `json:"message,omitempty"`+ RedisConfigured *bool `json:"redisConfigured,omitempty"`+ SamlDefaultOrgSlug *string `json:"samlDefaultOrgSlug,omitempty"`+ SecretScanningConfigured *bool `json:"secretScanningConfigured,omitempty"`+ }+ // 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 GetInstanceStatus400JSONResponseBodyStatusCode `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 GetInstanceStatus401JSONResponseBodyStatusCode `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 GetInstanceStatus403JSONResponseBodyStatusCode `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 GetInstanceStatus404JSONResponseBodyStatusCode `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 GetInstanceStatus422JSONResponseBodyStatusCode `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 GetInstanceStatus500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r GetInstanceStatusResponse) GetJSON200() *struct {+ AuditLogStorageDisabled *bool `json:"auditLogStorageDisabled,omitempty"`+ Date time.Time `json:"date"`+ EmailConfigured *bool `json:"emailConfigured,omitempty"`+ InviteOnlySignup *bool `json:"inviteOnlySignup,omitempty"`+ MaxIdentityAccessTokenTTL *float32 `json:"maxIdentityAccessTokenTTL,omitempty"`+ Message *string `json:"message,omitempty"`+ RedisConfigured *bool `json:"redisConfigured,omitempty"`+ SamlDefaultOrgSlug *string `json:"samlDefaultOrgSlug,omitempty"`+ SecretScanningConfigured *bool `json:"secretScanningConfigured,omitempty"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r GetInstanceStatusResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetInstanceStatus400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r GetInstanceStatusResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetInstanceStatus401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r GetInstanceStatusResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetInstanceStatus403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r GetInstanceStatusResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetInstanceStatus404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r GetInstanceStatusResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetInstanceStatus422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r GetInstanceStatusResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetInstanceStatus500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r GetInstanceStatusResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r GetInstanceStatusResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r GetInstanceStatusResponse) 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 GetInstanceStatusResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type AdminBootstrapResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Identity struct {+ Credentials struct {+ Token string `json:"token"`+ } `json:"credentials"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"identity"`+ Message string `json:"message"`+ Organization struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"organization"`+ User struct {+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ Id openapi_types.UUID `json:"id"`+ LastName *string `json:"lastName,omitempty"`+ SuperAdmin *bool `json:"superAdmin,omitempty"`+ Username string `json:"username"`+ } `json:"user"`+ }+ // 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 AdminBootstrap400JSONResponseBodyStatusCode `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 AdminBootstrap401JSONResponseBodyStatusCode `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 AdminBootstrap403JSONResponseBodyStatusCode `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 AdminBootstrap404JSONResponseBodyStatusCode `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 AdminBootstrap422JSONResponseBodyStatusCode `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 AdminBootstrap500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r AdminBootstrapResponse) GetJSON200() *struct {+ Identity struct {+ Credentials struct {+ Token string `json:"token"`+ } `json:"credentials"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"identity"`+ Message string `json:"message"`+ Organization struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"organization"`+ User struct {+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ Id openapi_types.UUID `json:"id"`+ LastName *string `json:"lastName,omitempty"`+ SuperAdmin *bool `json:"superAdmin,omitempty"`+ Username string `json:"username"`+ } `json:"user"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r AdminBootstrapResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r AdminBootstrapResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r AdminBootstrapResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r AdminBootstrapResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r AdminBootstrapResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r AdminBootstrapResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r AdminBootstrapResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r AdminBootstrapResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r AdminBootstrapResponse) 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 AdminBootstrapResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type UpdateAdminConfigResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Config struct {+ AdminIdentityIds *[]string `json:"adminIdentityIds,omitempty"`+ AllowSignUp *bool `json:"allowSignUp,omitempty"`+ AllowedSignUpDomain *string `json:"allowedSignUpDomain,omitempty"`+ AuthConsentContent *string `json:"authConsentContent,omitempty"`+ CreatedAt *time.Time `json:"createdAt,omitempty"`+ DefaultAuthOrgAuthEnforced *bool `json:"defaultAuthOrgAuthEnforced,omitempty"`+ DefaultAuthOrgAuthMethod *string `json:"defaultAuthOrgAuthMethod,omitempty"`+ DefaultAuthOrgId *openapi_types.UUID `json:"defaultAuthOrgId,omitempty"`+ DefaultAuthOrgSlug *string `json:"defaultAuthOrgSlug"`+ EnabledLoginMethods *[]string `json:"enabledLoginMethods,omitempty"`+ FipsEnabled *bool `json:"fipsEnabled,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Initialized *bool `json:"initialized,omitempty"`+ InstanceId *openapi_types.UUID `json:"instanceId,omitempty"`+ IsClickhouseAuditLogEnabled *bool `json:"isClickhouseAuditLogEnabled,omitempty"`+ IsMigrationModeOn *bool `json:"isMigrationModeOn,omitempty"`+ IsOfflineUsageReportsEnabled *bool `json:"isOfflineUsageReportsEnabled,omitempty"`+ IsPublicSecretSharingDisabled *bool `json:"isPublicSecretSharingDisabled,omitempty"`+ IsSecretScanningDisabled *bool `json:"isSecretScanningDisabled,omitempty"`+ KubernetesAutoFetchServiceAccountToken *bool `json:"kubernetesAutoFetchServiceAccountToken,omitempty"`+ LatestAvailableVersion *string `json:"latestAvailableVersion,omitempty"`+ OnboardingCompleted *bool `json:"onboardingCompleted,omitempty"`+ PageFrameContent *string `json:"pageFrameContent,omitempty"`+ ParamsFolderSecretDetectionEnabled *bool `json:"paramsFolderSecretDetectionEnabled,omitempty"`+ PasswordPolicy struct {+ Requirements []struct {+ Code string `json:"code"`+ Flags *string `json:"flags,omitempty"`+ IsPrimary bool `json:"isPrimary"`+ MaxConsecutiveCharacters *int `json:"maxConsecutiveCharacters,omitempty"`+ Message string `json:"message"`+ Patterns []string `json:"patterns"`+ ShouldMatch bool `json:"shouldMatch"`+ ValidationMessage string `json:"validationMessage"`+ } `json:"requirements"`+ } `json:"passwordPolicy"`+ TrustLdapEmails *bool `json:"trustLdapEmails,omitempty"`+ } `json:"config"`+ }+ // 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 UpdateAdminConfig400JSONResponseBodyStatusCode `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 UpdateAdminConfig401JSONResponseBodyStatusCode `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 UpdateAdminConfig403JSONResponseBodyStatusCode `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 UpdateAdminConfig404JSONResponseBodyStatusCode `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 UpdateAdminConfig422JSONResponseBodyStatusCode `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 UpdateAdminConfig500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r UpdateAdminConfigResponse) GetJSON200() *struct {+ Config struct {+ AdminIdentityIds *[]string `json:"adminIdentityIds,omitempty"`+ AllowSignUp *bool `json:"allowSignUp,omitempty"`+ AllowedSignUpDomain *string `json:"allowedSignUpDomain,omitempty"`+ AuthConsentContent *string `json:"authConsentContent,omitempty"`+ CreatedAt *time.Time `json:"createdAt,omitempty"`+ DefaultAuthOrgAuthEnforced *bool `json:"defaultAuthOrgAuthEnforced,omitempty"`+ DefaultAuthOrgAuthMethod *string `json:"defaultAuthOrgAuthMethod,omitempty"`+ DefaultAuthOrgId *openapi_types.UUID `json:"defaultAuthOrgId,omitempty"`+ DefaultAuthOrgSlug *string `json:"defaultAuthOrgSlug"`+ EnabledLoginMethods *[]string `json:"enabledLoginMethods,omitempty"`+ FipsEnabled *bool `json:"fipsEnabled,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Initialized *bool `json:"initialized,omitempty"`+ InstanceId *openapi_types.UUID `json:"instanceId,omitempty"`+ IsClickhouseAuditLogEnabled *bool `json:"isClickhouseAuditLogEnabled,omitempty"`+ IsMigrationModeOn *bool `json:"isMigrationModeOn,omitempty"`+ IsOfflineUsageReportsEnabled *bool `json:"isOfflineUsageReportsEnabled,omitempty"`+ IsPublicSecretSharingDisabled *bool `json:"isPublicSecretSharingDisabled,omitempty"`+ IsSecretScanningDisabled *bool `json:"isSecretScanningDisabled,omitempty"`+ KubernetesAutoFetchServiceAccountToken *bool `json:"kubernetesAutoFetchServiceAccountToken,omitempty"`+ LatestAvailableVersion *string `json:"latestAvailableVersion,omitempty"`+ OnboardingCompleted *bool `json:"onboardingCompleted,omitempty"`+ PageFrameContent *string `json:"pageFrameContent,omitempty"`+ ParamsFolderSecretDetectionEnabled *bool `json:"paramsFolderSecretDetectionEnabled,omitempty"`+ PasswordPolicy struct {+ Requirements []struct {+ Code string `json:"code"`+ Flags *string `json:"flags,omitempty"`+ IsPrimary bool `json:"isPrimary"`+ MaxConsecutiveCharacters *int `json:"maxConsecutiveCharacters,omitempty"`+ Message string `json:"message"`+ Patterns []string `json:"patterns"`+ ShouldMatch bool `json:"shouldMatch"`+ ValidationMessage string `json:"validationMessage"`+ } `json:"requirements"`+ } `json:"passwordPolicy"`+ TrustLdapEmails *bool `json:"trustLdapEmails,omitempty"`+ } `json:"config"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r UpdateAdminConfigResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r UpdateAdminConfigResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r UpdateAdminConfigResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r UpdateAdminConfigResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r UpdateAdminConfigResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r UpdateAdminConfigResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r UpdateAdminConfigResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r UpdateAdminConfigResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r UpdateAdminConfigResponse) 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 UpdateAdminConfigResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type CreateGitHubAppConnectionResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ AppConnection CreateGitHubAppConnection200JSONResponseBody_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 CreateGitHubAppConnection400JSONResponseBodyStatusCode `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 CreateGitHubAppConnection401JSONResponseBodyStatusCode `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 CreateGitHubAppConnection403JSONResponseBodyStatusCode `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 CreateGitHubAppConnection404JSONResponseBodyStatusCode `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 CreateGitHubAppConnection422JSONResponseBodyStatusCode `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 CreateGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r CreateGitHubAppConnectionResponse) GetJSON200() *struct {+ AppConnection CreateGitHubAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r CreateGitHubAppConnectionResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r CreateGitHubAppConnectionResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r CreateGitHubAppConnectionResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r CreateGitHubAppConnectionResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r CreateGitHubAppConnectionResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r CreateGitHubAppConnectionResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r CreateGitHubAppConnectionResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r CreateGitHubAppConnectionResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r CreateGitHubAppConnectionResponse) 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 CreateGitHubAppConnectionResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type DeleteGitHubAppConnectionResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ AppConnection DeleteGitHubAppConnection200JSONResponseBody_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 DeleteGitHubAppConnection400JSONResponseBodyStatusCode `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 DeleteGitHubAppConnection401JSONResponseBodyStatusCode `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 DeleteGitHubAppConnection403JSONResponseBodyStatusCode `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 DeleteGitHubAppConnection404JSONResponseBodyStatusCode `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 DeleteGitHubAppConnection422JSONResponseBodyStatusCode `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 DeleteGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r DeleteGitHubAppConnectionResponse) GetJSON200() *struct {+ AppConnection DeleteGitHubAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r DeleteGitHubAppConnectionResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r DeleteGitHubAppConnectionResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r DeleteGitHubAppConnectionResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r DeleteGitHubAppConnectionResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r DeleteGitHubAppConnectionResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r DeleteGitHubAppConnectionResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r DeleteGitHubAppConnectionResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r DeleteGitHubAppConnectionResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r DeleteGitHubAppConnectionResponse) 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 DeleteGitHubAppConnectionResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type RefreshAuthTokenResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ OrganizationId *string `json:"organizationId,omitempty"`+ RefreshToken *string `json:"refreshToken,omitempty"`+ SubOrganizationId *string `json:"subOrganizationId,omitempty"`+ Token string `json:"token"`+ }+ // 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 RefreshAuthToken400JSONResponseBodyStatusCode `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 RefreshAuthToken401JSONResponseBodyStatusCode `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 RefreshAuthToken403JSONResponseBodyStatusCode `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 RefreshAuthToken404JSONResponseBodyStatusCode `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 RefreshAuthToken422JSONResponseBodyStatusCode `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 RefreshAuthToken500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r RefreshAuthTokenResponse) GetJSON200() *struct {+ OrganizationId *string `json:"organizationId,omitempty"`+ RefreshToken *string `json:"refreshToken,omitempty"`+ SubOrganizationId *string `json:"subOrganizationId,omitempty"`+ Token string `json:"token"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r RefreshAuthTokenResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r RefreshAuthTokenResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r RefreshAuthTokenResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r RefreshAuthTokenResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r RefreshAuthTokenResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r RefreshAuthTokenResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r RefreshAuthTokenResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r RefreshAuthTokenResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r RefreshAuthTokenResponse) 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 RefreshAuthTokenResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type AttachUniversalAuthResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ IdentityUniversalAuth struct {+ AccessTokenMaxTTL *float32 `json:"accessTokenMaxTTL,omitempty"`+ AccessTokenNumUsesLimit *float32 `json:"accessTokenNumUsesLimit,omitempty"`+ AccessTokenPeriod *float32 `json:"accessTokenPeriod,omitempty"`+ AccessTokenTTL *float32 `json:"accessTokenTTL,omitempty"`+ AccessTokenTrustedIps interface{} `json:"accessTokenTrustedIps,omitempty"`+ ClientId string `json:"clientId"`+ ClientSecretTrustedIps interface{} `json:"clientSecretTrustedIps,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ IdentityId openapi_types.UUID `json:"identityId"`+ LockoutCounterResetSeconds *float32 `json:"lockoutCounterResetSeconds,omitempty"`+ LockoutDurationSeconds *float32 `json:"lockoutDurationSeconds,omitempty"`+ LockoutEnabled *bool `json:"lockoutEnabled,omitempty"`+ LockoutThreshold *float32 `json:"lockoutThreshold,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identityUniversalAuth"`+ }+ // 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 AttachUniversalAuth400JSONResponseBodyStatusCode `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 AttachUniversalAuth401JSONResponseBodyStatusCode `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 AttachUniversalAuth403JSONResponseBodyStatusCode `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 AttachUniversalAuth404JSONResponseBodyStatusCode `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 AttachUniversalAuth422JSONResponseBodyStatusCode `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 AttachUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r AttachUniversalAuthResponse) GetJSON200() *struct {+ IdentityUniversalAuth struct {+ AccessTokenMaxTTL *float32 `json:"accessTokenMaxTTL,omitempty"`+ AccessTokenNumUsesLimit *float32 `json:"accessTokenNumUsesLimit,omitempty"`+ AccessTokenPeriod *float32 `json:"accessTokenPeriod,omitempty"`+ AccessTokenTTL *float32 `json:"accessTokenTTL,omitempty"`+ AccessTokenTrustedIps interface{} `json:"accessTokenTrustedIps,omitempty"`+ ClientId string `json:"clientId"`+ ClientSecretTrustedIps interface{} `json:"clientSecretTrustedIps,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ IdentityId openapi_types.UUID `json:"identityId"`+ LockoutCounterResetSeconds *float32 `json:"lockoutCounterResetSeconds,omitempty"`+ LockoutDurationSeconds *float32 `json:"lockoutDurationSeconds,omitempty"`+ LockoutEnabled *bool `json:"lockoutEnabled,omitempty"`+ LockoutThreshold *float32 `json:"lockoutThreshold,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identityUniversalAuth"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r AttachUniversalAuthResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r AttachUniversalAuthResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r AttachUniversalAuthResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r AttachUniversalAuthResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r AttachUniversalAuthResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r AttachUniversalAuthResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r AttachUniversalAuthResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r AttachUniversalAuthResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r AttachUniversalAuthResponse) 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 AttachUniversalAuthResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type CreateUniversalAuthClientSecretResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ ClientSecret string `json:"clientSecret"`+ ClientSecretData struct {+ ClientSecretNumUses *float32 `json:"clientSecretNumUses,omitempty"`+ ClientSecretNumUsesLimit *float32 `json:"clientSecretNumUsesLimit,omitempty"`+ ClientSecretPrefix string `json:"clientSecretPrefix"`+ ClientSecretTTL *float32 `json:"clientSecretTTL,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Description string `json:"description"`+ Id string `json:"id"`+ IdentityUAId openapi_types.UUID `json:"identityUAId"`+ IsClientSecretRevoked *bool `json:"isClientSecretRevoked,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"clientSecretData"`+ }+ // 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 CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode `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 CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode `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 CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode `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 CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode `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 CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode `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 CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r CreateUniversalAuthClientSecretResponse) GetJSON200() *struct {+ ClientSecret string `json:"clientSecret"`+ ClientSecretData struct {+ ClientSecretNumUses *float32 `json:"clientSecretNumUses,omitempty"`+ ClientSecretNumUsesLimit *float32 `json:"clientSecretNumUsesLimit,omitempty"`+ ClientSecretPrefix string `json:"clientSecretPrefix"`+ ClientSecretTTL *float32 `json:"clientSecretTTL,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Description string `json:"description"`+ Id string `json:"id"`+ IdentityUAId openapi_types.UUID `json:"identityUAId"`+ IsClientSecretRevoked *bool `json:"isClientSecretRevoked,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"clientSecretData"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r CreateUniversalAuthClientSecretResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r CreateUniversalAuthClientSecretResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r CreateUniversalAuthClientSecretResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r CreateUniversalAuthClientSecretResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r CreateUniversalAuthClientSecretResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r CreateUniversalAuthClientSecretResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r CreateUniversalAuthClientSecretResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r CreateUniversalAuthClientSecretResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r CreateUniversalAuthClientSecretResponse) 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 CreateUniversalAuthClientSecretResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type LoginWithUniversalAuthResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ AccessToken string `json:"accessToken"`+ AccessTokenMaxTTL float32 `json:"accessTokenMaxTTL"`+ ExpiresIn float32 `json:"expiresIn"`+ TokenType LoginWithUniversalAuth200JSONResponseBodyTokenType `json:"tokenType"`+ }+ // 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 LoginWithUniversalAuth400JSONResponseBodyStatusCode `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 LoginWithUniversalAuth401JSONResponseBodyStatusCode `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 LoginWithUniversalAuth403JSONResponseBodyStatusCode `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 LoginWithUniversalAuth404JSONResponseBodyStatusCode `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 LoginWithUniversalAuth422JSONResponseBodyStatusCode `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 LoginWithUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r LoginWithUniversalAuthResponse) GetJSON200() *struct {+ AccessToken string `json:"accessToken"`+ AccessTokenMaxTTL float32 `json:"accessTokenMaxTTL"`+ ExpiresIn float32 `json:"expiresIn"`+ TokenType LoginWithUniversalAuth200JSONResponseBodyTokenType `json:"tokenType"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r LoginWithUniversalAuthResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r LoginWithUniversalAuthResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r LoginWithUniversalAuthResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r LoginWithUniversalAuthResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r LoginWithUniversalAuthResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r LoginWithUniversalAuthResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r LoginWithUniversalAuthResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r LoginWithUniversalAuthResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r LoginWithUniversalAuthResponse) 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 LoginWithUniversalAuthResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type CreateMachineIdentityResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Identity struct {+ AuthMethod *string `json:"authMethod,omitempty"`+ AuthMethods []string `json:"authMethods"`+ CreatedAt time.Time `json:"createdAt"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Metadata []struct {+ Id string `json:"id"`+ Key string `json:"key"`+ Value string `json:"value"`+ } `json:"metadata"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ ProjectId *string `json:"projectId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identity"`+ }+ // 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 CreateMachineIdentity400JSONResponseBodyStatusCode `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 CreateMachineIdentity401JSONResponseBodyStatusCode `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 CreateMachineIdentity403JSONResponseBodyStatusCode `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 CreateMachineIdentity404JSONResponseBodyStatusCode `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 CreateMachineIdentity422JSONResponseBodyStatusCode `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 CreateMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r CreateMachineIdentityResponse) GetJSON200() *struct {+ Identity struct {+ AuthMethod *string `json:"authMethod,omitempty"`+ AuthMethods []string `json:"authMethods"`+ CreatedAt time.Time `json:"createdAt"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Metadata []struct {+ Id string `json:"id"`+ Key string `json:"key"`+ Value string `json:"value"`+ } `json:"metadata"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ ProjectId *string `json:"projectId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identity"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r CreateMachineIdentityResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r CreateMachineIdentityResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r CreateMachineIdentityResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r CreateMachineIdentityResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r CreateMachineIdentityResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r CreateMachineIdentityResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r CreateMachineIdentityResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r CreateMachineIdentityResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r CreateMachineIdentityResponse) 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 CreateMachineIdentityResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type InviteUsersToOrganizationResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ CompleteInviteLinks *[]struct {+ Email string `json:"email"`+ Link string `json:"link"`+ } `json:"completeInviteLinks,omitempty"`+ GrantFailures *struct {+ AgentVaultAccess bool `json:"agentVaultAccess"`+ PamAccess bool `json:"pamAccess"`+ ProjectIds []string `json:"projectIds"`+ } `json:"grantFailures,omitempty"`+ Message string `json:"message"`+ }+ // 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 InviteUsersToOrganization400JSONResponseBodyStatusCode `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 InviteUsersToOrganization401JSONResponseBodyStatusCode `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 InviteUsersToOrganization403JSONResponseBodyStatusCode `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 InviteUsersToOrganization404JSONResponseBodyStatusCode `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 InviteUsersToOrganization422JSONResponseBodyStatusCode `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 InviteUsersToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r InviteUsersToOrganizationResponse) GetJSON200() *struct {+ CompleteInviteLinks *[]struct {+ Email string `json:"email"`+ Link string `json:"link"`+ } `json:"completeInviteLinks,omitempty"`+ GrantFailures *struct {+ AgentVaultAccess bool `json:"agentVaultAccess"`+ PamAccess bool `json:"pamAccess"`+ ProjectIds []string `json:"projectIds"`+ } `json:"grantFailures,omitempty"`+ Message string `json:"message"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r InviteUsersToOrganizationResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r InviteUsersToOrganizationResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r InviteUsersToOrganizationResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r InviteUsersToOrganizationResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r InviteUsersToOrganizationResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r InviteUsersToOrganizationResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r InviteUsersToOrganizationResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r InviteUsersToOrganizationResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r InviteUsersToOrganizationResponse) 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 InviteUsersToOrganizationResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type VerifyUserToOrganizationResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Message string `json:"message"`++ // OrganizationName Name of the organization associated with the verified invitation+ OrganizationName string `json:"organizationName"`+ Token *string `json:"token,omitempty"`+ }+ // 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 VerifyUserToOrganization400JSONResponseBodyStatusCode `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 VerifyUserToOrganization401JSONResponseBodyStatusCode `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 VerifyUserToOrganization403JSONResponseBodyStatusCode `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 VerifyUserToOrganization404JSONResponseBodyStatusCode `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 VerifyUserToOrganization422JSONResponseBodyStatusCode `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 VerifyUserToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r VerifyUserToOrganizationResponse) GetJSON200() *struct {+ Message string `json:"message"`++ // OrganizationName Name of the organization associated with the verified invitation+ OrganizationName string `json:"organizationName"`+ Token *string `json:"token,omitempty"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r VerifyUserToOrganizationResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r VerifyUserToOrganizationResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r VerifyUserToOrganizationResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r VerifyUserToOrganizationResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r VerifyUserToOrganizationResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r VerifyUserToOrganizationResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r VerifyUserToOrganizationResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r VerifyUserToOrganizationResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r VerifyUserToOrganizationResponse) 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 VerifyUserToOrganizationResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type UpdateOrganizationResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Message string `json:"message"`+ Organization struct {+ AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`+ AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`+ AuthEnforced *bool `json:"authEnforced,omitempty"`+ BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`+ BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ CustomerId *string `json:"customerId,omitempty"`+ DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`+ EnforceMfa *bool `json:"enforceMfa,omitempty"`+ GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`+ Id openapi_types.UUID `json:"id"`+ KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`+ KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`+ MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`+ MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`+ Name string `json:"name"`+ ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`+ PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`+ PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`+ PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`+ RequireGatewayPools *bool `json:"requireGatewayPools,omitempty"`+ RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`+ ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`+ ScimEnabled *bool `json:"scimEnabled,omitempty"`+ SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`+ SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`+ SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`+ ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`+ ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`+ Slug string `json:"slug"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`+ } `json:"organization"`+ }+ // 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 UpdateOrganization400JSONResponseBodyStatusCode `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 UpdateOrganization401JSONResponseBodyStatusCode `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 UpdateOrganization403JSONResponseBodyStatusCode `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 UpdateOrganization404JSONResponseBodyStatusCode `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 UpdateOrganization422JSONResponseBodyStatusCode `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 UpdateOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r UpdateOrganizationResponse) GetJSON200() *struct {+ Message string `json:"message"`+ Organization struct {+ AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`+ AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`+ AuthEnforced *bool `json:"authEnforced,omitempty"`+ BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`+ BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ CustomerId *string `json:"customerId,omitempty"`+ DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`+ EnforceMfa *bool `json:"enforceMfa,omitempty"`+ GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`+ Id openapi_types.UUID `json:"id"`+ KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`+ KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`+ MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`+ MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`+ Name string `json:"name"`+ ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`+ PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`+ PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`+ PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`+ RequireGatewayPools *bool `json:"requireGatewayPools,omitempty"`+ RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`+ ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`+ ScimEnabled *bool `json:"scimEnabled,omitempty"`+ SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`+ SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`+ SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`+ ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`+ ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`+ Slug string `json:"slug"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`+ } `json:"organization"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r UpdateOrganizationResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r UpdateOrganizationResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r UpdateOrganizationResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateOrganization403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r UpdateOrganizationResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateOrganization404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r UpdateOrganizationResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode UpdateOrganization422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r UpdateOrganizationResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r UpdateOrganizationResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r UpdateOrganizationResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r UpdateOrganizationResponse) 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 UpdateOrganizationResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type GetOrganizationPlanResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Plan interface{} `json:"plan,omitempty"`+ }+ // 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 GetOrganizationPlan400JSONResponseBodyStatusCode `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 GetOrganizationPlan401JSONResponseBodyStatusCode `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 GetOrganizationPlan403JSONResponseBodyStatusCode `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 GetOrganizationPlan404JSONResponseBodyStatusCode `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 GetOrganizationPlan422JSONResponseBodyStatusCode `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 GetOrganizationPlan500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r GetOrganizationPlanResponse) GetJSON200() *struct {+ Plan interface{} `json:"plan,omitempty"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r GetOrganizationPlanResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r GetOrganizationPlanResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r GetOrganizationPlanResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r GetOrganizationPlanResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r GetOrganizationPlanResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r GetOrganizationPlanResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r GetOrganizationPlanResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r GetOrganizationPlanResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r GetOrganizationPlanResponse) 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 GetOrganizationPlanResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type CreateProjectFolderGrantResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Grant struct {+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ SourceFolderId openapi_types.UUID `json:"sourceFolderId"`+ SourceProjectId string `json:"sourceProjectId"`+ TargetProjectId string `json:"targetProjectId"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"grant"`+ }+ // 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 CreateProjectFolderGrant400JSONResponseBodyStatusCode `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 CreateProjectFolderGrant401JSONResponseBodyStatusCode `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 CreateProjectFolderGrant403JSONResponseBodyStatusCode `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 CreateProjectFolderGrant404JSONResponseBodyStatusCode `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 CreateProjectFolderGrant422JSONResponseBodyStatusCode `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 CreateProjectFolderGrant500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r CreateProjectFolderGrantResponse) GetJSON200() *struct {+ Grant struct {+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ SourceFolderId openapi_types.UUID `json:"sourceFolderId"`+ SourceProjectId string `json:"sourceProjectId"`+ TargetProjectId string `json:"targetProjectId"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"grant"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r CreateProjectFolderGrantResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectFolderGrant400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r CreateProjectFolderGrantResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectFolderGrant401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r CreateProjectFolderGrantResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectFolderGrant403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r CreateProjectFolderGrantResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectFolderGrant404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r CreateProjectFolderGrantResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectFolderGrant422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r CreateProjectFolderGrantResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectFolderGrant500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r CreateProjectFolderGrantResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r CreateProjectFolderGrantResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r CreateProjectFolderGrantResponse) 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 CreateProjectFolderGrantResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type DeleteProjectFolderGrantResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Grant struct {+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ SourceFolderId openapi_types.UUID `json:"sourceFolderId"`+ SourceProjectId string `json:"sourceProjectId"`+ TargetProjectId string `json:"targetProjectId"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"grant"`+ }+ // 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 DeleteProjectFolderGrant400JSONResponseBodyStatusCode `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 DeleteProjectFolderGrant401JSONResponseBodyStatusCode `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 DeleteProjectFolderGrant403JSONResponseBodyStatusCode `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 DeleteProjectFolderGrant404JSONResponseBodyStatusCode `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 DeleteProjectFolderGrant422JSONResponseBodyStatusCode `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 DeleteProjectFolderGrant500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r DeleteProjectFolderGrantResponse) GetJSON200() *struct {+ Grant struct {+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ SourceFolderId openapi_types.UUID `json:"sourceFolderId"`+ SourceProjectId string `json:"sourceProjectId"`+ TargetProjectId string `json:"targetProjectId"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"grant"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r DeleteProjectFolderGrantResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteProjectFolderGrant400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r DeleteProjectFolderGrantResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteProjectFolderGrant401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r DeleteProjectFolderGrantResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteProjectFolderGrant403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r DeleteProjectFolderGrantResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteProjectFolderGrant404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r DeleteProjectFolderGrantResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DeleteProjectFolderGrant422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r DeleteProjectFolderGrantResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteProjectFolderGrant500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r DeleteProjectFolderGrantResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r DeleteProjectFolderGrantResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r DeleteProjectFolderGrantResponse) 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 DeleteProjectFolderGrantResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type CreateProjectResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Project struct {+ UnderscoreId string `json:"_id"`+ AuditLogsRetentionDays *float32 `json:"auditLogsRetentionDays,omitempty"`+ AutoCapitalization *bool `json:"autoCapitalization,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ DefaultProduct *string `json:"defaultProduct,omitempty"`+ DeletedEnvironments []struct {+ DeleteAfter time.Time `json:"deleteAfter"`+ DeletedBy *CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy `json:"deletedBy"`+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ SoftDeletedAt time.Time `json:"softDeletedAt"`+ } `json:"deletedEnvironments"`+ Description *string `json:"description,omitempty"`+ EnforceEncryptedSecretManagerSecretMetadata *bool `json:"enforceEncryptedSecretManagerSecretMetadata,omitempty"`+ Environments []struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environments"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id string `json:"id"`+ IsLegacyAdditionalPrivilegesEnabled *bool `json:"isLegacyAdditionalPrivilegesEnabled,omitempty"`+ KmsCertificateKeyId *openapi_types.UUID `json:"kmsCertificateKeyId,omitempty"`+ KmsSecretManagerKeyId *openapi_types.UUID `json:"kmsSecretManagerKeyId,omitempty"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ PitVersionLimit *float32 `json:"pitVersionLimit,omitempty"`+ SecretBlindIndexEnabled *bool `json:"secretBlindIndexEnabled,omitempty"`+ SecretDetectionIgnoreValues *[]string `json:"secretDetectionIgnoreValues,omitempty"`+ SecretSharing *bool `json:"secretSharing,omitempty"`+ ShowSnapshotsLegacy *bool `json:"showSnapshotsLegacy,omitempty"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ UpgradeStatus *string `json:"upgradeStatus,omitempty"`+ Version *float32 `json:"version,omitempty"`+ } `json:"project"`+ }+ // 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 CreateProject400JSONResponseBodyStatusCode `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 CreateProject401JSONResponseBodyStatusCode `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 CreateProject403JSONResponseBodyStatusCode `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 CreateProject404JSONResponseBodyStatusCode `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 CreateProject422JSONResponseBodyStatusCode `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 CreateProject500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r CreateProjectResponse) GetJSON200() *struct {+ Project struct {+ UnderscoreId string `json:"_id"`+ AuditLogsRetentionDays *float32 `json:"auditLogsRetentionDays,omitempty"`+ AutoCapitalization *bool `json:"autoCapitalization,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ DefaultProduct *string `json:"defaultProduct,omitempty"`+ DeletedEnvironments []struct {+ DeleteAfter time.Time `json:"deleteAfter"`+ DeletedBy *CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy `json:"deletedBy"`+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ SoftDeletedAt time.Time `json:"softDeletedAt"`+ } `json:"deletedEnvironments"`+ Description *string `json:"description,omitempty"`+ EnforceEncryptedSecretManagerSecretMetadata *bool `json:"enforceEncryptedSecretManagerSecretMetadata,omitempty"`+ Environments []struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environments"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id string `json:"id"`+ IsLegacyAdditionalPrivilegesEnabled *bool `json:"isLegacyAdditionalPrivilegesEnabled,omitempty"`+ KmsCertificateKeyId *openapi_types.UUID `json:"kmsCertificateKeyId,omitempty"`+ KmsSecretManagerKeyId *openapi_types.UUID `json:"kmsSecretManagerKeyId,omitempty"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ PitVersionLimit *float32 `json:"pitVersionLimit,omitempty"`+ SecretBlindIndexEnabled *bool `json:"secretBlindIndexEnabled,omitempty"`+ SecretDetectionIgnoreValues *[]string `json:"secretDetectionIgnoreValues,omitempty"`+ SecretSharing *bool `json:"secretSharing,omitempty"`+ ShowSnapshotsLegacy *bool `json:"showSnapshotsLegacy,omitempty"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ UpgradeStatus *string `json:"upgradeStatus,omitempty"`+ Version *float32 `json:"version,omitempty"`+ } `json:"project"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r CreateProjectResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r CreateProjectResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r CreateProjectResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r CreateProjectResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r CreateProjectResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r CreateProjectResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r CreateProjectResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r CreateProjectResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r CreateProjectResponse) 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 CreateProjectResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type ListProjectMachineIdentitiesResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Identities []struct {+ ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`+ AuthMethods *[]string `json:"authMethods,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Metadata *[]struct {+ Id string `json:"id"`+ Key string `json:"key"`+ Value string `json:"value"`+ } `json:"metadata,omitempty"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ ProjectId *string `json:"projectId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identities"`+ TotalCount float32 `json:"totalCount"`+ }+ // 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 ListProjectMachineIdentities400JSONResponseBodyStatusCode `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 ListProjectMachineIdentities401JSONResponseBodyStatusCode `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 ListProjectMachineIdentities403JSONResponseBodyStatusCode `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 ListProjectMachineIdentities404JSONResponseBodyStatusCode `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 ListProjectMachineIdentities422JSONResponseBodyStatusCode `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 ListProjectMachineIdentities500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r ListProjectMachineIdentitiesResponse) GetJSON200() *struct {+ Identities []struct {+ ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`+ AuthMethods *[]string `json:"authMethods,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Metadata *[]struct {+ Id string `json:"id"`+ Key string `json:"key"`+ Value string `json:"value"`+ } `json:"metadata,omitempty"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ ProjectId *string `json:"projectId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identities"`+ TotalCount float32 `json:"totalCount"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r ListProjectMachineIdentitiesResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r ListProjectMachineIdentitiesResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r ListProjectMachineIdentitiesResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r ListProjectMachineIdentitiesResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r ListProjectMachineIdentitiesResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r ListProjectMachineIdentitiesResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r ListProjectMachineIdentitiesResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r ListProjectMachineIdentitiesResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r ListProjectMachineIdentitiesResponse) 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 ListProjectMachineIdentitiesResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type CreateProjectMachineIdentityResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Identity struct {+ ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`+ AuthMethods *[]string `json:"authMethods,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Metadata *[]struct {+ Id string `json:"id"`+ Key string `json:"key"`+ Value string `json:"value"`+ } `json:"metadata,omitempty"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ ProjectId *string `json:"projectId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identity"`+ }+ // 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 CreateProjectMachineIdentity400JSONResponseBodyStatusCode `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 CreateProjectMachineIdentity401JSONResponseBodyStatusCode `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 CreateProjectMachineIdentity403JSONResponseBodyStatusCode `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 CreateProjectMachineIdentity404JSONResponseBodyStatusCode `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 CreateProjectMachineIdentity422JSONResponseBodyStatusCode `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 CreateProjectMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r CreateProjectMachineIdentityResponse) GetJSON200() *struct {+ Identity struct {+ ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`+ AuthMethods *[]string `json:"authMethods,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Metadata *[]struct {+ Id string `json:"id"`+ Key string `json:"key"`+ Value string `json:"value"`+ } `json:"metadata,omitempty"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ ProjectId *string `json:"projectId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identity"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r CreateProjectMachineIdentityResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r CreateProjectMachineIdentityResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r CreateProjectMachineIdentityResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r CreateProjectMachineIdentityResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r CreateProjectMachineIdentityResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r CreateProjectMachineIdentityResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r CreateProjectMachineIdentityResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r CreateProjectMachineIdentityResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r CreateProjectMachineIdentityResponse) 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 CreateProjectMachineIdentityResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type InviteProjectMembersResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Memberships []struct {+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ ProjectId string `json:"projectId"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserId openapi_types.UUID `json:"userId"`+ } `json:"memberships"`+ }+ // 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 InviteProjectMembers400JSONResponseBodyStatusCode `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 InviteProjectMembers401JSONResponseBodyStatusCode `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 InviteProjectMembers403JSONResponseBodyStatusCode `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 InviteProjectMembers404JSONResponseBodyStatusCode `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 InviteProjectMembers422JSONResponseBodyStatusCode `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 InviteProjectMembers500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r InviteProjectMembersResponse) GetJSON200() *struct {+ Memberships []struct {+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ ProjectId string `json:"projectId"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserId openapi_types.UUID `json:"userId"`+ } `json:"memberships"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r InviteProjectMembersResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r InviteProjectMembersResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r InviteProjectMembersResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r InviteProjectMembersResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r InviteProjectMembersResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r InviteProjectMembersResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r InviteProjectMembersResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r InviteProjectMembersResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r InviteProjectMembersResponse) 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 InviteProjectMembersResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type CreateProjectIdentityMembershipResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ IdentityMembership struct {+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ IdentityId openapi_types.UUID `json:"identityId"`+ ProjectId string `json:"projectId"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identityMembership"`+ }+ // 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 CreateProjectIdentityMembership400JSONResponseBodyStatusCode `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 CreateProjectIdentityMembership401JSONResponseBodyStatusCode `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 CreateProjectIdentityMembership403JSONResponseBodyStatusCode `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 CreateProjectIdentityMembership404JSONResponseBodyStatusCode `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 CreateProjectIdentityMembership422JSONResponseBodyStatusCode `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 CreateProjectIdentityMembership500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r CreateProjectIdentityMembershipResponse) GetJSON200() *struct {+ IdentityMembership struct {+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ IdentityId openapi_types.UUID `json:"identityId"`+ ProjectId string `json:"projectId"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identityMembership"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r CreateProjectIdentityMembershipResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r CreateProjectIdentityMembershipResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r CreateProjectIdentityMembershipResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r CreateProjectIdentityMembershipResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r CreateProjectIdentityMembershipResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r CreateProjectIdentityMembershipResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r CreateProjectIdentityMembershipResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r CreateProjectIdentityMembershipResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r CreateProjectIdentityMembershipResponse) 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 CreateProjectIdentityMembershipResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type CreateIdentityFolderAccessResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ FolderAccess struct {+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ FolderId openapi_types.UUID `json:"folderId"`+ Id openapi_types.UUID `json:"id"`+ IdentityId openapi_types.UUID `json:"identityId"`+ IsTemporary bool `json:"isTemporary"`+ Permission CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermission `json:"permission"`+ ProjectId string `json:"projectId"`+ SecretPath string `json:"secretPath"`+ TemporaryAccessEndTime *time.Time `json:"temporaryAccessEndTime"`+ TemporaryAccessStartTime *time.Time `json:"temporaryAccessStartTime"`+ TemporaryMode *string `json:"temporaryMode"`+ TemporaryRange *string `json:"temporaryRange"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"folderAccess"`+ }+ // 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 CreateIdentityFolderAccess400JSONResponseBodyStatusCode `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 CreateIdentityFolderAccess401JSONResponseBodyStatusCode `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 CreateIdentityFolderAccess403JSONResponseBodyStatusCode `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 CreateIdentityFolderAccess404JSONResponseBodyStatusCode `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 CreateIdentityFolderAccess422JSONResponseBodyStatusCode `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 CreateIdentityFolderAccess500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r CreateIdentityFolderAccessResponse) GetJSON200() *struct {+ FolderAccess struct {+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ FolderId openapi_types.UUID `json:"folderId"`+ Id openapi_types.UUID `json:"id"`+ IdentityId openapi_types.UUID `json:"identityId"`+ IsTemporary bool `json:"isTemporary"`+ Permission CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermission `json:"permission"`+ ProjectId string `json:"projectId"`+ SecretPath string `json:"secretPath"`+ TemporaryAccessEndTime *time.Time `json:"temporaryAccessEndTime"`+ TemporaryAccessStartTime *time.Time `json:"temporaryAccessStartTime"`+ TemporaryMode *string `json:"temporaryMode"`+ TemporaryRange *string `json:"temporaryRange"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"folderAccess"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r CreateIdentityFolderAccessResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateIdentityFolderAccess400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r CreateIdentityFolderAccessResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateIdentityFolderAccess401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r CreateIdentityFolderAccessResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateIdentityFolderAccess403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r CreateIdentityFolderAccessResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateIdentityFolderAccess404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r CreateIdentityFolderAccessResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateIdentityFolderAccess422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r CreateIdentityFolderAccessResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateIdentityFolderAccess500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r CreateIdentityFolderAccessResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r CreateIdentityFolderAccessResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r CreateIdentityFolderAccessResponse) 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 CreateIdentityFolderAccessResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type CreateSecretTagResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Tag struct {+ Color *string `json:"color,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ CreatedBy *openapi_types.UUID `json:"createdBy,omitempty"`+ CreatedByActorType *string `json:"createdByActorType,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ProjectId string `json:"projectId"`+ Slug string `json:"slug"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"tag"`+ }+ // 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 CreateSecretTag400JSONResponseBodyStatusCode `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 CreateSecretTag401JSONResponseBodyStatusCode `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 CreateSecretTag403JSONResponseBodyStatusCode `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 CreateSecretTag404JSONResponseBodyStatusCode `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 CreateSecretTag422JSONResponseBodyStatusCode `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 CreateSecretTag500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r CreateSecretTagResponse) GetJSON200() *struct {+ Tag struct {+ Color *string `json:"color,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ CreatedBy *openapi_types.UUID `json:"createdBy,omitempty"`+ CreatedByActorType *string `json:"createdByActorType,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ProjectId string `json:"projectId"`+ Slug string `json:"slug"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"tag"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r CreateSecretTagResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretTag400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r CreateSecretTagResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretTag401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r CreateSecretTagResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretTag403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r CreateSecretTagResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretTag404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r CreateSecretTagResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretTag422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r CreateSecretTagResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretTag500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r CreateSecretTagResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r CreateSecretTagResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r CreateSecretTagResponse) 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 CreateSecretTagResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type ListSecretApprovalRequestsResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Approvals []struct {+ Approvers []struct {+ UserId *string `json:"userId,omitempty"`+ } `json:"approvers"`+ BypassReason *string `json:"bypassReason,omitempty"`+ CommitMessage *string `json:"commitMessage,omitempty"`+ Commits []struct {+ Op string `json:"op"`+ SecretId *string `json:"secretId,omitempty"`+ } `json:"commits"`+ CommitterIdentity *struct {+ IdentityId string `json:"identityId"`+ Name string `json:"name"`+ } `json:"committerIdentity,omitempty"`+ CommitterIdentityId *openapi_types.UUID `json:"committerIdentityId,omitempty"`+ CommitterUser *struct {+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ UserId *string `json:"userId,omitempty"`+ Username string `json:"username"`+ } `json:"committerUser,omitempty"`+ CommitterUserId *openapi_types.UUID `json:"committerUserId,omitempty"`+ Conflicts interface{} `json:"conflicts,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ FolderId openapi_types.UUID `json:"folderId"`+ HasMerged *bool `json:"hasMerged,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsReplicated *bool `json:"isReplicated,omitempty"`+ Policy struct {+ AllowedSelfApprovals bool `json:"allowedSelfApprovals"`+ Approvals float32 `json:"approvals"`+ Approvers []struct {+ UserId *string `json:"userId,omitempty"`+ } `json:"approvers"`+ Bypassers []struct {+ UserId *string `json:"userId,omitempty"`+ } `json:"bypassers"`+ DeletedAt *time.Time `json:"deletedAt,omitempty"`+ EnforcementLevel string `json:"enforcementLevel"`+ Id string `json:"id"`+ Name string `json:"name"`+ SecretPath *string `json:"secretPath,omitempty"`+ } `json:"policy"`+ PolicyId openapi_types.UUID `json:"policyId"`+ Reviewers []struct {+ Status string `json:"status"`+ UserId string `json:"userId"`+ } `json:"reviewers"`+ Slug string `json:"slug"`+ Status *string `json:"status,omitempty"`+ StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approvals"`+ TotalCount float32 `json:"totalCount"`+ }+ // 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 ListSecretApprovalRequests400JSONResponseBodyStatusCode `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 ListSecretApprovalRequests401JSONResponseBodyStatusCode `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 ListSecretApprovalRequests403JSONResponseBodyStatusCode `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 ListSecretApprovalRequests404JSONResponseBodyStatusCode `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 ListSecretApprovalRequests422JSONResponseBodyStatusCode `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 ListSecretApprovalRequests500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r ListSecretApprovalRequestsResponse) GetJSON200() *struct {+ Approvals []struct {+ Approvers []struct {+ UserId *string `json:"userId,omitempty"`+ } `json:"approvers"`+ BypassReason *string `json:"bypassReason,omitempty"`+ CommitMessage *string `json:"commitMessage,omitempty"`+ Commits []struct {+ Op string `json:"op"`+ SecretId *string `json:"secretId,omitempty"`+ } `json:"commits"`+ CommitterIdentity *struct {+ IdentityId string `json:"identityId"`+ Name string `json:"name"`+ } `json:"committerIdentity,omitempty"`+ CommitterIdentityId *openapi_types.UUID `json:"committerIdentityId,omitempty"`+ CommitterUser *struct {+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ UserId *string `json:"userId,omitempty"`+ Username string `json:"username"`+ } `json:"committerUser,omitempty"`+ CommitterUserId *openapi_types.UUID `json:"committerUserId,omitempty"`+ Conflicts interface{} `json:"conflicts,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ FolderId openapi_types.UUID `json:"folderId"`+ HasMerged *bool `json:"hasMerged,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsReplicated *bool `json:"isReplicated,omitempty"`+ Policy struct {+ AllowedSelfApprovals bool `json:"allowedSelfApprovals"`+ Approvals float32 `json:"approvals"`+ Approvers []struct {+ UserId *string `json:"userId,omitempty"`+ } `json:"approvers"`+ Bypassers []struct {+ UserId *string `json:"userId,omitempty"`+ } `json:"bypassers"`+ DeletedAt *time.Time `json:"deletedAt,omitempty"`+ EnforcementLevel string `json:"enforcementLevel"`+ Id string `json:"id"`+ Name string `json:"name"`+ SecretPath *string `json:"secretPath,omitempty"`+ } `json:"policy"`+ PolicyId openapi_types.UUID `json:"policyId"`+ Reviewers []struct {+ Status string `json:"status"`+ UserId string `json:"userId"`+ } `json:"reviewers"`+ Slug string `json:"slug"`+ Status *string `json:"status,omitempty"`+ StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approvals"`+ TotalCount float32 `json:"totalCount"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r ListSecretApprovalRequestsResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretApprovalRequests400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r ListSecretApprovalRequestsResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretApprovalRequests401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r ListSecretApprovalRequestsResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretApprovalRequests403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r ListSecretApprovalRequestsResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretApprovalRequests404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r ListSecretApprovalRequestsResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretApprovalRequests422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r ListSecretApprovalRequestsResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretApprovalRequests500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r ListSecretApprovalRequestsResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r ListSecretApprovalRequestsResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r ListSecretApprovalRequestsResponse) 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 ListSecretApprovalRequestsResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type GetSecretApprovalRequestCountResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Approvals struct {+ Closed *float32 `json:"closed,omitempty"`+ Open *float32 `json:"open,omitempty"`+ } `json:"approvals"`+ }+ // 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 GetSecretApprovalRequestCount400JSONResponseBodyStatusCode `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 GetSecretApprovalRequestCount401JSONResponseBodyStatusCode `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 GetSecretApprovalRequestCount403JSONResponseBodyStatusCode `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 GetSecretApprovalRequestCount404JSONResponseBodyStatusCode `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 GetSecretApprovalRequestCount422JSONResponseBodyStatusCode `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 GetSecretApprovalRequestCount500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r GetSecretApprovalRequestCountResponse) GetJSON200() *struct {+ Approvals struct {+ Closed *float32 `json:"closed,omitempty"`+ Open *float32 `json:"open,omitempty"`+ } `json:"approvals"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r GetSecretApprovalRequestCountResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalRequestCount400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r GetSecretApprovalRequestCountResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalRequestCount401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r GetSecretApprovalRequestCountResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalRequestCount403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r GetSecretApprovalRequestCountResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalRequestCount404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r GetSecretApprovalRequestCountResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalRequestCount422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r GetSecretApprovalRequestCountResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalRequestCount500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r GetSecretApprovalRequestCountResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r GetSecretApprovalRequestCountResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r GetSecretApprovalRequestCountResponse) 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 GetSecretApprovalRequestCountResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type GetSecretApprovalRequestResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Approval struct {+ BypassReason *string `json:"bypassReason,omitempty"`+ CommitMessage *string `json:"commitMessage,omitempty"`+ Commits []struct {+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ Op string `json:"op"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ Secret *struct {+ Id string `json:"id"`+ SecretComment *string `json:"secretComment,omitempty"`+ SecretKey string `json:"secretKey"`+ SecretValue *string `json:"secretValue,omitempty"`+ SecretValueHidden bool `json:"secretValueHidden"`+ Version float32 `json:"version"`+ } `json:"secret,omitempty"`+ SecretComment *string `json:"secretComment,omitempty"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue *string `json:"secretValue,omitempty"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SecretVersion *struct {+ Id string `json:"id"`+ SecretComment *string `json:"secretComment,omitempty"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretValue *string `json:"secretValue,omitempty"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Tags *[]struct {+ Color *string `json:"color,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"tags,omitempty"`+ Version float32 `json:"version"`+ } `json:"secretVersion,omitempty"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Tags *[]struct {+ Color *string `json:"color,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"tags,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"commits"`+ CommitterIdentity *struct {+ IdentityId string `json:"identityId"`+ Name string `json:"name"`+ } `json:"committerIdentity,omitempty"`+ CommitterIdentityId *openapi_types.UUID `json:"committerIdentityId,omitempty"`+ CommitterUser *struct {+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ UserId *string `json:"userId,omitempty"`+ Username string `json:"username"`+ } `json:"committerUser,omitempty"`+ CommitterUserId *openapi_types.UUID `json:"committerUserId,omitempty"`+ Conflicts interface{} `json:"conflicts,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ FolderId openapi_types.UUID `json:"folderId"`+ HasMerged *bool `json:"hasMerged,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsReplicated *bool `json:"isReplicated,omitempty"`+ Policy struct {+ AllowedSelfApprovals bool `json:"allowedSelfApprovals"`+ Approvals float32 `json:"approvals"`+ Approvers []struct {+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ IsOrgMembershipActive *bool `json:"isOrgMembershipActive,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ UserId *string `json:"userId,omitempty"`+ Username string `json:"username"`+ } `json:"approvers"`+ Bypassers []struct {+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ UserId *string `json:"userId,omitempty"`+ Username string `json:"username"`+ } `json:"bypassers"`+ DeletedAt *time.Time `json:"deletedAt,omitempty"`+ EnforcementLevel string `json:"enforcementLevel"`+ Id string `json:"id"`+ Name string `json:"name"`+ SecretPath *string `json:"secretPath,omitempty"`+ } `json:"policy"`+ PolicyId openapi_types.UUID `json:"policyId"`+ Reviewers []struct {+ Comment *string `json:"comment,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ IsOrgMembershipActive *bool `json:"isOrgMembershipActive,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ Status string `json:"status"`+ UserId *string `json:"userId,omitempty"`+ Username string `json:"username"`+ } `json:"reviewers"`+ SecretPath string `json:"secretPath"`+ Slug string `json:"slug"`+ Status *string `json:"status,omitempty"`+ StatusChangedByUser *struct {+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ UserId *string `json:"userId,omitempty"`+ Username string `json:"username"`+ } `json:"statusChangedByUser,omitempty"`+ StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`+ }+ // 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 GetSecretApprovalRequest400JSONResponseBodyStatusCode `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 GetSecretApprovalRequest401JSONResponseBodyStatusCode `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 GetSecretApprovalRequest403JSONResponseBodyStatusCode `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 GetSecretApprovalRequest404JSONResponseBodyStatusCode `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 GetSecretApprovalRequest422JSONResponseBodyStatusCode `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 GetSecretApprovalRequest500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r GetSecretApprovalRequestResponse) GetJSON200() *struct {+ Approval struct {+ BypassReason *string `json:"bypassReason,omitempty"`+ CommitMessage *string `json:"commitMessage,omitempty"`+ Commits []struct {+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ Op string `json:"op"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ Secret *struct {+ Id string `json:"id"`+ SecretComment *string `json:"secretComment,omitempty"`+ SecretKey string `json:"secretKey"`+ SecretValue *string `json:"secretValue,omitempty"`+ SecretValueHidden bool `json:"secretValueHidden"`+ Version float32 `json:"version"`+ } `json:"secret,omitempty"`+ SecretComment *string `json:"secretComment,omitempty"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue *string `json:"secretValue,omitempty"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SecretVersion *struct {+ Id string `json:"id"`+ SecretComment *string `json:"secretComment,omitempty"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretValue *string `json:"secretValue,omitempty"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Tags *[]struct {+ Color *string `json:"color,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"tags,omitempty"`+ Version float32 `json:"version"`+ } `json:"secretVersion,omitempty"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Tags *[]struct {+ Color *string `json:"color,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"tags,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"commits"`+ CommitterIdentity *struct {+ IdentityId string `json:"identityId"`+ Name string `json:"name"`+ } `json:"committerIdentity,omitempty"`+ CommitterIdentityId *openapi_types.UUID `json:"committerIdentityId,omitempty"`+ CommitterUser *struct {+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ UserId *string `json:"userId,omitempty"`+ Username string `json:"username"`+ } `json:"committerUser,omitempty"`+ CommitterUserId *openapi_types.UUID `json:"committerUserId,omitempty"`+ Conflicts interface{} `json:"conflicts,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ FolderId openapi_types.UUID `json:"folderId"`+ HasMerged *bool `json:"hasMerged,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsReplicated *bool `json:"isReplicated,omitempty"`+ Policy struct {+ AllowedSelfApprovals bool `json:"allowedSelfApprovals"`+ Approvals float32 `json:"approvals"`+ Approvers []struct {+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ IsOrgMembershipActive *bool `json:"isOrgMembershipActive,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ UserId *string `json:"userId,omitempty"`+ Username string `json:"username"`+ } `json:"approvers"`+ Bypassers []struct {+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ UserId *string `json:"userId,omitempty"`+ Username string `json:"username"`+ } `json:"bypassers"`+ DeletedAt *time.Time `json:"deletedAt,omitempty"`+ EnforcementLevel string `json:"enforcementLevel"`+ Id string `json:"id"`+ Name string `json:"name"`+ SecretPath *string `json:"secretPath,omitempty"`+ } `json:"policy"`+ PolicyId openapi_types.UUID `json:"policyId"`+ Reviewers []struct {+ Comment *string `json:"comment,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ IsOrgMembershipActive *bool `json:"isOrgMembershipActive,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ Status string `json:"status"`+ UserId *string `json:"userId,omitempty"`+ Username string `json:"username"`+ } `json:"reviewers"`+ SecretPath string `json:"secretPath"`+ Slug string `json:"slug"`+ Status *string `json:"status,omitempty"`+ StatusChangedByUser *struct {+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ UserId *string `json:"userId,omitempty"`+ Username string `json:"username"`+ } `json:"statusChangedByUser,omitempty"`+ StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r GetSecretApprovalRequestResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalRequest400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r GetSecretApprovalRequestResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalRequest401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r GetSecretApprovalRequestResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalRequest403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r GetSecretApprovalRequestResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalRequest404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r GetSecretApprovalRequestResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalRequest422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r GetSecretApprovalRequestResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalRequest500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r GetSecretApprovalRequestResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r GetSecretApprovalRequestResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r GetSecretApprovalRequestResponse) 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 GetSecretApprovalRequestResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type MergeSecretApprovalRequestResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Approval struct {+ BypassReason *string `json:"bypassReason,omitempty"`+ CommitMessage *string `json:"commitMessage,omitempty"`+ CommitterIdentityId *openapi_types.UUID `json:"committerIdentityId,omitempty"`+ CommitterUserId *openapi_types.UUID `json:"committerUserId,omitempty"`+ Conflicts interface{} `json:"conflicts,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ FolderId openapi_types.UUID `json:"folderId"`+ HasMerged *bool `json:"hasMerged,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsReplicated *bool `json:"isReplicated,omitempty"`+ PolicyId openapi_types.UUID `json:"policyId"`+ Slug string `json:"slug"`+ Status *string `json:"status,omitempty"`+ StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`+ }+ // 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 MergeSecretApprovalRequest400JSONResponseBodyStatusCode `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 MergeSecretApprovalRequest401JSONResponseBodyStatusCode `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 MergeSecretApprovalRequest403JSONResponseBodyStatusCode `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 MergeSecretApprovalRequest404JSONResponseBodyStatusCode `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 MergeSecretApprovalRequest422JSONResponseBodyStatusCode `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 MergeSecretApprovalRequest500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r MergeSecretApprovalRequestResponse) GetJSON200() *struct {+ Approval struct {+ BypassReason *string `json:"bypassReason,omitempty"`+ CommitMessage *string `json:"commitMessage,omitempty"`+ CommitterIdentityId *openapi_types.UUID `json:"committerIdentityId,omitempty"`+ CommitterUserId *openapi_types.UUID `json:"committerUserId,omitempty"`+ Conflicts interface{} `json:"conflicts,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ FolderId openapi_types.UUID `json:"folderId"`+ HasMerged *bool `json:"hasMerged,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsReplicated *bool `json:"isReplicated,omitempty"`+ PolicyId openapi_types.UUID `json:"policyId"`+ Slug string `json:"slug"`+ Status *string `json:"status,omitempty"`+ StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r MergeSecretApprovalRequestResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode MergeSecretApprovalRequest400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r MergeSecretApprovalRequestResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode MergeSecretApprovalRequest401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r MergeSecretApprovalRequestResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode MergeSecretApprovalRequest403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r MergeSecretApprovalRequestResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode MergeSecretApprovalRequest404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r MergeSecretApprovalRequestResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode MergeSecretApprovalRequest422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r MergeSecretApprovalRequestResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode MergeSecretApprovalRequest500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r MergeSecretApprovalRequestResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r MergeSecretApprovalRequestResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r MergeSecretApprovalRequestResponse) 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 MergeSecretApprovalRequestResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type ReviewSecretApprovalRequestResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Review struct {+ Comment *string `json:"comment,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ RequestId openapi_types.UUID `json:"requestId"`+ ReviewerUserId openapi_types.UUID `json:"reviewerUserId"`+ Status string `json:"status"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"review"`+ }+ // 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 ReviewSecretApprovalRequest400JSONResponseBodyStatusCode `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 ReviewSecretApprovalRequest401JSONResponseBodyStatusCode `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 ReviewSecretApprovalRequest403JSONResponseBodyStatusCode `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 ReviewSecretApprovalRequest404JSONResponseBodyStatusCode `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 ReviewSecretApprovalRequest422JSONResponseBodyStatusCode `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 ReviewSecretApprovalRequest500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r ReviewSecretApprovalRequestResponse) GetJSON200() *struct {+ Review struct {+ Comment *string `json:"comment,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ RequestId openapi_types.UUID `json:"requestId"`+ ReviewerUserId openapi_types.UUID `json:"reviewerUserId"`+ Status string `json:"status"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"review"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r ReviewSecretApprovalRequestResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ReviewSecretApprovalRequest400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r ReviewSecretApprovalRequestResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ReviewSecretApprovalRequest401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r ReviewSecretApprovalRequestResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ReviewSecretApprovalRequest403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r ReviewSecretApprovalRequestResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ReviewSecretApprovalRequest404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r ReviewSecretApprovalRequestResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode ReviewSecretApprovalRequest422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r ReviewSecretApprovalRequestResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ReviewSecretApprovalRequest500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r ReviewSecretApprovalRequestResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r ReviewSecretApprovalRequestResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r ReviewSecretApprovalRequestResponse) 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 ReviewSecretApprovalRequestResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type UpdateSecretApprovalRequestStatusResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Approval struct {+ BypassReason *string `json:"bypassReason,omitempty"`+ CommitMessage *string `json:"commitMessage,omitempty"`+ CommitterIdentityId *openapi_types.UUID `json:"committerIdentityId,omitempty"`+ CommitterUserId *openapi_types.UUID `json:"committerUserId,omitempty"`+ Conflicts interface{} `json:"conflicts,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ FolderId openapi_types.UUID `json:"folderId"`+ HasMerged *bool `json:"hasMerged,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsReplicated *bool `json:"isReplicated,omitempty"`+ PolicyId openapi_types.UUID `json:"policyId"`+ Slug string `json:"slug"`+ Status *string `json:"status,omitempty"`+ StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`+ }+ // 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 UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCode `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 UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCode `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 UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCode `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 UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCode `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 UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCode `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 UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r UpdateSecretApprovalRequestStatusResponse) GetJSON200() *struct {+ Approval struct {+ BypassReason *string `json:"bypassReason,omitempty"`+ CommitMessage *string `json:"commitMessage,omitempty"`+ CommitterIdentityId *openapi_types.UUID `json:"committerIdentityId,omitempty"`+ CommitterUserId *openapi_types.UUID `json:"committerUserId,omitempty"`+ Conflicts interface{} `json:"conflicts,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ FolderId openapi_types.UUID `json:"folderId"`+ HasMerged *bool `json:"hasMerged,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsReplicated *bool `json:"isReplicated,omitempty"`+ PolicyId openapi_types.UUID `json:"policyId"`+ Slug string `json:"slug"`+ Status *string `json:"status,omitempty"`+ StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r UpdateSecretApprovalRequestStatusResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r UpdateSecretApprovalRequestStatusResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r UpdateSecretApprovalRequestStatusResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r UpdateSecretApprovalRequestStatusResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r UpdateSecretApprovalRequestStatusResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r UpdateSecretApprovalRequestStatusResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r UpdateSecretApprovalRequestStatusResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r UpdateSecretApprovalRequestStatusResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r UpdateSecretApprovalRequestStatusResponse) 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 UpdateSecretApprovalRequestStatusResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type CreateGitHubSecretSyncResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ SecretSync struct {+ Connection struct {+ App CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`++ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.+ InitialSyncBehavior CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`++ // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`+ }+ // 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 CreateGitHubSecretSync400JSONResponseBodyStatusCode `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 CreateGitHubSecretSync401JSONResponseBodyStatusCode `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 CreateGitHubSecretSync403JSONResponseBodyStatusCode `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 CreateGitHubSecretSync404JSONResponseBodyStatusCode `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 CreateGitHubSecretSync422JSONResponseBodyStatusCode `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 CreateGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r CreateGitHubSecretSyncResponse) GetJSON200() *struct {+ SecretSync struct {+ Connection struct {+ App CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`++ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.+ InitialSyncBehavior CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`++ // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r CreateGitHubSecretSyncResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r CreateGitHubSecretSyncResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r CreateGitHubSecretSyncResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r CreateGitHubSecretSyncResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r CreateGitHubSecretSyncResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r CreateGitHubSecretSyncResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r CreateGitHubSecretSyncResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r CreateGitHubSecretSyncResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r CreateGitHubSecretSyncResponse) 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 CreateGitHubSecretSyncResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type DeleteGitHubSecretSyncResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ SecretSync struct {+ Connection struct {+ App DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`++ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.+ InitialSyncBehavior DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`++ // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`+ }+ // 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 DeleteGitHubSecretSync400JSONResponseBodyStatusCode `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 DeleteGitHubSecretSync401JSONResponseBodyStatusCode `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 DeleteGitHubSecretSync403JSONResponseBodyStatusCode `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 DeleteGitHubSecretSync404JSONResponseBodyStatusCode `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 DeleteGitHubSecretSync422JSONResponseBodyStatusCode `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 DeleteGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r DeleteGitHubSecretSyncResponse) GetJSON200() *struct {+ SecretSync struct {+ Connection struct {+ App DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`++ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.+ InitialSyncBehavior DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`++ // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r DeleteGitHubSecretSyncResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r DeleteGitHubSecretSyncResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r DeleteGitHubSecretSyncResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r DeleteGitHubSecretSyncResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r DeleteGitHubSecretSyncResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r DeleteGitHubSecretSyncResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r DeleteGitHubSecretSyncResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r DeleteGitHubSecretSyncResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r DeleteGitHubSecretSyncResponse) 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 DeleteGitHubSecretSyncResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type GetGitHubSecretSyncResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ SecretSync struct {+ Connection struct {+ App GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination GetGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`++ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.+ InitialSyncBehavior GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`++ // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`+ }+ // 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 GetGitHubSecretSync400JSONResponseBodyStatusCode `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 GetGitHubSecretSync401JSONResponseBodyStatusCode `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 GetGitHubSecretSync403JSONResponseBodyStatusCode `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 GetGitHubSecretSync404JSONResponseBodyStatusCode `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 GetGitHubSecretSync422JSONResponseBodyStatusCode `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 GetGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r GetGitHubSecretSyncResponse) GetJSON200() *struct {+ SecretSync struct {+ Connection struct {+ App GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination GetGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`++ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.+ InitialSyncBehavior GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`++ // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r GetGitHubSecretSyncResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetGitHubSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r GetGitHubSecretSyncResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetGitHubSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r GetGitHubSecretSyncResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetGitHubSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r GetGitHubSecretSyncResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetGitHubSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r GetGitHubSecretSyncResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetGitHubSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r GetGitHubSecretSyncResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r GetGitHubSecretSyncResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r GetGitHubSecretSyncResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r GetGitHubSecretSyncResponse) 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 GetGitHubSecretSyncResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type RemoveGitHubSecretSyncSecretsResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ SecretSync struct {+ Connection struct {+ App RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`++ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.+ InitialSyncBehavior RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`++ // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`+ }+ // 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 RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode `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 RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode `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 RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode `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 RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode `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 RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode `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 RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r RemoveGitHubSecretSyncSecretsResponse) GetJSON200() *struct {+ SecretSync struct {+ Connection struct {+ App RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`++ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.+ InitialSyncBehavior RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`++ // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r RemoveGitHubSecretSyncSecretsResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r RemoveGitHubSecretSyncSecretsResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r RemoveGitHubSecretSyncSecretsResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r RemoveGitHubSecretSyncSecretsResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r RemoveGitHubSecretSyncSecretsResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r RemoveGitHubSecretSyncSecretsResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r RemoveGitHubSecretSyncSecretsResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r RemoveGitHubSecretSyncSecretsResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r RemoveGitHubSecretSyncSecretsResponse) 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 RemoveGitHubSecretSyncSecretsResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type SyncGitHubSecretSyncResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ SecretSync struct {+ Connection struct {+ App SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`++ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.+ InitialSyncBehavior SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`++ // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`+ }+ // 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 SyncGitHubSecretSync400JSONResponseBodyStatusCode `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 SyncGitHubSecretSync401JSONResponseBodyStatusCode `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 SyncGitHubSecretSync403JSONResponseBodyStatusCode `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 SyncGitHubSecretSync404JSONResponseBodyStatusCode `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 SyncGitHubSecretSync422JSONResponseBodyStatusCode `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 SyncGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r SyncGitHubSecretSyncResponse) GetJSON200() *struct {+ SecretSync struct {+ Connection struct {+ App SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`++ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.+ InitialSyncBehavior SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`++ // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r SyncGitHubSecretSyncResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SyncGitHubSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r SyncGitHubSecretSyncResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SyncGitHubSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r SyncGitHubSecretSyncResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SyncGitHubSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r SyncGitHubSecretSyncResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SyncGitHubSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r SyncGitHubSecretSyncResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode SyncGitHubSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r SyncGitHubSecretSyncResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SyncGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r SyncGitHubSecretSyncResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r SyncGitHubSecretSyncResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r SyncGitHubSecretSyncResponse) 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 SyncGitHubSecretSyncResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type CreateSecretFolderResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Folder struct {+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ EnvId openapi_types.UUID `json:"envId"`+ Id openapi_types.UUID `json:"id"`+ IsReserved *bool `json:"isReserved,omitempty"`+ LastSecretModified *time.Time `json:"lastSecretModified,omitempty"`+ Name string `json:"name"`+ ParentId *openapi_types.UUID `json:"parentId,omitempty"`+ Path string `json:"path"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"folder"`+ }+ // 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 CreateSecretFolder400JSONResponseBodyStatusCode `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 CreateSecretFolder401JSONResponseBodyStatusCode `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 CreateSecretFolder403JSONResponseBodyStatusCode `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 CreateSecretFolder404JSONResponseBodyStatusCode `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 CreateSecretFolder422JSONResponseBodyStatusCode `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 CreateSecretFolder500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r CreateSecretFolderResponse) GetJSON200() *struct {+ Folder struct {+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ EnvId openapi_types.UUID `json:"envId"`+ Id openapi_types.UUID `json:"id"`+ IsReserved *bool `json:"isReserved,omitempty"`+ LastSecretModified *time.Time `json:"lastSecretModified,omitempty"`+ Name string `json:"name"`+ ParentId *openapi_types.UUID `json:"parentId,omitempty"`+ Path string `json:"path"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"folder"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r CreateSecretFolderResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretFolder400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r CreateSecretFolderResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretFolder401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r CreateSecretFolderResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretFolder403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r CreateSecretFolderResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretFolder404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r CreateSecretFolderResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretFolder422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r CreateSecretFolderResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretFolder500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r CreateSecretFolderResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r CreateSecretFolderResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r CreateSecretFolderResponse) 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 CreateSecretFolderResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type CreateOrganizationResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Organization struct {+ AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`+ AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`+ AuthEnforced *bool `json:"authEnforced,omitempty"`+ BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`+ BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ CustomerId *string `json:"customerId,omitempty"`+ DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`+ EnforceMfa *bool `json:"enforceMfa,omitempty"`+ GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`+ Id openapi_types.UUID `json:"id"`+ KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`+ KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`+ MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`+ MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`+ Name string `json:"name"`+ ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`+ PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`+ PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`+ PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`+ RequireGatewayPools *bool `json:"requireGatewayPools,omitempty"`+ RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`+ ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`+ ScimEnabled *bool `json:"scimEnabled,omitempty"`+ SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`+ SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`+ SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`+ ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`+ ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`+ Slug string `json:"slug"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`+ } `json:"organization"`+ }+ // 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 CreateOrganization400JSONResponseBodyStatusCode `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 CreateOrganization401JSONResponseBodyStatusCode `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 CreateOrganization403JSONResponseBodyStatusCode `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 CreateOrganization404JSONResponseBodyStatusCode `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 CreateOrganization422JSONResponseBodyStatusCode `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 CreateOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r CreateOrganizationResponse) GetJSON200() *struct {+ Organization struct {+ AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`+ AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`+ AuthEnforced *bool `json:"authEnforced,omitempty"`+ BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`+ BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ CustomerId *string `json:"customerId,omitempty"`+ DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`+ EnforceMfa *bool `json:"enforceMfa,omitempty"`+ GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`+ Id openapi_types.UUID `json:"id"`+ KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`+ KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`+ MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`+ MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`+ Name string `json:"name"`+ ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`+ PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`+ PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`+ PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`+ RequireGatewayPools *bool `json:"requireGatewayPools,omitempty"`+ RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`+ ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`+ ScimEnabled *bool `json:"scimEnabled,omitempty"`+ SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`+ SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`+ SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`+ ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`+ ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`+ Slug string `json:"slug"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`+ } `json:"organization"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r CreateOrganizationResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r CreateOrganizationResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r CreateOrganizationResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r CreateOrganizationResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r CreateOrganizationResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r CreateOrganizationResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r CreateOrganizationResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r CreateOrganizationResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r CreateOrganizationResponse) 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 CreateOrganizationResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type DeleteOrganizationResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ AccessToken string `json:"accessToken"`+ Organization struct {+ AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`+ AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`+ AuthEnforced *bool `json:"authEnforced,omitempty"`+ BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`+ BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ CustomerId *string `json:"customerId,omitempty"`+ DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`+ EnforceMfa *bool `json:"enforceMfa,omitempty"`+ GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`+ Id openapi_types.UUID `json:"id"`+ KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`+ KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`+ MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`+ MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`+ Name string `json:"name"`+ ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`+ PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`+ PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`+ PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`+ RequireGatewayPools *bool `json:"requireGatewayPools,omitempty"`+ RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`+ ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`+ ScimEnabled *bool `json:"scimEnabled,omitempty"`+ SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`+ SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`+ SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`+ ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`+ ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`+ Slug string `json:"slug"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`+ } `json:"organization"`+ }+ // 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 DeleteOrganization400JSONResponseBodyStatusCode `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 DeleteOrganization401JSONResponseBodyStatusCode `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 DeleteOrganization403JSONResponseBodyStatusCode `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 DeleteOrganization404JSONResponseBodyStatusCode `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 DeleteOrganization422JSONResponseBodyStatusCode `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 DeleteOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r DeleteOrganizationResponse) GetJSON200() *struct {+ AccessToken string `json:"accessToken"`+ Organization struct {+ AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`+ AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`+ AuthEnforced *bool `json:"authEnforced,omitempty"`+ BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`+ BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ CustomerId *string `json:"customerId,omitempty"`+ DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`+ EnforceMfa *bool `json:"enforceMfa,omitempty"`+ GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`+ Id openapi_types.UUID `json:"id"`+ KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`+ KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`+ MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`+ MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`+ Name string `json:"name"`+ ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`+ PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`+ PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`+ PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`+ RequireGatewayPools *bool `json:"requireGatewayPools,omitempty"`+ RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`+ ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`+ ScimEnabled *bool `json:"scimEnabled,omitempty"`+ SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`+ SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`+ SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`+ ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`+ ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`+ Slug string `json:"slug"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`+ } `json:"organization"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r DeleteOrganizationResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r DeleteOrganizationResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r DeleteOrganizationResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r DeleteOrganizationResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r DeleteOrganizationResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r DeleteOrganizationResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r DeleteOrganizationResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r DeleteOrganizationResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r DeleteOrganizationResponse) 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 DeleteOrganizationResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type CreateSecretApprovalPolicyResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Approval struct {+ AllowedSelfApprovals *bool `json:"allowedSelfApprovals,omitempty"`+ Approvals *float32 `json:"approvals,omitempty"`+ BypassForMachineIdentities *bool `json:"bypassForMachineIdentities,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ DeletedAt *time.Time `json:"deletedAt,omitempty"`+ EnforcementLevel *string `json:"enforcementLevel,omitempty"`+ EnvId openapi_types.UUID `json:"envId"`+ Environment struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Environments []struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environments"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ SecretPath string `json:"secretPath"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`+ }+ // 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 CreateSecretApprovalPolicy400JSONResponseBodyStatusCode `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 CreateSecretApprovalPolicy401JSONResponseBodyStatusCode `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 CreateSecretApprovalPolicy403JSONResponseBodyStatusCode `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 CreateSecretApprovalPolicy404JSONResponseBodyStatusCode `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 CreateSecretApprovalPolicy422JSONResponseBodyStatusCode `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 CreateSecretApprovalPolicy500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r CreateSecretApprovalPolicyResponse) GetJSON200() *struct {+ Approval struct {+ AllowedSelfApprovals *bool `json:"allowedSelfApprovals,omitempty"`+ Approvals *float32 `json:"approvals,omitempty"`+ BypassForMachineIdentities *bool `json:"bypassForMachineIdentities,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ DeletedAt *time.Time `json:"deletedAt,omitempty"`+ EnforcementLevel *string `json:"enforcementLevel,omitempty"`+ EnvId openapi_types.UUID `json:"envId"`+ Environment struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Environments []struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environments"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ SecretPath string `json:"secretPath"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r CreateSecretApprovalPolicyResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretApprovalPolicy400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r CreateSecretApprovalPolicyResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretApprovalPolicy401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r CreateSecretApprovalPolicyResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretApprovalPolicy403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r CreateSecretApprovalPolicyResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretApprovalPolicy404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r CreateSecretApprovalPolicyResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretApprovalPolicy422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r CreateSecretApprovalPolicyResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretApprovalPolicy500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r CreateSecretApprovalPolicyResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r CreateSecretApprovalPolicyResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r CreateSecretApprovalPolicyResponse) 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 CreateSecretApprovalPolicyResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type GetSecretApprovalPolicyBoardResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Policy *struct {+ AllowedSelfApprovals *bool `json:"allowedSelfApprovals,omitempty"`+ Approvals *float32 `json:"approvals,omitempty"`+ BypassForMachineIdentities *bool `json:"bypassForMachineIdentities,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ DeletedAt *time.Time `json:"deletedAt,omitempty"`+ EnforcementLevel *string `json:"enforcementLevel,omitempty"`+ EnvId openapi_types.UUID `json:"envId"`+ Environment struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Environments []struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environments"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ SecretPath string `json:"secretPath"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserApprovers []struct {+ UserId *string `json:"userId,omitempty"`+ } `json:"userApprovers"`+ } `json:"policy,omitempty"`+ }+ // 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 GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCode `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 GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCode `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 GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCode `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 GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCode `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 GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCode `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 GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r GetSecretApprovalPolicyBoardResponse) GetJSON200() *struct {+ Policy *struct {+ AllowedSelfApprovals *bool `json:"allowedSelfApprovals,omitempty"`+ Approvals *float32 `json:"approvals,omitempty"`+ BypassForMachineIdentities *bool `json:"bypassForMachineIdentities,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ DeletedAt *time.Time `json:"deletedAt,omitempty"`+ EnforcementLevel *string `json:"enforcementLevel,omitempty"`+ EnvId openapi_types.UUID `json:"envId"`+ Environment struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Environments []struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environments"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ SecretPath string `json:"secretPath"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserApprovers []struct {+ UserId *string `json:"userId,omitempty"`+ } `json:"userApprovers"`+ } `json:"policy,omitempty"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r GetSecretApprovalPolicyBoardResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r GetSecretApprovalPolicyBoardResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r GetSecretApprovalPolicyBoardResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r GetSecretApprovalPolicyBoardResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r GetSecretApprovalPolicyBoardResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r GetSecretApprovalPolicyBoardResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r GetSecretApprovalPolicyBoardResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r GetSecretApprovalPolicyBoardResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r GetSecretApprovalPolicyBoardResponse) 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 GetSecretApprovalPolicyBoardResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type DeleteSecretApprovalPolicyResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Approval struct {+ AllowedSelfApprovals *bool `json:"allowedSelfApprovals,omitempty"`+ Approvals *float32 `json:"approvals,omitempty"`+ BypassForMachineIdentities *bool `json:"bypassForMachineIdentities,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ DeletedAt *time.Time `json:"deletedAt,omitempty"`+ EnforcementLevel *string `json:"enforcementLevel,omitempty"`+ EnvId openapi_types.UUID `json:"envId"`+ Environment struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Environments []struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environments"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ SecretPath string `json:"secretPath"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`+ }+ // 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 DeleteSecretApprovalPolicy400JSONResponseBodyStatusCode `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 DeleteSecretApprovalPolicy401JSONResponseBodyStatusCode `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 DeleteSecretApprovalPolicy403JSONResponseBodyStatusCode `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 DeleteSecretApprovalPolicy404JSONResponseBodyStatusCode `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 DeleteSecretApprovalPolicy422JSONResponseBodyStatusCode `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 DeleteSecretApprovalPolicy500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r DeleteSecretApprovalPolicyResponse) GetJSON200() *struct {+ Approval struct {+ AllowedSelfApprovals *bool `json:"allowedSelfApprovals,omitempty"`+ Approvals *float32 `json:"approvals,omitempty"`+ BypassForMachineIdentities *bool `json:"bypassForMachineIdentities,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ DeletedAt *time.Time `json:"deletedAt,omitempty"`+ EnforcementLevel *string `json:"enforcementLevel,omitempty"`+ EnvId openapi_types.UUID `json:"envId"`+ Environment struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Environments []struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environments"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ SecretPath string `json:"secretPath"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r DeleteSecretApprovalPolicyResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretApprovalPolicy400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r DeleteSecretApprovalPolicyResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretApprovalPolicy401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r DeleteSecretApprovalPolicyResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretApprovalPolicy403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r DeleteSecretApprovalPolicyResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretApprovalPolicy404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r DeleteSecretApprovalPolicyResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretApprovalPolicy422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r DeleteSecretApprovalPolicyResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretApprovalPolicy500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r DeleteSecretApprovalPolicyResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r DeleteSecretApprovalPolicyResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r DeleteSecretApprovalPolicyResponse) 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 DeleteSecretApprovalPolicyResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type GetSecretApprovalPolicyResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Approval struct {+ AllowedSelfApprovals *bool `json:"allowedSelfApprovals,omitempty"`+ Approvals *float32 `json:"approvals,omitempty"`+ Approvers []struct {+ Id *string `json:"id,omitempty"`+ Type GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType `json:"type"`+ Username *string `json:"username,omitempty"`+ } `json:"approvers"`+ BypassForMachineIdentities *bool `json:"bypassForMachineIdentities,omitempty"`+ Bypassers []struct {+ Id *string `json:"id,omitempty"`+ Type GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType `json:"type"`+ Username *string `json:"username,omitempty"`+ } `json:"bypassers"`+ CreatedAt time.Time `json:"createdAt"`+ DeletedAt *time.Time `json:"deletedAt,omitempty"`+ EnforcementLevel *string `json:"enforcementLevel,omitempty"`+ EnvId openapi_types.UUID `json:"envId"`+ Environment struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Environments []struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environments"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ SecretPath string `json:"secretPath"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`+ }+ // 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 GetSecretApprovalPolicy400JSONResponseBodyStatusCode `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 GetSecretApprovalPolicy401JSONResponseBodyStatusCode `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 GetSecretApprovalPolicy403JSONResponseBodyStatusCode `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 GetSecretApprovalPolicy404JSONResponseBodyStatusCode `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 GetSecretApprovalPolicy422JSONResponseBodyStatusCode `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 GetSecretApprovalPolicy500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r GetSecretApprovalPolicyResponse) GetJSON200() *struct {+ Approval struct {+ AllowedSelfApprovals *bool `json:"allowedSelfApprovals,omitempty"`+ Approvals *float32 `json:"approvals,omitempty"`+ Approvers []struct {+ Id *string `json:"id,omitempty"`+ Type GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType `json:"type"`+ Username *string `json:"username,omitempty"`+ } `json:"approvers"`+ BypassForMachineIdentities *bool `json:"bypassForMachineIdentities,omitempty"`+ Bypassers []struct {+ Id *string `json:"id,omitempty"`+ Type GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType `json:"type"`+ Username *string `json:"username,omitempty"`+ } `json:"bypassers"`+ CreatedAt time.Time `json:"createdAt"`+ DeletedAt *time.Time `json:"deletedAt,omitempty"`+ EnforcementLevel *string `json:"enforcementLevel,omitempty"`+ EnvId openapi_types.UUID `json:"envId"`+ Environment struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Environments []struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environments"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ SecretPath string `json:"secretPath"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r GetSecretApprovalPolicyResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicy400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r GetSecretApprovalPolicyResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicy401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r GetSecretApprovalPolicyResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicy403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r GetSecretApprovalPolicyResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicy404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r GetSecretApprovalPolicyResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicy422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r GetSecretApprovalPolicyResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicy500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r GetSecretApprovalPolicyResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r GetSecretApprovalPolicyResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r GetSecretApprovalPolicyResponse) 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 GetSecretApprovalPolicyResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type UpdateSecretApprovalPolicyResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Approval struct {+ AllowedSelfApprovals *bool `json:"allowedSelfApprovals,omitempty"`+ Approvals *float32 `json:"approvals,omitempty"`+ BypassForMachineIdentities *bool `json:"bypassForMachineIdentities,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ DeletedAt *time.Time `json:"deletedAt,omitempty"`+ EnforcementLevel *string `json:"enforcementLevel,omitempty"`+ EnvId openapi_types.UUID `json:"envId"`+ Environment struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Environments []struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environments"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ SecretPath string `json:"secretPath"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`+ }+ // 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 UpdateSecretApprovalPolicy400JSONResponseBodyStatusCode `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 UpdateSecretApprovalPolicy401JSONResponseBodyStatusCode `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 UpdateSecretApprovalPolicy403JSONResponseBodyStatusCode `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 UpdateSecretApprovalPolicy404JSONResponseBodyStatusCode `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 UpdateSecretApprovalPolicy422JSONResponseBodyStatusCode `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 UpdateSecretApprovalPolicy500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r UpdateSecretApprovalPolicyResponse) GetJSON200() *struct {+ Approval struct {+ AllowedSelfApprovals *bool `json:"allowedSelfApprovals,omitempty"`+ Approvals *float32 `json:"approvals,omitempty"`+ BypassForMachineIdentities *bool `json:"bypassForMachineIdentities,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ DeletedAt *time.Time `json:"deletedAt,omitempty"`+ EnforcementLevel *string `json:"enforcementLevel,omitempty"`+ EnvId openapi_types.UUID `json:"envId"`+ Environment struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Environments []struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environments"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ SecretPath string `json:"secretPath"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r UpdateSecretApprovalPolicyResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalPolicy400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r UpdateSecretApprovalPolicyResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalPolicy401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r UpdateSecretApprovalPolicyResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalPolicy403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r UpdateSecretApprovalPolicyResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalPolicy404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r UpdateSecretApprovalPolicyResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalPolicy422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r UpdateSecretApprovalPolicyResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalPolicy500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r UpdateSecretApprovalPolicyResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r UpdateSecretApprovalPolicyResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r UpdateSecretApprovalPolicyResponse) 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 UpdateSecretApprovalPolicyResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type CreateSecretImportResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Message string `json:"message"`+ SecretImport struct {+ CreatedAt time.Time `json:"createdAt"`+ FolderId openapi_types.UUID `json:"folderId"`+ Id openapi_types.UUID `json:"id"`+ ImportEnv struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"importEnv"`+ ImportPath string `json:"importPath"`+ IsReplication *bool `json:"isReplication,omitempty"`+ IsReplicationSuccess *bool `json:"isReplicationSuccess,omitempty"`+ IsReserved *bool `json:"isReserved,omitempty"`+ LastReplicated *time.Time `json:"lastReplicated,omitempty"`+ Position float32 `json:"position"`+ ReplicationStatus *string `json:"replicationStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretImport"`+ }+ // 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 CreateSecretImport400JSONResponseBodyStatusCode `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 CreateSecretImport401JSONResponseBodyStatusCode `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 CreateSecretImport403JSONResponseBodyStatusCode `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 CreateSecretImport404JSONResponseBodyStatusCode `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 CreateSecretImport422JSONResponseBodyStatusCode `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 CreateSecretImport500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r CreateSecretImportResponse) GetJSON200() *struct {+ Message string `json:"message"`+ SecretImport struct {+ CreatedAt time.Time `json:"createdAt"`+ FolderId openapi_types.UUID `json:"folderId"`+ Id openapi_types.UUID `json:"id"`+ ImportEnv struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"importEnv"`+ ImportPath string `json:"importPath"`+ IsReplication *bool `json:"isReplication,omitempty"`+ IsReplicationSuccess *bool `json:"isReplicationSuccess,omitempty"`+ IsReserved *bool `json:"isReserved,omitempty"`+ LastReplicated *time.Time `json:"lastReplicated,omitempty"`+ Position float32 `json:"position"`+ ReplicationStatus *string `json:"replicationStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretImport"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r CreateSecretImportResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretImport400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r CreateSecretImportResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretImport401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r CreateSecretImportResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretImport403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r CreateSecretImportResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretImport404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r CreateSecretImportResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretImport422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r CreateSecretImportResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretImport500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r CreateSecretImportResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r CreateSecretImportResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r CreateSecretImportResponse) 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 CreateSecretImportResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type LoginV3Response struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ AccessToken string `json:"accessToken"`+ }+ // 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 LoginV3400JSONResponseBodyStatusCode `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 LoginV3401JSONResponseBodyStatusCode `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 LoginV3403JSONResponseBodyStatusCode `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 LoginV3404JSONResponseBodyStatusCode `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 LoginV3422JSONResponseBodyStatusCode `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 LoginV3500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r LoginV3Response) GetJSON200() *struct {+ AccessToken string `json:"accessToken"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r LoginV3Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r LoginV3Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r LoginV3Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r LoginV3Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r LoginV3Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r LoginV3Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r LoginV3Response) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r LoginV3Response) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r LoginV3Response) 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 LoginV3Response) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type SelectOrganizationV3Response struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ IsMfaEnabled bool `json:"isMfaEnabled"`+ MfaMethod *string `json:"mfaMethod,omitempty"`+ Token string `json:"token"`+ }+ // 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 SelectOrganizationV3400JSONResponseBodyStatusCode `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 SelectOrganizationV3401JSONResponseBodyStatusCode `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 SelectOrganizationV3403JSONResponseBodyStatusCode `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 SelectOrganizationV3404JSONResponseBodyStatusCode `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 SelectOrganizationV3422JSONResponseBodyStatusCode `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 SelectOrganizationV3500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r SelectOrganizationV3Response) GetJSON200() *struct {+ IsMfaEnabled bool `json:"isMfaEnabled"`+ MfaMethod *string `json:"mfaMethod,omitempty"`+ Token string `json:"token"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r SelectOrganizationV3Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r SelectOrganizationV3Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r SelectOrganizationV3Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r SelectOrganizationV3Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r SelectOrganizationV3Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r SelectOrganizationV3Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r SelectOrganizationV3Response) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r SelectOrganizationV3Response) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r SelectOrganizationV3Response) 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 SelectOrganizationV3Response) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type CompleteAccountSignupV3Response struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Message string `json:"message"`+ Token string `json:"token"`+ User struct {+ AuthMethods *[]string `json:"authMethods,omitempty"`+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsEmailVerified *bool `json:"isEmailVerified,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ PublicKey *string `json:"publicKey,omitempty"`+ Username string `json:"username"`+ } `json:"user"`+ }+ // 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 CompleteAccountSignupV3400JSONResponseBodyStatusCode `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 CompleteAccountSignupV3401JSONResponseBodyStatusCode `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 CompleteAccountSignupV3403JSONResponseBodyStatusCode `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 CompleteAccountSignupV3404JSONResponseBodyStatusCode `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 CompleteAccountSignupV3422JSONResponseBodyStatusCode `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 CompleteAccountSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r CompleteAccountSignupV3Response) GetJSON200() *struct {+ Message string `json:"message"`+ Token string `json:"token"`+ User struct {+ AuthMethods *[]string `json:"authMethods,omitempty"`+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsEmailVerified *bool `json:"isEmailVerified,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ PublicKey *string `json:"publicKey,omitempty"`+ Username string `json:"username"`+ } `json:"user"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r CompleteAccountSignupV3Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r CompleteAccountSignupV3Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r CompleteAccountSignupV3Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r CompleteAccountSignupV3Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r CompleteAccountSignupV3Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r CompleteAccountSignupV3Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r CompleteAccountSignupV3Response) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r CompleteAccountSignupV3Response) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r CompleteAccountSignupV3Response) 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 CompleteAccountSignupV3Response) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type BeginEmailSignupV3Response struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ CooldownSeconds float32 `json:"cooldownSeconds"`+ Message string `json:"message"`+ }+ // 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 BeginEmailSignupV3400JSONResponseBodyStatusCode `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 BeginEmailSignupV3401JSONResponseBodyStatusCode `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 BeginEmailSignupV3403JSONResponseBodyStatusCode `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 BeginEmailSignupV3404JSONResponseBodyStatusCode `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 BeginEmailSignupV3422JSONResponseBodyStatusCode `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 BeginEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r BeginEmailSignupV3Response) GetJSON200() *struct {+ CooldownSeconds float32 `json:"cooldownSeconds"`+ Message string `json:"message"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r BeginEmailSignupV3Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r BeginEmailSignupV3Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r BeginEmailSignupV3Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r BeginEmailSignupV3Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r BeginEmailSignupV3Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r BeginEmailSignupV3Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r BeginEmailSignupV3Response) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r BeginEmailSignupV3Response) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r BeginEmailSignupV3Response) 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 BeginEmailSignupV3Response) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type VerifyEmailSignupV3Response struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Message string `json:"message"`+ Token string `json:"token"`+ User struct {+ AuthMethods *[]string `json:"authMethods,omitempty"`+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsEmailVerified *bool `json:"isEmailVerified,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ PublicKey *string `json:"publicKey,omitempty"`+ Username string `json:"username"`+ } `json:"user"`+ }+ // 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 VerifyEmailSignupV3400JSONResponseBodyStatusCode `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 VerifyEmailSignupV3401JSONResponseBodyStatusCode `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 VerifyEmailSignupV3403JSONResponseBodyStatusCode `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 VerifyEmailSignupV3404JSONResponseBodyStatusCode `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 VerifyEmailSignupV3422JSONResponseBodyStatusCode `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 VerifyEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r VerifyEmailSignupV3Response) GetJSON200() *struct {+ Message string `json:"message"`+ Token string `json:"token"`+ User struct {+ AuthMethods *[]string `json:"authMethods,omitempty"`+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsEmailVerified *bool `json:"isEmailVerified,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ PublicKey *string `json:"publicKey,omitempty"`+ Username string `json:"username"`+ } `json:"user"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r VerifyEmailSignupV3Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r VerifyEmailSignupV3Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r VerifyEmailSignupV3Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r VerifyEmailSignupV3Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r VerifyEmailSignupV3Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r VerifyEmailSignupV3Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r VerifyEmailSignupV3Response) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r VerifyEmailSignupV3Response) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r VerifyEmailSignupV3Response) 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 VerifyEmailSignupV3Response) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type ListSecretsV4Response struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Imports *[]struct {+ Environment string `json:"environment"`+ FolderId *string `json:"folderId,omitempty"`+ SecretPath string `json:"secretPath"`+ Secrets []struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretPath *string `json:"secretPath,omitempty"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Type string `json:"type"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secrets"`+ } `json:"imports,omitempty"`+ Secrets []struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretPath *string `json:"secretPath,omitempty"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Tags *[]struct {+ Color *string `json:"color,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"tags,omitempty"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secrets"`+ }+ // JSON304 the response for an HTTP 304 `application/json` response+ JSON304 *interface{}+ // 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 ListSecretsV4400JSONResponseBodyStatusCode `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 ListSecretsV4401JSONResponseBodyStatusCode `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 ListSecretsV4403JSONResponseBodyStatusCode `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 ListSecretsV4404JSONResponseBodyStatusCode `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 ListSecretsV4422JSONResponseBodyStatusCode `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 ListSecretsV4500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r ListSecretsV4Response) GetJSON200() *struct {+ Imports *[]struct {+ Environment string `json:"environment"`+ FolderId *string `json:"folderId,omitempty"`+ SecretPath string `json:"secretPath"`+ Secrets []struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretPath *string `json:"secretPath,omitempty"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Type string `json:"type"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secrets"`+ } `json:"imports,omitempty"`+ Secrets []struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretPath *string `json:"secretPath,omitempty"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Tags *[]struct {+ Color *string `json:"color,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"tags,omitempty"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secrets"`+} {+ return r.JSON200+}++// GetJSON304 returns the response for an HTTP 304 `application/json` response+func (r ListSecretsV4Response) GetJSON304() *interface{} {+ return r.JSON304+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r ListSecretsV4Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r ListSecretsV4Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r ListSecretsV4Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r ListSecretsV4Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r ListSecretsV4Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r ListSecretsV4Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r ListSecretsV4Response) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r ListSecretsV4Response) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r ListSecretsV4Response) 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 ListSecretsV4Response) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type DeleteManySecretsV4Response struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *DeleteManySecretsV4200JSONResponseBody+ // 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 DeleteManySecretsV4400JSONResponseBodyStatusCode `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 DeleteManySecretsV4401JSONResponseBodyStatusCode `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 DeleteManySecretsV4403JSONResponseBodyStatusCode `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 DeleteManySecretsV4404JSONResponseBodyStatusCode `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 DeleteManySecretsV4422JSONResponseBodyStatusCode `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 DeleteManySecretsV4500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r DeleteManySecretsV4Response) GetJSON200() *DeleteManySecretsV4200JSONResponseBody {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r DeleteManySecretsV4Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteManySecretsV4400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r DeleteManySecretsV4Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteManySecretsV4401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r DeleteManySecretsV4Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteManySecretsV4403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r DeleteManySecretsV4Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteManySecretsV4404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r DeleteManySecretsV4Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DeleteManySecretsV4422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r DeleteManySecretsV4Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteManySecretsV4500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r DeleteManySecretsV4Response) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r DeleteManySecretsV4Response) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r DeleteManySecretsV4Response) 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 DeleteManySecretsV4Response) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type UpdateManySecretsV4Response struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *UpdateManySecretsV4200JSONResponseBody+ // 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 UpdateManySecretsV4400JSONResponseBodyStatusCode `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 UpdateManySecretsV4401JSONResponseBodyStatusCode `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 UpdateManySecretsV4403JSONResponseBodyStatusCode `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 UpdateManySecretsV4404JSONResponseBodyStatusCode `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 UpdateManySecretsV4422JSONResponseBodyStatusCode `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 UpdateManySecretsV4500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r UpdateManySecretsV4Response) GetJSON200() *UpdateManySecretsV4200JSONResponseBody {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r UpdateManySecretsV4Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateManySecretsV4400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r UpdateManySecretsV4Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateManySecretsV4401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r UpdateManySecretsV4Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateManySecretsV4403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r UpdateManySecretsV4Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateManySecretsV4404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r UpdateManySecretsV4Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode UpdateManySecretsV4422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r UpdateManySecretsV4Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateManySecretsV4500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r UpdateManySecretsV4Response) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r UpdateManySecretsV4Response) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r UpdateManySecretsV4Response) 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 UpdateManySecretsV4Response) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type CreateManySecretsV4Response struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *CreateManySecretsV4200JSONResponseBody+ // 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 CreateManySecretsV4400JSONResponseBodyStatusCode `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 CreateManySecretsV4401JSONResponseBodyStatusCode `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 CreateManySecretsV4403JSONResponseBodyStatusCode `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 CreateManySecretsV4404JSONResponseBodyStatusCode `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 CreateManySecretsV4422JSONResponseBodyStatusCode `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 CreateManySecretsV4500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r CreateManySecretsV4Response) GetJSON200() *CreateManySecretsV4200JSONResponseBody {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r CreateManySecretsV4Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateManySecretsV4400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r CreateManySecretsV4Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateManySecretsV4401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r CreateManySecretsV4Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateManySecretsV4403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r CreateManySecretsV4Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateManySecretsV4404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r CreateManySecretsV4Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateManySecretsV4422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r CreateManySecretsV4Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateManySecretsV4500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r CreateManySecretsV4Response) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r CreateManySecretsV4Response) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r CreateManySecretsV4Response) 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 CreateManySecretsV4Response) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type DuplicateSecretV4Response struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Results []DuplicateSecretV4200JSONResponseBody_Results_Item `json:"results"`+ }+ // 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 DuplicateSecretV4400JSONResponseBodyStatusCode `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 DuplicateSecretV4401JSONResponseBodyStatusCode `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 DuplicateSecretV4403JSONResponseBodyStatusCode `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 DuplicateSecretV4404JSONResponseBodyStatusCode `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 DuplicateSecretV4422JSONResponseBodyStatusCode `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 DuplicateSecretV4500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r DuplicateSecretV4Response) GetJSON200() *struct {+ Results []DuplicateSecretV4200JSONResponseBody_Results_Item `json:"results"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r DuplicateSecretV4Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DuplicateSecretV4400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r DuplicateSecretV4Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DuplicateSecretV4401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r DuplicateSecretV4Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DuplicateSecretV4403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r DuplicateSecretV4Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DuplicateSecretV4404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r DuplicateSecretV4Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DuplicateSecretV4422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r DuplicateSecretV4Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DuplicateSecretV4500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r DuplicateSecretV4Response) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r DuplicateSecretV4Response) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r DuplicateSecretV4Response) 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 DuplicateSecretV4Response) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type GetSecretByIdV4Response struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Secret struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretPath string `json:"secretPath"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Tags *[]struct {+ Color *string `json:"color,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"tags,omitempty"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secret"`+ }+ // 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 GetSecretByIdV4400JSONResponseBodyStatusCode `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 GetSecretByIdV4401JSONResponseBodyStatusCode `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 GetSecretByIdV4403JSONResponseBodyStatusCode `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 GetSecretByIdV4404JSONResponseBodyStatusCode `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 GetSecretByIdV4422JSONResponseBodyStatusCode `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 GetSecretByIdV4500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r GetSecretByIdV4Response) GetJSON200() *struct {+ Secret struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretPath string `json:"secretPath"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Tags *[]struct {+ Color *string `json:"color,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"tags,omitempty"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secret"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r GetSecretByIdV4Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByIdV4400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r GetSecretByIdV4Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByIdV4401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r GetSecretByIdV4Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByIdV4403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r GetSecretByIdV4Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByIdV4404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r GetSecretByIdV4Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByIdV4422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r GetSecretByIdV4Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByIdV4500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r GetSecretByIdV4Response) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r GetSecretByIdV4Response) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r GetSecretByIdV4Response) 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 GetSecretByIdV4Response) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type MoveSecretsV4Response struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ IsDestinationUpdated bool `json:"isDestinationUpdated"`+ IsSourceUpdated bool `json:"isSourceUpdated"`+ }+ // 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 MoveSecretsV4400JSONResponseBodyStatusCode `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 MoveSecretsV4401JSONResponseBodyStatusCode `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 MoveSecretsV4403JSONResponseBodyStatusCode `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 MoveSecretsV4404JSONResponseBodyStatusCode `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 MoveSecretsV4422JSONResponseBodyStatusCode `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 MoveSecretsV4500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r MoveSecretsV4Response) GetJSON200() *struct {+ IsDestinationUpdated bool `json:"isDestinationUpdated"`+ IsSourceUpdated bool `json:"isSourceUpdated"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r MoveSecretsV4Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode MoveSecretsV4400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r MoveSecretsV4Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode MoveSecretsV4401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r MoveSecretsV4Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode MoveSecretsV4403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r MoveSecretsV4Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode MoveSecretsV4404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r MoveSecretsV4Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode MoveSecretsV4422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r MoveSecretsV4Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode MoveSecretsV4500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r MoveSecretsV4Response) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r MoveSecretsV4Response) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r MoveSecretsV4Response) 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 MoveSecretsV4Response) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type DeleteSecretV4Response struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *DeleteSecretV4200JSONResponseBody+ // 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 DeleteSecretV4400JSONResponseBodyStatusCode `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 DeleteSecretV4401JSONResponseBodyStatusCode `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 DeleteSecretV4403JSONResponseBodyStatusCode `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 DeleteSecretV4404JSONResponseBodyStatusCode `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 DeleteSecretV4422JSONResponseBodyStatusCode `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 DeleteSecretV4500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r DeleteSecretV4Response) GetJSON200() *DeleteSecretV4200JSONResponseBody {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r DeleteSecretV4Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretV4400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r DeleteSecretV4Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretV4401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r DeleteSecretV4Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretV4403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r DeleteSecretV4Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretV4404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r DeleteSecretV4Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretV4422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r DeleteSecretV4Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretV4500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r DeleteSecretV4Response) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r DeleteSecretV4Response) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r DeleteSecretV4Response) 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 DeleteSecretV4Response) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type GetSecretByNameV4Response struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Secret struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretPath string `json:"secretPath"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Tags *[]struct {+ Color *string `json:"color,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"tags,omitempty"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secret"`+ }+ // 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 GetSecretByNameV4400JSONResponseBodyStatusCode `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 GetSecretByNameV4401JSONResponseBodyStatusCode `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 GetSecretByNameV4403JSONResponseBodyStatusCode `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 GetSecretByNameV4404JSONResponseBodyStatusCode `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 GetSecretByNameV4422JSONResponseBodyStatusCode `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 GetSecretByNameV4500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r GetSecretByNameV4Response) GetJSON200() *struct {+ Secret struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretPath string `json:"secretPath"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Tags *[]struct {+ Color *string `json:"color,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"tags,omitempty"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secret"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r GetSecretByNameV4Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r GetSecretByNameV4Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r GetSecretByNameV4Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r GetSecretByNameV4Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r GetSecretByNameV4Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r GetSecretByNameV4Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r GetSecretByNameV4Response) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r GetSecretByNameV4Response) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r GetSecretByNameV4Response) 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 GetSecretByNameV4Response) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type UpdateSecretV4Response struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *UpdateSecretV4200JSONResponseBody+ // 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 UpdateSecretV4400JSONResponseBodyStatusCode `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 UpdateSecretV4401JSONResponseBodyStatusCode `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 UpdateSecretV4403JSONResponseBodyStatusCode `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 UpdateSecretV4404JSONResponseBodyStatusCode `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 UpdateSecretV4422JSONResponseBodyStatusCode `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 UpdateSecretV4500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r UpdateSecretV4Response) GetJSON200() *UpdateSecretV4200JSONResponseBody {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r UpdateSecretV4Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretV4400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r UpdateSecretV4Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretV4401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r UpdateSecretV4Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretV4403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r UpdateSecretV4Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretV4404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r UpdateSecretV4Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretV4422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r UpdateSecretV4Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretV4500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r UpdateSecretV4Response) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r UpdateSecretV4Response) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r UpdateSecretV4Response) 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 UpdateSecretV4Response) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type CreateSecretV4Response struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *CreateSecretV4200JSONResponseBody+ // 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 CreateSecretV4400JSONResponseBodyStatusCode `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 CreateSecretV4401JSONResponseBodyStatusCode `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 CreateSecretV4403JSONResponseBodyStatusCode `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 CreateSecretV4404JSONResponseBodyStatusCode `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 CreateSecretV4422JSONResponseBodyStatusCode `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 CreateSecretV4500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r CreateSecretV4Response) GetJSON200() *CreateSecretV4200JSONResponseBody {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r CreateSecretV4Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r CreateSecretV4Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r CreateSecretV4Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r CreateSecretV4Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r CreateSecretV4Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r CreateSecretV4Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r CreateSecretV4Response) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r CreateSecretV4Response) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r CreateSecretV4Response) 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 CreateSecretV4Response) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type GetSecretReferencesV4Response struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Tree struct {+ Children []interface{} `json:"children"`+ Environment string `json:"environment"`+ Key string `json:"key"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"project,omitempty"`+ SecretPath string `json:"secretPath"`+ Value *string `json:"value,omitempty"`+ } `json:"tree"`+ }+ // 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 GetSecretReferencesV4400JSONResponseBodyStatusCode `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 GetSecretReferencesV4401JSONResponseBodyStatusCode `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 GetSecretReferencesV4403JSONResponseBodyStatusCode `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 GetSecretReferencesV4404JSONResponseBodyStatusCode `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 GetSecretReferencesV4422JSONResponseBodyStatusCode `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 GetSecretReferencesV4500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r GetSecretReferencesV4Response) GetJSON200() *struct {+ Tree struct {+ Children []interface{} `json:"children"`+ Environment string `json:"environment"`+ Key string `json:"key"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"project,omitempty"`+ SecretPath string `json:"secretPath"`+ Value *string `json:"value,omitempty"`+ } `json:"tree"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r GetSecretReferencesV4Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferencesV4400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r GetSecretReferencesV4Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferencesV4401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r GetSecretReferencesV4Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferencesV4403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r GetSecretReferencesV4Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferencesV4404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r GetSecretReferencesV4Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferencesV4422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r GetSecretReferencesV4Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferencesV4500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r GetSecretReferencesV4Response) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r GetSecretReferencesV4Response) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r GetSecretReferencesV4Response) 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 GetSecretReferencesV4Response) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type GetSecretReferenceTreeV4Response struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Tree struct {+ Children []interface{} `json:"children"`+ Environment string `json:"environment"`+ Key string `json:"key"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"project,omitempty"`+ SecretPath string `json:"secretPath"`+ Value *string `json:"value,omitempty"`+ } `json:"tree"`+ Value *string `json:"value,omitempty"`+ }+ // 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 GetSecretReferenceTreeV4400JSONResponseBodyStatusCode `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 GetSecretReferenceTreeV4401JSONResponseBodyStatusCode `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 GetSecretReferenceTreeV4403JSONResponseBodyStatusCode `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 GetSecretReferenceTreeV4404JSONResponseBodyStatusCode `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 GetSecretReferenceTreeV4422JSONResponseBodyStatusCode `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 GetSecretReferenceTreeV4500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r GetSecretReferenceTreeV4Response) GetJSON200() *struct {+ Tree struct {+ Children []interface{} `json:"children"`+ Environment string `json:"environment"`+ Key string `json:"key"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"project,omitempty"`+ SecretPath string `json:"secretPath"`+ Value *string `json:"value,omitempty"`+ } `json:"tree"`+ Value *string `json:"value,omitempty"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r GetSecretReferenceTreeV4Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferenceTreeV4400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r GetSecretReferenceTreeV4Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferenceTreeV4401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r GetSecretReferenceTreeV4Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferenceTreeV4403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r GetSecretReferenceTreeV4Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferenceTreeV4404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r GetSecretReferenceTreeV4Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferenceTreeV4422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r GetSecretReferenceTreeV4Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferenceTreeV4500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r GetSecretReferenceTreeV4Response) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r GetSecretReferenceTreeV4Response) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r GetSecretReferenceTreeV4Response) 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 GetSecretReferenceTreeV4Response) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++// GetInstanceStatusWithResponse performs a GET /api/status (the `GetInstanceStatus` operationId) request.+//+// Get the status of the Infisical instance and the features configured on it. Public and unauthenticated; used by liveness and readiness probes and exempt from the API-wide rate limit.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) GetInstanceStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInstanceStatusResponse, error) {+ rsp, err := c.GetInstanceStatus(ctx, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseGetInstanceStatusResponse(rsp)+}++// AdminBootstrapWithBodyWithResponse performs a POST /api/v1/admin/bootstrap (the `AdminBootstrap` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) AdminBootstrapWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminBootstrapResponse, error) {+ rsp, err := c.AdminBootstrapWithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseAdminBootstrapResponse(rsp)+}++// AdminBootstrapWithResponse performs a POST /api/v1/admin/bootstrap (the `AdminBootstrap` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) AdminBootstrapWithResponse(ctx context.Context, body AdminBootstrapJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminBootstrapResponse, error) {+ rsp, err := c.AdminBootstrap(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseAdminBootstrapResponse(rsp)+}++// UpdateAdminConfigWithBodyWithResponse performs a PATCH /api/v1/admin/config (the `UpdateAdminConfig` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) UpdateAdminConfigWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAdminConfigResponse, error) {+ rsp, err := c.UpdateAdminConfigWithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseUpdateAdminConfigResponse(rsp)+}++// UpdateAdminConfigWithResponse performs a PATCH /api/v1/admin/config (the `UpdateAdminConfig` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) UpdateAdminConfigWithResponse(ctx context.Context, body UpdateAdminConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAdminConfigResponse, error) {+ rsp, err := c.UpdateAdminConfig(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseUpdateAdminConfigResponse(rsp)+}++// CreateGitHubAppConnectionWithBodyWithResponse performs a POST /api/v1/app-connections/github (the `CreateGitHubAppConnection` operationId) request,+// with any type of body and a specified content type.+//+// Create a GitHub Connection.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateGitHubAppConnectionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGitHubAppConnectionResponse, error) {+ rsp, err := c.CreateGitHubAppConnectionWithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateGitHubAppConnectionResponse(rsp)+}++// CreateGitHubAppConnectionWithResponse performs a POST /api/v1/app-connections/github (the `CreateGitHubAppConnection` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Create a GitHub Connection.+func (c *ClientWithResponses) CreateGitHubAppConnectionWithResponse(ctx context.Context, body CreateGitHubAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGitHubAppConnectionResponse, error) {+ rsp, err := c.CreateGitHubAppConnection(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateGitHubAppConnectionResponse(rsp)+}++// DeleteGitHubAppConnectionWithResponse performs a DELETE /api/v1/app-connections/github/{connectionId} (the `DeleteGitHubAppConnection` operationId) request.+//+// Delete the specified GitHub Connection.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) DeleteGitHubAppConnectionWithResponse(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteGitHubAppConnectionResponse, error) {+ rsp, err := c.DeleteGitHubAppConnection(ctx, connectionId, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseDeleteGitHubAppConnectionResponse(rsp)+}++// RefreshAuthTokenWithResponse performs a POST /api/v1/auth/token (the `RefreshAuthToken` operationId) request.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) RefreshAuthTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshAuthTokenResponse, error) {+ rsp, err := c.RefreshAuthToken(ctx, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseRefreshAuthTokenResponse(rsp)+}++// AttachUniversalAuthWithBodyWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId} (the `AttachUniversalAuth` operationId) request,+// with any type of body and a specified content type.+//+// Attach Universal Auth configuration onto machine identity.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) AttachUniversalAuthWithBodyWithResponse(ctx context.Context, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachUniversalAuthResponse, error) {+ rsp, err := c.AttachUniversalAuthWithBody(ctx, identityId, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseAttachUniversalAuthResponse(rsp)+}++// AttachUniversalAuthWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId} (the `AttachUniversalAuth` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Attach Universal Auth configuration onto machine identity.+func (c *ClientWithResponses) AttachUniversalAuthWithResponse(ctx context.Context, identityId string, body AttachUniversalAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachUniversalAuthResponse, error) {+ rsp, err := c.AttachUniversalAuth(ctx, identityId, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseAttachUniversalAuthResponse(rsp)+}++// CreateUniversalAuthClientSecretWithBodyWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId}/client-secrets (the `CreateUniversalAuthClientSecret` operationId) request,+// with any type of body and a specified content type.+//+// Create Universal Auth Client Secret for machine identity.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateUniversalAuthClientSecretWithBodyWithResponse(ctx context.Context, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUniversalAuthClientSecretResponse, error) {+ rsp, err := c.CreateUniversalAuthClientSecretWithBody(ctx, identityId, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateUniversalAuthClientSecretResponse(rsp)+}++// CreateUniversalAuthClientSecretWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId}/client-secrets (the `CreateUniversalAuthClientSecret` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Create Universal Auth Client Secret for machine identity.+func (c *ClientWithResponses) CreateUniversalAuthClientSecretWithResponse(ctx context.Context, identityId string, body CreateUniversalAuthClientSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUniversalAuthClientSecretResponse, error) {+ rsp, err := c.CreateUniversalAuthClientSecret(ctx, identityId, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateUniversalAuthClientSecretResponse(rsp)+}++// LoginWithUniversalAuthWithBodyWithResponse performs a POST /api/v1/auth/universal-auth/login (the `LoginWithUniversalAuth` operationId) request,+// with any type of body and a specified content type.+//+// Login with Universal Auth for machine identity.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) LoginWithUniversalAuthWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginWithUniversalAuthResponse, error) {+ rsp, err := c.LoginWithUniversalAuthWithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseLoginWithUniversalAuthResponse(rsp)+}++// LoginWithUniversalAuthWithResponse performs a POST /api/v1/auth/universal-auth/login (the `LoginWithUniversalAuth` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Login with Universal Auth for machine identity.+func (c *ClientWithResponses) LoginWithUniversalAuthWithResponse(ctx context.Context, body LoginWithUniversalAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*LoginWithUniversalAuthResponse, error) {+ rsp, err := c.LoginWithUniversalAuth(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseLoginWithUniversalAuthResponse(rsp)+}++// CreateMachineIdentityWithBodyWithResponse performs a POST /api/v1/identities (the `CreateMachineIdentity` operationId) request,+// with any type of body and a specified content type.+//+// Create machine identity.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateMachineIdentityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMachineIdentityResponse, error) {+ rsp, err := c.CreateMachineIdentityWithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateMachineIdentityResponse(rsp)+}++// CreateMachineIdentityWithResponse performs a POST /api/v1/identities (the `CreateMachineIdentity` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Create machine identity.+func (c *ClientWithResponses) CreateMachineIdentityWithResponse(ctx context.Context, body CreateMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMachineIdentityResponse, error) {+ rsp, err := c.CreateMachineIdentity(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateMachineIdentityResponse(rsp)+}++// InviteUsersToOrganizationWithBodyWithResponse performs a POST /api/v1/invite-org/signup (the `InviteUsersToOrganization` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) InviteUsersToOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteUsersToOrganizationResponse, error) {+ rsp, err := c.InviteUsersToOrganizationWithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseInviteUsersToOrganizationResponse(rsp)+}++// InviteUsersToOrganizationWithResponse performs a POST /api/v1/invite-org/signup (the `InviteUsersToOrganization` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) InviteUsersToOrganizationWithResponse(ctx context.Context, body InviteUsersToOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteUsersToOrganizationResponse, error) {+ rsp, err := c.InviteUsersToOrganization(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseInviteUsersToOrganizationResponse(rsp)+}++// VerifyUserToOrganizationWithBodyWithResponse performs a POST /api/v1/invite-org/verify (the `VerifyUserToOrganization` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) VerifyUserToOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyUserToOrganizationResponse, error) {+ rsp, err := c.VerifyUserToOrganizationWithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseVerifyUserToOrganizationResponse(rsp)+}++// VerifyUserToOrganizationWithResponse performs a POST /api/v1/invite-org/verify (the `VerifyUserToOrganization` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) VerifyUserToOrganizationWithResponse(ctx context.Context, body VerifyUserToOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyUserToOrganizationResponse, error) {+ rsp, err := c.VerifyUserToOrganization(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseVerifyUserToOrganizationResponse(rsp)+}++// UpdateOrganizationWithBodyWithResponse performs a PATCH /api/v1/organization/{organizationId} (the `UpdateOrganization` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) UpdateOrganizationWithBodyWithResponse(ctx context.Context, organizationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationResponse, error) {+ rsp, err := c.UpdateOrganizationWithBody(ctx, organizationId, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseUpdateOrganizationResponse(rsp)+}++// UpdateOrganizationWithResponse performs a PATCH /api/v1/organization/{organizationId} (the `UpdateOrganization` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) UpdateOrganizationWithResponse(ctx context.Context, organizationId string, body UpdateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationResponse, error) {+ rsp, err := c.UpdateOrganization(ctx, organizationId, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseUpdateOrganizationResponse(rsp)+}++// GetOrganizationPlanWithResponse performs a GET /api/v1/organizations/{organizationId}/plan (the `GetOrganizationPlan` operationId) request.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) GetOrganizationPlanWithResponse(ctx context.Context, organizationId string, params *GetOrganizationPlanParams, reqEditors ...RequestEditorFn) (*GetOrganizationPlanResponse, error) {+ rsp, err := c.GetOrganizationPlan(ctx, organizationId, params, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseGetOrganizationPlanResponse(rsp)+}++// CreateProjectFolderGrantWithBodyWithResponse performs a POST /api/v1/project-folder-grants (the `CreateProjectFolderGrant` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateProjectFolderGrantWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectFolderGrantResponse, error) {+ rsp, err := c.CreateProjectFolderGrantWithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateProjectFolderGrantResponse(rsp)+}++// CreateProjectFolderGrantWithResponse performs a POST /api/v1/project-folder-grants (the `CreateProjectFolderGrant` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateProjectFolderGrantWithResponse(ctx context.Context, body CreateProjectFolderGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectFolderGrantResponse, error) {+ rsp, err := c.CreateProjectFolderGrant(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateProjectFolderGrantResponse(rsp)+}++// DeleteProjectFolderGrantWithResponse performs a DELETE /api/v1/project-folder-grants/{grantId} (the `DeleteProjectFolderGrant` operationId) request.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) DeleteProjectFolderGrantWithResponse(ctx context.Context, grantId openapi_types.UUID, params *DeleteProjectFolderGrantParams, reqEditors ...RequestEditorFn) (*DeleteProjectFolderGrantResponse, error) {+ rsp, err := c.DeleteProjectFolderGrant(ctx, grantId, params, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseDeleteProjectFolderGrantResponse(rsp)+}++// CreateProjectWithBodyWithResponse performs a POST /api/v1/projects (the `CreateProject` operationId) request,+// with any type of body and a specified content type.+//+// Create a new project.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error) {+ rsp, err := c.CreateProjectWithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateProjectResponse(rsp)+}++// CreateProjectWithResponse performs a POST /api/v1/projects (the `CreateProject` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Create a new project.+func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error) {+ rsp, err := c.CreateProject(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateProjectResponse(rsp)+}++// ListProjectMachineIdentitiesWithResponse performs a GET /api/v1/projects/{projectId}/identities (the `ListProjectMachineIdentities` operationId) request.+//+// List identities in a project.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) ListProjectMachineIdentitiesWithResponse(ctx context.Context, projectId string, params *ListProjectMachineIdentitiesParams, reqEditors ...RequestEditorFn) (*ListProjectMachineIdentitiesResponse, error) {+ rsp, err := c.ListProjectMachineIdentities(ctx, projectId, params, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseListProjectMachineIdentitiesResponse(rsp)+}++// CreateProjectMachineIdentityWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` operationId) request,+// with any type of body and a specified content type.+//+// Create an identity in a project.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateProjectMachineIdentityWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectMachineIdentityResponse, error) {+ rsp, err := c.CreateProjectMachineIdentityWithBody(ctx, projectId, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateProjectMachineIdentityResponse(rsp)+}++// CreateProjectMachineIdentityWithResponse performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` 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 identity in a project.+func (c *ClientWithResponses) CreateProjectMachineIdentityWithResponse(ctx context.Context, projectId string, body CreateProjectMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectMachineIdentityResponse, error) {+ rsp, err := c.CreateProjectMachineIdentity(ctx, projectId, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateProjectMachineIdentityResponse(rsp)+}++// InviteProjectMembersWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request,+// with any type of body and a specified content type.+//+// Invite members to project.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) InviteProjectMembersWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteProjectMembersResponse, error) {+ rsp, err := c.InviteProjectMembersWithBody(ctx, projectId, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseInviteProjectMembersResponse(rsp)+}++// InviteProjectMembersWithResponse performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Invite members to project.+func (c *ClientWithResponses) InviteProjectMembersWithResponse(ctx context.Context, projectId string, body InviteProjectMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteProjectMembersResponse, error) {+ rsp, err := c.InviteProjectMembers(ctx, projectId, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseInviteProjectMembersResponse(rsp)+}++// CreateProjectIdentityMembershipWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request,+// with any type of body and a specified content type.+//+// Create project identity membership.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateProjectIdentityMembershipWithBodyWithResponse(ctx context.Context, projectId string, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectIdentityMembershipResponse, error) {+ rsp, err := c.CreateProjectIdentityMembershipWithBody(ctx, projectId, identityId, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateProjectIdentityMembershipResponse(rsp)+}++// CreateProjectIdentityMembershipWithResponse performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Create project identity membership.+func (c *ClientWithResponses) CreateProjectIdentityMembershipWithResponse(ctx context.Context, projectId string, identityId string, body CreateProjectIdentityMembershipJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectIdentityMembershipResponse, error) {+ rsp, err := c.CreateProjectIdentityMembership(ctx, projectId, identityId, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateProjectIdentityMembershipResponse(rsp)+}++// CreateIdentityFolderAccessWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId}/secret-folder-access (the `CreateIdentityFolderAccess` operationId) request,+// with any type of body and a specified content type.+//+// Grant a machine identity access to a folder.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateIdentityFolderAccessWithBodyWithResponse(ctx context.Context, projectId string, identityId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIdentityFolderAccessResponse, error) {+ rsp, err := c.CreateIdentityFolderAccessWithBody(ctx, projectId, identityId, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateIdentityFolderAccessResponse(rsp)+}++// CreateIdentityFolderAccessWithResponse performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId}/secret-folder-access (the `CreateIdentityFolderAccess` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Grant a machine identity access to a folder.+func (c *ClientWithResponses) CreateIdentityFolderAccessWithResponse(ctx context.Context, projectId string, identityId openapi_types.UUID, body CreateIdentityFolderAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIdentityFolderAccessResponse, error) {+ rsp, err := c.CreateIdentityFolderAccess(ctx, projectId, identityId, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateIdentityFolderAccessResponse(rsp)+}++// CreateSecretTagWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/tags (the `CreateSecretTag` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateSecretTagWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretTagResponse, error) {+ rsp, err := c.CreateSecretTagWithBody(ctx, projectId, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateSecretTagResponse(rsp)+}++// CreateSecretTagWithResponse performs a POST /api/v1/projects/{projectId}/tags (the `CreateSecretTag` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateSecretTagWithResponse(ctx context.Context, projectId string, body CreateSecretTagJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretTagResponse, error) {+ rsp, err := c.CreateSecretTag(ctx, projectId, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateSecretTagResponse(rsp)+}++// ListSecretApprovalRequestsWithResponse performs a GET /api/v1/secret-approval-requests (the `ListSecretApprovalRequests` operationId) request.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) ListSecretApprovalRequestsWithResponse(ctx context.Context, params *ListSecretApprovalRequestsParams, reqEditors ...RequestEditorFn) (*ListSecretApprovalRequestsResponse, error) {+ rsp, err := c.ListSecretApprovalRequests(ctx, params, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseListSecretApprovalRequestsResponse(rsp)+}++// GetSecretApprovalRequestCountWithResponse performs a GET /api/v1/secret-approval-requests/count (the `GetSecretApprovalRequestCount` operationId) request.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) GetSecretApprovalRequestCountWithResponse(ctx context.Context, params *GetSecretApprovalRequestCountParams, reqEditors ...RequestEditorFn) (*GetSecretApprovalRequestCountResponse, error) {+ rsp, err := c.GetSecretApprovalRequestCount(ctx, params, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseGetSecretApprovalRequestCountResponse(rsp)+}++// GetSecretApprovalRequestWithResponse performs a GET /api/v1/secret-approval-requests/{id} (the `GetSecretApprovalRequest` operationId) request.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) GetSecretApprovalRequestWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSecretApprovalRequestResponse, error) {+ rsp, err := c.GetSecretApprovalRequest(ctx, id, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseGetSecretApprovalRequestResponse(rsp)+}++// MergeSecretApprovalRequestWithBodyWithResponse performs a POST /api/v1/secret-approval-requests/{id}/merge (the `MergeSecretApprovalRequest` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) MergeSecretApprovalRequestWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MergeSecretApprovalRequestResponse, error) {+ rsp, err := c.MergeSecretApprovalRequestWithBody(ctx, id, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseMergeSecretApprovalRequestResponse(rsp)+}++// MergeSecretApprovalRequestWithResponse performs a POST /api/v1/secret-approval-requests/{id}/merge (the `MergeSecretApprovalRequest` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) MergeSecretApprovalRequestWithResponse(ctx context.Context, id openapi_types.UUID, body MergeSecretApprovalRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*MergeSecretApprovalRequestResponse, error) {+ rsp, err := c.MergeSecretApprovalRequest(ctx, id, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseMergeSecretApprovalRequestResponse(rsp)+}++// ReviewSecretApprovalRequestWithBodyWithResponse performs a POST /api/v1/secret-approval-requests/{id}/review (the `ReviewSecretApprovalRequest` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) ReviewSecretApprovalRequestWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReviewSecretApprovalRequestResponse, error) {+ rsp, err := c.ReviewSecretApprovalRequestWithBody(ctx, id, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseReviewSecretApprovalRequestResponse(rsp)+}++// ReviewSecretApprovalRequestWithResponse performs a POST /api/v1/secret-approval-requests/{id}/review (the `ReviewSecretApprovalRequest` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) ReviewSecretApprovalRequestWithResponse(ctx context.Context, id openapi_types.UUID, body ReviewSecretApprovalRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*ReviewSecretApprovalRequestResponse, error) {+ rsp, err := c.ReviewSecretApprovalRequest(ctx, id, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseReviewSecretApprovalRequestResponse(rsp)+}++// UpdateSecretApprovalRequestStatusWithBodyWithResponse performs a POST /api/v1/secret-approval-requests/{id}/status (the `UpdateSecretApprovalRequestStatus` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) UpdateSecretApprovalRequestStatusWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSecretApprovalRequestStatusResponse, error) {+ rsp, err := c.UpdateSecretApprovalRequestStatusWithBody(ctx, id, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseUpdateSecretApprovalRequestStatusResponse(rsp)+}++// UpdateSecretApprovalRequestStatusWithResponse performs a POST /api/v1/secret-approval-requests/{id}/status (the `UpdateSecretApprovalRequestStatus` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) UpdateSecretApprovalRequestStatusWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateSecretApprovalRequestStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSecretApprovalRequestStatusResponse, error) {+ rsp, err := c.UpdateSecretApprovalRequestStatus(ctx, id, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseUpdateSecretApprovalRequestStatusResponse(rsp)+}++// CreateGitHubSecretSyncWithBodyWithResponse performs a POST /api/v1/secret-syncs/github (the `CreateGitHubSecretSync` operationId) request,+// with any type of body and a specified content type.+//+// Create a GitHub Sync for the specified project environment.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateGitHubSecretSyncWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGitHubSecretSyncResponse, error) {+ rsp, err := c.CreateGitHubSecretSyncWithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateGitHubSecretSyncResponse(rsp)+}++// CreateGitHubSecretSyncWithResponse performs a POST /api/v1/secret-syncs/github (the `CreateGitHubSecretSync` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Create a GitHub Sync for the specified project environment.+func (c *ClientWithResponses) CreateGitHubSecretSyncWithResponse(ctx context.Context, body CreateGitHubSecretSyncJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGitHubSecretSyncResponse, error) {+ rsp, err := c.CreateGitHubSecretSync(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateGitHubSecretSyncResponse(rsp)+}++// DeleteGitHubSecretSyncWithResponse performs a DELETE /api/v1/secret-syncs/github/{syncId} (the `DeleteGitHubSecretSync` operationId) request.+//+// Delete the specified GitHub Sync.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) DeleteGitHubSecretSyncWithResponse(ctx context.Context, syncId openapi_types.UUID, params *DeleteGitHubSecretSyncParams, reqEditors ...RequestEditorFn) (*DeleteGitHubSecretSyncResponse, error) {+ rsp, err := c.DeleteGitHubSecretSync(ctx, syncId, params, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseDeleteGitHubSecretSyncResponse(rsp)+}++// GetGitHubSecretSyncWithResponse performs a GET /api/v1/secret-syncs/github/{syncId} (the `GetGitHubSecretSync` operationId) request.+//+// Get the specified GitHub Sync by ID.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) GetGitHubSecretSyncWithResponse(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetGitHubSecretSyncResponse, error) {+ rsp, err := c.GetGitHubSecretSync(ctx, syncId, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseGetGitHubSecretSyncResponse(rsp)+}++// RemoveGitHubSecretSyncSecretsWithResponse performs a POST /api/v1/secret-syncs/github/{syncId}/remove-secrets (the `RemoveGitHubSecretSyncSecrets` operationId) request.+//+// Remove previously synced secrets from the specified GitHub Sync destination.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) RemoveGitHubSecretSyncSecretsWithResponse(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveGitHubSecretSyncSecretsResponse, error) {+ rsp, err := c.RemoveGitHubSecretSyncSecrets(ctx, syncId, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseRemoveGitHubSecretSyncSecretsResponse(rsp)+}++// SyncGitHubSecretSyncWithResponse performs a POST /api/v1/secret-syncs/github/{syncId}/sync-secrets (the `SyncGitHubSecretSync` operationId) request.+//+// Trigger a sync for the specified GitHub Sync.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) SyncGitHubSecretSyncWithResponse(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*SyncGitHubSecretSyncResponse, error) {+ rsp, err := c.SyncGitHubSecretSync(ctx, syncId, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseSyncGitHubSecretSyncResponse(rsp)+}++// CreateSecretFolderWithBodyWithResponse performs a POST /api/v2/folders (the `CreateSecretFolder` operationId) request,+// with any type of body and a specified content type.+//+// Create folders.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateSecretFolderWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretFolderResponse, error) {+ rsp, err := c.CreateSecretFolderWithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateSecretFolderResponse(rsp)+}++// CreateSecretFolderWithResponse performs a POST /api/v2/folders (the `CreateSecretFolder` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Create folders.+func (c *ClientWithResponses) CreateSecretFolderWithResponse(ctx context.Context, body CreateSecretFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretFolderResponse, error) {+ rsp, err := c.CreateSecretFolder(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateSecretFolderResponse(rsp)+}++// CreateOrganizationWithBodyWithResponse performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error) {+ rsp, err := c.CreateOrganizationWithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateOrganizationResponse(rsp)+}++// CreateOrganizationWithResponse performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error) {+ rsp, err := c.CreateOrganization(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateOrganizationResponse(rsp)+}++// DeleteOrganizationWithResponse performs a DELETE /api/v2/organizations/{organizationId} (the `DeleteOrganization` operationId) request.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) DeleteOrganizationWithResponse(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationResponse, error) {+ rsp, err := c.DeleteOrganization(ctx, organizationId, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseDeleteOrganizationResponse(rsp)+}++// CreateSecretApprovalPolicyWithBodyWithResponse performs a POST /api/v2/secret-approvals (the `CreateSecretApprovalPolicy` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateSecretApprovalPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretApprovalPolicyResponse, error) {+ rsp, err := c.CreateSecretApprovalPolicyWithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateSecretApprovalPolicyResponse(rsp)+}++// CreateSecretApprovalPolicyWithResponse performs a POST /api/v2/secret-approvals (the `CreateSecretApprovalPolicy` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateSecretApprovalPolicyWithResponse(ctx context.Context, body CreateSecretApprovalPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretApprovalPolicyResponse, error) {+ rsp, err := c.CreateSecretApprovalPolicy(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateSecretApprovalPolicyResponse(rsp)+}++// GetSecretApprovalPolicyBoardWithResponse performs a GET /api/v2/secret-approvals/board (the `GetSecretApprovalPolicyBoard` operationId) request.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) GetSecretApprovalPolicyBoardWithResponse(ctx context.Context, params *GetSecretApprovalPolicyBoardParams, reqEditors ...RequestEditorFn) (*GetSecretApprovalPolicyBoardResponse, error) {+ rsp, err := c.GetSecretApprovalPolicyBoard(ctx, params, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseGetSecretApprovalPolicyBoardResponse(rsp)+}++// DeleteSecretApprovalPolicyWithResponse performs a DELETE /api/v2/secret-approvals/{sapId} (the `DeleteSecretApprovalPolicy` operationId) request.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) DeleteSecretApprovalPolicyWithResponse(ctx context.Context, sapId string, reqEditors ...RequestEditorFn) (*DeleteSecretApprovalPolicyResponse, error) {+ rsp, err := c.DeleteSecretApprovalPolicy(ctx, sapId, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseDeleteSecretApprovalPolicyResponse(rsp)+}++// GetSecretApprovalPolicyWithResponse performs a GET /api/v2/secret-approvals/{sapId} (the `GetSecretApprovalPolicy` operationId) request.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) GetSecretApprovalPolicyWithResponse(ctx context.Context, sapId string, reqEditors ...RequestEditorFn) (*GetSecretApprovalPolicyResponse, error) {+ rsp, err := c.GetSecretApprovalPolicy(ctx, sapId, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseGetSecretApprovalPolicyResponse(rsp)+}++// UpdateSecretApprovalPolicyWithBodyWithResponse performs a PATCH /api/v2/secret-approvals/{sapId} (the `UpdateSecretApprovalPolicy` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) UpdateSecretApprovalPolicyWithBodyWithResponse(ctx context.Context, sapId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSecretApprovalPolicyResponse, error) {+ rsp, err := c.UpdateSecretApprovalPolicyWithBody(ctx, sapId, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseUpdateSecretApprovalPolicyResponse(rsp)+}++// UpdateSecretApprovalPolicyWithResponse performs a PATCH /api/v2/secret-approvals/{sapId} (the `UpdateSecretApprovalPolicy` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) UpdateSecretApprovalPolicyWithResponse(ctx context.Context, sapId string, body UpdateSecretApprovalPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSecretApprovalPolicyResponse, error) {+ rsp, err := c.UpdateSecretApprovalPolicy(ctx, sapId, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseUpdateSecretApprovalPolicyResponse(rsp)+}++// CreateSecretImportWithBodyWithResponse performs a POST /api/v2/secret-imports (the `CreateSecretImport` operationId) request,+// with any type of body and a specified content type.+//+// Create secret imports.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateSecretImportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretImportResponse, error) {+ rsp, err := c.CreateSecretImportWithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateSecretImportResponse(rsp)+}++// CreateSecretImportWithResponse performs a POST /api/v2/secret-imports (the `CreateSecretImport` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Create secret imports.+func (c *ClientWithResponses) CreateSecretImportWithResponse(ctx context.Context, body CreateSecretImportJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretImportResponse, error) {+ rsp, err := c.CreateSecretImport(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateSecretImportResponse(rsp)+}++// LoginV3WithBodyWithResponse performs a POST /api/v3/auth/login (the `LoginV3` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) LoginV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginV3Response, error) {+ rsp, err := c.LoginV3WithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseLoginV3Response(rsp)+}++// LoginV3WithResponse performs a POST /api/v3/auth/login (the `LoginV3` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) LoginV3WithResponse(ctx context.Context, body LoginV3JSONRequestBody, reqEditors ...RequestEditorFn) (*LoginV3Response, error) {+ rsp, err := c.LoginV3(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseLoginV3Response(rsp)+}++// SelectOrganizationV3WithBodyWithResponse performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) SelectOrganizationV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectOrganizationV3Response, error) {+ rsp, err := c.SelectOrganizationV3WithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseSelectOrganizationV3Response(rsp)+}++// SelectOrganizationV3WithResponse performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) SelectOrganizationV3WithResponse(ctx context.Context, body SelectOrganizationV3JSONRequestBody, reqEditors ...RequestEditorFn) (*SelectOrganizationV3Response, error) {+ rsp, err := c.SelectOrganizationV3(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseSelectOrganizationV3Response(rsp)+}++// CompleteAccountSignupV3WithBodyWithResponse performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CompleteAccountSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CompleteAccountSignupV3Response, error) {+ rsp, err := c.CompleteAccountSignupV3WithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCompleteAccountSignupV3Response(rsp)+}++// CompleteAccountSignupV3WithResponse performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CompleteAccountSignupV3WithResponse(ctx context.Context, body CompleteAccountSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*CompleteAccountSignupV3Response, error) {+ rsp, err := c.CompleteAccountSignupV3(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCompleteAccountSignupV3Response(rsp)+}++// BeginEmailSignupV3WithBodyWithResponse performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) BeginEmailSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BeginEmailSignupV3Response, error) {+ rsp, err := c.BeginEmailSignupV3WithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseBeginEmailSignupV3Response(rsp)+}++// BeginEmailSignupV3WithResponse performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) BeginEmailSignupV3WithResponse(ctx context.Context, body BeginEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*BeginEmailSignupV3Response, error) {+ rsp, err := c.BeginEmailSignupV3(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseBeginEmailSignupV3Response(rsp)+}++// VerifyEmailSignupV3WithBodyWithResponse performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) VerifyEmailSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyEmailSignupV3Response, error) {+ rsp, err := c.VerifyEmailSignupV3WithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseVerifyEmailSignupV3Response(rsp)+}++// VerifyEmailSignupV3WithResponse performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) VerifyEmailSignupV3WithResponse(ctx context.Context, body VerifyEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyEmailSignupV3Response, error) {+ rsp, err := c.VerifyEmailSignupV3(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseVerifyEmailSignupV3Response(rsp)+}++// ListSecretsV4WithResponse performs a GET /api/v4/secrets (the `ListSecretsV4` operationId) request.+//+// List secrets.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) ListSecretsV4WithResponse(ctx context.Context, params *ListSecretsV4Params, reqEditors ...RequestEditorFn) (*ListSecretsV4Response, error) {+ rsp, err := c.ListSecretsV4(ctx, params, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseListSecretsV4Response(rsp)+}++// DeleteManySecretsV4WithBodyWithResponse performs a DELETE /api/v4/secrets/batch (the `DeleteManySecretsV4` operationId) request,+// with any type of body and a specified content type.+//+// Delete many secrets.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) DeleteManySecretsV4WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteManySecretsV4Response, error) {+ rsp, err := c.DeleteManySecretsV4WithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseDeleteManySecretsV4Response(rsp)+}++// DeleteManySecretsV4WithResponse performs a DELETE /api/v4/secrets/batch (the `DeleteManySecretsV4` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Delete many secrets.+func (c *ClientWithResponses) DeleteManySecretsV4WithResponse(ctx context.Context, body DeleteManySecretsV4JSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteManySecretsV4Response, error) {+ rsp, err := c.DeleteManySecretsV4(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseDeleteManySecretsV4Response(rsp)+}++// UpdateManySecretsV4WithBodyWithResponse performs a PATCH /api/v4/secrets/batch (the `UpdateManySecretsV4` operationId) request,+// with any type of body and a specified content type.+//+// Update many secrets.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) UpdateManySecretsV4WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateManySecretsV4Response, error) {+ rsp, err := c.UpdateManySecretsV4WithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseUpdateManySecretsV4Response(rsp)+}++// UpdateManySecretsV4WithResponse performs a PATCH /api/v4/secrets/batch (the `UpdateManySecretsV4` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Update many secrets.+func (c *ClientWithResponses) UpdateManySecretsV4WithResponse(ctx context.Context, body UpdateManySecretsV4JSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateManySecretsV4Response, error) {+ rsp, err := c.UpdateManySecretsV4(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseUpdateManySecretsV4Response(rsp)+}++// CreateManySecretsV4WithBodyWithResponse performs a POST /api/v4/secrets/batch (the `CreateManySecretsV4` operationId) request,+// with any type of body and a specified content type.+//+// Create many secrets.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateManySecretsV4WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateManySecretsV4Response, error) {+ rsp, err := c.CreateManySecretsV4WithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateManySecretsV4Response(rsp)+}++// CreateManySecretsV4WithResponse performs a POST /api/v4/secrets/batch (the `CreateManySecretsV4` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Create many secrets.+func (c *ClientWithResponses) CreateManySecretsV4WithResponse(ctx context.Context, body CreateManySecretsV4JSONRequestBody, reqEditors ...RequestEditorFn) (*CreateManySecretsV4Response, error) {+ rsp, err := c.CreateManySecretsV4(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateManySecretsV4Response(rsp)+}++// DuplicateSecretV4WithBodyWithResponse performs a POST /api/v4/secrets/duplicate (the `DuplicateSecretV4` operationId) request,+// with any type of body and a specified content type.+//+// Duplicate one or more static secrets into another environment.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) DuplicateSecretV4WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DuplicateSecretV4Response, error) {+ rsp, err := c.DuplicateSecretV4WithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseDuplicateSecretV4Response(rsp)+}++// DuplicateSecretV4WithResponse performs a POST /api/v4/secrets/duplicate (the `DuplicateSecretV4` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Duplicate one or more static secrets into another environment.+func (c *ClientWithResponses) DuplicateSecretV4WithResponse(ctx context.Context, body DuplicateSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*DuplicateSecretV4Response, error) {+ rsp, err := c.DuplicateSecretV4(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseDuplicateSecretV4Response(rsp)+}++// GetSecretByIdV4WithResponse performs a GET /api/v4/secrets/id/{secretId} (the `GetSecretByIdV4` operationId) request.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) GetSecretByIdV4WithResponse(ctx context.Context, secretId string, reqEditors ...RequestEditorFn) (*GetSecretByIdV4Response, error) {+ rsp, err := c.GetSecretByIdV4(ctx, secretId, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseGetSecretByIdV4Response(rsp)+}++// MoveSecretsV4WithBodyWithResponse performs a POST /api/v4/secrets/move (the `MoveSecretsV4` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) MoveSecretsV4WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveSecretsV4Response, error) {+ rsp, err := c.MoveSecretsV4WithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseMoveSecretsV4Response(rsp)+}++// MoveSecretsV4WithResponse performs a POST /api/v4/secrets/move (the `MoveSecretsV4` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) MoveSecretsV4WithResponse(ctx context.Context, body MoveSecretsV4JSONRequestBody, reqEditors ...RequestEditorFn) (*MoveSecretsV4Response, error) {+ rsp, err := c.MoveSecretsV4(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseMoveSecretsV4Response(rsp)+}++// DeleteSecretV4WithBodyWithResponse performs a DELETE /api/v4/secrets/{secretName} (the `DeleteSecretV4` operationId) request,+// with any type of body and a specified content type.+//+// Delete secret.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) DeleteSecretV4WithBodyWithResponse(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteSecretV4Response, error) {+ rsp, err := c.DeleteSecretV4WithBody(ctx, secretName, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseDeleteSecretV4Response(rsp)+}++// DeleteSecretV4WithResponse performs a DELETE /api/v4/secrets/{secretName} (the `DeleteSecretV4` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Delete secret.+func (c *ClientWithResponses) DeleteSecretV4WithResponse(ctx context.Context, secretName string, body DeleteSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteSecretV4Response, error) {+ rsp, err := c.DeleteSecretV4(ctx, secretName, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseDeleteSecretV4Response(rsp)+}++// GetSecretByNameV4WithResponse performs a GET /api/v4/secrets/{secretName} (the `GetSecretByNameV4` operationId) request.+//+// Get a secret by name.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) GetSecretByNameV4WithResponse(ctx context.Context, secretName string, params *GetSecretByNameV4Params, reqEditors ...RequestEditorFn) (*GetSecretByNameV4Response, error) {+ rsp, err := c.GetSecretByNameV4(ctx, secretName, params, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseGetSecretByNameV4Response(rsp)+}++// UpdateSecretV4WithBodyWithResponse performs a PATCH /api/v4/secrets/{secretName} (the `UpdateSecretV4` operationId) request,+// with any type of body and a specified content type.+//+// Update secret.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) UpdateSecretV4WithBodyWithResponse(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSecretV4Response, error) {+ rsp, err := c.UpdateSecretV4WithBody(ctx, secretName, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseUpdateSecretV4Response(rsp)+}++// UpdateSecretV4WithResponse performs a PATCH /api/v4/secrets/{secretName} (the `UpdateSecretV4` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Update secret.+func (c *ClientWithResponses) UpdateSecretV4WithResponse(ctx context.Context, secretName string, body UpdateSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSecretV4Response, error) {+ rsp, err := c.UpdateSecretV4(ctx, secretName, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseUpdateSecretV4Response(rsp)+}++// CreateSecretV4WithBodyWithResponse performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request,+// with any type of body and a specified content type.+//+// Create secret.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateSecretV4WithBodyWithResponse(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretV4Response, error) {+ rsp, err := c.CreateSecretV4WithBody(ctx, secretName, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateSecretV4Response(rsp)+}++// CreateSecretV4WithResponse performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Create secret.+func (c *ClientWithResponses) CreateSecretV4WithResponse(ctx context.Context, secretName string, body CreateSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretV4Response, error) {+ rsp, err := c.CreateSecretV4(ctx, secretName, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateSecretV4Response(rsp)+}++// GetSecretReferencesV4WithResponse performs a GET /api/v4/secrets/{secretName}/reference-dependency-tree (the `GetSecretReferencesV4` operationId) request.+//+// Get secret reference dependency tree.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) GetSecretReferencesV4WithResponse(ctx context.Context, secretName string, params *GetSecretReferencesV4Params, reqEditors ...RequestEditorFn) (*GetSecretReferencesV4Response, error) {+ rsp, err := c.GetSecretReferencesV4(ctx, secretName, params, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseGetSecretReferencesV4Response(rsp)+}++// GetSecretReferenceTreeV4WithResponse performs a GET /api/v4/secrets/{secretName}/secret-reference-tree (the `GetSecretReferenceTreeV4` operationId) request.+//+// Get secret reference tree.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) GetSecretReferenceTreeV4WithResponse(ctx context.Context, secretName string, params *GetSecretReferenceTreeV4Params, reqEditors ...RequestEditorFn) (*GetSecretReferenceTreeV4Response, error) {+ rsp, err := c.GetSecretReferenceTreeV4(ctx, secretName, params, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseGetSecretReferenceTreeV4Response(rsp)+}++// ParseGetInstanceStatusResponse parses an HTTP response from a GetInstanceStatusWithResponse call+func ParseGetInstanceStatusResponse(rsp *http.Response) (*GetInstanceStatusResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &GetInstanceStatusResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ AuditLogStorageDisabled *bool `json:"auditLogStorageDisabled,omitempty"`+ Date time.Time `json:"date"`+ EmailConfigured *bool `json:"emailConfigured,omitempty"`+ InviteOnlySignup *bool `json:"inviteOnlySignup,omitempty"`+ MaxIdentityAccessTokenTTL *float32 `json:"maxIdentityAccessTokenTTL,omitempty"`+ Message *string `json:"message,omitempty"`+ RedisConfigured *bool `json:"redisConfigured,omitempty"`+ SamlDefaultOrgSlug *string `json:"samlDefaultOrgSlug,omitempty"`+ SecretScanningConfigured *bool `json:"secretScanningConfigured,omitempty"`+ }+ 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 GetInstanceStatus400JSONResponseBodyStatusCode `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 GetInstanceStatus401JSONResponseBodyStatusCode `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 GetInstanceStatus403JSONResponseBodyStatusCode `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 GetInstanceStatus404JSONResponseBodyStatusCode `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 GetInstanceStatus422JSONResponseBodyStatusCode `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 GetInstanceStatus500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest++ }++ return response, nil+}++// ParseAdminBootstrapResponse parses an HTTP response from a AdminBootstrapWithResponse call+func ParseAdminBootstrapResponse(rsp *http.Response) (*AdminBootstrapResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &AdminBootstrapResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ Identity struct {+ Credentials struct {+ Token string `json:"token"`+ } `json:"credentials"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"identity"`+ Message string `json:"message"`+ Organization struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"organization"`+ User struct {+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ Id openapi_types.UUID `json:"id"`+ LastName *string `json:"lastName,omitempty"`+ SuperAdmin *bool `json:"superAdmin,omitempty"`+ Username string `json:"username"`+ } `json:"user"`+ }+ 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 AdminBootstrap400JSONResponseBodyStatusCode `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 AdminBootstrap401JSONResponseBodyStatusCode `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 AdminBootstrap403JSONResponseBodyStatusCode `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 AdminBootstrap404JSONResponseBodyStatusCode `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 AdminBootstrap422JSONResponseBodyStatusCode `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 AdminBootstrap500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest++ }++ return response, nil+}++// ParseUpdateAdminConfigResponse parses an HTTP response from a UpdateAdminConfigWithResponse call+func ParseUpdateAdminConfigResponse(rsp *http.Response) (*UpdateAdminConfigResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &UpdateAdminConfigResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ Config struct {+ AdminIdentityIds *[]string `json:"adminIdentityIds,omitempty"`+ AllowSignUp *bool `json:"allowSignUp,omitempty"`+ AllowedSignUpDomain *string `json:"allowedSignUpDomain,omitempty"`+ AuthConsentContent *string `json:"authConsentContent,omitempty"`+ CreatedAt *time.Time `json:"createdAt,omitempty"`+ DefaultAuthOrgAuthEnforced *bool `json:"defaultAuthOrgAuthEnforced,omitempty"`+ DefaultAuthOrgAuthMethod *string `json:"defaultAuthOrgAuthMethod,omitempty"`+ DefaultAuthOrgId *openapi_types.UUID `json:"defaultAuthOrgId,omitempty"`+ DefaultAuthOrgSlug *string `json:"defaultAuthOrgSlug"`+ EnabledLoginMethods *[]string `json:"enabledLoginMethods,omitempty"`+ FipsEnabled *bool `json:"fipsEnabled,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Initialized *bool `json:"initialized,omitempty"`+ InstanceId *openapi_types.UUID `json:"instanceId,omitempty"`+ IsClickhouseAuditLogEnabled *bool `json:"isClickhouseAuditLogEnabled,omitempty"`+ IsMigrationModeOn *bool `json:"isMigrationModeOn,omitempty"`+ IsOfflineUsageReportsEnabled *bool `json:"isOfflineUsageReportsEnabled,omitempty"`+ IsPublicSecretSharingDisabled *bool `json:"isPublicSecretSharingDisabled,omitempty"`+ IsSecretScanningDisabled *bool `json:"isSecretScanningDisabled,omitempty"`+ KubernetesAutoFetchServiceAccountToken *bool `json:"kubernetesAutoFetchServiceAccountToken,omitempty"`+ LatestAvailableVersion *string `json:"latestAvailableVersion,omitempty"`+ OnboardingCompleted *bool `json:"onboardingCompleted,omitempty"`+ PageFrameContent *string `json:"pageFrameContent,omitempty"`+ ParamsFolderSecretDetectionEnabled *bool `json:"paramsFolderSecretDetectionEnabled,omitempty"`+ PasswordPolicy struct {+ Requirements []struct {+ Code string `json:"code"`+ Flags *string `json:"flags,omitempty"`+ IsPrimary bool `json:"isPrimary"`+ MaxConsecutiveCharacters *int `json:"maxConsecutiveCharacters,omitempty"`+ Message string `json:"message"`+ Patterns []string `json:"patterns"`+ ShouldMatch bool `json:"shouldMatch"`+ ValidationMessage string `json:"validationMessage"`+ } `json:"requirements"`+ } `json:"passwordPolicy"`+ TrustLdapEmails *bool `json:"trustLdapEmails,omitempty"`+ } `json:"config"`+ }+ 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 UpdateAdminConfig400JSONResponseBodyStatusCode `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 UpdateAdminConfig401JSONResponseBodyStatusCode `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 UpdateAdminConfig403JSONResponseBodyStatusCode `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 UpdateAdminConfig404JSONResponseBodyStatusCode `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 UpdateAdminConfig422JSONResponseBodyStatusCode `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 UpdateAdminConfig500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest++ }++ return response, nil+}++// ParseCreateGitHubAppConnectionResponse parses an HTTP response from a CreateGitHubAppConnectionWithResponse call+func ParseCreateGitHubAppConnectionResponse(rsp *http.Response) (*CreateGitHubAppConnectionResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &CreateGitHubAppConnectionResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ AppConnection CreateGitHubAppConnection200JSONResponseBody_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 CreateGitHubAppConnection400JSONResponseBodyStatusCode `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 CreateGitHubAppConnection401JSONResponseBodyStatusCode `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 CreateGitHubAppConnection403JSONResponseBodyStatusCode `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 CreateGitHubAppConnection404JSONResponseBodyStatusCode `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 CreateGitHubAppConnection422JSONResponseBodyStatusCode `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 CreateGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest++ }++ return response, nil+}++// ParseDeleteGitHubAppConnectionResponse parses an HTTP response from a DeleteGitHubAppConnectionWithResponse call+func ParseDeleteGitHubAppConnectionResponse(rsp *http.Response) (*DeleteGitHubAppConnectionResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &DeleteGitHubAppConnectionResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ AppConnection DeleteGitHubAppConnection200JSONResponseBody_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 DeleteGitHubAppConnection400JSONResponseBodyStatusCode `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 DeleteGitHubAppConnection401JSONResponseBodyStatusCode `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 DeleteGitHubAppConnection403JSONResponseBodyStatusCode `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 DeleteGitHubAppConnection404JSONResponseBodyStatusCode `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 DeleteGitHubAppConnection422JSONResponseBodyStatusCode `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 DeleteGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest++ }++ return response, nil+}++// ParseRefreshAuthTokenResponse parses an HTTP response from a RefreshAuthTokenWithResponse call+func ParseRefreshAuthTokenResponse(rsp *http.Response) (*RefreshAuthTokenResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &RefreshAuthTokenResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ OrganizationId *string `json:"organizationId,omitempty"`+ RefreshToken *string `json:"refreshToken,omitempty"`+ SubOrganizationId *string `json:"subOrganizationId,omitempty"`+ Token string `json:"token"`+ }+ 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 RefreshAuthToken400JSONResponseBodyStatusCode `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 RefreshAuthToken401JSONResponseBodyStatusCode `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 RefreshAuthToken403JSONResponseBodyStatusCode `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 RefreshAuthToken404JSONResponseBodyStatusCode `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 RefreshAuthToken422JSONResponseBodyStatusCode `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 RefreshAuthToken500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest++ }++ return response, nil+}++// ParseAttachUniversalAuthResponse parses an HTTP response from a AttachUniversalAuthWithResponse call+func ParseAttachUniversalAuthResponse(rsp *http.Response) (*AttachUniversalAuthResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &AttachUniversalAuthResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ IdentityUniversalAuth struct {+ AccessTokenMaxTTL *float32 `json:"accessTokenMaxTTL,omitempty"`+ AccessTokenNumUsesLimit *float32 `json:"accessTokenNumUsesLimit,omitempty"`+ AccessTokenPeriod *float32 `json:"accessTokenPeriod,omitempty"`+ AccessTokenTTL *float32 `json:"accessTokenTTL,omitempty"`+ AccessTokenTrustedIps interface{} `json:"accessTokenTrustedIps,omitempty"`+ ClientId string `json:"clientId"`+ ClientSecretTrustedIps interface{} `json:"clientSecretTrustedIps,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ IdentityId openapi_types.UUID `json:"identityId"`+ LockoutCounterResetSeconds *float32 `json:"lockoutCounterResetSeconds,omitempty"`+ LockoutDurationSeconds *float32 `json:"lockoutDurationSeconds,omitempty"`+ LockoutEnabled *bool `json:"lockoutEnabled,omitempty"`+ LockoutThreshold *float32 `json:"lockoutThreshold,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identityUniversalAuth"`+ }+ 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 AttachUniversalAuth400JSONResponseBodyStatusCode `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 AttachUniversalAuth401JSONResponseBodyStatusCode `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 AttachUniversalAuth403JSONResponseBodyStatusCode `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 AttachUniversalAuth404JSONResponseBodyStatusCode `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 AttachUniversalAuth422JSONResponseBodyStatusCode `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 AttachUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest++ }++ return response, nil+}++// ParseCreateUniversalAuthClientSecretResponse parses an HTTP response from a CreateUniversalAuthClientSecretWithResponse call+func ParseCreateUniversalAuthClientSecretResponse(rsp *http.Response) (*CreateUniversalAuthClientSecretResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &CreateUniversalAuthClientSecretResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ ClientSecret string `json:"clientSecret"`+ ClientSecretData struct {+ ClientSecretNumUses *float32 `json:"clientSecretNumUses,omitempty"`+ ClientSecretNumUsesLimit *float32 `json:"clientSecretNumUsesLimit,omitempty"`+ ClientSecretPrefix string `json:"clientSecretPrefix"`+ ClientSecretTTL *float32 `json:"clientSecretTTL,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Description string `json:"description"`+ Id string `json:"id"`+ IdentityUAId openapi_types.UUID `json:"identityUAId"`+ IsClientSecretRevoked *bool `json:"isClientSecretRevoked,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"clientSecretData"`+ }+ 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 CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode `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 CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode `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 CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode `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 CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode `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 CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode `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 CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest++ }++ return response, nil+}++// ParseLoginWithUniversalAuthResponse parses an HTTP response from a LoginWithUniversalAuthWithResponse call+func ParseLoginWithUniversalAuthResponse(rsp *http.Response) (*LoginWithUniversalAuthResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &LoginWithUniversalAuthResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ AccessToken string `json:"accessToken"`+ AccessTokenMaxTTL float32 `json:"accessTokenMaxTTL"`+ ExpiresIn float32 `json:"expiresIn"`+ TokenType LoginWithUniversalAuth200JSONResponseBodyTokenType `json:"tokenType"`+ }+ 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 LoginWithUniversalAuth400JSONResponseBodyStatusCode `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 LoginWithUniversalAuth401JSONResponseBodyStatusCode `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 LoginWithUniversalAuth403JSONResponseBodyStatusCode `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 LoginWithUniversalAuth404JSONResponseBodyStatusCode `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 LoginWithUniversalAuth422JSONResponseBodyStatusCode `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 LoginWithUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest++ }++ return response, nil+}++// ParseCreateMachineIdentityResponse parses an HTTP response from a CreateMachineIdentityWithResponse call+func ParseCreateMachineIdentityResponse(rsp *http.Response) (*CreateMachineIdentityResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &CreateMachineIdentityResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ Identity struct {+ AuthMethod *string `json:"authMethod,omitempty"`+ AuthMethods []string `json:"authMethods"`+ CreatedAt time.Time `json:"createdAt"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Metadata []struct {+ Id string `json:"id"`+ Key string `json:"key"`+ Value string `json:"value"`+ } `json:"metadata"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ ProjectId *string `json:"projectId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identity"`+ }+ 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 CreateMachineIdentity400JSONResponseBodyStatusCode `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 CreateMachineIdentity401JSONResponseBodyStatusCode `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 CreateMachineIdentity403JSONResponseBodyStatusCode `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 CreateMachineIdentity404JSONResponseBodyStatusCode `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 CreateMachineIdentity422JSONResponseBodyStatusCode `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 CreateMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest++ }++ return response, nil+}++// ParseInviteUsersToOrganizationResponse parses an HTTP response from a InviteUsersToOrganizationWithResponse call+func ParseInviteUsersToOrganizationResponse(rsp *http.Response) (*InviteUsersToOrganizationResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &InviteUsersToOrganizationResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ CompleteInviteLinks *[]struct {+ Email string `json:"email"`+ Link string `json:"link"`+ } `json:"completeInviteLinks,omitempty"`+ GrantFailures *struct {+ AgentVaultAccess bool `json:"agentVaultAccess"`+ PamAccess bool `json:"pamAccess"`+ ProjectIds []string `json:"projectIds"`+ } `json:"grantFailures,omitempty"`+ Message string `json:"message"`+ }+ 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 InviteUsersToOrganization400JSONResponseBodyStatusCode `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 InviteUsersToOrganization401JSONResponseBodyStatusCode `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 InviteUsersToOrganization403JSONResponseBodyStatusCode `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 InviteUsersToOrganization404JSONResponseBodyStatusCode `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 InviteUsersToOrganization422JSONResponseBodyStatusCode `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 InviteUsersToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest++ }++ return response, nil+}++// ParseVerifyUserToOrganizationResponse parses an HTTP response from a VerifyUserToOrganizationWithResponse call+func ParseVerifyUserToOrganizationResponse(rsp *http.Response) (*VerifyUserToOrganizationResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &VerifyUserToOrganizationResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ Message string `json:"message"`++ // OrganizationName Name of the organization associated with the verified invitation+ OrganizationName string `json:"organizationName"`+ Token *string `json:"token,omitempty"`+ }+ 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 VerifyUserToOrganization400JSONResponseBodyStatusCode `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 VerifyUserToOrganization401JSONResponseBodyStatusCode `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 VerifyUserToOrganization403JSONResponseBodyStatusCode `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 VerifyUserToOrganization404JSONResponseBodyStatusCode `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 VerifyUserToOrganization422JSONResponseBodyStatusCode `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 VerifyUserToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest++ }++ return response, nil+}++// ParseUpdateOrganizationResponse parses an HTTP response from a UpdateOrganizationWithResponse call+func ParseUpdateOrganizationResponse(rsp *http.Response) (*UpdateOrganizationResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &UpdateOrganizationResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ Message string `json:"message"`+ Organization struct {+ AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`+ AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`+ AuthEnforced *bool `json:"authEnforced,omitempty"`+ BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`+ BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ CustomerId *string `json:"customerId,omitempty"`+ DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`+ EnforceMfa *bool `json:"enforceMfa,omitempty"`+ GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`+ Id openapi_types.UUID `json:"id"`+ KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`+ KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`+ MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`+ MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`+ Name string `json:"name"`+ ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`+ PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`+ PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`+ PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`+ RequireGatewayPools *bool `json:"requireGatewayPools,omitempty"`+ RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`+ ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`+ ScimEnabled *bool `json:"scimEnabled,omitempty"`+ SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`+ SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`+ SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`+ ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`+ ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`+ Slug string `json:"slug"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`+ } `json:"organization"`+ }+ 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 UpdateOrganization400JSONResponseBodyStatusCode `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 UpdateOrganization401JSONResponseBodyStatusCode `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 UpdateOrganization403JSONResponseBodyStatusCode `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 UpdateOrganization404JSONResponseBodyStatusCode `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 UpdateOrganization422JSONResponseBodyStatusCode `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 UpdateOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest++ }++ return response, nil+}++// ParseGetOrganizationPlanResponse parses an HTTP response from a GetOrganizationPlanWithResponse call+func ParseGetOrganizationPlanResponse(rsp *http.Response) (*GetOrganizationPlanResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &GetOrganizationPlanResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ Plan interface{} `json:"plan,omitempty"`+ }+ 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 GetOrganizationPlan400JSONResponseBodyStatusCode `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 GetOrganizationPlan401JSONResponseBodyStatusCode `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 GetOrganizationPlan403JSONResponseBodyStatusCode `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 GetOrganizationPlan404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON404 = &dest-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r GetSecretByNameV4Response) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetSecretByNameV4500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500-}+ 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 GetOrganizationPlan422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON422 = &dest-// GetBody returns the raw response body bytes-func (r GetSecretByNameV4Response) GetBody() []byte {- return r.Body-}+ 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 GetOrganizationPlan500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest-// Status returns HTTPResponse.Status-func (r GetSecretByNameV4Response) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status}- return http.StatusText(0)-}-// StatusCode returns HTTPResponse.StatusCode-func (r GetSecretByNameV4Response) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode- }- return 0+ return response, nil}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r GetSecretByNameV4Response) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")+// ParseCreateProjectFolderGrantResponse parses an HTTP response from a CreateProjectFolderGrantWithResponse call+func ParseCreateProjectFolderGrantResponse(rsp *http.Response) (*CreateProjectFolderGrantResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err}- return ""-}-type CreateSecretV4Response struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *CreateSecretV4200JSONResponseBody- // 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 CreateSecretV4400JSONResponseBodyStatusCode `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 CreateSecretV4401JSONResponseBodyStatusCode `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 CreateSecretV4403JSONResponseBodyStatusCode `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 CreateSecretV4404JSONResponseBodyStatusCode `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 CreateSecretV4422JSONResponseBodyStatusCode `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 CreateSecretV4500JSONResponseBodyStatusCode `json:"statusCode"`+ response := &CreateProjectFolderGrantResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,}-}--// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r CreateSecretV4Response) GetJSON200() *CreateSecretV4200JSONResponseBody {- return r.JSON200-}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r CreateSecretV4Response) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateSecretV4400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400-}--// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r CreateSecretV4Response) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateSecretV4401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401-}+ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ Grant struct {+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ SourceFolderId openapi_types.UUID `json:"sourceFolderId"`+ SourceProjectId string `json:"sourceProjectId"`+ TargetProjectId string `json:"targetProjectId"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"grant"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON200 = &dest-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r CreateSecretV4Response) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateSecretV4403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403-}+ 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 CreateProjectFolderGrant400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON400 = &dest-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r CreateSecretV4Response) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateSecretV4404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404-}+ 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 CreateProjectFolderGrant401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON401 = &dest-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r CreateSecretV4Response) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateSecretV4422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422-}+ 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 CreateProjectFolderGrant403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON403 = &dest-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r CreateSecretV4Response) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateSecretV4500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500-}+ 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 CreateProjectFolderGrant404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON404 = &dest-// GetBody returns the raw response body bytes-func (r CreateSecretV4Response) GetBody() []byte {- return r.Body-}+ 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 CreateProjectFolderGrant422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON422 = &dest-// Status returns HTTPResponse.Status-func (r CreateSecretV4Response) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status- }- return http.StatusText(0)-}+ 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 CreateProjectFolderGrant500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest-// StatusCode returns HTTPResponse.StatusCode-func (r CreateSecretV4Response) 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 CreateSecretV4Response) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")- }- return ""+ return response, nil}-// GetInstanceStatusWithResponse performs a GET /api/status (the `GetInstanceStatus` operationId) request.-//-// Get the status of the Infisical instance and the features configured on it. Public and unauthenticated; used by liveness and readiness probes and exempt from the API-wide rate limit.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) GetInstanceStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInstanceStatusResponse, error) {- rsp, err := c.GetInstanceStatus(ctx, reqEditors...)+// ParseDeleteProjectFolderGrantResponse parses an HTTP response from a DeleteProjectFolderGrantWithResponse call+func ParseDeleteProjectFolderGrantResponse(rsp *http.Response) (*DeleteProjectFolderGrantResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- return ParseGetInstanceStatusResponse(rsp)-}-// AdminBootstrapWithBodyWithResponse performs a POST /api/v1/admin/bootstrap (the `AdminBootstrap` operationId) request,-// with any type of body and a specified content type.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) AdminBootstrapWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminBootstrapResponse, error) {- rsp, err := c.AdminBootstrapWithBody(ctx, contentType, body, reqEditors...)- if err != nil {- return nil, err+ response := &DeleteProjectFolderGrantResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,}- return ParseAdminBootstrapResponse(rsp)-}-// AdminBootstrapWithResponse performs a POST /api/v1/admin/bootstrap (the `AdminBootstrap` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) AdminBootstrapWithResponse(ctx context.Context, body AdminBootstrapJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminBootstrapResponse, error) {- rsp, err := c.AdminBootstrap(ctx, body, reqEditors...)- if err != nil {- return nil, err+ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ Grant struct {+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ SourceFolderId openapi_types.UUID `json:"sourceFolderId"`+ SourceProjectId string `json:"sourceProjectId"`+ TargetProjectId string `json:"targetProjectId"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"grant"`+ }+ 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 DeleteProjectFolderGrant400JSONResponseBodyStatusCode `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 DeleteProjectFolderGrant401JSONResponseBodyStatusCode `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 DeleteProjectFolderGrant403JSONResponseBodyStatusCode `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 DeleteProjectFolderGrant404JSONResponseBodyStatusCode `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 DeleteProjectFolderGrant422JSONResponseBodyStatusCode `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 DeleteProjectFolderGrant500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest+}- return ParseAdminBootstrapResponse(rsp)++ return response, nil}-// UpdateAdminConfigWithBodyWithResponse performs a PATCH /api/v1/admin/config (the `UpdateAdminConfig` operationId) request,-// with any type of body and a specified content type.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) UpdateAdminConfigWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAdminConfigResponse, error) {- rsp, err := c.UpdateAdminConfigWithBody(ctx, contentType, body, reqEditors...)+// ParseCreateProjectResponse parses an HTTP response from a CreateProjectWithResponse call+func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- return ParseUpdateAdminConfigResponse(rsp)-}-// UpdateAdminConfigWithResponse performs a PATCH /api/v1/admin/config (the `UpdateAdminConfig` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) UpdateAdminConfigWithResponse(ctx context.Context, body UpdateAdminConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAdminConfigResponse, error) {- rsp, err := c.UpdateAdminConfig(ctx, body, reqEditors...)- if err != nil {- return nil, err+ response := &CreateProjectResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,}- return ParseUpdateAdminConfigResponse(rsp)-}-// CreateGitHubAppConnectionWithBodyWithResponse performs a POST /api/v1/app-connections/github (the `CreateGitHubAppConnection` operationId) request,-// with any type of body and a specified content type.-//-// Create a GitHub Connection.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) CreateGitHubAppConnectionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGitHubAppConnectionResponse, error) {- rsp, err := c.CreateGitHubAppConnectionWithBody(ctx, contentType, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseCreateGitHubAppConnectionResponse(rsp)-}+ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ Project struct {+ UnderscoreId string `json:"_id"`+ AuditLogsRetentionDays *float32 `json:"auditLogsRetentionDays,omitempty"`+ AutoCapitalization *bool `json:"autoCapitalization,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ DefaultProduct *string `json:"defaultProduct,omitempty"`+ DeletedEnvironments []struct {+ DeleteAfter time.Time `json:"deleteAfter"`+ DeletedBy *CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy `json:"deletedBy"`+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ SoftDeletedAt time.Time `json:"softDeletedAt"`+ } `json:"deletedEnvironments"`+ Description *string `json:"description,omitempty"`+ EnforceEncryptedSecretManagerSecretMetadata *bool `json:"enforceEncryptedSecretManagerSecretMetadata,omitempty"`+ Environments []struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environments"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id string `json:"id"`+ IsLegacyAdditionalPrivilegesEnabled *bool `json:"isLegacyAdditionalPrivilegesEnabled,omitempty"`+ KmsCertificateKeyId *openapi_types.UUID `json:"kmsCertificateKeyId,omitempty"`+ KmsSecretManagerKeyId *openapi_types.UUID `json:"kmsSecretManagerKeyId,omitempty"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ PitVersionLimit *float32 `json:"pitVersionLimit,omitempty"`+ SecretBlindIndexEnabled *bool `json:"secretBlindIndexEnabled,omitempty"`+ SecretDetectionIgnoreValues *[]string `json:"secretDetectionIgnoreValues,omitempty"`+ SecretSharing *bool `json:"secretSharing,omitempty"`+ ShowSnapshotsLegacy *bool `json:"showSnapshotsLegacy,omitempty"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ UpgradeStatus *string `json:"upgradeStatus,omitempty"`+ Version *float32 `json:"version,omitempty"`+ } `json:"project"`+ }+ 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 CreateProject400JSONResponseBodyStatusCode `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 CreateProject401JSONResponseBodyStatusCode `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 CreateProject403JSONResponseBodyStatusCode `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 CreateProject404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON404 = &dest-// CreateGitHubAppConnectionWithResponse performs a POST /api/v1/app-connections/github (the `CreateGitHubAppConnection` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-//-// Create a GitHub Connection.-func (c *ClientWithResponses) CreateGitHubAppConnectionWithResponse(ctx context.Context, body CreateGitHubAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGitHubAppConnectionResponse, error) {- rsp, err := c.CreateGitHubAppConnection(ctx, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseCreateGitHubAppConnectionResponse(rsp)-}+ 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 CreateProject422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON422 = &dest-// DeleteGitHubAppConnectionWithResponse performs a DELETE /api/v1/app-connections/github/{connectionId} (the `DeleteGitHubAppConnection` operationId) request.-//-// Delete the specified GitHub Connection.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) DeleteGitHubAppConnectionWithResponse(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteGitHubAppConnectionResponse, error) {- rsp, err := c.DeleteGitHubAppConnection(ctx, connectionId, reqEditors...)- if err != nil {- return nil, err- }- return ParseDeleteGitHubAppConnectionResponse(rsp)-}+ 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 CreateProject500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest-// RefreshAuthTokenWithResponse performs a POST /api/v1/auth/token (the `RefreshAuthToken` operationId) request.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) RefreshAuthTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshAuthTokenResponse, error) {- rsp, err := c.RefreshAuthToken(ctx, reqEditors...)- if err != nil {- return nil, err}- return ParseRefreshAuthTokenResponse(rsp)-}-// AttachUniversalAuthWithBodyWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId} (the `AttachUniversalAuth` operationId) request,-// with any type of body and a specified content type.-//-// Attach Universal Auth configuration onto machine identity.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) AttachUniversalAuthWithBodyWithResponse(ctx context.Context, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachUniversalAuthResponse, error) {- rsp, err := c.AttachUniversalAuthWithBody(ctx, identityId, contentType, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseAttachUniversalAuthResponse(rsp)+ return response, nil}-// AttachUniversalAuthWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId} (the `AttachUniversalAuth` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-//-// Attach Universal Auth configuration onto machine identity.-func (c *ClientWithResponses) AttachUniversalAuthWithResponse(ctx context.Context, identityId string, body AttachUniversalAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachUniversalAuthResponse, error) {- rsp, err := c.AttachUniversalAuth(ctx, identityId, body, reqEditors...)+// ParseListProjectMachineIdentitiesResponse parses an HTTP response from a ListProjectMachineIdentitiesWithResponse call+func ParseListProjectMachineIdentitiesResponse(rsp *http.Response) (*ListProjectMachineIdentitiesResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- return ParseAttachUniversalAuthResponse(rsp)-}-// CreateUniversalAuthClientSecretWithBodyWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId}/client-secrets (the `CreateUniversalAuthClientSecret` operationId) request,-// with any type of body and a specified content type.-//-// Create Universal Auth Client Secret for machine identity.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) CreateUniversalAuthClientSecretWithBodyWithResponse(ctx context.Context, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUniversalAuthClientSecretResponse, error) {- rsp, err := c.CreateUniversalAuthClientSecretWithBody(ctx, identityId, contentType, body, reqEditors...)- if err != nil {- return nil, err+ response := &ListProjectMachineIdentitiesResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,}- return ParseCreateUniversalAuthClientSecretResponse(rsp)-}-// CreateUniversalAuthClientSecretWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId}/client-secrets (the `CreateUniversalAuthClientSecret` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-//-// Create Universal Auth Client Secret for machine identity.-func (c *ClientWithResponses) CreateUniversalAuthClientSecretWithResponse(ctx context.Context, identityId string, body CreateUniversalAuthClientSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUniversalAuthClientSecretResponse, error) {- rsp, err := c.CreateUniversalAuthClientSecret(ctx, identityId, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseCreateUniversalAuthClientSecretResponse(rsp)-}+ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ Identities []struct {+ ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`+ AuthMethods *[]string `json:"authMethods,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Metadata *[]struct {+ Id string `json:"id"`+ Key string `json:"key"`+ Value string `json:"value"`+ } `json:"metadata,omitempty"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ ProjectId *string `json:"projectId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identities"`+ TotalCount float32 `json:"totalCount"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON200 = &dest-// LoginWithUniversalAuthWithBodyWithResponse performs a POST /api/v1/auth/universal-auth/login (the `LoginWithUniversalAuth` operationId) request,-// with any type of body and a specified content type.-//-// Login with Universal Auth for machine identity.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) LoginWithUniversalAuthWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginWithUniversalAuthResponse, error) {- rsp, err := c.LoginWithUniversalAuthWithBody(ctx, contentType, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseLoginWithUniversalAuthResponse(rsp)-}+ 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 ListProjectMachineIdentities400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON400 = &dest-// LoginWithUniversalAuthWithResponse performs a POST /api/v1/auth/universal-auth/login (the `LoginWithUniversalAuth` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-//-// Login with Universal Auth for machine identity.-func (c *ClientWithResponses) LoginWithUniversalAuthWithResponse(ctx context.Context, body LoginWithUniversalAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*LoginWithUniversalAuthResponse, error) {- rsp, err := c.LoginWithUniversalAuth(ctx, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseLoginWithUniversalAuthResponse(rsp)-}+ 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 ListProjectMachineIdentities401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON401 = &dest-// CreateMachineIdentityWithBodyWithResponse performs a POST /api/v1/identities (the `CreateMachineIdentity` operationId) request,-// with any type of body and a specified content type.-//-// Create machine identity.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) CreateMachineIdentityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMachineIdentityResponse, error) {- rsp, err := c.CreateMachineIdentityWithBody(ctx, contentType, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseCreateMachineIdentityResponse(rsp)-}+ 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 ListProjectMachineIdentities403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON403 = &dest-// CreateMachineIdentityWithResponse performs a POST /api/v1/identities (the `CreateMachineIdentity` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-//-// Create machine identity.-func (c *ClientWithResponses) CreateMachineIdentityWithResponse(ctx context.Context, body CreateMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMachineIdentityResponse, error) {- rsp, err := c.CreateMachineIdentity(ctx, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseCreateMachineIdentityResponse(rsp)-}+ 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 ListProjectMachineIdentities404JSONResponseBodyStatusCode `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 ListProjectMachineIdentities422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON422 = &dest-// InviteUsersToOrganizationWithBodyWithResponse performs a POST /api/v1/invite-org/signup (the `InviteUsersToOrganization` operationId) request,-// with any type of body and a specified content type.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) InviteUsersToOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteUsersToOrganizationResponse, error) {- rsp, err := c.InviteUsersToOrganizationWithBody(ctx, contentType, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseInviteUsersToOrganizationResponse(rsp)-}+ 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 ListProjectMachineIdentities500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest-// InviteUsersToOrganizationWithResponse performs a POST /api/v1/invite-org/signup (the `InviteUsersToOrganization` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) InviteUsersToOrganizationWithResponse(ctx context.Context, body InviteUsersToOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteUsersToOrganizationResponse, error) {- rsp, err := c.InviteUsersToOrganization(ctx, body, reqEditors...)- if err != nil {- return nil, err}- return ParseInviteUsersToOrganizationResponse(rsp)-}-// VerifyUserToOrganizationWithBodyWithResponse performs a POST /api/v1/invite-org/verify (the `VerifyUserToOrganization` operationId) request,-// with any type of body and a specified content type.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) VerifyUserToOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyUserToOrganizationResponse, error) {- rsp, err := c.VerifyUserToOrganizationWithBody(ctx, contentType, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseVerifyUserToOrganizationResponse(rsp)+ return response, nil}-// VerifyUserToOrganizationWithResponse performs a POST /api/v1/invite-org/verify (the `VerifyUserToOrganization` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) VerifyUserToOrganizationWithResponse(ctx context.Context, body VerifyUserToOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyUserToOrganizationResponse, error) {- rsp, err := c.VerifyUserToOrganization(ctx, body, reqEditors...)+// ParseCreateProjectMachineIdentityResponse parses an HTTP response from a CreateProjectMachineIdentityWithResponse call+func ParseCreateProjectMachineIdentityResponse(rsp *http.Response) (*CreateProjectMachineIdentityResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- return ParseVerifyUserToOrganizationResponse(rsp)-}-// GetOrganizationPlanWithResponse performs a GET /api/v1/organizations/{organizationId}/plan (the `GetOrganizationPlan` operationId) request.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) GetOrganizationPlanWithResponse(ctx context.Context, organizationId string, params *GetOrganizationPlanParams, reqEditors ...RequestEditorFn) (*GetOrganizationPlanResponse, error) {- rsp, err := c.GetOrganizationPlan(ctx, organizationId, params, reqEditors...)- if err != nil {- return nil, err+ response := &CreateProjectMachineIdentityResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,}- return ParseGetOrganizationPlanResponse(rsp)-}-// CreateProjectWithBodyWithResponse performs a POST /api/v1/projects (the `CreateProject` operationId) request,-// with any type of body and a specified content type.-//-// Create a new project.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error) {- rsp, err := c.CreateProjectWithBody(ctx, contentType, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseCreateProjectResponse(rsp)-}+ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ Identity struct {+ ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`+ AuthMethods *[]string `json:"authMethods,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Metadata *[]struct {+ Id string `json:"id"`+ Key string `json:"key"`+ Value string `json:"value"`+ } `json:"metadata,omitempty"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ ProjectId *string `json:"projectId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identity"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON200 = &dest-// CreateProjectWithResponse performs a POST /api/v1/projects (the `CreateProject` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-//-// Create a new project.-func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error) {- rsp, err := c.CreateProject(ctx, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseCreateProjectResponse(rsp)-}+ 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 CreateProjectMachineIdentity400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON400 = &dest-// ListProjectMachineIdentitiesWithResponse performs a GET /api/v1/projects/{projectId}/identities (the `ListProjectMachineIdentities` operationId) request.-//-// List identities in a project.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) ListProjectMachineIdentitiesWithResponse(ctx context.Context, projectId string, params *ListProjectMachineIdentitiesParams, reqEditors ...RequestEditorFn) (*ListProjectMachineIdentitiesResponse, error) {- rsp, err := c.ListProjectMachineIdentities(ctx, projectId, params, reqEditors...)- if err != nil {- return nil, err- }- return ParseListProjectMachineIdentitiesResponse(rsp)-}+ 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 CreateProjectMachineIdentity401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON401 = &dest-// CreateProjectMachineIdentityWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` operationId) request,-// with any type of body and a specified content type.-//-// Create an identity in a project.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) CreateProjectMachineIdentityWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectMachineIdentityResponse, error) {- rsp, err := c.CreateProjectMachineIdentityWithBody(ctx, projectId, contentType, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseCreateProjectMachineIdentityResponse(rsp)-}+ 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 CreateProjectMachineIdentity403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON403 = &dest-// CreateProjectMachineIdentityWithResponse performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` 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 identity in a project.-func (c *ClientWithResponses) CreateProjectMachineIdentityWithResponse(ctx context.Context, projectId string, body CreateProjectMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectMachineIdentityResponse, error) {- rsp, err := c.CreateProjectMachineIdentity(ctx, projectId, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseCreateProjectMachineIdentityResponse(rsp)-}+ 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 CreateProjectMachineIdentity404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON404 = &dest-// InviteProjectMembersWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request,-// with any type of body and a specified content type.-//-// Invite members to project.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) InviteProjectMembersWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteProjectMembersResponse, error) {- rsp, err := c.InviteProjectMembersWithBody(ctx, projectId, contentType, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseInviteProjectMembersResponse(rsp)-}+ 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 CreateProjectMachineIdentity422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON422 = &dest-// InviteProjectMembersWithResponse performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-//-// Invite members to project.-func (c *ClientWithResponses) InviteProjectMembersWithResponse(ctx context.Context, projectId string, body InviteProjectMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteProjectMembersResponse, error) {- rsp, err := c.InviteProjectMembers(ctx, projectId, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseInviteProjectMembersResponse(rsp)-}+ 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 CreateProjectMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest-// CreateProjectIdentityMembershipWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request,-// with any type of body and a specified content type.-//-// Create project identity membership.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) CreateProjectIdentityMembershipWithBodyWithResponse(ctx context.Context, projectId string, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectIdentityMembershipResponse, error) {- rsp, err := c.CreateProjectIdentityMembershipWithBody(ctx, projectId, identityId, contentType, body, reqEditors...)- if err != nil {- return nil, err}- return ParseCreateProjectIdentityMembershipResponse(rsp)++ return response, nil}-// CreateProjectIdentityMembershipWithResponse performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-//-// Create project identity membership.-func (c *ClientWithResponses) CreateProjectIdentityMembershipWithResponse(ctx context.Context, projectId string, identityId string, body CreateProjectIdentityMembershipJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectIdentityMembershipResponse, error) {- rsp, err := c.CreateProjectIdentityMembership(ctx, projectId, identityId, body, reqEditors...)+// ParseInviteProjectMembersResponse parses an HTTP response from a InviteProjectMembersWithResponse call+func ParseInviteProjectMembersResponse(rsp *http.Response) (*InviteProjectMembersResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- return ParseCreateProjectIdentityMembershipResponse(rsp)-}-// CreateGitHubSecretSyncWithBodyWithResponse performs a POST /api/v1/secret-syncs/github (the `CreateGitHubSecretSync` operationId) request,-// with any type of body and a specified content type.-//-// Create a GitHub Sync for the specified project environment.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) CreateGitHubSecretSyncWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGitHubSecretSyncResponse, error) {- rsp, err := c.CreateGitHubSecretSyncWithBody(ctx, contentType, body, reqEditors...)- if err != nil {- return nil, err+ response := &InviteProjectMembersResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,}- return ParseCreateGitHubSecretSyncResponse(rsp)-}-// CreateGitHubSecretSyncWithResponse performs a POST /api/v1/secret-syncs/github (the `CreateGitHubSecretSync` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-//-// Create a GitHub Sync for the specified project environment.-func (c *ClientWithResponses) CreateGitHubSecretSyncWithResponse(ctx context.Context, body CreateGitHubSecretSyncJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGitHubSecretSyncResponse, error) {- rsp, err := c.CreateGitHubSecretSync(ctx, body, reqEditors...)- if err != nil {- return nil, err+ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ Memberships []struct {+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ ProjectId string `json:"projectId"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserId openapi_types.UUID `json:"userId"`+ } `json:"memberships"`+ }+ 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 InviteProjectMembers400JSONResponseBodyStatusCode `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 InviteProjectMembers401JSONResponseBodyStatusCode `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 InviteProjectMembers403JSONResponseBodyStatusCode `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 InviteProjectMembers404JSONResponseBodyStatusCode `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 InviteProjectMembers422JSONResponseBodyStatusCode `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 InviteProjectMembers500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest+}- return ParseCreateGitHubSecretSyncResponse(rsp)++ return response, nil}-// DeleteGitHubSecretSyncWithResponse performs a DELETE /api/v1/secret-syncs/github/{syncId} (the `DeleteGitHubSecretSync` operationId) request.-//-// Delete the specified GitHub Sync.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) DeleteGitHubSecretSyncWithResponse(ctx context.Context, syncId openapi_types.UUID, params *DeleteGitHubSecretSyncParams, reqEditors ...RequestEditorFn) (*DeleteGitHubSecretSyncResponse, error) {- rsp, err := c.DeleteGitHubSecretSync(ctx, syncId, params, reqEditors...)+// ParseCreateProjectIdentityMembershipResponse parses an HTTP response from a CreateProjectIdentityMembershipWithResponse call+func ParseCreateProjectIdentityMembershipResponse(rsp *http.Response) (*CreateProjectIdentityMembershipResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- return ParseDeleteGitHubSecretSyncResponse(rsp)-}-// GetGitHubSecretSyncWithResponse performs a GET /api/v1/secret-syncs/github/{syncId} (the `GetGitHubSecretSync` operationId) request.-//-// Get the specified GitHub Sync by ID.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) GetGitHubSecretSyncWithResponse(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetGitHubSecretSyncResponse, error) {- rsp, err := c.GetGitHubSecretSync(ctx, syncId, reqEditors...)- if err != nil {- return nil, err+ response := &CreateProjectIdentityMembershipResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,}- return ParseGetGitHubSecretSyncResponse(rsp)-}-// RemoveGitHubSecretSyncSecretsWithResponse performs a POST /api/v1/secret-syncs/github/{syncId}/remove-secrets (the `RemoveGitHubSecretSyncSecrets` operationId) request.-//-// Remove previously synced secrets from the specified GitHub Sync destination.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) RemoveGitHubSecretSyncSecretsWithResponse(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveGitHubSecretSyncSecretsResponse, error) {- rsp, err := c.RemoveGitHubSecretSyncSecrets(ctx, syncId, reqEditors...)- if err != nil {- return nil, err+ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ IdentityMembership struct {+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ IdentityId openapi_types.UUID `json:"identityId"`+ ProjectId string `json:"projectId"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identityMembership"`+ }+ 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 CreateProjectIdentityMembership400JSONResponseBodyStatusCode `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 CreateProjectIdentityMembership401JSONResponseBodyStatusCode `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 CreateProjectIdentityMembership403JSONResponseBodyStatusCode `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 CreateProjectIdentityMembership404JSONResponseBodyStatusCode `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 CreateProjectIdentityMembership422JSONResponseBodyStatusCode `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 CreateProjectIdentityMembership500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest+}- return ParseRemoveGitHubSecretSyncSecretsResponse(rsp)++ return response, nil}-// SyncGitHubSecretSyncWithResponse performs a POST /api/v1/secret-syncs/github/{syncId}/sync-secrets (the `SyncGitHubSecretSync` operationId) request.-//-// Trigger a sync for the specified GitHub Sync.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) SyncGitHubSecretSyncWithResponse(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*SyncGitHubSecretSyncResponse, error) {- rsp, err := c.SyncGitHubSecretSync(ctx, syncId, reqEditors...)+// ParseCreateIdentityFolderAccessResponse parses an HTTP response from a CreateIdentityFolderAccessWithResponse call+func ParseCreateIdentityFolderAccessResponse(rsp *http.Response) (*CreateIdentityFolderAccessResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- return ParseSyncGitHubSecretSyncResponse(rsp)-}-// CreateOrganizationWithBodyWithResponse performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request,-// with any type of body and a specified content type.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) CreateOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error) {- rsp, err := c.CreateOrganizationWithBody(ctx, contentType, body, reqEditors...)- if err != nil {- return nil, err+ response := &CreateIdentityFolderAccessResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,}- return ParseCreateOrganizationResponse(rsp)-}-// CreateOrganizationWithResponse performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) CreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error) {- rsp, err := c.CreateOrganization(ctx, body, reqEditors...)- if err != nil {- return nil, err+ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ FolderAccess struct {+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ FolderId openapi_types.UUID `json:"folderId"`+ Id openapi_types.UUID `json:"id"`+ IdentityId openapi_types.UUID `json:"identityId"`+ IsTemporary bool `json:"isTemporary"`+ Permission CreateIdentityFolderAccess200JSONResponseBodyFolderAccessPermission `json:"permission"`+ ProjectId string `json:"projectId"`+ SecretPath string `json:"secretPath"`+ TemporaryAccessEndTime *time.Time `json:"temporaryAccessEndTime"`+ TemporaryAccessStartTime *time.Time `json:"temporaryAccessStartTime"`+ TemporaryMode *string `json:"temporaryMode"`+ TemporaryRange *string `json:"temporaryRange"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"folderAccess"`+ }+ 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 CreateIdentityFolderAccess400JSONResponseBodyStatusCode `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 CreateIdentityFolderAccess401JSONResponseBodyStatusCode `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 CreateIdentityFolderAccess403JSONResponseBodyStatusCode `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 CreateIdentityFolderAccess404JSONResponseBodyStatusCode `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 CreateIdentityFolderAccess422JSONResponseBodyStatusCode `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 CreateIdentityFolderAccess500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest+}- return ParseCreateOrganizationResponse(rsp)++ return response, nil}-// DeleteOrganizationWithResponse performs a DELETE /api/v2/organizations/{organizationId} (the `DeleteOrganization` operationId) request.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) DeleteOrganizationWithResponse(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationResponse, error) {- rsp, err := c.DeleteOrganization(ctx, organizationId, reqEditors...)+// ParseCreateSecretTagResponse parses an HTTP response from a CreateSecretTagWithResponse call+func ParseCreateSecretTagResponse(rsp *http.Response) (*CreateSecretTagResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- return ParseDeleteOrganizationResponse(rsp)-}-// LoginV3WithBodyWithResponse performs a POST /api/v3/auth/login (the `LoginV3` operationId) request,-// with any type of body and a specified content type.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) LoginV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginV3Response, error) {- rsp, err := c.LoginV3WithBody(ctx, contentType, body, reqEditors...)- if err != nil {- return nil, err+ response := &CreateSecretTagResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,}- return ParseLoginV3Response(rsp)-}-// LoginV3WithResponse performs a POST /api/v3/auth/login (the `LoginV3` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) LoginV3WithResponse(ctx context.Context, body LoginV3JSONRequestBody, reqEditors ...RequestEditorFn) (*LoginV3Response, error) {- rsp, err := c.LoginV3(ctx, body, reqEditors...)- if err != nil {- return nil, err+ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ Tag struct {+ Color *string `json:"color,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ CreatedBy *openapi_types.UUID `json:"createdBy,omitempty"`+ CreatedByActorType *string `json:"createdByActorType,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ProjectId string `json:"projectId"`+ Slug string `json:"slug"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"tag"`+ }+ 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 CreateSecretTag400JSONResponseBodyStatusCode `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 CreateSecretTag401JSONResponseBodyStatusCode `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 CreateSecretTag403JSONResponseBodyStatusCode `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 CreateSecretTag404JSONResponseBodyStatusCode `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 CreateSecretTag422JSONResponseBodyStatusCode `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 CreateSecretTag500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest+}- return ParseLoginV3Response(rsp)++ return response, nil}-// SelectOrganizationV3WithBodyWithResponse performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request,-// with any type of body and a specified content type.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) SelectOrganizationV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectOrganizationV3Response, error) {- rsp, err := c.SelectOrganizationV3WithBody(ctx, contentType, body, reqEditors...)+// ParseListSecretApprovalRequestsResponse parses an HTTP response from a ListSecretApprovalRequestsWithResponse call+func ParseListSecretApprovalRequestsResponse(rsp *http.Response) (*ListSecretApprovalRequestsResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- return ParseSelectOrganizationV3Response(rsp)-}-// SelectOrganizationV3WithResponse performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) SelectOrganizationV3WithResponse(ctx context.Context, body SelectOrganizationV3JSONRequestBody, reqEditors ...RequestEditorFn) (*SelectOrganizationV3Response, error) {- rsp, err := c.SelectOrganizationV3(ctx, body, reqEditors...)- if err != nil {- return nil, err+ response := &ListSecretApprovalRequestsResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,}- return ParseSelectOrganizationV3Response(rsp)-}-// CompleteAccountSignupV3WithBodyWithResponse performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request,-// with any type of body and a specified content type.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) CompleteAccountSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CompleteAccountSignupV3Response, error) {- rsp, err := c.CompleteAccountSignupV3WithBody(ctx, contentType, body, reqEditors...)- if err != nil {- return nil, err+ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ Approvals []struct {+ Approvers []struct {+ UserId *string `json:"userId,omitempty"`+ } `json:"approvers"`+ BypassReason *string `json:"bypassReason,omitempty"`+ CommitMessage *string `json:"commitMessage,omitempty"`+ Commits []struct {+ Op string `json:"op"`+ SecretId *string `json:"secretId,omitempty"`+ } `json:"commits"`+ CommitterIdentity *struct {+ IdentityId string `json:"identityId"`+ Name string `json:"name"`+ } `json:"committerIdentity,omitempty"`+ CommitterIdentityId *openapi_types.UUID `json:"committerIdentityId,omitempty"`+ CommitterUser *struct {+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ UserId *string `json:"userId,omitempty"`+ Username string `json:"username"`+ } `json:"committerUser,omitempty"`+ CommitterUserId *openapi_types.UUID `json:"committerUserId,omitempty"`+ Conflicts interface{} `json:"conflicts,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ FolderId openapi_types.UUID `json:"folderId"`+ HasMerged *bool `json:"hasMerged,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsReplicated *bool `json:"isReplicated,omitempty"`+ Policy struct {+ AllowedSelfApprovals bool `json:"allowedSelfApprovals"`+ Approvals float32 `json:"approvals"`+ Approvers []struct {+ UserId *string `json:"userId,omitempty"`+ } `json:"approvers"`+ Bypassers []struct {+ UserId *string `json:"userId,omitempty"`+ } `json:"bypassers"`+ DeletedAt *time.Time `json:"deletedAt,omitempty"`+ EnforcementLevel string `json:"enforcementLevel"`+ Id string `json:"id"`+ Name string `json:"name"`+ SecretPath *string `json:"secretPath,omitempty"`+ } `json:"policy"`+ PolicyId openapi_types.UUID `json:"policyId"`+ Reviewers []struct {+ Status string `json:"status"`+ UserId string `json:"userId"`+ } `json:"reviewers"`+ Slug string `json:"slug"`+ Status *string `json:"status,omitempty"`+ StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approvals"`+ TotalCount float32 `json:"totalCount"`+ }+ 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 ListSecretApprovalRequests400JSONResponseBodyStatusCode `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 ListSecretApprovalRequests401JSONResponseBodyStatusCode `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 ListSecretApprovalRequests403JSONResponseBodyStatusCode `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 ListSecretApprovalRequests404JSONResponseBodyStatusCode `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 ListSecretApprovalRequests422JSONResponseBodyStatusCode `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 ListSecretApprovalRequests500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest+}- return ParseCompleteAccountSignupV3Response(rsp)-}-// CompleteAccountSignupV3WithResponse performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) CompleteAccountSignupV3WithResponse(ctx context.Context, body CompleteAccountSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*CompleteAccountSignupV3Response, error) {- rsp, err := c.CompleteAccountSignupV3(ctx, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseCompleteAccountSignupV3Response(rsp)+ return response, nil}-// BeginEmailSignupV3WithBodyWithResponse performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request,-// with any type of body and a specified content type.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) BeginEmailSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BeginEmailSignupV3Response, error) {- rsp, err := c.BeginEmailSignupV3WithBody(ctx, contentType, body, reqEditors...)+// ParseGetSecretApprovalRequestCountResponse parses an HTTP response from a GetSecretApprovalRequestCountWithResponse call+func ParseGetSecretApprovalRequestCountResponse(rsp *http.Response) (*GetSecretApprovalRequestCountResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- return ParseBeginEmailSignupV3Response(rsp)-}-// BeginEmailSignupV3WithResponse performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) BeginEmailSignupV3WithResponse(ctx context.Context, body BeginEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*BeginEmailSignupV3Response, error) {- rsp, err := c.BeginEmailSignupV3(ctx, body, reqEditors...)- if err != nil {- return nil, err+ response := &GetSecretApprovalRequestCountResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,}- return ParseBeginEmailSignupV3Response(rsp)-}-// VerifyEmailSignupV3WithBodyWithResponse performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request,-// with any type of body and a specified content type.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) VerifyEmailSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyEmailSignupV3Response, error) {- rsp, err := c.VerifyEmailSignupV3WithBody(ctx, contentType, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseVerifyEmailSignupV3Response(rsp)-}+ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ Approvals struct {+ Closed *float32 `json:"closed,omitempty"`+ Open *float32 `json:"open,omitempty"`+ } `json:"approvals"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON200 = &dest-// VerifyEmailSignupV3WithResponse performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) VerifyEmailSignupV3WithResponse(ctx context.Context, body VerifyEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyEmailSignupV3Response, error) {- rsp, err := c.VerifyEmailSignupV3(ctx, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseVerifyEmailSignupV3Response(rsp)-}+ 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 GetSecretApprovalRequestCount400JSONResponseBodyStatusCode `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 GetSecretApprovalRequestCount401JSONResponseBodyStatusCode `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 GetSecretApprovalRequestCount403JSONResponseBodyStatusCode `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 GetSecretApprovalRequestCount404JSONResponseBodyStatusCode `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 GetSecretApprovalRequestCount422JSONResponseBodyStatusCode `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 GetSecretApprovalRequestCount500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest-// ListSecretsV4WithResponse performs a GET /api/v4/secrets (the `ListSecretsV4` operationId) request.-//-// List secrets.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) ListSecretsV4WithResponse(ctx context.Context, params *ListSecretsV4Params, reqEditors ...RequestEditorFn) (*ListSecretsV4Response, error) {- rsp, err := c.ListSecretsV4(ctx, params, reqEditors...)- if err != nil {- return nil, err}- return ParseListSecretsV4Response(rsp)++ return response, nil}-// DeleteSecretV4WithBodyWithResponse performs a DELETE /api/v4/secrets/{secretName} (the `DeleteSecretV4` operationId) request,-// with any type of body and a specified content type.-//-// Delete secret.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) DeleteSecretV4WithBodyWithResponse(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteSecretV4Response, error) {- rsp, err := c.DeleteSecretV4WithBody(ctx, secretName, contentType, body, reqEditors...)+// ParseGetSecretApprovalRequestResponse parses an HTTP response from a GetSecretApprovalRequestWithResponse call+func ParseGetSecretApprovalRequestResponse(rsp *http.Response) (*GetSecretApprovalRequestResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- return ParseDeleteSecretV4Response(rsp)-}-// DeleteSecretV4WithResponse performs a DELETE /api/v4/secrets/{secretName} (the `DeleteSecretV4` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-//-// Delete secret.-func (c *ClientWithResponses) DeleteSecretV4WithResponse(ctx context.Context, secretName string, body DeleteSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteSecretV4Response, error) {- rsp, err := c.DeleteSecretV4(ctx, secretName, body, reqEditors...)- if err != nil {- return nil, err+ response := &GetSecretApprovalRequestResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,}- return ParseDeleteSecretV4Response(rsp)-}-// GetSecretByNameV4WithResponse performs a GET /api/v4/secrets/{secretName} (the `GetSecretByNameV4` operationId) request.-//-// Get a secret by name.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) GetSecretByNameV4WithResponse(ctx context.Context, secretName string, params *GetSecretByNameV4Params, reqEditors ...RequestEditorFn) (*GetSecretByNameV4Response, error) {- rsp, err := c.GetSecretByNameV4(ctx, secretName, params, reqEditors...)- if err != nil {- return nil, err- }- return ParseGetSecretByNameV4Response(rsp)-}+ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ Approval struct {+ BypassReason *string `json:"bypassReason,omitempty"`+ CommitMessage *string `json:"commitMessage,omitempty"`+ Commits []struct {+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ Op string `json:"op"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ Secret *struct {+ Id string `json:"id"`+ SecretComment *string `json:"secretComment,omitempty"`+ SecretKey string `json:"secretKey"`+ SecretValue *string `json:"secretValue,omitempty"`+ SecretValueHidden bool `json:"secretValueHidden"`+ Version float32 `json:"version"`+ } `json:"secret,omitempty"`+ SecretComment *string `json:"secretComment,omitempty"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue *string `json:"secretValue,omitempty"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SecretVersion *struct {+ Id string `json:"id"`+ SecretComment *string `json:"secretComment,omitempty"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretValue *string `json:"secretValue,omitempty"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Tags *[]struct {+ Color *string `json:"color,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"tags,omitempty"`+ Version float32 `json:"version"`+ } `json:"secretVersion,omitempty"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Tags *[]struct {+ Color *string `json:"color,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"tags,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"commits"`+ CommitterIdentity *struct {+ IdentityId string `json:"identityId"`+ Name string `json:"name"`+ } `json:"committerIdentity,omitempty"`+ CommitterIdentityId *openapi_types.UUID `json:"committerIdentityId,omitempty"`+ CommitterUser *struct {+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ UserId *string `json:"userId,omitempty"`+ Username string `json:"username"`+ } `json:"committerUser,omitempty"`+ CommitterUserId *openapi_types.UUID `json:"committerUserId,omitempty"`+ Conflicts interface{} `json:"conflicts,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ FolderId openapi_types.UUID `json:"folderId"`+ HasMerged *bool `json:"hasMerged,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsReplicated *bool `json:"isReplicated,omitempty"`+ Policy struct {+ AllowedSelfApprovals bool `json:"allowedSelfApprovals"`+ Approvals float32 `json:"approvals"`+ Approvers []struct {+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ IsOrgMembershipActive *bool `json:"isOrgMembershipActive,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ UserId *string `json:"userId,omitempty"`+ Username string `json:"username"`+ } `json:"approvers"`+ Bypassers []struct {+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ UserId *string `json:"userId,omitempty"`+ Username string `json:"username"`+ } `json:"bypassers"`+ DeletedAt *time.Time `json:"deletedAt,omitempty"`+ EnforcementLevel string `json:"enforcementLevel"`+ Id string `json:"id"`+ Name string `json:"name"`+ SecretPath *string `json:"secretPath,omitempty"`+ } `json:"policy"`+ PolicyId openapi_types.UUID `json:"policyId"`+ Reviewers []struct {+ Comment *string `json:"comment,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ IsOrgMembershipActive *bool `json:"isOrgMembershipActive,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ Status string `json:"status"`+ UserId *string `json:"userId,omitempty"`+ Username string `json:"username"`+ } `json:"reviewers"`+ SecretPath string `json:"secretPath"`+ Slug string `json:"slug"`+ Status *string `json:"status,omitempty"`+ StatusChangedByUser *struct {+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ UserId *string `json:"userId,omitempty"`+ Username string `json:"username"`+ } `json:"statusChangedByUser,omitempty"`+ StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`+ }+ 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 GetSecretApprovalRequest400JSONResponseBodyStatusCode `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 GetSecretApprovalRequest401JSONResponseBodyStatusCode `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 GetSecretApprovalRequest403JSONResponseBodyStatusCode `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 GetSecretApprovalRequest404JSONResponseBodyStatusCode `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 GetSecretApprovalRequest422JSONResponseBodyStatusCode `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 GetSecretApprovalRequest500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest-// CreateSecretV4WithBodyWithResponse performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request,-// with any type of body and a specified content type.-//-// Create secret.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) CreateSecretV4WithBodyWithResponse(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretV4Response, error) {- rsp, err := c.CreateSecretV4WithBody(ctx, secretName, contentType, body, reqEditors...)- if err != nil {- return nil, err}- return ParseCreateSecretV4Response(rsp)-}-// CreateSecretV4WithResponse performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-//-// Create secret.-func (c *ClientWithResponses) CreateSecretV4WithResponse(ctx context.Context, secretName string, body CreateSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretV4Response, error) {- rsp, err := c.CreateSecretV4(ctx, secretName, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseCreateSecretV4Response(rsp)+ return response, nil}-// ParseGetInstanceStatusResponse parses an HTTP response from a GetInstanceStatusWithResponse call-func ParseGetInstanceStatusResponse(rsp *http.Response) (*GetInstanceStatusResponse, error) {+// ParseMergeSecretApprovalRequestResponse parses an HTTP response from a MergeSecretApprovalRequestWithResponse call+func ParseMergeSecretApprovalRequestResponse(rsp *http.Response) (*MergeSecretApprovalRequestResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &GetInstanceStatusResponse{+ response := &MergeSecretApprovalRequestResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -19565,15 +35982,23 @@ func ParseGetInstanceStatusResponse(rsp *http.Response) (*GetInstanceStatusResposwitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- AuditLogStorageDisabled *bool `json:"auditLogStorageDisabled,omitempty"`- Date time.Time `json:"date"`- EmailConfigured *bool `json:"emailConfigured,omitempty"`- InviteOnlySignup *bool `json:"inviteOnlySignup,omitempty"`- MaxIdentityAccessTokenTTL *float32 `json:"maxIdentityAccessTokenTTL,omitempty"`- Message *string `json:"message,omitempty"`- RedisConfigured *bool `json:"redisConfigured,omitempty"`- SamlDefaultOrgSlug *string `json:"samlDefaultOrgSlug,omitempty"`- SecretScanningConfigured *bool `json:"secretScanningConfigured,omitempty"`+ Approval struct {+ BypassReason *string `json:"bypassReason,omitempty"`+ CommitMessage *string `json:"commitMessage,omitempty"`+ CommitterIdentityId *openapi_types.UUID `json:"committerIdentityId,omitempty"`+ CommitterUserId *openapi_types.UUID `json:"committerUserId,omitempty"`+ Conflicts interface{} `json:"conflicts,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ FolderId openapi_types.UUID `json:"folderId"`+ HasMerged *bool `json:"hasMerged,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsReplicated *bool `json:"isReplicated,omitempty"`+ PolicyId openapi_types.UUID `json:"policyId"`+ Slug string `json:"slug"`+ Status *string `json:"status,omitempty"`+ StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19582,11 +36007,11 @@ func ParseGetInstanceStatusResponse(rsp *http.Response) (*GetInstanceStatusRespocase 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 GetInstanceStatus400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode MergeSecretApprovalRequest400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19595,10 +36020,10 @@ func ParseGetInstanceStatusResponse(rsp *http.Response) (*GetInstanceStatusRespocase 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 GetInstanceStatus401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode MergeSecretApprovalRequest401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19607,11 +36032,11 @@ func ParseGetInstanceStatusResponse(rsp *http.Response) (*GetInstanceStatusRespocase 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 GetInstanceStatus403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode MergeSecretApprovalRequest403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19620,10 +36045,10 @@ func ParseGetInstanceStatusResponse(rsp *http.Response) (*GetInstanceStatusRespocase 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 GetInstanceStatus404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode MergeSecretApprovalRequest404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19632,10 +36057,10 @@ func ParseGetInstanceStatusResponse(rsp *http.Response) (*GetInstanceStatusRespocase 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 GetInstanceStatus422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode MergeSecretApprovalRequest422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19644,10 +36069,10 @@ func ParseGetInstanceStatusResponse(rsp *http.Response) (*GetInstanceStatusRespocase 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 GetInstanceStatus500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode MergeSecretApprovalRequest500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19659,15 +36084,15 @@ func ParseGetInstanceStatusResponse(rsp *http.Response) (*GetInstanceStatusResporeturn response, nil}-// ParseAdminBootstrapResponse parses an HTTP response from a AdminBootstrapWithResponse call-func ParseAdminBootstrapResponse(rsp *http.Response) (*AdminBootstrapResponse, error) {+// ParseReviewSecretApprovalRequestResponse parses an HTTP response from a ReviewSecretApprovalRequestWithResponse call+func ParseReviewSecretApprovalRequestResponse(rsp *http.Response) (*ReviewSecretApprovalRequestResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &AdminBootstrapResponse{+ response := &ReviewSecretApprovalRequestResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -19675,27 +36100,15 @@ func ParseAdminBootstrapResponse(rsp *http.Response) (*AdminBootstrapResponse, eswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- Identity struct {- Credentials struct {- Token string `json:"token"`- } `json:"credentials"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- } `json:"identity"`- Message string `json:"message"`- Organization struct {- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"organization"`- User struct {- Email *string `json:"email,omitempty"`- FirstName *string `json:"firstName,omitempty"`- Id openapi_types.UUID `json:"id"`- LastName *string `json:"lastName,omitempty"`- SuperAdmin *bool `json:"superAdmin,omitempty"`- Username string `json:"username"`- } `json:"user"`+ Review struct {+ Comment *string `json:"comment,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ RequestId openapi_types.UUID `json:"requestId"`+ ReviewerUserId openapi_types.UUID `json:"reviewerUserId"`+ Status string `json:"status"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"review"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19704,11 +36117,11 @@ func ParseAdminBootstrapResponse(rsp *http.Response) (*AdminBootstrapResponse, ecase 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 AdminBootstrap400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ReviewSecretApprovalRequest400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19717,10 +36130,10 @@ func ParseAdminBootstrapResponse(rsp *http.Response) (*AdminBootstrapResponse, ecase 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 AdminBootstrap401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ReviewSecretApprovalRequest401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19729,11 +36142,11 @@ func ParseAdminBootstrapResponse(rsp *http.Response) (*AdminBootstrapResponse, ecase 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 AdminBootstrap403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ReviewSecretApprovalRequest403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19742,10 +36155,10 @@ func ParseAdminBootstrapResponse(rsp *http.Response) (*AdminBootstrapResponse, ecase 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 AdminBootstrap404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ReviewSecretApprovalRequest404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19754,10 +36167,10 @@ func ParseAdminBootstrapResponse(rsp *http.Response) (*AdminBootstrapResponse, ecase 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 AdminBootstrap422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode ReviewSecretApprovalRequest422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19766,10 +36179,10 @@ func ParseAdminBootstrapResponse(rsp *http.Response) (*AdminBootstrapResponse, ecase 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 AdminBootstrap500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ReviewSecretApprovalRequest500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19781,15 +36194,15 @@ func ParseAdminBootstrapResponse(rsp *http.Response) (*AdminBootstrapResponse, ereturn response, nil}-// ParseUpdateAdminConfigResponse parses an HTTP response from a UpdateAdminConfigWithResponse call-func ParseUpdateAdminConfigResponse(rsp *http.Response) (*UpdateAdminConfigResponse, error) {+// ParseUpdateSecretApprovalRequestStatusResponse parses an HTTP response from a UpdateSecretApprovalRequestStatusWithResponse call+func ParseUpdateSecretApprovalRequestStatusResponse(rsp *http.Response) (*UpdateSecretApprovalRequestStatusResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &UpdateAdminConfigResponse{+ response := &UpdateSecretApprovalRequestStatusResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -19797,45 +36210,23 @@ func ParseUpdateAdminConfigResponse(rsp *http.Response) (*UpdateAdminConfigResposwitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- Config struct {- AdminIdentityIds *[]string `json:"adminIdentityIds,omitempty"`- AllowSignUp *bool `json:"allowSignUp,omitempty"`- AllowedSignUpDomain *string `json:"allowedSignUpDomain,omitempty"`- AuthConsentContent *string `json:"authConsentContent,omitempty"`- CreatedAt *time.Time `json:"createdAt,omitempty"`- DefaultAuthOrgAuthEnforced *bool `json:"defaultAuthOrgAuthEnforced,omitempty"`- DefaultAuthOrgAuthMethod *string `json:"defaultAuthOrgAuthMethod,omitempty"`- DefaultAuthOrgId *openapi_types.UUID `json:"defaultAuthOrgId,omitempty"`- DefaultAuthOrgSlug *string `json:"defaultAuthOrgSlug"`- EnabledLoginMethods *[]string `json:"enabledLoginMethods,omitempty"`- FipsEnabled *bool `json:"fipsEnabled,omitempty"`- Id openapi_types.UUID `json:"id"`- Initialized *bool `json:"initialized,omitempty"`- InstanceId *openapi_types.UUID `json:"instanceId,omitempty"`- IsClickhouseAuditLogEnabled *bool `json:"isClickhouseAuditLogEnabled,omitempty"`- IsMigrationModeOn *bool `json:"isMigrationModeOn,omitempty"`- IsOfflineUsageReportsEnabled *bool `json:"isOfflineUsageReportsEnabled,omitempty"`- IsPublicSecretSharingDisabled *bool `json:"isPublicSecretSharingDisabled,omitempty"`- IsSecretScanningDisabled *bool `json:"isSecretScanningDisabled,omitempty"`- KubernetesAutoFetchServiceAccountToken *bool `json:"kubernetesAutoFetchServiceAccountToken,omitempty"`- LatestAvailableVersion *string `json:"latestAvailableVersion,omitempty"`- OnboardingCompleted *bool `json:"onboardingCompleted,omitempty"`- PageFrameContent *string `json:"pageFrameContent,omitempty"`- ParamsFolderSecretDetectionEnabled *bool `json:"paramsFolderSecretDetectionEnabled,omitempty"`- PasswordPolicy struct {- Requirements []struct {- Code string `json:"code"`- Flags *string `json:"flags,omitempty"`- IsPrimary bool `json:"isPrimary"`- MaxConsecutiveCharacters *int `json:"maxConsecutiveCharacters,omitempty"`- Message string `json:"message"`- Patterns []string `json:"patterns"`- ShouldMatch bool `json:"shouldMatch"`- ValidationMessage string `json:"validationMessage"`- } `json:"requirements"`- } `json:"passwordPolicy"`- TrustLdapEmails *bool `json:"trustLdapEmails,omitempty"`- } `json:"config"`+ Approval struct {+ BypassReason *string `json:"bypassReason,omitempty"`+ CommitMessage *string `json:"commitMessage,omitempty"`+ CommitterIdentityId *openapi_types.UUID `json:"committerIdentityId,omitempty"`+ CommitterUserId *openapi_types.UUID `json:"committerUserId,omitempty"`+ Conflicts interface{} `json:"conflicts,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ FolderId openapi_types.UUID `json:"folderId"`+ HasMerged *bool `json:"hasMerged,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsReplicated *bool `json:"isReplicated,omitempty"`+ PolicyId openapi_types.UUID `json:"policyId"`+ Slug string `json:"slug"`+ Status *string `json:"status,omitempty"`+ StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19844,11 +36235,11 @@ func ParseUpdateAdminConfigResponse(rsp *http.Response) (*UpdateAdminConfigRespocase 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 UpdateAdminConfig400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19857,10 +36248,10 @@ func ParseUpdateAdminConfigResponse(rsp *http.Response) (*UpdateAdminConfigRespocase 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 UpdateAdminConfig401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19869,11 +36260,11 @@ func ParseUpdateAdminConfigResponse(rsp *http.Response) (*UpdateAdminConfigRespocase 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 UpdateAdminConfig403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19882,10 +36273,10 @@ func ParseUpdateAdminConfigResponse(rsp *http.Response) (*UpdateAdminConfigRespocase 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 UpdateAdminConfig404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19894,10 +36285,10 @@ func ParseUpdateAdminConfigResponse(rsp *http.Response) (*UpdateAdminConfigRespocase 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 UpdateAdminConfig422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19906,10 +36297,10 @@ func ParseUpdateAdminConfigResponse(rsp *http.Response) (*UpdateAdminConfigRespocase 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 UpdateAdminConfig500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19918,26 +36309,80 @@ func ParseUpdateAdminConfigResponse(rsp *http.Response) (*UpdateAdminConfigRespo}- return response, nil-}+ return response, nil+}++// ParseCreateGitHubSecretSyncResponse parses an HTTP response from a CreateGitHubSecretSyncWithResponse call+func ParseCreateGitHubSecretSyncResponse(rsp *http.Response) (*CreateGitHubSecretSyncResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &CreateGitHubSecretSyncResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ SecretSync struct {+ Connection struct {+ App CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`-// ParseCreateGitHubAppConnectionResponse parses an HTTP response from a CreateGitHubAppConnectionWithResponse call-func ParseCreateGitHubAppConnectionResponse(rsp *http.Response) (*CreateGitHubAppConnectionResponse, error) {- bodyBytes, err := io.ReadAll(rsp.Body)- defer func() { _ = rsp.Body.Close() }()- if err != nil {- return nil, err- }+ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`- response := &CreateGitHubAppConnectionResponse{- Body: bodyBytes,- HTTPResponse: rsp,- }+ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.+ InitialSyncBehavior CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`- switch {- case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:- var dest struct {- AppConnection CreateGitHubAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+ // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19946,11 +36391,11 @@ func ParseCreateGitHubAppConnectionResponse(rsp *http.Response) (*CreateGitHubApcase 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 CreateGitHubAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19959,10 +36404,10 @@ func ParseCreateGitHubAppConnectionResponse(rsp *http.Response) (*CreateGitHubApcase 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 CreateGitHubAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19971,11 +36416,11 @@ func ParseCreateGitHubAppConnectionResponse(rsp *http.Response) (*CreateGitHubApcase 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 CreateGitHubAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19984,10 +36429,10 @@ func ParseCreateGitHubAppConnectionResponse(rsp *http.Response) (*CreateGitHubApcase 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 CreateGitHubAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -19996,10 +36441,10 @@ func ParseCreateGitHubAppConnectionResponse(rsp *http.Response) (*CreateGitHubApcase 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 CreateGitHubAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20008,10 +36453,10 @@ func ParseCreateGitHubAppConnectionResponse(rsp *http.Response) (*CreateGitHubApcase 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 CreateGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20023,15 +36468,15 @@ func ParseCreateGitHubAppConnectionResponse(rsp *http.Response) (*CreateGitHubApreturn response, nil}-// ParseDeleteGitHubAppConnectionResponse parses an HTTP response from a DeleteGitHubAppConnectionWithResponse call-func ParseDeleteGitHubAppConnectionResponse(rsp *http.Response) (*DeleteGitHubAppConnectionResponse, error) {+// ParseDeleteGitHubSecretSyncResponse parses an HTTP response from a DeleteGitHubSecretSyncWithResponse call+func ParseDeleteGitHubSecretSyncResponse(rsp *http.Response) (*DeleteGitHubSecretSyncResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &DeleteGitHubAppConnectionResponse{+ response := &DeleteGitHubSecretSyncResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -20039,7 +36484,61 @@ func ParseDeleteGitHubAppConnectionResponse(rsp *http.Response) (*DeleteGitHubApswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- AppConnection DeleteGitHubAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+ SecretSync struct {+ Connection struct {+ App DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`++ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.+ InitialSyncBehavior DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`++ // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20048,11 +36547,11 @@ func ParseDeleteGitHubAppConnectionResponse(rsp *http.Response) (*DeleteGitHubApcase 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 DeleteGitHubAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20061,10 +36560,10 @@ func ParseDeleteGitHubAppConnectionResponse(rsp *http.Response) (*DeleteGitHubApcase 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 DeleteGitHubAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20073,11 +36572,11 @@ func ParseDeleteGitHubAppConnectionResponse(rsp *http.Response) (*DeleteGitHubApcase 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 DeleteGitHubAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20086,10 +36585,10 @@ func ParseDeleteGitHubAppConnectionResponse(rsp *http.Response) (*DeleteGitHubApcase 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 DeleteGitHubAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20098,10 +36597,10 @@ func ParseDeleteGitHubAppConnectionResponse(rsp *http.Response) (*DeleteGitHubApcase 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 DeleteGitHubAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20110,10 +36609,10 @@ func ParseDeleteGitHubAppConnectionResponse(rsp *http.Response) (*DeleteGitHubApcase 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 DeleteGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20125,26 +36624,77 @@ func ParseDeleteGitHubAppConnectionResponse(rsp *http.Response) (*DeleteGitHubApreturn response, nil}-// ParseRefreshAuthTokenResponse parses an HTTP response from a RefreshAuthTokenWithResponse call-func ParseRefreshAuthTokenResponse(rsp *http.Response) (*RefreshAuthTokenResponse, error) {+// ParseGetGitHubSecretSyncResponse parses an HTTP response from a GetGitHubSecretSyncWithResponse call+func ParseGetGitHubSecretSyncResponse(rsp *http.Response) (*GetGitHubSecretSyncResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &RefreshAuthTokenResponse{+ response := &GetGitHubSecretSyncResponse{Body: bodyBytes,HTTPResponse: rsp,}- switch {- case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:- var dest struct {- OrganizationId *string `json:"organizationId,omitempty"`- RefreshToken *string `json:"refreshToken,omitempty"`- SubOrganizationId *string `json:"subOrganizationId,omitempty"`- Token string `json:"token"`+ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ SecretSync struct {+ Connection struct {+ App GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination GetGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`++ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.+ InitialSyncBehavior GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`++ // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20153,11 +36703,11 @@ func ParseRefreshAuthTokenResponse(rsp *http.Response) (*RefreshAuthTokenResponscase 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 RefreshAuthToken400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetGitHubSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20166,10 +36716,10 @@ func ParseRefreshAuthTokenResponse(rsp *http.Response) (*RefreshAuthTokenResponscase 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 RefreshAuthToken401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetGitHubSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20178,11 +36728,11 @@ func ParseRefreshAuthTokenResponse(rsp *http.Response) (*RefreshAuthTokenResponscase 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 RefreshAuthToken403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetGitHubSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20191,10 +36741,10 @@ func ParseRefreshAuthTokenResponse(rsp *http.Response) (*RefreshAuthTokenResponscase 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 RefreshAuthToken404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetGitHubSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20203,10 +36753,10 @@ func ParseRefreshAuthTokenResponse(rsp *http.Response) (*RefreshAuthTokenResponscase 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 RefreshAuthToken422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetGitHubSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20215,10 +36765,10 @@ func ParseRefreshAuthTokenResponse(rsp *http.Response) (*RefreshAuthTokenResponscase 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 RefreshAuthToken500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20230,15 +36780,15 @@ func ParseRefreshAuthTokenResponse(rsp *http.Response) (*RefreshAuthTokenResponsreturn response, nil}-// ParseAttachUniversalAuthResponse parses an HTTP response from a AttachUniversalAuthWithResponse call-func ParseAttachUniversalAuthResponse(rsp *http.Response) (*AttachUniversalAuthResponse, error) {+// ParseRemoveGitHubSecretSyncSecretsResponse parses an HTTP response from a RemoveGitHubSecretSyncSecretsWithResponse call+func ParseRemoveGitHubSecretSyncSecretsResponse(rsp *http.Response) (*RemoveGitHubSecretSyncSecretsResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &AttachUniversalAuthResponse{+ response := &RemoveGitHubSecretSyncSecretsResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -20246,23 +36796,61 @@ func ParseAttachUniversalAuthResponse(rsp *http.Response) (*AttachUniversalAuthRswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- IdentityUniversalAuth struct {- AccessTokenMaxTTL *float32 `json:"accessTokenMaxTTL,omitempty"`- AccessTokenNumUsesLimit *float32 `json:"accessTokenNumUsesLimit,omitempty"`- AccessTokenPeriod *float32 `json:"accessTokenPeriod,omitempty"`- AccessTokenTTL *float32 `json:"accessTokenTTL,omitempty"`- AccessTokenTrustedIps interface{} `json:"accessTokenTrustedIps,omitempty"`- ClientId string `json:"clientId"`- ClientSecretTrustedIps interface{} `json:"clientSecretTrustedIps,omitempty"`- CreatedAt time.Time `json:"createdAt"`- Id openapi_types.UUID `json:"id"`- IdentityId openapi_types.UUID `json:"identityId"`- LockoutCounterResetSeconds *float32 `json:"lockoutCounterResetSeconds,omitempty"`- LockoutDurationSeconds *float32 `json:"lockoutDurationSeconds,omitempty"`- LockoutEnabled *bool `json:"lockoutEnabled,omitempty"`- LockoutThreshold *float32 `json:"lockoutThreshold,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identityUniversalAuth"`+ SecretSync struct {+ Connection struct {+ App RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`++ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.+ InitialSyncBehavior RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`++ // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20271,11 +36859,11 @@ func ParseAttachUniversalAuthResponse(rsp *http.Response) (*AttachUniversalAuthRcase 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 AttachUniversalAuth400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20284,10 +36872,10 @@ func ParseAttachUniversalAuthResponse(rsp *http.Response) (*AttachUniversalAuthRcase 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 AttachUniversalAuth401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20296,11 +36884,11 @@ func ParseAttachUniversalAuthResponse(rsp *http.Response) (*AttachUniversalAuthRcase 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 AttachUniversalAuth403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20309,10 +36897,10 @@ func ParseAttachUniversalAuthResponse(rsp *http.Response) (*AttachUniversalAuthRcase 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 AttachUniversalAuth404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20321,10 +36909,10 @@ func ParseAttachUniversalAuthResponse(rsp *http.Response) (*AttachUniversalAuthRcase 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 AttachUniversalAuth422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20333,10 +36921,10 @@ func ParseAttachUniversalAuthResponse(rsp *http.Response) (*AttachUniversalAuthRcase 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 AttachUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20348,35 +36936,77 @@ func ParseAttachUniversalAuthResponse(rsp *http.Response) (*AttachUniversalAuthRreturn response, nil}-// ParseCreateUniversalAuthClientSecretResponse parses an HTTP response from a CreateUniversalAuthClientSecretWithResponse call-func ParseCreateUniversalAuthClientSecretResponse(rsp *http.Response) (*CreateUniversalAuthClientSecretResponse, error) {- bodyBytes, err := io.ReadAll(rsp.Body)- defer func() { _ = rsp.Body.Close() }()- if err != nil {- return nil, err- }+// ParseSyncGitHubSecretSyncResponse parses an HTTP response from a SyncGitHubSecretSyncWithResponse call+func ParseSyncGitHubSecretSyncResponse(rsp *http.Response) (*SyncGitHubSecretSyncResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &SyncGitHubSecretSyncResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ SecretSync struct {+ Connection struct {+ App SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"connection"`+ ConnectionId openapi_types.UUID `json:"connectionId"`+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ Destination SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`+ DestinationConfig SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`+ Environment *struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Folder *struct {+ Id string `json:"id"`+ Path string `json:"path"`+ } `json:"folder"`+ FolderId *openapi_types.UUID `json:"folderId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ ImportStatus *string `json:"importStatus,omitempty"`+ IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`+ LastImportJobId *string `json:"lastImportJobId,omitempty"`+ LastImportMessage *string `json:"lastImportMessage,omitempty"`+ LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`+ LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`+ LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`+ LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`+ LastSyncJobId *string `json:"lastSyncJobId,omitempty"`+ LastSyncMessage *string `json:"lastSyncMessage,omitempty"`+ LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ RemoveStatus *string `json:"removeStatus,omitempty"`++ // SyncOptions Optional parameters to modify how secrets are synced.+ SyncOptions struct {+ // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.+ DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`++ // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.+ IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`- response := &CreateUniversalAuthClientSecretResponse{- Body: bodyBytes,- HTTPResponse: rsp,- }+ // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.+ InitialSyncBehavior SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`- switch {- case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:- var dest struct {- ClientSecret string `json:"clientSecret"`- ClientSecretData struct {- ClientSecretNumUses *float32 `json:"clientSecretNumUses,omitempty"`- ClientSecretNumUsesLimit *float32 `json:"clientSecretNumUsesLimit,omitempty"`- ClientSecretPrefix string `json:"clientSecretPrefix"`- ClientSecretTTL *float32 `json:"clientSecretTTL,omitempty"`- CreatedAt time.Time `json:"createdAt"`- Description string `json:"description"`- Id string `json:"id"`- IdentityUAId openapi_types.UUID `json:"identityUAId"`- IsClientSecretRevoked *bool `json:"isClientSecretRevoked,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"clientSecretData"`+ // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.+ KeySchema *string `json:"keySchema,omitempty"`+ } `json:"syncOptions"`+ SyncStatus *string `json:"syncStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretSync"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20385,11 +37015,11 @@ func ParseCreateUniversalAuthClientSecretResponse(rsp *http.Response) (*CreateUncase 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 CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SyncGitHubSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20398,10 +37028,10 @@ func ParseCreateUniversalAuthClientSecretResponse(rsp *http.Response) (*CreateUncase 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 CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SyncGitHubSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20410,11 +37040,11 @@ func ParseCreateUniversalAuthClientSecretResponse(rsp *http.Response) (*CreateUncase 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 CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SyncGitHubSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20423,10 +37053,10 @@ func ParseCreateUniversalAuthClientSecretResponse(rsp *http.Response) (*CreateUncase 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 CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SyncGitHubSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20435,10 +37065,10 @@ func ParseCreateUniversalAuthClientSecretResponse(rsp *http.Response) (*CreateUncase 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 CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode SyncGitHubSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20447,10 +37077,10 @@ func ParseCreateUniversalAuthClientSecretResponse(rsp *http.Response) (*CreateUncase 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 CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SyncGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20462,15 +37092,15 @@ func ParseCreateUniversalAuthClientSecretResponse(rsp *http.Response) (*CreateUnreturn response, nil}-// ParseLoginWithUniversalAuthResponse parses an HTTP response from a LoginWithUniversalAuthWithResponse call-func ParseLoginWithUniversalAuthResponse(rsp *http.Response) (*LoginWithUniversalAuthResponse, error) {+// ParseCreateSecretFolderResponse parses an HTTP response from a CreateSecretFolderWithResponse call+func ParseCreateSecretFolderResponse(rsp *http.Response) (*CreateSecretFolderResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &LoginWithUniversalAuthResponse{+ response := &CreateSecretFolderResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -20478,10 +37108,19 @@ func ParseLoginWithUniversalAuthResponse(rsp *http.Response) (*LoginWithUniversaswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- AccessToken string `json:"accessToken"`- AccessTokenMaxTTL float32 `json:"accessTokenMaxTTL"`- ExpiresIn float32 `json:"expiresIn"`- TokenType LoginWithUniversalAuth200JSONResponseBodyTokenType `json:"tokenType"`+ Folder struct {+ CreatedAt time.Time `json:"createdAt"`+ Description *string `json:"description,omitempty"`+ EnvId openapi_types.UUID `json:"envId"`+ Id openapi_types.UUID `json:"id"`+ IsReserved *bool `json:"isReserved,omitempty"`+ LastSecretModified *time.Time `json:"lastSecretModified,omitempty"`+ Name string `json:"name"`+ ParentId *openapi_types.UUID `json:"parentId,omitempty"`+ Path string `json:"path"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"folder"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20490,11 +37129,11 @@ func ParseLoginWithUniversalAuthResponse(rsp *http.Response) (*LoginWithUniversacase 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 LoginWithUniversalAuth400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretFolder400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20503,10 +37142,10 @@ func ParseLoginWithUniversalAuthResponse(rsp *http.Response) (*LoginWithUniversacase 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 LoginWithUniversalAuth401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretFolder401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20515,11 +37154,11 @@ func ParseLoginWithUniversalAuthResponse(rsp *http.Response) (*LoginWithUniversacase 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 LoginWithUniversalAuth403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretFolder403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20528,10 +37167,10 @@ func ParseLoginWithUniversalAuthResponse(rsp *http.Response) (*LoginWithUniversacase 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 LoginWithUniversalAuth404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretFolder404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20540,10 +37179,10 @@ func ParseLoginWithUniversalAuthResponse(rsp *http.Response) (*LoginWithUniversacase 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 LoginWithUniversalAuth422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretFolder422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20552,10 +37191,10 @@ func ParseLoginWithUniversalAuthResponse(rsp *http.Response) (*LoginWithUniversacase 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 LoginWithUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretFolder500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20567,15 +37206,15 @@ func ParseLoginWithUniversalAuthResponse(rsp *http.Response) (*LoginWithUniversareturn response, nil}-// ParseCreateMachineIdentityResponse parses an HTTP response from a CreateMachineIdentityWithResponse call-func ParseCreateMachineIdentityResponse(rsp *http.Response) (*CreateMachineIdentityResponse, error) {+// ParseCreateOrganizationResponse parses an HTTP response from a CreateOrganizationWithResponse call+func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &CreateMachineIdentityResponse{+ response := &CreateOrganizationResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -20583,22 +37222,40 @@ func ParseCreateMachineIdentityResponse(rsp *http.Response) (*CreateMachineIdentswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- Identity struct {- AuthMethod *string `json:"authMethod,omitempty"`- AuthMethods []string `json:"authMethods"`- CreatedAt time.Time `json:"createdAt"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id openapi_types.UUID `json:"id"`- Metadata []struct {- Id string `json:"id"`- Key string `json:"key"`- Value string `json:"value"`- } `json:"metadata"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- ProjectId *string `json:"projectId,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identity"`+ Organization struct {+ AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`+ AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`+ AuthEnforced *bool `json:"authEnforced,omitempty"`+ BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`+ BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ CustomerId *string `json:"customerId,omitempty"`+ DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`+ EnforceMfa *bool `json:"enforceMfa,omitempty"`+ GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`+ Id openapi_types.UUID `json:"id"`+ KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`+ KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`+ MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`+ MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`+ Name string `json:"name"`+ ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`+ PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`+ PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`+ PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`+ RequireGatewayPools *bool `json:"requireGatewayPools,omitempty"`+ RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`+ ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`+ ScimEnabled *bool `json:"scimEnabled,omitempty"`+ SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`+ SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`+ SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`+ ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`+ ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`+ Slug string `json:"slug"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`+ } `json:"organization"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20607,11 +37264,11 @@ func ParseCreateMachineIdentityResponse(rsp *http.Response) (*CreateMachineIdentcase 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 CreateMachineIdentity400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20620,10 +37277,10 @@ func ParseCreateMachineIdentityResponse(rsp *http.Response) (*CreateMachineIdentcase 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 CreateMachineIdentity401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20632,11 +37289,11 @@ func ParseCreateMachineIdentityResponse(rsp *http.Response) (*CreateMachineIdentcase 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 CreateMachineIdentity403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20645,10 +37302,10 @@ func ParseCreateMachineIdentityResponse(rsp *http.Response) (*CreateMachineIdentcase 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 CreateMachineIdentity404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20657,10 +37314,10 @@ func ParseCreateMachineIdentityResponse(rsp *http.Response) (*CreateMachineIdentcase 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 CreateMachineIdentity422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20669,10 +37326,10 @@ func ParseCreateMachineIdentityResponse(rsp *http.Response) (*CreateMachineIdentcase 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 CreateMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20684,15 +37341,15 @@ func ParseCreateMachineIdentityResponse(rsp *http.Response) (*CreateMachineIdentreturn response, nil}-// ParseInviteUsersToOrganizationResponse parses an HTTP response from a InviteUsersToOrganizationWithResponse call-func ParseInviteUsersToOrganizationResponse(rsp *http.Response) (*InviteUsersToOrganizationResponse, error) {+// ParseDeleteOrganizationResponse parses an HTTP response from a DeleteOrganizationWithResponse call+func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &InviteUsersToOrganizationResponse{+ response := &DeleteOrganizationResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -20700,16 +37357,41 @@ func ParseInviteUsersToOrganizationResponse(rsp *http.Response) (*InviteUsersToOswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- CompleteInviteLinks *[]struct {- Email string `json:"email"`- Link string `json:"link"`- } `json:"completeInviteLinks,omitempty"`- GrantFailures *struct {- AgentVaultAccess bool `json:"agentVaultAccess"`- PamAccess bool `json:"pamAccess"`- ProjectIds []string `json:"projectIds"`- } `json:"grantFailures,omitempty"`- Message string `json:"message"`+ AccessToken string `json:"accessToken"`+ Organization struct {+ AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`+ AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`+ AuthEnforced *bool `json:"authEnforced,omitempty"`+ BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`+ BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ CustomerId *string `json:"customerId,omitempty"`+ DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`+ EnforceMfa *bool `json:"enforceMfa,omitempty"`+ GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`+ Id openapi_types.UUID `json:"id"`+ KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`+ KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`+ MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`+ MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`+ Name string `json:"name"`+ ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`+ PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`+ PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`+ PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`+ RequireGatewayPools *bool `json:"requireGatewayPools,omitempty"`+ RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`+ ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`+ ScimEnabled *bool `json:"scimEnabled,omitempty"`+ SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`+ SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`+ SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`+ ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`+ ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`+ Slug string `json:"slug"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`+ } `json:"organization"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20718,11 +37400,11 @@ func ParseInviteUsersToOrganizationResponse(rsp *http.Response) (*InviteUsersToOcase 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 InviteUsersToOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20731,10 +37413,10 @@ func ParseInviteUsersToOrganizationResponse(rsp *http.Response) (*InviteUsersToOcase 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 InviteUsersToOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20743,11 +37425,11 @@ func ParseInviteUsersToOrganizationResponse(rsp *http.Response) (*InviteUsersToOcase 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 InviteUsersToOrganization403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20756,10 +37438,10 @@ func ParseInviteUsersToOrganizationResponse(rsp *http.Response) (*InviteUsersToOcase 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 InviteUsersToOrganization404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20768,10 +37450,10 @@ func ParseInviteUsersToOrganizationResponse(rsp *http.Response) (*InviteUsersToOcase 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 InviteUsersToOrganization422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20780,10 +37462,10 @@ func ParseInviteUsersToOrganizationResponse(rsp *http.Response) (*InviteUsersToOcase 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 InviteUsersToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20795,15 +37477,15 @@ func ParseInviteUsersToOrganizationResponse(rsp *http.Response) (*InviteUsersToOreturn response, nil}-// ParseVerifyUserToOrganizationResponse parses an HTTP response from a VerifyUserToOrganizationWithResponse call-func ParseVerifyUserToOrganizationResponse(rsp *http.Response) (*VerifyUserToOrganizationResponse, error) {+// ParseCreateSecretApprovalPolicyResponse parses an HTTP response from a CreateSecretApprovalPolicyWithResponse call+func ParseCreateSecretApprovalPolicyResponse(rsp *http.Response) (*CreateSecretApprovalPolicyResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &VerifyUserToOrganizationResponse{+ response := &CreateSecretApprovalPolicyResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -20811,11 +37493,30 @@ func ParseVerifyUserToOrganizationResponse(rsp *http.Response) (*VerifyUserToOrgswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- Message string `json:"message"`-- // OrganizationName Name of the organization associated with the verified invitation- OrganizationName string `json:"organizationName"`- Token *string `json:"token,omitempty"`+ Approval struct {+ AllowedSelfApprovals *bool `json:"allowedSelfApprovals,omitempty"`+ Approvals *float32 `json:"approvals,omitempty"`+ BypassForMachineIdentities *bool `json:"bypassForMachineIdentities,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ DeletedAt *time.Time `json:"deletedAt,omitempty"`+ EnforcementLevel *string `json:"enforcementLevel,omitempty"`+ EnvId openapi_types.UUID `json:"envId"`+ Environment struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Environments []struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environments"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ SecretPath string `json:"secretPath"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20824,11 +37525,11 @@ func ParseVerifyUserToOrganizationResponse(rsp *http.Response) (*VerifyUserToOrgcase 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 VerifyUserToOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretApprovalPolicy400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20837,10 +37538,10 @@ func ParseVerifyUserToOrganizationResponse(rsp *http.Response) (*VerifyUserToOrgcase 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 VerifyUserToOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretApprovalPolicy401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20849,11 +37550,11 @@ func ParseVerifyUserToOrganizationResponse(rsp *http.Response) (*VerifyUserToOrgcase 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 VerifyUserToOrganization403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretApprovalPolicy403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20862,10 +37563,10 @@ func ParseVerifyUserToOrganizationResponse(rsp *http.Response) (*VerifyUserToOrgcase 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 VerifyUserToOrganization404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretApprovalPolicy404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20874,10 +37575,10 @@ func ParseVerifyUserToOrganizationResponse(rsp *http.Response) (*VerifyUserToOrgcase 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 VerifyUserToOrganization422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretApprovalPolicy422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20886,10 +37587,10 @@ func ParseVerifyUserToOrganizationResponse(rsp *http.Response) (*VerifyUserToOrgcase 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 VerifyUserToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretApprovalPolicy500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20901,15 +37602,15 @@ func ParseVerifyUserToOrganizationResponse(rsp *http.Response) (*VerifyUserToOrgreturn response, nil}-// ParseGetOrganizationPlanResponse parses an HTTP response from a GetOrganizationPlanWithResponse call-func ParseGetOrganizationPlanResponse(rsp *http.Response) (*GetOrganizationPlanResponse, error) {+// ParseGetSecretApprovalPolicyBoardResponse parses an HTTP response from a GetSecretApprovalPolicyBoardWithResponse call+func ParseGetSecretApprovalPolicyBoardResponse(rsp *http.Response) (*GetSecretApprovalPolicyBoardResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &GetOrganizationPlanResponse{+ response := &GetSecretApprovalPolicyBoardResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -20917,7 +37618,33 @@ func ParseGetOrganizationPlanResponse(rsp *http.Response) (*GetOrganizationPlanRswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- Plan interface{} `json:"plan,omitempty"`+ Policy *struct {+ AllowedSelfApprovals *bool `json:"allowedSelfApprovals,omitempty"`+ Approvals *float32 `json:"approvals,omitempty"`+ BypassForMachineIdentities *bool `json:"bypassForMachineIdentities,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ DeletedAt *time.Time `json:"deletedAt,omitempty"`+ EnforcementLevel *string `json:"enforcementLevel,omitempty"`+ EnvId openapi_types.UUID `json:"envId"`+ Environment struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Environments []struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environments"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ SecretPath string `json:"secretPath"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserApprovers []struct {+ UserId *string `json:"userId,omitempty"`+ } `json:"userApprovers"`+ } `json:"policy,omitempty"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20926,11 +37653,11 @@ func ParseGetOrganizationPlanResponse(rsp *http.Response) (*GetOrganizationPlanRcase 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 GetOrganizationPlan400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20939,10 +37666,10 @@ func ParseGetOrganizationPlanResponse(rsp *http.Response) (*GetOrganizationPlanRcase 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 GetOrganizationPlan401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20951,11 +37678,11 @@ func ParseGetOrganizationPlanResponse(rsp *http.Response) (*GetOrganizationPlanRcase 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 GetOrganizationPlan403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20964,10 +37691,10 @@ func ParseGetOrganizationPlanResponse(rsp *http.Response) (*GetOrganizationPlanRcase 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 GetOrganizationPlan404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20976,10 +37703,10 @@ func ParseGetOrganizationPlanResponse(rsp *http.Response) (*GetOrganizationPlanRcase 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 GetOrganizationPlan422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -20988,10 +37715,10 @@ func ParseGetOrganizationPlanResponse(rsp *http.Response) (*GetOrganizationPlanRcase 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 GetOrganizationPlan500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21003,15 +37730,15 @@ func ParseGetOrganizationPlanResponse(rsp *http.Response) (*GetOrganizationPlanRreturn response, nil}-// ParseCreateProjectResponse parses an HTTP response from a CreateProjectWithResponse call-func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, error) {+// ParseDeleteSecretApprovalPolicyResponse parses an HTTP response from a DeleteSecretApprovalPolicyWithResponse call+func ParseDeleteSecretApprovalPolicyResponse(rsp *http.Response) (*DeleteSecretApprovalPolicyResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &CreateProjectResponse{+ response := &DeleteSecretApprovalPolicyResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -21019,58 +37746,43 @@ func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, errswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- Project struct {- UnderscoreId string `json:"_id"`- AuditLogsRetentionDays *float32 `json:"auditLogsRetentionDays,omitempty"`- AutoCapitalization *bool `json:"autoCapitalization,omitempty"`- CreatedAt time.Time `json:"createdAt"`- DefaultProduct *string `json:"defaultProduct,omitempty"`- DeletedEnvironments []struct {- DeleteAfter time.Time `json:"deleteAfter"`- DeletedBy *CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy `json:"deletedBy"`- Id string `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- SoftDeletedAt time.Time `json:"softDeletedAt"`- } `json:"deletedEnvironments"`- Description *string `json:"description,omitempty"`- EnforceEncryptedSecretManagerSecretMetadata *bool `json:"enforceEncryptedSecretManagerSecretMetadata,omitempty"`- Environments []struct {+ Approval struct {+ AllowedSelfApprovals *bool `json:"allowedSelfApprovals,omitempty"`+ Approvals *float32 `json:"approvals,omitempty"`+ BypassForMachineIdentities *bool `json:"bypassForMachineIdentities,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ DeletedAt *time.Time `json:"deletedAt,omitempty"`+ EnforcementLevel *string `json:"enforcementLevel,omitempty"`+ EnvId openapi_types.UUID `json:"envId"`+ Environment struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Environments []struct {Id string `json:"id"`Name string `json:"name"`Slug string `json:"slug"`} `json:"environments"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id string `json:"id"`- IsLegacyAdditionalPrivilegesEnabled *bool `json:"isLegacyAdditionalPrivilegesEnabled,omitempty"`- KmsCertificateKeyId *openapi_types.UUID `json:"kmsCertificateKeyId,omitempty"`- KmsSecretManagerKeyId *openapi_types.UUID `json:"kmsSecretManagerKeyId,omitempty"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- PitVersionLimit *float32 `json:"pitVersionLimit,omitempty"`- SecretBlindIndexEnabled *bool `json:"secretBlindIndexEnabled,omitempty"`- SecretDetectionIgnoreValues *[]string `json:"secretDetectionIgnoreValues,omitempty"`- SecretSharing *bool `json:"secretSharing,omitempty"`- ShowSnapshotsLegacy *bool `json:"showSnapshotsLegacy,omitempty"`- Slug string `json:"slug"`- Type string `json:"type"`- UpdatedAt time.Time `json:"updatedAt"`- UpgradeStatus *string `json:"upgradeStatus,omitempty"`- Version *float32 `json:"version,omitempty"`- } `json:"project"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ SecretPath string `json:"secretPath"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`}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 CreateProject400JSONResponseBodyStatusCode `json:"statusCode"`++ 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 DeleteSecretApprovalPolicy400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21079,10 +37791,10 @@ func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, errcase 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 CreateProject401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretApprovalPolicy401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21091,11 +37803,11 @@ func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, errcase 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 CreateProject403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretApprovalPolicy403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21104,10 +37816,10 @@ func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, errcase 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 CreateProject404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretApprovalPolicy404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21116,10 +37828,10 @@ func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, errcase 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 CreateProject422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretApprovalPolicy422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21128,10 +37840,10 @@ func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, errcase 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 CreateProject500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretApprovalPolicy500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21143,15 +37855,15 @@ func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, errreturn response, nil}-// ParseListProjectMachineIdentitiesResponse parses an HTTP response from a ListProjectMachineIdentitiesWithResponse call-func ParseListProjectMachineIdentitiesResponse(rsp *http.Response) (*ListProjectMachineIdentitiesResponse, error) {+// ParseGetSecretApprovalPolicyResponse parses an HTTP response from a GetSecretApprovalPolicyWithResponse call+func ParseGetSecretApprovalPolicyResponse(rsp *http.Response) (*GetSecretApprovalPolicyResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &ListProjectMachineIdentitiesResponse{+ response := &GetSecretApprovalPolicyResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -21159,23 +37871,40 @@ func ParseListProjectMachineIdentitiesResponse(rsp *http.Response) (*ListProjectswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- Identities []struct {- ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`- AuthMethods *[]string `json:"authMethods,omitempty"`- CreatedAt time.Time `json:"createdAt"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id openapi_types.UUID `json:"id"`- Metadata *[]struct {- Id string `json:"id"`- Key string `json:"key"`- Value string `json:"value"`- } `json:"metadata,omitempty"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- ProjectId *string `json:"projectId,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identities"`- TotalCount float32 `json:"totalCount"`+ Approval struct {+ AllowedSelfApprovals *bool `json:"allowedSelfApprovals,omitempty"`+ Approvals *float32 `json:"approvals,omitempty"`+ Approvers []struct {+ Id *string `json:"id,omitempty"`+ Type GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType `json:"type"`+ Username *string `json:"username,omitempty"`+ } `json:"approvers"`+ BypassForMachineIdentities *bool `json:"bypassForMachineIdentities,omitempty"`+ Bypassers []struct {+ Id *string `json:"id,omitempty"`+ Type GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType `json:"type"`+ Username *string `json:"username,omitempty"`+ } `json:"bypassers"`+ CreatedAt time.Time `json:"createdAt"`+ DeletedAt *time.Time `json:"deletedAt,omitempty"`+ EnforcementLevel *string `json:"enforcementLevel,omitempty"`+ EnvId openapi_types.UUID `json:"envId"`+ Environment struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Environments []struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environments"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ SecretPath string `json:"secretPath"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21184,11 +37913,11 @@ func ParseListProjectMachineIdentitiesResponse(rsp *http.Response) (*ListProjectcase 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 ListProjectMachineIdentities400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicy400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21197,10 +37926,10 @@ func ParseListProjectMachineIdentitiesResponse(rsp *http.Response) (*ListProjectcase 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 ListProjectMachineIdentities401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicy401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21209,11 +37938,11 @@ func ParseListProjectMachineIdentitiesResponse(rsp *http.Response) (*ListProjectcase 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 ListProjectMachineIdentities403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicy403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21222,10 +37951,10 @@ func ParseListProjectMachineIdentitiesResponse(rsp *http.Response) (*ListProjectcase 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 ListProjectMachineIdentities404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicy404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21234,10 +37963,10 @@ func ParseListProjectMachineIdentitiesResponse(rsp *http.Response) (*ListProjectcase 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 ListProjectMachineIdentities422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicy422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21246,10 +37975,10 @@ func ParseListProjectMachineIdentitiesResponse(rsp *http.Response) (*ListProjectcase 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 ListProjectMachineIdentities500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretApprovalPolicy500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21261,15 +37990,15 @@ func ParseListProjectMachineIdentitiesResponse(rsp *http.Response) (*ListProjectreturn response, nil}-// ParseCreateProjectMachineIdentityResponse parses an HTTP response from a CreateProjectMachineIdentityWithResponse call-func ParseCreateProjectMachineIdentityResponse(rsp *http.Response) (*CreateProjectMachineIdentityResponse, error) {+// ParseUpdateSecretApprovalPolicyResponse parses an HTTP response from a UpdateSecretApprovalPolicyWithResponse call+func ParseUpdateSecretApprovalPolicyResponse(rsp *http.Response) (*UpdateSecretApprovalPolicyResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &CreateProjectMachineIdentityResponse{+ response := &UpdateSecretApprovalPolicyResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -21277,22 +38006,30 @@ func ParseCreateProjectMachineIdentityResponse(rsp *http.Response) (*CreateProjeswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- Identity struct {- ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`- AuthMethods *[]string `json:"authMethods,omitempty"`- CreatedAt time.Time `json:"createdAt"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id openapi_types.UUID `json:"id"`- Metadata *[]struct {- Id string `json:"id"`- Key string `json:"key"`- Value string `json:"value"`- } `json:"metadata,omitempty"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- ProjectId *string `json:"projectId,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identity"`+ Approval struct {+ AllowedSelfApprovals *bool `json:"allowedSelfApprovals,omitempty"`+ Approvals *float32 `json:"approvals,omitempty"`+ BypassForMachineIdentities *bool `json:"bypassForMachineIdentities,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ DeletedAt *time.Time `json:"deletedAt,omitempty"`+ EnforcementLevel *string `json:"enforcementLevel,omitempty"`+ EnvId openapi_types.UUID `json:"envId"`+ Environment struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environment"`+ Environments []struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environments"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ ProjectId string `json:"projectId"`+ SecretPath string `json:"secretPath"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21301,11 +38038,11 @@ func ParseCreateProjectMachineIdentityResponse(rsp *http.Response) (*CreateProjecase 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 CreateProjectMachineIdentity400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalPolicy400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21314,10 +38051,10 @@ func ParseCreateProjectMachineIdentityResponse(rsp *http.Response) (*CreateProjecase 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 CreateProjectMachineIdentity401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalPolicy401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21326,11 +38063,11 @@ func ParseCreateProjectMachineIdentityResponse(rsp *http.Response) (*CreateProjecase 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 CreateProjectMachineIdentity403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalPolicy403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21339,10 +38076,10 @@ func ParseCreateProjectMachineIdentityResponse(rsp *http.Response) (*CreateProjecase 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 CreateProjectMachineIdentity404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalPolicy404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21351,10 +38088,10 @@ func ParseCreateProjectMachineIdentityResponse(rsp *http.Response) (*CreateProjecase 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 CreateProjectMachineIdentity422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalPolicy422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21363,10 +38100,10 @@ func ParseCreateProjectMachineIdentityResponse(rsp *http.Response) (*CreateProjecase 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 CreateProjectMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretApprovalPolicy500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21378,15 +38115,15 @@ func ParseCreateProjectMachineIdentityResponse(rsp *http.Response) (*CreateProjereturn response, nil}-// ParseInviteProjectMembersResponse parses an HTTP response from a InviteProjectMembersWithResponse call-func ParseInviteProjectMembersResponse(rsp *http.Response) (*InviteProjectMembersResponse, error) {+// ParseCreateSecretImportResponse parses an HTTP response from a CreateSecretImportWithResponse call+func ParseCreateSecretImportResponse(rsp *http.Response) (*CreateSecretImportResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &InviteProjectMembersResponse{+ response := &CreateSecretImportResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -21394,13 +38131,26 @@ func ParseInviteProjectMembersResponse(rsp *http.Response) (*InviteProjectMemberswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- Memberships []struct {+ Message string `json:"message"`+ SecretImport struct {CreatedAt time.Time `json:"createdAt"`+ FolderId openapi_types.UUID `json:"folderId"`Id openapi_types.UUID `json:"id"`- ProjectId string `json:"projectId"`- UpdatedAt time.Time `json:"updatedAt"`- UserId openapi_types.UUID `json:"userId"`- } `json:"memberships"`+ ImportEnv struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"importEnv"`+ ImportPath string `json:"importPath"`+ IsReplication *bool `json:"isReplication,omitempty"`+ IsReplicationSuccess *bool `json:"isReplicationSuccess,omitempty"`+ IsReserved *bool `json:"isReserved,omitempty"`+ LastReplicated *time.Time `json:"lastReplicated,omitempty"`+ Position float32 `json:"position"`+ ReplicationStatus *string `json:"replicationStatus,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+ } `json:"secretImport"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21409,11 +38159,11 @@ func ParseInviteProjectMembersResponse(rsp *http.Response) (*InviteProjectMembercase 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 InviteProjectMembers400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretImport400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21422,10 +38172,10 @@ func ParseInviteProjectMembersResponse(rsp *http.Response) (*InviteProjectMembercase 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 InviteProjectMembers401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretImport401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21434,11 +38184,11 @@ func ParseInviteProjectMembersResponse(rsp *http.Response) (*InviteProjectMembercase 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 InviteProjectMembers403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretImport403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21447,10 +38197,10 @@ func ParseInviteProjectMembersResponse(rsp *http.Response) (*InviteProjectMembercase 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 InviteProjectMembers404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretImport404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21459,10 +38209,10 @@ func ParseInviteProjectMembersResponse(rsp *http.Response) (*InviteProjectMembercase 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 InviteProjectMembers422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretImport422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21471,10 +38221,10 @@ func ParseInviteProjectMembersResponse(rsp *http.Response) (*InviteProjectMembercase 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 InviteProjectMembers500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretImport500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21486,15 +38236,15 @@ func ParseInviteProjectMembersResponse(rsp *http.Response) (*InviteProjectMemberreturn response, nil}-// ParseCreateProjectIdentityMembershipResponse parses an HTTP response from a CreateProjectIdentityMembershipWithResponse call-func ParseCreateProjectIdentityMembershipResponse(rsp *http.Response) (*CreateProjectIdentityMembershipResponse, error) {+// ParseLoginV3Response parses an HTTP response from a LoginV3WithResponse call+func ParseLoginV3Response(rsp *http.Response) (*LoginV3Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &CreateProjectIdentityMembershipResponse{+ response := &LoginV3Response{Body: bodyBytes,HTTPResponse: rsp,}@@ -21502,13 +38252,7 @@ func ParseCreateProjectIdentityMembershipResponse(rsp *http.Response) (*CreatePrswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- IdentityMembership struct {- CreatedAt time.Time `json:"createdAt"`- Id openapi_types.UUID `json:"id"`- IdentityId openapi_types.UUID `json:"identityId"`- ProjectId string `json:"projectId"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identityMembership"`+ AccessToken string `json:"accessToken"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21517,11 +38261,11 @@ func ParseCreateProjectIdentityMembershipResponse(rsp *http.Response) (*CreatePrcase 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 CreateProjectIdentityMembership400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21530,23 +38274,23 @@ func ParseCreateProjectIdentityMembershipResponse(rsp *http.Response) (*CreatePrcase 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 CreateProjectIdentityMembership401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3401JSONResponseBodyStatusCode `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 CreateProjectIdentityMembership403JSONResponseBodyStatusCode `json:"statusCode"`++ 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 LoginV3403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21555,10 +38299,10 @@ func ParseCreateProjectIdentityMembershipResponse(rsp *http.Response) (*CreatePrcase 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 CreateProjectIdentityMembership404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21567,10 +38311,10 @@ func ParseCreateProjectIdentityMembershipResponse(rsp *http.Response) (*CreatePrcase 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 CreateProjectIdentityMembership422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21579,10 +38323,10 @@ func ParseCreateProjectIdentityMembershipResponse(rsp *http.Response) (*CreatePrcase 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 CreateProjectIdentityMembership500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21594,15 +38338,15 @@ func ParseCreateProjectIdentityMembershipResponse(rsp *http.Response) (*CreatePrreturn response, nil}-// ParseCreateGitHubSecretSyncResponse parses an HTTP response from a CreateGitHubSecretSyncWithResponse call-func ParseCreateGitHubSecretSyncResponse(rsp *http.Response) (*CreateGitHubSecretSyncResponse, error) {+// ParseSelectOrganizationV3Response parses an HTTP response from a SelectOrganizationV3WithResponse call+func ParseSelectOrganizationV3Response(rsp *http.Response) (*SelectOrganizationV3Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &CreateGitHubSecretSyncResponse{+ response := &SelectOrganizationV3Response{Body: bodyBytes,HTTPResponse: rsp,}@@ -21610,61 +38354,9 @@ func ParseCreateGitHubSecretSyncResponse(rsp *http.Response) (*CreateGitHubSecreswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- SecretSync struct {- Connection struct {- App CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- } `json:"connection"`- ConnectionId openapi_types.UUID `json:"connectionId"`- CreatedAt time.Time `json:"createdAt"`- Description *string `json:"description,omitempty"`- Destination CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`- DestinationConfig CreateGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`- Environment *struct {- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"environment"`- Folder *struct {- Id string `json:"id"`- Path string `json:"path"`- } `json:"folder"`- FolderId *openapi_types.UUID `json:"folderId,omitempty"`- Id openapi_types.UUID `json:"id"`- ImportStatus *string `json:"importStatus,omitempty"`- IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`- LastImportJobId *string `json:"lastImportJobId,omitempty"`- LastImportMessage *string `json:"lastImportMessage,omitempty"`- LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`- LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`- LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`- LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`- LastSyncJobId *string `json:"lastSyncJobId,omitempty"`- LastSyncMessage *string `json:"lastSyncMessage,omitempty"`- LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`- Name string `json:"name"`- ProjectId string `json:"projectId"`- RemoveStatus *string `json:"removeStatus,omitempty"`-- // SyncOptions Optional parameters to modify how secrets are synced.- SyncOptions struct {- // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.- DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`-- // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.- IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`-- // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.- InitialSyncBehavior CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`-- // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.- KeySchema *string `json:"keySchema,omitempty"`- } `json:"syncOptions"`- SyncStatus *string `json:"syncStatus,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`- } `json:"secretSync"`+ IsMfaEnabled bool `json:"isMfaEnabled"`+ MfaMethod *string `json:"mfaMethod,omitempty"`+ Token string `json:"token"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21673,11 +38365,11 @@ func ParseCreateGitHubSecretSyncResponse(rsp *http.Response) (*CreateGitHubSecrecase 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 CreateGitHubSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21686,10 +38378,10 @@ func ParseCreateGitHubSecretSyncResponse(rsp *http.Response) (*CreateGitHubSecrecase 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 CreateGitHubSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21698,11 +38390,11 @@ func ParseCreateGitHubSecretSyncResponse(rsp *http.Response) (*CreateGitHubSecrecase 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 CreateGitHubSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21711,10 +38403,10 @@ func ParseCreateGitHubSecretSyncResponse(rsp *http.Response) (*CreateGitHubSecrecase 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 CreateGitHubSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21723,10 +38415,10 @@ func ParseCreateGitHubSecretSyncResponse(rsp *http.Response) (*CreateGitHubSecrecase 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 CreateGitHubSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21735,10 +38427,10 @@ func ParseCreateGitHubSecretSyncResponse(rsp *http.Response) (*CreateGitHubSecrecase 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 CreateGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21750,15 +38442,15 @@ func ParseCreateGitHubSecretSyncResponse(rsp *http.Response) (*CreateGitHubSecrereturn response, nil}-// ParseDeleteGitHubSecretSyncResponse parses an HTTP response from a DeleteGitHubSecretSyncWithResponse call-func ParseDeleteGitHubSecretSyncResponse(rsp *http.Response) (*DeleteGitHubSecretSyncResponse, error) {+// ParseCompleteAccountSignupV3Response parses an HTTP response from a CompleteAccountSignupV3WithResponse call+func ParseCompleteAccountSignupV3Response(rsp *http.Response) (*CompleteAccountSignupV3Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &DeleteGitHubSecretSyncResponse{+ response := &CompleteAccountSignupV3Response{Body: bodyBytes,HTTPResponse: rsp,}@@ -21766,61 +38458,18 @@ func ParseDeleteGitHubSecretSyncResponse(rsp *http.Response) (*DeleteGitHubSecreswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- SecretSync struct {- Connection struct {- App DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- } `json:"connection"`- ConnectionId openapi_types.UUID `json:"connectionId"`- CreatedAt time.Time `json:"createdAt"`- Description *string `json:"description,omitempty"`- Destination DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`- DestinationConfig DeleteGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`- Environment *struct {- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"environment"`- Folder *struct {- Id string `json:"id"`- Path string `json:"path"`- } `json:"folder"`- FolderId *openapi_types.UUID `json:"folderId,omitempty"`- Id openapi_types.UUID `json:"id"`- ImportStatus *string `json:"importStatus,omitempty"`- IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`- LastImportJobId *string `json:"lastImportJobId,omitempty"`- LastImportMessage *string `json:"lastImportMessage,omitempty"`- LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`- LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`- LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`- LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`- LastSyncJobId *string `json:"lastSyncJobId,omitempty"`- LastSyncMessage *string `json:"lastSyncMessage,omitempty"`- LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`- Name string `json:"name"`- ProjectId string `json:"projectId"`- RemoveStatus *string `json:"removeStatus,omitempty"`-- // SyncOptions Optional parameters to modify how secrets are synced.- SyncOptions struct {- // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.- DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`-- // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.- IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`-- // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.- InitialSyncBehavior DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`-- // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.- KeySchema *string `json:"keySchema,omitempty"`- } `json:"syncOptions"`- SyncStatus *string `json:"syncStatus,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`- } `json:"secretSync"`+ Message string `json:"message"`+ Token string `json:"token"`+ User struct {+ AuthMethods *[]string `json:"authMethods,omitempty"`+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsEmailVerified *bool `json:"isEmailVerified,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ PublicKey *string `json:"publicKey,omitempty"`+ Username string `json:"username"`+ } `json:"user"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21829,11 +38478,11 @@ func ParseDeleteGitHubSecretSyncResponse(rsp *http.Response) (*DeleteGitHubSecrecase 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 DeleteGitHubSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21842,10 +38491,10 @@ func ParseDeleteGitHubSecretSyncResponse(rsp *http.Response) (*DeleteGitHubSecrecase 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 DeleteGitHubSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21854,11 +38503,11 @@ func ParseDeleteGitHubSecretSyncResponse(rsp *http.Response) (*DeleteGitHubSecrecase 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 DeleteGitHubSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21867,10 +38516,10 @@ func ParseDeleteGitHubSecretSyncResponse(rsp *http.Response) (*DeleteGitHubSecrecase 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 DeleteGitHubSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21879,10 +38528,10 @@ func ParseDeleteGitHubSecretSyncResponse(rsp *http.Response) (*DeleteGitHubSecrecase 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 DeleteGitHubSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21891,10 +38540,10 @@ func ParseDeleteGitHubSecretSyncResponse(rsp *http.Response) (*DeleteGitHubSecrecase 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 DeleteGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21906,15 +38555,15 @@ func ParseDeleteGitHubSecretSyncResponse(rsp *http.Response) (*DeleteGitHubSecrereturn response, nil}-// ParseGetGitHubSecretSyncResponse parses an HTTP response from a GetGitHubSecretSyncWithResponse call-func ParseGetGitHubSecretSyncResponse(rsp *http.Response) (*GetGitHubSecretSyncResponse, error) {+// ParseBeginEmailSignupV3Response parses an HTTP response from a BeginEmailSignupV3WithResponse call+func ParseBeginEmailSignupV3Response(rsp *http.Response) (*BeginEmailSignupV3Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &GetGitHubSecretSyncResponse{+ response := &BeginEmailSignupV3Response{Body: bodyBytes,HTTPResponse: rsp,}@@ -21922,61 +38571,8 @@ func ParseGetGitHubSecretSyncResponse(rsp *http.Response) (*GetGitHubSecretSyncRswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- SecretSync struct {- Connection struct {- App GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- } `json:"connection"`- ConnectionId openapi_types.UUID `json:"connectionId"`- CreatedAt time.Time `json:"createdAt"`- Description *string `json:"description,omitempty"`- Destination GetGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`- DestinationConfig GetGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`- Environment *struct {- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"environment"`- Folder *struct {- Id string `json:"id"`- Path string `json:"path"`- } `json:"folder"`- FolderId *openapi_types.UUID `json:"folderId,omitempty"`- Id openapi_types.UUID `json:"id"`- ImportStatus *string `json:"importStatus,omitempty"`- IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`- LastImportJobId *string `json:"lastImportJobId,omitempty"`- LastImportMessage *string `json:"lastImportMessage,omitempty"`- LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`- LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`- LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`- LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`- LastSyncJobId *string `json:"lastSyncJobId,omitempty"`- LastSyncMessage *string `json:"lastSyncMessage,omitempty"`- LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`- Name string `json:"name"`- ProjectId string `json:"projectId"`- RemoveStatus *string `json:"removeStatus,omitempty"`-- // SyncOptions Optional parameters to modify how secrets are synced.- SyncOptions struct {- // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.- DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`-- // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.- IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`-- // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.- InitialSyncBehavior GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`-- // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.- KeySchema *string `json:"keySchema,omitempty"`- } `json:"syncOptions"`- SyncStatus *string `json:"syncStatus,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`- } `json:"secretSync"`+ CooldownSeconds float32 `json:"cooldownSeconds"`+ Message string `json:"message"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21985,11 +38581,11 @@ func ParseGetGitHubSecretSyncResponse(rsp *http.Response) (*GetGitHubSecretSyncRcase 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 GetGitHubSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -21998,10 +38594,10 @@ func ParseGetGitHubSecretSyncResponse(rsp *http.Response) (*GetGitHubSecretSyncRcase 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 GetGitHubSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22010,11 +38606,11 @@ func ParseGetGitHubSecretSyncResponse(rsp *http.Response) (*GetGitHubSecretSyncRcase 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 GetGitHubSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22023,10 +38619,10 @@ func ParseGetGitHubSecretSyncResponse(rsp *http.Response) (*GetGitHubSecretSyncRcase 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 GetGitHubSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22035,10 +38631,10 @@ func ParseGetGitHubSecretSyncResponse(rsp *http.Response) (*GetGitHubSecretSyncRcase 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 GetGitHubSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22047,10 +38643,10 @@ func ParseGetGitHubSecretSyncResponse(rsp *http.Response) (*GetGitHubSecretSyncRcase 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 GetGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22062,15 +38658,15 @@ func ParseGetGitHubSecretSyncResponse(rsp *http.Response) (*GetGitHubSecretSyncRreturn response, nil}-// ParseRemoveGitHubSecretSyncSecretsResponse parses an HTTP response from a RemoveGitHubSecretSyncSecretsWithResponse call-func ParseRemoveGitHubSecretSyncSecretsResponse(rsp *http.Response) (*RemoveGitHubSecretSyncSecretsResponse, error) {+// ParseVerifyEmailSignupV3Response parses an HTTP response from a VerifyEmailSignupV3WithResponse call+func ParseVerifyEmailSignupV3Response(rsp *http.Response) (*VerifyEmailSignupV3Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &RemoveGitHubSecretSyncSecretsResponse{+ response := &VerifyEmailSignupV3Response{Body: bodyBytes,HTTPResponse: rsp,}@@ -22078,61 +38674,18 @@ func ParseRemoveGitHubSecretSyncSecretsResponse(rsp *http.Response) (*RemoveGitHswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- SecretSync struct {- Connection struct {- App RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp `json:"app"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- } `json:"connection"`- ConnectionId openapi_types.UUID `json:"connectionId"`- CreatedAt time.Time `json:"createdAt"`- Description *string `json:"description,omitempty"`- Destination RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination `json:"destination"`- DestinationConfig RemoveGitHubSecretSyncSecrets200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`- Environment *struct {- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"environment"`- Folder *struct {- Id string `json:"id"`- Path string `json:"path"`- } `json:"folder"`- FolderId *openapi_types.UUID `json:"folderId,omitempty"`- Id openapi_types.UUID `json:"id"`- ImportStatus *string `json:"importStatus,omitempty"`- IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`- LastImportJobId *string `json:"lastImportJobId,omitempty"`- LastImportMessage *string `json:"lastImportMessage,omitempty"`- LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`- LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`- LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`- LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`- LastSyncJobId *string `json:"lastSyncJobId,omitempty"`- LastSyncMessage *string `json:"lastSyncMessage,omitempty"`- LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`- Name string `json:"name"`- ProjectId string `json:"projectId"`- RemoveStatus *string `json:"removeStatus,omitempty"`-- // SyncOptions Optional parameters to modify how secrets are synced.- SyncOptions struct {- // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.- DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`-- // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.- IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`-- // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.- InitialSyncBehavior RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`-- // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.- KeySchema *string `json:"keySchema,omitempty"`- } `json:"syncOptions"`- SyncStatus *string `json:"syncStatus,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`- } `json:"secretSync"`+ Message string `json:"message"`+ Token string `json:"token"`+ User struct {+ AuthMethods *[]string `json:"authMethods,omitempty"`+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsEmailVerified *bool `json:"isEmailVerified,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ PublicKey *string `json:"publicKey,omitempty"`+ Username string `json:"username"`+ } `json:"user"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22141,11 +38694,11 @@ func ParseRemoveGitHubSecretSyncSecretsResponse(rsp *http.Response) (*RemoveGitHcase 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 RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22154,10 +38707,10 @@ func ParseRemoveGitHubSecretSyncSecretsResponse(rsp *http.Response) (*RemoveGitHcase 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 RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22166,11 +38719,11 @@ func ParseRemoveGitHubSecretSyncSecretsResponse(rsp *http.Response) (*RemoveGitHcase 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 RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22179,10 +38732,10 @@ func ParseRemoveGitHubSecretSyncSecretsResponse(rsp *http.Response) (*RemoveGitHcase 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 RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22191,10 +38744,10 @@ func ParseRemoveGitHubSecretSyncSecretsResponse(rsp *http.Response) (*RemoveGitHcase 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 RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22203,10 +38756,10 @@ func ParseRemoveGitHubSecretSyncSecretsResponse(rsp *http.Response) (*RemoveGitHcase 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 RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22218,15 +38771,15 @@ func ParseRemoveGitHubSecretSyncSecretsResponse(rsp *http.Response) (*RemoveGitHreturn response, nil}-// ParseSyncGitHubSecretSyncResponse parses an HTTP response from a SyncGitHubSecretSyncWithResponse call-func ParseSyncGitHubSecretSyncResponse(rsp *http.Response) (*SyncGitHubSecretSyncResponse, error) {+// ParseListSecretsV4Response parses an HTTP response from a ListSecretsV4WithResponse call+func ParseListSecretsV4Response(rsp *http.Response) (*ListSecretsV4Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &SyncGitHubSecretSyncResponse{+ response := &ListSecretsV4Response{Body: bodyBytes,HTTPResponse: rsp,}@@ -22234,74 +38787,99 @@ func ParseSyncGitHubSecretSyncResponse(rsp *http.Response) (*SyncGitHubSecretSynswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- SecretSync struct {- Connection struct {- App SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp `json:"app"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- } `json:"connection"`- ConnectionId openapi_types.UUID `json:"connectionId"`- CreatedAt time.Time `json:"createdAt"`- Description *string `json:"description,omitempty"`- Destination SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination `json:"destination"`- DestinationConfig SyncGitHubSecretSync200JSONResponseBody_SecretSync_DestinationConfig `json:"destinationConfig"`- Environment *struct {- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"environment"`- Folder *struct {- Id string `json:"id"`- Path string `json:"path"`- } `json:"folder"`- FolderId *openapi_types.UUID `json:"folderId,omitempty"`- Id openapi_types.UUID `json:"id"`- ImportStatus *string `json:"importStatus,omitempty"`- IsAutoSyncEnabled *bool `json:"isAutoSyncEnabled,omitempty"`- LastImportJobId *string `json:"lastImportJobId,omitempty"`- LastImportMessage *string `json:"lastImportMessage,omitempty"`- LastImportedAt *time.Time `json:"lastImportedAt,omitempty"`- LastRemoveJobId *string `json:"lastRemoveJobId,omitempty"`- LastRemoveMessage *string `json:"lastRemoveMessage,omitempty"`- LastRemovedAt *time.Time `json:"lastRemovedAt,omitempty"`- LastSyncJobId *string `json:"lastSyncJobId,omitempty"`- LastSyncMessage *string `json:"lastSyncMessage,omitempty"`- LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`- Name string `json:"name"`- ProjectId string `json:"projectId"`- RemoveStatus *string `json:"removeStatus,omitempty"`-- // SyncOptions Optional parameters to modify how secrets are synced.- SyncOptions struct {- // DisableSecretDeletion Enable this flag to prevent removal of secrets from the GitHub destination when syncing.- DisableSecretDeletion *bool `json:"disableSecretDeletion,omitempty"`-- // IncludeAllSubFolders Whether to sync secrets from folders beneath the source path as well.- IncludeAllSubFolders *bool `json:"includeAllSubFolders,omitempty"`-- // InitialSyncBehavior Specify how Infisical should resolve the initial sync to the GitHub destination.- InitialSyncBehavior SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior `json:"initialSyncBehavior"`-- // KeySchema Specify the format to use for structuring secret keys in the GitHub destination.- KeySchema *string `json:"keySchema,omitempty"`- } `json:"syncOptions"`- SyncStatus *string `json:"syncStatus,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`- } `json:"secretSync"`+ Imports *[]struct {+ Environment string `json:"environment"`+ FolderId *string `json:"folderId,omitempty"`+ SecretPath string `json:"secretPath"`+ Secrets []struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretPath *string `json:"secretPath,omitempty"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Type string `json:"type"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secrets"`+ } `json:"imports,omitempty"`+ Secrets []struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretPath *string `json:"secretPath,omitempty"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Tags *[]struct {+ Color *string `json:"color,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"tags,omitempty"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secrets"`}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 == 304:+ var dest interface{}+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON304 = &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 SyncGitHubSecretSync400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22310,10 +38888,10 @@ func ParseSyncGitHubSecretSyncResponse(rsp *http.Response) (*SyncGitHubSecretSyncase 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 SyncGitHubSecretSync401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22322,11 +38900,11 @@ func ParseSyncGitHubSecretSyncResponse(rsp *http.Response) (*SyncGitHubSecretSyncase 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 SyncGitHubSecretSync403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22335,10 +38913,10 @@ func ParseSyncGitHubSecretSyncResponse(rsp *http.Response) (*SyncGitHubSecretSyncase 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 SyncGitHubSecretSync404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22347,10 +38925,10 @@ func ParseSyncGitHubSecretSyncResponse(rsp *http.Response) (*SyncGitHubSecretSyncase 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 SyncGitHubSecretSync422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22359,10 +38937,10 @@ func ParseSyncGitHubSecretSyncResponse(rsp *http.Response) (*SyncGitHubSecretSyncase 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 SyncGitHubSecretSync500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22374,56 +38952,22 @@ func ParseSyncGitHubSecretSyncResponse(rsp *http.Response) (*SyncGitHubSecretSynreturn response, nil}-// ParseCreateOrganizationResponse parses an HTTP response from a CreateOrganizationWithResponse call-func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationResponse, error) {+// ParseDeleteManySecretsV4Response parses an HTTP response from a DeleteManySecretsV4WithResponse call+func ParseDeleteManySecretsV4Response(rsp *http.Response) (*DeleteManySecretsV4Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &CreateOrganizationResponse{+ response := &DeleteManySecretsV4Response{Body: bodyBytes,HTTPResponse: rsp,}switch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:- var dest struct {- Organization struct {- AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`- AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`- AuthEnforced *bool `json:"authEnforced,omitempty"`- BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`- BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`- CreatedAt time.Time `json:"createdAt"`- CustomerId *string `json:"customerId,omitempty"`- DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`- EnforceMfa *bool `json:"enforceMfa,omitempty"`- GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`- Id openapi_types.UUID `json:"id"`- KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`- KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`- MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`- MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`- Name string `json:"name"`- ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`- PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`- PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`- PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`- RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`- ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`- ScimEnabled *bool `json:"scimEnabled,omitempty"`- SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`- SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`- SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`- ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`- ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`- Slug string `json:"slug"`- UpdatedAt time.Time `json:"updatedAt"`- UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`- } `json:"organization"`- }+ var dest DeleteManySecretsV4200JSONResponseBodyif err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err}@@ -22431,11 +38975,11 @@ func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationRescase 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 CreateOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteManySecretsV4400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22444,10 +38988,10 @@ func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationRescase 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 CreateOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteManySecretsV4401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22456,11 +39000,11 @@ func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationRescase 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 CreateOrganization403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteManySecretsV4403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22469,10 +39013,10 @@ func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationRescase 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 CreateOrganization404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteManySecretsV4404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22481,10 +39025,10 @@ func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationRescase 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 CreateOrganization422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DeleteManySecretsV4422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22493,10 +39037,10 @@ func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationRescase 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 CreateOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteManySecretsV4500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22508,57 +39052,22 @@ func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationResreturn response, nil}-// ParseDeleteOrganizationResponse parses an HTTP response from a DeleteOrganizationWithResponse call-func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationResponse, error) {+// ParseUpdateManySecretsV4Response parses an HTTP response from a UpdateManySecretsV4WithResponse call+func ParseUpdateManySecretsV4Response(rsp *http.Response) (*UpdateManySecretsV4Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &DeleteOrganizationResponse{+ response := &UpdateManySecretsV4Response{Body: bodyBytes,HTTPResponse: rsp,}switch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:- var dest struct {- AccessToken string `json:"accessToken"`- Organization struct {- AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`- AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`- AuthEnforced *bool `json:"authEnforced,omitempty"`- BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`- BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`- CreatedAt time.Time `json:"createdAt"`- CustomerId *string `json:"customerId,omitempty"`- DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`- EnforceMfa *bool `json:"enforceMfa,omitempty"`- GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`- Id openapi_types.UUID `json:"id"`- KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`- KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`- MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`- MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`- Name string `json:"name"`- ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`- PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`- PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`- PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`- RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`- ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`- ScimEnabled *bool `json:"scimEnabled,omitempty"`- SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`- SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`- SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`- ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`- ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`- Slug string `json:"slug"`- UpdatedAt time.Time `json:"updatedAt"`- UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`- } `json:"organization"`- }+ var dest UpdateManySecretsV4200JSONResponseBodyif err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err}@@ -22566,11 +39075,11 @@ func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationRescase 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 DeleteOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateManySecretsV4400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22579,10 +39088,10 @@ func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationRescase 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 DeleteOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateManySecretsV4401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22591,11 +39100,11 @@ func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationRescase 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 DeleteOrganization403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateManySecretsV4403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22604,10 +39113,10 @@ func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationRescase 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 DeleteOrganization404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateManySecretsV4404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22616,10 +39125,10 @@ func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationRescase 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 DeleteOrganization422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode UpdateManySecretsV4422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22628,10 +39137,10 @@ func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationRescase 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 DeleteOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateManySecretsV4500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22643,24 +39152,22 @@ func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationResreturn response, nil}-// ParseLoginV3Response parses an HTTP response from a LoginV3WithResponse call-func ParseLoginV3Response(rsp *http.Response) (*LoginV3Response, error) {+// ParseCreateManySecretsV4Response parses an HTTP response from a CreateManySecretsV4WithResponse call+func ParseCreateManySecretsV4Response(rsp *http.Response) (*CreateManySecretsV4Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &LoginV3Response{+ response := &CreateManySecretsV4Response{Body: bodyBytes,HTTPResponse: rsp,}switch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:- var dest struct {- AccessToken string `json:"accessToken"`- }+ var dest CreateManySecretsV4200JSONResponseBodyif err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err}@@ -22668,11 +39175,11 @@ func ParseLoginV3Response(rsp *http.Response) (*LoginV3Response, error) {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 LoginV3400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateManySecretsV4400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22681,10 +39188,10 @@ func ParseLoginV3Response(rsp *http.Response) (*LoginV3Response, error) {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 LoginV3401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateManySecretsV4401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22693,11 +39200,11 @@ func ParseLoginV3Response(rsp *http.Response) (*LoginV3Response, error) {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 LoginV3403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateManySecretsV4403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22706,10 +39213,10 @@ func ParseLoginV3Response(rsp *http.Response) (*LoginV3Response, error) {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 LoginV3404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateManySecretsV4404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22718,10 +39225,10 @@ func ParseLoginV3Response(rsp *http.Response) (*LoginV3Response, error) {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 LoginV3422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateManySecretsV4422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22730,10 +39237,10 @@ func ParseLoginV3Response(rsp *http.Response) (*LoginV3Response, error) {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 LoginV3500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateManySecretsV4500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22745,15 +39252,15 @@ func ParseLoginV3Response(rsp *http.Response) (*LoginV3Response, error) {return response, nil}-// ParseSelectOrganizationV3Response parses an HTTP response from a SelectOrganizationV3WithResponse call-func ParseSelectOrganizationV3Response(rsp *http.Response) (*SelectOrganizationV3Response, error) {+// ParseDuplicateSecretV4Response parses an HTTP response from a DuplicateSecretV4WithResponse call+func ParseDuplicateSecretV4Response(rsp *http.Response) (*DuplicateSecretV4Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &SelectOrganizationV3Response{+ response := &DuplicateSecretV4Response{Body: bodyBytes,HTTPResponse: rsp,}@@ -22761,9 +39268,7 @@ func ParseSelectOrganizationV3Response(rsp *http.Response) (*SelectOrganizationVswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- IsMfaEnabled bool `json:"isMfaEnabled"`- MfaMethod *string `json:"mfaMethod,omitempty"`- Token string `json:"token"`+ Results []DuplicateSecretV4200JSONResponseBody_Results_Item `json:"results"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22772,11 +39277,11 @@ func ParseSelectOrganizationV3Response(rsp *http.Response) (*SelectOrganizationVcase 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 SelectOrganizationV3400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DuplicateSecretV4400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22785,10 +39290,10 @@ func ParseSelectOrganizationV3Response(rsp *http.Response) (*SelectOrganizationVcase 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 SelectOrganizationV3401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DuplicateSecretV4401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22797,11 +39302,11 @@ func ParseSelectOrganizationV3Response(rsp *http.Response) (*SelectOrganizationVcase 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 SelectOrganizationV3403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DuplicateSecretV4403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22810,10 +39315,10 @@ func ParseSelectOrganizationV3Response(rsp *http.Response) (*SelectOrganizationVcase 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 SelectOrganizationV3404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DuplicateSecretV4404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22822,10 +39327,10 @@ func ParseSelectOrganizationV3Response(rsp *http.Response) (*SelectOrganizationVcase 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 SelectOrganizationV3422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DuplicateSecretV4422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22834,10 +39339,10 @@ func ParseSelectOrganizationV3Response(rsp *http.Response) (*SelectOrganizationVcase 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 SelectOrganizationV3500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DuplicateSecretV4500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22849,15 +39354,15 @@ func ParseSelectOrganizationV3Response(rsp *http.Response) (*SelectOrganizationVreturn response, nil}-// ParseCompleteAccountSignupV3Response parses an HTTP response from a CompleteAccountSignupV3WithResponse call-func ParseCompleteAccountSignupV3Response(rsp *http.Response) (*CompleteAccountSignupV3Response, error) {+// ParseGetSecretByIdV4Response parses an HTTP response from a GetSecretByIdV4WithResponse call+func ParseGetSecretByIdV4Response(rsp *http.Response) (*GetSecretByIdV4Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &CompleteAccountSignupV3Response{+ response := &GetSecretByIdV4Response{Body: bodyBytes,HTTPResponse: rsp,}@@ -22865,18 +39370,43 @@ func ParseCompleteAccountSignupV3Response(rsp *http.Response) (*CompleteAccountSswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- Message string `json:"message"`- Token string `json:"token"`- User struct {- AuthMethods *[]string `json:"authMethods,omitempty"`- Email *string `json:"email,omitempty"`- FirstName *string `json:"firstName,omitempty"`- Id openapi_types.UUID `json:"id"`- IsEmailVerified *bool `json:"isEmailVerified,omitempty"`- LastName *string `json:"lastName,omitempty"`- PublicKey *string `json:"publicKey,omitempty"`- Username string `json:"username"`- } `json:"user"`+ Secret struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretPath string `json:"secretPath"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Tags *[]struct {+ Color *string `json:"color,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"tags,omitempty"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secret"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22885,11 +39415,11 @@ func ParseCompleteAccountSignupV3Response(rsp *http.Response) (*CompleteAccountScase 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 CompleteAccountSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByIdV4400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22898,10 +39428,10 @@ func ParseCompleteAccountSignupV3Response(rsp *http.Response) (*CompleteAccountScase 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 CompleteAccountSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByIdV4401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22910,11 +39440,11 @@ func ParseCompleteAccountSignupV3Response(rsp *http.Response) (*CompleteAccountScase 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 CompleteAccountSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByIdV4403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22923,10 +39453,10 @@ func ParseCompleteAccountSignupV3Response(rsp *http.Response) (*CompleteAccountScase 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 CompleteAccountSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByIdV4404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22935,10 +39465,10 @@ func ParseCompleteAccountSignupV3Response(rsp *http.Response) (*CompleteAccountScase 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 CompleteAccountSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByIdV4422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22947,10 +39477,10 @@ func ParseCompleteAccountSignupV3Response(rsp *http.Response) (*CompleteAccountScase 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 CompleteAccountSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByIdV4500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22962,15 +39492,15 @@ func ParseCompleteAccountSignupV3Response(rsp *http.Response) (*CompleteAccountSreturn response, nil}-// ParseBeginEmailSignupV3Response parses an HTTP response from a BeginEmailSignupV3WithResponse call-func ParseBeginEmailSignupV3Response(rsp *http.Response) (*BeginEmailSignupV3Response, error) {+// ParseMoveSecretsV4Response parses an HTTP response from a MoveSecretsV4WithResponse call+func ParseMoveSecretsV4Response(rsp *http.Response) (*MoveSecretsV4Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &BeginEmailSignupV3Response{+ response := &MoveSecretsV4Response{Body: bodyBytes,HTTPResponse: rsp,}@@ -22978,8 +39508,8 @@ func ParseBeginEmailSignupV3Response(rsp *http.Response) (*BeginEmailSignupV3Resswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- CooldownSeconds float32 `json:"cooldownSeconds"`- Message string `json:"message"`+ IsDestinationUpdated bool `json:"isDestinationUpdated"`+ IsSourceUpdated bool `json:"isSourceUpdated"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -22988,11 +39518,11 @@ func ParseBeginEmailSignupV3Response(rsp *http.Response) (*BeginEmailSignupV3Rescase 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 BeginEmailSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode MoveSecretsV4400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23001,10 +39531,10 @@ func ParseBeginEmailSignupV3Response(rsp *http.Response) (*BeginEmailSignupV3Rescase 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 BeginEmailSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode MoveSecretsV4401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23013,11 +39543,11 @@ func ParseBeginEmailSignupV3Response(rsp *http.Response) (*BeginEmailSignupV3Rescase 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 BeginEmailSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode MoveSecretsV4403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23026,10 +39556,10 @@ func ParseBeginEmailSignupV3Response(rsp *http.Response) (*BeginEmailSignupV3Rescase 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 BeginEmailSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode MoveSecretsV4404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23038,10 +39568,10 @@ func ParseBeginEmailSignupV3Response(rsp *http.Response) (*BeginEmailSignupV3Rescase 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 BeginEmailSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode MoveSecretsV4422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23050,10 +39580,10 @@ func ParseBeginEmailSignupV3Response(rsp *http.Response) (*BeginEmailSignupV3Rescase 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 BeginEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode MoveSecretsV4500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23065,35 +39595,22 @@ func ParseBeginEmailSignupV3Response(rsp *http.Response) (*BeginEmailSignupV3Resreturn response, nil}-// ParseVerifyEmailSignupV3Response parses an HTTP response from a VerifyEmailSignupV3WithResponse call-func ParseVerifyEmailSignupV3Response(rsp *http.Response) (*VerifyEmailSignupV3Response, error) {+// ParseDeleteSecretV4Response parses an HTTP response from a DeleteSecretV4WithResponse call+func ParseDeleteSecretV4Response(rsp *http.Response) (*DeleteSecretV4Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &VerifyEmailSignupV3Response{+ response := &DeleteSecretV4Response{Body: bodyBytes,HTTPResponse: rsp,}switch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:- var dest struct {- Message string `json:"message"`- Token string `json:"token"`- User struct {- AuthMethods *[]string `json:"authMethods,omitempty"`- Email *string `json:"email,omitempty"`- FirstName *string `json:"firstName,omitempty"`- Id openapi_types.UUID `json:"id"`- IsEmailVerified *bool `json:"isEmailVerified,omitempty"`- LastName *string `json:"lastName,omitempty"`- PublicKey *string `json:"publicKey,omitempty"`- Username string `json:"username"`- } `json:"user"`- }+ var dest DeleteSecretV4200JSONResponseBodyif err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err}@@ -23101,11 +39618,11 @@ func ParseVerifyEmailSignupV3Response(rsp *http.Response) (*VerifyEmailSignupV3Rcase 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 VerifyEmailSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretV4400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23114,10 +39631,10 @@ func ParseVerifyEmailSignupV3Response(rsp *http.Response) (*VerifyEmailSignupV3Rcase 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 VerifyEmailSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretV4401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23126,11 +39643,11 @@ func ParseVerifyEmailSignupV3Response(rsp *http.Response) (*VerifyEmailSignupV3Rcase 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 VerifyEmailSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretV4403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23139,10 +39656,10 @@ func ParseVerifyEmailSignupV3Response(rsp *http.Response) (*VerifyEmailSignupV3Rcase 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 VerifyEmailSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretV4404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23151,10 +39668,10 @@ func ParseVerifyEmailSignupV3Response(rsp *http.Response) (*VerifyEmailSignupV3Rcase 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 VerifyEmailSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretV4422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23163,10 +39680,10 @@ func ParseVerifyEmailSignupV3Response(rsp *http.Response) (*VerifyEmailSignupV3Rcase 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 VerifyEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteSecretV4500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23178,15 +39695,15 @@ func ParseVerifyEmailSignupV3Response(rsp *http.Response) (*VerifyEmailSignupV3Rreturn response, nil}-// ParseListSecretsV4Response parses an HTTP response from a ListSecretsV4WithResponse call-func ParseListSecretsV4Response(rsp *http.Response) (*ListSecretsV4Response, error) {+// ParseGetSecretByNameV4Response parses an HTTP response from a GetSecretByNameV4WithResponse call+func ParseGetSecretByNameV4Response(rsp *http.Response) (*GetSecretByNameV4Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &ListSecretsV4Response{+ response := &GetSecretByNameV4Response{Body: bodyBytes,HTTPResponse: rsp,}@@ -23194,42 +39711,7 @@ func ParseListSecretsV4Response(rsp *http.Response) (*ListSecretsV4Response, errswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- Imports *[]struct {- Environment string `json:"environment"`- FolderId *string `json:"folderId,omitempty"`- SecretPath string `json:"secretPath"`- Secrets []struct {- UnderscoreId string `json:"_id"`- Actor *struct {- ActorId *string `json:"actorId,omitempty"`- ActorType *string `json:"actorType,omitempty"`- GroupId *string `json:"groupId,omitempty"`- MembershipId *string `json:"membershipId,omitempty"`- Name *string `json:"name,omitempty"`- } `json:"actor,omitempty"`- Environment string `json:"environment"`- Id string `json:"id"`- IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`- RotationId *openapi_types.UUID `json:"rotationId,omitempty"`- SecretComment string `json:"secretComment"`- SecretKey string `json:"secretKey"`- SecretMetadata *[]struct {- IsEncrypted *bool `json:"isEncrypted,omitempty"`- Key string `json:"key"`- Value *string `json:"value,omitempty"`- } `json:"secretMetadata,omitempty"`- SecretPath *string `json:"secretPath,omitempty"`- SecretReminderNote *string `json:"secretReminderNote,omitempty"`- SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`- SecretValue string `json:"secretValue"`- SecretValueHidden bool `json:"secretValueHidden"`- SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`- Type string `json:"type"`- Version float32 `json:"version"`- Workspace string `json:"workspace"`- } `json:"secrets"`- } `json:"imports,omitempty"`- Secrets []struct {+ Secret struct {UnderscoreId string `json:"_id"`Actor *struct {ActorId *string `json:"actorId,omitempty"`@@ -23250,7 +39732,7 @@ func ParseListSecretsV4Response(rsp *http.Response) (*ListSecretsV4Response, errKey string `json:"key"`Value *string `json:"value,omitempty"`} `json:"secretMetadata,omitempty"`- SecretPath *string `json:"secretPath,omitempty"`+ SecretPath string `json:"secretPath"`SecretReminderNote *string `json:"secretReminderNote,omitempty"`SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`SecretValue string `json:"secretValue"`@@ -23266,27 +39748,120 @@ func ParseListSecretsV4Response(rsp *http.Response) (*ListSecretsV4Response, errUpdatedAt time.Time `json:"updatedAt"`Version float32 `json:"version"`Workspace string `json:"workspace"`- } `json:"secrets"`+ } `json:"secret"`+ }+ 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 GetSecretByNameV4400JSONResponseBodyStatusCode `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 GetSecretByNameV4401JSONResponseBodyStatusCode `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 GetSecretByNameV4403JSONResponseBodyStatusCode `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 GetSecretByNameV4404JSONResponseBodyStatusCode `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 GetSecretByNameV4422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err}- response.JSON200 = &dest+ response.JSON422 = &dest- case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 304:- var dest interface{}+ 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 GetSecretByNameV4500JSONResponseBodyStatusCode `json:"statusCode"`+ }if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err}- response.JSON304 = &dest+ response.JSON500 = &dest++ }++ return response, nil+}++// ParseUpdateSecretV4Response parses an HTTP response from a UpdateSecretV4WithResponse call+func ParseUpdateSecretV4Response(rsp *http.Response) (*UpdateSecretV4Response, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &UpdateSecretV4Response{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest UpdateSecretV4200JSONResponseBody+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON200 = &destcase 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 ListSecretsV4400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretV4400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23295,10 +39870,10 @@ func ParseListSecretsV4Response(rsp *http.Response) (*ListSecretsV4Response, errcase 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 ListSecretsV4401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretV4401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23307,11 +39882,11 @@ func ParseListSecretsV4Response(rsp *http.Response) (*ListSecretsV4Response, errcase 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 ListSecretsV4403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretV4403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23320,10 +39895,10 @@ func ParseListSecretsV4Response(rsp *http.Response) (*ListSecretsV4Response, errcase 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 ListSecretsV4404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretV4404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23332,10 +39907,10 @@ func ParseListSecretsV4Response(rsp *http.Response) (*ListSecretsV4Response, errcase 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 ListSecretsV4422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretV4422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23344,10 +39919,10 @@ func ParseListSecretsV4Response(rsp *http.Response) (*ListSecretsV4Response, errcase 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 ListSecretsV4500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateSecretV4500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23359,22 +39934,22 @@ func ParseListSecretsV4Response(rsp *http.Response) (*ListSecretsV4Response, errreturn response, nil}-// ParseDeleteSecretV4Response parses an HTTP response from a DeleteSecretV4WithResponse call-func ParseDeleteSecretV4Response(rsp *http.Response) (*DeleteSecretV4Response, error) {+// ParseCreateSecretV4Response parses an HTTP response from a CreateSecretV4WithResponse call+func ParseCreateSecretV4Response(rsp *http.Response) (*CreateSecretV4Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &DeleteSecretV4Response{+ response := &CreateSecretV4Response{Body: bodyBytes,HTTPResponse: rsp,}switch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:- var dest DeleteSecretV4200JSONResponseBody+ var dest CreateSecretV4200JSONResponseBodyif err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err}@@ -23386,7 +39961,7 @@ func ParseDeleteSecretV4Response(rsp *http.Response) (*DeleteSecretV4Response, eError string `json:"error"`Message string `json:"message"`ReqId string `json:"reqId"`- StatusCode DeleteSecretV4400JSONResponseBodyStatusCode `json:"statusCode"`+ StatusCode CreateSecretV4400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23398,7 +39973,7 @@ func ParseDeleteSecretV4Response(rsp *http.Response) (*DeleteSecretV4Response, eError string `json:"error"`Message string `json:"message"`ReqId string `json:"reqId"`- StatusCode DeleteSecretV4401JSONResponseBodyStatusCode `json:"statusCode"`+ StatusCode CreateSecretV4401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23411,7 +39986,7 @@ func ParseDeleteSecretV4Response(rsp *http.Response) (*DeleteSecretV4Response, eError string `json:"error"`Message string `json:"message"`ReqId string `json:"reqId"`- StatusCode DeleteSecretV4403JSONResponseBodyStatusCode `json:"statusCode"`+ StatusCode CreateSecretV4403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23423,7 +39998,7 @@ func ParseDeleteSecretV4Response(rsp *http.Response) (*DeleteSecretV4Response, eError string `json:"error"`Message string `json:"message"`ReqId string `json:"reqId"`- StatusCode DeleteSecretV4404JSONResponseBodyStatusCode `json:"statusCode"`+ StatusCode CreateSecretV4404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23435,7 +40010,7 @@ func ParseDeleteSecretV4Response(rsp *http.Response) (*DeleteSecretV4Response, eError string `json:"error"`Message interface{} `json:"message,omitempty"`ReqId string `json:"reqId"`- StatusCode DeleteSecretV4422JSONResponseBodyStatusCode `json:"statusCode"`+ StatusCode CreateSecretV4422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23447,7 +40022,7 @@ func ParseDeleteSecretV4Response(rsp *http.Response) (*DeleteSecretV4Response, eError string `json:"error"`Message string `json:"message"`ReqId string `json:"reqId"`- StatusCode DeleteSecretV4500JSONResponseBodyStatusCode `json:"statusCode"`+ StatusCode CreateSecretV4500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23459,15 +40034,15 @@ func ParseDeleteSecretV4Response(rsp *http.Response) (*DeleteSecretV4Response, ereturn response, nil}-// ParseGetSecretByNameV4Response parses an HTTP response from a GetSecretByNameV4WithResponse call-func ParseGetSecretByNameV4Response(rsp *http.Response) (*GetSecretByNameV4Response, error) {+// ParseGetSecretReferencesV4Response parses an HTTP response from a GetSecretReferencesV4WithResponse call+func ParseGetSecretReferencesV4Response(rsp *http.Response) (*GetSecretReferencesV4Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &GetSecretByNameV4Response{+ response := &GetSecretReferencesV4Response{Body: bodyBytes,HTTPResponse: rsp,}@@ -23475,44 +40050,18 @@ func ParseGetSecretByNameV4Response(rsp *http.Response) (*GetSecretByNameV4Resposwitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- Secret struct {- UnderscoreId string `json:"_id"`- Actor *struct {- ActorId *string `json:"actorId,omitempty"`- ActorType *string `json:"actorType,omitempty"`- GroupId *string `json:"groupId,omitempty"`- MembershipId *string `json:"membershipId,omitempty"`- Name *string `json:"name,omitempty"`- } `json:"actor,omitempty"`- CreatedAt time.Time `json:"createdAt"`- Environment string `json:"environment"`- Id string `json:"id"`- IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`- RotationId *openapi_types.UUID `json:"rotationId,omitempty"`- SecretComment string `json:"secretComment"`- SecretKey string `json:"secretKey"`- SecretMetadata *[]struct {- IsEncrypted *bool `json:"isEncrypted,omitempty"`- Key string `json:"key"`- Value *string `json:"value,omitempty"`- } `json:"secretMetadata,omitempty"`- SecretPath string `json:"secretPath"`- SecretReminderNote *string `json:"secretReminderNote,omitempty"`- SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`- SecretValue string `json:"secretValue"`- SecretValueHidden bool `json:"secretValueHidden"`- SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`- Tags *[]struct {- Color *string `json:"color,omitempty"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"tags,omitempty"`- Type string `json:"type"`- UpdatedAt time.Time `json:"updatedAt"`- Version float32 `json:"version"`- Workspace string `json:"workspace"`- } `json:"secret"`+ Tree struct {+ Children []interface{} `json:"children"`+ Environment string `json:"environment"`+ Key string `json:"key"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"project,omitempty"`+ SecretPath string `json:"secretPath"`+ Value *string `json:"value,omitempty"`+ } `json:"tree"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23521,11 +40070,11 @@ func ParseGetSecretByNameV4Response(rsp *http.Response) (*GetSecretByNameV4Respocase 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 GetSecretByNameV4400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferencesV4400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23534,10 +40083,10 @@ func ParseGetSecretByNameV4Response(rsp *http.Response) (*GetSecretByNameV4Respocase 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 GetSecretByNameV4401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferencesV4401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23546,11 +40095,11 @@ func ParseGetSecretByNameV4Response(rsp *http.Response) (*GetSecretByNameV4Respocase 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 GetSecretByNameV4403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferencesV4403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23559,10 +40108,10 @@ func ParseGetSecretByNameV4Response(rsp *http.Response) (*GetSecretByNameV4Respocase 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 GetSecretByNameV4404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferencesV4404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23571,10 +40120,10 @@ func ParseGetSecretByNameV4Response(rsp *http.Response) (*GetSecretByNameV4Respocase 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 GetSecretByNameV4422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferencesV4422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23583,10 +40132,10 @@ func ParseGetSecretByNameV4Response(rsp *http.Response) (*GetSecretByNameV4Respocase 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 GetSecretByNameV4500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferencesV4500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23598,22 +40147,36 @@ func ParseGetSecretByNameV4Response(rsp *http.Response) (*GetSecretByNameV4Resporeturn response, nil}-// ParseCreateSecretV4Response parses an HTTP response from a CreateSecretV4WithResponse call-func ParseCreateSecretV4Response(rsp *http.Response) (*CreateSecretV4Response, error) {+// ParseGetSecretReferenceTreeV4Response parses an HTTP response from a GetSecretReferenceTreeV4WithResponse call+func ParseGetSecretReferenceTreeV4Response(rsp *http.Response) (*GetSecretReferenceTreeV4Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &CreateSecretV4Response{+ response := &GetSecretReferenceTreeV4Response{Body: bodyBytes,HTTPResponse: rsp,}switch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:- var dest CreateSecretV4200JSONResponseBody+ var dest struct {+ Tree struct {+ Children []interface{} `json:"children"`+ Environment string `json:"environment"`+ Key string `json:"key"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"project,omitempty"`+ SecretPath string `json:"secretPath"`+ Value *string `json:"value,omitempty"`+ } `json:"tree"`+ Value *string `json:"value,omitempty"`+ }if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err}@@ -23621,11 +40184,11 @@ func ParseCreateSecretV4Response(rsp *http.Response) (*CreateSecretV4Response, ecase 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 CreateSecretV4400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferenceTreeV4400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23634,10 +40197,10 @@ func ParseCreateSecretV4Response(rsp *http.Response) (*CreateSecretV4Response, ecase 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 CreateSecretV4401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferenceTreeV4401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23646,11 +40209,11 @@ func ParseCreateSecretV4Response(rsp *http.Response) (*CreateSecretV4Response, ecase 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 CreateSecretV4403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferenceTreeV4403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23659,10 +40222,10 @@ func ParseCreateSecretV4Response(rsp *http.Response) (*CreateSecretV4Response, ecase 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 CreateSecretV4404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferenceTreeV4404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23671,10 +40234,10 @@ func ParseCreateSecretV4Response(rsp *http.Response) (*CreateSecretV4Response, ecase 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 CreateSecretV4422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferenceTreeV4422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -23683,10 +40246,10 @@ func ParseCreateSecretV4Response(rsp *http.Response) (*CreateSecretV4Response, ecase 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 CreateSecretV4500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretReferenceTreeV4500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, errdiff --git a/tests/clients/api/oapi-codegen.yaml b/tests/clients/api/oapi-codegen.yamlindex ae68c78306..1c0874bacd 100644--- a/tests/clients/api/oapi-codegen.yaml+++ b/tests/clients/api/oapi-codegen.yaml@@ -50,3 +50,30 @@ output-options:- deleteSecretV4- getSecretByNameV4- listSecretsV4+ - updateSecretV4+ - getSecretByIdV4+ - moveSecretsV4+ - duplicateSecretV4+ - createManySecretsV4+ - updateManySecretsV4+ - deleteManySecretsV4+ - getSecretReferencesV4+ - getSecretReferenceTreeV4+ - createSecretFolder+ - createSecretTag+ - createSecretImport+ - createIdentityFolderAccess+ - updateOrganization+ - createProjectFolderGrant+ - deleteProjectFolderGrant+ - createSecretApprovalPolicy+ - updateSecretApprovalPolicy+ - deleteSecretApprovalPolicy+ - getSecretApprovalPolicy+ - getSecretApprovalPolicyBoard+ - listSecretApprovalRequests+ - getSecretApprovalRequestCount+ - getSecretApprovalRequest+ - reviewSecretApprovalRequest+ - updateSecretApprovalRequestStatus+ - mergeSecretApprovalRequest