Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Merge remote-tracking branch 'origin/main' into PLATFOR-857

=5918ccfdcb1b
diff --cc tests/clients/api/api.gen.go
index cd7c206bb2,e7dddbd6c0..efc3ed730f
--- a/tests/clients/api/api.gen.go
+++ b/tests/clients/api/api.gen.go
@@@ -5190,6186 -5778,8637 +5778,9892 @@@ func (e CreateSecretTag500JSONResponseB
}
}
- // Defines values for UpdateSecretApprovalRequestStatusJSONBodyStatus.
-// Defines values for ListSecretApprovalRequestsParamsStatus.
++// Defines values for PatchScimGroupJSONBodyOperations0Op0.
const (
- UpdateSecretApprovalRequestStatusJSONBodyStatusClose UpdateSecretApprovalRequestStatusJSONBodyStatus = "close"
- UpdateSecretApprovalRequestStatusJSONBodyStatusOpen UpdateSecretApprovalRequestStatusJSONBodyStatus = "open"
- ListSecretApprovalRequestsParamsStatusClose ListSecretApprovalRequestsParamsStatus = "close"
- ListSecretApprovalRequestsParamsStatusOpen ListSecretApprovalRequestsParamsStatus = "open"
++ PatchScimGroupJSONBodyOperations0Op0Remove PatchScimGroupJSONBodyOperations0Op0 = "remove"
)
- // Valid indicates whether the value is a known member of the UpdateSecretApprovalRequestStatusJSONBodyStatus enum.
- func (e UpdateSecretApprovalRequestStatusJSONBodyStatus) Valid() bool {
-// Valid indicates whether the value is a known member of the ListSecretApprovalRequestsParamsStatus enum.
-func (e ListSecretApprovalRequestsParamsStatus) Valid() bool {
++// Valid indicates whether the value is a known member of the PatchScimGroupJSONBodyOperations0Op0 enum.
++func (e PatchScimGroupJSONBodyOperations0Op0) Valid() bool {
switch e {
- case UpdateSecretApprovalRequestStatusJSONBodyStatusClose:
- case ListSecretApprovalRequestsParamsStatusClose:
-- return true
- case UpdateSecretApprovalRequestStatusJSONBodyStatusOpen:
- case ListSecretApprovalRequestsParamsStatusOpen:
++ case PatchScimGroupJSONBodyOperations0Op0Remove:
return true
default:
return false
}
}
- // Defines values for UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCode.
-// Defines values for ListSecretApprovalRequestsParamsOrderBy.
++// Defines values for PatchScimGroupJSONBodyOperations0Op1.
const (
- UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCodeN400 UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCode = 400
- Author ListSecretApprovalRequestsParamsOrderBy = "author"
- CreatedAt ListSecretApprovalRequestsParamsOrderBy = "createdAt"
- Environment ListSecretApprovalRequestsParamsOrderBy = "environment"
- SecretPath ListSecretApprovalRequestsParamsOrderBy = "secretPath"
++ PatchScimGroupJSONBodyOperations0Op1Remove PatchScimGroupJSONBodyOperations0Op1 = "Remove"
)
- // Valid indicates whether the value is a known member of the UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCode enum.
- func (e UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the ListSecretApprovalRequestsParamsOrderBy enum.
-func (e ListSecretApprovalRequestsParamsOrderBy) Valid() bool {
++// Valid indicates whether the value is a known member of the PatchScimGroupJSONBodyOperations0Op1 enum.
++func (e PatchScimGroupJSONBodyOperations0Op1) Valid() bool {
switch e {
- case UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCodeN400:
- case Author:
- return true
- case CreatedAt:
- return true
- case Environment:
- return true
- case SecretPath:
++ case PatchScimGroupJSONBodyOperations0Op1Remove:
return true
default:
return false
}
}
- // Defines values for UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCode.
-// Defines values for ListSecretApprovalRequestsParamsOrderDirection.
++// Defines values for PatchScimGroupJSONBodyOperations1Op0.
const (
- UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCodeN401 UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCode = 401
- ListSecretApprovalRequestsParamsOrderDirectionAsc ListSecretApprovalRequestsParamsOrderDirection = "asc"
- ListSecretApprovalRequestsParamsOrderDirectionDesc ListSecretApprovalRequestsParamsOrderDirection = "desc"
++ PatchScimGroupJSONBodyOperations1Op0Add PatchScimGroupJSONBodyOperations1Op0 = "add"
)
- // Valid indicates whether the value is a known member of the UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCode enum.
- func (e UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the ListSecretApprovalRequestsParamsOrderDirection enum.
-func (e ListSecretApprovalRequestsParamsOrderDirection) Valid() bool {
++// Valid indicates whether the value is a known member of the PatchScimGroupJSONBodyOperations1Op0 enum.
++func (e PatchScimGroupJSONBodyOperations1Op0) Valid() bool {
switch e {
- case UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCodeN401:
- case ListSecretApprovalRequestsParamsOrderDirectionAsc:
- return true
- case ListSecretApprovalRequestsParamsOrderDirectionDesc:
++ case PatchScimGroupJSONBodyOperations1Op0Add:
return true
default:
return false
}
}
- // Defines values for UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCode.
-// Defines values for ListSecretApprovalRequests400JSONResponseBodyStatusCode.
++// Defines values for PatchScimGroupJSONBodyOperations1Op1.
const (
- UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCodeN403 UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCode = 403
- ListSecretApprovalRequests400JSONResponseBodyStatusCodeN400 ListSecretApprovalRequests400JSONResponseBodyStatusCode = 400
++ PatchScimGroupJSONBodyOperations1Op1Add PatchScimGroupJSONBodyOperations1Op1 = "Add"
)
- // Valid indicates whether the value is a known member of the UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCode enum.
- func (e UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the ListSecretApprovalRequests400JSONResponseBodyStatusCode enum.
-func (e ListSecretApprovalRequests400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the PatchScimGroupJSONBodyOperations1Op1 enum.
++func (e PatchScimGroupJSONBodyOperations1Op1) Valid() bool {
switch e {
- case UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCodeN403:
- case ListSecretApprovalRequests400JSONResponseBodyStatusCodeN400:
++ case PatchScimGroupJSONBodyOperations1Op1Add:
return true
default:
return false
}
}
- // Defines values for UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCode.
-// Defines values for ListSecretApprovalRequests401JSONResponseBodyStatusCode.
++// Defines values for PatchScimGroupJSONBodyOperations1Op2.
const (
- UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCodeN404 UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCode = 404
- ListSecretApprovalRequests401JSONResponseBodyStatusCodeN401 ListSecretApprovalRequests401JSONResponseBodyStatusCode = 401
++ PatchScimGroupJSONBodyOperations1Op2Replace PatchScimGroupJSONBodyOperations1Op2 = "replace"
)
- // Valid indicates whether the value is a known member of the UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCode enum.
- func (e UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the ListSecretApprovalRequests401JSONResponseBodyStatusCode enum.
-func (e ListSecretApprovalRequests401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the PatchScimGroupJSONBodyOperations1Op2 enum.
++func (e PatchScimGroupJSONBodyOperations1Op2) Valid() bool {
switch e {
- case UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCodeN404:
- case ListSecretApprovalRequests401JSONResponseBodyStatusCodeN401:
++ case PatchScimGroupJSONBodyOperations1Op2Replace:
return true
default:
return false
}
}
- // Defines values for UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCode.
-// Defines values for ListSecretApprovalRequests403JSONResponseBodyStatusCode.
++// Defines values for PatchScimGroupJSONBodyOperations1Op3.
const (
- UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCodeN422 UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCode = 422
- ListSecretApprovalRequests403JSONResponseBodyStatusCodeN403 ListSecretApprovalRequests403JSONResponseBodyStatusCode = 403
++ PatchScimGroupJSONBodyOperations1Op3Replace PatchScimGroupJSONBodyOperations1Op3 = "Replace"
)
- // Valid indicates whether the value is a known member of the UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCode enum.
- func (e UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the ListSecretApprovalRequests403JSONResponseBodyStatusCode enum.
-func (e ListSecretApprovalRequests403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the PatchScimGroupJSONBodyOperations1Op3 enum.
++func (e PatchScimGroupJSONBodyOperations1Op3) Valid() bool {
switch e {
- case UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCodeN422:
- case ListSecretApprovalRequests403JSONResponseBodyStatusCodeN403:
++ case PatchScimGroupJSONBodyOperations1Op3Replace:
return true
default:
return false
}
}
- // Defines values for UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCode.
-// Defines values for ListSecretApprovalRequests404JSONResponseBodyStatusCode.
++// Defines values for GetScimServiceProviderConfig400JSONResponseBodyStatusCode.
const (
- UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCodeN500 UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCode = 500
- ListSecretApprovalRequests404JSONResponseBodyStatusCodeN404 ListSecretApprovalRequests404JSONResponseBodyStatusCode = 404
++ GetScimServiceProviderConfig400JSONResponseBodyStatusCodeN400 GetScimServiceProviderConfig400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCode enum.
- func (e UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the ListSecretApprovalRequests404JSONResponseBodyStatusCode enum.
-func (e ListSecretApprovalRequests404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetScimServiceProviderConfig400JSONResponseBodyStatusCode enum.
++func (e GetScimServiceProviderConfig400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCodeN500:
- case ListSecretApprovalRequests404JSONResponseBodyStatusCodeN404:
++ case GetScimServiceProviderConfig400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope.
-// Defines values for ListSecretApprovalRequests422JSONResponseBodyStatusCode.
++// Defines values for GetScimServiceProviderConfig401JSONResponseBodyStatusCode.
const (
- CreateGitHubSecretSyncJSONBodyDestinationConfig0ScopeOrganization CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope = "organization"
- ListSecretApprovalRequests422JSONResponseBodyStatusCodeN422 ListSecretApprovalRequests422JSONResponseBodyStatusCode = 422
++ GetScimServiceProviderConfig401JSONResponseBodyStatusCodeN401 GetScimServiceProviderConfig401JSONResponseBodyStatusCode = 401
)
- // 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 ListSecretApprovalRequests422JSONResponseBodyStatusCode enum.
-func (e ListSecretApprovalRequests422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetScimServiceProviderConfig401JSONResponseBodyStatusCode enum.
++func (e GetScimServiceProviderConfig401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateGitHubSecretSyncJSONBodyDestinationConfig0ScopeOrganization:
- case ListSecretApprovalRequests422JSONResponseBodyStatusCodeN422:
++ case GetScimServiceProviderConfig401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility.
-// Defines values for ListSecretApprovalRequests500JSONResponseBodyStatusCode.
++// Defines values for GetScimServiceProviderConfig403JSONResponseBodyStatusCode.
const (
- CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilityAll CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility = "all"
- CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilityPrivate CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility = "private"
- CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilitySelected CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility = "selected"
- ListSecretApprovalRequests500JSONResponseBodyStatusCodeN500 ListSecretApprovalRequests500JSONResponseBodyStatusCode = 500
++ GetScimServiceProviderConfig403JSONResponseBodyStatusCodeN403 GetScimServiceProviderConfig403JSONResponseBodyStatusCode = 403
)
- // 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 ListSecretApprovalRequests500JSONResponseBodyStatusCode enum.
-func (e ListSecretApprovalRequests500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetScimServiceProviderConfig403JSONResponseBodyStatusCode enum.
++func (e GetScimServiceProviderConfig403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilityAll:
- return true
- case CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilityPrivate:
- return true
- case CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilitySelected:
- case ListSecretApprovalRequests500JSONResponseBodyStatusCodeN500:
++ case GetScimServiceProviderConfig403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope.
-// Defines values for GetSecretApprovalRequestCount400JSONResponseBodyStatusCode.
++// Defines values for GetScimServiceProviderConfig404JSONResponseBodyStatusCode.
const (
- CreateGitHubSecretSyncJSONBodyDestinationConfig1ScopeRepository CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope = "repository"
- GetSecretApprovalRequestCount400JSONResponseBodyStatusCodeN400 GetSecretApprovalRequestCount400JSONResponseBodyStatusCode = 400
++ GetScimServiceProviderConfig404JSONResponseBodyStatusCodeN404 GetScimServiceProviderConfig404JSONResponseBodyStatusCode = 404
)
- // 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 GetSecretApprovalRequestCount400JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalRequestCount400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetScimServiceProviderConfig404JSONResponseBodyStatusCode enum.
++func (e GetScimServiceProviderConfig404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateGitHubSecretSyncJSONBodyDestinationConfig1ScopeRepository:
- case GetSecretApprovalRequestCount400JSONResponseBodyStatusCodeN400:
++ case GetScimServiceProviderConfig404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope.
-// Defines values for GetSecretApprovalRequestCount401JSONResponseBodyStatusCode.
++// Defines values for GetScimServiceProviderConfig422JSONResponseBodyStatusCode.
const (
- CreateGitHubSecretSyncJSONBodyDestinationConfig2ScopeRepositoryEnvironment CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope = "repository-environment"
- GetSecretApprovalRequestCount401JSONResponseBodyStatusCodeN401 GetSecretApprovalRequestCount401JSONResponseBodyStatusCode = 401
++ GetScimServiceProviderConfig422JSONResponseBodyStatusCodeN422 GetScimServiceProviderConfig422JSONResponseBodyStatusCode = 422
)
- // 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 GetSecretApprovalRequestCount401JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalRequestCount401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetScimServiceProviderConfig422JSONResponseBodyStatusCode enum.
++func (e GetScimServiceProviderConfig422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateGitHubSecretSyncJSONBodyDestinationConfig2ScopeRepositoryEnvironment:
- case GetSecretApprovalRequestCount401JSONResponseBodyStatusCodeN401:
++ case GetScimServiceProviderConfig422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior.
-// Defines values for GetSecretApprovalRequestCount403JSONResponseBodyStatusCode.
++// Defines values for GetScimServiceProviderConfig500JSONResponseBodyStatusCode.
const (
- CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehaviorOverwriteDestination CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior = "overwrite-destination"
- GetSecretApprovalRequestCount403JSONResponseBodyStatusCodeN403 GetSecretApprovalRequestCount403JSONResponseBodyStatusCode = 403
++ GetScimServiceProviderConfig500JSONResponseBodyStatusCodeN500 GetScimServiceProviderConfig500JSONResponseBodyStatusCode = 500
)
- // 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 GetSecretApprovalRequestCount403JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalRequestCount403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetScimServiceProviderConfig500JSONResponseBodyStatusCode enum.
++func (e GetScimServiceProviderConfig500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehaviorOverwriteDestination:
- case GetSecretApprovalRequestCount403JSONResponseBodyStatusCodeN403:
++ case GetScimServiceProviderConfig500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp.
-// Defines values for GetSecretApprovalRequestCount404JSONResponseBodyStatusCode.
++// Defines values for PatchScimUserJSONBodyOperations0Op0.
const (
- CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp = "github"
- GetSecretApprovalRequestCount404JSONResponseBodyStatusCodeN404 GetSecretApprovalRequestCount404JSONResponseBodyStatusCode = 404
++ PatchScimUserJSONBodyOperations0Op0Remove PatchScimUserJSONBodyOperations0Op0 = "remove"
)
- // 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 GetSecretApprovalRequestCount404JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalRequestCount404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the PatchScimUserJSONBodyOperations0Op0 enum.
++func (e PatchScimUserJSONBodyOperations0Op0) Valid() bool {
switch e {
- case CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub:
- case GetSecretApprovalRequestCount404JSONResponseBodyStatusCodeN404:
++ case PatchScimUserJSONBodyOperations0Op0Remove:
return true
default:
return false
}
}
- // Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination.
-// Defines values for GetSecretApprovalRequestCount422JSONResponseBodyStatusCode.
++// Defines values for PatchScimUserJSONBodyOperations0Op1.
const (
- CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination = "github"
- GetSecretApprovalRequestCount422JSONResponseBodyStatusCodeN422 GetSecretApprovalRequestCount422JSONResponseBodyStatusCode = 422
++ PatchScimUserJSONBodyOperations0Op1Remove PatchScimUserJSONBodyOperations0Op1 = "Remove"
)
- // 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 GetSecretApprovalRequestCount422JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalRequestCount422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the PatchScimUserJSONBodyOperations0Op1 enum.
++func (e PatchScimUserJSONBodyOperations0Op1) Valid() bool {
switch e {
- case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub:
- case GetSecretApprovalRequestCount422JSONResponseBodyStatusCodeN422:
++ case PatchScimUserJSONBodyOperations0Op1Remove:
return true
default:
return false
}
}
- // Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope.
-// Defines values for GetSecretApprovalRequestCount500JSONResponseBodyStatusCode.
++// Defines values for PatchScimUserJSONBodyOperations1Op0.
const (
- CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization"
- GetSecretApprovalRequestCount500JSONResponseBodyStatusCodeN500 GetSecretApprovalRequestCount500JSONResponseBodyStatusCode = 500
++ PatchScimUserJSONBodyOperations1Op0Add PatchScimUserJSONBodyOperations1Op0 = "add"
)
- // 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 GetSecretApprovalRequestCount500JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalRequestCount500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the PatchScimUserJSONBodyOperations1Op0 enum.
++func (e PatchScimUserJSONBodyOperations1Op0) Valid() bool {
switch e {
- case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:
- case GetSecretApprovalRequestCount500JSONResponseBodyStatusCodeN500:
++ case PatchScimUserJSONBodyOperations1Op0Add:
return true
default:
return false
}
}
- // Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility.
-// Defines values for GetSecretApprovalRequest400JSONResponseBodyStatusCode.
++// Defines values for PatchScimUserJSONBodyOperations1Op1.
const (
- CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"
- CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"
- CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected"
- GetSecretApprovalRequest400JSONResponseBodyStatusCodeN400 GetSecretApprovalRequest400JSONResponseBodyStatusCode = 400
++ PatchScimUserJSONBodyOperations1Op1Add PatchScimUserJSONBodyOperations1Op1 = "Add"
)
- // 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 GetSecretApprovalRequest400JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalRequest400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the PatchScimUserJSONBodyOperations1Op1 enum.
++func (e PatchScimUserJSONBodyOperations1Op1) Valid() bool {
switch e {
- case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:
- return true
- case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:
- return true
- case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:
- case GetSecretApprovalRequest400JSONResponseBodyStatusCodeN400:
++ case PatchScimUserJSONBodyOperations1Op1Add:
return true
default:
return false
}
}
- // Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope.
-// Defines values for GetSecretApprovalRequest401JSONResponseBodyStatusCode.
++// Defines values for PatchScimUserJSONBodyOperations1Op2.
const (
- CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository"
- GetSecretApprovalRequest401JSONResponseBodyStatusCodeN401 GetSecretApprovalRequest401JSONResponseBodyStatusCode = 401
++ PatchScimUserJSONBodyOperations1Op2Replace PatchScimUserJSONBodyOperations1Op2 = "replace"
)
- // 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 GetSecretApprovalRequest401JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalRequest401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the PatchScimUserJSONBodyOperations1Op2 enum.
++func (e PatchScimUserJSONBodyOperations1Op2) Valid() bool {
switch e {
- case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:
- case GetSecretApprovalRequest401JSONResponseBodyStatusCodeN401:
++ case PatchScimUserJSONBodyOperations1Op2Replace:
return true
default:
return false
}
}
- // Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope.
-// Defines values for GetSecretApprovalRequest403JSONResponseBodyStatusCode.
++// Defines values for PatchScimUserJSONBodyOperations1Op3.
const (
- CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment"
- GetSecretApprovalRequest403JSONResponseBodyStatusCodeN403 GetSecretApprovalRequest403JSONResponseBodyStatusCode = 403
++ PatchScimUserJSONBodyOperations1Op3Replace PatchScimUserJSONBodyOperations1Op3 = "Replace"
)
- // 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 GetSecretApprovalRequest403JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalRequest403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the PatchScimUserJSONBodyOperations1Op3 enum.
++func (e PatchScimUserJSONBodyOperations1Op3) Valid() bool {
switch e {
- case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:
- case GetSecretApprovalRequest403JSONResponseBodyStatusCodeN403:
++ case PatchScimUserJSONBodyOperations1Op3Replace:
return true
default:
return false
}
}
- // Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.
-// Defines values for GetSecretApprovalRequest404JSONResponseBodyStatusCode.
++// Defines values for ListExternalGroupOrgRoleMappings400JSONResponseBodyStatusCode.
const (
- CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination"
- GetSecretApprovalRequest404JSONResponseBodyStatusCodeN404 GetSecretApprovalRequest404JSONResponseBodyStatusCode = 404
++ ListExternalGroupOrgRoleMappings400JSONResponseBodyStatusCodeN400 ListExternalGroupOrgRoleMappings400JSONResponseBodyStatusCode = 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 GetSecretApprovalRequest404JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalRequest404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListExternalGroupOrgRoleMappings400JSONResponseBodyStatusCode enum.
++func (e ListExternalGroupOrgRoleMappings400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:
- case GetSecretApprovalRequest404JSONResponseBodyStatusCodeN404:
++ case ListExternalGroupOrgRoleMappings400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for CreateGitHubSecretSync400JSONResponseBodyStatusCode.
-// Defines values for GetSecretApprovalRequest422JSONResponseBodyStatusCode.
++// Defines values for ListExternalGroupOrgRoleMappings401JSONResponseBodyStatusCode.
const (
- CreateGitHubSecretSync400JSONResponseBodyStatusCodeN400 CreateGitHubSecretSync400JSONResponseBodyStatusCode = 400
- GetSecretApprovalRequest422JSONResponseBodyStatusCodeN422 GetSecretApprovalRequest422JSONResponseBodyStatusCode = 422
++ ListExternalGroupOrgRoleMappings401JSONResponseBodyStatusCodeN401 ListExternalGroupOrgRoleMappings401JSONResponseBodyStatusCode = 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 GetSecretApprovalRequest422JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalRequest422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListExternalGroupOrgRoleMappings401JSONResponseBodyStatusCode enum.
++func (e ListExternalGroupOrgRoleMappings401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateGitHubSecretSync400JSONResponseBodyStatusCodeN400:
- case GetSecretApprovalRequest422JSONResponseBodyStatusCodeN422:
++ case ListExternalGroupOrgRoleMappings401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for CreateGitHubSecretSync401JSONResponseBodyStatusCode.
-// Defines values for GetSecretApprovalRequest500JSONResponseBodyStatusCode.
++// Defines values for ListExternalGroupOrgRoleMappings403JSONResponseBodyStatusCode.
const (
- CreateGitHubSecretSync401JSONResponseBodyStatusCodeN401 CreateGitHubSecretSync401JSONResponseBodyStatusCode = 401
- GetSecretApprovalRequest500JSONResponseBodyStatusCodeN500 GetSecretApprovalRequest500JSONResponseBodyStatusCode = 500
++ ListExternalGroupOrgRoleMappings403JSONResponseBodyStatusCodeN403 ListExternalGroupOrgRoleMappings403JSONResponseBodyStatusCode = 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 GetSecretApprovalRequest500JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalRequest500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListExternalGroupOrgRoleMappings403JSONResponseBodyStatusCode enum.
++func (e ListExternalGroupOrgRoleMappings403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateGitHubSecretSync401JSONResponseBodyStatusCodeN401:
- case GetSecretApprovalRequest500JSONResponseBodyStatusCodeN500:
++ case ListExternalGroupOrgRoleMappings403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for CreateGitHubSecretSync403JSONResponseBodyStatusCode.
-// Defines values for MergeSecretApprovalRequest400JSONResponseBodyStatusCode.
++// Defines values for ListExternalGroupOrgRoleMappings404JSONResponseBodyStatusCode.
const (
- CreateGitHubSecretSync403JSONResponseBodyStatusCodeN403 CreateGitHubSecretSync403JSONResponseBodyStatusCode = 403
- MergeSecretApprovalRequest400JSONResponseBodyStatusCodeN400 MergeSecretApprovalRequest400JSONResponseBodyStatusCode = 400
++ ListExternalGroupOrgRoleMappings404JSONResponseBodyStatusCodeN404 ListExternalGroupOrgRoleMappings404JSONResponseBodyStatusCode = 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 MergeSecretApprovalRequest400JSONResponseBodyStatusCode enum.
-func (e MergeSecretApprovalRequest400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListExternalGroupOrgRoleMappings404JSONResponseBodyStatusCode enum.
++func (e ListExternalGroupOrgRoleMappings404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateGitHubSecretSync403JSONResponseBodyStatusCodeN403:
- case MergeSecretApprovalRequest400JSONResponseBodyStatusCodeN400:
++ case ListExternalGroupOrgRoleMappings404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for CreateGitHubSecretSync404JSONResponseBodyStatusCode.
-// Defines values for MergeSecretApprovalRequest401JSONResponseBodyStatusCode.
++// Defines values for ListExternalGroupOrgRoleMappings422JSONResponseBodyStatusCode.
const (
- CreateGitHubSecretSync404JSONResponseBodyStatusCodeN404 CreateGitHubSecretSync404JSONResponseBodyStatusCode = 404
- MergeSecretApprovalRequest401JSONResponseBodyStatusCodeN401 MergeSecretApprovalRequest401JSONResponseBodyStatusCode = 401
++ ListExternalGroupOrgRoleMappings422JSONResponseBodyStatusCodeN422 ListExternalGroupOrgRoleMappings422JSONResponseBodyStatusCode = 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 MergeSecretApprovalRequest401JSONResponseBodyStatusCode enum.
-func (e MergeSecretApprovalRequest401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListExternalGroupOrgRoleMappings422JSONResponseBodyStatusCode enum.
++func (e ListExternalGroupOrgRoleMappings422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateGitHubSecretSync404JSONResponseBodyStatusCodeN404:
- case MergeSecretApprovalRequest401JSONResponseBodyStatusCodeN401:
++ case ListExternalGroupOrgRoleMappings422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for CreateGitHubSecretSync422JSONResponseBodyStatusCode.
-// Defines values for MergeSecretApprovalRequest403JSONResponseBodyStatusCode.
++// Defines values for ListExternalGroupOrgRoleMappings500JSONResponseBodyStatusCode.
const (
- CreateGitHubSecretSync422JSONResponseBodyStatusCodeN422 CreateGitHubSecretSync422JSONResponseBodyStatusCode = 422
- MergeSecretApprovalRequest403JSONResponseBodyStatusCodeN403 MergeSecretApprovalRequest403JSONResponseBodyStatusCode = 403
++ ListExternalGroupOrgRoleMappings500JSONResponseBodyStatusCodeN500 ListExternalGroupOrgRoleMappings500JSONResponseBodyStatusCode = 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 MergeSecretApprovalRequest403JSONResponseBodyStatusCode enum.
-func (e MergeSecretApprovalRequest403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListExternalGroupOrgRoleMappings500JSONResponseBodyStatusCode enum.
++func (e ListExternalGroupOrgRoleMappings500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateGitHubSecretSync422JSONResponseBodyStatusCodeN422:
- case MergeSecretApprovalRequest403JSONResponseBodyStatusCodeN403:
++ case ListExternalGroupOrgRoleMappings500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for CreateGitHubSecretSync500JSONResponseBodyStatusCode.
-// Defines values for MergeSecretApprovalRequest404JSONResponseBodyStatusCode.
++// Defines values for UpdateExternalGroupOrgRoleMappings400JSONResponseBodyStatusCode.
const (
- CreateGitHubSecretSync500JSONResponseBodyStatusCodeN500 CreateGitHubSecretSync500JSONResponseBodyStatusCode = 500
- MergeSecretApprovalRequest404JSONResponseBodyStatusCodeN404 MergeSecretApprovalRequest404JSONResponseBodyStatusCode = 404
++ UpdateExternalGroupOrgRoleMappings400JSONResponseBodyStatusCodeN400 UpdateExternalGroupOrgRoleMappings400JSONResponseBodyStatusCode = 400
)
- // 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 MergeSecretApprovalRequest404JSONResponseBodyStatusCode enum.
-func (e MergeSecretApprovalRequest404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateExternalGroupOrgRoleMappings400JSONResponseBodyStatusCode enum.
++func (e UpdateExternalGroupOrgRoleMappings400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateGitHubSecretSync500JSONResponseBodyStatusCodeN500:
- case MergeSecretApprovalRequest404JSONResponseBodyStatusCodeN404:
++ case UpdateExternalGroupOrgRoleMappings400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for DeleteGitHubSecretSyncParamsRemoveSecrets.
-// Defines values for MergeSecretApprovalRequest422JSONResponseBodyStatusCode.
++// Defines values for UpdateExternalGroupOrgRoleMappings401JSONResponseBodyStatusCode.
const (
- DeleteGitHubSecretSyncParamsRemoveSecretsFalse DeleteGitHubSecretSyncParamsRemoveSecrets = "false"
- DeleteGitHubSecretSyncParamsRemoveSecretsTrue DeleteGitHubSecretSyncParamsRemoveSecrets = "true"
- MergeSecretApprovalRequest422JSONResponseBodyStatusCodeN422 MergeSecretApprovalRequest422JSONResponseBodyStatusCode = 422
++ UpdateExternalGroupOrgRoleMappings401JSONResponseBodyStatusCodeN401 UpdateExternalGroupOrgRoleMappings401JSONResponseBodyStatusCode = 401
)
- // 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 MergeSecretApprovalRequest422JSONResponseBodyStatusCode enum.
-func (e MergeSecretApprovalRequest422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateExternalGroupOrgRoleMappings401JSONResponseBodyStatusCode enum.
++func (e UpdateExternalGroupOrgRoleMappings401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteGitHubSecretSyncParamsRemoveSecretsFalse:
- return true
- case DeleteGitHubSecretSyncParamsRemoveSecretsTrue:
- case MergeSecretApprovalRequest422JSONResponseBodyStatusCodeN422:
++ case UpdateExternalGroupOrgRoleMappings401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp.
-// Defines values for MergeSecretApprovalRequest500JSONResponseBodyStatusCode.
++// Defines values for UpdateExternalGroupOrgRoleMappings403JSONResponseBodyStatusCode.
const (
- DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp = "github"
- MergeSecretApprovalRequest500JSONResponseBodyStatusCodeN500 MergeSecretApprovalRequest500JSONResponseBodyStatusCode = 500
++ UpdateExternalGroupOrgRoleMappings403JSONResponseBodyStatusCodeN403 UpdateExternalGroupOrgRoleMappings403JSONResponseBodyStatusCode = 403
)
- // 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 MergeSecretApprovalRequest500JSONResponseBodyStatusCode enum.
-func (e MergeSecretApprovalRequest500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateExternalGroupOrgRoleMappings403JSONResponseBodyStatusCode enum.
++func (e UpdateExternalGroupOrgRoleMappings403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub:
- case MergeSecretApprovalRequest500JSONResponseBodyStatusCodeN500:
++ case UpdateExternalGroupOrgRoleMappings403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination.
-// Defines values for ReviewSecretApprovalRequestJSONBodyStatus.
++// Defines values for UpdateExternalGroupOrgRoleMappings404JSONResponseBodyStatusCode.
const (
- DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination = "github"
- Approved ReviewSecretApprovalRequestJSONBodyStatus = "approved"
- Rejected ReviewSecretApprovalRequestJSONBodyStatus = "rejected"
++ UpdateExternalGroupOrgRoleMappings404JSONResponseBodyStatusCodeN404 UpdateExternalGroupOrgRoleMappings404JSONResponseBodyStatusCode = 404
)
- // 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 ReviewSecretApprovalRequestJSONBodyStatus enum.
-func (e ReviewSecretApprovalRequestJSONBodyStatus) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateExternalGroupOrgRoleMappings404JSONResponseBodyStatusCode enum.
++func (e UpdateExternalGroupOrgRoleMappings404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub:
- case Approved:
- return true
- case Rejected:
++ case UpdateExternalGroupOrgRoleMappings404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope.
-// Defines values for ReviewSecretApprovalRequest400JSONResponseBodyStatusCode.
++// Defines values for UpdateExternalGroupOrgRoleMappings422JSONResponseBodyStatusCode.
const (
- DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization"
- ReviewSecretApprovalRequest400JSONResponseBodyStatusCodeN400 ReviewSecretApprovalRequest400JSONResponseBodyStatusCode = 400
++ UpdateExternalGroupOrgRoleMappings422JSONResponseBodyStatusCodeN422 UpdateExternalGroupOrgRoleMappings422JSONResponseBodyStatusCode = 422
)
- // 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 ReviewSecretApprovalRequest400JSONResponseBodyStatusCode enum.
-func (e ReviewSecretApprovalRequest400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateExternalGroupOrgRoleMappings422JSONResponseBodyStatusCode enum.
++func (e UpdateExternalGroupOrgRoleMappings422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:
- case ReviewSecretApprovalRequest400JSONResponseBodyStatusCodeN400:
++ case UpdateExternalGroupOrgRoleMappings422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility.
-// Defines values for ReviewSecretApprovalRequest401JSONResponseBodyStatusCode.
++// Defines values for UpdateExternalGroupOrgRoleMappings500JSONResponseBodyStatusCode.
const (
- DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"
- DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"
- DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected"
- ReviewSecretApprovalRequest401JSONResponseBodyStatusCodeN401 ReviewSecretApprovalRequest401JSONResponseBodyStatusCode = 401
++ UpdateExternalGroupOrgRoleMappings500JSONResponseBodyStatusCodeN500 UpdateExternalGroupOrgRoleMappings500JSONResponseBodyStatusCode = 500
)
- // 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 ReviewSecretApprovalRequest401JSONResponseBodyStatusCode enum.
-func (e ReviewSecretApprovalRequest401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateExternalGroupOrgRoleMappings500JSONResponseBodyStatusCode enum.
++func (e UpdateExternalGroupOrgRoleMappings500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:
- return true
- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:
- return true
- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:
- case ReviewSecretApprovalRequest401JSONResponseBodyStatusCodeN401:
++ case UpdateExternalGroupOrgRoleMappings500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope.
-// Defines values for ReviewSecretApprovalRequest403JSONResponseBodyStatusCode.
++// Defines values for ListScimEvents400JSONResponseBodyStatusCode.
const (
- DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository"
- ReviewSecretApprovalRequest403JSONResponseBodyStatusCodeN403 ReviewSecretApprovalRequest403JSONResponseBodyStatusCode = 403
++ ListScimEvents400JSONResponseBodyStatusCodeN400 ListScimEvents400JSONResponseBodyStatusCode = 400
)
- // 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 ReviewSecretApprovalRequest403JSONResponseBodyStatusCode enum.
-func (e ReviewSecretApprovalRequest403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListScimEvents400JSONResponseBodyStatusCode enum.
++func (e ListScimEvents400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:
- case ReviewSecretApprovalRequest403JSONResponseBodyStatusCodeN403:
++ case ListScimEvents400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope.
-// Defines values for ReviewSecretApprovalRequest404JSONResponseBodyStatusCode.
++// Defines values for ListScimEvents401JSONResponseBodyStatusCode.
const (
- DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment"
- ReviewSecretApprovalRequest404JSONResponseBodyStatusCodeN404 ReviewSecretApprovalRequest404JSONResponseBodyStatusCode = 404
++ ListScimEvents401JSONResponseBodyStatusCodeN401 ListScimEvents401JSONResponseBodyStatusCode = 401
)
- // 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 ReviewSecretApprovalRequest404JSONResponseBodyStatusCode enum.
-func (e ReviewSecretApprovalRequest404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListScimEvents401JSONResponseBodyStatusCode enum.
++func (e ListScimEvents401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:
- case ReviewSecretApprovalRequest404JSONResponseBodyStatusCodeN404:
++ case ListScimEvents401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.
-// Defines values for ReviewSecretApprovalRequest422JSONResponseBodyStatusCode.
++// Defines values for ListScimEvents403JSONResponseBodyStatusCode.
const (
- DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination"
- ReviewSecretApprovalRequest422JSONResponseBodyStatusCodeN422 ReviewSecretApprovalRequest422JSONResponseBodyStatusCode = 422
++ ListScimEvents403JSONResponseBodyStatusCodeN403 ListScimEvents403JSONResponseBodyStatusCode = 403
)
- // 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 ReviewSecretApprovalRequest422JSONResponseBodyStatusCode enum.
-func (e ReviewSecretApprovalRequest422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListScimEvents403JSONResponseBodyStatusCode enum.
++func (e ListScimEvents403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:
- case ReviewSecretApprovalRequest422JSONResponseBodyStatusCodeN422:
++ case ListScimEvents403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for DeleteGitHubSecretSync400JSONResponseBodyStatusCode.
-// Defines values for ReviewSecretApprovalRequest500JSONResponseBodyStatusCode.
++// Defines values for ListScimEvents404JSONResponseBodyStatusCode.
const (
- DeleteGitHubSecretSync400JSONResponseBodyStatusCodeN400 DeleteGitHubSecretSync400JSONResponseBodyStatusCode = 400
- ReviewSecretApprovalRequest500JSONResponseBodyStatusCodeN500 ReviewSecretApprovalRequest500JSONResponseBodyStatusCode = 500
++ ListScimEvents404JSONResponseBodyStatusCodeN404 ListScimEvents404JSONResponseBodyStatusCode = 404
)
- // 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 ReviewSecretApprovalRequest500JSONResponseBodyStatusCode enum.
-func (e ReviewSecretApprovalRequest500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListScimEvents404JSONResponseBodyStatusCode enum.
++func (e ListScimEvents404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteGitHubSecretSync400JSONResponseBodyStatusCodeN400:
- case ReviewSecretApprovalRequest500JSONResponseBodyStatusCodeN500:
++ case ListScimEvents404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for DeleteGitHubSecretSync401JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretApprovalRequestStatusJSONBodyStatus.
++// Defines values for ListScimEvents422JSONResponseBodyStatusCode.
const (
- DeleteGitHubSecretSync401JSONResponseBodyStatusCodeN401 DeleteGitHubSecretSync401JSONResponseBodyStatusCode = 401
- UpdateSecretApprovalRequestStatusJSONBodyStatusClose UpdateSecretApprovalRequestStatusJSONBodyStatus = "close"
- UpdateSecretApprovalRequestStatusJSONBodyStatusOpen UpdateSecretApprovalRequestStatusJSONBodyStatus = "open"
++ ListScimEvents422JSONResponseBodyStatusCodeN422 ListScimEvents422JSONResponseBodyStatusCode = 422
)
- // 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 UpdateSecretApprovalRequestStatusJSONBodyStatus enum.
-func (e UpdateSecretApprovalRequestStatusJSONBodyStatus) Valid() bool {
++// Valid indicates whether the value is a known member of the ListScimEvents422JSONResponseBodyStatusCode enum.
++func (e ListScimEvents422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteGitHubSecretSync401JSONResponseBodyStatusCodeN401:
- case UpdateSecretApprovalRequestStatusJSONBodyStatusClose:
- return true
- case UpdateSecretApprovalRequestStatusJSONBodyStatusOpen:
++ case ListScimEvents422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for DeleteGitHubSecretSync403JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCode.
++// Defines values for ListScimEvents500JSONResponseBodyStatusCode.
const (
- DeleteGitHubSecretSync403JSONResponseBodyStatusCodeN403 DeleteGitHubSecretSync403JSONResponseBodyStatusCode = 403
- UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCodeN400 UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCode = 400
++ ListScimEvents500JSONResponseBodyStatusCodeN500 ListScimEvents500JSONResponseBodyStatusCode = 500
)
- // 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 UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCode enum.
-func (e UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListScimEvents500JSONResponseBodyStatusCode enum.
++func (e ListScimEvents500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteGitHubSecretSync403JSONResponseBodyStatusCodeN403:
- case UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCodeN400:
++ case ListScimEvents500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for DeleteGitHubSecretSync404JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCode.
++// Defines values for ListScimTokens400JSONResponseBodyStatusCode.
const (
- DeleteGitHubSecretSync404JSONResponseBodyStatusCodeN404 DeleteGitHubSecretSync404JSONResponseBodyStatusCode = 404
- UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCodeN401 UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCode = 401
++ ListScimTokens400JSONResponseBodyStatusCodeN400 ListScimTokens400JSONResponseBodyStatusCode = 400
)
- // 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 UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCode enum.
-func (e UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListScimTokens400JSONResponseBodyStatusCode enum.
++func (e ListScimTokens400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteGitHubSecretSync404JSONResponseBodyStatusCodeN404:
- case UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCodeN401:
++ case ListScimTokens400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for DeleteGitHubSecretSync422JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCode.
++// Defines values for ListScimTokens401JSONResponseBodyStatusCode.
const (
- DeleteGitHubSecretSync422JSONResponseBodyStatusCodeN422 DeleteGitHubSecretSync422JSONResponseBodyStatusCode = 422
- UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCodeN403 UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCode = 403
++ ListScimTokens401JSONResponseBodyStatusCodeN401 ListScimTokens401JSONResponseBodyStatusCode = 401
)
- // 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 UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCode enum.
-func (e UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListScimTokens401JSONResponseBodyStatusCode enum.
++func (e ListScimTokens401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteGitHubSecretSync422JSONResponseBodyStatusCodeN422:
- case UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCodeN403:
++ case ListScimTokens401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for DeleteGitHubSecretSync500JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCode.
++// Defines values for ListScimTokens403JSONResponseBodyStatusCode.
const (
- DeleteGitHubSecretSync500JSONResponseBodyStatusCodeN500 DeleteGitHubSecretSync500JSONResponseBodyStatusCode = 500
- UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCodeN404 UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCode = 404
++ ListScimTokens403JSONResponseBodyStatusCodeN403 ListScimTokens403JSONResponseBodyStatusCode = 403
)
- // 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 UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCode enum.
-func (e UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListScimTokens403JSONResponseBodyStatusCode enum.
++func (e ListScimTokens403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteGitHubSecretSync500JSONResponseBodyStatusCodeN500:
- case UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCodeN404:
++ case ListScimTokens403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp.
-// Defines values for UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCode.
++// Defines values for ListScimTokens404JSONResponseBodyStatusCode.
const (
- GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp = "github"
- UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCodeN422 UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCode = 422
++ ListScimTokens404JSONResponseBodyStatusCodeN404 ListScimTokens404JSONResponseBodyStatusCode = 404
)
- // 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 UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCode enum.
-func (e UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListScimTokens404JSONResponseBodyStatusCode enum.
++func (e ListScimTokens404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub:
- case UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCodeN422:
++ case ListScimTokens404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestination.
-// Defines values for UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCode.
++// Defines values for ListScimTokens422JSONResponseBodyStatusCode.
const (
- GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub GetGitHubSecretSync200JSONResponseBodySecretSyncDestination = "github"
- UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCodeN500 UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCode = 500
++ ListScimTokens422JSONResponseBodyStatusCodeN422 ListScimTokens422JSONResponseBodyStatusCode = 422
)
- // 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 UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCode enum.
-func (e UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListScimTokens422JSONResponseBodyStatusCode enum.
++func (e ListScimTokens422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub:
- case UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCodeN500:
++ case ListScimTokens422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope.
-// Defines values for CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope.
++// Defines values for ListScimTokens500JSONResponseBodyStatusCode.
const (
- GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization"
- CreateGitHubSecretSyncJSONBodyDestinationConfig0ScopeOrganization CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope = "organization"
++ ListScimTokens500JSONResponseBodyStatusCodeN500 ListScimTokens500JSONResponseBodyStatusCode = 500
)
- // 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 CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope enum.
-func (e CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope) Valid() bool {
++// Valid indicates whether the value is a known member of the ListScimTokens500JSONResponseBodyStatusCode enum.
++func (e ListScimTokens500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:
- case CreateGitHubSecretSyncJSONBodyDestinationConfig0ScopeOrganization:
++ case ListScimTokens500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility.
-// Defines values for CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility.
++// Defines values for CreateScimToken400JSONResponseBodyStatusCode.
const (
- GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"
- GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"
- GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected"
- CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilityAll CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility = "all"
- CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilityPrivate CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility = "private"
- CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilitySelected CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility = "selected"
++ CreateScimToken400JSONResponseBodyStatusCodeN400 CreateScimToken400JSONResponseBodyStatusCode = 400
)
- // 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 CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility enum.
-func (e CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateScimToken400JSONResponseBodyStatusCode enum.
++func (e CreateScimToken400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:
- case CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilityAll:
-- return true
- case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:
- case CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilityPrivate:
-- return true
- case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:
- case CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilitySelected:
++ case CreateScimToken400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope.
-// Defines values for CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope.
++// Defines values for CreateScimToken401JSONResponseBodyStatusCode.
const (
- GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository"
- CreateGitHubSecretSyncJSONBodyDestinationConfig1ScopeRepository CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope = "repository"
++ CreateScimToken401JSONResponseBodyStatusCodeN401 CreateScimToken401JSONResponseBodyStatusCode = 401
)
- // 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 CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope enum.
-func (e CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateScimToken401JSONResponseBodyStatusCode enum.
++func (e CreateScimToken401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:
- case CreateGitHubSecretSyncJSONBodyDestinationConfig1ScopeRepository:
++ case CreateScimToken401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope.
-// Defines values for CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope.
++// Defines values for CreateScimToken403JSONResponseBodyStatusCode.
const (
- GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment"
- CreateGitHubSecretSyncJSONBodyDestinationConfig2ScopeRepositoryEnvironment CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope = "repository-environment"
++ CreateScimToken403JSONResponseBodyStatusCodeN403 CreateScimToken403JSONResponseBodyStatusCode = 403
)
- // 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 CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope enum.
-func (e CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateScimToken403JSONResponseBodyStatusCode enum.
++func (e CreateScimToken403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:
- case CreateGitHubSecretSyncJSONBodyDestinationConfig2ScopeRepositoryEnvironment:
++ case CreateScimToken403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.
-// Defines values for CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior.
++// Defines values for CreateScimToken404JSONResponseBodyStatusCode.
const (
- GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination"
- CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehaviorOverwriteDestination CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior = "overwrite-destination"
++ CreateScimToken404JSONResponseBodyStatusCodeN404 CreateScimToken404JSONResponseBodyStatusCode = 404
)
- // 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 CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior enum.
-func (e CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateScimToken404JSONResponseBodyStatusCode enum.
++func (e CreateScimToken404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:
- case CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehaviorOverwriteDestination:
++ case CreateScimToken404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for GetGitHubSecretSync400JSONResponseBodyStatusCode.
-// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp.
++// Defines values for CreateScimToken422JSONResponseBodyStatusCode.
const (
- GetGitHubSecretSync400JSONResponseBodyStatusCodeN400 GetGitHubSecretSync400JSONResponseBodyStatusCode = 400
- CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp = "github"
++ CreateScimToken422JSONResponseBodyStatusCodeN422 CreateScimToken422JSONResponseBodyStatusCode = 422
)
- // 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 CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp enum.
-func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateScimToken422JSONResponseBodyStatusCode enum.
++func (e CreateScimToken422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetGitHubSecretSync400JSONResponseBodyStatusCodeN400:
- case CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub:
++ case CreateScimToken422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for GetGitHubSecretSync401JSONResponseBodyStatusCode.
-// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination.
++// Defines values for CreateScimToken500JSONResponseBodyStatusCode.
const (
- GetGitHubSecretSync401JSONResponseBodyStatusCodeN401 GetGitHubSecretSync401JSONResponseBodyStatusCode = 401
- CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination = "github"
++ CreateScimToken500JSONResponseBodyStatusCodeN500 CreateScimToken500JSONResponseBodyStatusCode = 500
)
- // 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 CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination enum.
-func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateScimToken500JSONResponseBodyStatusCode enum.
++func (e CreateScimToken500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetGitHubSecretSync401JSONResponseBodyStatusCodeN401:
- case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub:
++ case CreateScimToken500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for GetGitHubSecretSync403JSONResponseBodyStatusCode.
-// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope.
++// Defines values for DeleteScimToken400JSONResponseBodyStatusCode.
const (
- GetGitHubSecretSync403JSONResponseBodyStatusCodeN403 GetGitHubSecretSync403JSONResponseBodyStatusCode = 403
- CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization"
++ DeleteScimToken400JSONResponseBodyStatusCodeN400 DeleteScimToken400JSONResponseBodyStatusCode = 400
)
- // 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 CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope enum.
-func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteScimToken400JSONResponseBodyStatusCode enum.
++func (e DeleteScimToken400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetGitHubSecretSync403JSONResponseBodyStatusCodeN403:
- case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:
++ case DeleteScimToken400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for GetGitHubSecretSync404JSONResponseBodyStatusCode.
-// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility.
++// Defines values for DeleteScimToken401JSONResponseBodyStatusCode.
const (
- GetGitHubSecretSync404JSONResponseBodyStatusCodeN404 GetGitHubSecretSync404JSONResponseBodyStatusCode = 404
- CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"
- CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"
- CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected"
++ DeleteScimToken401JSONResponseBodyStatusCodeN401 DeleteScimToken401JSONResponseBodyStatusCode = 401
)
- // 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 CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility enum.
-func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteScimToken401JSONResponseBodyStatusCode enum.
++func (e DeleteScimToken401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetGitHubSecretSync404JSONResponseBodyStatusCodeN404:
- case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:
- return true
- case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:
- return true
- case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:
++ case DeleteScimToken401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for GetGitHubSecretSync422JSONResponseBodyStatusCode.
-// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope.
++// Defines values for DeleteScimToken403JSONResponseBodyStatusCode.
const (
- GetGitHubSecretSync422JSONResponseBodyStatusCodeN422 GetGitHubSecretSync422JSONResponseBodyStatusCode = 422
- CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository"
++ DeleteScimToken403JSONResponseBodyStatusCodeN403 DeleteScimToken403JSONResponseBodyStatusCode = 403
)
- // 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 CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope enum.
-func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteScimToken403JSONResponseBodyStatusCode enum.
++func (e DeleteScimToken403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetGitHubSecretSync422JSONResponseBodyStatusCodeN422:
- case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:
++ case DeleteScimToken403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for GetGitHubSecretSync500JSONResponseBodyStatusCode.
-// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope.
++// Defines values for DeleteScimToken404JSONResponseBodyStatusCode.
const (
- GetGitHubSecretSync500JSONResponseBodyStatusCodeN500 GetGitHubSecretSync500JSONResponseBodyStatusCode = 500
- CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment"
++ DeleteScimToken404JSONResponseBodyStatusCodeN404 DeleteScimToken404JSONResponseBodyStatusCode = 404
)
- // 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 CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope enum.
-func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteScimToken404JSONResponseBodyStatusCode enum.
++func (e DeleteScimToken404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetGitHubSecretSync500JSONResponseBodyStatusCodeN500:
- case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:
++ case DeleteScimToken404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp.
-// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.
++// Defines values for DeleteScimToken422JSONResponseBodyStatusCode.
const (
- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionAppGithub RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp = "github"
- CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination"
++ DeleteScimToken422JSONResponseBodyStatusCodeN422 DeleteScimToken422JSONResponseBodyStatusCode = 422
)
- // 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 CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior enum.
-func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteScimToken422JSONResponseBodyStatusCode enum.
++func (e DeleteScimToken422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionAppGithub:
- case CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:
++ case DeleteScimToken422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination.
-// Defines values for CreateGitHubSecretSync400JSONResponseBodyStatusCode.
++// Defines values for DeleteScimToken500JSONResponseBodyStatusCode.
const (
- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationGithub RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination = "github"
- CreateGitHubSecretSync400JSONResponseBodyStatusCodeN400 CreateGitHubSecretSync400JSONResponseBodyStatusCode = 400
++ DeleteScimToken500JSONResponseBodyStatusCodeN500 DeleteScimToken500JSONResponseBodyStatusCode = 500
)
- // 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 CreateGitHubSecretSync400JSONResponseBodyStatusCode enum.
-func (e CreateGitHubSecretSync400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteScimToken500JSONResponseBodyStatusCode enum.
++func (e DeleteScimToken500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationGithub:
- case CreateGitHubSecretSync400JSONResponseBodyStatusCodeN400:
++ case DeleteScimToken500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Scope.
-// Defines values for CreateGitHubSecretSync401JSONResponseBodyStatusCode.
++// Defines values for ListSecretApprovalRequestsParamsStatus.
const (
- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization"
- CreateGitHubSecretSync401JSONResponseBodyStatusCodeN401 CreateGitHubSecretSync401JSONResponseBodyStatusCode = 401
++ ListSecretApprovalRequestsParamsStatusClose ListSecretApprovalRequestsParamsStatus = "close"
++ ListSecretApprovalRequestsParamsStatusOpen ListSecretApprovalRequestsParamsStatus = "open"
)
- // 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 CreateGitHubSecretSync401JSONResponseBodyStatusCode enum.
-func (e CreateGitHubSecretSync401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListSecretApprovalRequestsParamsStatus enum.
++func (e ListSecretApprovalRequestsParamsStatus) Valid() bool {
switch e {
- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:
- case CreateGitHubSecretSync401JSONResponseBodyStatusCodeN401:
++ case ListSecretApprovalRequestsParamsStatusClose:
++ return true
++ case ListSecretApprovalRequestsParamsStatusOpen:
return true
default:
return false
}
}
- // Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility.
-// Defines values for CreateGitHubSecretSync403JSONResponseBodyStatusCode.
++// Defines values for ListSecretApprovalRequestsParamsOrderBy.
const (
- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"
- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"
- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected"
- CreateGitHubSecretSync403JSONResponseBodyStatusCodeN403 CreateGitHubSecretSync403JSONResponseBodyStatusCode = 403
++ Author ListSecretApprovalRequestsParamsOrderBy = "author"
++ CreatedAt ListSecretApprovalRequestsParamsOrderBy = "createdAt"
++ Environment ListSecretApprovalRequestsParamsOrderBy = "environment"
++ SecretPath ListSecretApprovalRequestsParamsOrderBy = "secretPath"
)
- // 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 CreateGitHubSecretSync403JSONResponseBodyStatusCode enum.
-func (e CreateGitHubSecretSync403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListSecretApprovalRequestsParamsOrderBy enum.
++func (e ListSecretApprovalRequestsParamsOrderBy) Valid() bool {
switch e {
- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:
- case CreateGitHubSecretSync403JSONResponseBodyStatusCodeN403:
++ case Author:
+ return true
- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:
++ case CreatedAt:
+ return true
- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:
++ case Environment:
++ return true
++ case SecretPath:
return true
default:
return false
}
}
- // Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1Scope.
-// Defines values for CreateGitHubSecretSync404JSONResponseBodyStatusCode.
++// Defines values for ListSecretApprovalRequestsParamsOrderDirection.
const (
- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository"
- CreateGitHubSecretSync404JSONResponseBodyStatusCodeN404 CreateGitHubSecretSync404JSONResponseBodyStatusCode = 404
++ ListSecretApprovalRequestsParamsOrderDirectionAsc ListSecretApprovalRequestsParamsOrderDirection = "asc"
++ ListSecretApprovalRequestsParamsOrderDirectionDesc ListSecretApprovalRequestsParamsOrderDirection = "desc"
)
- // 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 CreateGitHubSecretSync404JSONResponseBodyStatusCode enum.
-func (e CreateGitHubSecretSync404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListSecretApprovalRequestsParamsOrderDirection enum.
++func (e ListSecretApprovalRequestsParamsOrderDirection) Valid() bool {
switch e {
- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:
- case CreateGitHubSecretSync404JSONResponseBodyStatusCodeN404:
++ case ListSecretApprovalRequestsParamsOrderDirectionAsc:
++ return true
++ case ListSecretApprovalRequestsParamsOrderDirectionDesc:
return true
default:
return false
}
}
- // Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2Scope.
-// Defines values for CreateGitHubSecretSync422JSONResponseBodyStatusCode.
++// Defines values for ListSecretApprovalRequests400JSONResponseBodyStatusCode.
const (
- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment"
- CreateGitHubSecretSync422JSONResponseBodyStatusCodeN422 CreateGitHubSecretSync422JSONResponseBodyStatusCode = 422
++ ListSecretApprovalRequests400JSONResponseBodyStatusCodeN400 ListSecretApprovalRequests400JSONResponseBodyStatusCode = 400
)
- // 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 CreateGitHubSecretSync422JSONResponseBodyStatusCode enum.
-func (e CreateGitHubSecretSync422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListSecretApprovalRequests400JSONResponseBodyStatusCode enum.
++func (e ListSecretApprovalRequests400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:
- case CreateGitHubSecretSync422JSONResponseBodyStatusCodeN422:
++ case ListSecretApprovalRequests400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.
-// Defines values for CreateGitHubSecretSync500JSONResponseBodyStatusCode.
++// Defines values for ListSecretApprovalRequests401JSONResponseBodyStatusCode.
const (
- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination"
- CreateGitHubSecretSync500JSONResponseBodyStatusCodeN500 CreateGitHubSecretSync500JSONResponseBodyStatusCode = 500
++ ListSecretApprovalRequests401JSONResponseBodyStatusCodeN401 ListSecretApprovalRequests401JSONResponseBodyStatusCode = 401
)
- // 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 CreateGitHubSecretSync500JSONResponseBodyStatusCode enum.
-func (e CreateGitHubSecretSync500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListSecretApprovalRequests401JSONResponseBodyStatusCode enum.
++func (e ListSecretApprovalRequests401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:
- case CreateGitHubSecretSync500JSONResponseBodyStatusCodeN500:
++ case ListSecretApprovalRequests401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode.
-// Defines values for DeleteGitHubSecretSyncParamsRemoveSecrets.
++// Defines values for ListSecretApprovalRequests403JSONResponseBodyStatusCode.
const (
- RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCodeN400 RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode = 400
- DeleteGitHubSecretSyncParamsRemoveSecretsFalse DeleteGitHubSecretSyncParamsRemoveSecrets = "false"
- DeleteGitHubSecretSyncParamsRemoveSecretsTrue DeleteGitHubSecretSyncParamsRemoveSecrets = "true"
++ ListSecretApprovalRequests403JSONResponseBodyStatusCodeN403 ListSecretApprovalRequests403JSONResponseBodyStatusCode = 403
)
- // 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 DeleteGitHubSecretSyncParamsRemoveSecrets enum.
-func (e DeleteGitHubSecretSyncParamsRemoveSecrets) Valid() bool {
++// Valid indicates whether the value is a known member of the ListSecretApprovalRequests403JSONResponseBodyStatusCode enum.
++func (e ListSecretApprovalRequests403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCodeN400:
- case DeleteGitHubSecretSyncParamsRemoveSecretsFalse:
- return true
- case DeleteGitHubSecretSyncParamsRemoveSecretsTrue:
++ case ListSecretApprovalRequests403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode.
-// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp.
++// Defines values for ListSecretApprovalRequests404JSONResponseBodyStatusCode.
const (
- RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCodeN401 RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode = 401
- DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp = "github"
++ ListSecretApprovalRequests404JSONResponseBodyStatusCodeN404 ListSecretApprovalRequests404JSONResponseBodyStatusCode = 404
)
- // 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 DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp enum.
-func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp) Valid() bool {
++// Valid indicates whether the value is a known member of the ListSecretApprovalRequests404JSONResponseBodyStatusCode enum.
++func (e ListSecretApprovalRequests404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCodeN401:
- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub:
++ case ListSecretApprovalRequests404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode.
-// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination.
++// Defines values for ListSecretApprovalRequests422JSONResponseBodyStatusCode.
const (
- RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCodeN403 RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode = 403
- DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination = "github"
++ ListSecretApprovalRequests422JSONResponseBodyStatusCodeN422 ListSecretApprovalRequests422JSONResponseBodyStatusCode = 422
)
- // 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 DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination enum.
-func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination) Valid() bool {
++// Valid indicates whether the value is a known member of the ListSecretApprovalRequests422JSONResponseBodyStatusCode enum.
++func (e ListSecretApprovalRequests422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCodeN403:
- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub:
++ case ListSecretApprovalRequests422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode.
-// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope.
++// Defines values for ListSecretApprovalRequests500JSONResponseBodyStatusCode.
const (
- RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCodeN404 RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode = 404
- DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization"
++ ListSecretApprovalRequests500JSONResponseBodyStatusCodeN500 ListSecretApprovalRequests500JSONResponseBodyStatusCode = 500
)
- // 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 DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope enum.
-func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope) Valid() bool {
++// Valid indicates whether the value is a known member of the ListSecretApprovalRequests500JSONResponseBodyStatusCode enum.
++func (e ListSecretApprovalRequests500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCodeN404:
- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:
++ case ListSecretApprovalRequests500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode.
-// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility.
++// Defines values for GetSecretApprovalRequestCount400JSONResponseBodyStatusCode.
const (
- RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCodeN422 RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode = 422
- DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"
- DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"
- DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected"
++ GetSecretApprovalRequestCount400JSONResponseBodyStatusCodeN400 GetSecretApprovalRequestCount400JSONResponseBodyStatusCode = 400
)
- // 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 DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility enum.
-func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSecretApprovalRequestCount400JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalRequestCount400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCodeN422:
- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:
- return true
- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:
- return true
- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:
++ case GetSecretApprovalRequestCount400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode.
-// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope.
++// Defines values for GetSecretApprovalRequestCount401JSONResponseBodyStatusCode.
const (
- RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCodeN500 RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode = 500
- DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository"
++ GetSecretApprovalRequestCount401JSONResponseBodyStatusCodeN401 GetSecretApprovalRequestCount401JSONResponseBodyStatusCode = 401
)
- // 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 DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope enum.
-func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSecretApprovalRequestCount401JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalRequestCount401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCodeN500:
- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:
++ case GetSecretApprovalRequestCount401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp.
-// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope.
++// Defines values for GetSecretApprovalRequestCount403JSONResponseBodyStatusCode.
const (
- SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp = "github"
- DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment"
++ GetSecretApprovalRequestCount403JSONResponseBodyStatusCodeN403 GetSecretApprovalRequestCount403JSONResponseBodyStatusCode = 403
)
- // 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 DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope enum.
-func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSecretApprovalRequestCount403JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalRequestCount403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub:
- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:
++ case GetSecretApprovalRequestCount403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination.
-// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.
++// Defines values for GetSecretApprovalRequestCount404JSONResponseBodyStatusCode.
const (
- SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination = "github"
- DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination"
++ GetSecretApprovalRequestCount404JSONResponseBodyStatusCodeN404 GetSecretApprovalRequestCount404JSONResponseBodyStatusCode = 404
)
- // 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 DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior enum.
-func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSecretApprovalRequestCount404JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalRequestCount404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub:
- case DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:
++ case GetSecretApprovalRequestCount404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope.
-// Defines values for DeleteGitHubSecretSync400JSONResponseBodyStatusCode.
++// Defines values for GetSecretApprovalRequestCount422JSONResponseBodyStatusCode.
const (
- SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization"
- DeleteGitHubSecretSync400JSONResponseBodyStatusCodeN400 DeleteGitHubSecretSync400JSONResponseBodyStatusCode = 400
++ GetSecretApprovalRequestCount422JSONResponseBodyStatusCodeN422 GetSecretApprovalRequestCount422JSONResponseBodyStatusCode = 422
)
- // 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 DeleteGitHubSecretSync400JSONResponseBodyStatusCode enum.
-func (e DeleteGitHubSecretSync400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSecretApprovalRequestCount422JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalRequestCount422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:
- case DeleteGitHubSecretSync400JSONResponseBodyStatusCodeN400:
++ case GetSecretApprovalRequestCount422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility.
-// Defines values for DeleteGitHubSecretSync401JSONResponseBodyStatusCode.
++// Defines values for GetSecretApprovalRequestCount500JSONResponseBodyStatusCode.
const (
- SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"
- SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"
- SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected"
- DeleteGitHubSecretSync401JSONResponseBodyStatusCodeN401 DeleteGitHubSecretSync401JSONResponseBodyStatusCode = 401
++ GetSecretApprovalRequestCount500JSONResponseBodyStatusCodeN500 GetSecretApprovalRequestCount500JSONResponseBodyStatusCode = 500
)
- // 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 DeleteGitHubSecretSync401JSONResponseBodyStatusCode enum.
-func (e DeleteGitHubSecretSync401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSecretApprovalRequestCount500JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalRequestCount500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:
- return true
- case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:
- return true
- case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:
- case DeleteGitHubSecretSync401JSONResponseBodyStatusCodeN401:
++ case GetSecretApprovalRequestCount500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope.
-// Defines values for DeleteGitHubSecretSync403JSONResponseBodyStatusCode.
++// Defines values for GetSecretApprovalRequest400JSONResponseBodyStatusCode.
const (
- SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository"
- DeleteGitHubSecretSync403JSONResponseBodyStatusCodeN403 DeleteGitHubSecretSync403JSONResponseBodyStatusCode = 403
++ GetSecretApprovalRequest400JSONResponseBodyStatusCodeN400 GetSecretApprovalRequest400JSONResponseBodyStatusCode = 400
)
- // 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 DeleteGitHubSecretSync403JSONResponseBodyStatusCode enum.
-func (e DeleteGitHubSecretSync403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSecretApprovalRequest400JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalRequest400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:
- case DeleteGitHubSecretSync403JSONResponseBodyStatusCodeN403:
++ case GetSecretApprovalRequest400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope.
-// Defines values for DeleteGitHubSecretSync404JSONResponseBodyStatusCode.
++// Defines values for GetSecretApprovalRequest401JSONResponseBodyStatusCode.
const (
- SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment"
- DeleteGitHubSecretSync404JSONResponseBodyStatusCodeN404 DeleteGitHubSecretSync404JSONResponseBodyStatusCode = 404
++ GetSecretApprovalRequest401JSONResponseBodyStatusCodeN401 GetSecretApprovalRequest401JSONResponseBodyStatusCode = 401
)
- // 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 DeleteGitHubSecretSync404JSONResponseBodyStatusCode enum.
-func (e DeleteGitHubSecretSync404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSecretApprovalRequest401JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalRequest401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:
- case DeleteGitHubSecretSync404JSONResponseBodyStatusCodeN404:
++ case GetSecretApprovalRequest401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.
-// Defines values for DeleteGitHubSecretSync422JSONResponseBodyStatusCode.
++// Defines values for GetSecretApprovalRequest403JSONResponseBodyStatusCode.
const (
- SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination"
- DeleteGitHubSecretSync422JSONResponseBodyStatusCodeN422 DeleteGitHubSecretSync422JSONResponseBodyStatusCode = 422
++ GetSecretApprovalRequest403JSONResponseBodyStatusCodeN403 GetSecretApprovalRequest403JSONResponseBodyStatusCode = 403
)
- // 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 DeleteGitHubSecretSync422JSONResponseBodyStatusCode enum.
-func (e DeleteGitHubSecretSync422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSecretApprovalRequest403JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalRequest403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:
- case DeleteGitHubSecretSync422JSONResponseBodyStatusCodeN422:
++ case GetSecretApprovalRequest403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for SyncGitHubSecretSync400JSONResponseBodyStatusCode.
-// Defines values for DeleteGitHubSecretSync500JSONResponseBodyStatusCode.
++// Defines values for GetSecretApprovalRequest404JSONResponseBodyStatusCode.
const (
- SyncGitHubSecretSync400JSONResponseBodyStatusCodeN400 SyncGitHubSecretSync400JSONResponseBodyStatusCode = 400
- DeleteGitHubSecretSync500JSONResponseBodyStatusCodeN500 DeleteGitHubSecretSync500JSONResponseBodyStatusCode = 500
++ GetSecretApprovalRequest404JSONResponseBodyStatusCodeN404 GetSecretApprovalRequest404JSONResponseBodyStatusCode = 404
)
- // 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 DeleteGitHubSecretSync500JSONResponseBodyStatusCode enum.
-func (e DeleteGitHubSecretSync500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSecretApprovalRequest404JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalRequest404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case SyncGitHubSecretSync400JSONResponseBodyStatusCodeN400:
- case DeleteGitHubSecretSync500JSONResponseBodyStatusCodeN500:
++ case GetSecretApprovalRequest404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for SyncGitHubSecretSync401JSONResponseBodyStatusCode.
-// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp.
++// Defines values for GetSecretApprovalRequest422JSONResponseBodyStatusCode.
const (
- SyncGitHubSecretSync401JSONResponseBodyStatusCodeN401 SyncGitHubSecretSync401JSONResponseBodyStatusCode = 401
- GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp = "github"
++ GetSecretApprovalRequest422JSONResponseBodyStatusCodeN422 GetSecretApprovalRequest422JSONResponseBodyStatusCode = 422
)
- // 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 GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp enum.
-func (e GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSecretApprovalRequest422JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalRequest422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case SyncGitHubSecretSync401JSONResponseBodyStatusCodeN401:
- case GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub:
++ case GetSecretApprovalRequest422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for SyncGitHubSecretSync403JSONResponseBodyStatusCode.
-// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestination.
++// Defines values for GetSecretApprovalRequest500JSONResponseBodyStatusCode.
const (
- SyncGitHubSecretSync403JSONResponseBodyStatusCodeN403 SyncGitHubSecretSync403JSONResponseBodyStatusCode = 403
- GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub GetGitHubSecretSync200JSONResponseBodySecretSyncDestination = "github"
++ GetSecretApprovalRequest500JSONResponseBodyStatusCodeN500 GetSecretApprovalRequest500JSONResponseBodyStatusCode = 500
)
- // 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 GetGitHubSecretSync200JSONResponseBodySecretSyncDestination enum.
-func (e GetGitHubSecretSync200JSONResponseBodySecretSyncDestination) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSecretApprovalRequest500JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalRequest500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case SyncGitHubSecretSync403JSONResponseBodyStatusCodeN403:
- case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub:
++ case GetSecretApprovalRequest500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for SyncGitHubSecretSync404JSONResponseBodyStatusCode.
-// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope.
++// Defines values for MergeSecretApprovalRequest400JSONResponseBodyStatusCode.
const (
- SyncGitHubSecretSync404JSONResponseBodyStatusCodeN404 SyncGitHubSecretSync404JSONResponseBodyStatusCode = 404
- GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization"
++ MergeSecretApprovalRequest400JSONResponseBodyStatusCodeN400 MergeSecretApprovalRequest400JSONResponseBodyStatusCode = 400
)
- // 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 GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope enum.
-func (e GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope) Valid() bool {
++// Valid indicates whether the value is a known member of the MergeSecretApprovalRequest400JSONResponseBodyStatusCode enum.
++func (e MergeSecretApprovalRequest400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case SyncGitHubSecretSync404JSONResponseBodyStatusCodeN404:
- case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:
++ case MergeSecretApprovalRequest400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for SyncGitHubSecretSync422JSONResponseBodyStatusCode.
-// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility.
++// Defines values for MergeSecretApprovalRequest401JSONResponseBodyStatusCode.
const (
- SyncGitHubSecretSync422JSONResponseBodyStatusCodeN422 SyncGitHubSecretSync422JSONResponseBodyStatusCode = 422
- GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"
- GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"
- GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected"
++ MergeSecretApprovalRequest401JSONResponseBodyStatusCodeN401 MergeSecretApprovalRequest401JSONResponseBodyStatusCode = 401
)
- // 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 GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility enum.
-func (e GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility) Valid() bool {
++// Valid indicates whether the value is a known member of the MergeSecretApprovalRequest401JSONResponseBodyStatusCode enum.
++func (e MergeSecretApprovalRequest401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case SyncGitHubSecretSync422JSONResponseBodyStatusCodeN422:
- case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:
- return true
- case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:
- return true
- case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:
++ case MergeSecretApprovalRequest401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for SyncGitHubSecretSync500JSONResponseBodyStatusCode.
-// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope.
++// Defines values for MergeSecretApprovalRequest403JSONResponseBodyStatusCode.
const (
- SyncGitHubSecretSync500JSONResponseBodyStatusCodeN500 SyncGitHubSecretSync500JSONResponseBodyStatusCode = 500
- GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository"
++ MergeSecretApprovalRequest403JSONResponseBodyStatusCodeN403 MergeSecretApprovalRequest403JSONResponseBodyStatusCode = 403
)
- // 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 GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope enum.
-func (e GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope) Valid() bool {
++// Valid indicates whether the value is a known member of the MergeSecretApprovalRequest403JSONResponseBodyStatusCode enum.
++func (e MergeSecretApprovalRequest403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case SyncGitHubSecretSync500JSONResponseBodyStatusCodeN500:
- case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:
++ case MergeSecretApprovalRequest403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for GetSamlConfig400JSONResponseBodyStatusCode.
-// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope.
++// Defines values for MergeSecretApprovalRequest404JSONResponseBodyStatusCode.
const (
- GetSamlConfig400JSONResponseBodyStatusCodeN400 GetSamlConfig400JSONResponseBodyStatusCode = 400
- GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment"
++ MergeSecretApprovalRequest404JSONResponseBodyStatusCodeN404 MergeSecretApprovalRequest404JSONResponseBodyStatusCode = 404
)
- // Valid indicates whether the value is a known member of the GetSamlConfig400JSONResponseBodyStatusCode enum.
- func (e GetSamlConfig400JSONResponseBodyStatusCode) Valid() bool {
-// 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 MergeSecretApprovalRequest404JSONResponseBodyStatusCode enum.
++func (e MergeSecretApprovalRequest404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSamlConfig400JSONResponseBodyStatusCodeN400:
- case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:
++ case MergeSecretApprovalRequest404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for GetSamlConfig401JSONResponseBodyStatusCode.
-// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.
++// Defines values for MergeSecretApprovalRequest422JSONResponseBodyStatusCode.
const (
- GetSamlConfig401JSONResponseBodyStatusCodeN401 GetSamlConfig401JSONResponseBodyStatusCode = 401
- GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination"
++ MergeSecretApprovalRequest422JSONResponseBodyStatusCodeN422 MergeSecretApprovalRequest422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the GetSamlConfig401JSONResponseBodyStatusCode enum.
- func (e GetSamlConfig401JSONResponseBodyStatusCode) Valid() bool {
-// 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 MergeSecretApprovalRequest422JSONResponseBodyStatusCode enum.
++func (e MergeSecretApprovalRequest422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSamlConfig401JSONResponseBodyStatusCodeN401:
- case GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:
++ case MergeSecretApprovalRequest422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for GetSamlConfig403JSONResponseBodyStatusCode.
-// Defines values for GetGitHubSecretSync400JSONResponseBodyStatusCode.
++// Defines values for MergeSecretApprovalRequest500JSONResponseBodyStatusCode.
const (
- GetSamlConfig403JSONResponseBodyStatusCodeN403 GetSamlConfig403JSONResponseBodyStatusCode = 403
- GetGitHubSecretSync400JSONResponseBodyStatusCodeN400 GetGitHubSecretSync400JSONResponseBodyStatusCode = 400
++ MergeSecretApprovalRequest500JSONResponseBodyStatusCodeN500 MergeSecretApprovalRequest500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the GetSamlConfig403JSONResponseBodyStatusCode enum.
- func (e GetSamlConfig403JSONResponseBodyStatusCode) Valid() bool {
-// 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 MergeSecretApprovalRequest500JSONResponseBodyStatusCode enum.
++func (e MergeSecretApprovalRequest500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSamlConfig403JSONResponseBodyStatusCodeN403:
- case GetGitHubSecretSync400JSONResponseBodyStatusCodeN400:
++ case MergeSecretApprovalRequest500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for GetSamlConfig404JSONResponseBodyStatusCode.
-// Defines values for GetGitHubSecretSync401JSONResponseBodyStatusCode.
++// Defines values for ReviewSecretApprovalRequestJSONBodyStatus.
const (
- GetSamlConfig404JSONResponseBodyStatusCodeN404 GetSamlConfig404JSONResponseBodyStatusCode = 404
- GetGitHubSecretSync401JSONResponseBodyStatusCodeN401 GetGitHubSecretSync401JSONResponseBodyStatusCode = 401
++ Approved ReviewSecretApprovalRequestJSONBodyStatus = "approved"
++ Rejected ReviewSecretApprovalRequestJSONBodyStatus = "rejected"
)
- // Valid indicates whether the value is a known member of the GetSamlConfig404JSONResponseBodyStatusCode enum.
- func (e GetSamlConfig404JSONResponseBodyStatusCode) Valid() bool {
-// 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 ReviewSecretApprovalRequestJSONBodyStatus enum.
++func (e ReviewSecretApprovalRequestJSONBodyStatus) Valid() bool {
switch e {
- case GetSamlConfig404JSONResponseBodyStatusCodeN404:
- case GetGitHubSecretSync401JSONResponseBodyStatusCodeN401:
++ case Approved:
++ return true
++ case Rejected:
return true
default:
return false
}
}
- // Defines values for GetSamlConfig422JSONResponseBodyStatusCode.
-// Defines values for GetGitHubSecretSync403JSONResponseBodyStatusCode.
++// Defines values for ReviewSecretApprovalRequest400JSONResponseBodyStatusCode.
const (
- GetSamlConfig422JSONResponseBodyStatusCodeN422 GetSamlConfig422JSONResponseBodyStatusCode = 422
- GetGitHubSecretSync403JSONResponseBodyStatusCodeN403 GetGitHubSecretSync403JSONResponseBodyStatusCode = 403
++ ReviewSecretApprovalRequest400JSONResponseBodyStatusCodeN400 ReviewSecretApprovalRequest400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the GetSamlConfig422JSONResponseBodyStatusCode enum.
- func (e GetSamlConfig422JSONResponseBodyStatusCode) Valid() bool {
-// 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 ReviewSecretApprovalRequest400JSONResponseBodyStatusCode enum.
++func (e ReviewSecretApprovalRequest400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSamlConfig422JSONResponseBodyStatusCodeN422:
- case GetGitHubSecretSync403JSONResponseBodyStatusCodeN403:
++ case ReviewSecretApprovalRequest400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for GetSamlConfig500JSONResponseBodyStatusCode.
-// Defines values for GetGitHubSecretSync404JSONResponseBodyStatusCode.
++// Defines values for ReviewSecretApprovalRequest401JSONResponseBodyStatusCode.
const (
- GetSamlConfig500JSONResponseBodyStatusCodeN500 GetSamlConfig500JSONResponseBodyStatusCode = 500
- GetGitHubSecretSync404JSONResponseBodyStatusCodeN404 GetGitHubSecretSync404JSONResponseBodyStatusCode = 404
++ ReviewSecretApprovalRequest401JSONResponseBodyStatusCodeN401 ReviewSecretApprovalRequest401JSONResponseBodyStatusCode = 401
)
- // Valid indicates whether the value is a known member of the GetSamlConfig500JSONResponseBodyStatusCode enum.
- func (e GetSamlConfig500JSONResponseBodyStatusCode) Valid() bool {
-// 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 ReviewSecretApprovalRequest401JSONResponseBodyStatusCode enum.
++func (e ReviewSecretApprovalRequest401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSamlConfig500JSONResponseBodyStatusCodeN500:
- case GetGitHubSecretSync404JSONResponseBodyStatusCodeN404:
++ case ReviewSecretApprovalRequest401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for UpdateSamlConfigJSONBodyAuthProvider.
-// Defines values for GetGitHubSecretSync422JSONResponseBodyStatusCode.
++// Defines values for ReviewSecretApprovalRequest403JSONResponseBodyStatusCode.
const (
- UpdateSamlConfigJSONBodyAuthProviderAuth0Saml UpdateSamlConfigJSONBodyAuthProvider = "auth0-saml"
- UpdateSamlConfigJSONBodyAuthProviderAzureSaml UpdateSamlConfigJSONBodyAuthProvider = "azure-saml"
- UpdateSamlConfigJSONBodyAuthProviderGoogleSaml UpdateSamlConfigJSONBodyAuthProvider = "google-saml"
- UpdateSamlConfigJSONBodyAuthProviderJumpcloudSaml UpdateSamlConfigJSONBodyAuthProvider = "jumpcloud-saml"
- UpdateSamlConfigJSONBodyAuthProviderKeycloakSaml UpdateSamlConfigJSONBodyAuthProvider = "keycloak-saml"
- UpdateSamlConfigJSONBodyAuthProviderOktaSaml UpdateSamlConfigJSONBodyAuthProvider = "okta-saml"
- GetGitHubSecretSync422JSONResponseBodyStatusCodeN422 GetGitHubSecretSync422JSONResponseBodyStatusCode = 422
++ ReviewSecretApprovalRequest403JSONResponseBodyStatusCodeN403 ReviewSecretApprovalRequest403JSONResponseBodyStatusCode = 403
)
- // Valid indicates whether the value is a known member of the UpdateSamlConfigJSONBodyAuthProvider enum.
- func (e UpdateSamlConfigJSONBodyAuthProvider) Valid() bool {
-// 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 ReviewSecretApprovalRequest403JSONResponseBodyStatusCode enum.
++func (e ReviewSecretApprovalRequest403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateSamlConfigJSONBodyAuthProviderAuth0Saml:
- return true
- case UpdateSamlConfigJSONBodyAuthProviderAzureSaml:
- return true
- case UpdateSamlConfigJSONBodyAuthProviderGoogleSaml:
- return true
- case UpdateSamlConfigJSONBodyAuthProviderJumpcloudSaml:
- return true
- case UpdateSamlConfigJSONBodyAuthProviderKeycloakSaml:
- return true
- case UpdateSamlConfigJSONBodyAuthProviderOktaSaml:
- case GetGitHubSecretSync422JSONResponseBodyStatusCodeN422:
++ case ReviewSecretApprovalRequest403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for UpdateSamlConfig400JSONResponseBodyStatusCode.
-// Defines values for GetGitHubSecretSync500JSONResponseBodyStatusCode.
++// Defines values for ReviewSecretApprovalRequest404JSONResponseBodyStatusCode.
const (
- UpdateSamlConfig400JSONResponseBodyStatusCodeN400 UpdateSamlConfig400JSONResponseBodyStatusCode = 400
- GetGitHubSecretSync500JSONResponseBodyStatusCodeN500 GetGitHubSecretSync500JSONResponseBodyStatusCode = 500
++ ReviewSecretApprovalRequest404JSONResponseBodyStatusCodeN404 ReviewSecretApprovalRequest404JSONResponseBodyStatusCode = 404
)
- // Valid indicates whether the value is a known member of the UpdateSamlConfig400JSONResponseBodyStatusCode enum.
- func (e UpdateSamlConfig400JSONResponseBodyStatusCode) Valid() bool {
-// 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 ReviewSecretApprovalRequest404JSONResponseBodyStatusCode enum.
++func (e ReviewSecretApprovalRequest404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateSamlConfig400JSONResponseBodyStatusCodeN400:
- case GetGitHubSecretSync500JSONResponseBodyStatusCodeN500:
++ case ReviewSecretApprovalRequest404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for UpdateSamlConfig401JSONResponseBodyStatusCode.
-// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp.
++// Defines values for ReviewSecretApprovalRequest422JSONResponseBodyStatusCode.
const (
- UpdateSamlConfig401JSONResponseBodyStatusCodeN401 UpdateSamlConfig401JSONResponseBodyStatusCode = 401
- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionAppGithub RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp = "github"
++ ReviewSecretApprovalRequest422JSONResponseBodyStatusCodeN422 ReviewSecretApprovalRequest422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the UpdateSamlConfig401JSONResponseBodyStatusCode enum.
- func (e UpdateSamlConfig401JSONResponseBodyStatusCode) Valid() bool {
-// 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 ReviewSecretApprovalRequest422JSONResponseBodyStatusCode enum.
++func (e ReviewSecretApprovalRequest422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateSamlConfig401JSONResponseBodyStatusCodeN401:
- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionAppGithub:
++ case ReviewSecretApprovalRequest422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for UpdateSamlConfig403JSONResponseBodyStatusCode.
-// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination.
++// Defines values for ReviewSecretApprovalRequest500JSONResponseBodyStatusCode.
const (
- UpdateSamlConfig403JSONResponseBodyStatusCodeN403 UpdateSamlConfig403JSONResponseBodyStatusCode = 403
- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationGithub RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination = "github"
++ ReviewSecretApprovalRequest500JSONResponseBodyStatusCodeN500 ReviewSecretApprovalRequest500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the UpdateSamlConfig403JSONResponseBodyStatusCode enum.
- func (e UpdateSamlConfig403JSONResponseBodyStatusCode) Valid() bool {
-// 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 ReviewSecretApprovalRequest500JSONResponseBodyStatusCode enum.
++func (e ReviewSecretApprovalRequest500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateSamlConfig403JSONResponseBodyStatusCodeN403:
- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationGithub:
++ case ReviewSecretApprovalRequest500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for UpdateSamlConfig404JSONResponseBodyStatusCode.
-// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Scope.
++// Defines values for UpdateSecretApprovalRequestStatusJSONBodyStatus.
const (
- UpdateSamlConfig404JSONResponseBodyStatusCodeN404 UpdateSamlConfig404JSONResponseBodyStatusCode = 404
- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization"
++ UpdateSecretApprovalRequestStatusJSONBodyStatusClose UpdateSecretApprovalRequestStatusJSONBodyStatus = "close"
++ UpdateSecretApprovalRequestStatusJSONBodyStatusOpen UpdateSecretApprovalRequestStatusJSONBodyStatus = "open"
)
- // Valid indicates whether the value is a known member of the UpdateSamlConfig404JSONResponseBodyStatusCode enum.
- func (e UpdateSamlConfig404JSONResponseBodyStatusCode) Valid() bool {
-// 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 UpdateSecretApprovalRequestStatusJSONBodyStatus enum.
++func (e UpdateSecretApprovalRequestStatusJSONBodyStatus) Valid() bool {
switch e {
- case UpdateSamlConfig404JSONResponseBodyStatusCodeN404:
- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:
++ case UpdateSecretApprovalRequestStatusJSONBodyStatusClose:
++ return true
++ case UpdateSecretApprovalRequestStatusJSONBodyStatusOpen:
return true
default:
return false
}
}
- // Defines values for UpdateSamlConfig422JSONResponseBodyStatusCode.
-// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility.
++// Defines values for UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCode.
const (
- UpdateSamlConfig422JSONResponseBodyStatusCodeN422 UpdateSamlConfig422JSONResponseBodyStatusCode = 422
- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"
- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"
- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected"
++ UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCodeN400 UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the UpdateSamlConfig422JSONResponseBodyStatusCode enum.
- func (e UpdateSamlConfig422JSONResponseBodyStatusCode) Valid() bool {
-// 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 UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCode enum.
++func (e UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateSamlConfig422JSONResponseBodyStatusCodeN422:
- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:
- return true
- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:
++ case UpdateSecretApprovalRequestStatus400JSONResponseBodyStatusCodeN400:
return true
- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:
+ default:
+ return false
+ }
+}
+
- // Defines values for UpdateSamlConfig500JSONResponseBodyStatusCode.
++// Defines values for UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCode.
+const (
- UpdateSamlConfig500JSONResponseBodyStatusCodeN500 UpdateSamlConfig500JSONResponseBodyStatusCode = 500
++ UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCodeN401 UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCode = 401
+)
+
- // Valid indicates whether the value is a known member of the UpdateSamlConfig500JSONResponseBodyStatusCode enum.
- func (e UpdateSamlConfig500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCode enum.
++func (e UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCode) Valid() bool {
+ switch e {
- case UpdateSamlConfig500JSONResponseBodyStatusCodeN500:
++ case UpdateSecretApprovalRequestStatus401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for CreateSamlConfigJSONBodyAuthProvider.
-// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1Scope.
++// Defines values for UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCode.
const (
- CreateSamlConfigJSONBodyAuthProviderAuth0Saml CreateSamlConfigJSONBodyAuthProvider = "auth0-saml"
- CreateSamlConfigJSONBodyAuthProviderAzureSaml CreateSamlConfigJSONBodyAuthProvider = "azure-saml"
- CreateSamlConfigJSONBodyAuthProviderGoogleSaml CreateSamlConfigJSONBodyAuthProvider = "google-saml"
- CreateSamlConfigJSONBodyAuthProviderJumpcloudSaml CreateSamlConfigJSONBodyAuthProvider = "jumpcloud-saml"
- CreateSamlConfigJSONBodyAuthProviderKeycloakSaml CreateSamlConfigJSONBodyAuthProvider = "keycloak-saml"
- CreateSamlConfigJSONBodyAuthProviderOktaSaml CreateSamlConfigJSONBodyAuthProvider = "okta-saml"
- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository"
++ UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCodeN403 UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCode = 403
)
- // Valid indicates whether the value is a known member of the CreateSamlConfigJSONBodyAuthProvider enum.
- func (e CreateSamlConfigJSONBodyAuthProvider) Valid() bool {
-// 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 UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCode enum.
++func (e UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSamlConfigJSONBodyAuthProviderAuth0Saml:
- return true
- case CreateSamlConfigJSONBodyAuthProviderAzureSaml:
- return true
- case CreateSamlConfigJSONBodyAuthProviderGoogleSaml:
- return true
- case CreateSamlConfigJSONBodyAuthProviderJumpcloudSaml:
- return true
- case CreateSamlConfigJSONBodyAuthProviderKeycloakSaml:
- return true
- case CreateSamlConfigJSONBodyAuthProviderOktaSaml:
- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:
++ case UpdateSecretApprovalRequestStatus403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for CreateSamlConfig400JSONResponseBodyStatusCode.
-// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2Scope.
++// Defines values for UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCode.
const (
- CreateSamlConfig400JSONResponseBodyStatusCodeN400 CreateSamlConfig400JSONResponseBodyStatusCode = 400
- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment"
++ UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCodeN404 UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCode = 404
)
- // Valid indicates whether the value is a known member of the CreateSamlConfig400JSONResponseBodyStatusCode enum.
- func (e CreateSamlConfig400JSONResponseBodyStatusCode) Valid() bool {
-// 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 UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCode enum.
++func (e UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSamlConfig400JSONResponseBodyStatusCodeN400:
- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:
++ case UpdateSecretApprovalRequestStatus404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for CreateSamlConfig401JSONResponseBodyStatusCode.
-// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.
++// Defines values for UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCode.
const (
- CreateSamlConfig401JSONResponseBodyStatusCodeN401 CreateSamlConfig401JSONResponseBodyStatusCode = 401
- RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination"
++ UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCodeN422 UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the CreateSamlConfig401JSONResponseBodyStatusCode enum.
- func (e CreateSamlConfig401JSONResponseBodyStatusCode) Valid() bool {
-// 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 UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCode enum.
++func (e UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSamlConfig401JSONResponseBodyStatusCodeN401:
- case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:
++ case UpdateSecretApprovalRequestStatus422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for CreateSamlConfig403JSONResponseBodyStatusCode.
-// Defines values for RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode.
++// Defines values for UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCode.
const (
- CreateSamlConfig403JSONResponseBodyStatusCodeN403 CreateSamlConfig403JSONResponseBodyStatusCode = 403
- RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCodeN400 RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode = 400
++ UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCodeN500 UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the CreateSamlConfig403JSONResponseBodyStatusCode enum.
- func (e CreateSamlConfig403JSONResponseBodyStatusCode) Valid() bool {
-// 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 UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCode enum.
++func (e UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSamlConfig403JSONResponseBodyStatusCodeN403:
- case RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCodeN400:
++ case UpdateSecretApprovalRequestStatus500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for CreateSamlConfig404JSONResponseBodyStatusCode.
-// Defines values for RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode.
++// Defines values for CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope.
const (
- CreateSamlConfig404JSONResponseBodyStatusCodeN404 CreateSamlConfig404JSONResponseBodyStatusCode = 404
- RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCodeN401 RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode = 401
++ CreateGitHubSecretSyncJSONBodyDestinationConfig0ScopeOrganization CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope = "organization"
)
- // Valid indicates whether the value is a known member of the CreateSamlConfig404JSONResponseBodyStatusCode enum.
- func (e CreateSamlConfig404JSONResponseBodyStatusCode) Valid() bool {
-// 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 CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope enum.
++func (e CreateGitHubSecretSyncJSONBodyDestinationConfig0Scope) Valid() bool {
switch e {
- case CreateSamlConfig404JSONResponseBodyStatusCodeN404:
- case RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCodeN401:
++ case CreateGitHubSecretSyncJSONBodyDestinationConfig0ScopeOrganization:
return true
default:
return false
}
}
- // Defines values for CreateSamlConfig422JSONResponseBodyStatusCode.
-// Defines values for RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode.
++// Defines values for CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility.
const (
- CreateSamlConfig422JSONResponseBodyStatusCodeN422 CreateSamlConfig422JSONResponseBodyStatusCode = 422
- RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCodeN403 RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode = 403
++ CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilityAll CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility = "all"
++ CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilityPrivate CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility = "private"
++ CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilitySelected CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility = "selected"
)
- // Valid indicates whether the value is a known member of the CreateSamlConfig422JSONResponseBodyStatusCode enum.
- func (e CreateSamlConfig422JSONResponseBodyStatusCode) Valid() bool {
-// 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 CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility enum.
++func (e CreateGitHubSecretSyncJSONBodyDestinationConfig0Visibility) Valid() bool {
switch e {
- case CreateSamlConfig422JSONResponseBodyStatusCodeN422:
- case RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCodeN403:
++ case CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilityAll:
++ return true
++ case CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilityPrivate:
++ return true
++ case CreateGitHubSecretSyncJSONBodyDestinationConfig0VisibilitySelected:
return true
default:
return false
}
}
- // Defines values for CreateSamlConfig500JSONResponseBodyStatusCode.
-// Defines values for RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode.
++// Defines values for CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope.
const (
- CreateSamlConfig500JSONResponseBodyStatusCodeN500 CreateSamlConfig500JSONResponseBodyStatusCode = 500
- RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCodeN404 RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode = 404
++ CreateGitHubSecretSyncJSONBodyDestinationConfig1ScopeRepository CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope = "repository"
)
- // Valid indicates whether the value is a known member of the CreateSamlConfig500JSONResponseBodyStatusCode enum.
- func (e CreateSamlConfig500JSONResponseBodyStatusCode) Valid() bool {
-// 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 CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope enum.
++func (e CreateGitHubSecretSyncJSONBodyDestinationConfig1Scope) Valid() bool {
switch e {
- case CreateSamlConfig500JSONResponseBodyStatusCodeN500:
- case RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCodeN404:
++ case CreateGitHubSecretSyncJSONBodyDestinationConfig1ScopeRepository:
return true
default:
return false
}
}
- // Defines values for GetOidcConfig400JSONResponseBodyStatusCode.
-// Defines values for RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode.
++// Defines values for CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope.
const (
- GetOidcConfig400JSONResponseBodyStatusCodeN400 GetOidcConfig400JSONResponseBodyStatusCode = 400
- RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCodeN422 RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode = 422
++ CreateGitHubSecretSyncJSONBodyDestinationConfig2ScopeRepositoryEnvironment CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope = "repository-environment"
)
- // Valid indicates whether the value is a known member of the GetOidcConfig400JSONResponseBodyStatusCode enum.
- func (e GetOidcConfig400JSONResponseBodyStatusCode) Valid() bool {
-// 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 CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope enum.
++func (e CreateGitHubSecretSyncJSONBodyDestinationConfig2Scope) Valid() bool {
switch e {
- case GetOidcConfig400JSONResponseBodyStatusCodeN400:
- case RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCodeN422:
++ case CreateGitHubSecretSyncJSONBodyDestinationConfig2ScopeRepositoryEnvironment:
return true
default:
return false
}
}
- // Defines values for GetOidcConfig401JSONResponseBodyStatusCode.
-// Defines values for RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode.
++// Defines values for CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior.
const (
- GetOidcConfig401JSONResponseBodyStatusCodeN401 GetOidcConfig401JSONResponseBodyStatusCode = 401
- RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCodeN500 RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode = 500
++ CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehaviorOverwriteDestination CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior = "overwrite-destination"
)
- // Valid indicates whether the value is a known member of the GetOidcConfig401JSONResponseBodyStatusCode enum.
- func (e GetOidcConfig401JSONResponseBodyStatusCode) Valid() bool {
-// 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 CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior enum.
++func (e CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehavior) Valid() bool {
switch e {
- case GetOidcConfig401JSONResponseBodyStatusCodeN401:
- case RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCodeN500:
++ case CreateGitHubSecretSyncJSONBodySyncOptionsInitialSyncBehaviorOverwriteDestination:
return true
default:
return false
}
}
- // Defines values for GetOidcConfig403JSONResponseBodyStatusCode.
-// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp.
++// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp.
const (
- GetOidcConfig403JSONResponseBodyStatusCodeN403 GetOidcConfig403JSONResponseBodyStatusCode = 403
- SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp = "github"
++ CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp = "github"
)
- // Valid indicates whether the value is a known member of the GetOidcConfig403JSONResponseBodyStatusCode enum.
- func (e GetOidcConfig403JSONResponseBodyStatusCode) Valid() bool {
-// 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 CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp enum.
++func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp) Valid() bool {
switch e {
- case GetOidcConfig403JSONResponseBodyStatusCodeN403:
- case SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub:
++ case CreateGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub:
return true
default:
return false
}
}
- // Defines values for GetOidcConfig404JSONResponseBodyStatusCode.
-// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination.
++// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination.
const (
- GetOidcConfig404JSONResponseBodyStatusCodeN404 GetOidcConfig404JSONResponseBodyStatusCode = 404
- SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination = "github"
++ CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination = "github"
)
- // Valid indicates whether the value is a known member of the GetOidcConfig404JSONResponseBodyStatusCode enum.
- func (e GetOidcConfig404JSONResponseBodyStatusCode) Valid() bool {
-// 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 CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination enum.
++func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncDestination) Valid() bool {
switch e {
- case GetOidcConfig404JSONResponseBodyStatusCodeN404:
- case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub:
++ case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub:
return true
default:
return false
}
}
- // Defines values for GetOidcConfig422JSONResponseBodyStatusCode.
-// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope.
++// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope.
const (
- GetOidcConfig422JSONResponseBodyStatusCodeN422 GetOidcConfig422JSONResponseBodyStatusCode = 422
- SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization"
++ CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization"
)
- // Valid indicates whether the value is a known member of the GetOidcConfig422JSONResponseBodyStatusCode enum.
- func (e GetOidcConfig422JSONResponseBodyStatusCode) Valid() bool {
-// 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 CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope enum.
++func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope) Valid() bool {
switch e {
- case GetOidcConfig422JSONResponseBodyStatusCodeN422:
- case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:
++ case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:
return true
default:
return false
}
}
- // Defines values for GetOidcConfig500JSONResponseBodyStatusCode.
-// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility.
++// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility.
const (
- GetOidcConfig500JSONResponseBodyStatusCodeN500 GetOidcConfig500JSONResponseBodyStatusCode = 500
- SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"
- SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"
- SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected"
++ CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"
++ CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"
++ CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected"
)
- // Valid indicates whether the value is a known member of the GetOidcConfig500JSONResponseBodyStatusCode enum.
- func (e GetOidcConfig500JSONResponseBodyStatusCode) Valid() bool {
-// 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 CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility enum.
++func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility) Valid() bool {
switch e {
- case GetOidcConfig500JSONResponseBodyStatusCodeN500:
- case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:
++ case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:
+ return true
- case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:
++ case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:
+ return true
- case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:
++ case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:
return true
default:
return false
}
}
- // Defines values for UpdateOidcConfigJSONBodyConfigurationType.
-// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope.
++// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope.
const (
- UpdateOidcConfigJSONBodyConfigurationTypeCustom UpdateOidcConfigJSONBodyConfigurationType = "custom"
- UpdateOidcConfigJSONBodyConfigurationTypeDiscoveryURL UpdateOidcConfigJSONBodyConfigurationType = "discoveryURL"
- SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository"
++ CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository"
)
- // Valid indicates whether the value is a known member of the UpdateOidcConfigJSONBodyConfigurationType enum.
- func (e UpdateOidcConfigJSONBodyConfigurationType) Valid() bool {
-// 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 CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope enum.
++func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope) Valid() bool {
switch e {
- case UpdateOidcConfigJSONBodyConfigurationTypeCustom:
- return true
- case UpdateOidcConfigJSONBodyConfigurationTypeDiscoveryURL:
- case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:
++ case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:
return true
default:
return false
}
}
- // Defines values for UpdateOidcConfigJSONBodyJwtSignatureAlgorithm.
-// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope.
++// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope.
const (
- UpdateOidcConfigJSONBodyJwtSignatureAlgorithmEdDSA UpdateOidcConfigJSONBodyJwtSignatureAlgorithm = "EdDSA"
- UpdateOidcConfigJSONBodyJwtSignatureAlgorithmHS256 UpdateOidcConfigJSONBodyJwtSignatureAlgorithm = "HS256"
- UpdateOidcConfigJSONBodyJwtSignatureAlgorithmRS256 UpdateOidcConfigJSONBodyJwtSignatureAlgorithm = "RS256"
- UpdateOidcConfigJSONBodyJwtSignatureAlgorithmRS512 UpdateOidcConfigJSONBodyJwtSignatureAlgorithm = "RS512"
- SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment"
++ CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment"
)
- // Valid indicates whether the value is a known member of the UpdateOidcConfigJSONBodyJwtSignatureAlgorithm enum.
- func (e UpdateOidcConfigJSONBodyJwtSignatureAlgorithm) Valid() bool {
-// 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 CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope enum.
++func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope) Valid() bool {
switch e {
- case UpdateOidcConfigJSONBodyJwtSignatureAlgorithmEdDSA:
- return true
- case UpdateOidcConfigJSONBodyJwtSignatureAlgorithmHS256:
- return true
- case UpdateOidcConfigJSONBodyJwtSignatureAlgorithmRS256:
- return true
- case UpdateOidcConfigJSONBodyJwtSignatureAlgorithmRS512:
- case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:
++ case CreateGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:
return true
default:
return false
}
}
- // Defines values for UpdateOidcConfig400JSONResponseBodyStatusCode.
-// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.
++// Defines values for CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.
const (
- UpdateOidcConfig400JSONResponseBodyStatusCodeN400 UpdateOidcConfig400JSONResponseBodyStatusCode = 400
- SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination"
++ CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination"
)
- // Valid indicates whether the value is a known member of the UpdateOidcConfig400JSONResponseBodyStatusCode enum.
- func (e UpdateOidcConfig400JSONResponseBodyStatusCode) Valid() bool {
-// 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 CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior enum.
++func (e CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior) Valid() bool {
switch e {
- case UpdateOidcConfig400JSONResponseBodyStatusCodeN400:
- case SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:
++ case CreateGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:
return true
default:
return false
}
}
- // Defines values for UpdateOidcConfig401JSONResponseBodyStatusCode.
-// Defines values for SyncGitHubSecretSync400JSONResponseBodyStatusCode.
++// Defines values for CreateGitHubSecretSync400JSONResponseBodyStatusCode.
const (
- UpdateOidcConfig401JSONResponseBodyStatusCodeN401 UpdateOidcConfig401JSONResponseBodyStatusCode = 401
- SyncGitHubSecretSync400JSONResponseBodyStatusCodeN400 SyncGitHubSecretSync400JSONResponseBodyStatusCode = 400
++ CreateGitHubSecretSync400JSONResponseBodyStatusCodeN400 CreateGitHubSecretSync400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the UpdateOidcConfig401JSONResponseBodyStatusCode enum.
- func (e UpdateOidcConfig401JSONResponseBodyStatusCode) Valid() bool {
-// 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 CreateGitHubSecretSync400JSONResponseBodyStatusCode enum.
++func (e CreateGitHubSecretSync400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateOidcConfig401JSONResponseBodyStatusCodeN401:
- case SyncGitHubSecretSync400JSONResponseBodyStatusCodeN400:
++ case CreateGitHubSecretSync400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for UpdateOidcConfig403JSONResponseBodyStatusCode.
-// Defines values for SyncGitHubSecretSync401JSONResponseBodyStatusCode.
++// Defines values for CreateGitHubSecretSync401JSONResponseBodyStatusCode.
const (
- UpdateOidcConfig403JSONResponseBodyStatusCodeN403 UpdateOidcConfig403JSONResponseBodyStatusCode = 403
- SyncGitHubSecretSync401JSONResponseBodyStatusCodeN401 SyncGitHubSecretSync401JSONResponseBodyStatusCode = 401
++ CreateGitHubSecretSync401JSONResponseBodyStatusCodeN401 CreateGitHubSecretSync401JSONResponseBodyStatusCode = 401
)
- // Valid indicates whether the value is a known member of the UpdateOidcConfig403JSONResponseBodyStatusCode enum.
- func (e UpdateOidcConfig403JSONResponseBodyStatusCode) Valid() bool {
-// 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 CreateGitHubSecretSync401JSONResponseBodyStatusCode enum.
++func (e CreateGitHubSecretSync401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateOidcConfig403JSONResponseBodyStatusCodeN403:
- case SyncGitHubSecretSync401JSONResponseBodyStatusCodeN401:
++ case CreateGitHubSecretSync401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for UpdateOidcConfig404JSONResponseBodyStatusCode.
-// Defines values for SyncGitHubSecretSync403JSONResponseBodyStatusCode.
++// Defines values for CreateGitHubSecretSync403JSONResponseBodyStatusCode.
const (
- UpdateOidcConfig404JSONResponseBodyStatusCodeN404 UpdateOidcConfig404JSONResponseBodyStatusCode = 404
- SyncGitHubSecretSync403JSONResponseBodyStatusCodeN403 SyncGitHubSecretSync403JSONResponseBodyStatusCode = 403
++ CreateGitHubSecretSync403JSONResponseBodyStatusCodeN403 CreateGitHubSecretSync403JSONResponseBodyStatusCode = 403
)
- // Valid indicates whether the value is a known member of the UpdateOidcConfig404JSONResponseBodyStatusCode enum.
- func (e UpdateOidcConfig404JSONResponseBodyStatusCode) Valid() bool {
-// 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 CreateGitHubSecretSync403JSONResponseBodyStatusCode enum.
++func (e CreateGitHubSecretSync403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateOidcConfig404JSONResponseBodyStatusCodeN404:
- case SyncGitHubSecretSync403JSONResponseBodyStatusCodeN403:
++ case CreateGitHubSecretSync403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for UpdateOidcConfig422JSONResponseBodyStatusCode.
-// Defines values for SyncGitHubSecretSync404JSONResponseBodyStatusCode.
++// Defines values for CreateGitHubSecretSync404JSONResponseBodyStatusCode.
const (
- UpdateOidcConfig422JSONResponseBodyStatusCodeN422 UpdateOidcConfig422JSONResponseBodyStatusCode = 422
- SyncGitHubSecretSync404JSONResponseBodyStatusCodeN404 SyncGitHubSecretSync404JSONResponseBodyStatusCode = 404
++ CreateGitHubSecretSync404JSONResponseBodyStatusCodeN404 CreateGitHubSecretSync404JSONResponseBodyStatusCode = 404
)
- // Valid indicates whether the value is a known member of the UpdateOidcConfig422JSONResponseBodyStatusCode enum.
- func (e UpdateOidcConfig422JSONResponseBodyStatusCode) Valid() bool {
-// 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 CreateGitHubSecretSync404JSONResponseBodyStatusCode enum.
++func (e CreateGitHubSecretSync404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateOidcConfig422JSONResponseBodyStatusCodeN422:
- case SyncGitHubSecretSync404JSONResponseBodyStatusCodeN404:
++ case CreateGitHubSecretSync404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for UpdateOidcConfig500JSONResponseBodyStatusCode.
-// Defines values for SyncGitHubSecretSync422JSONResponseBodyStatusCode.
++// Defines values for CreateGitHubSecretSync422JSONResponseBodyStatusCode.
const (
- UpdateOidcConfig500JSONResponseBodyStatusCodeN500 UpdateOidcConfig500JSONResponseBodyStatusCode = 500
- SyncGitHubSecretSync422JSONResponseBodyStatusCodeN422 SyncGitHubSecretSync422JSONResponseBodyStatusCode = 422
++ CreateGitHubSecretSync422JSONResponseBodyStatusCodeN422 CreateGitHubSecretSync422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the UpdateOidcConfig500JSONResponseBodyStatusCode enum.
- func (e UpdateOidcConfig500JSONResponseBodyStatusCode) Valid() bool {
-// 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 CreateGitHubSecretSync422JSONResponseBodyStatusCode enum.
++func (e CreateGitHubSecretSync422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateOidcConfig500JSONResponseBodyStatusCodeN500:
- case SyncGitHubSecretSync422JSONResponseBodyStatusCodeN422:
++ case CreateGitHubSecretSync422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for CreateOidcConfigJSONBodyConfigurationType.
-// Defines values for SyncGitHubSecretSync500JSONResponseBodyStatusCode.
++// Defines values for CreateGitHubSecretSync500JSONResponseBodyStatusCode.
const (
- CreateOidcConfigJSONBodyConfigurationTypeCustom CreateOidcConfigJSONBodyConfigurationType = "custom"
- CreateOidcConfigJSONBodyConfigurationTypeDiscoveryURL CreateOidcConfigJSONBodyConfigurationType = "discoveryURL"
- SyncGitHubSecretSync500JSONResponseBodyStatusCodeN500 SyncGitHubSecretSync500JSONResponseBodyStatusCode = 500
++ CreateGitHubSecretSync500JSONResponseBodyStatusCodeN500 CreateGitHubSecretSync500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the CreateOidcConfigJSONBodyConfigurationType enum.
- func (e CreateOidcConfigJSONBodyConfigurationType) Valid() bool {
-// 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 CreateGitHubSecretSync500JSONResponseBodyStatusCode enum.
++func (e CreateGitHubSecretSync500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateOidcConfigJSONBodyConfigurationTypeCustom:
- return true
- case CreateOidcConfigJSONBodyConfigurationTypeDiscoveryURL:
- case SyncGitHubSecretSync500JSONResponseBodyStatusCodeN500:
++ case CreateGitHubSecretSync500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for CreateOidcConfigJSONBodyJwtSignatureAlgorithm.
-// Defines values for GetSamlConfig400JSONResponseBodyStatusCode.
++// Defines values for DeleteGitHubSecretSyncParamsRemoveSecrets.
const (
- CreateOidcConfigJSONBodyJwtSignatureAlgorithmEdDSA CreateOidcConfigJSONBodyJwtSignatureAlgorithm = "EdDSA"
- CreateOidcConfigJSONBodyJwtSignatureAlgorithmHS256 CreateOidcConfigJSONBodyJwtSignatureAlgorithm = "HS256"
- CreateOidcConfigJSONBodyJwtSignatureAlgorithmRS256 CreateOidcConfigJSONBodyJwtSignatureAlgorithm = "RS256"
- CreateOidcConfigJSONBodyJwtSignatureAlgorithmRS512 CreateOidcConfigJSONBodyJwtSignatureAlgorithm = "RS512"
- GetSamlConfig400JSONResponseBodyStatusCodeN400 GetSamlConfig400JSONResponseBodyStatusCode = 400
++ DeleteGitHubSecretSyncParamsRemoveSecretsFalse DeleteGitHubSecretSyncParamsRemoveSecrets = "false"
++ DeleteGitHubSecretSyncParamsRemoveSecretsTrue DeleteGitHubSecretSyncParamsRemoveSecrets = "true"
)
- // Valid indicates whether the value is a known member of the CreateOidcConfigJSONBodyJwtSignatureAlgorithm enum.
- func (e CreateOidcConfigJSONBodyJwtSignatureAlgorithm) Valid() bool {
-// Valid indicates whether the value is a known member of the GetSamlConfig400JSONResponseBodyStatusCode enum.
-func (e GetSamlConfig400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteGitHubSecretSyncParamsRemoveSecrets enum.
++func (e DeleteGitHubSecretSyncParamsRemoveSecrets) Valid() bool {
switch e {
- case CreateOidcConfigJSONBodyJwtSignatureAlgorithmEdDSA:
- return true
- case CreateOidcConfigJSONBodyJwtSignatureAlgorithmHS256:
- return true
- case CreateOidcConfigJSONBodyJwtSignatureAlgorithmRS256:
- case GetSamlConfig400JSONResponseBodyStatusCodeN400:
++ case DeleteGitHubSecretSyncParamsRemoveSecretsFalse:
+ return true
- case CreateOidcConfigJSONBodyJwtSignatureAlgorithmRS512:
++ case DeleteGitHubSecretSyncParamsRemoveSecretsTrue:
return true
default:
return false
}
}
- // Defines values for CreateOidcConfig400JSONResponseBodyStatusCode.
-// Defines values for GetSamlConfig401JSONResponseBodyStatusCode.
++// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp.
const (
- CreateOidcConfig400JSONResponseBodyStatusCodeN400 CreateOidcConfig400JSONResponseBodyStatusCode = 400
- GetSamlConfig401JSONResponseBodyStatusCodeN401 GetSamlConfig401JSONResponseBodyStatusCode = 401
++ DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp = "github"
)
- // Valid indicates whether the value is a known member of the CreateOidcConfig400JSONResponseBodyStatusCode enum.
- func (e CreateOidcConfig400JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the GetSamlConfig401JSONResponseBodyStatusCode enum.
-func (e GetSamlConfig401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp enum.
++func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp) Valid() bool {
switch e {
- case CreateOidcConfig400JSONResponseBodyStatusCodeN400:
- case GetSamlConfig401JSONResponseBodyStatusCodeN401:
++ case DeleteGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub:
return true
default:
return false
}
}
- // Defines values for CreateOidcConfig401JSONResponseBodyStatusCode.
-// Defines values for GetSamlConfig403JSONResponseBodyStatusCode.
++// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination.
const (
- CreateOidcConfig401JSONResponseBodyStatusCodeN401 CreateOidcConfig401JSONResponseBodyStatusCode = 401
- GetSamlConfig403JSONResponseBodyStatusCodeN403 GetSamlConfig403JSONResponseBodyStatusCode = 403
++ DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination = "github"
)
- // Valid indicates whether the value is a known member of the CreateOidcConfig401JSONResponseBodyStatusCode enum.
- func (e CreateOidcConfig401JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the GetSamlConfig403JSONResponseBodyStatusCode enum.
-func (e GetSamlConfig403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination enum.
++func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestination) Valid() bool {
switch e {
- case CreateOidcConfig401JSONResponseBodyStatusCodeN401:
- case GetSamlConfig403JSONResponseBodyStatusCodeN403:
++ case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub:
return true
default:
return false
}
}
- // Defines values for CreateOidcConfig403JSONResponseBodyStatusCode.
-// Defines values for GetSamlConfig404JSONResponseBodyStatusCode.
++// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope.
const (
- CreateOidcConfig403JSONResponseBodyStatusCodeN403 CreateOidcConfig403JSONResponseBodyStatusCode = 403
- GetSamlConfig404JSONResponseBodyStatusCodeN404 GetSamlConfig404JSONResponseBodyStatusCode = 404
++ DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization"
)
- // Valid indicates whether the value is a known member of the CreateOidcConfig403JSONResponseBodyStatusCode enum.
- func (e CreateOidcConfig403JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the GetSamlConfig404JSONResponseBodyStatusCode enum.
-func (e GetSamlConfig404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope enum.
++func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope) Valid() bool {
switch e {
- case CreateOidcConfig403JSONResponseBodyStatusCodeN403:
- case GetSamlConfig404JSONResponseBodyStatusCodeN404:
++ case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:
return true
default:
return false
}
}
- // Defines values for CreateOidcConfig404JSONResponseBodyStatusCode.
-// Defines values for GetSamlConfig422JSONResponseBodyStatusCode.
++// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility.
const (
- CreateOidcConfig404JSONResponseBodyStatusCodeN404 CreateOidcConfig404JSONResponseBodyStatusCode = 404
- GetSamlConfig422JSONResponseBodyStatusCodeN422 GetSamlConfig422JSONResponseBodyStatusCode = 422
++ DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"
++ DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"
++ DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected"
)
- // Valid indicates whether the value is a known member of the CreateOidcConfig404JSONResponseBodyStatusCode enum.
- func (e CreateOidcConfig404JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the GetSamlConfig422JSONResponseBodyStatusCode enum.
-func (e GetSamlConfig422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility enum.
++func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility) Valid() bool {
switch e {
- case CreateOidcConfig404JSONResponseBodyStatusCodeN404:
- case GetSamlConfig422JSONResponseBodyStatusCodeN422:
++ case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:
++ return true
++ case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:
++ return true
++ case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:
return true
default:
return false
}
}
- // Defines values for CreateOidcConfig422JSONResponseBodyStatusCode.
-// Defines values for GetSamlConfig500JSONResponseBodyStatusCode.
++// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope.
const (
- CreateOidcConfig422JSONResponseBodyStatusCodeN422 CreateOidcConfig422JSONResponseBodyStatusCode = 422
- GetSamlConfig500JSONResponseBodyStatusCodeN500 GetSamlConfig500JSONResponseBodyStatusCode = 500
++ DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository"
)
- // Valid indicates whether the value is a known member of the CreateOidcConfig422JSONResponseBodyStatusCode enum.
- func (e CreateOidcConfig422JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the GetSamlConfig500JSONResponseBodyStatusCode enum.
-func (e GetSamlConfig500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope enum.
++func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope) Valid() bool {
switch e {
- case CreateOidcConfig422JSONResponseBodyStatusCodeN422:
- case GetSamlConfig500JSONResponseBodyStatusCodeN500:
++ case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:
return true
default:
return false
}
}
- // Defines values for CreateOidcConfig500JSONResponseBodyStatusCode.
-// Defines values for UpdateSamlConfigJSONBodyAuthProvider.
++// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope.
const (
- CreateOidcConfig500JSONResponseBodyStatusCodeN500 CreateOidcConfig500JSONResponseBodyStatusCode = 500
- UpdateSamlConfigJSONBodyAuthProviderAuth0Saml UpdateSamlConfigJSONBodyAuthProvider = "auth0-saml"
- UpdateSamlConfigJSONBodyAuthProviderAzureSaml UpdateSamlConfigJSONBodyAuthProvider = "azure-saml"
- UpdateSamlConfigJSONBodyAuthProviderGoogleSaml UpdateSamlConfigJSONBodyAuthProvider = "google-saml"
- UpdateSamlConfigJSONBodyAuthProviderJumpcloudSaml UpdateSamlConfigJSONBodyAuthProvider = "jumpcloud-saml"
- UpdateSamlConfigJSONBodyAuthProviderKeycloakSaml UpdateSamlConfigJSONBodyAuthProvider = "keycloak-saml"
- UpdateSamlConfigJSONBodyAuthProviderOktaSaml UpdateSamlConfigJSONBodyAuthProvider = "okta-saml"
++ DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment"
)
- // Valid indicates whether the value is a known member of the CreateOidcConfig500JSONResponseBodyStatusCode enum.
- func (e CreateOidcConfig500JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSamlConfigJSONBodyAuthProvider enum.
-func (e UpdateSamlConfigJSONBodyAuthProvider) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope enum.
++func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope) Valid() bool {
switch e {
- case CreateOidcConfig500JSONResponseBodyStatusCodeN500:
- case UpdateSamlConfigJSONBodyAuthProviderAuth0Saml:
- return true
- case UpdateSamlConfigJSONBodyAuthProviderAzureSaml:
- return true
- case UpdateSamlConfigJSONBodyAuthProviderGoogleSaml:
- return true
- case UpdateSamlConfigJSONBodyAuthProviderJumpcloudSaml:
- return true
- case UpdateSamlConfigJSONBodyAuthProviderKeycloakSaml:
- return true
- case UpdateSamlConfigJSONBodyAuthProviderOktaSaml:
++ case DeleteGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:
return true
default:
return false
}
}
- // Defines values for CreateSecretFolder400JSONResponseBodyStatusCode.
-// Defines values for UpdateSamlConfig400JSONResponseBodyStatusCode.
++// Defines values for DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.
const (
- CreateSecretFolder400JSONResponseBodyStatusCodeN400 CreateSecretFolder400JSONResponseBodyStatusCode = 400
- UpdateSamlConfig400JSONResponseBodyStatusCodeN400 UpdateSamlConfig400JSONResponseBodyStatusCode = 400
++ DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination"
)
- // Valid indicates whether the value is a known member of the CreateSecretFolder400JSONResponseBodyStatusCode enum.
- func (e CreateSecretFolder400JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSamlConfig400JSONResponseBodyStatusCode enum.
-func (e UpdateSamlConfig400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior enum.
++func (e DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior) Valid() bool {
switch e {
- case CreateSecretFolder400JSONResponseBodyStatusCodeN400:
- case UpdateSamlConfig400JSONResponseBodyStatusCodeN400:
++ case DeleteGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:
return true
default:
return false
}
}
- // Defines values for CreateSecretFolder401JSONResponseBodyStatusCode.
-// Defines values for UpdateSamlConfig401JSONResponseBodyStatusCode.
++// Defines values for DeleteGitHubSecretSync400JSONResponseBodyStatusCode.
const (
- CreateSecretFolder401JSONResponseBodyStatusCodeN401 CreateSecretFolder401JSONResponseBodyStatusCode = 401
- UpdateSamlConfig401JSONResponseBodyStatusCodeN401 UpdateSamlConfig401JSONResponseBodyStatusCode = 401
++ DeleteGitHubSecretSync400JSONResponseBodyStatusCodeN400 DeleteGitHubSecretSync400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the CreateSecretFolder401JSONResponseBodyStatusCode enum.
- func (e CreateSecretFolder401JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSamlConfig401JSONResponseBodyStatusCode enum.
-func (e UpdateSamlConfig401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync400JSONResponseBodyStatusCode enum.
++func (e DeleteGitHubSecretSync400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSecretFolder401JSONResponseBodyStatusCodeN401:
- case UpdateSamlConfig401JSONResponseBodyStatusCodeN401:
++ case DeleteGitHubSecretSync400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for CreateSecretFolder403JSONResponseBodyStatusCode.
-// Defines values for UpdateSamlConfig403JSONResponseBodyStatusCode.
++// Defines values for DeleteGitHubSecretSync401JSONResponseBodyStatusCode.
const (
- CreateSecretFolder403JSONResponseBodyStatusCodeN403 CreateSecretFolder403JSONResponseBodyStatusCode = 403
- UpdateSamlConfig403JSONResponseBodyStatusCodeN403 UpdateSamlConfig403JSONResponseBodyStatusCode = 403
++ DeleteGitHubSecretSync401JSONResponseBodyStatusCodeN401 DeleteGitHubSecretSync401JSONResponseBodyStatusCode = 401
)
- // Valid indicates whether the value is a known member of the CreateSecretFolder403JSONResponseBodyStatusCode enum.
- func (e CreateSecretFolder403JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSamlConfig403JSONResponseBodyStatusCode enum.
-func (e UpdateSamlConfig403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync401JSONResponseBodyStatusCode enum.
++func (e DeleteGitHubSecretSync401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSecretFolder403JSONResponseBodyStatusCodeN403:
- case UpdateSamlConfig403JSONResponseBodyStatusCodeN403:
++ case DeleteGitHubSecretSync401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for CreateSecretFolder404JSONResponseBodyStatusCode.
-// Defines values for UpdateSamlConfig404JSONResponseBodyStatusCode.
++// Defines values for DeleteGitHubSecretSync403JSONResponseBodyStatusCode.
const (
- CreateSecretFolder404JSONResponseBodyStatusCodeN404 CreateSecretFolder404JSONResponseBodyStatusCode = 404
- UpdateSamlConfig404JSONResponseBodyStatusCodeN404 UpdateSamlConfig404JSONResponseBodyStatusCode = 404
++ DeleteGitHubSecretSync403JSONResponseBodyStatusCodeN403 DeleteGitHubSecretSync403JSONResponseBodyStatusCode = 403
)
- // Valid indicates whether the value is a known member of the CreateSecretFolder404JSONResponseBodyStatusCode enum.
- func (e CreateSecretFolder404JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSamlConfig404JSONResponseBodyStatusCode enum.
-func (e UpdateSamlConfig404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync403JSONResponseBodyStatusCode enum.
++func (e DeleteGitHubSecretSync403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSecretFolder404JSONResponseBodyStatusCodeN404:
- case UpdateSamlConfig404JSONResponseBodyStatusCodeN404:
++ case DeleteGitHubSecretSync403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for CreateSecretFolder422JSONResponseBodyStatusCode.
-// Defines values for UpdateSamlConfig422JSONResponseBodyStatusCode.
++// Defines values for DeleteGitHubSecretSync404JSONResponseBodyStatusCode.
const (
- CreateSecretFolder422JSONResponseBodyStatusCodeN422 CreateSecretFolder422JSONResponseBodyStatusCode = 422
- UpdateSamlConfig422JSONResponseBodyStatusCodeN422 UpdateSamlConfig422JSONResponseBodyStatusCode = 422
++ DeleteGitHubSecretSync404JSONResponseBodyStatusCodeN404 DeleteGitHubSecretSync404JSONResponseBodyStatusCode = 404
)
- // Valid indicates whether the value is a known member of the CreateSecretFolder422JSONResponseBodyStatusCode enum.
- func (e CreateSecretFolder422JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSamlConfig422JSONResponseBodyStatusCode enum.
-func (e UpdateSamlConfig422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync404JSONResponseBodyStatusCode enum.
++func (e DeleteGitHubSecretSync404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSecretFolder422JSONResponseBodyStatusCodeN422:
- case UpdateSamlConfig422JSONResponseBodyStatusCodeN422:
++ case DeleteGitHubSecretSync404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for CreateSecretFolder500JSONResponseBodyStatusCode.
-// Defines values for UpdateSamlConfig500JSONResponseBodyStatusCode.
++// Defines values for DeleteGitHubSecretSync422JSONResponseBodyStatusCode.
const (
- CreateSecretFolder500JSONResponseBodyStatusCodeN500 CreateSecretFolder500JSONResponseBodyStatusCode = 500
- UpdateSamlConfig500JSONResponseBodyStatusCodeN500 UpdateSamlConfig500JSONResponseBodyStatusCode = 500
++ DeleteGitHubSecretSync422JSONResponseBodyStatusCodeN422 DeleteGitHubSecretSync422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the CreateSecretFolder500JSONResponseBodyStatusCode enum.
- func (e CreateSecretFolder500JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSamlConfig500JSONResponseBodyStatusCode enum.
-func (e UpdateSamlConfig500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync422JSONResponseBodyStatusCode enum.
++func (e DeleteGitHubSecretSync422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSecretFolder500JSONResponseBodyStatusCodeN500:
- case UpdateSamlConfig500JSONResponseBodyStatusCodeN500:
++ case DeleteGitHubSecretSync422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for CreateOrganization400JSONResponseBodyStatusCode.
-// Defines values for CreateSamlConfigJSONBodyAuthProvider.
++// Defines values for DeleteGitHubSecretSync500JSONResponseBodyStatusCode.
const (
- CreateOrganization400JSONResponseBodyStatusCodeN400 CreateOrganization400JSONResponseBodyStatusCode = 400
- CreateSamlConfigJSONBodyAuthProviderAuth0Saml CreateSamlConfigJSONBodyAuthProvider = "auth0-saml"
- CreateSamlConfigJSONBodyAuthProviderAzureSaml CreateSamlConfigJSONBodyAuthProvider = "azure-saml"
- CreateSamlConfigJSONBodyAuthProviderGoogleSaml CreateSamlConfigJSONBodyAuthProvider = "google-saml"
- CreateSamlConfigJSONBodyAuthProviderJumpcloudSaml CreateSamlConfigJSONBodyAuthProvider = "jumpcloud-saml"
- CreateSamlConfigJSONBodyAuthProviderKeycloakSaml CreateSamlConfigJSONBodyAuthProvider = "keycloak-saml"
- CreateSamlConfigJSONBodyAuthProviderOktaSaml CreateSamlConfigJSONBodyAuthProvider = "okta-saml"
++ DeleteGitHubSecretSync500JSONResponseBodyStatusCodeN500 DeleteGitHubSecretSync500JSONResponseBodyStatusCode = 500
)
- // 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 CreateSamlConfigJSONBodyAuthProvider enum.
-func (e CreateSamlConfigJSONBodyAuthProvider) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteGitHubSecretSync500JSONResponseBodyStatusCode enum.
++func (e DeleteGitHubSecretSync500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateOrganization400JSONResponseBodyStatusCodeN400:
- case CreateSamlConfigJSONBodyAuthProviderAuth0Saml:
- return true
- case CreateSamlConfigJSONBodyAuthProviderAzureSaml:
- return true
- case CreateSamlConfigJSONBodyAuthProviderGoogleSaml:
- return true
- case CreateSamlConfigJSONBodyAuthProviderJumpcloudSaml:
- return true
- case CreateSamlConfigJSONBodyAuthProviderKeycloakSaml:
- return true
- case CreateSamlConfigJSONBodyAuthProviderOktaSaml:
++ case DeleteGitHubSecretSync500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for CreateOrganization401JSONResponseBodyStatusCode.
-// Defines values for CreateSamlConfig400JSONResponseBodyStatusCode.
++// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp.
const (
- CreateOrganization401JSONResponseBodyStatusCodeN401 CreateOrganization401JSONResponseBodyStatusCode = 401
- CreateSamlConfig400JSONResponseBodyStatusCodeN400 CreateSamlConfig400JSONResponseBodyStatusCode = 400
++ GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp = "github"
)
- // 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 CreateSamlConfig400JSONResponseBodyStatusCode enum.
-func (e CreateSamlConfig400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp enum.
++func (e GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp) Valid() bool {
switch e {
- case CreateOrganization401JSONResponseBodyStatusCodeN401:
- case CreateSamlConfig400JSONResponseBodyStatusCodeN400:
++ case GetGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub:
return true
default:
return false
}
}
- // Defines values for CreateOrganization403JSONResponseBodyStatusCode.
-// Defines values for CreateSamlConfig401JSONResponseBodyStatusCode.
++// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestination.
const (
- CreateOrganization403JSONResponseBodyStatusCodeN403 CreateOrganization403JSONResponseBodyStatusCode = 403
- CreateSamlConfig401JSONResponseBodyStatusCodeN401 CreateSamlConfig401JSONResponseBodyStatusCode = 401
++ GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub GetGitHubSecretSync200JSONResponseBodySecretSyncDestination = "github"
)
- // 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 CreateSamlConfig401JSONResponseBodyStatusCode enum.
-func (e CreateSamlConfig401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetGitHubSecretSync200JSONResponseBodySecretSyncDestination enum.
++func (e GetGitHubSecretSync200JSONResponseBodySecretSyncDestination) Valid() bool {
switch e {
- case CreateOrganization403JSONResponseBodyStatusCodeN403:
- case CreateSamlConfig401JSONResponseBodyStatusCodeN401:
++ case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub:
return true
default:
return false
}
}
- // Defines values for CreateOrganization404JSONResponseBodyStatusCode.
-// Defines values for CreateSamlConfig403JSONResponseBodyStatusCode.
++// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope.
const (
- CreateOrganization404JSONResponseBodyStatusCodeN404 CreateOrganization404JSONResponseBodyStatusCode = 404
- CreateSamlConfig403JSONResponseBodyStatusCodeN403 CreateSamlConfig403JSONResponseBodyStatusCode = 403
++ GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization"
)
- // 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 CreateSamlConfig403JSONResponseBodyStatusCode enum.
-func (e CreateSamlConfig403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope enum.
++func (e GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope) Valid() bool {
switch e {
- case CreateOrganization404JSONResponseBodyStatusCodeN404:
- case CreateSamlConfig403JSONResponseBodyStatusCodeN403:
++ case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:
return true
default:
return false
}
}
- // Defines values for CreateOrganization422JSONResponseBodyStatusCode.
-// Defines values for CreateSamlConfig404JSONResponseBodyStatusCode.
++// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility.
const (
- CreateOrganization422JSONResponseBodyStatusCodeN422 CreateOrganization422JSONResponseBodyStatusCode = 422
- CreateSamlConfig404JSONResponseBodyStatusCodeN404 CreateSamlConfig404JSONResponseBodyStatusCode = 404
++ GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"
++ GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"
++ GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected"
)
- // 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 CreateSamlConfig404JSONResponseBodyStatusCode enum.
-func (e CreateSamlConfig404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility enum.
++func (e GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility) Valid() bool {
switch e {
- case CreateOrganization422JSONResponseBodyStatusCodeN422:
- case CreateSamlConfig404JSONResponseBodyStatusCodeN404:
++ case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:
++ return true
++ case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:
++ return true
++ case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:
return true
default:
return false
}
}
- // Defines values for CreateOrganization500JSONResponseBodyStatusCode.
-// Defines values for CreateSamlConfig422JSONResponseBodyStatusCode.
++// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope.
const (
- CreateOrganization500JSONResponseBodyStatusCodeN500 CreateOrganization500JSONResponseBodyStatusCode = 500
- CreateSamlConfig422JSONResponseBodyStatusCodeN422 CreateSamlConfig422JSONResponseBodyStatusCode = 422
++ GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository"
)
- // 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 CreateSamlConfig422JSONResponseBodyStatusCode enum.
-func (e CreateSamlConfig422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope enum.
++func (e GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope) Valid() bool {
switch e {
- case CreateOrganization500JSONResponseBodyStatusCodeN500:
- case CreateSamlConfig422JSONResponseBodyStatusCodeN422:
++ case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:
return true
default:
return false
}
}
- // Defines values for DeleteOrganization400JSONResponseBodyStatusCode.
-// Defines values for CreateSamlConfig500JSONResponseBodyStatusCode.
++// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope.
const (
- DeleteOrganization400JSONResponseBodyStatusCodeN400 DeleteOrganization400JSONResponseBodyStatusCode = 400
- CreateSamlConfig500JSONResponseBodyStatusCodeN500 CreateSamlConfig500JSONResponseBodyStatusCode = 500
++ GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment"
)
- // 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 CreateSamlConfig500JSONResponseBodyStatusCode enum.
-func (e CreateSamlConfig500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope enum.
++func (e GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope) Valid() bool {
switch e {
- case DeleteOrganization400JSONResponseBodyStatusCodeN400:
- case CreateSamlConfig500JSONResponseBodyStatusCodeN500:
++ case GetGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:
return true
default:
return false
}
}
- // Defines values for DeleteOrganization401JSONResponseBodyStatusCode.
-// Defines values for CreateSecretFolder400JSONResponseBodyStatusCode.
++// Defines values for GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.
const (
- DeleteOrganization401JSONResponseBodyStatusCodeN401 DeleteOrganization401JSONResponseBodyStatusCode = 401
- CreateSecretFolder400JSONResponseBodyStatusCodeN400 CreateSecretFolder400JSONResponseBodyStatusCode = 400
++ GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination"
)
- // 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 CreateSecretFolder400JSONResponseBodyStatusCode enum.
-func (e CreateSecretFolder400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior enum.
++func (e GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior) Valid() bool {
switch e {
- case DeleteOrganization401JSONResponseBodyStatusCodeN401:
- case CreateSecretFolder400JSONResponseBodyStatusCodeN400:
++ case GetGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:
return true
default:
return false
}
}
- // Defines values for DeleteOrganization403JSONResponseBodyStatusCode.
-// Defines values for CreateSecretFolder401JSONResponseBodyStatusCode.
++// Defines values for GetGitHubSecretSync400JSONResponseBodyStatusCode.
const (
- DeleteOrganization403JSONResponseBodyStatusCodeN403 DeleteOrganization403JSONResponseBodyStatusCode = 403
- CreateSecretFolder401JSONResponseBodyStatusCodeN401 CreateSecretFolder401JSONResponseBodyStatusCode = 401
++ GetGitHubSecretSync400JSONResponseBodyStatusCodeN400 GetGitHubSecretSync400JSONResponseBodyStatusCode = 400
)
- // 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 CreateSecretFolder401JSONResponseBodyStatusCode enum.
-func (e CreateSecretFolder401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetGitHubSecretSync400JSONResponseBodyStatusCode enum.
++func (e GetGitHubSecretSync400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteOrganization403JSONResponseBodyStatusCodeN403:
- case CreateSecretFolder401JSONResponseBodyStatusCodeN401:
++ case GetGitHubSecretSync400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for DeleteOrganization404JSONResponseBodyStatusCode.
-// Defines values for CreateSecretFolder403JSONResponseBodyStatusCode.
++// Defines values for GetGitHubSecretSync401JSONResponseBodyStatusCode.
const (
- DeleteOrganization404JSONResponseBodyStatusCodeN404 DeleteOrganization404JSONResponseBodyStatusCode = 404
- CreateSecretFolder403JSONResponseBodyStatusCodeN403 CreateSecretFolder403JSONResponseBodyStatusCode = 403
++ GetGitHubSecretSync401JSONResponseBodyStatusCodeN401 GetGitHubSecretSync401JSONResponseBodyStatusCode = 401
)
- // 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 CreateSecretFolder403JSONResponseBodyStatusCode enum.
-func (e CreateSecretFolder403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetGitHubSecretSync401JSONResponseBodyStatusCode enum.
++func (e GetGitHubSecretSync401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteOrganization404JSONResponseBodyStatusCodeN404:
- case CreateSecretFolder403JSONResponseBodyStatusCodeN403:
++ case GetGitHubSecretSync401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for DeleteOrganization422JSONResponseBodyStatusCode.
-// Defines values for CreateSecretFolder404JSONResponseBodyStatusCode.
++// Defines values for GetGitHubSecretSync403JSONResponseBodyStatusCode.
const (
- DeleteOrganization422JSONResponseBodyStatusCodeN422 DeleteOrganization422JSONResponseBodyStatusCode = 422
- CreateSecretFolder404JSONResponseBodyStatusCodeN404 CreateSecretFolder404JSONResponseBodyStatusCode = 404
++ GetGitHubSecretSync403JSONResponseBodyStatusCodeN403 GetGitHubSecretSync403JSONResponseBodyStatusCode = 403
)
- // 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 CreateSecretFolder404JSONResponseBodyStatusCode enum.
-func (e CreateSecretFolder404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetGitHubSecretSync403JSONResponseBodyStatusCode enum.
++func (e GetGitHubSecretSync403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteOrganization422JSONResponseBodyStatusCodeN422:
- case CreateSecretFolder404JSONResponseBodyStatusCodeN404:
++ case GetGitHubSecretSync403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for DeleteOrganization500JSONResponseBodyStatusCode.
-// Defines values for CreateSecretFolder422JSONResponseBodyStatusCode.
++// Defines values for GetGitHubSecretSync404JSONResponseBodyStatusCode.
const (
- DeleteOrganization500JSONResponseBodyStatusCodeN500 DeleteOrganization500JSONResponseBodyStatusCode = 500
- CreateSecretFolder422JSONResponseBodyStatusCodeN422 CreateSecretFolder422JSONResponseBodyStatusCode = 422
++ GetGitHubSecretSync404JSONResponseBodyStatusCodeN404 GetGitHubSecretSync404JSONResponseBodyStatusCode = 404
)
- // 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 CreateSecretFolder422JSONResponseBodyStatusCode enum.
-func (e CreateSecretFolder422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetGitHubSecretSync404JSONResponseBodyStatusCode enum.
++func (e GetGitHubSecretSync404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteOrganization500JSONResponseBodyStatusCodeN500:
- case CreateSecretFolder422JSONResponseBodyStatusCodeN422:
++ case GetGitHubSecretSync404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for ListOrgMemberships400JSONResponseBodyStatusCode.
-// Defines values for CreateSecretFolder500JSONResponseBodyStatusCode.
++// Defines values for GetGitHubSecretSync422JSONResponseBodyStatusCode.
const (
- ListOrgMemberships400JSONResponseBodyStatusCodeN400 ListOrgMemberships400JSONResponseBodyStatusCode = 400
- CreateSecretFolder500JSONResponseBodyStatusCodeN500 CreateSecretFolder500JSONResponseBodyStatusCode = 500
++ GetGitHubSecretSync422JSONResponseBodyStatusCodeN422 GetGitHubSecretSync422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the ListOrgMemberships400JSONResponseBodyStatusCode enum.
- func (e ListOrgMemberships400JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateSecretFolder500JSONResponseBodyStatusCode enum.
-func (e CreateSecretFolder500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetGitHubSecretSync422JSONResponseBodyStatusCode enum.
++func (e GetGitHubSecretSync422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case ListOrgMemberships400JSONResponseBodyStatusCodeN400:
- case CreateSecretFolder500JSONResponseBodyStatusCodeN500:
++ case GetGitHubSecretSync422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for ListOrgMemberships401JSONResponseBodyStatusCode.
-// Defines values for CreateOrganization400JSONResponseBodyStatusCode.
++// Defines values for GetGitHubSecretSync500JSONResponseBodyStatusCode.
const (
- ListOrgMemberships401JSONResponseBodyStatusCodeN401 ListOrgMemberships401JSONResponseBodyStatusCode = 401
- CreateOrganization400JSONResponseBodyStatusCodeN400 CreateOrganization400JSONResponseBodyStatusCode = 400
++ GetGitHubSecretSync500JSONResponseBodyStatusCodeN500 GetGitHubSecretSync500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the ListOrgMemberships401JSONResponseBodyStatusCode enum.
- func (e ListOrgMemberships401JSONResponseBodyStatusCode) Valid() bool {
-// 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 GetGitHubSecretSync500JSONResponseBodyStatusCode enum.
++func (e GetGitHubSecretSync500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case ListOrgMemberships401JSONResponseBodyStatusCodeN401:
- case CreateOrganization400JSONResponseBodyStatusCodeN400:
++ case GetGitHubSecretSync500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for ListOrgMemberships403JSONResponseBodyStatusCode.
-// Defines values for CreateOrganization401JSONResponseBodyStatusCode.
++// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp.
const (
- ListOrgMemberships403JSONResponseBodyStatusCodeN403 ListOrgMemberships403JSONResponseBodyStatusCode = 403
- CreateOrganization401JSONResponseBodyStatusCodeN401 CreateOrganization401JSONResponseBodyStatusCode = 401
++ RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionAppGithub RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp = "github"
)
- // Valid indicates whether the value is a known member of the ListOrgMemberships403JSONResponseBodyStatusCode enum.
- func (e ListOrgMemberships403JSONResponseBodyStatusCode) Valid() bool {
-// 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 RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp enum.
++func (e RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionApp) Valid() bool {
switch e {
- case ListOrgMemberships403JSONResponseBodyStatusCodeN403:
- case CreateOrganization401JSONResponseBodyStatusCodeN401:
++ case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncConnectionAppGithub:
return true
default:
return false
}
}
- // Defines values for ListOrgMemberships404JSONResponseBodyStatusCode.
-// Defines values for CreateOrganization403JSONResponseBodyStatusCode.
++// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination.
const (
- ListOrgMemberships404JSONResponseBodyStatusCodeN404 ListOrgMemberships404JSONResponseBodyStatusCode = 404
- CreateOrganization403JSONResponseBodyStatusCodeN403 CreateOrganization403JSONResponseBodyStatusCode = 403
++ RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationGithub RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination = "github"
)
- // Valid indicates whether the value is a known member of the ListOrgMemberships404JSONResponseBodyStatusCode enum.
- func (e ListOrgMemberships404JSONResponseBodyStatusCode) Valid() bool {
-// 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 RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination enum.
++func (e RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestination) Valid() bool {
switch e {
- case ListOrgMemberships404JSONResponseBodyStatusCodeN404:
- case CreateOrganization403JSONResponseBodyStatusCodeN403:
++ case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationGithub:
return true
default:
return false
}
}
- // Defines values for ListOrgMemberships422JSONResponseBodyStatusCode.
-// Defines values for CreateOrganization404JSONResponseBodyStatusCode.
++// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Scope.
const (
- ListOrgMemberships422JSONResponseBodyStatusCodeN422 ListOrgMemberships422JSONResponseBodyStatusCode = 422
- CreateOrganization404JSONResponseBodyStatusCodeN404 CreateOrganization404JSONResponseBodyStatusCode = 404
++ RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization"
)
- // Valid indicates whether the value is a known member of the ListOrgMemberships422JSONResponseBodyStatusCode enum.
- func (e ListOrgMemberships422JSONResponseBodyStatusCode) Valid() bool {
-// 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 RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Scope enum.
++func (e RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Scope) Valid() bool {
switch e {
- case ListOrgMemberships422JSONResponseBodyStatusCodeN422:
- case CreateOrganization404JSONResponseBodyStatusCodeN404:
++ case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:
return true
default:
return false
}
}
- // Defines values for ListOrgMemberships500JSONResponseBodyStatusCode.
-// Defines values for CreateOrganization422JSONResponseBodyStatusCode.
++// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility.
const (
- ListOrgMemberships500JSONResponseBodyStatusCodeN500 ListOrgMemberships500JSONResponseBodyStatusCode = 500
- CreateOrganization422JSONResponseBodyStatusCodeN422 CreateOrganization422JSONResponseBodyStatusCode = 422
++ RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"
++ RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"
++ RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected"
)
- // Valid indicates whether the value is a known member of the ListOrgMemberships500JSONResponseBodyStatusCode enum.
- func (e ListOrgMemberships500JSONResponseBodyStatusCode) Valid() bool {
-// 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 RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility enum.
++func (e RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0Visibility) Valid() bool {
switch e {
- case ListOrgMemberships500JSONResponseBodyStatusCodeN500:
- case CreateOrganization422JSONResponseBodyStatusCodeN422:
++ case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:
++ return true
++ case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:
++ return true
++ case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:
return true
default:
return false
}
}
- // Defines values for GetOrgMembership400JSONResponseBodyStatusCode.
-// Defines values for CreateOrganization500JSONResponseBodyStatusCode.
++// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1Scope.
const (
- GetOrgMembership400JSONResponseBodyStatusCodeN400 GetOrgMembership400JSONResponseBodyStatusCode = 400
- CreateOrganization500JSONResponseBodyStatusCodeN500 CreateOrganization500JSONResponseBodyStatusCode = 500
++ RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository"
)
- // Valid indicates whether the value is a known member of the GetOrgMembership400JSONResponseBodyStatusCode enum.
- func (e GetOrgMembership400JSONResponseBodyStatusCode) Valid() bool {
-// 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 RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1Scope enum.
++func (e RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1Scope) Valid() bool {
switch e {
- case GetOrgMembership400JSONResponseBodyStatusCodeN400:
- case CreateOrganization500JSONResponseBodyStatusCodeN500:
++ case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:
return true
default:
return false
}
}
- // Defines values for GetOrgMembership401JSONResponseBodyStatusCode.
-// Defines values for DeleteOrganization400JSONResponseBodyStatusCode.
++// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2Scope.
const (
- GetOrgMembership401JSONResponseBodyStatusCodeN401 GetOrgMembership401JSONResponseBodyStatusCode = 401
- DeleteOrganization400JSONResponseBodyStatusCodeN400 DeleteOrganization400JSONResponseBodyStatusCode = 400
++ RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment"
)
- // Valid indicates whether the value is a known member of the GetOrgMembership401JSONResponseBodyStatusCode enum.
- func (e GetOrgMembership401JSONResponseBodyStatusCode) Valid() bool {
-// 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 RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2Scope enum.
++func (e RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2Scope) Valid() bool {
switch e {
- case GetOrgMembership401JSONResponseBodyStatusCodeN401:
- case DeleteOrganization400JSONResponseBodyStatusCodeN400:
++ case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:
return true
default:
return false
}
}
- // Defines values for GetOrgMembership403JSONResponseBodyStatusCode.
-// Defines values for DeleteOrganization401JSONResponseBodyStatusCode.
++// Defines values for RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.
const (
- GetOrgMembership403JSONResponseBodyStatusCodeN403 GetOrgMembership403JSONResponseBodyStatusCode = 403
- DeleteOrganization401JSONResponseBodyStatusCodeN401 DeleteOrganization401JSONResponseBodyStatusCode = 401
++ RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination"
)
- // Valid indicates whether the value is a known member of the GetOrgMembership403JSONResponseBodyStatusCode enum.
- func (e GetOrgMembership403JSONResponseBodyStatusCode) Valid() bool {
-// 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 RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior enum.
++func (e RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior) Valid() bool {
switch e {
- case GetOrgMembership403JSONResponseBodyStatusCodeN403:
- case DeleteOrganization401JSONResponseBodyStatusCodeN401:
++ case RemoveGitHubSecretSyncSecrets200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:
return true
default:
return false
}
}
- // Defines values for GetOrgMembership404JSONResponseBodyStatusCode.
-// Defines values for DeleteOrganization403JSONResponseBodyStatusCode.
++// Defines values for RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode.
const (
- GetOrgMembership404JSONResponseBodyStatusCodeN404 GetOrgMembership404JSONResponseBodyStatusCode = 404
- DeleteOrganization403JSONResponseBodyStatusCodeN403 DeleteOrganization403JSONResponseBodyStatusCode = 403
++ RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCodeN400 RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the GetOrgMembership404JSONResponseBodyStatusCode enum.
- func (e GetOrgMembership404JSONResponseBodyStatusCode) Valid() bool {
-// 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 RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode enum.
++func (e RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetOrgMembership404JSONResponseBodyStatusCodeN404:
- case DeleteOrganization403JSONResponseBodyStatusCodeN403:
++ case RemoveGitHubSecretSyncSecrets400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for GetOrgMembership422JSONResponseBodyStatusCode.
-// Defines values for DeleteOrganization404JSONResponseBodyStatusCode.
++// Defines values for RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode.
const (
- GetOrgMembership422JSONResponseBodyStatusCodeN422 GetOrgMembership422JSONResponseBodyStatusCode = 422
- DeleteOrganization404JSONResponseBodyStatusCodeN404 DeleteOrganization404JSONResponseBodyStatusCode = 404
++ RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCodeN401 RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode = 401
)
- // Valid indicates whether the value is a known member of the GetOrgMembership422JSONResponseBodyStatusCode enum.
- func (e GetOrgMembership422JSONResponseBodyStatusCode) Valid() bool {
-// 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 RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode enum.
++func (e RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetOrgMembership422JSONResponseBodyStatusCodeN422:
- case DeleteOrganization404JSONResponseBodyStatusCodeN404:
++ case RemoveGitHubSecretSyncSecrets401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for GetOrgMembership500JSONResponseBodyStatusCode.
-// Defines values for DeleteOrganization422JSONResponseBodyStatusCode.
++// Defines values for RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode.
const (
- GetOrgMembership500JSONResponseBodyStatusCodeN500 GetOrgMembership500JSONResponseBodyStatusCode = 500
- DeleteOrganization422JSONResponseBodyStatusCodeN422 DeleteOrganization422JSONResponseBodyStatusCode = 422
++ RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCodeN403 RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode = 403
)
- // Valid indicates whether the value is a known member of the GetOrgMembership500JSONResponseBodyStatusCode enum.
- func (e GetOrgMembership500JSONResponseBodyStatusCode) Valid() bool {
-// 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 RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode enum.
++func (e RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetOrgMembership500JSONResponseBodyStatusCodeN500:
- case DeleteOrganization422JSONResponseBodyStatusCodeN422:
++ case RemoveGitHubSecretSyncSecrets403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for UpdateOrgMembership400JSONResponseBodyStatusCode.
-// Defines values for DeleteOrganization500JSONResponseBodyStatusCode.
++// Defines values for RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode.
const (
- UpdateOrgMembership400JSONResponseBodyStatusCodeN400 UpdateOrgMembership400JSONResponseBodyStatusCode = 400
- DeleteOrganization500JSONResponseBodyStatusCodeN500 DeleteOrganization500JSONResponseBodyStatusCode = 500
++ RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCodeN404 RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode = 404
)
- // Valid indicates whether the value is a known member of the UpdateOrgMembership400JSONResponseBodyStatusCode enum.
- func (e UpdateOrgMembership400JSONResponseBodyStatusCode) Valid() bool {
-// 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 RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode enum.
++func (e RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateOrgMembership400JSONResponseBodyStatusCodeN400:
- case DeleteOrganization500JSONResponseBodyStatusCodeN500:
++ case RemoveGitHubSecretSyncSecrets404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for UpdateOrgMembership401JSONResponseBodyStatusCode.
-// Defines values for ListOrgMemberships400JSONResponseBodyStatusCode.
++// Defines values for RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode.
const (
- UpdateOrgMembership401JSONResponseBodyStatusCodeN401 UpdateOrgMembership401JSONResponseBodyStatusCode = 401
- ListOrgMemberships400JSONResponseBodyStatusCodeN400 ListOrgMemberships400JSONResponseBodyStatusCode = 400
++ RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCodeN422 RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the UpdateOrgMembership401JSONResponseBodyStatusCode enum.
- func (e UpdateOrgMembership401JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the ListOrgMemberships400JSONResponseBodyStatusCode enum.
-func (e ListOrgMemberships400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode enum.
++func (e RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateOrgMembership401JSONResponseBodyStatusCodeN401:
- case ListOrgMemberships400JSONResponseBodyStatusCodeN400:
++ case RemoveGitHubSecretSyncSecrets422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for UpdateOrgMembership403JSONResponseBodyStatusCode.
-// Defines values for ListOrgMemberships401JSONResponseBodyStatusCode.
++// Defines values for RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode.
const (
- UpdateOrgMembership403JSONResponseBodyStatusCodeN403 UpdateOrgMembership403JSONResponseBodyStatusCode = 403
- ListOrgMemberships401JSONResponseBodyStatusCodeN401 ListOrgMemberships401JSONResponseBodyStatusCode = 401
++ RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCodeN500 RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the UpdateOrgMembership403JSONResponseBodyStatusCode enum.
- func (e UpdateOrgMembership403JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the ListOrgMemberships401JSONResponseBodyStatusCode enum.
-func (e ListOrgMemberships401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode enum.
++func (e RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateOrgMembership403JSONResponseBodyStatusCodeN403:
- case ListOrgMemberships401JSONResponseBodyStatusCodeN401:
++ case RemoveGitHubSecretSyncSecrets500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for UpdateOrgMembership404JSONResponseBodyStatusCode.
-// Defines values for ListOrgMemberships403JSONResponseBodyStatusCode.
++// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp.
const (
- UpdateOrgMembership404JSONResponseBodyStatusCodeN404 UpdateOrgMembership404JSONResponseBodyStatusCode = 404
- ListOrgMemberships403JSONResponseBodyStatusCodeN403 ListOrgMemberships403JSONResponseBodyStatusCode = 403
++ SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp = "github"
)
- // Valid indicates whether the value is a known member of the UpdateOrgMembership404JSONResponseBodyStatusCode enum.
- func (e UpdateOrgMembership404JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the ListOrgMemberships403JSONResponseBodyStatusCode enum.
-func (e ListOrgMemberships403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp enum.
++func (e SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionApp) Valid() bool {
switch e {
- case UpdateOrgMembership404JSONResponseBodyStatusCodeN404:
- case ListOrgMemberships403JSONResponseBodyStatusCodeN403:
++ case SyncGitHubSecretSync200JSONResponseBodySecretSyncConnectionAppGithub:
return true
default:
return false
}
}
- // Defines values for UpdateOrgMembership422JSONResponseBodyStatusCode.
-// Defines values for ListOrgMemberships404JSONResponseBodyStatusCode.
++// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination.
const (
- UpdateOrgMembership422JSONResponseBodyStatusCodeN422 UpdateOrgMembership422JSONResponseBodyStatusCode = 422
- ListOrgMemberships404JSONResponseBodyStatusCodeN404 ListOrgMemberships404JSONResponseBodyStatusCode = 404
++ SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination = "github"
)
- // Valid indicates whether the value is a known member of the UpdateOrgMembership422JSONResponseBodyStatusCode enum.
- func (e UpdateOrgMembership422JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the ListOrgMemberships404JSONResponseBodyStatusCode enum.
-func (e ListOrgMemberships404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination enum.
++func (e SyncGitHubSecretSync200JSONResponseBodySecretSyncDestination) Valid() bool {
switch e {
- case UpdateOrgMembership422JSONResponseBodyStatusCodeN422:
- case ListOrgMemberships404JSONResponseBodyStatusCodeN404:
++ case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationGithub:
return true
default:
return false
}
}
- // Defines values for UpdateOrgMembership500JSONResponseBodyStatusCode.
-// Defines values for ListOrgMemberships422JSONResponseBodyStatusCode.
++// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope.
const (
- UpdateOrgMembership500JSONResponseBodyStatusCodeN500 UpdateOrgMembership500JSONResponseBodyStatusCode = 500
- ListOrgMemberships422JSONResponseBodyStatusCodeN422 ListOrgMemberships422JSONResponseBodyStatusCode = 422
++ SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope = "organization"
)
- // Valid indicates whether the value is a known member of the UpdateOrgMembership500JSONResponseBodyStatusCode enum.
- func (e UpdateOrgMembership500JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the ListOrgMemberships422JSONResponseBodyStatusCode enum.
-func (e ListOrgMemberships422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope enum.
++func (e SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Scope) Valid() bool {
switch e {
- case UpdateOrgMembership500JSONResponseBodyStatusCodeN500:
- case ListOrgMemberships422JSONResponseBodyStatusCodeN422:
++ case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0ScopeOrganization:
return true
default:
return false
}
}
- // Defines values for CreateSecretApprovalPolicyJSONBodyApprovers0Type.
-// Defines values for ListOrgMemberships500JSONResponseBodyStatusCode.
++// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility.
const (
- CreateSecretApprovalPolicyJSONBodyApprovers0TypeGroup CreateSecretApprovalPolicyJSONBodyApprovers0Type = "group"
- ListOrgMemberships500JSONResponseBodyStatusCodeN500 ListOrgMemberships500JSONResponseBodyStatusCode = 500
++ SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "all"
++ SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "private"
++ SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility = "selected"
)
- // Valid indicates whether the value is a known member of the CreateSecretApprovalPolicyJSONBodyApprovers0Type enum.
- func (e CreateSecretApprovalPolicyJSONBodyApprovers0Type) Valid() bool {
-// Valid indicates whether the value is a known member of the ListOrgMemberships500JSONResponseBodyStatusCode enum.
-func (e ListOrgMemberships500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility enum.
++func (e SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0Visibility) Valid() bool {
switch e {
- case CreateSecretApprovalPolicyJSONBodyApprovers0TypeGroup:
- case ListOrgMemberships500JSONResponseBodyStatusCodeN500:
++ case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityAll:
++ return true
++ case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilityPrivate:
++ return true
++ case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig0VisibilitySelected:
return true
default:
return false
}
}
- // Defines values for CreateSecretApprovalPolicyJSONBodyApprovers1Type.
-// Defines values for GetOrgMembership400JSONResponseBodyStatusCode.
++// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope.
const (
- CreateSecretApprovalPolicyJSONBodyApprovers1TypeUser CreateSecretApprovalPolicyJSONBodyApprovers1Type = "user"
- GetOrgMembership400JSONResponseBodyStatusCodeN400 GetOrgMembership400JSONResponseBodyStatusCode = 400
++ SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope = "repository"
)
- // Valid indicates whether the value is a known member of the CreateSecretApprovalPolicyJSONBodyApprovers1Type enum.
- func (e CreateSecretApprovalPolicyJSONBodyApprovers1Type) Valid() bool {
-// Valid indicates whether the value is a known member of the GetOrgMembership400JSONResponseBodyStatusCode enum.
-func (e GetOrgMembership400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope enum.
++func (e SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1Scope) Valid() bool {
switch e {
- case CreateSecretApprovalPolicyJSONBodyApprovers1TypeUser:
- case GetOrgMembership400JSONResponseBodyStatusCodeN400:
++ case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig1ScopeRepository:
return true
default:
return false
}
}
- // Defines values for CreateSecretApprovalPolicyJSONBodyBypassers0Type.
-// Defines values for GetOrgMembership401JSONResponseBodyStatusCode.
++// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope.
const (
- CreateSecretApprovalPolicyJSONBodyBypassers0TypeGroup CreateSecretApprovalPolicyJSONBodyBypassers0Type = "group"
- GetOrgMembership401JSONResponseBodyStatusCodeN401 GetOrgMembership401JSONResponseBodyStatusCode = 401
++ SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope = "repository-environment"
)
- // Valid indicates whether the value is a known member of the CreateSecretApprovalPolicyJSONBodyBypassers0Type enum.
- func (e CreateSecretApprovalPolicyJSONBodyBypassers0Type) Valid() bool {
-// Valid indicates whether the value is a known member of the GetOrgMembership401JSONResponseBodyStatusCode enum.
-func (e GetOrgMembership401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope enum.
++func (e SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2Scope) Valid() bool {
switch e {
- case CreateSecretApprovalPolicyJSONBodyBypassers0TypeGroup:
- case GetOrgMembership401JSONResponseBodyStatusCodeN401:
++ case SyncGitHubSecretSync200JSONResponseBodySecretSyncDestinationConfig2ScopeRepositoryEnvironment:
return true
default:
return false
}
}
- // Defines values for CreateSecretApprovalPolicyJSONBodyBypassers1Type.
-// Defines values for GetOrgMembership403JSONResponseBodyStatusCode.
++// Defines values for SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior.
const (
- CreateSecretApprovalPolicyJSONBodyBypassers1TypeUser CreateSecretApprovalPolicyJSONBodyBypassers1Type = "user"
- GetOrgMembership403JSONResponseBodyStatusCodeN403 GetOrgMembership403JSONResponseBodyStatusCode = 403
++ SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior = "overwrite-destination"
)
- // Valid indicates whether the value is a known member of the CreateSecretApprovalPolicyJSONBodyBypassers1Type enum.
- func (e CreateSecretApprovalPolicyJSONBodyBypassers1Type) Valid() bool {
-// Valid indicates whether the value is a known member of the GetOrgMembership403JSONResponseBodyStatusCode enum.
-func (e GetOrgMembership403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior enum.
++func (e SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehavior) Valid() bool {
switch e {
- case CreateSecretApprovalPolicyJSONBodyBypassers1TypeUser:
- case GetOrgMembership403JSONResponseBodyStatusCodeN403:
++ case SyncGitHubSecretSync200JSONResponseBodySecretSyncSyncOptionsInitialSyncBehaviorOverwriteDestination:
return true
default:
return false
}
}
- // Defines values for CreateSecretApprovalPolicyJSONBodyEnforcementLevel.
-// Defines values for GetOrgMembership404JSONResponseBodyStatusCode.
++// Defines values for SyncGitHubSecretSync400JSONResponseBodyStatusCode.
const (
- CreateSecretApprovalPolicyJSONBodyEnforcementLevelHard CreateSecretApprovalPolicyJSONBodyEnforcementLevel = "hard"
- CreateSecretApprovalPolicyJSONBodyEnforcementLevelSoft CreateSecretApprovalPolicyJSONBodyEnforcementLevel = "soft"
- GetOrgMembership404JSONResponseBodyStatusCodeN404 GetOrgMembership404JSONResponseBodyStatusCode = 404
++ SyncGitHubSecretSync400JSONResponseBodyStatusCodeN400 SyncGitHubSecretSync400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the CreateSecretApprovalPolicyJSONBodyEnforcementLevel enum.
- func (e CreateSecretApprovalPolicyJSONBodyEnforcementLevel) Valid() bool {
-// Valid indicates whether the value is a known member of the GetOrgMembership404JSONResponseBodyStatusCode enum.
-func (e GetOrgMembership404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the SyncGitHubSecretSync400JSONResponseBodyStatusCode enum.
++func (e SyncGitHubSecretSync400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSecretApprovalPolicyJSONBodyEnforcementLevelHard:
- return true
- case CreateSecretApprovalPolicyJSONBodyEnforcementLevelSoft:
- case GetOrgMembership404JSONResponseBodyStatusCodeN404:
++ case SyncGitHubSecretSync400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for CreateSecretApprovalPolicy400JSONResponseBodyStatusCode.
-// Defines values for GetOrgMembership422JSONResponseBodyStatusCode.
++// Defines values for SyncGitHubSecretSync401JSONResponseBodyStatusCode.
const (
- CreateSecretApprovalPolicy400JSONResponseBodyStatusCodeN400 CreateSecretApprovalPolicy400JSONResponseBodyStatusCode = 400
- GetOrgMembership422JSONResponseBodyStatusCodeN422 GetOrgMembership422JSONResponseBodyStatusCode = 422
++ SyncGitHubSecretSync401JSONResponseBodyStatusCodeN401 SyncGitHubSecretSync401JSONResponseBodyStatusCode = 401
)
- // Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy400JSONResponseBodyStatusCode enum.
- func (e CreateSecretApprovalPolicy400JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the GetOrgMembership422JSONResponseBodyStatusCode enum.
-func (e GetOrgMembership422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the SyncGitHubSecretSync401JSONResponseBodyStatusCode enum.
++func (e SyncGitHubSecretSync401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSecretApprovalPolicy400JSONResponseBodyStatusCodeN400:
- case GetOrgMembership422JSONResponseBodyStatusCodeN422:
++ case SyncGitHubSecretSync401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for CreateSecretApprovalPolicy401JSONResponseBodyStatusCode.
-// Defines values for GetOrgMembership500JSONResponseBodyStatusCode.
++// Defines values for SyncGitHubSecretSync403JSONResponseBodyStatusCode.
const (
- CreateSecretApprovalPolicy401JSONResponseBodyStatusCodeN401 CreateSecretApprovalPolicy401JSONResponseBodyStatusCode = 401
- GetOrgMembership500JSONResponseBodyStatusCodeN500 GetOrgMembership500JSONResponseBodyStatusCode = 500
++ SyncGitHubSecretSync403JSONResponseBodyStatusCodeN403 SyncGitHubSecretSync403JSONResponseBodyStatusCode = 403
)
- // Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy401JSONResponseBodyStatusCode enum.
- func (e CreateSecretApprovalPolicy401JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the GetOrgMembership500JSONResponseBodyStatusCode enum.
-func (e GetOrgMembership500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the SyncGitHubSecretSync403JSONResponseBodyStatusCode enum.
++func (e SyncGitHubSecretSync403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSecretApprovalPolicy401JSONResponseBodyStatusCodeN401:
- case GetOrgMembership500JSONResponseBodyStatusCodeN500:
++ case SyncGitHubSecretSync403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for CreateSecretApprovalPolicy403JSONResponseBodyStatusCode.
-// Defines values for UpdateOrgMembership400JSONResponseBodyStatusCode.
++// Defines values for SyncGitHubSecretSync404JSONResponseBodyStatusCode.
const (
- CreateSecretApprovalPolicy403JSONResponseBodyStatusCodeN403 CreateSecretApprovalPolicy403JSONResponseBodyStatusCode = 403
- UpdateOrgMembership400JSONResponseBodyStatusCodeN400 UpdateOrgMembership400JSONResponseBodyStatusCode = 400
++ SyncGitHubSecretSync404JSONResponseBodyStatusCodeN404 SyncGitHubSecretSync404JSONResponseBodyStatusCode = 404
)
- // Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy403JSONResponseBodyStatusCode enum.
- func (e CreateSecretApprovalPolicy403JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateOrgMembership400JSONResponseBodyStatusCode enum.
-func (e UpdateOrgMembership400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the SyncGitHubSecretSync404JSONResponseBodyStatusCode enum.
++func (e SyncGitHubSecretSync404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSecretApprovalPolicy403JSONResponseBodyStatusCodeN403:
- case UpdateOrgMembership400JSONResponseBodyStatusCodeN400:
++ case SyncGitHubSecretSync404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for CreateSecretApprovalPolicy404JSONResponseBodyStatusCode.
-// Defines values for UpdateOrgMembership401JSONResponseBodyStatusCode.
++// Defines values for SyncGitHubSecretSync422JSONResponseBodyStatusCode.
const (
- CreateSecretApprovalPolicy404JSONResponseBodyStatusCodeN404 CreateSecretApprovalPolicy404JSONResponseBodyStatusCode = 404
- UpdateOrgMembership401JSONResponseBodyStatusCodeN401 UpdateOrgMembership401JSONResponseBodyStatusCode = 401
++ SyncGitHubSecretSync422JSONResponseBodyStatusCodeN422 SyncGitHubSecretSync422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy404JSONResponseBodyStatusCode enum.
- func (e CreateSecretApprovalPolicy404JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateOrgMembership401JSONResponseBodyStatusCode enum.
-func (e UpdateOrgMembership401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the SyncGitHubSecretSync422JSONResponseBodyStatusCode enum.
++func (e SyncGitHubSecretSync422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSecretApprovalPolicy404JSONResponseBodyStatusCodeN404:
- case UpdateOrgMembership401JSONResponseBodyStatusCodeN401:
++ case SyncGitHubSecretSync422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for CreateSecretApprovalPolicy422JSONResponseBodyStatusCode.
-// Defines values for UpdateOrgMembership403JSONResponseBodyStatusCode.
++// Defines values for SyncGitHubSecretSync500JSONResponseBodyStatusCode.
const (
- CreateSecretApprovalPolicy422JSONResponseBodyStatusCodeN422 CreateSecretApprovalPolicy422JSONResponseBodyStatusCode = 422
- UpdateOrgMembership403JSONResponseBodyStatusCodeN403 UpdateOrgMembership403JSONResponseBodyStatusCode = 403
++ SyncGitHubSecretSync500JSONResponseBodyStatusCodeN500 SyncGitHubSecretSync500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy422JSONResponseBodyStatusCode enum.
- func (e CreateSecretApprovalPolicy422JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateOrgMembership403JSONResponseBodyStatusCode enum.
-func (e UpdateOrgMembership403JSONResponseBodyStatusCode) Valid() bool {
- switch e {
- case UpdateOrgMembership403JSONResponseBodyStatusCodeN403:
++// Valid indicates whether the value is a known member of the SyncGitHubSecretSync500JSONResponseBodyStatusCode enum.
++func (e SyncGitHubSecretSync500JSONResponseBodyStatusCode) Valid() bool {
+ switch e {
- case CreateSecretApprovalPolicy422JSONResponseBodyStatusCodeN422:
++ case SyncGitHubSecretSync500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for CreateSecretApprovalPolicy500JSONResponseBodyStatusCode.
-// Defines values for UpdateOrgMembership404JSONResponseBodyStatusCode.
++// Defines values for GetSamlConfig400JSONResponseBodyStatusCode.
const (
- CreateSecretApprovalPolicy500JSONResponseBodyStatusCodeN500 CreateSecretApprovalPolicy500JSONResponseBodyStatusCode = 500
- UpdateOrgMembership404JSONResponseBodyStatusCodeN404 UpdateOrgMembership404JSONResponseBodyStatusCode = 404
++ GetSamlConfig400JSONResponseBodyStatusCodeN400 GetSamlConfig400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy500JSONResponseBodyStatusCode enum.
- func (e CreateSecretApprovalPolicy500JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateOrgMembership404JSONResponseBodyStatusCode enum.
-func (e UpdateOrgMembership404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSamlConfig400JSONResponseBodyStatusCode enum.
++func (e GetSamlConfig400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSecretApprovalPolicy500JSONResponseBodyStatusCodeN500:
- case UpdateOrgMembership404JSONResponseBodyStatusCodeN404:
++ case GetSamlConfig400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCode.
-// Defines values for UpdateOrgMembership422JSONResponseBodyStatusCode.
++// Defines values for GetSamlConfig401JSONResponseBodyStatusCode.
const (
- GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCodeN400 GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCode = 400
- UpdateOrgMembership422JSONResponseBodyStatusCodeN422 UpdateOrgMembership422JSONResponseBodyStatusCode = 422
++ GetSamlConfig401JSONResponseBodyStatusCodeN401 GetSamlConfig401JSONResponseBodyStatusCode = 401
)
- // Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCode enum.
- func (e GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateOrgMembership422JSONResponseBodyStatusCode enum.
-func (e UpdateOrgMembership422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSamlConfig401JSONResponseBodyStatusCode enum.
++func (e GetSamlConfig401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCodeN400:
- case UpdateOrgMembership422JSONResponseBodyStatusCodeN422:
++ case GetSamlConfig401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCode.
-// Defines values for UpdateOrgMembership500JSONResponseBodyStatusCode.
++// Defines values for GetSamlConfig403JSONResponseBodyStatusCode.
const (
- GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCodeN401 GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCode = 401
- UpdateOrgMembership500JSONResponseBodyStatusCodeN500 UpdateOrgMembership500JSONResponseBodyStatusCode = 500
++ GetSamlConfig403JSONResponseBodyStatusCodeN403 GetSamlConfig403JSONResponseBodyStatusCode = 403
)
- // Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCode enum.
- func (e GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateOrgMembership500JSONResponseBodyStatusCode enum.
-func (e UpdateOrgMembership500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSamlConfig403JSONResponseBodyStatusCode enum.
++func (e GetSamlConfig403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCodeN401:
- case UpdateOrgMembership500JSONResponseBodyStatusCodeN500:
++ case GetSamlConfig403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCode.
-// Defines values for CreateSecretApprovalPolicyJSONBodyApprovers0Type.
++// Defines values for GetSamlConfig404JSONResponseBodyStatusCode.
const (
- GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCodeN403 GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCode = 403
- CreateSecretApprovalPolicyJSONBodyApprovers0TypeGroup CreateSecretApprovalPolicyJSONBodyApprovers0Type = "group"
++ GetSamlConfig404JSONResponseBodyStatusCodeN404 GetSamlConfig404JSONResponseBodyStatusCode = 404
)
- // Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCode enum.
- func (e GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicyJSONBodyApprovers0Type enum.
-func (e CreateSecretApprovalPolicyJSONBodyApprovers0Type) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSamlConfig404JSONResponseBodyStatusCode enum.
++func (e GetSamlConfig404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCodeN403:
- case CreateSecretApprovalPolicyJSONBodyApprovers0TypeGroup:
++ case GetSamlConfig404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCode.
-// Defines values for CreateSecretApprovalPolicyJSONBodyApprovers1Type.
++// Defines values for GetSamlConfig422JSONResponseBodyStatusCode.
const (
- GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCodeN404 GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCode = 404
- CreateSecretApprovalPolicyJSONBodyApprovers1TypeUser CreateSecretApprovalPolicyJSONBodyApprovers1Type = "user"
++ GetSamlConfig422JSONResponseBodyStatusCodeN422 GetSamlConfig422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCode enum.
- func (e GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicyJSONBodyApprovers1Type enum.
-func (e CreateSecretApprovalPolicyJSONBodyApprovers1Type) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSamlConfig422JSONResponseBodyStatusCode enum.
++func (e GetSamlConfig422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCodeN404:
- case CreateSecretApprovalPolicyJSONBodyApprovers1TypeUser:
++ case GetSamlConfig422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCode.
-// Defines values for CreateSecretApprovalPolicyJSONBodyBypassers0Type.
++// Defines values for GetSamlConfig500JSONResponseBodyStatusCode.
const (
- GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCodeN422 GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCode = 422
- CreateSecretApprovalPolicyJSONBodyBypassers0TypeGroup CreateSecretApprovalPolicyJSONBodyBypassers0Type = "group"
++ GetSamlConfig500JSONResponseBodyStatusCodeN500 GetSamlConfig500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCode enum.
- func (e GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicyJSONBodyBypassers0Type enum.
-func (e CreateSecretApprovalPolicyJSONBodyBypassers0Type) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSamlConfig500JSONResponseBodyStatusCode enum.
++func (e GetSamlConfig500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCodeN422:
- case CreateSecretApprovalPolicyJSONBodyBypassers0TypeGroup:
++ case GetSamlConfig500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCode.
-// Defines values for CreateSecretApprovalPolicyJSONBodyBypassers1Type.
++// Defines values for UpdateSamlConfigJSONBodyAuthProvider.
const (
- GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCodeN500 GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCode = 500
- CreateSecretApprovalPolicyJSONBodyBypassers1TypeUser CreateSecretApprovalPolicyJSONBodyBypassers1Type = "user"
++ UpdateSamlConfigJSONBodyAuthProviderAuth0Saml UpdateSamlConfigJSONBodyAuthProvider = "auth0-saml"
++ UpdateSamlConfigJSONBodyAuthProviderAzureSaml UpdateSamlConfigJSONBodyAuthProvider = "azure-saml"
++ UpdateSamlConfigJSONBodyAuthProviderGoogleSaml UpdateSamlConfigJSONBodyAuthProvider = "google-saml"
++ UpdateSamlConfigJSONBodyAuthProviderJumpcloudSaml UpdateSamlConfigJSONBodyAuthProvider = "jumpcloud-saml"
++ UpdateSamlConfigJSONBodyAuthProviderKeycloakSaml UpdateSamlConfigJSONBodyAuthProvider = "keycloak-saml"
++ UpdateSamlConfigJSONBodyAuthProviderOktaSaml UpdateSamlConfigJSONBodyAuthProvider = "okta-saml"
)
- // Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCode enum.
- func (e GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicyJSONBodyBypassers1Type enum.
-func (e CreateSecretApprovalPolicyJSONBodyBypassers1Type) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateSamlConfigJSONBodyAuthProvider enum.
++func (e UpdateSamlConfigJSONBodyAuthProvider) Valid() bool {
switch e {
- case GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCodeN500:
- case CreateSecretApprovalPolicyJSONBodyBypassers1TypeUser:
++ case UpdateSamlConfigJSONBodyAuthProviderAuth0Saml:
++ return true
++ case UpdateSamlConfigJSONBodyAuthProviderAzureSaml:
++ return true
++ case UpdateSamlConfigJSONBodyAuthProviderGoogleSaml:
++ return true
++ case UpdateSamlConfigJSONBodyAuthProviderJumpcloudSaml:
++ return true
++ case UpdateSamlConfigJSONBodyAuthProviderKeycloakSaml:
++ return true
++ case UpdateSamlConfigJSONBodyAuthProviderOktaSaml:
return true
default:
return false
}
}
- // Defines values for DeleteSecretApprovalPolicy400JSONResponseBodyStatusCode.
-// Defines values for CreateSecretApprovalPolicyJSONBodyEnforcementLevel.
++// Defines values for UpdateSamlConfig400JSONResponseBodyStatusCode.
const (
- DeleteSecretApprovalPolicy400JSONResponseBodyStatusCodeN400 DeleteSecretApprovalPolicy400JSONResponseBodyStatusCode = 400
- CreateSecretApprovalPolicyJSONBodyEnforcementLevelHard CreateSecretApprovalPolicyJSONBodyEnforcementLevel = "hard"
- CreateSecretApprovalPolicyJSONBodyEnforcementLevelSoft CreateSecretApprovalPolicyJSONBodyEnforcementLevel = "soft"
++ UpdateSamlConfig400JSONResponseBodyStatusCodeN400 UpdateSamlConfig400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the DeleteSecretApprovalPolicy400JSONResponseBodyStatusCode enum.
- func (e DeleteSecretApprovalPolicy400JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicyJSONBodyEnforcementLevel enum.
-func (e CreateSecretApprovalPolicyJSONBodyEnforcementLevel) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateSamlConfig400JSONResponseBodyStatusCode enum.
++func (e UpdateSamlConfig400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteSecretApprovalPolicy400JSONResponseBodyStatusCodeN400:
- case CreateSecretApprovalPolicyJSONBodyEnforcementLevelHard:
- return true
- case CreateSecretApprovalPolicyJSONBodyEnforcementLevelSoft:
++ case UpdateSamlConfig400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for DeleteSecretApprovalPolicy401JSONResponseBodyStatusCode.
-// Defines values for CreateSecretApprovalPolicy400JSONResponseBodyStatusCode.
++// Defines values for UpdateSamlConfig401JSONResponseBodyStatusCode.
const (
- DeleteSecretApprovalPolicy401JSONResponseBodyStatusCodeN401 DeleteSecretApprovalPolicy401JSONResponseBodyStatusCode = 401
- CreateSecretApprovalPolicy400JSONResponseBodyStatusCodeN400 CreateSecretApprovalPolicy400JSONResponseBodyStatusCode = 400
++ UpdateSamlConfig401JSONResponseBodyStatusCodeN401 UpdateSamlConfig401JSONResponseBodyStatusCode = 401
)
- // Valid indicates whether the value is a known member of the DeleteSecretApprovalPolicy401JSONResponseBodyStatusCode enum.
- func (e DeleteSecretApprovalPolicy401JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy400JSONResponseBodyStatusCode enum.
-func (e CreateSecretApprovalPolicy400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateSamlConfig401JSONResponseBodyStatusCode enum.
++func (e UpdateSamlConfig401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteSecretApprovalPolicy401JSONResponseBodyStatusCodeN401:
- case CreateSecretApprovalPolicy400JSONResponseBodyStatusCodeN400:
++ case UpdateSamlConfig401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for DeleteSecretApprovalPolicy403JSONResponseBodyStatusCode.
-// Defines values for CreateSecretApprovalPolicy401JSONResponseBodyStatusCode.
++// Defines values for UpdateSamlConfig403JSONResponseBodyStatusCode.
const (
- DeleteSecretApprovalPolicy403JSONResponseBodyStatusCodeN403 DeleteSecretApprovalPolicy403JSONResponseBodyStatusCode = 403
- CreateSecretApprovalPolicy401JSONResponseBodyStatusCodeN401 CreateSecretApprovalPolicy401JSONResponseBodyStatusCode = 401
++ UpdateSamlConfig403JSONResponseBodyStatusCodeN403 UpdateSamlConfig403JSONResponseBodyStatusCode = 403
)
- // Valid indicates whether the value is a known member of the DeleteSecretApprovalPolicy403JSONResponseBodyStatusCode enum.
- func (e DeleteSecretApprovalPolicy403JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy401JSONResponseBodyStatusCode enum.
-func (e CreateSecretApprovalPolicy401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateSamlConfig403JSONResponseBodyStatusCode enum.
++func (e UpdateSamlConfig403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteSecretApprovalPolicy403JSONResponseBodyStatusCodeN403:
- case CreateSecretApprovalPolicy401JSONResponseBodyStatusCodeN401:
++ case UpdateSamlConfig403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for DeleteSecretApprovalPolicy404JSONResponseBodyStatusCode.
-// Defines values for CreateSecretApprovalPolicy403JSONResponseBodyStatusCode.
++// Defines values for UpdateSamlConfig404JSONResponseBodyStatusCode.
const (
- DeleteSecretApprovalPolicy404JSONResponseBodyStatusCodeN404 DeleteSecretApprovalPolicy404JSONResponseBodyStatusCode = 404
- CreateSecretApprovalPolicy403JSONResponseBodyStatusCodeN403 CreateSecretApprovalPolicy403JSONResponseBodyStatusCode = 403
++ UpdateSamlConfig404JSONResponseBodyStatusCodeN404 UpdateSamlConfig404JSONResponseBodyStatusCode = 404
)
- // Valid indicates whether the value is a known member of the DeleteSecretApprovalPolicy404JSONResponseBodyStatusCode enum.
- func (e DeleteSecretApprovalPolicy404JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy403JSONResponseBodyStatusCode enum.
-func (e CreateSecretApprovalPolicy403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateSamlConfig404JSONResponseBodyStatusCode enum.
++func (e UpdateSamlConfig404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteSecretApprovalPolicy404JSONResponseBodyStatusCodeN404:
- case CreateSecretApprovalPolicy403JSONResponseBodyStatusCodeN403:
++ case UpdateSamlConfig404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for DeleteSecretApprovalPolicy422JSONResponseBodyStatusCode.
-// Defines values for CreateSecretApprovalPolicy404JSONResponseBodyStatusCode.
++// Defines values for UpdateSamlConfig422JSONResponseBodyStatusCode.
const (
- DeleteSecretApprovalPolicy422JSONResponseBodyStatusCodeN422 DeleteSecretApprovalPolicy422JSONResponseBodyStatusCode = 422
- CreateSecretApprovalPolicy404JSONResponseBodyStatusCodeN404 CreateSecretApprovalPolicy404JSONResponseBodyStatusCode = 404
++ UpdateSamlConfig422JSONResponseBodyStatusCodeN422 UpdateSamlConfig422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the DeleteSecretApprovalPolicy422JSONResponseBodyStatusCode enum.
- func (e DeleteSecretApprovalPolicy422JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy404JSONResponseBodyStatusCode enum.
-func (e CreateSecretApprovalPolicy404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateSamlConfig422JSONResponseBodyStatusCode enum.
++func (e UpdateSamlConfig422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteSecretApprovalPolicy422JSONResponseBodyStatusCodeN422:
- case CreateSecretApprovalPolicy404JSONResponseBodyStatusCodeN404:
++ case UpdateSamlConfig422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for DeleteSecretApprovalPolicy500JSONResponseBodyStatusCode.
-// Defines values for CreateSecretApprovalPolicy422JSONResponseBodyStatusCode.
++// Defines values for UpdateSamlConfig500JSONResponseBodyStatusCode.
const (
- DeleteSecretApprovalPolicy500JSONResponseBodyStatusCodeN500 DeleteSecretApprovalPolicy500JSONResponseBodyStatusCode = 500
- CreateSecretApprovalPolicy422JSONResponseBodyStatusCodeN422 CreateSecretApprovalPolicy422JSONResponseBodyStatusCode = 422
++ UpdateSamlConfig500JSONResponseBodyStatusCodeN500 UpdateSamlConfig500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the DeleteSecretApprovalPolicy500JSONResponseBodyStatusCode enum.
- func (e DeleteSecretApprovalPolicy500JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy422JSONResponseBodyStatusCode enum.
-func (e CreateSecretApprovalPolicy422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateSamlConfig500JSONResponseBodyStatusCode enum.
++func (e UpdateSamlConfig500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteSecretApprovalPolicy500JSONResponseBodyStatusCodeN500:
- case CreateSecretApprovalPolicy422JSONResponseBodyStatusCodeN422:
++ case UpdateSamlConfig500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType.
-// Defines values for CreateSecretApprovalPolicy500JSONResponseBodyStatusCode.
++// Defines values for CreateSamlConfigJSONBodyAuthProvider.
const (
- GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversTypeGroup GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType = "group"
- GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversTypeUser GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType = "user"
- CreateSecretApprovalPolicy500JSONResponseBodyStatusCodeN500 CreateSecretApprovalPolicy500JSONResponseBodyStatusCode = 500
++ CreateSamlConfigJSONBodyAuthProviderAuth0Saml CreateSamlConfigJSONBodyAuthProvider = "auth0-saml"
++ CreateSamlConfigJSONBodyAuthProviderAzureSaml CreateSamlConfigJSONBodyAuthProvider = "azure-saml"
++ CreateSamlConfigJSONBodyAuthProviderGoogleSaml CreateSamlConfigJSONBodyAuthProvider = "google-saml"
++ CreateSamlConfigJSONBodyAuthProviderJumpcloudSaml CreateSamlConfigJSONBodyAuthProvider = "jumpcloud-saml"
++ CreateSamlConfigJSONBodyAuthProviderKeycloakSaml CreateSamlConfigJSONBodyAuthProvider = "keycloak-saml"
++ CreateSamlConfigJSONBodyAuthProviderOktaSaml CreateSamlConfigJSONBodyAuthProvider = "okta-saml"
)
- // Valid indicates whether the value is a known member of the GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType enum.
- func (e GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy500JSONResponseBodyStatusCode enum.
-func (e CreateSecretApprovalPolicy500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSamlConfigJSONBodyAuthProvider enum.
++func (e CreateSamlConfigJSONBodyAuthProvider) Valid() bool {
switch e {
- case GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversTypeGroup:
- case CreateSecretApprovalPolicy500JSONResponseBodyStatusCodeN500:
++ case CreateSamlConfigJSONBodyAuthProviderAuth0Saml:
+ return true
- case GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversTypeUser:
++ case CreateSamlConfigJSONBodyAuthProviderAzureSaml:
++ return true
++ case CreateSamlConfigJSONBodyAuthProviderGoogleSaml:
++ return true
++ case CreateSamlConfigJSONBodyAuthProviderJumpcloudSaml:
++ return true
++ case CreateSamlConfigJSONBodyAuthProviderKeycloakSaml:
++ return true
++ case CreateSamlConfigJSONBodyAuthProviderOktaSaml:
return true
default:
return false
}
}
- // Defines values for GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType.
-// Defines values for GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCode.
++// Defines values for CreateSamlConfig400JSONResponseBodyStatusCode.
const (
- GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersTypeGroup GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType = "group"
- GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersTypeUser GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType = "user"
- GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCodeN400 GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCode = 400
++ CreateSamlConfig400JSONResponseBodyStatusCodeN400 CreateSamlConfig400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType enum.
- func (e GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType) Valid() bool {
-// Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSamlConfig400JSONResponseBodyStatusCode enum.
++func (e CreateSamlConfig400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersTypeGroup:
- return true
- case GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersTypeUser:
- case GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCodeN400:
++ case CreateSamlConfig400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for GetSecretApprovalPolicy400JSONResponseBodyStatusCode.
-// Defines values for GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCode.
++// Defines values for CreateSamlConfig401JSONResponseBodyStatusCode.
const (
- GetSecretApprovalPolicy400JSONResponseBodyStatusCodeN400 GetSecretApprovalPolicy400JSONResponseBodyStatusCode = 400
- GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCodeN401 GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCode = 401
++ CreateSamlConfig401JSONResponseBodyStatusCodeN401 CreateSamlConfig401JSONResponseBodyStatusCode = 401
)
- // Valid indicates whether the value is a known member of the GetSecretApprovalPolicy400JSONResponseBodyStatusCode enum.
- func (e GetSecretApprovalPolicy400JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSamlConfig401JSONResponseBodyStatusCode enum.
++func (e CreateSamlConfig401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretApprovalPolicy400JSONResponseBodyStatusCodeN400:
- case GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCodeN401:
++ case CreateSamlConfig401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for GetSecretApprovalPolicy401JSONResponseBodyStatusCode.
-// Defines values for GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCode.
++// Defines values for CreateSamlConfig403JSONResponseBodyStatusCode.
const (
- GetSecretApprovalPolicy401JSONResponseBodyStatusCodeN401 GetSecretApprovalPolicy401JSONResponseBodyStatusCode = 401
- GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCodeN403 GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCode = 403
++ CreateSamlConfig403JSONResponseBodyStatusCodeN403 CreateSamlConfig403JSONResponseBodyStatusCode = 403
)
- // Valid indicates whether the value is a known member of the GetSecretApprovalPolicy401JSONResponseBodyStatusCode enum.
- func (e GetSecretApprovalPolicy401JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSamlConfig403JSONResponseBodyStatusCode enum.
++func (e CreateSamlConfig403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretApprovalPolicy401JSONResponseBodyStatusCodeN401:
- case GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCodeN403:
++ case CreateSamlConfig403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for GetSecretApprovalPolicy403JSONResponseBodyStatusCode.
-// Defines values for GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCode.
++// Defines values for CreateSamlConfig404JSONResponseBodyStatusCode.
const (
- GetSecretApprovalPolicy403JSONResponseBodyStatusCodeN403 GetSecretApprovalPolicy403JSONResponseBodyStatusCode = 403
- GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCodeN404 GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCode = 404
++ CreateSamlConfig404JSONResponseBodyStatusCodeN404 CreateSamlConfig404JSONResponseBodyStatusCode = 404
)
- // Valid indicates whether the value is a known member of the GetSecretApprovalPolicy403JSONResponseBodyStatusCode enum.
- func (e GetSecretApprovalPolicy403JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSamlConfig404JSONResponseBodyStatusCode enum.
++func (e CreateSamlConfig404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretApprovalPolicy403JSONResponseBodyStatusCodeN403:
- case GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCodeN404:
++ case CreateSamlConfig404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for GetSecretApprovalPolicy404JSONResponseBodyStatusCode.
-// Defines values for GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCode.
++// Defines values for CreateSamlConfig422JSONResponseBodyStatusCode.
const (
- GetSecretApprovalPolicy404JSONResponseBodyStatusCodeN404 GetSecretApprovalPolicy404JSONResponseBodyStatusCode = 404
- GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCodeN422 GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCode = 422
++ CreateSamlConfig422JSONResponseBodyStatusCodeN422 CreateSamlConfig422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the GetSecretApprovalPolicy404JSONResponseBodyStatusCode enum.
- func (e GetSecretApprovalPolicy404JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSamlConfig422JSONResponseBodyStatusCode enum.
++func (e CreateSamlConfig422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretApprovalPolicy404JSONResponseBodyStatusCodeN404:
- case GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCodeN422:
++ case CreateSamlConfig422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for GetSecretApprovalPolicy422JSONResponseBodyStatusCode.
-// Defines values for GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCode.
++// Defines values for CreateSamlConfig500JSONResponseBodyStatusCode.
const (
- GetSecretApprovalPolicy422JSONResponseBodyStatusCodeN422 GetSecretApprovalPolicy422JSONResponseBodyStatusCode = 422
- GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCodeN500 GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCode = 500
++ CreateSamlConfig500JSONResponseBodyStatusCodeN500 CreateSamlConfig500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the GetSecretApprovalPolicy422JSONResponseBodyStatusCode enum.
- func (e GetSecretApprovalPolicy422JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSamlConfig500JSONResponseBodyStatusCode enum.
++func (e CreateSamlConfig500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretApprovalPolicy422JSONResponseBodyStatusCodeN422:
- case GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCodeN500:
++ case CreateSamlConfig500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for GetSecretApprovalPolicy500JSONResponseBodyStatusCode.
-// Defines values for DeleteSecretApprovalPolicy400JSONResponseBodyStatusCode.
++// Defines values for GetOidcConfig400JSONResponseBodyStatusCode.
const (
- GetSecretApprovalPolicy500JSONResponseBodyStatusCodeN500 GetSecretApprovalPolicy500JSONResponseBodyStatusCode = 500
- DeleteSecretApprovalPolicy400JSONResponseBodyStatusCodeN400 DeleteSecretApprovalPolicy400JSONResponseBodyStatusCode = 400
++ GetOidcConfig400JSONResponseBodyStatusCodeN400 GetOidcConfig400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the GetSecretApprovalPolicy500JSONResponseBodyStatusCode enum.
- func (e GetSecretApprovalPolicy500JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the DeleteSecretApprovalPolicy400JSONResponseBodyStatusCode enum.
-func (e DeleteSecretApprovalPolicy400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetOidcConfig400JSONResponseBodyStatusCode enum.
++func (e GetOidcConfig400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretApprovalPolicy500JSONResponseBodyStatusCodeN500:
- case DeleteSecretApprovalPolicy400JSONResponseBodyStatusCodeN400:
++ case GetOidcConfig400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for UpdateSecretApprovalPolicyJSONBodyApprovers0Type.
-// Defines values for DeleteSecretApprovalPolicy401JSONResponseBodyStatusCode.
++// Defines values for GetOidcConfig401JSONResponseBodyStatusCode.
const (
- UpdateSecretApprovalPolicyJSONBodyApprovers0TypeGroup UpdateSecretApprovalPolicyJSONBodyApprovers0Type = "group"
- DeleteSecretApprovalPolicy401JSONResponseBodyStatusCodeN401 DeleteSecretApprovalPolicy401JSONResponseBodyStatusCode = 401
++ GetOidcConfig401JSONResponseBodyStatusCodeN401 GetOidcConfig401JSONResponseBodyStatusCode = 401
)
- // Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicyJSONBodyApprovers0Type enum.
- func (e UpdateSecretApprovalPolicyJSONBodyApprovers0Type) Valid() bool {
-// Valid indicates whether the value is a known member of the DeleteSecretApprovalPolicy401JSONResponseBodyStatusCode enum.
-func (e DeleteSecretApprovalPolicy401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetOidcConfig401JSONResponseBodyStatusCode enum.
++func (e GetOidcConfig401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateSecretApprovalPolicyJSONBodyApprovers0TypeGroup:
- case DeleteSecretApprovalPolicy401JSONResponseBodyStatusCodeN401:
++ case GetOidcConfig401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for UpdateSecretApprovalPolicyJSONBodyApprovers1Type.
-// Defines values for DeleteSecretApprovalPolicy403JSONResponseBodyStatusCode.
++// Defines values for GetOidcConfig403JSONResponseBodyStatusCode.
const (
- UpdateSecretApprovalPolicyJSONBodyApprovers1TypeUser UpdateSecretApprovalPolicyJSONBodyApprovers1Type = "user"
- DeleteSecretApprovalPolicy403JSONResponseBodyStatusCodeN403 DeleteSecretApprovalPolicy403JSONResponseBodyStatusCode = 403
++ GetOidcConfig403JSONResponseBodyStatusCodeN403 GetOidcConfig403JSONResponseBodyStatusCode = 403
)
- // Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicyJSONBodyApprovers1Type enum.
- func (e UpdateSecretApprovalPolicyJSONBodyApprovers1Type) Valid() bool {
-// Valid indicates whether the value is a known member of the DeleteSecretApprovalPolicy403JSONResponseBodyStatusCode enum.
-func (e DeleteSecretApprovalPolicy403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetOidcConfig403JSONResponseBodyStatusCode enum.
++func (e GetOidcConfig403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateSecretApprovalPolicyJSONBodyApprovers1TypeUser:
- case DeleteSecretApprovalPolicy403JSONResponseBodyStatusCodeN403:
++ case GetOidcConfig403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for UpdateSecretApprovalPolicyJSONBodyBypassers0Type.
-// Defines values for DeleteSecretApprovalPolicy404JSONResponseBodyStatusCode.
++// Defines values for GetOidcConfig404JSONResponseBodyStatusCode.
const (
- UpdateSecretApprovalPolicyJSONBodyBypassers0TypeGroup UpdateSecretApprovalPolicyJSONBodyBypassers0Type = "group"
- DeleteSecretApprovalPolicy404JSONResponseBodyStatusCodeN404 DeleteSecretApprovalPolicy404JSONResponseBodyStatusCode = 404
++ GetOidcConfig404JSONResponseBodyStatusCodeN404 GetOidcConfig404JSONResponseBodyStatusCode = 404
)
- // Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicyJSONBodyBypassers0Type enum.
- func (e UpdateSecretApprovalPolicyJSONBodyBypassers0Type) Valid() bool {
-// Valid indicates whether the value is a known member of the DeleteSecretApprovalPolicy404JSONResponseBodyStatusCode enum.
-func (e DeleteSecretApprovalPolicy404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetOidcConfig404JSONResponseBodyStatusCode enum.
++func (e GetOidcConfig404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateSecretApprovalPolicyJSONBodyBypassers0TypeGroup:
- case DeleteSecretApprovalPolicy404JSONResponseBodyStatusCodeN404:
++ case GetOidcConfig404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for UpdateSecretApprovalPolicyJSONBodyBypassers1Type.
-// Defines values for DeleteSecretApprovalPolicy422JSONResponseBodyStatusCode.
++// Defines values for GetOidcConfig422JSONResponseBodyStatusCode.
const (
- UpdateSecretApprovalPolicyJSONBodyBypassers1TypeUser UpdateSecretApprovalPolicyJSONBodyBypassers1Type = "user"
- DeleteSecretApprovalPolicy422JSONResponseBodyStatusCodeN422 DeleteSecretApprovalPolicy422JSONResponseBodyStatusCode = 422
++ GetOidcConfig422JSONResponseBodyStatusCodeN422 GetOidcConfig422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicyJSONBodyBypassers1Type enum.
- func (e UpdateSecretApprovalPolicyJSONBodyBypassers1Type) Valid() bool {
-// Valid indicates whether the value is a known member of the DeleteSecretApprovalPolicy422JSONResponseBodyStatusCode enum.
-func (e DeleteSecretApprovalPolicy422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetOidcConfig422JSONResponseBodyStatusCode enum.
++func (e GetOidcConfig422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateSecretApprovalPolicyJSONBodyBypassers1TypeUser:
- case DeleteSecretApprovalPolicy422JSONResponseBodyStatusCodeN422:
++ case GetOidcConfig422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for UpdateSecretApprovalPolicyJSONBodyEnforcementLevel.
-// Defines values for DeleteSecretApprovalPolicy500JSONResponseBodyStatusCode.
++// Defines values for GetOidcConfig500JSONResponseBodyStatusCode.
const (
- UpdateSecretApprovalPolicyJSONBodyEnforcementLevelHard UpdateSecretApprovalPolicyJSONBodyEnforcementLevel = "hard"
- UpdateSecretApprovalPolicyJSONBodyEnforcementLevelSoft UpdateSecretApprovalPolicyJSONBodyEnforcementLevel = "soft"
- DeleteSecretApprovalPolicy500JSONResponseBodyStatusCodeN500 DeleteSecretApprovalPolicy500JSONResponseBodyStatusCode = 500
++ GetOidcConfig500JSONResponseBodyStatusCodeN500 GetOidcConfig500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicyJSONBodyEnforcementLevel enum.
- func (e UpdateSecretApprovalPolicyJSONBodyEnforcementLevel) Valid() bool {
-// Valid indicates whether the value is a known member of the DeleteSecretApprovalPolicy500JSONResponseBodyStatusCode enum.
-func (e DeleteSecretApprovalPolicy500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetOidcConfig500JSONResponseBodyStatusCode enum.
++func (e GetOidcConfig500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateSecretApprovalPolicyJSONBodyEnforcementLevelHard:
- return true
- case UpdateSecretApprovalPolicyJSONBodyEnforcementLevelSoft:
- case DeleteSecretApprovalPolicy500JSONResponseBodyStatusCodeN500:
++ case GetOidcConfig500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for UpdateSecretApprovalPolicy400JSONResponseBodyStatusCode.
-// Defines values for GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType.
++// Defines values for UpdateOidcConfigJSONBodyConfigurationType.
const (
- UpdateSecretApprovalPolicy400JSONResponseBodyStatusCodeN400 UpdateSecretApprovalPolicy400JSONResponseBodyStatusCode = 400
- GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversTypeGroup GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType = "group"
- GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversTypeUser GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType = "user"
++ UpdateOidcConfigJSONBodyConfigurationTypeCustom UpdateOidcConfigJSONBodyConfigurationType = "custom"
++ UpdateOidcConfigJSONBodyConfigurationTypeDiscoveryURL UpdateOidcConfigJSONBodyConfigurationType = "discoveryURL"
)
- // Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy400JSONResponseBodyStatusCode enum.
- func (e UpdateSecretApprovalPolicy400JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType enum.
-func (e GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateOidcConfigJSONBodyConfigurationType enum.
++func (e UpdateOidcConfigJSONBodyConfigurationType) Valid() bool {
switch e {
- case UpdateSecretApprovalPolicy400JSONResponseBodyStatusCodeN400:
- case GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversTypeGroup:
++ case UpdateOidcConfigJSONBodyConfigurationTypeCustom:
+ return true
- case GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversTypeUser:
++ case UpdateOidcConfigJSONBodyConfigurationTypeDiscoveryURL:
return true
default:
return false
}
}
- // Defines values for UpdateSecretApprovalPolicy401JSONResponseBodyStatusCode.
-// Defines values for GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType.
++// Defines values for UpdateOidcConfigJSONBodyJwtSignatureAlgorithm.
const (
- UpdateSecretApprovalPolicy401JSONResponseBodyStatusCodeN401 UpdateSecretApprovalPolicy401JSONResponseBodyStatusCode = 401
- GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersTypeGroup GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType = "group"
- GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersTypeUser GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType = "user"
++ UpdateOidcConfigJSONBodyJwtSignatureAlgorithmEdDSA UpdateOidcConfigJSONBodyJwtSignatureAlgorithm = "EdDSA"
++ UpdateOidcConfigJSONBodyJwtSignatureAlgorithmHS256 UpdateOidcConfigJSONBodyJwtSignatureAlgorithm = "HS256"
++ UpdateOidcConfigJSONBodyJwtSignatureAlgorithmRS256 UpdateOidcConfigJSONBodyJwtSignatureAlgorithm = "RS256"
++ UpdateOidcConfigJSONBodyJwtSignatureAlgorithmRS512 UpdateOidcConfigJSONBodyJwtSignatureAlgorithm = "RS512"
)
- // Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy401JSONResponseBodyStatusCode enum.
- func (e UpdateSecretApprovalPolicy401JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType enum.
-func (e GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateOidcConfigJSONBodyJwtSignatureAlgorithm enum.
++func (e UpdateOidcConfigJSONBodyJwtSignatureAlgorithm) Valid() bool {
switch e {
- case UpdateSecretApprovalPolicy401JSONResponseBodyStatusCodeN401:
- case GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersTypeGroup:
++ case UpdateOidcConfigJSONBodyJwtSignatureAlgorithmEdDSA:
+ return true
- case GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersTypeUser:
++ case UpdateOidcConfigJSONBodyJwtSignatureAlgorithmHS256:
++ return true
++ case UpdateOidcConfigJSONBodyJwtSignatureAlgorithmRS256:
++ return true
++ case UpdateOidcConfigJSONBodyJwtSignatureAlgorithmRS512:
return true
default:
return false
}
}
- // Defines values for UpdateSecretApprovalPolicy403JSONResponseBodyStatusCode.
-// Defines values for GetSecretApprovalPolicy400JSONResponseBodyStatusCode.
++// Defines values for UpdateOidcConfig400JSONResponseBodyStatusCode.
const (
- UpdateSecretApprovalPolicy403JSONResponseBodyStatusCodeN403 UpdateSecretApprovalPolicy403JSONResponseBodyStatusCode = 403
- GetSecretApprovalPolicy400JSONResponseBodyStatusCodeN400 GetSecretApprovalPolicy400JSONResponseBodyStatusCode = 400
++ UpdateOidcConfig400JSONResponseBodyStatusCodeN400 UpdateOidcConfig400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy403JSONResponseBodyStatusCode enum.
- func (e UpdateSecretApprovalPolicy403JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the GetSecretApprovalPolicy400JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalPolicy400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateOidcConfig400JSONResponseBodyStatusCode enum.
++func (e UpdateOidcConfig400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateSecretApprovalPolicy403JSONResponseBodyStatusCodeN403:
- case GetSecretApprovalPolicy400JSONResponseBodyStatusCodeN400:
++ case UpdateOidcConfig400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for UpdateSecretApprovalPolicy404JSONResponseBodyStatusCode.
-// Defines values for GetSecretApprovalPolicy401JSONResponseBodyStatusCode.
++// Defines values for UpdateOidcConfig401JSONResponseBodyStatusCode.
const (
- UpdateSecretApprovalPolicy404JSONResponseBodyStatusCodeN404 UpdateSecretApprovalPolicy404JSONResponseBodyStatusCode = 404
- GetSecretApprovalPolicy401JSONResponseBodyStatusCodeN401 GetSecretApprovalPolicy401JSONResponseBodyStatusCode = 401
++ UpdateOidcConfig401JSONResponseBodyStatusCodeN401 UpdateOidcConfig401JSONResponseBodyStatusCode = 401
)
- // Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy404JSONResponseBodyStatusCode enum.
- func (e UpdateSecretApprovalPolicy404JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the GetSecretApprovalPolicy401JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalPolicy401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateOidcConfig401JSONResponseBodyStatusCode enum.
++func (e UpdateOidcConfig401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateSecretApprovalPolicy404JSONResponseBodyStatusCodeN404:
- case GetSecretApprovalPolicy401JSONResponseBodyStatusCodeN401:
++ case UpdateOidcConfig401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for UpdateSecretApprovalPolicy422JSONResponseBodyStatusCode.
-// Defines values for GetSecretApprovalPolicy403JSONResponseBodyStatusCode.
++// Defines values for UpdateOidcConfig403JSONResponseBodyStatusCode.
const (
- UpdateSecretApprovalPolicy422JSONResponseBodyStatusCodeN422 UpdateSecretApprovalPolicy422JSONResponseBodyStatusCode = 422
- GetSecretApprovalPolicy403JSONResponseBodyStatusCodeN403 GetSecretApprovalPolicy403JSONResponseBodyStatusCode = 403
++ UpdateOidcConfig403JSONResponseBodyStatusCodeN403 UpdateOidcConfig403JSONResponseBodyStatusCode = 403
)
- // Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy422JSONResponseBodyStatusCode enum.
- func (e UpdateSecretApprovalPolicy422JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the GetSecretApprovalPolicy403JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalPolicy403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateOidcConfig403JSONResponseBodyStatusCode enum.
++func (e UpdateOidcConfig403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateSecretApprovalPolicy422JSONResponseBodyStatusCodeN422:
- case GetSecretApprovalPolicy403JSONResponseBodyStatusCodeN403:
++ case UpdateOidcConfig403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for UpdateSecretApprovalPolicy500JSONResponseBodyStatusCode.
-// Defines values for GetSecretApprovalPolicy404JSONResponseBodyStatusCode.
++// Defines values for UpdateOidcConfig404JSONResponseBodyStatusCode.
const (
- UpdateSecretApprovalPolicy500JSONResponseBodyStatusCodeN500 UpdateSecretApprovalPolicy500JSONResponseBodyStatusCode = 500
- GetSecretApprovalPolicy404JSONResponseBodyStatusCodeN404 GetSecretApprovalPolicy404JSONResponseBodyStatusCode = 404
++ UpdateOidcConfig404JSONResponseBodyStatusCodeN404 UpdateOidcConfig404JSONResponseBodyStatusCode = 404
)
- // Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy500JSONResponseBodyStatusCode enum.
- func (e UpdateSecretApprovalPolicy500JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the GetSecretApprovalPolicy404JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalPolicy404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateOidcConfig404JSONResponseBodyStatusCode enum.
++func (e UpdateOidcConfig404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateSecretApprovalPolicy500JSONResponseBodyStatusCodeN500:
- case GetSecretApprovalPolicy404JSONResponseBodyStatusCodeN404:
++ case UpdateOidcConfig404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for CreateSecretImport400JSONResponseBodyStatusCode.
-// Defines values for GetSecretApprovalPolicy422JSONResponseBodyStatusCode.
++// Defines values for UpdateOidcConfig422JSONResponseBodyStatusCode.
const (
- CreateSecretImport400JSONResponseBodyStatusCodeN400 CreateSecretImport400JSONResponseBodyStatusCode = 400
- GetSecretApprovalPolicy422JSONResponseBodyStatusCodeN422 GetSecretApprovalPolicy422JSONResponseBodyStatusCode = 422
++ UpdateOidcConfig422JSONResponseBodyStatusCodeN422 UpdateOidcConfig422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the CreateSecretImport400JSONResponseBodyStatusCode enum.
- func (e CreateSecretImport400JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the GetSecretApprovalPolicy422JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalPolicy422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateOidcConfig422JSONResponseBodyStatusCode enum.
++func (e UpdateOidcConfig422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSecretImport400JSONResponseBodyStatusCodeN400:
- case GetSecretApprovalPolicy422JSONResponseBodyStatusCodeN422:
++ case UpdateOidcConfig422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for CreateSecretImport401JSONResponseBodyStatusCode.
-// Defines values for GetSecretApprovalPolicy500JSONResponseBodyStatusCode.
++// Defines values for UpdateOidcConfig500JSONResponseBodyStatusCode.
const (
- CreateSecretImport401JSONResponseBodyStatusCodeN401 CreateSecretImport401JSONResponseBodyStatusCode = 401
- GetSecretApprovalPolicy500JSONResponseBodyStatusCodeN500 GetSecretApprovalPolicy500JSONResponseBodyStatusCode = 500
++ UpdateOidcConfig500JSONResponseBodyStatusCodeN500 UpdateOidcConfig500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the CreateSecretImport401JSONResponseBodyStatusCode enum.
- func (e CreateSecretImport401JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the GetSecretApprovalPolicy500JSONResponseBodyStatusCode enum.
-func (e GetSecretApprovalPolicy500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateOidcConfig500JSONResponseBodyStatusCode enum.
++func (e UpdateOidcConfig500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSecretImport401JSONResponseBodyStatusCodeN401:
- case GetSecretApprovalPolicy500JSONResponseBodyStatusCodeN500:
++ case UpdateOidcConfig500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for CreateSecretImport403JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretApprovalPolicyJSONBodyApprovers0Type.
++// Defines values for CreateOidcConfigJSONBodyConfigurationType.
const (
- CreateSecretImport403JSONResponseBodyStatusCodeN403 CreateSecretImport403JSONResponseBodyStatusCode = 403
- UpdateSecretApprovalPolicyJSONBodyApprovers0TypeGroup UpdateSecretApprovalPolicyJSONBodyApprovers0Type = "group"
++ CreateOidcConfigJSONBodyConfigurationTypeCustom CreateOidcConfigJSONBodyConfigurationType = "custom"
++ CreateOidcConfigJSONBodyConfigurationTypeDiscoveryURL CreateOidcConfigJSONBodyConfigurationType = "discoveryURL"
)
- // Valid indicates whether the value is a known member of the CreateSecretImport403JSONResponseBodyStatusCode enum.
- func (e CreateSecretImport403JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicyJSONBodyApprovers0Type enum.
-func (e UpdateSecretApprovalPolicyJSONBodyApprovers0Type) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateOidcConfigJSONBodyConfigurationType enum.
++func (e CreateOidcConfigJSONBodyConfigurationType) Valid() bool {
switch e {
- case CreateSecretImport403JSONResponseBodyStatusCodeN403:
- case UpdateSecretApprovalPolicyJSONBodyApprovers0TypeGroup:
++ case CreateOidcConfigJSONBodyConfigurationTypeCustom:
++ return true
++ case CreateOidcConfigJSONBodyConfigurationTypeDiscoveryURL:
return true
default:
return false
}
}
- // Defines values for CreateSecretImport404JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretApprovalPolicyJSONBodyApprovers1Type.
++// Defines values for CreateOidcConfigJSONBodyJwtSignatureAlgorithm.
const (
- CreateSecretImport404JSONResponseBodyStatusCodeN404 CreateSecretImport404JSONResponseBodyStatusCode = 404
- UpdateSecretApprovalPolicyJSONBodyApprovers1TypeUser UpdateSecretApprovalPolicyJSONBodyApprovers1Type = "user"
++ CreateOidcConfigJSONBodyJwtSignatureAlgorithmEdDSA CreateOidcConfigJSONBodyJwtSignatureAlgorithm = "EdDSA"
++ CreateOidcConfigJSONBodyJwtSignatureAlgorithmHS256 CreateOidcConfigJSONBodyJwtSignatureAlgorithm = "HS256"
++ CreateOidcConfigJSONBodyJwtSignatureAlgorithmRS256 CreateOidcConfigJSONBodyJwtSignatureAlgorithm = "RS256"
++ CreateOidcConfigJSONBodyJwtSignatureAlgorithmRS512 CreateOidcConfigJSONBodyJwtSignatureAlgorithm = "RS512"
)
- // Valid indicates whether the value is a known member of the CreateSecretImport404JSONResponseBodyStatusCode enum.
- func (e CreateSecretImport404JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicyJSONBodyApprovers1Type enum.
-func (e UpdateSecretApprovalPolicyJSONBodyApprovers1Type) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateOidcConfigJSONBodyJwtSignatureAlgorithm enum.
++func (e CreateOidcConfigJSONBodyJwtSignatureAlgorithm) Valid() bool {
switch e {
- case CreateSecretImport404JSONResponseBodyStatusCodeN404:
- case UpdateSecretApprovalPolicyJSONBodyApprovers1TypeUser:
++ case CreateOidcConfigJSONBodyJwtSignatureAlgorithmEdDSA:
++ return true
++ case CreateOidcConfigJSONBodyJwtSignatureAlgorithmHS256:
++ return true
++ case CreateOidcConfigJSONBodyJwtSignatureAlgorithmRS256:
++ return true
++ case CreateOidcConfigJSONBodyJwtSignatureAlgorithmRS512:
return true
default:
return false
}
}
- // Defines values for CreateSecretImport422JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretApprovalPolicyJSONBodyBypassers0Type.
++// Defines values for CreateOidcConfig400JSONResponseBodyStatusCode.
const (
- CreateSecretImport422JSONResponseBodyStatusCodeN422 CreateSecretImport422JSONResponseBodyStatusCode = 422
- UpdateSecretApprovalPolicyJSONBodyBypassers0TypeGroup UpdateSecretApprovalPolicyJSONBodyBypassers0Type = "group"
++ CreateOidcConfig400JSONResponseBodyStatusCodeN400 CreateOidcConfig400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the CreateSecretImport422JSONResponseBodyStatusCode enum.
- func (e CreateSecretImport422JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicyJSONBodyBypassers0Type enum.
-func (e UpdateSecretApprovalPolicyJSONBodyBypassers0Type) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateOidcConfig400JSONResponseBodyStatusCode enum.
++func (e CreateOidcConfig400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSecretImport422JSONResponseBodyStatusCodeN422:
- case UpdateSecretApprovalPolicyJSONBodyBypassers0TypeGroup:
++ case CreateOidcConfig400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for CreateSecretImport500JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretApprovalPolicyJSONBodyBypassers1Type.
++// Defines values for CreateOidcConfig401JSONResponseBodyStatusCode.
const (
- CreateSecretImport500JSONResponseBodyStatusCodeN500 CreateSecretImport500JSONResponseBodyStatusCode = 500
- UpdateSecretApprovalPolicyJSONBodyBypassers1TypeUser UpdateSecretApprovalPolicyJSONBodyBypassers1Type = "user"
++ CreateOidcConfig401JSONResponseBodyStatusCodeN401 CreateOidcConfig401JSONResponseBodyStatusCode = 401
)
- // Valid indicates whether the value is a known member of the CreateSecretImport500JSONResponseBodyStatusCode enum.
- func (e CreateSecretImport500JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicyJSONBodyBypassers1Type enum.
-func (e UpdateSecretApprovalPolicyJSONBodyBypassers1Type) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateOidcConfig401JSONResponseBodyStatusCode enum.
++func (e CreateOidcConfig401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSecretImport500JSONResponseBodyStatusCodeN500:
- case UpdateSecretApprovalPolicyJSONBodyBypassers1TypeUser:
++ case CreateOidcConfig401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for GetCurrentUser400JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretApprovalPolicyJSONBodyEnforcementLevel.
++// Defines values for CreateOidcConfig403JSONResponseBodyStatusCode.
const (
- GetCurrentUser400JSONResponseBodyStatusCodeN400 GetCurrentUser400JSONResponseBodyStatusCode = 400
- UpdateSecretApprovalPolicyJSONBodyEnforcementLevelHard UpdateSecretApprovalPolicyJSONBodyEnforcementLevel = "hard"
- UpdateSecretApprovalPolicyJSONBodyEnforcementLevelSoft UpdateSecretApprovalPolicyJSONBodyEnforcementLevel = "soft"
++ CreateOidcConfig403JSONResponseBodyStatusCodeN403 CreateOidcConfig403JSONResponseBodyStatusCode = 403
)
- // Valid indicates whether the value is a known member of the GetCurrentUser400JSONResponseBodyStatusCode enum.
- func (e GetCurrentUser400JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicyJSONBodyEnforcementLevel enum.
-func (e UpdateSecretApprovalPolicyJSONBodyEnforcementLevel) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateOidcConfig403JSONResponseBodyStatusCode enum.
++func (e CreateOidcConfig403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetCurrentUser400JSONResponseBodyStatusCodeN400:
- case UpdateSecretApprovalPolicyJSONBodyEnforcementLevelHard:
- return true
- case UpdateSecretApprovalPolicyJSONBodyEnforcementLevelSoft:
++ case CreateOidcConfig403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for GetCurrentUser401JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretApprovalPolicy400JSONResponseBodyStatusCode.
++// Defines values for CreateOidcConfig404JSONResponseBodyStatusCode.
const (
- GetCurrentUser401JSONResponseBodyStatusCodeN401 GetCurrentUser401JSONResponseBodyStatusCode = 401
- UpdateSecretApprovalPolicy400JSONResponseBodyStatusCodeN400 UpdateSecretApprovalPolicy400JSONResponseBodyStatusCode = 400
++ CreateOidcConfig404JSONResponseBodyStatusCodeN404 CreateOidcConfig404JSONResponseBodyStatusCode = 404
)
- // Valid indicates whether the value is a known member of the GetCurrentUser401JSONResponseBodyStatusCode enum.
- func (e GetCurrentUser401JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy400JSONResponseBodyStatusCode enum.
-func (e UpdateSecretApprovalPolicy400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateOidcConfig404JSONResponseBodyStatusCode enum.
++func (e CreateOidcConfig404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetCurrentUser401JSONResponseBodyStatusCodeN401:
- case UpdateSecretApprovalPolicy400JSONResponseBodyStatusCodeN400:
++ case CreateOidcConfig404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for GetCurrentUser403JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretApprovalPolicy401JSONResponseBodyStatusCode.
++// Defines values for CreateOidcConfig422JSONResponseBodyStatusCode.
const (
- GetCurrentUser403JSONResponseBodyStatusCodeN403 GetCurrentUser403JSONResponseBodyStatusCode = 403
- UpdateSecretApprovalPolicy401JSONResponseBodyStatusCodeN401 UpdateSecretApprovalPolicy401JSONResponseBodyStatusCode = 401
++ CreateOidcConfig422JSONResponseBodyStatusCodeN422 CreateOidcConfig422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the GetCurrentUser403JSONResponseBodyStatusCode enum.
- func (e GetCurrentUser403JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy401JSONResponseBodyStatusCode enum.
-func (e UpdateSecretApprovalPolicy401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateOidcConfig422JSONResponseBodyStatusCode enum.
++func (e CreateOidcConfig422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetCurrentUser403JSONResponseBodyStatusCodeN403:
- case UpdateSecretApprovalPolicy401JSONResponseBodyStatusCodeN401:
++ case CreateOidcConfig422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for GetCurrentUser404JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretApprovalPolicy403JSONResponseBodyStatusCode.
++// Defines values for CreateOidcConfig500JSONResponseBodyStatusCode.
const (
- GetCurrentUser404JSONResponseBodyStatusCodeN404 GetCurrentUser404JSONResponseBodyStatusCode = 404
- UpdateSecretApprovalPolicy403JSONResponseBodyStatusCodeN403 UpdateSecretApprovalPolicy403JSONResponseBodyStatusCode = 403
++ CreateOidcConfig500JSONResponseBodyStatusCodeN500 CreateOidcConfig500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the GetCurrentUser404JSONResponseBodyStatusCode enum.
- func (e GetCurrentUser404JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy403JSONResponseBodyStatusCode enum.
-func (e UpdateSecretApprovalPolicy403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateOidcConfig500JSONResponseBodyStatusCode enum.
++func (e CreateOidcConfig500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetCurrentUser404JSONResponseBodyStatusCodeN404:
- case UpdateSecretApprovalPolicy403JSONResponseBodyStatusCodeN403:
++ case CreateOidcConfig500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for GetCurrentUser422JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretApprovalPolicy404JSONResponseBodyStatusCode.
++// Defines values for CreateSecretFolder400JSONResponseBodyStatusCode.
const (
- GetCurrentUser422JSONResponseBodyStatusCodeN422 GetCurrentUser422JSONResponseBodyStatusCode = 422
- UpdateSecretApprovalPolicy404JSONResponseBodyStatusCodeN404 UpdateSecretApprovalPolicy404JSONResponseBodyStatusCode = 404
++ CreateSecretFolder400JSONResponseBodyStatusCodeN400 CreateSecretFolder400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the GetCurrentUser422JSONResponseBodyStatusCode enum.
- func (e GetCurrentUser422JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy404JSONResponseBodyStatusCode enum.
-func (e UpdateSecretApprovalPolicy404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSecretFolder400JSONResponseBodyStatusCode enum.
++func (e CreateSecretFolder400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetCurrentUser422JSONResponseBodyStatusCodeN422:
- case UpdateSecretApprovalPolicy404JSONResponseBodyStatusCodeN404:
++ case CreateSecretFolder400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for GetCurrentUser500JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretApprovalPolicy422JSONResponseBodyStatusCode.
++// Defines values for CreateSecretFolder401JSONResponseBodyStatusCode.
const (
- GetCurrentUser500JSONResponseBodyStatusCodeN500 GetCurrentUser500JSONResponseBodyStatusCode = 500
- UpdateSecretApprovalPolicy422JSONResponseBodyStatusCodeN422 UpdateSecretApprovalPolicy422JSONResponseBodyStatusCode = 422
++ CreateSecretFolder401JSONResponseBodyStatusCodeN401 CreateSecretFolder401JSONResponseBodyStatusCode = 401
)
- // Valid indicates whether the value is a known member of the GetCurrentUser500JSONResponseBodyStatusCode enum.
- func (e GetCurrentUser500JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy422JSONResponseBodyStatusCode enum.
-func (e UpdateSecretApprovalPolicy422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSecretFolder401JSONResponseBodyStatusCode enum.
++func (e CreateSecretFolder401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetCurrentUser500JSONResponseBodyStatusCodeN500:
- case UpdateSecretApprovalPolicy422JSONResponseBodyStatusCodeN422:
++ case CreateSecretFolder401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for RequestEmailChangeOtp400JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretApprovalPolicy500JSONResponseBodyStatusCode.
++// Defines values for CreateSecretFolder403JSONResponseBodyStatusCode.
const (
- RequestEmailChangeOtp400JSONResponseBodyStatusCodeN400 RequestEmailChangeOtp400JSONResponseBodyStatusCode = 400
- UpdateSecretApprovalPolicy500JSONResponseBodyStatusCodeN500 UpdateSecretApprovalPolicy500JSONResponseBodyStatusCode = 500
++ CreateSecretFolder403JSONResponseBodyStatusCodeN403 CreateSecretFolder403JSONResponseBodyStatusCode = 403
)
- // Valid indicates whether the value is a known member of the RequestEmailChangeOtp400JSONResponseBodyStatusCode enum.
- func (e RequestEmailChangeOtp400JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy500JSONResponseBodyStatusCode enum.
-func (e UpdateSecretApprovalPolicy500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSecretFolder403JSONResponseBodyStatusCode enum.
++func (e CreateSecretFolder403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case RequestEmailChangeOtp400JSONResponseBodyStatusCodeN400:
- case UpdateSecretApprovalPolicy500JSONResponseBodyStatusCodeN500:
++ case CreateSecretFolder403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for RequestEmailChangeOtp401JSONResponseBodyStatusCode.
-// Defines values for CreateSecretImport400JSONResponseBodyStatusCode.
++// Defines values for CreateSecretFolder404JSONResponseBodyStatusCode.
const (
- RequestEmailChangeOtp401JSONResponseBodyStatusCodeN401 RequestEmailChangeOtp401JSONResponseBodyStatusCode = 401
- CreateSecretImport400JSONResponseBodyStatusCodeN400 CreateSecretImport400JSONResponseBodyStatusCode = 400
++ CreateSecretFolder404JSONResponseBodyStatusCodeN404 CreateSecretFolder404JSONResponseBodyStatusCode = 404
)
- // Valid indicates whether the value is a known member of the RequestEmailChangeOtp401JSONResponseBodyStatusCode enum.
- func (e RequestEmailChangeOtp401JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateSecretImport400JSONResponseBodyStatusCode enum.
-func (e CreateSecretImport400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSecretFolder404JSONResponseBodyStatusCode enum.
++func (e CreateSecretFolder404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case RequestEmailChangeOtp401JSONResponseBodyStatusCodeN401:
- case CreateSecretImport400JSONResponseBodyStatusCodeN400:
++ case CreateSecretFolder404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for RequestEmailChangeOtp403JSONResponseBodyStatusCode.
-// Defines values for CreateSecretImport401JSONResponseBodyStatusCode.
++// Defines values for CreateSecretFolder422JSONResponseBodyStatusCode.
const (
- RequestEmailChangeOtp403JSONResponseBodyStatusCodeN403 RequestEmailChangeOtp403JSONResponseBodyStatusCode = 403
- CreateSecretImport401JSONResponseBodyStatusCodeN401 CreateSecretImport401JSONResponseBodyStatusCode = 401
++ CreateSecretFolder422JSONResponseBodyStatusCodeN422 CreateSecretFolder422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the RequestEmailChangeOtp403JSONResponseBodyStatusCode enum.
- func (e RequestEmailChangeOtp403JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateSecretImport401JSONResponseBodyStatusCode enum.
-func (e CreateSecretImport401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSecretFolder422JSONResponseBodyStatusCode enum.
++func (e CreateSecretFolder422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case RequestEmailChangeOtp403JSONResponseBodyStatusCodeN403:
- case CreateSecretImport401JSONResponseBodyStatusCodeN401:
++ case CreateSecretFolder422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for RequestEmailChangeOtp404JSONResponseBodyStatusCode.
-// Defines values for CreateSecretImport403JSONResponseBodyStatusCode.
++// Defines values for CreateSecretFolder500JSONResponseBodyStatusCode.
const (
- RequestEmailChangeOtp404JSONResponseBodyStatusCodeN404 RequestEmailChangeOtp404JSONResponseBodyStatusCode = 404
- CreateSecretImport403JSONResponseBodyStatusCodeN403 CreateSecretImport403JSONResponseBodyStatusCode = 403
++ CreateSecretFolder500JSONResponseBodyStatusCodeN500 CreateSecretFolder500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the RequestEmailChangeOtp404JSONResponseBodyStatusCode enum.
- func (e RequestEmailChangeOtp404JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateSecretImport403JSONResponseBodyStatusCode enum.
-func (e CreateSecretImport403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSecretFolder500JSONResponseBodyStatusCode enum.
++func (e CreateSecretFolder500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case RequestEmailChangeOtp404JSONResponseBodyStatusCodeN404:
- case CreateSecretImport403JSONResponseBodyStatusCodeN403:
++ case CreateSecretFolder500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for RequestEmailChangeOtp422JSONResponseBodyStatusCode.
-// Defines values for CreateSecretImport404JSONResponseBodyStatusCode.
++// Defines values for CreateOrganization400JSONResponseBodyStatusCode.
const (
- RequestEmailChangeOtp422JSONResponseBodyStatusCodeN422 RequestEmailChangeOtp422JSONResponseBodyStatusCode = 422
- CreateSecretImport404JSONResponseBodyStatusCodeN404 CreateSecretImport404JSONResponseBodyStatusCode = 404
++ CreateOrganization400JSONResponseBodyStatusCodeN400 CreateOrganization400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the RequestEmailChangeOtp422JSONResponseBodyStatusCode enum.
- func (e RequestEmailChangeOtp422JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateSecretImport404JSONResponseBodyStatusCode enum.
-func (e CreateSecretImport404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateOrganization400JSONResponseBodyStatusCode enum.
++func (e CreateOrganization400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case RequestEmailChangeOtp422JSONResponseBodyStatusCodeN422:
- case CreateSecretImport404JSONResponseBodyStatusCodeN404:
++ case CreateOrganization400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for RequestEmailChangeOtp500JSONResponseBodyStatusCode.
-// Defines values for CreateSecretImport422JSONResponseBodyStatusCode.
++// Defines values for CreateOrganization401JSONResponseBodyStatusCode.
const (
- RequestEmailChangeOtp500JSONResponseBodyStatusCodeN500 RequestEmailChangeOtp500JSONResponseBodyStatusCode = 500
- CreateSecretImport422JSONResponseBodyStatusCodeN422 CreateSecretImport422JSONResponseBodyStatusCode = 422
++ CreateOrganization401JSONResponseBodyStatusCodeN401 CreateOrganization401JSONResponseBodyStatusCode = 401
)
- // Valid indicates whether the value is a known member of the RequestEmailChangeOtp500JSONResponseBodyStatusCode enum.
- func (e RequestEmailChangeOtp500JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateSecretImport422JSONResponseBodyStatusCode enum.
-func (e CreateSecretImport422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateOrganization401JSONResponseBodyStatusCode enum.
++func (e CreateOrganization401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case RequestEmailChangeOtp500JSONResponseBodyStatusCodeN500:
- case CreateSecretImport422JSONResponseBodyStatusCodeN422:
++ case CreateOrganization401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for LoginV3400JSONResponseBodyStatusCode.
-// Defines values for CreateSecretImport500JSONResponseBodyStatusCode.
++// Defines values for CreateOrganization403JSONResponseBodyStatusCode.
const (
- LoginV3400JSONResponseBodyStatusCodeN400 LoginV3400JSONResponseBodyStatusCode = 400
- CreateSecretImport500JSONResponseBodyStatusCodeN500 CreateSecretImport500JSONResponseBodyStatusCode = 500
++ CreateOrganization403JSONResponseBodyStatusCodeN403 CreateOrganization403JSONResponseBodyStatusCode = 403
)
- // 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 CreateSecretImport500JSONResponseBodyStatusCode enum.
-func (e CreateSecretImport500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateOrganization403JSONResponseBodyStatusCode enum.
++func (e CreateOrganization403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case LoginV3400JSONResponseBodyStatusCodeN400:
- case CreateSecretImport500JSONResponseBodyStatusCodeN500:
++ case CreateOrganization403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for LoginV3401JSONResponseBodyStatusCode.
-// Defines values for GetCurrentUser400JSONResponseBodyStatusCode.
++// Defines values for CreateOrganization404JSONResponseBodyStatusCode.
const (
- LoginV3401JSONResponseBodyStatusCodeN401 LoginV3401JSONResponseBodyStatusCode = 401
- GetCurrentUser400JSONResponseBodyStatusCodeN400 GetCurrentUser400JSONResponseBodyStatusCode = 400
++ CreateOrganization404JSONResponseBodyStatusCodeN404 CreateOrganization404JSONResponseBodyStatusCode = 404
)
- // 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 GetCurrentUser400JSONResponseBodyStatusCode enum.
-func (e GetCurrentUser400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateOrganization404JSONResponseBodyStatusCode enum.
++func (e CreateOrganization404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case LoginV3401JSONResponseBodyStatusCodeN401:
- case GetCurrentUser400JSONResponseBodyStatusCodeN400:
++ case CreateOrganization404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for LoginV3403JSONResponseBodyStatusCode.
-// Defines values for GetCurrentUser401JSONResponseBodyStatusCode.
++// Defines values for CreateOrganization422JSONResponseBodyStatusCode.
const (
- LoginV3403JSONResponseBodyStatusCodeN403 LoginV3403JSONResponseBodyStatusCode = 403
- GetCurrentUser401JSONResponseBodyStatusCodeN401 GetCurrentUser401JSONResponseBodyStatusCode = 401
++ CreateOrganization422JSONResponseBodyStatusCodeN422 CreateOrganization422JSONResponseBodyStatusCode = 422
)
- // 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 GetCurrentUser401JSONResponseBodyStatusCode enum.
-func (e GetCurrentUser401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateOrganization422JSONResponseBodyStatusCode enum.
++func (e CreateOrganization422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case LoginV3403JSONResponseBodyStatusCodeN403:
- case GetCurrentUser401JSONResponseBodyStatusCodeN401:
++ case CreateOrganization422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for LoginV3404JSONResponseBodyStatusCode.
-// Defines values for GetCurrentUser403JSONResponseBodyStatusCode.
++// Defines values for CreateOrganization500JSONResponseBodyStatusCode.
const (
- LoginV3404JSONResponseBodyStatusCodeN404 LoginV3404JSONResponseBodyStatusCode = 404
- GetCurrentUser403JSONResponseBodyStatusCodeN403 GetCurrentUser403JSONResponseBodyStatusCode = 403
++ CreateOrganization500JSONResponseBodyStatusCodeN500 CreateOrganization500JSONResponseBodyStatusCode = 500
)
- // 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 GetCurrentUser403JSONResponseBodyStatusCode enum.
-func (e GetCurrentUser403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateOrganization500JSONResponseBodyStatusCode enum.
++func (e CreateOrganization500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case LoginV3404JSONResponseBodyStatusCodeN404:
- case GetCurrentUser403JSONResponseBodyStatusCodeN403:
++ case CreateOrganization500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for LoginV3422JSONResponseBodyStatusCode.
-// Defines values for GetCurrentUser404JSONResponseBodyStatusCode.
++// Defines values for DeleteOrganization400JSONResponseBodyStatusCode.
const (
- LoginV3422JSONResponseBodyStatusCodeN422 LoginV3422JSONResponseBodyStatusCode = 422
- GetCurrentUser404JSONResponseBodyStatusCodeN404 GetCurrentUser404JSONResponseBodyStatusCode = 404
++ DeleteOrganization400JSONResponseBodyStatusCodeN400 DeleteOrganization400JSONResponseBodyStatusCode = 400
)
- // 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 GetCurrentUser404JSONResponseBodyStatusCode enum.
-func (e GetCurrentUser404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteOrganization400JSONResponseBodyStatusCode enum.
++func (e DeleteOrganization400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case LoginV3422JSONResponseBodyStatusCodeN422:
- case GetCurrentUser404JSONResponseBodyStatusCodeN404:
++ case DeleteOrganization400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for LoginV3500JSONResponseBodyStatusCode.
-// Defines values for GetCurrentUser422JSONResponseBodyStatusCode.
++// Defines values for DeleteOrganization401JSONResponseBodyStatusCode.
const (
- LoginV3500JSONResponseBodyStatusCodeN500 LoginV3500JSONResponseBodyStatusCode = 500
- GetCurrentUser422JSONResponseBodyStatusCodeN422 GetCurrentUser422JSONResponseBodyStatusCode = 422
++ DeleteOrganization401JSONResponseBodyStatusCodeN401 DeleteOrganization401JSONResponseBodyStatusCode = 401
)
- // 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 GetCurrentUser422JSONResponseBodyStatusCode enum.
-func (e GetCurrentUser422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteOrganization401JSONResponseBodyStatusCode enum.
++func (e DeleteOrganization401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case LoginV3500JSONResponseBodyStatusCodeN500:
- case GetCurrentUser422JSONResponseBodyStatusCodeN422:
++ case DeleteOrganization401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for SelectOrganizationV3JSONBodyUserAgent.
-// Defines values for GetCurrentUser500JSONResponseBodyStatusCode.
++// Defines values for DeleteOrganization403JSONResponseBodyStatusCode.
const (
- Cli SelectOrganizationV3JSONBodyUserAgent = "cli"
- GetCurrentUser500JSONResponseBodyStatusCodeN500 GetCurrentUser500JSONResponseBodyStatusCode = 500
++ DeleteOrganization403JSONResponseBodyStatusCodeN403 DeleteOrganization403JSONResponseBodyStatusCode = 403
)
- // 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 GetCurrentUser500JSONResponseBodyStatusCode enum.
-func (e GetCurrentUser500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteOrganization403JSONResponseBodyStatusCode enum.
++func (e DeleteOrganization403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case Cli:
- case GetCurrentUser500JSONResponseBodyStatusCodeN500:
++ case DeleteOrganization403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for SelectOrganizationV3400JSONResponseBodyStatusCode.
-// Defines values for CreateProjectRole400JSONResponseBodyStatusCode.
++// Defines values for DeleteOrganization404JSONResponseBodyStatusCode.
const (
- SelectOrganizationV3400JSONResponseBodyStatusCodeN400 SelectOrganizationV3400JSONResponseBodyStatusCode = 400
- CreateProjectRole400JSONResponseBodyStatusCodeN400 CreateProjectRole400JSONResponseBodyStatusCode = 400
++ DeleteOrganization404JSONResponseBodyStatusCodeN404 DeleteOrganization404JSONResponseBodyStatusCode = 404
)
- // 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 CreateProjectRole400JSONResponseBodyStatusCode enum.
-func (e CreateProjectRole400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteOrganization404JSONResponseBodyStatusCode enum.
++func (e DeleteOrganization404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case SelectOrganizationV3400JSONResponseBodyStatusCodeN400:
- case CreateProjectRole400JSONResponseBodyStatusCodeN400:
++ case DeleteOrganization404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for SelectOrganizationV3401JSONResponseBodyStatusCode.
-// Defines values for CreateProjectRole401JSONResponseBodyStatusCode.
++// Defines values for DeleteOrganization422JSONResponseBodyStatusCode.
const (
- SelectOrganizationV3401JSONResponseBodyStatusCodeN401 SelectOrganizationV3401JSONResponseBodyStatusCode = 401
- CreateProjectRole401JSONResponseBodyStatusCodeN401 CreateProjectRole401JSONResponseBodyStatusCode = 401
++ DeleteOrganization422JSONResponseBodyStatusCodeN422 DeleteOrganization422JSONResponseBodyStatusCode = 422
)
- // 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 CreateProjectRole401JSONResponseBodyStatusCode enum.
-func (e CreateProjectRole401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteOrganization422JSONResponseBodyStatusCode enum.
++func (e DeleteOrganization422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case SelectOrganizationV3401JSONResponseBodyStatusCodeN401:
- case CreateProjectRole401JSONResponseBodyStatusCodeN401:
++ case DeleteOrganization422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for SelectOrganizationV3403JSONResponseBodyStatusCode.
-// Defines values for CreateProjectRole403JSONResponseBodyStatusCode.
++// Defines values for DeleteOrganization500JSONResponseBodyStatusCode.
const (
- SelectOrganizationV3403JSONResponseBodyStatusCodeN403 SelectOrganizationV3403JSONResponseBodyStatusCode = 403
- CreateProjectRole403JSONResponseBodyStatusCodeN403 CreateProjectRole403JSONResponseBodyStatusCode = 403
++ DeleteOrganization500JSONResponseBodyStatusCodeN500 DeleteOrganization500JSONResponseBodyStatusCode = 500
)
- // 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 CreateProjectRole403JSONResponseBodyStatusCode enum.
-func (e CreateProjectRole403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the DeleteOrganization500JSONResponseBodyStatusCode enum.
++func (e DeleteOrganization500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case SelectOrganizationV3403JSONResponseBodyStatusCodeN403:
- case CreateProjectRole403JSONResponseBodyStatusCodeN403:
++ case DeleteOrganization500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for SelectOrganizationV3404JSONResponseBodyStatusCode.
-// Defines values for CreateProjectRole404JSONResponseBodyStatusCode.
++// Defines values for ListOrgMemberships400JSONResponseBodyStatusCode.
const (
- SelectOrganizationV3404JSONResponseBodyStatusCodeN404 SelectOrganizationV3404JSONResponseBodyStatusCode = 404
- CreateProjectRole404JSONResponseBodyStatusCodeN404 CreateProjectRole404JSONResponseBodyStatusCode = 404
++ ListOrgMemberships400JSONResponseBodyStatusCodeN400 ListOrgMemberships400JSONResponseBodyStatusCode = 400
)
- // 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 CreateProjectRole404JSONResponseBodyStatusCode enum.
-func (e CreateProjectRole404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListOrgMemberships400JSONResponseBodyStatusCode enum.
++func (e ListOrgMemberships400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case SelectOrganizationV3404JSONResponseBodyStatusCodeN404:
- case CreateProjectRole404JSONResponseBodyStatusCodeN404:
++ case ListOrgMemberships400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for SelectOrganizationV3422JSONResponseBodyStatusCode.
-// Defines values for CreateProjectRole422JSONResponseBodyStatusCode.
++// Defines values for ListOrgMemberships401JSONResponseBodyStatusCode.
const (
- SelectOrganizationV3422JSONResponseBodyStatusCodeN422 SelectOrganizationV3422JSONResponseBodyStatusCode = 422
- CreateProjectRole422JSONResponseBodyStatusCodeN422 CreateProjectRole422JSONResponseBodyStatusCode = 422
++ ListOrgMemberships401JSONResponseBodyStatusCodeN401 ListOrgMemberships401JSONResponseBodyStatusCode = 401
)
- // 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 CreateProjectRole422JSONResponseBodyStatusCode enum.
-func (e CreateProjectRole422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListOrgMemberships401JSONResponseBodyStatusCode enum.
++func (e ListOrgMemberships401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case SelectOrganizationV3422JSONResponseBodyStatusCodeN422:
- case CreateProjectRole422JSONResponseBodyStatusCodeN422:
++ case ListOrgMemberships401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for SelectOrganizationV3500JSONResponseBodyStatusCode.
-// Defines values for CreateProjectRole500JSONResponseBodyStatusCode.
++// Defines values for ListOrgMemberships403JSONResponseBodyStatusCode.
const (
- SelectOrganizationV3500JSONResponseBodyStatusCodeN500 SelectOrganizationV3500JSONResponseBodyStatusCode = 500
- CreateProjectRole500JSONResponseBodyStatusCodeN500 CreateProjectRole500JSONResponseBodyStatusCode = 500
++ ListOrgMemberships403JSONResponseBodyStatusCodeN403 ListOrgMemberships403JSONResponseBodyStatusCode = 403
)
- // 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 CreateProjectRole500JSONResponseBodyStatusCode enum.
-func (e CreateProjectRole500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListOrgMemberships403JSONResponseBodyStatusCode enum.
++func (e ListOrgMemberships403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case SelectOrganizationV3500JSONResponseBodyStatusCodeN500:
- case CreateProjectRole500JSONResponseBodyStatusCodeN500:
++ case ListOrgMemberships403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for CompleteAccountSignupV3JSONBody0Type.
-// Defines values for LoginV3400JSONResponseBodyStatusCode.
++// Defines values for ListOrgMemberships404JSONResponseBodyStatusCode.
const (
- CompleteAccountSignupV3JSONBody0TypeEmail CompleteAccountSignupV3JSONBody0Type = "email"
- LoginV3400JSONResponseBodyStatusCodeN400 LoginV3400JSONResponseBodyStatusCode = 400
++ ListOrgMemberships404JSONResponseBodyStatusCodeN404 ListOrgMemberships404JSONResponseBodyStatusCode = 404
)
- // 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 LoginV3400JSONResponseBodyStatusCode enum.
-func (e LoginV3400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListOrgMemberships404JSONResponseBodyStatusCode enum.
++func (e ListOrgMemberships404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CompleteAccountSignupV3JSONBody0TypeEmail:
- case LoginV3400JSONResponseBodyStatusCodeN400:
++ case ListOrgMemberships404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for CompleteAccountSignupV3JSONBody1Type.
-// Defines values for LoginV3401JSONResponseBodyStatusCode.
++// Defines values for ListOrgMemberships422JSONResponseBodyStatusCode.
const (
- Alias CompleteAccountSignupV3JSONBody1Type = "alias"
- LoginV3401JSONResponseBodyStatusCodeN401 LoginV3401JSONResponseBodyStatusCode = 401
++ ListOrgMemberships422JSONResponseBodyStatusCodeN422 ListOrgMemberships422JSONResponseBodyStatusCode = 422
)
- // 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 LoginV3401JSONResponseBodyStatusCode enum.
-func (e LoginV3401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListOrgMemberships422JSONResponseBodyStatusCode enum.
++func (e ListOrgMemberships422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case Alias:
- case LoginV3401JSONResponseBodyStatusCodeN401:
++ case ListOrgMemberships422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for CompleteAccountSignupV3400JSONResponseBodyStatusCode.
-// Defines values for LoginV3403JSONResponseBodyStatusCode.
++// Defines values for ListOrgMemberships500JSONResponseBodyStatusCode.
const (
- CompleteAccountSignupV3400JSONResponseBodyStatusCodeN400 CompleteAccountSignupV3400JSONResponseBodyStatusCode = 400
- LoginV3403JSONResponseBodyStatusCodeN403 LoginV3403JSONResponseBodyStatusCode = 403
++ ListOrgMemberships500JSONResponseBodyStatusCodeN500 ListOrgMemberships500JSONResponseBodyStatusCode = 500
)
- // 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 LoginV3403JSONResponseBodyStatusCode enum.
-func (e LoginV3403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListOrgMemberships500JSONResponseBodyStatusCode enum.
++func (e ListOrgMemberships500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CompleteAccountSignupV3400JSONResponseBodyStatusCodeN400:
- case LoginV3403JSONResponseBodyStatusCodeN403:
++ case ListOrgMemberships500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for CompleteAccountSignupV3401JSONResponseBodyStatusCode.
-// Defines values for LoginV3404JSONResponseBodyStatusCode.
++// Defines values for GetOrgMembership400JSONResponseBodyStatusCode.
const (
- CompleteAccountSignupV3401JSONResponseBodyStatusCodeN401 CompleteAccountSignupV3401JSONResponseBodyStatusCode = 401
- LoginV3404JSONResponseBodyStatusCodeN404 LoginV3404JSONResponseBodyStatusCode = 404
++ GetOrgMembership400JSONResponseBodyStatusCodeN400 GetOrgMembership400JSONResponseBodyStatusCode = 400
)
- // 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 LoginV3404JSONResponseBodyStatusCode enum.
-func (e LoginV3404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetOrgMembership400JSONResponseBodyStatusCode enum.
++func (e GetOrgMembership400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CompleteAccountSignupV3401JSONResponseBodyStatusCodeN401:
- case LoginV3404JSONResponseBodyStatusCodeN404:
++ case GetOrgMembership400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for CompleteAccountSignupV3403JSONResponseBodyStatusCode.
-// Defines values for LoginV3422JSONResponseBodyStatusCode.
++// Defines values for GetOrgMembership401JSONResponseBodyStatusCode.
const (
- CompleteAccountSignupV3403JSONResponseBodyStatusCodeN403 CompleteAccountSignupV3403JSONResponseBodyStatusCode = 403
- LoginV3422JSONResponseBodyStatusCodeN422 LoginV3422JSONResponseBodyStatusCode = 422
++ GetOrgMembership401JSONResponseBodyStatusCodeN401 GetOrgMembership401JSONResponseBodyStatusCode = 401
)
- // 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 LoginV3422JSONResponseBodyStatusCode enum.
-func (e LoginV3422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetOrgMembership401JSONResponseBodyStatusCode enum.
++func (e GetOrgMembership401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CompleteAccountSignupV3403JSONResponseBodyStatusCodeN403:
- case LoginV3422JSONResponseBodyStatusCodeN422:
++ case GetOrgMembership401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for CompleteAccountSignupV3404JSONResponseBodyStatusCode.
-// Defines values for LoginV3500JSONResponseBodyStatusCode.
++// Defines values for GetOrgMembership403JSONResponseBodyStatusCode.
const (
- CompleteAccountSignupV3404JSONResponseBodyStatusCodeN404 CompleteAccountSignupV3404JSONResponseBodyStatusCode = 404
- LoginV3500JSONResponseBodyStatusCodeN500 LoginV3500JSONResponseBodyStatusCode = 500
++ GetOrgMembership403JSONResponseBodyStatusCodeN403 GetOrgMembership403JSONResponseBodyStatusCode = 403
)
- // 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 LoginV3500JSONResponseBodyStatusCode enum.
-func (e LoginV3500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetOrgMembership403JSONResponseBodyStatusCode enum.
++func (e GetOrgMembership403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CompleteAccountSignupV3404JSONResponseBodyStatusCodeN404:
- case LoginV3500JSONResponseBodyStatusCodeN500:
++ case GetOrgMembership403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for CompleteAccountSignupV3422JSONResponseBodyStatusCode.
-// Defines values for SelectOrganizationV3JSONBodyUserAgent.
++// Defines values for GetOrgMembership404JSONResponseBodyStatusCode.
const (
- CompleteAccountSignupV3422JSONResponseBodyStatusCodeN422 CompleteAccountSignupV3422JSONResponseBodyStatusCode = 422
- Cli SelectOrganizationV3JSONBodyUserAgent = "cli"
++ GetOrgMembership404JSONResponseBodyStatusCodeN404 GetOrgMembership404JSONResponseBodyStatusCode = 404
)
- // 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 SelectOrganizationV3JSONBodyUserAgent enum.
-func (e SelectOrganizationV3JSONBodyUserAgent) Valid() bool {
++// Valid indicates whether the value is a known member of the GetOrgMembership404JSONResponseBodyStatusCode enum.
++func (e GetOrgMembership404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CompleteAccountSignupV3422JSONResponseBodyStatusCodeN422:
- case Cli:
++ case GetOrgMembership404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for CompleteAccountSignupV3500JSONResponseBodyStatusCode.
-// Defines values for SelectOrganizationV3400JSONResponseBodyStatusCode.
++// Defines values for GetOrgMembership422JSONResponseBodyStatusCode.
const (
- CompleteAccountSignupV3500JSONResponseBodyStatusCodeN500 CompleteAccountSignupV3500JSONResponseBodyStatusCode = 500
- SelectOrganizationV3400JSONResponseBodyStatusCodeN400 SelectOrganizationV3400JSONResponseBodyStatusCode = 400
++ GetOrgMembership422JSONResponseBodyStatusCodeN422 GetOrgMembership422JSONResponseBodyStatusCode = 422
)
- // 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 SelectOrganizationV3400JSONResponseBodyStatusCode enum.
-func (e SelectOrganizationV3400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetOrgMembership422JSONResponseBodyStatusCode enum.
++func (e GetOrgMembership422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CompleteAccountSignupV3500JSONResponseBodyStatusCodeN500:
- case SelectOrganizationV3400JSONResponseBodyStatusCodeN400:
++ case GetOrgMembership422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for BeginEmailSignupV3400JSONResponseBodyStatusCode.
-// Defines values for SelectOrganizationV3401JSONResponseBodyStatusCode.
++// Defines values for GetOrgMembership500JSONResponseBodyStatusCode.
const (
- BeginEmailSignupV3400JSONResponseBodyStatusCodeN400 BeginEmailSignupV3400JSONResponseBodyStatusCode = 400
- SelectOrganizationV3401JSONResponseBodyStatusCodeN401 SelectOrganizationV3401JSONResponseBodyStatusCode = 401
++ GetOrgMembership500JSONResponseBodyStatusCodeN500 GetOrgMembership500JSONResponseBodyStatusCode = 500
)
- // 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 SelectOrganizationV3401JSONResponseBodyStatusCode enum.
-func (e SelectOrganizationV3401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetOrgMembership500JSONResponseBodyStatusCode enum.
++func (e GetOrgMembership500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case BeginEmailSignupV3400JSONResponseBodyStatusCodeN400:
- case SelectOrganizationV3401JSONResponseBodyStatusCodeN401:
++ case GetOrgMembership500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for BeginEmailSignupV3401JSONResponseBodyStatusCode.
-// Defines values for SelectOrganizationV3403JSONResponseBodyStatusCode.
++// Defines values for UpdateOrgMembership400JSONResponseBodyStatusCode.
const (
- BeginEmailSignupV3401JSONResponseBodyStatusCodeN401 BeginEmailSignupV3401JSONResponseBodyStatusCode = 401
- SelectOrganizationV3403JSONResponseBodyStatusCodeN403 SelectOrganizationV3403JSONResponseBodyStatusCode = 403
++ UpdateOrgMembership400JSONResponseBodyStatusCodeN400 UpdateOrgMembership400JSONResponseBodyStatusCode = 400
)
- // 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 SelectOrganizationV3403JSONResponseBodyStatusCode enum.
-func (e SelectOrganizationV3403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateOrgMembership400JSONResponseBodyStatusCode enum.
++func (e UpdateOrgMembership400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case BeginEmailSignupV3401JSONResponseBodyStatusCodeN401:
- case SelectOrganizationV3403JSONResponseBodyStatusCodeN403:
++ case UpdateOrgMembership400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for BeginEmailSignupV3403JSONResponseBodyStatusCode.
-// Defines values for SelectOrganizationV3404JSONResponseBodyStatusCode.
++// Defines values for UpdateOrgMembership401JSONResponseBodyStatusCode.
const (
- BeginEmailSignupV3403JSONResponseBodyStatusCodeN403 BeginEmailSignupV3403JSONResponseBodyStatusCode = 403
- SelectOrganizationV3404JSONResponseBodyStatusCodeN404 SelectOrganizationV3404JSONResponseBodyStatusCode = 404
++ UpdateOrgMembership401JSONResponseBodyStatusCodeN401 UpdateOrgMembership401JSONResponseBodyStatusCode = 401
)
- // 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 SelectOrganizationV3404JSONResponseBodyStatusCode enum.
-func (e SelectOrganizationV3404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateOrgMembership401JSONResponseBodyStatusCode enum.
++func (e UpdateOrgMembership401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case BeginEmailSignupV3403JSONResponseBodyStatusCodeN403:
- case SelectOrganizationV3404JSONResponseBodyStatusCodeN404:
++ case UpdateOrgMembership401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for BeginEmailSignupV3404JSONResponseBodyStatusCode.
-// Defines values for SelectOrganizationV3422JSONResponseBodyStatusCode.
++// Defines values for UpdateOrgMembership403JSONResponseBodyStatusCode.
const (
- BeginEmailSignupV3404JSONResponseBodyStatusCodeN404 BeginEmailSignupV3404JSONResponseBodyStatusCode = 404
- SelectOrganizationV3422JSONResponseBodyStatusCodeN422 SelectOrganizationV3422JSONResponseBodyStatusCode = 422
++ UpdateOrgMembership403JSONResponseBodyStatusCodeN403 UpdateOrgMembership403JSONResponseBodyStatusCode = 403
)
- // 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 SelectOrganizationV3422JSONResponseBodyStatusCode enum.
-func (e SelectOrganizationV3422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateOrgMembership403JSONResponseBodyStatusCode enum.
++func (e UpdateOrgMembership403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case BeginEmailSignupV3404JSONResponseBodyStatusCodeN404:
- case SelectOrganizationV3422JSONResponseBodyStatusCodeN422:
++ case UpdateOrgMembership403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for BeginEmailSignupV3422JSONResponseBodyStatusCode.
-// Defines values for SelectOrganizationV3500JSONResponseBodyStatusCode.
++// Defines values for UpdateOrgMembership404JSONResponseBodyStatusCode.
const (
- BeginEmailSignupV3422JSONResponseBodyStatusCodeN422 BeginEmailSignupV3422JSONResponseBodyStatusCode = 422
- SelectOrganizationV3500JSONResponseBodyStatusCodeN500 SelectOrganizationV3500JSONResponseBodyStatusCode = 500
++ UpdateOrgMembership404JSONResponseBodyStatusCodeN404 UpdateOrgMembership404JSONResponseBodyStatusCode = 404
)
- // 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 SelectOrganizationV3500JSONResponseBodyStatusCode enum.
-func (e SelectOrganizationV3500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateOrgMembership404JSONResponseBodyStatusCode enum.
++func (e UpdateOrgMembership404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case BeginEmailSignupV3422JSONResponseBodyStatusCodeN422:
- case SelectOrganizationV3500JSONResponseBodyStatusCodeN500:
++ case UpdateOrgMembership404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for BeginEmailSignupV3500JSONResponseBodyStatusCode.
-// Defines values for CompleteAccountSignupV3JSONBody0Type.
++// Defines values for UpdateOrgMembership422JSONResponseBodyStatusCode.
const (
- BeginEmailSignupV3500JSONResponseBodyStatusCodeN500 BeginEmailSignupV3500JSONResponseBodyStatusCode = 500
- CompleteAccountSignupV3JSONBody0TypeEmail CompleteAccountSignupV3JSONBody0Type = "email"
++ UpdateOrgMembership422JSONResponseBodyStatusCodeN422 UpdateOrgMembership422JSONResponseBodyStatusCode = 422
)
- // 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 CompleteAccountSignupV3JSONBody0Type enum.
-func (e CompleteAccountSignupV3JSONBody0Type) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateOrgMembership422JSONResponseBodyStatusCode enum.
++func (e UpdateOrgMembership422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case BeginEmailSignupV3500JSONResponseBodyStatusCodeN500:
- case CompleteAccountSignupV3JSONBody0TypeEmail:
++ case UpdateOrgMembership422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for VerifyEmailSignupV3400JSONResponseBodyStatusCode.
-// Defines values for CompleteAccountSignupV3JSONBody1Type.
++// Defines values for UpdateOrgMembership500JSONResponseBodyStatusCode.
const (
- VerifyEmailSignupV3400JSONResponseBodyStatusCodeN400 VerifyEmailSignupV3400JSONResponseBodyStatusCode = 400
- Alias CompleteAccountSignupV3JSONBody1Type = "alias"
++ UpdateOrgMembership500JSONResponseBodyStatusCodeN500 UpdateOrgMembership500JSONResponseBodyStatusCode = 500
)
- // 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 CompleteAccountSignupV3JSONBody1Type enum.
-func (e CompleteAccountSignupV3JSONBody1Type) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateOrgMembership500JSONResponseBodyStatusCode enum.
++func (e UpdateOrgMembership500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case VerifyEmailSignupV3400JSONResponseBodyStatusCodeN400:
- case Alias:
++ case UpdateOrgMembership500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for VerifyEmailSignupV3401JSONResponseBodyStatusCode.
-// Defines values for CompleteAccountSignupV3400JSONResponseBodyStatusCode.
++// Defines values for CreateSecretApprovalPolicyJSONBodyApprovers0Type.
const (
- VerifyEmailSignupV3401JSONResponseBodyStatusCodeN401 VerifyEmailSignupV3401JSONResponseBodyStatusCode = 401
- CompleteAccountSignupV3400JSONResponseBodyStatusCodeN400 CompleteAccountSignupV3400JSONResponseBodyStatusCode = 400
++ CreateSecretApprovalPolicyJSONBodyApprovers0TypeGroup CreateSecretApprovalPolicyJSONBodyApprovers0Type = "group"
)
- // 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 CompleteAccountSignupV3400JSONResponseBodyStatusCode enum.
-func (e CompleteAccountSignupV3400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicyJSONBodyApprovers0Type enum.
++func (e CreateSecretApprovalPolicyJSONBodyApprovers0Type) Valid() bool {
switch e {
- case VerifyEmailSignupV3401JSONResponseBodyStatusCodeN401:
- case CompleteAccountSignupV3400JSONResponseBodyStatusCodeN400:
++ case CreateSecretApprovalPolicyJSONBodyApprovers0TypeGroup:
return true
default:
return false
}
}
- // Defines values for VerifyEmailSignupV3403JSONResponseBodyStatusCode.
-// Defines values for CompleteAccountSignupV3401JSONResponseBodyStatusCode.
++// Defines values for CreateSecretApprovalPolicyJSONBodyApprovers1Type.
const (
- VerifyEmailSignupV3403JSONResponseBodyStatusCodeN403 VerifyEmailSignupV3403JSONResponseBodyStatusCode = 403
- CompleteAccountSignupV3401JSONResponseBodyStatusCodeN401 CompleteAccountSignupV3401JSONResponseBodyStatusCode = 401
++ CreateSecretApprovalPolicyJSONBodyApprovers1TypeUser CreateSecretApprovalPolicyJSONBodyApprovers1Type = "user"
)
- // 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 CompleteAccountSignupV3401JSONResponseBodyStatusCode enum.
-func (e CompleteAccountSignupV3401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicyJSONBodyApprovers1Type enum.
++func (e CreateSecretApprovalPolicyJSONBodyApprovers1Type) Valid() bool {
switch e {
- case VerifyEmailSignupV3403JSONResponseBodyStatusCodeN403:
- case CompleteAccountSignupV3401JSONResponseBodyStatusCodeN401:
++ case CreateSecretApprovalPolicyJSONBodyApprovers1TypeUser:
return true
default:
return false
}
}
- // Defines values for VerifyEmailSignupV3404JSONResponseBodyStatusCode.
-// Defines values for CompleteAccountSignupV3403JSONResponseBodyStatusCode.
++// Defines values for CreateSecretApprovalPolicyJSONBodyBypassers0Type.
const (
- VerifyEmailSignupV3404JSONResponseBodyStatusCodeN404 VerifyEmailSignupV3404JSONResponseBodyStatusCode = 404
- CompleteAccountSignupV3403JSONResponseBodyStatusCodeN403 CompleteAccountSignupV3403JSONResponseBodyStatusCode = 403
++ CreateSecretApprovalPolicyJSONBodyBypassers0TypeGroup CreateSecretApprovalPolicyJSONBodyBypassers0Type = "group"
)
- // 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 CompleteAccountSignupV3403JSONResponseBodyStatusCode enum.
-func (e CompleteAccountSignupV3403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicyJSONBodyBypassers0Type enum.
++func (e CreateSecretApprovalPolicyJSONBodyBypassers0Type) Valid() bool {
switch e {
- case VerifyEmailSignupV3404JSONResponseBodyStatusCodeN404:
- case CompleteAccountSignupV3403JSONResponseBodyStatusCodeN403:
++ case CreateSecretApprovalPolicyJSONBodyBypassers0TypeGroup:
return true
default:
return false
}
}
- // Defines values for VerifyEmailSignupV3422JSONResponseBodyStatusCode.
-// Defines values for CompleteAccountSignupV3404JSONResponseBodyStatusCode.
++// Defines values for CreateSecretApprovalPolicyJSONBodyBypassers1Type.
const (
- VerifyEmailSignupV3422JSONResponseBodyStatusCodeN422 VerifyEmailSignupV3422JSONResponseBodyStatusCode = 422
- CompleteAccountSignupV3404JSONResponseBodyStatusCodeN404 CompleteAccountSignupV3404JSONResponseBodyStatusCode = 404
++ CreateSecretApprovalPolicyJSONBodyBypassers1TypeUser CreateSecretApprovalPolicyJSONBodyBypassers1Type = "user"
)
- // 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 CompleteAccountSignupV3404JSONResponseBodyStatusCode enum.
-func (e CompleteAccountSignupV3404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicyJSONBodyBypassers1Type enum.
++func (e CreateSecretApprovalPolicyJSONBodyBypassers1Type) Valid() bool {
switch e {
- case VerifyEmailSignupV3422JSONResponseBodyStatusCodeN422:
- case CompleteAccountSignupV3404JSONResponseBodyStatusCodeN404:
++ case CreateSecretApprovalPolicyJSONBodyBypassers1TypeUser:
return true
default:
return false
}
}
- // Defines values for VerifyEmailSignupV3500JSONResponseBodyStatusCode.
-// Defines values for CompleteAccountSignupV3422JSONResponseBodyStatusCode.
++// Defines values for CreateSecretApprovalPolicyJSONBodyEnforcementLevel.
const (
- VerifyEmailSignupV3500JSONResponseBodyStatusCodeN500 VerifyEmailSignupV3500JSONResponseBodyStatusCode = 500
- CompleteAccountSignupV3422JSONResponseBodyStatusCodeN422 CompleteAccountSignupV3422JSONResponseBodyStatusCode = 422
++ CreateSecretApprovalPolicyJSONBodyEnforcementLevelHard CreateSecretApprovalPolicyJSONBodyEnforcementLevel = "hard"
++ CreateSecretApprovalPolicyJSONBodyEnforcementLevelSoft CreateSecretApprovalPolicyJSONBodyEnforcementLevel = "soft"
)
- // 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 CompleteAccountSignupV3422JSONResponseBodyStatusCode enum.
-func (e CompleteAccountSignupV3422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicyJSONBodyEnforcementLevel enum.
++func (e CreateSecretApprovalPolicyJSONBodyEnforcementLevel) Valid() bool {
switch e {
- case VerifyEmailSignupV3500JSONResponseBodyStatusCodeN500:
- case CompleteAccountSignupV3422JSONResponseBodyStatusCodeN422:
++ case CreateSecretApprovalPolicyJSONBodyEnforcementLevelHard:
++ return true
++ case CreateSecretApprovalPolicyJSONBodyEnforcementLevelSoft:
return true
default:
return false
}
}
- // Defines values for ListSecretsV4ParamsViewSecretValue.
-// Defines values for CompleteAccountSignupV3500JSONResponseBodyStatusCode.
++// Defines values for CreateSecretApprovalPolicy400JSONResponseBodyStatusCode.
const (
- ListSecretsV4ParamsViewSecretValueFalse ListSecretsV4ParamsViewSecretValue = "false"
- ListSecretsV4ParamsViewSecretValueTrue ListSecretsV4ParamsViewSecretValue = "true"
- CompleteAccountSignupV3500JSONResponseBodyStatusCodeN500 CompleteAccountSignupV3500JSONResponseBodyStatusCode = 500
++ CreateSecretApprovalPolicy400JSONResponseBodyStatusCodeN400 CreateSecretApprovalPolicy400JSONResponseBodyStatusCode = 400
)
- // 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 CompleteAccountSignupV3500JSONResponseBodyStatusCode enum.
-func (e CompleteAccountSignupV3500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy400JSONResponseBodyStatusCode enum.
++func (e CreateSecretApprovalPolicy400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case ListSecretsV4ParamsViewSecretValueFalse:
- return true
- case ListSecretsV4ParamsViewSecretValueTrue:
- case CompleteAccountSignupV3500JSONResponseBodyStatusCodeN500:
++ case CreateSecretApprovalPolicy400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for ListSecretsV4ParamsExpandSecretReferences.
-// Defines values for BeginEmailSignupV3400JSONResponseBodyStatusCode.
++// Defines values for CreateSecretApprovalPolicy401JSONResponseBodyStatusCode.
const (
- ListSecretsV4ParamsExpandSecretReferencesFalse ListSecretsV4ParamsExpandSecretReferences = "false"
- ListSecretsV4ParamsExpandSecretReferencesTrue ListSecretsV4ParamsExpandSecretReferences = "true"
- BeginEmailSignupV3400JSONResponseBodyStatusCodeN400 BeginEmailSignupV3400JSONResponseBodyStatusCode = 400
++ CreateSecretApprovalPolicy401JSONResponseBodyStatusCodeN401 CreateSecretApprovalPolicy401JSONResponseBodyStatusCode = 401
)
- // 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 BeginEmailSignupV3400JSONResponseBodyStatusCode enum.
-func (e BeginEmailSignupV3400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy401JSONResponseBodyStatusCode enum.
++func (e CreateSecretApprovalPolicy401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case ListSecretsV4ParamsExpandSecretReferencesFalse:
- return true
- case ListSecretsV4ParamsExpandSecretReferencesTrue:
- case BeginEmailSignupV3400JSONResponseBodyStatusCodeN400:
++ case CreateSecretApprovalPolicy401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for ListSecretsV4ParamsRecursive.
-// Defines values for BeginEmailSignupV3401JSONResponseBodyStatusCode.
++// Defines values for CreateSecretApprovalPolicy403JSONResponseBodyStatusCode.
const (
- ListSecretsV4ParamsRecursiveFalse ListSecretsV4ParamsRecursive = "false"
- ListSecretsV4ParamsRecursiveTrue ListSecretsV4ParamsRecursive = "true"
- BeginEmailSignupV3401JSONResponseBodyStatusCodeN401 BeginEmailSignupV3401JSONResponseBodyStatusCode = 401
++ CreateSecretApprovalPolicy403JSONResponseBodyStatusCodeN403 CreateSecretApprovalPolicy403JSONResponseBodyStatusCode = 403
)
- // 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 BeginEmailSignupV3401JSONResponseBodyStatusCode enum.
-func (e BeginEmailSignupV3401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy403JSONResponseBodyStatusCode enum.
++func (e CreateSecretApprovalPolicy403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case ListSecretsV4ParamsRecursiveFalse:
- return true
- case ListSecretsV4ParamsRecursiveTrue:
- case BeginEmailSignupV3401JSONResponseBodyStatusCodeN401:
++ case CreateSecretApprovalPolicy403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for ListSecretsV4ParamsIncludePersonalOverrides.
-// Defines values for BeginEmailSignupV3403JSONResponseBodyStatusCode.
++// Defines values for CreateSecretApprovalPolicy404JSONResponseBodyStatusCode.
const (
- ListSecretsV4ParamsIncludePersonalOverridesFalse ListSecretsV4ParamsIncludePersonalOverrides = "false"
- ListSecretsV4ParamsIncludePersonalOverridesTrue ListSecretsV4ParamsIncludePersonalOverrides = "true"
- BeginEmailSignupV3403JSONResponseBodyStatusCodeN403 BeginEmailSignupV3403JSONResponseBodyStatusCode = 403
++ CreateSecretApprovalPolicy404JSONResponseBodyStatusCodeN404 CreateSecretApprovalPolicy404JSONResponseBodyStatusCode = 404
)
- // 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 BeginEmailSignupV3403JSONResponseBodyStatusCode enum.
-func (e BeginEmailSignupV3403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy404JSONResponseBodyStatusCode enum.
++func (e CreateSecretApprovalPolicy404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case ListSecretsV4ParamsIncludePersonalOverridesFalse:
- return true
- case ListSecretsV4ParamsIncludePersonalOverridesTrue:
- case BeginEmailSignupV3403JSONResponseBodyStatusCodeN403:
++ case CreateSecretApprovalPolicy404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for ListSecretsV4ParamsIncludeImports.
-// Defines values for BeginEmailSignupV3404JSONResponseBodyStatusCode.
++// Defines values for CreateSecretApprovalPolicy422JSONResponseBodyStatusCode.
const (
- ListSecretsV4ParamsIncludeImportsFalse ListSecretsV4ParamsIncludeImports = "false"
- ListSecretsV4ParamsIncludeImportsTrue ListSecretsV4ParamsIncludeImports = "true"
- BeginEmailSignupV3404JSONResponseBodyStatusCodeN404 BeginEmailSignupV3404JSONResponseBodyStatusCode = 404
++ CreateSecretApprovalPolicy422JSONResponseBodyStatusCodeN422 CreateSecretApprovalPolicy422JSONResponseBodyStatusCode = 422
)
- // 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 BeginEmailSignupV3404JSONResponseBodyStatusCode enum.
-func (e BeginEmailSignupV3404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSecretApprovalPolicy422JSONResponseBodyStatusCode enum.
++func (e CreateSecretApprovalPolicy422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case ListSecretsV4ParamsIncludeImportsFalse:
- return true
- case ListSecretsV4ParamsIncludeImportsTrue:
- case BeginEmailSignupV3404JSONResponseBodyStatusCodeN404:
++ case CreateSecretApprovalPolicy422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for ListSecretsV4400JSONResponseBodyStatusCode.
-// Defines values for BeginEmailSignupV3422JSONResponseBodyStatusCode.
++// Defines values for CreateSecretApprovalPolicy500JSONResponseBodyStatusCode.
const (
- ListSecretsV4400JSONResponseBodyStatusCodeN400 ListSecretsV4400JSONResponseBodyStatusCode = 400
- BeginEmailSignupV3422JSONResponseBodyStatusCodeN422 BeginEmailSignupV3422JSONResponseBodyStatusCode = 422
++ CreateSecretApprovalPolicy500JSONResponseBodyStatusCodeN500 CreateSecretApprovalPolicy500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the ListSecretsV4400JSONResponseBodyStatusCode enum.
- func (e ListSecretsV4400JSONResponseBodyStatusCode) Valid() bool {
- switch e {
- case ListSecretsV4400JSONResponseBodyStatusCodeN400:
-// 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 CreateSecretApprovalPolicy500JSONResponseBodyStatusCode enum.
++func (e CreateSecretApprovalPolicy500JSONResponseBodyStatusCode) Valid() bool {
+ switch e {
- case BeginEmailSignupV3422JSONResponseBodyStatusCodeN422:
++ case CreateSecretApprovalPolicy500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for ListSecretsV4401JSONResponseBodyStatusCode.
-// Defines values for BeginEmailSignupV3500JSONResponseBodyStatusCode.
++// Defines values for GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCode.
const (
- ListSecretsV4401JSONResponseBodyStatusCodeN401 ListSecretsV4401JSONResponseBodyStatusCode = 401
- BeginEmailSignupV3500JSONResponseBodyStatusCodeN500 BeginEmailSignupV3500JSONResponseBodyStatusCode = 500
++ GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCodeN400 GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCode = 400
)
- // 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 BeginEmailSignupV3500JSONResponseBodyStatusCode enum.
-func (e BeginEmailSignupV3500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case ListSecretsV4401JSONResponseBodyStatusCodeN401:
- case BeginEmailSignupV3500JSONResponseBodyStatusCodeN500:
++ case GetSecretApprovalPolicyBoard400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for ListSecretsV4403JSONResponseBodyStatusCode.
-// Defines values for VerifyEmailSignupV3400JSONResponseBodyStatusCode.
++// Defines values for GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCode.
const (
- ListSecretsV4403JSONResponseBodyStatusCodeN403 ListSecretsV4403JSONResponseBodyStatusCode = 403
- VerifyEmailSignupV3400JSONResponseBodyStatusCodeN400 VerifyEmailSignupV3400JSONResponseBodyStatusCode = 400
++ GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCodeN401 GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCode = 401
)
- // 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 VerifyEmailSignupV3400JSONResponseBodyStatusCode enum.
-func (e VerifyEmailSignupV3400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case ListSecretsV4403JSONResponseBodyStatusCodeN403:
- case VerifyEmailSignupV3400JSONResponseBodyStatusCodeN400:
++ case GetSecretApprovalPolicyBoard401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for ListSecretsV4404JSONResponseBodyStatusCode.
-// Defines values for VerifyEmailSignupV3401JSONResponseBodyStatusCode.
++// Defines values for GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCode.
const (
- ListSecretsV4404JSONResponseBodyStatusCodeN404 ListSecretsV4404JSONResponseBodyStatusCode = 404
- VerifyEmailSignupV3401JSONResponseBodyStatusCodeN401 VerifyEmailSignupV3401JSONResponseBodyStatusCode = 401
++ GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCodeN403 GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCode = 403
)
- // 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 VerifyEmailSignupV3401JSONResponseBodyStatusCode enum.
-func (e VerifyEmailSignupV3401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case ListSecretsV4404JSONResponseBodyStatusCodeN404:
- case VerifyEmailSignupV3401JSONResponseBodyStatusCodeN401:
++ case GetSecretApprovalPolicyBoard403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for ListSecretsV4422JSONResponseBodyStatusCode.
-// Defines values for VerifyEmailSignupV3403JSONResponseBodyStatusCode.
++// Defines values for GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCode.
const (
- ListSecretsV4422JSONResponseBodyStatusCodeN422 ListSecretsV4422JSONResponseBodyStatusCode = 422
- VerifyEmailSignupV3403JSONResponseBodyStatusCodeN403 VerifyEmailSignupV3403JSONResponseBodyStatusCode = 403
++ GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCodeN404 GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCode = 404
)
- // 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 VerifyEmailSignupV3403JSONResponseBodyStatusCode enum.
-func (e VerifyEmailSignupV3403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case ListSecretsV4422JSONResponseBodyStatusCodeN422:
- case VerifyEmailSignupV3403JSONResponseBodyStatusCodeN403:
++ case GetSecretApprovalPolicyBoard404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for ListSecretsV4500JSONResponseBodyStatusCode.
-// Defines values for VerifyEmailSignupV3404JSONResponseBodyStatusCode.
++// Defines values for GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCode.
const (
- ListSecretsV4500JSONResponseBodyStatusCodeN500 ListSecretsV4500JSONResponseBodyStatusCode = 500
- VerifyEmailSignupV3404JSONResponseBodyStatusCodeN404 VerifyEmailSignupV3404JSONResponseBodyStatusCode = 404
++ GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCodeN422 GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCode = 422
)
- // 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 VerifyEmailSignupV3404JSONResponseBodyStatusCode enum.
-func (e VerifyEmailSignupV3404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case ListSecretsV4500JSONResponseBodyStatusCodeN500:
- case VerifyEmailSignupV3404JSONResponseBodyStatusCodeN404:
++ case GetSecretApprovalPolicyBoard422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for DeleteManySecretsV4JSONBodySecretsType.
-// Defines values for VerifyEmailSignupV3422JSONResponseBodyStatusCode.
++// Defines values for GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCode.
const (
- DeleteManySecretsV4JSONBodySecretsTypePersonal DeleteManySecretsV4JSONBodySecretsType = "personal"
- DeleteManySecretsV4JSONBodySecretsTypeShared DeleteManySecretsV4JSONBodySecretsType = "shared"
- VerifyEmailSignupV3422JSONResponseBodyStatusCodeN422 VerifyEmailSignupV3422JSONResponseBodyStatusCode = 422
++ GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCodeN500 GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the DeleteManySecretsV4JSONBodySecretsType enum.
- func (e DeleteManySecretsV4JSONBodySecretsType) Valid() bool {
-// 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 GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteManySecretsV4JSONBodySecretsTypePersonal:
- return true
- case DeleteManySecretsV4JSONBodySecretsTypeShared:
- case VerifyEmailSignupV3422JSONResponseBodyStatusCodeN422:
++ case GetSecretApprovalPolicyBoard500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for DeleteManySecretsV4400JSONResponseBodyStatusCode.
-// Defines values for VerifyEmailSignupV3500JSONResponseBodyStatusCode.
++// Defines values for DeleteSecretApprovalPolicy400JSONResponseBodyStatusCode.
const (
- DeleteManySecretsV4400JSONResponseBodyStatusCodeN400 DeleteManySecretsV4400JSONResponseBodyStatusCode = 400
- VerifyEmailSignupV3500JSONResponseBodyStatusCodeN500 VerifyEmailSignupV3500JSONResponseBodyStatusCode = 500
++ DeleteSecretApprovalPolicy400JSONResponseBodyStatusCodeN400 DeleteSecretApprovalPolicy400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the DeleteManySecretsV4400JSONResponseBodyStatusCode enum.
- func (e DeleteManySecretsV4400JSONResponseBodyStatusCode) Valid() bool {
-// 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 DeleteSecretApprovalPolicy400JSONResponseBodyStatusCode enum.
++func (e DeleteSecretApprovalPolicy400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteManySecretsV4400JSONResponseBodyStatusCodeN400:
- case VerifyEmailSignupV3500JSONResponseBodyStatusCodeN500:
++ case DeleteSecretApprovalPolicy400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for DeleteManySecretsV4401JSONResponseBodyStatusCode.
-// Defines values for ListSecretsV4ParamsViewSecretValue.
++// Defines values for DeleteSecretApprovalPolicy401JSONResponseBodyStatusCode.
const (
- DeleteManySecretsV4401JSONResponseBodyStatusCodeN401 DeleteManySecretsV4401JSONResponseBodyStatusCode = 401
- ListSecretsV4ParamsViewSecretValueFalse ListSecretsV4ParamsViewSecretValue = "false"
- ListSecretsV4ParamsViewSecretValueTrue ListSecretsV4ParamsViewSecretValue = "true"
++ DeleteSecretApprovalPolicy401JSONResponseBodyStatusCodeN401 DeleteSecretApprovalPolicy401JSONResponseBodyStatusCode = 401
)
- // Valid indicates whether the value is a known member of the DeleteManySecretsV4401JSONResponseBodyStatusCode enum.
- func (e DeleteManySecretsV4401JSONResponseBodyStatusCode) Valid() bool {
-// 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 DeleteSecretApprovalPolicy401JSONResponseBodyStatusCode enum.
++func (e DeleteSecretApprovalPolicy401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteManySecretsV4401JSONResponseBodyStatusCodeN401:
- case ListSecretsV4ParamsViewSecretValueFalse:
- return true
- case ListSecretsV4ParamsViewSecretValueTrue:
++ case DeleteSecretApprovalPolicy401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for DeleteManySecretsV4403JSONResponseBodyStatusCode.
-// Defines values for ListSecretsV4ParamsExpandSecretReferences.
++// Defines values for DeleteSecretApprovalPolicy403JSONResponseBodyStatusCode.
const (
- DeleteManySecretsV4403JSONResponseBodyStatusCodeN403 DeleteManySecretsV4403JSONResponseBodyStatusCode = 403
- ListSecretsV4ParamsExpandSecretReferencesFalse ListSecretsV4ParamsExpandSecretReferences = "false"
- ListSecretsV4ParamsExpandSecretReferencesTrue ListSecretsV4ParamsExpandSecretReferences = "true"
++ DeleteSecretApprovalPolicy403JSONResponseBodyStatusCodeN403 DeleteSecretApprovalPolicy403JSONResponseBodyStatusCode = 403
)
- // Valid indicates whether the value is a known member of the DeleteManySecretsV4403JSONResponseBodyStatusCode enum.
- func (e DeleteManySecretsV4403JSONResponseBodyStatusCode) Valid() bool {
-// 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 DeleteSecretApprovalPolicy403JSONResponseBodyStatusCode enum.
++func (e DeleteSecretApprovalPolicy403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteManySecretsV4403JSONResponseBodyStatusCodeN403:
- case ListSecretsV4ParamsExpandSecretReferencesFalse:
- return true
- case ListSecretsV4ParamsExpandSecretReferencesTrue:
++ case DeleteSecretApprovalPolicy403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for DeleteManySecretsV4404JSONResponseBodyStatusCode.
-// Defines values for ListSecretsV4ParamsRecursive.
++// Defines values for DeleteSecretApprovalPolicy404JSONResponseBodyStatusCode.
const (
- DeleteManySecretsV4404JSONResponseBodyStatusCodeN404 DeleteManySecretsV4404JSONResponseBodyStatusCode = 404
- ListSecretsV4ParamsRecursiveFalse ListSecretsV4ParamsRecursive = "false"
- ListSecretsV4ParamsRecursiveTrue ListSecretsV4ParamsRecursive = "true"
++ DeleteSecretApprovalPolicy404JSONResponseBodyStatusCodeN404 DeleteSecretApprovalPolicy404JSONResponseBodyStatusCode = 404
)
- // Valid indicates whether the value is a known member of the DeleteManySecretsV4404JSONResponseBodyStatusCode enum.
- func (e DeleteManySecretsV4404JSONResponseBodyStatusCode) Valid() bool {
-// 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 DeleteSecretApprovalPolicy404JSONResponseBodyStatusCode enum.
++func (e DeleteSecretApprovalPolicy404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteManySecretsV4404JSONResponseBodyStatusCodeN404:
- case ListSecretsV4ParamsRecursiveFalse:
- return true
- case ListSecretsV4ParamsRecursiveTrue:
++ case DeleteSecretApprovalPolicy404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for DeleteManySecretsV4422JSONResponseBodyStatusCode.
-// Defines values for ListSecretsV4ParamsIncludePersonalOverrides.
++// Defines values for DeleteSecretApprovalPolicy422JSONResponseBodyStatusCode.
const (
- DeleteManySecretsV4422JSONResponseBodyStatusCodeN422 DeleteManySecretsV4422JSONResponseBodyStatusCode = 422
- ListSecretsV4ParamsIncludePersonalOverridesFalse ListSecretsV4ParamsIncludePersonalOverrides = "false"
- ListSecretsV4ParamsIncludePersonalOverridesTrue ListSecretsV4ParamsIncludePersonalOverrides = "true"
++ DeleteSecretApprovalPolicy422JSONResponseBodyStatusCodeN422 DeleteSecretApprovalPolicy422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the DeleteManySecretsV4422JSONResponseBodyStatusCode enum.
- func (e DeleteManySecretsV4422JSONResponseBodyStatusCode) Valid() bool {
-// 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 DeleteSecretApprovalPolicy422JSONResponseBodyStatusCode enum.
++func (e DeleteSecretApprovalPolicy422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteManySecretsV4422JSONResponseBodyStatusCodeN422:
- case ListSecretsV4ParamsIncludePersonalOverridesFalse:
- return true
- case ListSecretsV4ParamsIncludePersonalOverridesTrue:
++ case DeleteSecretApprovalPolicy422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for DeleteManySecretsV4500JSONResponseBodyStatusCode.
-// Defines values for ListSecretsV4ParamsIncludeImports.
++// Defines values for DeleteSecretApprovalPolicy500JSONResponseBodyStatusCode.
const (
- DeleteManySecretsV4500JSONResponseBodyStatusCodeN500 DeleteManySecretsV4500JSONResponseBodyStatusCode = 500
- ListSecretsV4ParamsIncludeImportsFalse ListSecretsV4ParamsIncludeImports = "false"
- ListSecretsV4ParamsIncludeImportsTrue ListSecretsV4ParamsIncludeImports = "true"
++ DeleteSecretApprovalPolicy500JSONResponseBodyStatusCodeN500 DeleteSecretApprovalPolicy500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the DeleteManySecretsV4500JSONResponseBodyStatusCode enum.
- func (e DeleteManySecretsV4500JSONResponseBodyStatusCode) Valid() bool {
-// 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 DeleteSecretApprovalPolicy500JSONResponseBodyStatusCode enum.
++func (e DeleteSecretApprovalPolicy500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteManySecretsV4500JSONResponseBodyStatusCodeN500:
- case ListSecretsV4ParamsIncludeImportsFalse:
- return true
- case ListSecretsV4ParamsIncludeImportsTrue:
++ case DeleteSecretApprovalPolicy500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for UpdateManySecretsV4JSONBodyMode.
-// Defines values for ListSecretsV4400JSONResponseBodyStatusCode.
++// Defines values for GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType.
const (
- FailOnNotFound UpdateManySecretsV4JSONBodyMode = "failOnNotFound"
- Ignore UpdateManySecretsV4JSONBodyMode = "ignore"
- Upsert UpdateManySecretsV4JSONBodyMode = "upsert"
- ListSecretsV4400JSONResponseBodyStatusCodeN400 ListSecretsV4400JSONResponseBodyStatusCode = 400
++ GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversTypeGroup GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType = "group"
++ GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversTypeUser GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType = "user"
)
- // Valid indicates whether the value is a known member of the UpdateManySecretsV4JSONBodyMode enum.
- func (e UpdateManySecretsV4JSONBodyMode) Valid() bool {
-// 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 GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType enum.
++func (e GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversType) Valid() bool {
switch e {
- case FailOnNotFound:
- return true
- case Ignore:
- case ListSecretsV4400JSONResponseBodyStatusCodeN400:
++ case GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversTypeGroup:
+ return true
- case Upsert:
++ case GetSecretApprovalPolicy200JSONResponseBodyApprovalApproversTypeUser:
return true
default:
return false
}
}
- // Defines values for UpdateManySecretsV4400JSONResponseBodyStatusCode.
-// Defines values for ListSecretsV4401JSONResponseBodyStatusCode.
++// Defines values for GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType.
const (
- UpdateManySecretsV4400JSONResponseBodyStatusCodeN400 UpdateManySecretsV4400JSONResponseBodyStatusCode = 400
- ListSecretsV4401JSONResponseBodyStatusCodeN401 ListSecretsV4401JSONResponseBodyStatusCode = 401
++ GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersTypeGroup GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType = "group"
++ GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersTypeUser GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType = "user"
)
- // Valid indicates whether the value is a known member of the UpdateManySecretsV4400JSONResponseBodyStatusCode enum.
- func (e UpdateManySecretsV4400JSONResponseBodyStatusCode) Valid() bool {
-// 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 GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType enum.
++func (e GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersType) Valid() bool {
switch e {
- case UpdateManySecretsV4400JSONResponseBodyStatusCodeN400:
- case ListSecretsV4401JSONResponseBodyStatusCodeN401:
++ case GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersTypeGroup:
++ return true
++ case GetSecretApprovalPolicy200JSONResponseBodyApprovalBypassersTypeUser:
return true
default:
return false
}
}
- // Defines values for UpdateManySecretsV4401JSONResponseBodyStatusCode.
-// Defines values for ListSecretsV4403JSONResponseBodyStatusCode.
++// Defines values for GetSecretApprovalPolicy400JSONResponseBodyStatusCode.
const (
- UpdateManySecretsV4401JSONResponseBodyStatusCodeN401 UpdateManySecretsV4401JSONResponseBodyStatusCode = 401
- ListSecretsV4403JSONResponseBodyStatusCodeN403 ListSecretsV4403JSONResponseBodyStatusCode = 403
++ GetSecretApprovalPolicy400JSONResponseBodyStatusCodeN400 GetSecretApprovalPolicy400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the UpdateManySecretsV4401JSONResponseBodyStatusCode enum.
- func (e UpdateManySecretsV4401JSONResponseBodyStatusCode) Valid() bool {
-// 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 GetSecretApprovalPolicy400JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalPolicy400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateManySecretsV4401JSONResponseBodyStatusCodeN401:
- case ListSecretsV4403JSONResponseBodyStatusCodeN403:
++ case GetSecretApprovalPolicy400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for UpdateManySecretsV4403JSONResponseBodyStatusCode.
-// Defines values for ListSecretsV4404JSONResponseBodyStatusCode.
++// Defines values for GetSecretApprovalPolicy401JSONResponseBodyStatusCode.
const (
- UpdateManySecretsV4403JSONResponseBodyStatusCodeN403 UpdateManySecretsV4403JSONResponseBodyStatusCode = 403
- ListSecretsV4404JSONResponseBodyStatusCodeN404 ListSecretsV4404JSONResponseBodyStatusCode = 404
++ GetSecretApprovalPolicy401JSONResponseBodyStatusCodeN401 GetSecretApprovalPolicy401JSONResponseBodyStatusCode = 401
)
- // Valid indicates whether the value is a known member of the UpdateManySecretsV4403JSONResponseBodyStatusCode enum.
- func (e UpdateManySecretsV4403JSONResponseBodyStatusCode) Valid() bool {
-// 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 GetSecretApprovalPolicy401JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalPolicy401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateManySecretsV4403JSONResponseBodyStatusCodeN403:
- case ListSecretsV4404JSONResponseBodyStatusCodeN404:
++ case GetSecretApprovalPolicy401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for UpdateManySecretsV4404JSONResponseBodyStatusCode.
-// Defines values for ListSecretsV4422JSONResponseBodyStatusCode.
++// Defines values for GetSecretApprovalPolicy403JSONResponseBodyStatusCode.
const (
- UpdateManySecretsV4404JSONResponseBodyStatusCodeN404 UpdateManySecretsV4404JSONResponseBodyStatusCode = 404
- ListSecretsV4422JSONResponseBodyStatusCodeN422 ListSecretsV4422JSONResponseBodyStatusCode = 422
++ GetSecretApprovalPolicy403JSONResponseBodyStatusCodeN403 GetSecretApprovalPolicy403JSONResponseBodyStatusCode = 403
)
- // Valid indicates whether the value is a known member of the UpdateManySecretsV4404JSONResponseBodyStatusCode enum.
- func (e UpdateManySecretsV4404JSONResponseBodyStatusCode) Valid() bool {
-// 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 GetSecretApprovalPolicy403JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalPolicy403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateManySecretsV4404JSONResponseBodyStatusCodeN404:
- case ListSecretsV4422JSONResponseBodyStatusCodeN422:
++ case GetSecretApprovalPolicy403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for UpdateManySecretsV4422JSONResponseBodyStatusCode.
-// Defines values for ListSecretsV4500JSONResponseBodyStatusCode.
++// Defines values for GetSecretApprovalPolicy404JSONResponseBodyStatusCode.
const (
- UpdateManySecretsV4422JSONResponseBodyStatusCodeN422 UpdateManySecretsV4422JSONResponseBodyStatusCode = 422
- ListSecretsV4500JSONResponseBodyStatusCodeN500 ListSecretsV4500JSONResponseBodyStatusCode = 500
++ GetSecretApprovalPolicy404JSONResponseBodyStatusCodeN404 GetSecretApprovalPolicy404JSONResponseBodyStatusCode = 404
)
- // Valid indicates whether the value is a known member of the UpdateManySecretsV4422JSONResponseBodyStatusCode enum.
- func (e UpdateManySecretsV4422JSONResponseBodyStatusCode) Valid() bool {
-// 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 GetSecretApprovalPolicy404JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalPolicy404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateManySecretsV4422JSONResponseBodyStatusCodeN422:
- case ListSecretsV4500JSONResponseBodyStatusCodeN500:
++ case GetSecretApprovalPolicy404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for UpdateManySecretsV4500JSONResponseBodyStatusCode.
-// Defines values for DeleteManySecretsV4JSONBodySecretsType.
++// Defines values for GetSecretApprovalPolicy422JSONResponseBodyStatusCode.
const (
- UpdateManySecretsV4500JSONResponseBodyStatusCodeN500 UpdateManySecretsV4500JSONResponseBodyStatusCode = 500
- DeleteManySecretsV4JSONBodySecretsTypePersonal DeleteManySecretsV4JSONBodySecretsType = "personal"
- DeleteManySecretsV4JSONBodySecretsTypeShared DeleteManySecretsV4JSONBodySecretsType = "shared"
++ GetSecretApprovalPolicy422JSONResponseBodyStatusCodeN422 GetSecretApprovalPolicy422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the UpdateManySecretsV4500JSONResponseBodyStatusCode enum.
- func (e UpdateManySecretsV4500JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the DeleteManySecretsV4JSONBodySecretsType enum.
-func (e DeleteManySecretsV4JSONBodySecretsType) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSecretApprovalPolicy422JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalPolicy422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateManySecretsV4500JSONResponseBodyStatusCodeN500:
- case DeleteManySecretsV4JSONBodySecretsTypePersonal:
- return true
- case DeleteManySecretsV4JSONBodySecretsTypeShared:
++ case GetSecretApprovalPolicy422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for CreateManySecretsV4400JSONResponseBodyStatusCode.
-// Defines values for DeleteManySecretsV4400JSONResponseBodyStatusCode.
++// Defines values for GetSecretApprovalPolicy500JSONResponseBodyStatusCode.
const (
- CreateManySecretsV4400JSONResponseBodyStatusCodeN400 CreateManySecretsV4400JSONResponseBodyStatusCode = 400
- DeleteManySecretsV4400JSONResponseBodyStatusCodeN400 DeleteManySecretsV4400JSONResponseBodyStatusCode = 400
++ GetSecretApprovalPolicy500JSONResponseBodyStatusCodeN500 GetSecretApprovalPolicy500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the CreateManySecretsV4400JSONResponseBodyStatusCode enum.
- func (e CreateManySecretsV4400JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the DeleteManySecretsV4400JSONResponseBodyStatusCode enum.
-func (e DeleteManySecretsV4400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetSecretApprovalPolicy500JSONResponseBodyStatusCode enum.
++func (e GetSecretApprovalPolicy500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateManySecretsV4400JSONResponseBodyStatusCodeN400:
- case DeleteManySecretsV4400JSONResponseBodyStatusCodeN400:
++ case GetSecretApprovalPolicy500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for CreateManySecretsV4401JSONResponseBodyStatusCode.
-// Defines values for DeleteManySecretsV4401JSONResponseBodyStatusCode.
++// Defines values for UpdateSecretApprovalPolicyJSONBodyApprovers0Type.
const (
- CreateManySecretsV4401JSONResponseBodyStatusCodeN401 CreateManySecretsV4401JSONResponseBodyStatusCode = 401
- DeleteManySecretsV4401JSONResponseBodyStatusCodeN401 DeleteManySecretsV4401JSONResponseBodyStatusCode = 401
++ UpdateSecretApprovalPolicyJSONBodyApprovers0TypeGroup UpdateSecretApprovalPolicyJSONBodyApprovers0Type = "group"
)
- // Valid indicates whether the value is a known member of the CreateManySecretsV4401JSONResponseBodyStatusCode enum.
- func (e CreateManySecretsV4401JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the DeleteManySecretsV4401JSONResponseBodyStatusCode enum.
-func (e DeleteManySecretsV4401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicyJSONBodyApprovers0Type enum.
++func (e UpdateSecretApprovalPolicyJSONBodyApprovers0Type) Valid() bool {
switch e {
- case CreateManySecretsV4401JSONResponseBodyStatusCodeN401:
- case DeleteManySecretsV4401JSONResponseBodyStatusCodeN401:
++ case UpdateSecretApprovalPolicyJSONBodyApprovers0TypeGroup:
return true
default:
return false
}
}
- // Defines values for CreateManySecretsV4403JSONResponseBodyStatusCode.
-// Defines values for DeleteManySecretsV4403JSONResponseBodyStatusCode.
++// Defines values for UpdateSecretApprovalPolicyJSONBodyApprovers1Type.
const (
- CreateManySecretsV4403JSONResponseBodyStatusCodeN403 CreateManySecretsV4403JSONResponseBodyStatusCode = 403
- DeleteManySecretsV4403JSONResponseBodyStatusCodeN403 DeleteManySecretsV4403JSONResponseBodyStatusCode = 403
++ UpdateSecretApprovalPolicyJSONBodyApprovers1TypeUser UpdateSecretApprovalPolicyJSONBodyApprovers1Type = "user"
)
- // Valid indicates whether the value is a known member of the CreateManySecretsV4403JSONResponseBodyStatusCode enum.
- func (e CreateManySecretsV4403JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the DeleteManySecretsV4403JSONResponseBodyStatusCode enum.
-func (e DeleteManySecretsV4403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicyJSONBodyApprovers1Type enum.
++func (e UpdateSecretApprovalPolicyJSONBodyApprovers1Type) Valid() bool {
switch e {
- case CreateManySecretsV4403JSONResponseBodyStatusCodeN403:
- case DeleteManySecretsV4403JSONResponseBodyStatusCodeN403:
++ case UpdateSecretApprovalPolicyJSONBodyApprovers1TypeUser:
return true
default:
return false
}
}
- // Defines values for CreateManySecretsV4404JSONResponseBodyStatusCode.
-// Defines values for DeleteManySecretsV4404JSONResponseBodyStatusCode.
++// Defines values for UpdateSecretApprovalPolicyJSONBodyBypassers0Type.
const (
- CreateManySecretsV4404JSONResponseBodyStatusCodeN404 CreateManySecretsV4404JSONResponseBodyStatusCode = 404
- DeleteManySecretsV4404JSONResponseBodyStatusCodeN404 DeleteManySecretsV4404JSONResponseBodyStatusCode = 404
++ UpdateSecretApprovalPolicyJSONBodyBypassers0TypeGroup UpdateSecretApprovalPolicyJSONBodyBypassers0Type = "group"
)
- // Valid indicates whether the value is a known member of the CreateManySecretsV4404JSONResponseBodyStatusCode enum.
- func (e CreateManySecretsV4404JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the DeleteManySecretsV4404JSONResponseBodyStatusCode enum.
-func (e DeleteManySecretsV4404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicyJSONBodyBypassers0Type enum.
++func (e UpdateSecretApprovalPolicyJSONBodyBypassers0Type) Valid() bool {
switch e {
- case CreateManySecretsV4404JSONResponseBodyStatusCodeN404:
- case DeleteManySecretsV4404JSONResponseBodyStatusCodeN404:
++ case UpdateSecretApprovalPolicyJSONBodyBypassers0TypeGroup:
return true
default:
return false
}
}
- // Defines values for CreateManySecretsV4422JSONResponseBodyStatusCode.
-// Defines values for DeleteManySecretsV4422JSONResponseBodyStatusCode.
++// Defines values for UpdateSecretApprovalPolicyJSONBodyBypassers1Type.
const (
- CreateManySecretsV4422JSONResponseBodyStatusCodeN422 CreateManySecretsV4422JSONResponseBodyStatusCode = 422
- DeleteManySecretsV4422JSONResponseBodyStatusCodeN422 DeleteManySecretsV4422JSONResponseBodyStatusCode = 422
++ UpdateSecretApprovalPolicyJSONBodyBypassers1TypeUser UpdateSecretApprovalPolicyJSONBodyBypassers1Type = "user"
)
- // Valid indicates whether the value is a known member of the CreateManySecretsV4422JSONResponseBodyStatusCode enum.
- func (e CreateManySecretsV4422JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the DeleteManySecretsV4422JSONResponseBodyStatusCode enum.
-func (e DeleteManySecretsV4422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicyJSONBodyBypassers1Type enum.
++func (e UpdateSecretApprovalPolicyJSONBodyBypassers1Type) Valid() bool {
switch e {
- case CreateManySecretsV4422JSONResponseBodyStatusCodeN422:
- case DeleteManySecretsV4422JSONResponseBodyStatusCodeN422:
++ case UpdateSecretApprovalPolicyJSONBodyBypassers1TypeUser:
return true
default:
return false
}
}
- // Defines values for CreateManySecretsV4500JSONResponseBodyStatusCode.
-// Defines values for DeleteManySecretsV4500JSONResponseBodyStatusCode.
++// Defines values for UpdateSecretApprovalPolicyJSONBodyEnforcementLevel.
const (
- CreateManySecretsV4500JSONResponseBodyStatusCodeN500 CreateManySecretsV4500JSONResponseBodyStatusCode = 500
- DeleteManySecretsV4500JSONResponseBodyStatusCodeN500 DeleteManySecretsV4500JSONResponseBodyStatusCode = 500
++ UpdateSecretApprovalPolicyJSONBodyEnforcementLevelHard UpdateSecretApprovalPolicyJSONBodyEnforcementLevel = "hard"
++ UpdateSecretApprovalPolicyJSONBodyEnforcementLevelSoft UpdateSecretApprovalPolicyJSONBodyEnforcementLevel = "soft"
)
- // Valid indicates whether the value is a known member of the CreateManySecretsV4500JSONResponseBodyStatusCode enum.
- func (e CreateManySecretsV4500JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the DeleteManySecretsV4500JSONResponseBodyStatusCode enum.
-func (e DeleteManySecretsV4500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicyJSONBodyEnforcementLevel enum.
++func (e UpdateSecretApprovalPolicyJSONBodyEnforcementLevel) Valid() bool {
switch e {
- case CreateManySecretsV4500JSONResponseBodyStatusCodeN500:
- case DeleteManySecretsV4500JSONResponseBodyStatusCodeN500:
++ case UpdateSecretApprovalPolicyJSONBodyEnforcementLevelHard:
++ return true
++ case UpdateSecretApprovalPolicyJSONBodyEnforcementLevelSoft:
return true
default:
return false
}
}
- // Defines values for DuplicateSecretV4400JSONResponseBodyStatusCode.
-// Defines values for UpdateManySecretsV4JSONBodyMode.
++// Defines values for UpdateSecretApprovalPolicy400JSONResponseBodyStatusCode.
const (
- DuplicateSecretV4400JSONResponseBodyStatusCodeN400 DuplicateSecretV4400JSONResponseBodyStatusCode = 400
- FailOnNotFound UpdateManySecretsV4JSONBodyMode = "failOnNotFound"
- Ignore UpdateManySecretsV4JSONBodyMode = "ignore"
- Upsert UpdateManySecretsV4JSONBodyMode = "upsert"
++ UpdateSecretApprovalPolicy400JSONResponseBodyStatusCodeN400 UpdateSecretApprovalPolicy400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the DuplicateSecretV4400JSONResponseBodyStatusCode enum.
- func (e DuplicateSecretV4400JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateManySecretsV4JSONBodyMode enum.
-func (e UpdateManySecretsV4JSONBodyMode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy400JSONResponseBodyStatusCode enum.
++func (e UpdateSecretApprovalPolicy400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DuplicateSecretV4400JSONResponseBodyStatusCodeN400:
- case FailOnNotFound:
- return true
- case Ignore:
- return true
- case Upsert:
++ case UpdateSecretApprovalPolicy400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for DuplicateSecretV4401JSONResponseBodyStatusCode.
-// Defines values for UpdateManySecretsV4400JSONResponseBodyStatusCode.
++// Defines values for UpdateSecretApprovalPolicy401JSONResponseBodyStatusCode.
const (
- DuplicateSecretV4401JSONResponseBodyStatusCodeN401 DuplicateSecretV4401JSONResponseBodyStatusCode = 401
- UpdateManySecretsV4400JSONResponseBodyStatusCodeN400 UpdateManySecretsV4400JSONResponseBodyStatusCode = 400
++ UpdateSecretApprovalPolicy401JSONResponseBodyStatusCodeN401 UpdateSecretApprovalPolicy401JSONResponseBodyStatusCode = 401
)
- // Valid indicates whether the value is a known member of the DuplicateSecretV4401JSONResponseBodyStatusCode enum.
- func (e DuplicateSecretV4401JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateManySecretsV4400JSONResponseBodyStatusCode enum.
-func (e UpdateManySecretsV4400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy401JSONResponseBodyStatusCode enum.
++func (e UpdateSecretApprovalPolicy401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DuplicateSecretV4401JSONResponseBodyStatusCodeN401:
- case UpdateManySecretsV4400JSONResponseBodyStatusCodeN400:
++ case UpdateSecretApprovalPolicy401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for DuplicateSecretV4403JSONResponseBodyStatusCode.
-// Defines values for UpdateManySecretsV4401JSONResponseBodyStatusCode.
++// Defines values for UpdateSecretApprovalPolicy403JSONResponseBodyStatusCode.
const (
- DuplicateSecretV4403JSONResponseBodyStatusCodeN403 DuplicateSecretV4403JSONResponseBodyStatusCode = 403
- UpdateManySecretsV4401JSONResponseBodyStatusCodeN401 UpdateManySecretsV4401JSONResponseBodyStatusCode = 401
++ UpdateSecretApprovalPolicy403JSONResponseBodyStatusCodeN403 UpdateSecretApprovalPolicy403JSONResponseBodyStatusCode = 403
)
- // Valid indicates whether the value is a known member of the DuplicateSecretV4403JSONResponseBodyStatusCode enum.
- func (e DuplicateSecretV4403JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateManySecretsV4401JSONResponseBodyStatusCode enum.
-func (e UpdateManySecretsV4401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy403JSONResponseBodyStatusCode enum.
++func (e UpdateSecretApprovalPolicy403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DuplicateSecretV4403JSONResponseBodyStatusCodeN403:
- case UpdateManySecretsV4401JSONResponseBodyStatusCodeN401:
++ case UpdateSecretApprovalPolicy403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for DuplicateSecretV4404JSONResponseBodyStatusCode.
-// Defines values for UpdateManySecretsV4403JSONResponseBodyStatusCode.
++// Defines values for UpdateSecretApprovalPolicy404JSONResponseBodyStatusCode.
const (
- DuplicateSecretV4404JSONResponseBodyStatusCodeN404 DuplicateSecretV4404JSONResponseBodyStatusCode = 404
- UpdateManySecretsV4403JSONResponseBodyStatusCodeN403 UpdateManySecretsV4403JSONResponseBodyStatusCode = 403
++ UpdateSecretApprovalPolicy404JSONResponseBodyStatusCodeN404 UpdateSecretApprovalPolicy404JSONResponseBodyStatusCode = 404
)
- // Valid indicates whether the value is a known member of the DuplicateSecretV4404JSONResponseBodyStatusCode enum.
- func (e DuplicateSecretV4404JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateManySecretsV4403JSONResponseBodyStatusCode enum.
-func (e UpdateManySecretsV4403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy404JSONResponseBodyStatusCode enum.
++func (e UpdateSecretApprovalPolicy404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DuplicateSecretV4404JSONResponseBodyStatusCodeN404:
- case UpdateManySecretsV4403JSONResponseBodyStatusCodeN403:
++ case UpdateSecretApprovalPolicy404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for DuplicateSecretV4422JSONResponseBodyStatusCode.
-// Defines values for UpdateManySecretsV4404JSONResponseBodyStatusCode.
++// Defines values for UpdateSecretApprovalPolicy422JSONResponseBodyStatusCode.
const (
- DuplicateSecretV4422JSONResponseBodyStatusCodeN422 DuplicateSecretV4422JSONResponseBodyStatusCode = 422
- UpdateManySecretsV4404JSONResponseBodyStatusCodeN404 UpdateManySecretsV4404JSONResponseBodyStatusCode = 404
++ UpdateSecretApprovalPolicy422JSONResponseBodyStatusCodeN422 UpdateSecretApprovalPolicy422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the DuplicateSecretV4422JSONResponseBodyStatusCode enum.
- func (e DuplicateSecretV4422JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateManySecretsV4404JSONResponseBodyStatusCode enum.
-func (e UpdateManySecretsV4404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy422JSONResponseBodyStatusCode enum.
++func (e UpdateSecretApprovalPolicy422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DuplicateSecretV4422JSONResponseBodyStatusCodeN422:
- case UpdateManySecretsV4404JSONResponseBodyStatusCodeN404:
++ case UpdateSecretApprovalPolicy422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for DuplicateSecretV4500JSONResponseBodyStatusCode.
-// Defines values for UpdateManySecretsV4422JSONResponseBodyStatusCode.
++// Defines values for UpdateSecretApprovalPolicy500JSONResponseBodyStatusCode.
const (
- DuplicateSecretV4500JSONResponseBodyStatusCodeN500 DuplicateSecretV4500JSONResponseBodyStatusCode = 500
- UpdateManySecretsV4422JSONResponseBodyStatusCodeN422 UpdateManySecretsV4422JSONResponseBodyStatusCode = 422
++ UpdateSecretApprovalPolicy500JSONResponseBodyStatusCodeN500 UpdateSecretApprovalPolicy500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the DuplicateSecretV4500JSONResponseBodyStatusCode enum.
- func (e DuplicateSecretV4500JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateManySecretsV4422JSONResponseBodyStatusCode enum.
-func (e UpdateManySecretsV4422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the UpdateSecretApprovalPolicy500JSONResponseBodyStatusCode enum.
++func (e UpdateSecretApprovalPolicy500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DuplicateSecretV4500JSONResponseBodyStatusCodeN500:
- case UpdateManySecretsV4422JSONResponseBodyStatusCodeN422:
++ case UpdateSecretApprovalPolicy500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for GetSecretByIdV4400JSONResponseBodyStatusCode.
-// Defines values for UpdateManySecretsV4500JSONResponseBodyStatusCode.
++// Defines values for CreateSecretImport400JSONResponseBodyStatusCode.
const (
- GetSecretByIdV4400JSONResponseBodyStatusCodeN400 GetSecretByIdV4400JSONResponseBodyStatusCode = 400
- UpdateManySecretsV4500JSONResponseBodyStatusCodeN500 UpdateManySecretsV4500JSONResponseBodyStatusCode = 500
++ CreateSecretImport400JSONResponseBodyStatusCodeN400 CreateSecretImport400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the GetSecretByIdV4400JSONResponseBodyStatusCode enum.
- func (e GetSecretByIdV4400JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateManySecretsV4500JSONResponseBodyStatusCode enum.
-func (e UpdateManySecretsV4500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSecretImport400JSONResponseBodyStatusCode enum.
++func (e CreateSecretImport400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretByIdV4400JSONResponseBodyStatusCodeN400:
- case UpdateManySecretsV4500JSONResponseBodyStatusCodeN500:
++ case CreateSecretImport400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for GetSecretByIdV4401JSONResponseBodyStatusCode.
-// Defines values for CreateManySecretsV4400JSONResponseBodyStatusCode.
++// Defines values for CreateSecretImport401JSONResponseBodyStatusCode.
const (
- GetSecretByIdV4401JSONResponseBodyStatusCodeN401 GetSecretByIdV4401JSONResponseBodyStatusCode = 401
- CreateManySecretsV4400JSONResponseBodyStatusCodeN400 CreateManySecretsV4400JSONResponseBodyStatusCode = 400
++ CreateSecretImport401JSONResponseBodyStatusCodeN401 CreateSecretImport401JSONResponseBodyStatusCode = 401
)
- // Valid indicates whether the value is a known member of the GetSecretByIdV4401JSONResponseBodyStatusCode enum.
- func (e GetSecretByIdV4401JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateManySecretsV4400JSONResponseBodyStatusCode enum.
-func (e CreateManySecretsV4400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSecretImport401JSONResponseBodyStatusCode enum.
++func (e CreateSecretImport401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretByIdV4401JSONResponseBodyStatusCodeN401:
- case CreateManySecretsV4400JSONResponseBodyStatusCodeN400:
++ case CreateSecretImport401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for GetSecretByIdV4403JSONResponseBodyStatusCode.
-// Defines values for CreateManySecretsV4401JSONResponseBodyStatusCode.
++// Defines values for CreateSecretImport403JSONResponseBodyStatusCode.
const (
- GetSecretByIdV4403JSONResponseBodyStatusCodeN403 GetSecretByIdV4403JSONResponseBodyStatusCode = 403
- CreateManySecretsV4401JSONResponseBodyStatusCodeN401 CreateManySecretsV4401JSONResponseBodyStatusCode = 401
++ CreateSecretImport403JSONResponseBodyStatusCodeN403 CreateSecretImport403JSONResponseBodyStatusCode = 403
)
- // Valid indicates whether the value is a known member of the GetSecretByIdV4403JSONResponseBodyStatusCode enum.
- func (e GetSecretByIdV4403JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateManySecretsV4401JSONResponseBodyStatusCode enum.
-func (e CreateManySecretsV4401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSecretImport403JSONResponseBodyStatusCode enum.
++func (e CreateSecretImport403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretByIdV4403JSONResponseBodyStatusCodeN403:
- case CreateManySecretsV4401JSONResponseBodyStatusCodeN401:
++ case CreateSecretImport403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for GetSecretByIdV4404JSONResponseBodyStatusCode.
-// Defines values for CreateManySecretsV4403JSONResponseBodyStatusCode.
++// Defines values for CreateSecretImport404JSONResponseBodyStatusCode.
const (
- GetSecretByIdV4404JSONResponseBodyStatusCodeN404 GetSecretByIdV4404JSONResponseBodyStatusCode = 404
- CreateManySecretsV4403JSONResponseBodyStatusCodeN403 CreateManySecretsV4403JSONResponseBodyStatusCode = 403
++ CreateSecretImport404JSONResponseBodyStatusCodeN404 CreateSecretImport404JSONResponseBodyStatusCode = 404
)
- // Valid indicates whether the value is a known member of the GetSecretByIdV4404JSONResponseBodyStatusCode enum.
- func (e GetSecretByIdV4404JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateManySecretsV4403JSONResponseBodyStatusCode enum.
-func (e CreateManySecretsV4403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSecretImport404JSONResponseBodyStatusCode enum.
++func (e CreateSecretImport404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretByIdV4404JSONResponseBodyStatusCodeN404:
- case CreateManySecretsV4403JSONResponseBodyStatusCodeN403:
++ case CreateSecretImport404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for GetSecretByIdV4422JSONResponseBodyStatusCode.
-// Defines values for CreateManySecretsV4404JSONResponseBodyStatusCode.
++// Defines values for CreateSecretImport422JSONResponseBodyStatusCode.
const (
- GetSecretByIdV4422JSONResponseBodyStatusCodeN422 GetSecretByIdV4422JSONResponseBodyStatusCode = 422
- CreateManySecretsV4404JSONResponseBodyStatusCodeN404 CreateManySecretsV4404JSONResponseBodyStatusCode = 404
++ CreateSecretImport422JSONResponseBodyStatusCodeN422 CreateSecretImport422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the GetSecretByIdV4422JSONResponseBodyStatusCode enum.
- func (e GetSecretByIdV4422JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateManySecretsV4404JSONResponseBodyStatusCode enum.
-func (e CreateManySecretsV4404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSecretImport422JSONResponseBodyStatusCode enum.
++func (e CreateSecretImport422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretByIdV4422JSONResponseBodyStatusCodeN422:
- case CreateManySecretsV4404JSONResponseBodyStatusCodeN404:
++ case CreateSecretImport422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for GetSecretByIdV4500JSONResponseBodyStatusCode.
-// Defines values for CreateManySecretsV4422JSONResponseBodyStatusCode.
++// Defines values for CreateSecretImport500JSONResponseBodyStatusCode.
const (
- GetSecretByIdV4500JSONResponseBodyStatusCodeN500 GetSecretByIdV4500JSONResponseBodyStatusCode = 500
- CreateManySecretsV4422JSONResponseBodyStatusCodeN422 CreateManySecretsV4422JSONResponseBodyStatusCode = 422
++ CreateSecretImport500JSONResponseBodyStatusCodeN500 CreateSecretImport500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the GetSecretByIdV4500JSONResponseBodyStatusCode enum.
- func (e GetSecretByIdV4500JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateManySecretsV4422JSONResponseBodyStatusCode enum.
-func (e CreateManySecretsV4422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateSecretImport500JSONResponseBodyStatusCode enum.
++func (e CreateSecretImport500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretByIdV4500JSONResponseBodyStatusCodeN500:
- case CreateManySecretsV4422JSONResponseBodyStatusCodeN422:
++ case CreateSecretImport500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for MoveSecretsV4400JSONResponseBodyStatusCode.
-// Defines values for CreateManySecretsV4500JSONResponseBodyStatusCode.
++// Defines values for GetCurrentUser400JSONResponseBodyStatusCode.
const (
- MoveSecretsV4400JSONResponseBodyStatusCodeN400 MoveSecretsV4400JSONResponseBodyStatusCode = 400
- CreateManySecretsV4500JSONResponseBodyStatusCodeN500 CreateManySecretsV4500JSONResponseBodyStatusCode = 500
++ GetCurrentUser400JSONResponseBodyStatusCodeN400 GetCurrentUser400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the MoveSecretsV4400JSONResponseBodyStatusCode enum.
- func (e MoveSecretsV4400JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the CreateManySecretsV4500JSONResponseBodyStatusCode enum.
-func (e CreateManySecretsV4500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetCurrentUser400JSONResponseBodyStatusCode enum.
++func (e GetCurrentUser400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case MoveSecretsV4400JSONResponseBodyStatusCodeN400:
- case CreateManySecretsV4500JSONResponseBodyStatusCodeN500:
++ case GetCurrentUser400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for MoveSecretsV4401JSONResponseBodyStatusCode.
-// Defines values for DuplicateSecretV4400JSONResponseBodyStatusCode.
++// Defines values for GetCurrentUser401JSONResponseBodyStatusCode.
const (
- MoveSecretsV4401JSONResponseBodyStatusCodeN401 MoveSecretsV4401JSONResponseBodyStatusCode = 401
- DuplicateSecretV4400JSONResponseBodyStatusCodeN400 DuplicateSecretV4400JSONResponseBodyStatusCode = 400
++ GetCurrentUser401JSONResponseBodyStatusCodeN401 GetCurrentUser401JSONResponseBodyStatusCode = 401
)
- // Valid indicates whether the value is a known member of the MoveSecretsV4401JSONResponseBodyStatusCode enum.
- func (e MoveSecretsV4401JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the DuplicateSecretV4400JSONResponseBodyStatusCode enum.
-func (e DuplicateSecretV4400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetCurrentUser401JSONResponseBodyStatusCode enum.
++func (e GetCurrentUser401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case MoveSecretsV4401JSONResponseBodyStatusCodeN401:
- case DuplicateSecretV4400JSONResponseBodyStatusCodeN400:
++ case GetCurrentUser401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for MoveSecretsV4403JSONResponseBodyStatusCode.
-// Defines values for DuplicateSecretV4401JSONResponseBodyStatusCode.
++// Defines values for GetCurrentUser403JSONResponseBodyStatusCode.
const (
- MoveSecretsV4403JSONResponseBodyStatusCodeN403 MoveSecretsV4403JSONResponseBodyStatusCode = 403
- DuplicateSecretV4401JSONResponseBodyStatusCodeN401 DuplicateSecretV4401JSONResponseBodyStatusCode = 401
++ GetCurrentUser403JSONResponseBodyStatusCodeN403 GetCurrentUser403JSONResponseBodyStatusCode = 403
)
- // Valid indicates whether the value is a known member of the MoveSecretsV4403JSONResponseBodyStatusCode enum.
- func (e MoveSecretsV4403JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the DuplicateSecretV4401JSONResponseBodyStatusCode enum.
-func (e DuplicateSecretV4401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetCurrentUser403JSONResponseBodyStatusCode enum.
++func (e GetCurrentUser403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case MoveSecretsV4403JSONResponseBodyStatusCodeN403:
- case DuplicateSecretV4401JSONResponseBodyStatusCodeN401:
++ case GetCurrentUser403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for MoveSecretsV4404JSONResponseBodyStatusCode.
-// Defines values for DuplicateSecretV4403JSONResponseBodyStatusCode.
++// Defines values for GetCurrentUser404JSONResponseBodyStatusCode.
const (
- MoveSecretsV4404JSONResponseBodyStatusCodeN404 MoveSecretsV4404JSONResponseBodyStatusCode = 404
- DuplicateSecretV4403JSONResponseBodyStatusCodeN403 DuplicateSecretV4403JSONResponseBodyStatusCode = 403
++ GetCurrentUser404JSONResponseBodyStatusCodeN404 GetCurrentUser404JSONResponseBodyStatusCode = 404
)
- // Valid indicates whether the value is a known member of the MoveSecretsV4404JSONResponseBodyStatusCode enum.
- func (e MoveSecretsV4404JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the DuplicateSecretV4403JSONResponseBodyStatusCode enum.
-func (e DuplicateSecretV4403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetCurrentUser404JSONResponseBodyStatusCode enum.
++func (e GetCurrentUser404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case MoveSecretsV4404JSONResponseBodyStatusCodeN404:
- case DuplicateSecretV4403JSONResponseBodyStatusCodeN403:
++ case GetCurrentUser404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for MoveSecretsV4422JSONResponseBodyStatusCode.
-// Defines values for DuplicateSecretV4404JSONResponseBodyStatusCode.
++// Defines values for GetCurrentUser422JSONResponseBodyStatusCode.
const (
- MoveSecretsV4422JSONResponseBodyStatusCodeN422 MoveSecretsV4422JSONResponseBodyStatusCode = 422
- DuplicateSecretV4404JSONResponseBodyStatusCodeN404 DuplicateSecretV4404JSONResponseBodyStatusCode = 404
++ GetCurrentUser422JSONResponseBodyStatusCodeN422 GetCurrentUser422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the MoveSecretsV4422JSONResponseBodyStatusCode enum.
- func (e MoveSecretsV4422JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the DuplicateSecretV4404JSONResponseBodyStatusCode enum.
-func (e DuplicateSecretV4404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetCurrentUser422JSONResponseBodyStatusCode enum.
++func (e GetCurrentUser422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case MoveSecretsV4422JSONResponseBodyStatusCodeN422:
- case DuplicateSecretV4404JSONResponseBodyStatusCodeN404:
++ case GetCurrentUser422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for MoveSecretsV4500JSONResponseBodyStatusCode.
-// Defines values for DuplicateSecretV4422JSONResponseBodyStatusCode.
++// Defines values for GetCurrentUser500JSONResponseBodyStatusCode.
const (
- MoveSecretsV4500JSONResponseBodyStatusCodeN500 MoveSecretsV4500JSONResponseBodyStatusCode = 500
- DuplicateSecretV4422JSONResponseBodyStatusCodeN422 DuplicateSecretV4422JSONResponseBodyStatusCode = 422
++ GetCurrentUser500JSONResponseBodyStatusCodeN500 GetCurrentUser500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the MoveSecretsV4500JSONResponseBodyStatusCode enum.
- func (e MoveSecretsV4500JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the DuplicateSecretV4422JSONResponseBodyStatusCode enum.
-func (e DuplicateSecretV4422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the GetCurrentUser500JSONResponseBodyStatusCode enum.
++func (e GetCurrentUser500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case MoveSecretsV4500JSONResponseBodyStatusCodeN500:
- case DuplicateSecretV4422JSONResponseBodyStatusCodeN422:
++ case GetCurrentUser500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for DeleteSecretV4JSONBodyType.
-// Defines values for DuplicateSecretV4500JSONResponseBodyStatusCode.
++// Defines values for RequestEmailChangeOtp400JSONResponseBodyStatusCode.
const (
- DeleteSecretV4JSONBodyTypePersonal DeleteSecretV4JSONBodyType = "personal"
- DeleteSecretV4JSONBodyTypeShared DeleteSecretV4JSONBodyType = "shared"
- DuplicateSecretV4500JSONResponseBodyStatusCodeN500 DuplicateSecretV4500JSONResponseBodyStatusCode = 500
++ RequestEmailChangeOtp400JSONResponseBodyStatusCodeN400 RequestEmailChangeOtp400JSONResponseBodyStatusCode = 400
)
- // 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 DuplicateSecretV4500JSONResponseBodyStatusCode enum.
-func (e DuplicateSecretV4500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the RequestEmailChangeOtp400JSONResponseBodyStatusCode enum.
++func (e RequestEmailChangeOtp400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteSecretV4JSONBodyTypePersonal:
- return true
- case DeleteSecretV4JSONBodyTypeShared:
- case DuplicateSecretV4500JSONResponseBodyStatusCodeN500:
++ case RequestEmailChangeOtp400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for DeleteSecretV4400JSONResponseBodyStatusCode.
-// Defines values for GetSecretByIdV4400JSONResponseBodyStatusCode.
++// Defines values for RequestEmailChangeOtp401JSONResponseBodyStatusCode.
const (
- DeleteSecretV4400JSONResponseBodyStatusCodeN400 DeleteSecretV4400JSONResponseBodyStatusCode = 400
- GetSecretByIdV4400JSONResponseBodyStatusCodeN400 GetSecretByIdV4400JSONResponseBodyStatusCode = 400
++ RequestEmailChangeOtp401JSONResponseBodyStatusCodeN401 RequestEmailChangeOtp401JSONResponseBodyStatusCode = 401
)
- // 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 GetSecretByIdV4400JSONResponseBodyStatusCode enum.
-func (e GetSecretByIdV4400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the RequestEmailChangeOtp401JSONResponseBodyStatusCode enum.
++func (e RequestEmailChangeOtp401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteSecretV4400JSONResponseBodyStatusCodeN400:
- case GetSecretByIdV4400JSONResponseBodyStatusCodeN400:
++ case RequestEmailChangeOtp401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for DeleteSecretV4401JSONResponseBodyStatusCode.
-// Defines values for GetSecretByIdV4401JSONResponseBodyStatusCode.
++// Defines values for RequestEmailChangeOtp403JSONResponseBodyStatusCode.
const (
- DeleteSecretV4401JSONResponseBodyStatusCodeN401 DeleteSecretV4401JSONResponseBodyStatusCode = 401
- GetSecretByIdV4401JSONResponseBodyStatusCodeN401 GetSecretByIdV4401JSONResponseBodyStatusCode = 401
++ RequestEmailChangeOtp403JSONResponseBodyStatusCodeN403 RequestEmailChangeOtp403JSONResponseBodyStatusCode = 403
)
- // 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 GetSecretByIdV4401JSONResponseBodyStatusCode enum.
-func (e GetSecretByIdV4401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the RequestEmailChangeOtp403JSONResponseBodyStatusCode enum.
++func (e RequestEmailChangeOtp403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteSecretV4401JSONResponseBodyStatusCodeN401:
- case GetSecretByIdV4401JSONResponseBodyStatusCodeN401:
++ case RequestEmailChangeOtp403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for DeleteSecretV4403JSONResponseBodyStatusCode.
-// Defines values for GetSecretByIdV4403JSONResponseBodyStatusCode.
++// Defines values for RequestEmailChangeOtp404JSONResponseBodyStatusCode.
const (
- DeleteSecretV4403JSONResponseBodyStatusCodeN403 DeleteSecretV4403JSONResponseBodyStatusCode = 403
- GetSecretByIdV4403JSONResponseBodyStatusCodeN403 GetSecretByIdV4403JSONResponseBodyStatusCode = 403
++ RequestEmailChangeOtp404JSONResponseBodyStatusCodeN404 RequestEmailChangeOtp404JSONResponseBodyStatusCode = 404
)
- // 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 GetSecretByIdV4403JSONResponseBodyStatusCode enum.
-func (e GetSecretByIdV4403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the RequestEmailChangeOtp404JSONResponseBodyStatusCode enum.
++func (e RequestEmailChangeOtp404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteSecretV4403JSONResponseBodyStatusCodeN403:
- case GetSecretByIdV4403JSONResponseBodyStatusCodeN403:
++ case RequestEmailChangeOtp404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for DeleteSecretV4404JSONResponseBodyStatusCode.
-// Defines values for GetSecretByIdV4404JSONResponseBodyStatusCode.
++// Defines values for RequestEmailChangeOtp422JSONResponseBodyStatusCode.
const (
- DeleteSecretV4404JSONResponseBodyStatusCodeN404 DeleteSecretV4404JSONResponseBodyStatusCode = 404
- GetSecretByIdV4404JSONResponseBodyStatusCodeN404 GetSecretByIdV4404JSONResponseBodyStatusCode = 404
++ RequestEmailChangeOtp422JSONResponseBodyStatusCodeN422 RequestEmailChangeOtp422JSONResponseBodyStatusCode = 422
)
- // 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 GetSecretByIdV4404JSONResponseBodyStatusCode enum.
-func (e GetSecretByIdV4404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the RequestEmailChangeOtp422JSONResponseBodyStatusCode enum.
++func (e RequestEmailChangeOtp422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteSecretV4404JSONResponseBodyStatusCodeN404:
- case GetSecretByIdV4404JSONResponseBodyStatusCodeN404:
++ case RequestEmailChangeOtp422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for DeleteSecretV4422JSONResponseBodyStatusCode.
-// Defines values for GetSecretByIdV4422JSONResponseBodyStatusCode.
++// Defines values for RequestEmailChangeOtp500JSONResponseBodyStatusCode.
const (
- DeleteSecretV4422JSONResponseBodyStatusCodeN422 DeleteSecretV4422JSONResponseBodyStatusCode = 422
- GetSecretByIdV4422JSONResponseBodyStatusCodeN422 GetSecretByIdV4422JSONResponseBodyStatusCode = 422
++ RequestEmailChangeOtp500JSONResponseBodyStatusCodeN500 RequestEmailChangeOtp500JSONResponseBodyStatusCode = 500
)
- // 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 GetSecretByIdV4422JSONResponseBodyStatusCode enum.
-func (e GetSecretByIdV4422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the RequestEmailChangeOtp500JSONResponseBodyStatusCode enum.
++func (e RequestEmailChangeOtp500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteSecretV4422JSONResponseBodyStatusCodeN422:
- case GetSecretByIdV4422JSONResponseBodyStatusCodeN422:
++ case RequestEmailChangeOtp500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for DeleteSecretV4500JSONResponseBodyStatusCode.
-// Defines values for GetSecretByIdV4500JSONResponseBodyStatusCode.
++// Defines values for CreateProjectRole400JSONResponseBodyStatusCode.
const (
- DeleteSecretV4500JSONResponseBodyStatusCodeN500 DeleteSecretV4500JSONResponseBodyStatusCode = 500
- GetSecretByIdV4500JSONResponseBodyStatusCodeN500 GetSecretByIdV4500JSONResponseBodyStatusCode = 500
++ CreateProjectRole400JSONResponseBodyStatusCodeN400 CreateProjectRole400JSONResponseBodyStatusCode = 400
)
- // 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 GetSecretByIdV4500JSONResponseBodyStatusCode enum.
-func (e GetSecretByIdV4500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateProjectRole400JSONResponseBodyStatusCode enum.
++func (e CreateProjectRole400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case DeleteSecretV4500JSONResponseBodyStatusCodeN500:
- case GetSecretByIdV4500JSONResponseBodyStatusCodeN500:
++ case CreateProjectRole400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for GetSecretByNameV4ParamsType.
-// Defines values for MoveSecretsV4400JSONResponseBodyStatusCode.
++// Defines values for CreateProjectRole401JSONResponseBodyStatusCode.
const (
- GetSecretByNameV4ParamsTypePersonal GetSecretByNameV4ParamsType = "personal"
- GetSecretByNameV4ParamsTypeShared GetSecretByNameV4ParamsType = "shared"
- MoveSecretsV4400JSONResponseBodyStatusCodeN400 MoveSecretsV4400JSONResponseBodyStatusCode = 400
++ CreateProjectRole401JSONResponseBodyStatusCodeN401 CreateProjectRole401JSONResponseBodyStatusCode = 401
)
- // 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 MoveSecretsV4400JSONResponseBodyStatusCode enum.
-func (e MoveSecretsV4400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateProjectRole401JSONResponseBodyStatusCode enum.
++func (e CreateProjectRole401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretByNameV4ParamsTypePersonal:
- return true
- case GetSecretByNameV4ParamsTypeShared:
- case MoveSecretsV4400JSONResponseBodyStatusCodeN400:
++ case CreateProjectRole401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for GetSecretByNameV4ParamsViewSecretValue.
-// Defines values for MoveSecretsV4401JSONResponseBodyStatusCode.
++// Defines values for CreateProjectRole403JSONResponseBodyStatusCode.
const (
- GetSecretByNameV4ParamsViewSecretValueFalse GetSecretByNameV4ParamsViewSecretValue = "false"
- GetSecretByNameV4ParamsViewSecretValueTrue GetSecretByNameV4ParamsViewSecretValue = "true"
- MoveSecretsV4401JSONResponseBodyStatusCodeN401 MoveSecretsV4401JSONResponseBodyStatusCode = 401
++ CreateProjectRole403JSONResponseBodyStatusCodeN403 CreateProjectRole403JSONResponseBodyStatusCode = 403
)
- // 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 MoveSecretsV4401JSONResponseBodyStatusCode enum.
-func (e MoveSecretsV4401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateProjectRole403JSONResponseBodyStatusCode enum.
++func (e CreateProjectRole403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretByNameV4ParamsViewSecretValueFalse:
- return true
- case GetSecretByNameV4ParamsViewSecretValueTrue:
- case MoveSecretsV4401JSONResponseBodyStatusCodeN401:
++ case CreateProjectRole403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for GetSecretByNameV4ParamsExpandSecretReferences.
-// Defines values for MoveSecretsV4403JSONResponseBodyStatusCode.
++// Defines values for CreateProjectRole404JSONResponseBodyStatusCode.
const (
- GetSecretByNameV4ParamsExpandSecretReferencesFalse GetSecretByNameV4ParamsExpandSecretReferences = "false"
- GetSecretByNameV4ParamsExpandSecretReferencesTrue GetSecretByNameV4ParamsExpandSecretReferences = "true"
- MoveSecretsV4403JSONResponseBodyStatusCodeN403 MoveSecretsV4403JSONResponseBodyStatusCode = 403
++ CreateProjectRole404JSONResponseBodyStatusCodeN404 CreateProjectRole404JSONResponseBodyStatusCode = 404
)
- // 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 MoveSecretsV4403JSONResponseBodyStatusCode enum.
-func (e MoveSecretsV4403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateProjectRole404JSONResponseBodyStatusCode enum.
++func (e CreateProjectRole404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretByNameV4ParamsExpandSecretReferencesFalse:
- return true
- case GetSecretByNameV4ParamsExpandSecretReferencesTrue:
- case MoveSecretsV4403JSONResponseBodyStatusCodeN403:
++ case CreateProjectRole404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for GetSecretByNameV4ParamsIncludeImports.
-// Defines values for MoveSecretsV4404JSONResponseBodyStatusCode.
++// Defines values for CreateProjectRole422JSONResponseBodyStatusCode.
const (
- GetSecretByNameV4ParamsIncludeImportsFalse GetSecretByNameV4ParamsIncludeImports = "false"
- GetSecretByNameV4ParamsIncludeImportsTrue GetSecretByNameV4ParamsIncludeImports = "true"
- MoveSecretsV4404JSONResponseBodyStatusCodeN404 MoveSecretsV4404JSONResponseBodyStatusCode = 404
++ CreateProjectRole422JSONResponseBodyStatusCodeN422 CreateProjectRole422JSONResponseBodyStatusCode = 422
)
- // 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 MoveSecretsV4404JSONResponseBodyStatusCode enum.
-func (e MoveSecretsV4404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateProjectRole422JSONResponseBodyStatusCode enum.
++func (e CreateProjectRole422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretByNameV4ParamsIncludeImportsFalse:
- return true
- case GetSecretByNameV4ParamsIncludeImportsTrue:
- case MoveSecretsV4404JSONResponseBodyStatusCodeN404:
++ case CreateProjectRole422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for GetSecretByNameV4400JSONResponseBodyStatusCode.
-// Defines values for MoveSecretsV4422JSONResponseBodyStatusCode.
++// Defines values for CreateProjectRole500JSONResponseBodyStatusCode.
const (
- GetSecretByNameV4400JSONResponseBodyStatusCodeN400 GetSecretByNameV4400JSONResponseBodyStatusCode = 400
- MoveSecretsV4422JSONResponseBodyStatusCodeN422 MoveSecretsV4422JSONResponseBodyStatusCode = 422
++ CreateProjectRole500JSONResponseBodyStatusCodeN500 CreateProjectRole500JSONResponseBodyStatusCode = 500
)
- // 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 MoveSecretsV4422JSONResponseBodyStatusCode enum.
-func (e MoveSecretsV4422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CreateProjectRole500JSONResponseBodyStatusCode enum.
++func (e CreateProjectRole500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretByNameV4400JSONResponseBodyStatusCodeN400:
- case MoveSecretsV4422JSONResponseBodyStatusCodeN422:
++ case CreateProjectRole500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for GetSecretByNameV4401JSONResponseBodyStatusCode.
-// Defines values for MoveSecretsV4500JSONResponseBodyStatusCode.
++// Defines values for LoginV3400JSONResponseBodyStatusCode.
const (
- GetSecretByNameV4401JSONResponseBodyStatusCodeN401 GetSecretByNameV4401JSONResponseBodyStatusCode = 401
- MoveSecretsV4500JSONResponseBodyStatusCodeN500 MoveSecretsV4500JSONResponseBodyStatusCode = 500
++ LoginV3400JSONResponseBodyStatusCodeN400 LoginV3400JSONResponseBodyStatusCode = 400
)
- // 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 MoveSecretsV4500JSONResponseBodyStatusCode enum.
-func (e MoveSecretsV4500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the LoginV3400JSONResponseBodyStatusCode enum.
++func (e LoginV3400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretByNameV4401JSONResponseBodyStatusCodeN401:
- case MoveSecretsV4500JSONResponseBodyStatusCodeN500:
++ case LoginV3400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for GetSecretByNameV4403JSONResponseBodyStatusCode.
-// Defines values for DeleteSecretV4JSONBodyType.
++// Defines values for LoginV3401JSONResponseBodyStatusCode.
const (
- GetSecretByNameV4403JSONResponseBodyStatusCodeN403 GetSecretByNameV4403JSONResponseBodyStatusCode = 403
- DeleteSecretV4JSONBodyTypePersonal DeleteSecretV4JSONBodyType = "personal"
- DeleteSecretV4JSONBodyTypeShared DeleteSecretV4JSONBodyType = "shared"
++ LoginV3401JSONResponseBodyStatusCodeN401 LoginV3401JSONResponseBodyStatusCode = 401
)
- // 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 DeleteSecretV4JSONBodyType enum.
-func (e DeleteSecretV4JSONBodyType) Valid() bool {
++// Valid indicates whether the value is a known member of the LoginV3401JSONResponseBodyStatusCode enum.
++func (e LoginV3401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretByNameV4403JSONResponseBodyStatusCodeN403:
- case DeleteSecretV4JSONBodyTypePersonal:
- return true
- case DeleteSecretV4JSONBodyTypeShared:
++ case LoginV3401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for GetSecretByNameV4404JSONResponseBodyStatusCode.
-// Defines values for DeleteSecretV4400JSONResponseBodyStatusCode.
++// Defines values for LoginV3403JSONResponseBodyStatusCode.
const (
- GetSecretByNameV4404JSONResponseBodyStatusCodeN404 GetSecretByNameV4404JSONResponseBodyStatusCode = 404
- DeleteSecretV4400JSONResponseBodyStatusCodeN400 DeleteSecretV4400JSONResponseBodyStatusCode = 400
++ LoginV3403JSONResponseBodyStatusCodeN403 LoginV3403JSONResponseBodyStatusCode = 403
)
- // 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 DeleteSecretV4400JSONResponseBodyStatusCode enum.
-func (e DeleteSecretV4400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the LoginV3403JSONResponseBodyStatusCode enum.
++func (e LoginV3403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretByNameV4404JSONResponseBodyStatusCodeN404:
- case DeleteSecretV4400JSONResponseBodyStatusCodeN400:
++ case LoginV3403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for GetSecretByNameV4422JSONResponseBodyStatusCode.
-// Defines values for DeleteSecretV4401JSONResponseBodyStatusCode.
++// Defines values for LoginV3404JSONResponseBodyStatusCode.
const (
- GetSecretByNameV4422JSONResponseBodyStatusCodeN422 GetSecretByNameV4422JSONResponseBodyStatusCode = 422
- DeleteSecretV4401JSONResponseBodyStatusCodeN401 DeleteSecretV4401JSONResponseBodyStatusCode = 401
++ LoginV3404JSONResponseBodyStatusCodeN404 LoginV3404JSONResponseBodyStatusCode = 404
)
- // 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 DeleteSecretV4401JSONResponseBodyStatusCode enum.
-func (e DeleteSecretV4401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the LoginV3404JSONResponseBodyStatusCode enum.
++func (e LoginV3404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretByNameV4422JSONResponseBodyStatusCodeN422:
- case DeleteSecretV4401JSONResponseBodyStatusCodeN401:
++ case LoginV3404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for GetSecretByNameV4500JSONResponseBodyStatusCode.
-// Defines values for DeleteSecretV4403JSONResponseBodyStatusCode.
++// Defines values for LoginV3422JSONResponseBodyStatusCode.
const (
- GetSecretByNameV4500JSONResponseBodyStatusCodeN500 GetSecretByNameV4500JSONResponseBodyStatusCode = 500
- DeleteSecretV4403JSONResponseBodyStatusCodeN403 DeleteSecretV4403JSONResponseBodyStatusCode = 403
++ LoginV3422JSONResponseBodyStatusCodeN422 LoginV3422JSONResponseBodyStatusCode = 422
)
- // 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 DeleteSecretV4403JSONResponseBodyStatusCode enum.
-func (e DeleteSecretV4403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the LoginV3422JSONResponseBodyStatusCode enum.
++func (e LoginV3422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretByNameV4500JSONResponseBodyStatusCodeN500:
- case DeleteSecretV4403JSONResponseBodyStatusCodeN403:
++ case LoginV3422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for UpdateSecretV4JSONBodyType.
-// Defines values for DeleteSecretV4404JSONResponseBodyStatusCode.
++// Defines values for LoginV3500JSONResponseBodyStatusCode.
const (
- UpdateSecretV4JSONBodyTypePersonal UpdateSecretV4JSONBodyType = "personal"
- UpdateSecretV4JSONBodyTypeShared UpdateSecretV4JSONBodyType = "shared"
- DeleteSecretV4404JSONResponseBodyStatusCodeN404 DeleteSecretV4404JSONResponseBodyStatusCode = 404
++ LoginV3500JSONResponseBodyStatusCodeN500 LoginV3500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the UpdateSecretV4JSONBodyType enum.
- func (e UpdateSecretV4JSONBodyType) Valid() bool {
-// 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 LoginV3500JSONResponseBodyStatusCode enum.
++func (e LoginV3500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateSecretV4JSONBodyTypePersonal:
- return true
- case UpdateSecretV4JSONBodyTypeShared:
- case DeleteSecretV4404JSONResponseBodyStatusCodeN404:
++ case LoginV3500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for UpdateSecretV4400JSONResponseBodyStatusCode.
-// Defines values for DeleteSecretV4422JSONResponseBodyStatusCode.
++// Defines values for SelectOrganizationV3JSONBodyUserAgent.
const (
- UpdateSecretV4400JSONResponseBodyStatusCodeN400 UpdateSecretV4400JSONResponseBodyStatusCode = 400
- DeleteSecretV4422JSONResponseBodyStatusCodeN422 DeleteSecretV4422JSONResponseBodyStatusCode = 422
++ Cli SelectOrganizationV3JSONBodyUserAgent = "cli"
)
- // Valid indicates whether the value is a known member of the UpdateSecretV4400JSONResponseBodyStatusCode enum.
- func (e UpdateSecretV4400JSONResponseBodyStatusCode) Valid() bool {
-// 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 SelectOrganizationV3JSONBodyUserAgent enum.
++func (e SelectOrganizationV3JSONBodyUserAgent) Valid() bool {
switch e {
- case UpdateSecretV4400JSONResponseBodyStatusCodeN400:
- case DeleteSecretV4422JSONResponseBodyStatusCodeN422:
++ case Cli:
return true
default:
return false
}
}
- // Defines values for UpdateSecretV4401JSONResponseBodyStatusCode.
-// Defines values for DeleteSecretV4500JSONResponseBodyStatusCode.
++// Defines values for SelectOrganizationV3400JSONResponseBodyStatusCode.
const (
- UpdateSecretV4401JSONResponseBodyStatusCodeN401 UpdateSecretV4401JSONResponseBodyStatusCode = 401
- DeleteSecretV4500JSONResponseBodyStatusCodeN500 DeleteSecretV4500JSONResponseBodyStatusCode = 500
++ SelectOrganizationV3400JSONResponseBodyStatusCodeN400 SelectOrganizationV3400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the UpdateSecretV4401JSONResponseBodyStatusCode enum.
- func (e UpdateSecretV4401JSONResponseBodyStatusCode) Valid() bool {
-// 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 SelectOrganizationV3400JSONResponseBodyStatusCode enum.
++func (e SelectOrganizationV3400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateSecretV4401JSONResponseBodyStatusCodeN401:
- case DeleteSecretV4500JSONResponseBodyStatusCodeN500:
++ case SelectOrganizationV3400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for UpdateSecretV4403JSONResponseBodyStatusCode.
-// Defines values for GetSecretByNameV4ParamsType.
++// Defines values for SelectOrganizationV3401JSONResponseBodyStatusCode.
const (
- UpdateSecretV4403JSONResponseBodyStatusCodeN403 UpdateSecretV4403JSONResponseBodyStatusCode = 403
- GetSecretByNameV4ParamsTypePersonal GetSecretByNameV4ParamsType = "personal"
- GetSecretByNameV4ParamsTypeShared GetSecretByNameV4ParamsType = "shared"
++ SelectOrganizationV3401JSONResponseBodyStatusCodeN401 SelectOrganizationV3401JSONResponseBodyStatusCode = 401
)
- // Valid indicates whether the value is a known member of the UpdateSecretV4403JSONResponseBodyStatusCode enum.
- func (e UpdateSecretV4403JSONResponseBodyStatusCode) Valid() bool {
-// 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 SelectOrganizationV3401JSONResponseBodyStatusCode enum.
++func (e SelectOrganizationV3401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateSecretV4403JSONResponseBodyStatusCodeN403:
- case GetSecretByNameV4ParamsTypePersonal:
- return true
- case GetSecretByNameV4ParamsTypeShared:
++ case SelectOrganizationV3401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for UpdateSecretV4404JSONResponseBodyStatusCode.
-// Defines values for GetSecretByNameV4ParamsViewSecretValue.
++// Defines values for SelectOrganizationV3403JSONResponseBodyStatusCode.
const (
- UpdateSecretV4404JSONResponseBodyStatusCodeN404 UpdateSecretV4404JSONResponseBodyStatusCode = 404
- GetSecretByNameV4ParamsViewSecretValueFalse GetSecretByNameV4ParamsViewSecretValue = "false"
- GetSecretByNameV4ParamsViewSecretValueTrue GetSecretByNameV4ParamsViewSecretValue = "true"
++ SelectOrganizationV3403JSONResponseBodyStatusCodeN403 SelectOrganizationV3403JSONResponseBodyStatusCode = 403
)
- // Valid indicates whether the value is a known member of the UpdateSecretV4404JSONResponseBodyStatusCode enum.
- func (e UpdateSecretV4404JSONResponseBodyStatusCode) Valid() bool {
-// 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 SelectOrganizationV3403JSONResponseBodyStatusCode enum.
++func (e SelectOrganizationV3403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateSecretV4404JSONResponseBodyStatusCodeN404:
- case GetSecretByNameV4ParamsViewSecretValueFalse:
- return true
- case GetSecretByNameV4ParamsViewSecretValueTrue:
++ case SelectOrganizationV3403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for UpdateSecretV4422JSONResponseBodyStatusCode.
-// Defines values for GetSecretByNameV4ParamsExpandSecretReferences.
++// Defines values for SelectOrganizationV3404JSONResponseBodyStatusCode.
const (
- UpdateSecretV4422JSONResponseBodyStatusCodeN422 UpdateSecretV4422JSONResponseBodyStatusCode = 422
- GetSecretByNameV4ParamsExpandSecretReferencesFalse GetSecretByNameV4ParamsExpandSecretReferences = "false"
- GetSecretByNameV4ParamsExpandSecretReferencesTrue GetSecretByNameV4ParamsExpandSecretReferences = "true"
++ SelectOrganizationV3404JSONResponseBodyStatusCodeN404 SelectOrganizationV3404JSONResponseBodyStatusCode = 404
)
- // Valid indicates whether the value is a known member of the UpdateSecretV4422JSONResponseBodyStatusCode enum.
- func (e UpdateSecretV4422JSONResponseBodyStatusCode) Valid() bool {
-// 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 SelectOrganizationV3404JSONResponseBodyStatusCode enum.
++func (e SelectOrganizationV3404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateSecretV4422JSONResponseBodyStatusCodeN422:
- case GetSecretByNameV4ParamsExpandSecretReferencesFalse:
- return true
- case GetSecretByNameV4ParamsExpandSecretReferencesTrue:
++ case SelectOrganizationV3404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for UpdateSecretV4500JSONResponseBodyStatusCode.
-// Defines values for GetSecretByNameV4ParamsIncludeImports.
++// Defines values for SelectOrganizationV3422JSONResponseBodyStatusCode.
const (
- UpdateSecretV4500JSONResponseBodyStatusCodeN500 UpdateSecretV4500JSONResponseBodyStatusCode = 500
- GetSecretByNameV4ParamsIncludeImportsFalse GetSecretByNameV4ParamsIncludeImports = "false"
- GetSecretByNameV4ParamsIncludeImportsTrue GetSecretByNameV4ParamsIncludeImports = "true"
++ SelectOrganizationV3422JSONResponseBodyStatusCodeN422 SelectOrganizationV3422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the UpdateSecretV4500JSONResponseBodyStatusCode enum.
- func (e UpdateSecretV4500JSONResponseBodyStatusCode) Valid() bool {
-// 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 SelectOrganizationV3422JSONResponseBodyStatusCode enum.
++func (e SelectOrganizationV3422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case UpdateSecretV4500JSONResponseBodyStatusCodeN500:
- case GetSecretByNameV4ParamsIncludeImportsFalse:
- return true
- case GetSecretByNameV4ParamsIncludeImportsTrue:
++ case SelectOrganizationV3422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for CreateSecretV4JSONBodyType.
-// Defines values for GetSecretByNameV4400JSONResponseBodyStatusCode.
++// Defines values for SelectOrganizationV3500JSONResponseBodyStatusCode.
const (
- CreateSecretV4JSONBodyTypePersonal CreateSecretV4JSONBodyType = "personal"
- CreateSecretV4JSONBodyTypeShared CreateSecretV4JSONBodyType = "shared"
- GetSecretByNameV4400JSONResponseBodyStatusCodeN400 GetSecretByNameV4400JSONResponseBodyStatusCode = 400
++ SelectOrganizationV3500JSONResponseBodyStatusCodeN500 SelectOrganizationV3500JSONResponseBodyStatusCode = 500
)
- // 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 GetSecretByNameV4400JSONResponseBodyStatusCode enum.
-func (e GetSecretByNameV4400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the SelectOrganizationV3500JSONResponseBodyStatusCode enum.
++func (e SelectOrganizationV3500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSecretV4JSONBodyTypePersonal:
- case GetSecretByNameV4400JSONResponseBodyStatusCodeN400:
++ case SelectOrganizationV3500JSONResponseBodyStatusCodeN500:
return true
- case CreateSecretV4JSONBodyTypeShared:
+ default:
+ return false
+ }
+ }
+
-// Defines values for GetSecretByNameV4401JSONResponseBodyStatusCode.
++// Defines values for CompleteAccountSignupV3JSONBody0Type.
+ const (
- GetSecretByNameV4401JSONResponseBodyStatusCodeN401 GetSecretByNameV4401JSONResponseBodyStatusCode = 401
++ CompleteAccountSignupV3JSONBody0TypeEmail CompleteAccountSignupV3JSONBody0Type = "email"
+ )
+
-// 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 CompleteAccountSignupV3JSONBody0Type enum.
++func (e CompleteAccountSignupV3JSONBody0Type) Valid() bool {
+ switch e {
- case GetSecretByNameV4401JSONResponseBodyStatusCodeN401:
++ case CompleteAccountSignupV3JSONBody0TypeEmail:
return true
default:
return false
}
}
- // Defines values for CreateSecretV4400JSONResponseBodyStatusCode.
-// Defines values for GetSecretByNameV4403JSONResponseBodyStatusCode.
++// Defines values for CompleteAccountSignupV3JSONBody1Type.
const (
- CreateSecretV4400JSONResponseBodyStatusCodeN400 CreateSecretV4400JSONResponseBodyStatusCode = 400
- GetSecretByNameV4403JSONResponseBodyStatusCodeN403 GetSecretByNameV4403JSONResponseBodyStatusCode = 403
++ Alias CompleteAccountSignupV3JSONBody1Type = "alias"
)
- // 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 GetSecretByNameV4403JSONResponseBodyStatusCode enum.
-func (e GetSecretByNameV4403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CompleteAccountSignupV3JSONBody1Type enum.
++func (e CompleteAccountSignupV3JSONBody1Type) Valid() bool {
switch e {
- case CreateSecretV4400JSONResponseBodyStatusCodeN400:
- case GetSecretByNameV4403JSONResponseBodyStatusCodeN403:
++ case Alias:
return true
default:
return false
}
}
- // Defines values for CreateSecretV4401JSONResponseBodyStatusCode.
-// Defines values for GetSecretByNameV4404JSONResponseBodyStatusCode.
++// Defines values for CompleteAccountSignupV3400JSONResponseBodyStatusCode.
const (
- CreateSecretV4401JSONResponseBodyStatusCodeN401 CreateSecretV4401JSONResponseBodyStatusCode = 401
- GetSecretByNameV4404JSONResponseBodyStatusCodeN404 GetSecretByNameV4404JSONResponseBodyStatusCode = 404
++ CompleteAccountSignupV3400JSONResponseBodyStatusCodeN400 CompleteAccountSignupV3400JSONResponseBodyStatusCode = 400
)
- // 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 GetSecretByNameV4404JSONResponseBodyStatusCode enum.
-func (e GetSecretByNameV4404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CompleteAccountSignupV3400JSONResponseBodyStatusCode enum.
++func (e CompleteAccountSignupV3400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSecretV4401JSONResponseBodyStatusCodeN401:
- case GetSecretByNameV4404JSONResponseBodyStatusCodeN404:
++ case CompleteAccountSignupV3400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for CreateSecretV4403JSONResponseBodyStatusCode.
-// Defines values for GetSecretByNameV4422JSONResponseBodyStatusCode.
++// Defines values for CompleteAccountSignupV3401JSONResponseBodyStatusCode.
const (
- CreateSecretV4403JSONResponseBodyStatusCodeN403 CreateSecretV4403JSONResponseBodyStatusCode = 403
- GetSecretByNameV4422JSONResponseBodyStatusCodeN422 GetSecretByNameV4422JSONResponseBodyStatusCode = 422
++ CompleteAccountSignupV3401JSONResponseBodyStatusCodeN401 CompleteAccountSignupV3401JSONResponseBodyStatusCode = 401
)
- // 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 GetSecretByNameV4422JSONResponseBodyStatusCode enum.
-func (e GetSecretByNameV4422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CompleteAccountSignupV3401JSONResponseBodyStatusCode enum.
++func (e CompleteAccountSignupV3401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSecretV4403JSONResponseBodyStatusCodeN403:
- case GetSecretByNameV4422JSONResponseBodyStatusCodeN422:
++ case CompleteAccountSignupV3401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for CreateSecretV4404JSONResponseBodyStatusCode.
-// Defines values for GetSecretByNameV4500JSONResponseBodyStatusCode.
++// Defines values for CompleteAccountSignupV3403JSONResponseBodyStatusCode.
const (
- CreateSecretV4404JSONResponseBodyStatusCodeN404 CreateSecretV4404JSONResponseBodyStatusCode = 404
- GetSecretByNameV4500JSONResponseBodyStatusCodeN500 GetSecretByNameV4500JSONResponseBodyStatusCode = 500
++ CompleteAccountSignupV3403JSONResponseBodyStatusCodeN403 CompleteAccountSignupV3403JSONResponseBodyStatusCode = 403
)
- // 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 GetSecretByNameV4500JSONResponseBodyStatusCode enum.
-func (e GetSecretByNameV4500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CompleteAccountSignupV3403JSONResponseBodyStatusCode enum.
++func (e CompleteAccountSignupV3403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSecretV4404JSONResponseBodyStatusCodeN404:
- case GetSecretByNameV4500JSONResponseBodyStatusCodeN500:
++ case CompleteAccountSignupV3403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for CreateSecretV4422JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretV4JSONBodyType.
++// Defines values for CompleteAccountSignupV3404JSONResponseBodyStatusCode.
const (
- CreateSecretV4422JSONResponseBodyStatusCodeN422 CreateSecretV4422JSONResponseBodyStatusCode = 422
- UpdateSecretV4JSONBodyTypePersonal UpdateSecretV4JSONBodyType = "personal"
- UpdateSecretV4JSONBodyTypeShared UpdateSecretV4JSONBodyType = "shared"
++ CompleteAccountSignupV3404JSONResponseBodyStatusCodeN404 CompleteAccountSignupV3404JSONResponseBodyStatusCode = 404
)
- // 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 UpdateSecretV4JSONBodyType enum.
-func (e UpdateSecretV4JSONBodyType) Valid() bool {
++// Valid indicates whether the value is a known member of the CompleteAccountSignupV3404JSONResponseBodyStatusCode enum.
++func (e CompleteAccountSignupV3404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSecretV4422JSONResponseBodyStatusCodeN422:
- case UpdateSecretV4JSONBodyTypePersonal:
- return true
- case UpdateSecretV4JSONBodyTypeShared:
++ case CompleteAccountSignupV3404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for CreateSecretV4500JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretV4400JSONResponseBodyStatusCode.
++// Defines values for CompleteAccountSignupV3422JSONResponseBodyStatusCode.
const (
- CreateSecretV4500JSONResponseBodyStatusCodeN500 CreateSecretV4500JSONResponseBodyStatusCode = 500
- UpdateSecretV4400JSONResponseBodyStatusCodeN400 UpdateSecretV4400JSONResponseBodyStatusCode = 400
++ CompleteAccountSignupV3422JSONResponseBodyStatusCodeN422 CompleteAccountSignupV3422JSONResponseBodyStatusCode = 422
)
- // 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 UpdateSecretV4400JSONResponseBodyStatusCode enum.
-func (e UpdateSecretV4400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CompleteAccountSignupV3422JSONResponseBodyStatusCode enum.
++func (e CompleteAccountSignupV3422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case CreateSecretV4500JSONResponseBodyStatusCodeN500:
- case UpdateSecretV4400JSONResponseBodyStatusCodeN400:
++ case CompleteAccountSignupV3422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for GetSecretReferencesV4400JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretV4401JSONResponseBodyStatusCode.
++// Defines values for CompleteAccountSignupV3500JSONResponseBodyStatusCode.
const (
- GetSecretReferencesV4400JSONResponseBodyStatusCodeN400 GetSecretReferencesV4400JSONResponseBodyStatusCode = 400
- UpdateSecretV4401JSONResponseBodyStatusCodeN401 UpdateSecretV4401JSONResponseBodyStatusCode = 401
++ CompleteAccountSignupV3500JSONResponseBodyStatusCodeN500 CompleteAccountSignupV3500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the GetSecretReferencesV4400JSONResponseBodyStatusCode enum.
- func (e GetSecretReferencesV4400JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSecretV4401JSONResponseBodyStatusCode enum.
-func (e UpdateSecretV4401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the CompleteAccountSignupV3500JSONResponseBodyStatusCode enum.
++func (e CompleteAccountSignupV3500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretReferencesV4400JSONResponseBodyStatusCodeN400:
- case UpdateSecretV4401JSONResponseBodyStatusCodeN401:
++ case CompleteAccountSignupV3500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for GetSecretReferencesV4401JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretV4403JSONResponseBodyStatusCode.
++// Defines values for BeginEmailSignupV3400JSONResponseBodyStatusCode.
const (
- GetSecretReferencesV4401JSONResponseBodyStatusCodeN401 GetSecretReferencesV4401JSONResponseBodyStatusCode = 401
- UpdateSecretV4403JSONResponseBodyStatusCodeN403 UpdateSecretV4403JSONResponseBodyStatusCode = 403
++ BeginEmailSignupV3400JSONResponseBodyStatusCodeN400 BeginEmailSignupV3400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the GetSecretReferencesV4401JSONResponseBodyStatusCode enum.
- func (e GetSecretReferencesV4401JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSecretV4403JSONResponseBodyStatusCode enum.
-func (e UpdateSecretV4403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the BeginEmailSignupV3400JSONResponseBodyStatusCode enum.
++func (e BeginEmailSignupV3400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretReferencesV4401JSONResponseBodyStatusCodeN401:
- case UpdateSecretV4403JSONResponseBodyStatusCodeN403:
++ case BeginEmailSignupV3400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for GetSecretReferencesV4403JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretV4404JSONResponseBodyStatusCode.
++// Defines values for BeginEmailSignupV3401JSONResponseBodyStatusCode.
const (
- GetSecretReferencesV4403JSONResponseBodyStatusCodeN403 GetSecretReferencesV4403JSONResponseBodyStatusCode = 403
- UpdateSecretV4404JSONResponseBodyStatusCodeN404 UpdateSecretV4404JSONResponseBodyStatusCode = 404
++ BeginEmailSignupV3401JSONResponseBodyStatusCodeN401 BeginEmailSignupV3401JSONResponseBodyStatusCode = 401
)
- // Valid indicates whether the value is a known member of the GetSecretReferencesV4403JSONResponseBodyStatusCode enum.
- func (e GetSecretReferencesV4403JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSecretV4404JSONResponseBodyStatusCode enum.
-func (e UpdateSecretV4404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the BeginEmailSignupV3401JSONResponseBodyStatusCode enum.
++func (e BeginEmailSignupV3401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretReferencesV4403JSONResponseBodyStatusCodeN403:
- case UpdateSecretV4404JSONResponseBodyStatusCodeN404:
++ case BeginEmailSignupV3401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for GetSecretReferencesV4404JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretV4422JSONResponseBodyStatusCode.
++// Defines values for BeginEmailSignupV3403JSONResponseBodyStatusCode.
const (
- GetSecretReferencesV4404JSONResponseBodyStatusCodeN404 GetSecretReferencesV4404JSONResponseBodyStatusCode = 404
- UpdateSecretV4422JSONResponseBodyStatusCodeN422 UpdateSecretV4422JSONResponseBodyStatusCode = 422
++ BeginEmailSignupV3403JSONResponseBodyStatusCodeN403 BeginEmailSignupV3403JSONResponseBodyStatusCode = 403
)
- // Valid indicates whether the value is a known member of the GetSecretReferencesV4404JSONResponseBodyStatusCode enum.
- func (e GetSecretReferencesV4404JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSecretV4422JSONResponseBodyStatusCode enum.
-func (e UpdateSecretV4422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the BeginEmailSignupV3403JSONResponseBodyStatusCode enum.
++func (e BeginEmailSignupV3403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretReferencesV4404JSONResponseBodyStatusCodeN404:
- case UpdateSecretV4422JSONResponseBodyStatusCodeN422:
++ case BeginEmailSignupV3403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for GetSecretReferencesV4422JSONResponseBodyStatusCode.
-// Defines values for UpdateSecretV4500JSONResponseBodyStatusCode.
++// Defines values for BeginEmailSignupV3404JSONResponseBodyStatusCode.
const (
- GetSecretReferencesV4422JSONResponseBodyStatusCodeN422 GetSecretReferencesV4422JSONResponseBodyStatusCode = 422
- UpdateSecretV4500JSONResponseBodyStatusCodeN500 UpdateSecretV4500JSONResponseBodyStatusCode = 500
++ BeginEmailSignupV3404JSONResponseBodyStatusCodeN404 BeginEmailSignupV3404JSONResponseBodyStatusCode = 404
)
- // Valid indicates whether the value is a known member of the GetSecretReferencesV4422JSONResponseBodyStatusCode enum.
- func (e GetSecretReferencesV4422JSONResponseBodyStatusCode) Valid() bool {
-// Valid indicates whether the value is a known member of the UpdateSecretV4500JSONResponseBodyStatusCode enum.
-func (e UpdateSecretV4500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the BeginEmailSignupV3404JSONResponseBodyStatusCode enum.
++func (e BeginEmailSignupV3404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretReferencesV4422JSONResponseBodyStatusCodeN422:
- case UpdateSecretV4500JSONResponseBodyStatusCodeN500:
++ case BeginEmailSignupV3404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for GetSecretReferencesV4500JSONResponseBodyStatusCode.
-// Defines values for CreateSecretV4JSONBodyType.
++// Defines values for BeginEmailSignupV3422JSONResponseBodyStatusCode.
const (
- GetSecretReferencesV4500JSONResponseBodyStatusCodeN500 GetSecretReferencesV4500JSONResponseBodyStatusCode = 500
- CreateSecretV4JSONBodyTypePersonal CreateSecretV4JSONBodyType = "personal"
- CreateSecretV4JSONBodyTypeShared CreateSecretV4JSONBodyType = "shared"
++ BeginEmailSignupV3422JSONResponseBodyStatusCodeN422 BeginEmailSignupV3422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the GetSecretReferencesV4500JSONResponseBodyStatusCode enum.
- func (e GetSecretReferencesV4500JSONResponseBodyStatusCode) Valid() bool {
-// 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 BeginEmailSignupV3422JSONResponseBodyStatusCode enum.
++func (e BeginEmailSignupV3422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretReferencesV4500JSONResponseBodyStatusCodeN500:
- case CreateSecretV4JSONBodyTypePersonal:
- return true
- case CreateSecretV4JSONBodyTypeShared:
++ case BeginEmailSignupV3422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // Defines values for GetSecretReferenceTreeV4400JSONResponseBodyStatusCode.
-// Defines values for CreateSecretV4400JSONResponseBodyStatusCode.
++// Defines values for BeginEmailSignupV3500JSONResponseBodyStatusCode.
const (
- GetSecretReferenceTreeV4400JSONResponseBodyStatusCodeN400 GetSecretReferenceTreeV4400JSONResponseBodyStatusCode = 400
- CreateSecretV4400JSONResponseBodyStatusCodeN400 CreateSecretV4400JSONResponseBodyStatusCode = 400
++ BeginEmailSignupV3500JSONResponseBodyStatusCodeN500 BeginEmailSignupV3500JSONResponseBodyStatusCode = 500
)
- // Valid indicates whether the value is a known member of the GetSecretReferenceTreeV4400JSONResponseBodyStatusCode enum.
- func (e GetSecretReferenceTreeV4400JSONResponseBodyStatusCode) Valid() bool {
-// 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 BeginEmailSignupV3500JSONResponseBodyStatusCode enum.
++func (e BeginEmailSignupV3500JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretReferenceTreeV4400JSONResponseBodyStatusCodeN400:
- case CreateSecretV4400JSONResponseBodyStatusCodeN400:
++ case BeginEmailSignupV3500JSONResponseBodyStatusCodeN500:
return true
default:
return false
}
}
- // Defines values for GetSecretReferenceTreeV4401JSONResponseBodyStatusCode.
-// Defines values for CreateSecretV4401JSONResponseBodyStatusCode.
++// Defines values for VerifyEmailSignupV3400JSONResponseBodyStatusCode.
const (
- GetSecretReferenceTreeV4401JSONResponseBodyStatusCodeN401 GetSecretReferenceTreeV4401JSONResponseBodyStatusCode = 401
- CreateSecretV4401JSONResponseBodyStatusCodeN401 CreateSecretV4401JSONResponseBodyStatusCode = 401
++ VerifyEmailSignupV3400JSONResponseBodyStatusCodeN400 VerifyEmailSignupV3400JSONResponseBodyStatusCode = 400
)
- // Valid indicates whether the value is a known member of the GetSecretReferenceTreeV4401JSONResponseBodyStatusCode enum.
- func (e GetSecretReferenceTreeV4401JSONResponseBodyStatusCode) Valid() bool {
-// 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 VerifyEmailSignupV3400JSONResponseBodyStatusCode enum.
++func (e VerifyEmailSignupV3400JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretReferenceTreeV4401JSONResponseBodyStatusCodeN401:
- case CreateSecretV4401JSONResponseBodyStatusCodeN401:
++ case VerifyEmailSignupV3400JSONResponseBodyStatusCodeN400:
return true
default:
return false
}
}
- // Defines values for GetSecretReferenceTreeV4403JSONResponseBodyStatusCode.
-// Defines values for CreateSecretV4403JSONResponseBodyStatusCode.
++// Defines values for VerifyEmailSignupV3401JSONResponseBodyStatusCode.
const (
- GetSecretReferenceTreeV4403JSONResponseBodyStatusCodeN403 GetSecretReferenceTreeV4403JSONResponseBodyStatusCode = 403
- CreateSecretV4403JSONResponseBodyStatusCodeN403 CreateSecretV4403JSONResponseBodyStatusCode = 403
++ VerifyEmailSignupV3401JSONResponseBodyStatusCodeN401 VerifyEmailSignupV3401JSONResponseBodyStatusCode = 401
)
- // Valid indicates whether the value is a known member of the GetSecretReferenceTreeV4403JSONResponseBodyStatusCode enum.
- func (e GetSecretReferenceTreeV4403JSONResponseBodyStatusCode) Valid() bool {
-// 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 VerifyEmailSignupV3401JSONResponseBodyStatusCode enum.
++func (e VerifyEmailSignupV3401JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretReferenceTreeV4403JSONResponseBodyStatusCodeN403:
- case CreateSecretV4403JSONResponseBodyStatusCodeN403:
++ case VerifyEmailSignupV3401JSONResponseBodyStatusCodeN401:
return true
default:
return false
}
}
- // Defines values for GetSecretReferenceTreeV4404JSONResponseBodyStatusCode.
-// Defines values for CreateSecretV4404JSONResponseBodyStatusCode.
++// Defines values for VerifyEmailSignupV3403JSONResponseBodyStatusCode.
const (
- GetSecretReferenceTreeV4404JSONResponseBodyStatusCodeN404 GetSecretReferenceTreeV4404JSONResponseBodyStatusCode = 404
- CreateSecretV4404JSONResponseBodyStatusCodeN404 CreateSecretV4404JSONResponseBodyStatusCode = 404
++ VerifyEmailSignupV3403JSONResponseBodyStatusCodeN403 VerifyEmailSignupV3403JSONResponseBodyStatusCode = 403
)
- // Valid indicates whether the value is a known member of the GetSecretReferenceTreeV4404JSONResponseBodyStatusCode enum.
- func (e GetSecretReferenceTreeV4404JSONResponseBodyStatusCode) Valid() bool {
-// 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 VerifyEmailSignupV3403JSONResponseBodyStatusCode enum.
++func (e VerifyEmailSignupV3403JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretReferenceTreeV4404JSONResponseBodyStatusCodeN404:
- case CreateSecretV4404JSONResponseBodyStatusCodeN404:
++ case VerifyEmailSignupV3403JSONResponseBodyStatusCodeN403:
return true
default:
return false
}
}
- // Defines values for GetSecretReferenceTreeV4422JSONResponseBodyStatusCode.
-// Defines values for CreateSecretV4422JSONResponseBodyStatusCode.
++// Defines values for VerifyEmailSignupV3404JSONResponseBodyStatusCode.
const (
- GetSecretReferenceTreeV4422JSONResponseBodyStatusCodeN422 GetSecretReferenceTreeV4422JSONResponseBodyStatusCode = 422
- CreateSecretV4422JSONResponseBodyStatusCodeN422 CreateSecretV4422JSONResponseBodyStatusCode = 422
++ VerifyEmailSignupV3404JSONResponseBodyStatusCodeN404 VerifyEmailSignupV3404JSONResponseBodyStatusCode = 404
)
- // Valid indicates whether the value is a known member of the GetSecretReferenceTreeV4422JSONResponseBodyStatusCode enum.
- func (e GetSecretReferenceTreeV4422JSONResponseBodyStatusCode) Valid() bool {
-// 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 VerifyEmailSignupV3404JSONResponseBodyStatusCode enum.
++func (e VerifyEmailSignupV3404JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretReferenceTreeV4422JSONResponseBodyStatusCodeN422:
- case CreateSecretV4422JSONResponseBodyStatusCodeN422:
++ case VerifyEmailSignupV3404JSONResponseBodyStatusCodeN404:
return true
default:
return false
}
}
- // Defines values for GetSecretReferenceTreeV4500JSONResponseBodyStatusCode.
-// Defines values for CreateSecretV4500JSONResponseBodyStatusCode.
++// Defines values for VerifyEmailSignupV3422JSONResponseBodyStatusCode.
const (
- GetSecretReferenceTreeV4500JSONResponseBodyStatusCodeN500 GetSecretReferenceTreeV4500JSONResponseBodyStatusCode = 500
- CreateSecretV4500JSONResponseBodyStatusCodeN500 CreateSecretV4500JSONResponseBodyStatusCode = 500
++ VerifyEmailSignupV3422JSONResponseBodyStatusCodeN422 VerifyEmailSignupV3422JSONResponseBodyStatusCode = 422
)
- // Valid indicates whether the value is a known member of the GetSecretReferenceTreeV4500JSONResponseBodyStatusCode enum.
- func (e GetSecretReferenceTreeV4500JSONResponseBodyStatusCode) Valid() bool {
-// 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 VerifyEmailSignupV3422JSONResponseBodyStatusCode enum.
++func (e VerifyEmailSignupV3422JSONResponseBodyStatusCode) Valid() bool {
switch e {
- case GetSecretReferenceTreeV4500JSONResponseBodyStatusCodeN500:
- case CreateSecretV4500JSONResponseBodyStatusCodeN500:
++ case VerifyEmailSignupV3422JSONResponseBodyStatusCodeN422:
return true
default:
return false
}
}
- // GetInstanceStatus400JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.
- type GetInstanceStatus400JSONResponseBodyStatusCode float32
-// Defines values for GetSecretReferencesV4400JSONResponseBodyStatusCode.
++// Defines values for VerifyEmailSignupV3500JSONResponseBodyStatusCode.
+ const (
- GetSecretReferencesV4400JSONResponseBodyStatusCodeN400 GetSecretReferencesV4400JSONResponseBodyStatusCode = 400
++ VerifyEmailSignupV3500JSONResponseBodyStatusCodeN500 VerifyEmailSignupV3500JSONResponseBodyStatusCode = 500
+ )
- // GetInstanceStatus401JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.
- type GetInstanceStatus401JSONResponseBodyStatusCode float32
-// Valid indicates whether the value is a known member of the GetSecretReferencesV4400JSONResponseBodyStatusCode enum.
-func (e GetSecretReferencesV4400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the VerifyEmailSignupV3500JSONResponseBodyStatusCode enum.
++func (e VerifyEmailSignupV3500JSONResponseBodyStatusCode) Valid() bool {
+ switch e {
- case GetSecretReferencesV4400JSONResponseBodyStatusCodeN400:
++ case VerifyEmailSignupV3500JSONResponseBodyStatusCodeN500:
+ return true
+ default:
+ return false
+ }
+ }
- // GetInstanceStatus403JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.
- type GetInstanceStatus403JSONResponseBodyStatusCode float32
-// Defines values for GetSecretReferencesV4401JSONResponseBodyStatusCode.
++// Defines values for ListSecretsV4ParamsViewSecretValue.
+ const (
- GetSecretReferencesV4401JSONResponseBodyStatusCodeN401 GetSecretReferencesV4401JSONResponseBodyStatusCode = 401
++ ListSecretsV4ParamsViewSecretValueFalse ListSecretsV4ParamsViewSecretValue = "false"
++ ListSecretsV4ParamsViewSecretValueTrue ListSecretsV4ParamsViewSecretValue = "true"
+ )
- // GetInstanceStatus404JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.
- type GetInstanceStatus404JSONResponseBodyStatusCode float32
-// Valid indicates whether the value is a known member of the GetSecretReferencesV4401JSONResponseBodyStatusCode enum.
-func (e GetSecretReferencesV4401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListSecretsV4ParamsViewSecretValue enum.
++func (e ListSecretsV4ParamsViewSecretValue) Valid() bool {
+ switch e {
- case GetSecretReferencesV4401JSONResponseBodyStatusCodeN401:
++ case ListSecretsV4ParamsViewSecretValueFalse:
++ return true
++ case ListSecretsV4ParamsViewSecretValueTrue:
+ return true
+ default:
+ return false
+ }
+ }
- // GetInstanceStatus422JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.
- type GetInstanceStatus422JSONResponseBodyStatusCode float32
-// Defines values for GetSecretReferencesV4403JSONResponseBodyStatusCode.
++// Defines values for ListSecretsV4ParamsExpandSecretReferences.
+ const (
- GetSecretReferencesV4403JSONResponseBodyStatusCodeN403 GetSecretReferencesV4403JSONResponseBodyStatusCode = 403
++ ListSecretsV4ParamsExpandSecretReferencesFalse ListSecretsV4ParamsExpandSecretReferences = "false"
++ ListSecretsV4ParamsExpandSecretReferencesTrue ListSecretsV4ParamsExpandSecretReferences = "true"
+ )
- // GetInstanceStatus500JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.
- type GetInstanceStatus500JSONResponseBodyStatusCode float32
-// Valid indicates whether the value is a known member of the GetSecretReferencesV4403JSONResponseBodyStatusCode enum.
-func (e GetSecretReferencesV4403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListSecretsV4ParamsExpandSecretReferences enum.
++func (e ListSecretsV4ParamsExpandSecretReferences) Valid() bool {
+ switch e {
- case GetSecretReferencesV4403JSONResponseBodyStatusCodeN403:
++ case ListSecretsV4ParamsExpandSecretReferencesFalse:
++ return true
++ case ListSecretsV4ParamsExpandSecretReferencesTrue:
+ return true
+ default:
+ return false
+ }
+ }
- // AdminBootstrapJSONBody defines parameters for AdminBootstrap.
- type AdminBootstrapJSONBody struct {
- Email openapi_types.Email `json:"email"`
- Organization string `json:"organization"`
- Password string `json:"password"`
-// Defines values for GetSecretReferencesV4404JSONResponseBodyStatusCode.
++// Defines values for ListSecretsV4ParamsRecursive.
+ const (
- GetSecretReferencesV4404JSONResponseBodyStatusCodeN404 GetSecretReferencesV4404JSONResponseBodyStatusCode = 404
++ ListSecretsV4ParamsRecursiveFalse ListSecretsV4ParamsRecursive = "false"
++ ListSecretsV4ParamsRecursiveTrue ListSecretsV4ParamsRecursive = "true"
+ )
+
-// Valid indicates whether the value is a known member of the GetSecretReferencesV4404JSONResponseBodyStatusCode enum.
-func (e GetSecretReferencesV4404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListSecretsV4ParamsRecursive enum.
++func (e ListSecretsV4ParamsRecursive) Valid() bool {
+ switch e {
- case GetSecretReferencesV4404JSONResponseBodyStatusCodeN404:
++ case ListSecretsV4ParamsRecursiveFalse:
++ return true
++ case ListSecretsV4ParamsRecursiveTrue:
+ return true
+ default:
+ return false
+ }
}
- // AdminBootstrap400JSONResponseBodyStatusCode defines parameters for AdminBootstrap.
- type AdminBootstrap400JSONResponseBodyStatusCode float32
-// Defines values for GetSecretReferencesV4422JSONResponseBodyStatusCode.
++// Defines values for ListSecretsV4ParamsIncludePersonalOverrides.
+ const (
- GetSecretReferencesV4422JSONResponseBodyStatusCodeN422 GetSecretReferencesV4422JSONResponseBodyStatusCode = 422
++ ListSecretsV4ParamsIncludePersonalOverridesFalse ListSecretsV4ParamsIncludePersonalOverrides = "false"
++ ListSecretsV4ParamsIncludePersonalOverridesTrue ListSecretsV4ParamsIncludePersonalOverrides = "true"
+ )
- // AdminBootstrap401JSONResponseBodyStatusCode defines parameters for AdminBootstrap.
- type AdminBootstrap401JSONResponseBodyStatusCode float32
-// Valid indicates whether the value is a known member of the GetSecretReferencesV4422JSONResponseBodyStatusCode enum.
-func (e GetSecretReferencesV4422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListSecretsV4ParamsIncludePersonalOverrides enum.
++func (e ListSecretsV4ParamsIncludePersonalOverrides) Valid() bool {
+ switch e {
- case GetSecretReferencesV4422JSONResponseBodyStatusCodeN422:
++ case ListSecretsV4ParamsIncludePersonalOverridesFalse:
++ return true
++ case ListSecretsV4ParamsIncludePersonalOverridesTrue:
+ return true
+ default:
+ return false
+ }
+ }
- // AdminBootstrap403JSONResponseBodyStatusCode defines parameters for AdminBootstrap.
- type AdminBootstrap403JSONResponseBodyStatusCode float32
-// Defines values for GetSecretReferencesV4500JSONResponseBodyStatusCode.
++// Defines values for ListSecretsV4ParamsIncludeImports.
+ const (
- GetSecretReferencesV4500JSONResponseBodyStatusCodeN500 GetSecretReferencesV4500JSONResponseBodyStatusCode = 500
++ ListSecretsV4ParamsIncludeImportsFalse ListSecretsV4ParamsIncludeImports = "false"
++ ListSecretsV4ParamsIncludeImportsTrue ListSecretsV4ParamsIncludeImports = "true"
+ )
- // AdminBootstrap404JSONResponseBodyStatusCode defines parameters for AdminBootstrap.
- type AdminBootstrap404JSONResponseBodyStatusCode float32
-// Valid indicates whether the value is a known member of the GetSecretReferencesV4500JSONResponseBodyStatusCode enum.
-func (e GetSecretReferencesV4500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListSecretsV4ParamsIncludeImports enum.
++func (e ListSecretsV4ParamsIncludeImports) Valid() bool {
+ switch e {
- case GetSecretReferencesV4500JSONResponseBodyStatusCodeN500:
++ case ListSecretsV4ParamsIncludeImportsFalse:
++ return true
++ case ListSecretsV4ParamsIncludeImportsTrue:
+ return true
+ default:
+ return false
+ }
+ }
- // AdminBootstrap422JSONResponseBodyStatusCode defines parameters for AdminBootstrap.
- type AdminBootstrap422JSONResponseBodyStatusCode float32
-// Defines values for GetSecretReferenceTreeV4400JSONResponseBodyStatusCode.
++// Defines values for ListSecretsV4400JSONResponseBodyStatusCode.
+ const (
- GetSecretReferenceTreeV4400JSONResponseBodyStatusCodeN400 GetSecretReferenceTreeV4400JSONResponseBodyStatusCode = 400
++ ListSecretsV4400JSONResponseBodyStatusCodeN400 ListSecretsV4400JSONResponseBodyStatusCode = 400
+ )
- // AdminBootstrap500JSONResponseBodyStatusCode defines parameters for AdminBootstrap.
- type AdminBootstrap500JSONResponseBodyStatusCode float32
-// Valid indicates whether the value is a known member of the GetSecretReferenceTreeV4400JSONResponseBodyStatusCode enum.
-func (e GetSecretReferenceTreeV4400JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListSecretsV4400JSONResponseBodyStatusCode enum.
++func (e ListSecretsV4400JSONResponseBodyStatusCode) Valid() bool {
+ switch e {
- case GetSecretReferenceTreeV4400JSONResponseBodyStatusCodeN400:
++ case ListSecretsV4400JSONResponseBodyStatusCodeN400:
+ return true
+ default:
+ return false
+ }
+ }
- // 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"`
-// Defines values for GetSecretReferenceTreeV4401JSONResponseBodyStatusCode.
++// Defines values for ListSecretsV4401JSONResponseBodyStatusCode.
+ const (
- GetSecretReferenceTreeV4401JSONResponseBodyStatusCodeN401 GetSecretReferenceTreeV4401JSONResponseBodyStatusCode = 401
++ ListSecretsV4401JSONResponseBodyStatusCodeN401 ListSecretsV4401JSONResponseBodyStatusCode = 401
+ )
+
-// Valid indicates whether the value is a known member of the GetSecretReferenceTreeV4401JSONResponseBodyStatusCode enum.
-func (e GetSecretReferenceTreeV4401JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListSecretsV4401JSONResponseBodyStatusCode enum.
++func (e ListSecretsV4401JSONResponseBodyStatusCode) Valid() bool {
+ switch e {
- case GetSecretReferenceTreeV4401JSONResponseBodyStatusCodeN401:
++ case ListSecretsV4401JSONResponseBodyStatusCodeN401:
+ return true
+ default:
+ return false
+ }
+ }
+
-// Defines values for GetSecretReferenceTreeV4403JSONResponseBodyStatusCode.
++// Defines values for ListSecretsV4403JSONResponseBodyStatusCode.
+ const (
- GetSecretReferenceTreeV4403JSONResponseBodyStatusCodeN403 GetSecretReferenceTreeV4403JSONResponseBodyStatusCode = 403
++ ListSecretsV4403JSONResponseBodyStatusCodeN403 ListSecretsV4403JSONResponseBodyStatusCode = 403
+ )
+
-// Valid indicates whether the value is a known member of the GetSecretReferenceTreeV4403JSONResponseBodyStatusCode enum.
-func (e GetSecretReferenceTreeV4403JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListSecretsV4403JSONResponseBodyStatusCode enum.
++func (e ListSecretsV4403JSONResponseBodyStatusCode) Valid() bool {
+ switch e {
- case GetSecretReferenceTreeV4403JSONResponseBodyStatusCodeN403:
++ case ListSecretsV4403JSONResponseBodyStatusCodeN403:
+ return true
+ default:
+ return false
+ }
+ }
+
-// Defines values for GetSecretReferenceTreeV4404JSONResponseBodyStatusCode.
++// Defines values for ListSecretsV4404JSONResponseBodyStatusCode.
+ const (
- GetSecretReferenceTreeV4404JSONResponseBodyStatusCodeN404 GetSecretReferenceTreeV4404JSONResponseBodyStatusCode = 404
++ ListSecretsV4404JSONResponseBodyStatusCodeN404 ListSecretsV4404JSONResponseBodyStatusCode = 404
+ )
+
-// Valid indicates whether the value is a known member of the GetSecretReferenceTreeV4404JSONResponseBodyStatusCode enum.
-func (e GetSecretReferenceTreeV4404JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListSecretsV4404JSONResponseBodyStatusCode enum.
++func (e ListSecretsV4404JSONResponseBodyStatusCode) Valid() bool {
+ switch e {
- case GetSecretReferenceTreeV4404JSONResponseBodyStatusCodeN404:
++ case ListSecretsV4404JSONResponseBodyStatusCodeN404:
+ return true
+ default:
+ return false
+ }
+ }
+
-// Defines values for GetSecretReferenceTreeV4422JSONResponseBodyStatusCode.
++// Defines values for ListSecretsV4422JSONResponseBodyStatusCode.
+ const (
- GetSecretReferenceTreeV4422JSONResponseBodyStatusCodeN422 GetSecretReferenceTreeV4422JSONResponseBodyStatusCode = 422
++ ListSecretsV4422JSONResponseBodyStatusCodeN422 ListSecretsV4422JSONResponseBodyStatusCode = 422
+ )
+
-// Valid indicates whether the value is a known member of the GetSecretReferenceTreeV4422JSONResponseBodyStatusCode enum.
-func (e GetSecretReferenceTreeV4422JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListSecretsV4422JSONResponseBodyStatusCode enum.
++func (e ListSecretsV4422JSONResponseBodyStatusCode) Valid() bool {
+ switch e {
- case GetSecretReferenceTreeV4422JSONResponseBodyStatusCodeN422:
++ case ListSecretsV4422JSONResponseBodyStatusCodeN422:
+ return true
+ default:
+ return false
+ }
+ }
+
-// Defines values for GetSecretReferenceTreeV4500JSONResponseBodyStatusCode.
++// Defines values for ListSecretsV4500JSONResponseBodyStatusCode.
+ const (
- GetSecretReferenceTreeV4500JSONResponseBodyStatusCodeN500 GetSecretReferenceTreeV4500JSONResponseBodyStatusCode = 500
++ ListSecretsV4500JSONResponseBodyStatusCodeN500 ListSecretsV4500JSONResponseBodyStatusCode = 500
+ )
+
-// Valid indicates whether the value is a known member of the GetSecretReferenceTreeV4500JSONResponseBodyStatusCode enum.
-func (e GetSecretReferenceTreeV4500JSONResponseBodyStatusCode) Valid() bool {
++// Valid indicates whether the value is a known member of the ListSecretsV4500JSONResponseBodyStatusCode enum.
++func (e ListSecretsV4500JSONResponseBodyStatusCode) Valid() bool {
+ switch e {
- case GetSecretReferenceTreeV4500JSONResponseBodyStatusCodeN500:
++ case ListSecretsV4500JSONResponseBodyStatusCodeN500:
+ return true
+ default:
+ return false
+ }
+ }
+
-// GetInstanceStatus400JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.
-type GetInstanceStatus400JSONResponseBodyStatusCode float32
-
-// GetInstanceStatus401JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.
-type GetInstanceStatus401JSONResponseBodyStatusCode float32
++// Defines values for DeleteManySecretsV4JSONBodySecretsType.
++const (
++ DeleteManySecretsV4JSONBodySecretsTypePersonal DeleteManySecretsV4JSONBodySecretsType = "personal"
++ DeleteManySecretsV4JSONBodySecretsTypeShared DeleteManySecretsV4JSONBodySecretsType = "shared"
++)
+
-// GetInstanceStatus403JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.
-type GetInstanceStatus403JSONResponseBodyStatusCode 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
++ }
++}
+
-// GetInstanceStatus404JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.
-type GetInstanceStatus404JSONResponseBodyStatusCode float32
++// Defines values for DeleteManySecretsV4400JSONResponseBodyStatusCode.
++const (
++ DeleteManySecretsV4400JSONResponseBodyStatusCodeN400 DeleteManySecretsV4400JSONResponseBodyStatusCode = 400
++)
+
-// GetInstanceStatus422JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.
-type GetInstanceStatus422JSONResponseBodyStatusCode float32
++// 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
++ }
++}
+
-// GetInstanceStatus500JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.
-type GetInstanceStatus500JSONResponseBodyStatusCode float32
++// Defines values for DeleteManySecretsV4401JSONResponseBodyStatusCode.
++const (
++ DeleteManySecretsV4401JSONResponseBodyStatusCodeN401 DeleteManySecretsV4401JSONResponseBodyStatusCode = 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 DeleteManySecretsV4401JSONResponseBodyStatusCode enum.
++func (e DeleteManySecretsV4401JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case DeleteManySecretsV4401JSONResponseBodyStatusCodeN401:
++ return true
++ default:
++ return false
++ }
+ }
+
-// AdminBootstrap400JSONResponseBodyStatusCode defines parameters for AdminBootstrap.
-type AdminBootstrap400JSONResponseBodyStatusCode float32
-
-// AdminBootstrap401JSONResponseBodyStatusCode defines parameters for AdminBootstrap.
-type AdminBootstrap401JSONResponseBodyStatusCode float32
++// Defines values for DeleteManySecretsV4403JSONResponseBodyStatusCode.
++const (
++ DeleteManySecretsV4403JSONResponseBodyStatusCodeN403 DeleteManySecretsV4403JSONResponseBodyStatusCode = 403
++)
+
-// AdminBootstrap403JSONResponseBodyStatusCode defines parameters for AdminBootstrap.
-type AdminBootstrap403JSONResponseBodyStatusCode 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
++ }
++}
+
-// AdminBootstrap404JSONResponseBodyStatusCode defines parameters for AdminBootstrap.
-type AdminBootstrap404JSONResponseBodyStatusCode float32
++// Defines values for DeleteManySecretsV4404JSONResponseBodyStatusCode.
++const (
++ DeleteManySecretsV4404JSONResponseBodyStatusCodeN404 DeleteManySecretsV4404JSONResponseBodyStatusCode = 404
++)
+
-// AdminBootstrap422JSONResponseBodyStatusCode defines parameters for AdminBootstrap.
-type AdminBootstrap422JSONResponseBodyStatusCode float32
++// 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
++ }
++}
+
-// AdminBootstrap500JSONResponseBodyStatusCode defines parameters for AdminBootstrap.
-type AdminBootstrap500JSONResponseBodyStatusCode float32
++// Defines values for DeleteManySecretsV4422JSONResponseBodyStatusCode.
++const (
++ DeleteManySecretsV4422JSONResponseBodyStatusCodeN422 DeleteManySecretsV4422JSONResponseBodyStatusCode = 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 DeleteManySecretsV4422JSONResponseBodyStatusCode enum.
++func (e DeleteManySecretsV4422JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case DeleteManySecretsV4422JSONResponseBodyStatusCodeN422:
++ return true
++ default:
++ return false
++ }
+ }
+
-// UpdateAdminConfigJSONBodyEnabledLoginMethods defines parameters for UpdateAdminConfig.
-type UpdateAdminConfigJSONBodyEnabledLoginMethods string
++// Defines values for DeleteManySecretsV4500JSONResponseBodyStatusCode.
++const (
++ DeleteManySecretsV4500JSONResponseBodyStatusCodeN500 DeleteManySecretsV4500JSONResponseBodyStatusCode = 500
++)
+
-// UpdateAdminConfig400JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.
-type UpdateAdminConfig400JSONResponseBodyStatusCode 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
++ }
++}
+
-// UpdateAdminConfig401JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.
-type UpdateAdminConfig401JSONResponseBodyStatusCode float32
-
-// UpdateAdminConfig403JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.
-type UpdateAdminConfig403JSONResponseBodyStatusCode float32
++// Defines values for UpdateManySecretsV4JSONBodyMode.
++const (
++ FailOnNotFound UpdateManySecretsV4JSONBodyMode = "failOnNotFound"
++ Ignore UpdateManySecretsV4JSONBodyMode = "ignore"
++ Upsert UpdateManySecretsV4JSONBodyMode = "upsert"
++)
+
-// UpdateAdminConfig404JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.
-type UpdateAdminConfig404JSONResponseBodyStatusCode float32
++// 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
++ }
++}
+
-// UpdateAdminConfig422JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.
-type UpdateAdminConfig422JSONResponseBodyStatusCode float32
++// Defines values for UpdateManySecretsV4400JSONResponseBodyStatusCode.
++const (
++ UpdateManySecretsV4400JSONResponseBodyStatusCodeN400 UpdateManySecretsV4400JSONResponseBodyStatusCode = 400
++)
+
-// UpdateAdminConfig500JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.
-type UpdateAdminConfig500JSONResponseBodyStatusCode 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
++ }
++}
+
-// CreateGitHubAppConnectionJSONBody defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnectionJSONBody struct {
- // Description An optional description for the GitHub Connection.
- Description *string `json:"description,omitempty"`
++// Defines values for UpdateManySecretsV4401JSONResponseBodyStatusCode.
++const (
++ UpdateManySecretsV4401JSONResponseBodyStatusCodeN401 UpdateManySecretsV4401JSONResponseBodyStatusCode = 401
++)
+
- // 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 UpdateManySecretsV4401JSONResponseBodyStatusCode enum.
++func (e UpdateManySecretsV4401JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case UpdateManySecretsV4401JSONResponseBodyStatusCodeN401:
++ 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 UpdateManySecretsV4403JSONResponseBodyStatusCode.
++const (
++ UpdateManySecretsV4403JSONResponseBodyStatusCodeN403 UpdateManySecretsV4403JSONResponseBodyStatusCode = 403
++)
+
- // IsAutoRotationEnabled Not supported for GitHub Connections.
- IsAutoRotationEnabled *CreateGitHubAppConnectionJSONBodyIsAutoRotationEnabled `json:"isAutoRotationEnabled,omitempty"`
++// 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
++ }
++}
+
- // IsPlatformManagedCredentials Not supported for GitHub Connections.
- IsPlatformManagedCredentials *CreateGitHubAppConnectionJSONBodyIsPlatformManagedCredentials `json:"isPlatformManagedCredentials,omitempty"`
++// Defines values for UpdateManySecretsV4404JSONResponseBodyStatusCode.
++const (
++ UpdateManySecretsV4404JSONResponseBodyStatusCodeN404 UpdateManySecretsV4404JSONResponseBodyStatusCode = 404
++)
+
- // 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 UpdateManySecretsV4404JSONResponseBodyStatusCode enum.
++func (e UpdateManySecretsV4404JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case UpdateManySecretsV4404JSONResponseBodyStatusCodeN404:
++ 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 UpdateManySecretsV4422JSONResponseBodyStatusCode.
++const (
++ UpdateManySecretsV4422JSONResponseBodyStatusCodeN422 UpdateManySecretsV4422JSONResponseBodyStatusCode = 422
++)
+
- // 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 UpdateManySecretsV4422JSONResponseBodyStatusCode enum.
++func (e UpdateManySecretsV4422JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case UpdateManySecretsV4422JSONResponseBodyStatusCodeN422:
++ return true
++ default:
++ return false
++ }
+ }
+
-// CreateGitHubAppConnectionJSONBodyIsAutoRotationEnabled defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnectionJSONBodyIsAutoRotationEnabled bool
-
-// CreateGitHubAppConnectionJSONBodyIsPlatformManagedCredentials defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnectionJSONBodyIsPlatformManagedCredentials bool
++// Defines values for UpdateManySecretsV4500JSONResponseBodyStatusCode.
++const (
++ UpdateManySecretsV4500JSONResponseBodyStatusCodeN500 UpdateManySecretsV4500JSONResponseBodyStatusCode = 500
++)
+
-// CreateGitHubAppConnectionJSONBodyRotation0 defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnectionJSONBodyRotation0 = interface{}
++// 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
++ }
++}
+
-// CreateGitHubAppConnectionJSONBodyRotation1 defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnectionJSONBodyRotation1 = interface{}
++// Defines values for CreateManySecretsV4400JSONResponseBodyStatusCode.
++const (
++ CreateManySecretsV4400JSONResponseBodyStatusCodeN400 CreateManySecretsV4400JSONResponseBodyStatusCode = 400
++)
+
-// CreateGitHubAppConnectionJSONBody_Rotation defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnectionJSONBody_Rotation struct {
- union json.RawMessage
++// 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
++ }
+ }
+
-// 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 CreateManySecretsV4401JSONResponseBodyStatusCode.
++const (
++ CreateManySecretsV4401JSONResponseBodyStatusCodeN401 CreateManySecretsV4401JSONResponseBodyStatusCode = 401
++)
+
- // Method The method used to authenticate with GitHub.
- Method CreateGitHubAppConnectionJSONBody0Method `json:"method"`
++// 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
++ }
+ }
+
-// 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 CreateManySecretsV4403JSONResponseBodyStatusCode.
++const (
++ CreateManySecretsV4403JSONResponseBodyStatusCodeN403 CreateManySecretsV4403JSONResponseBodyStatusCode = 403
++)
++
++// 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
++ }
+ }
+
-// CreateGitHubAppConnectionJSONBody0Credentials0InstanceType defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnectionJSONBody0Credentials0InstanceType string
++// Defines values for CreateManySecretsV4404JSONResponseBodyStatusCode.
++const (
++ CreateManySecretsV4404JSONResponseBodyStatusCodeN404 CreateManySecretsV4404JSONResponseBodyStatusCode = 404
++)
+
-// 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 CreateManySecretsV4404JSONResponseBodyStatusCode enum.
++func (e CreateManySecretsV4404JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case CreateManySecretsV4404JSONResponseBodyStatusCodeN404:
++ return true
++ default:
++ return false
++ }
+ }
+
-// CreateGitHubAppConnectionJSONBody0Credentials1InstanceType defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnectionJSONBody0Credentials1InstanceType string
++// Defines values for CreateManySecretsV4422JSONResponseBodyStatusCode.
++const (
++ CreateManySecretsV4422JSONResponseBodyStatusCodeN422 CreateManySecretsV4422JSONResponseBodyStatusCode = 422
++)
+
-// 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 CreateManySecretsV4422JSONResponseBodyStatusCode enum.
++func (e CreateManySecretsV4422JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case CreateManySecretsV4422JSONResponseBodyStatusCodeN422:
++ 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 CreateManySecretsV4500JSONResponseBodyStatusCode.
++const (
++ CreateManySecretsV4500JSONResponseBodyStatusCodeN500 CreateManySecretsV4500JSONResponseBodyStatusCode = 500
++)
+
- // Method The method used to authenticate with GitHub.
- Method CreateGitHubAppConnectionJSONBody1Method `json:"method"`
++// 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
++ }
+ }
+
-// CreateGitHubAppConnectionJSONBody1Credentials0 defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnectionJSONBody1Credentials0 struct {
- Code string `json:"code"`
- Host string `json:"host"`
- InstanceType CreateGitHubAppConnectionJSONBody1Credentials0InstanceType `json:"instanceType"`
++// Defines values for DuplicateSecretV4400JSONResponseBodyStatusCode.
++const (
++ DuplicateSecretV4400JSONResponseBodyStatusCodeN400 DuplicateSecretV4400JSONResponseBodyStatusCode = 400
++)
++
++// 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
++ }
+ }
+
-// CreateGitHubAppConnectionJSONBody1Credentials0InstanceType defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnectionJSONBody1Credentials0InstanceType string
++// Defines values for DuplicateSecretV4401JSONResponseBodyStatusCode.
++const (
++ DuplicateSecretV4401JSONResponseBodyStatusCodeN401 DuplicateSecretV4401JSONResponseBodyStatusCode = 401
++)
+
-// 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 DuplicateSecretV4401JSONResponseBodyStatusCode enum.
++func (e DuplicateSecretV4401JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case DuplicateSecretV4401JSONResponseBodyStatusCodeN401:
++ return true
++ default:
++ return false
++ }
+ }
+
-// CreateGitHubAppConnectionJSONBody1Credentials1InstanceType defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnectionJSONBody1Credentials1InstanceType string
++// Defines values for DuplicateSecretV4403JSONResponseBodyStatusCode.
++const (
++ DuplicateSecretV4403JSONResponseBodyStatusCodeN403 DuplicateSecretV4403JSONResponseBodyStatusCode = 403
++)
+
-// 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 DuplicateSecretV4403JSONResponseBodyStatusCode enum.
++func (e DuplicateSecretV4403JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case DuplicateSecretV4403JSONResponseBodyStatusCodeN403:
++ 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 DuplicateSecretV4404JSONResponseBodyStatusCode.
++const (
++ DuplicateSecretV4404JSONResponseBodyStatusCodeN404 DuplicateSecretV4404JSONResponseBodyStatusCode = 404
++)
+
- // Method The method used to authenticate with GitHub.
- Method CreateGitHubAppConnectionJSONBody2Method `json:"method"`
++// 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
++ }
+ }
+
-// CreateGitHubAppConnectionJSONBody2Credentials0 defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnectionJSONBody2Credentials0 struct {
- Host string `json:"host"`
- InstanceType CreateGitHubAppConnectionJSONBody2Credentials0InstanceType `json:"instanceType"`
- PersonalAccessToken string `json:"personalAccessToken"`
++// Defines values for DuplicateSecretV4422JSONResponseBodyStatusCode.
++const (
++ DuplicateSecretV4422JSONResponseBodyStatusCodeN422 DuplicateSecretV4422JSONResponseBodyStatusCode = 422
++)
++
++// 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
++ }
+ }
+
-// CreateGitHubAppConnectionJSONBody2Credentials0InstanceType defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnectionJSONBody2Credentials0InstanceType string
++// Defines values for DuplicateSecretV4500JSONResponseBodyStatusCode.
++const (
++ DuplicateSecretV4500JSONResponseBodyStatusCodeN500 DuplicateSecretV4500JSONResponseBodyStatusCode = 500
++)
+
-// 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 DuplicateSecretV4500JSONResponseBodyStatusCode enum.
++func (e DuplicateSecretV4500JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case DuplicateSecretV4500JSONResponseBodyStatusCodeN500:
++ return true
++ default:
++ return false
++ }
+ }
+
-// CreateGitHubAppConnectionJSONBody2Credentials1InstanceType defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnectionJSONBody2Credentials1InstanceType string
++// Defines values for GetSecretByIdV4400JSONResponseBodyStatusCode.
++const (
++ GetSecretByIdV4400JSONResponseBodyStatusCodeN400 GetSecretByIdV4400JSONResponseBodyStatusCode = 400
++)
+
-// 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 GetSecretByIdV4400JSONResponseBodyStatusCode enum.
++func (e GetSecretByIdV4400JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case GetSecretByIdV4400JSONResponseBodyStatusCodeN400:
++ return true
++ default:
++ return false
++ }
+ }
+
-// CreateGitHubAppConnectionJSONBody2Method defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnectionJSONBody2Method string
++// Defines values for GetSecretByIdV4401JSONResponseBodyStatusCode.
++const (
++ GetSecretByIdV4401JSONResponseBodyStatusCodeN401 GetSecretByIdV4401JSONResponseBodyStatusCode = 401
++)
+
-// 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 GetSecretByIdV4401JSONResponseBodyStatusCode enum.
++func (e GetSecretByIdV4401JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case GetSecretByIdV4401JSONResponseBodyStatusCodeN401:
++ 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 GetSecretByIdV4403JSONResponseBodyStatusCode.
++const (
++ GetSecretByIdV4403JSONResponseBodyStatusCodeN403 GetSecretByIdV4403JSONResponseBodyStatusCode = 403
++)
+
- // NextRotationAt The next scheduled rotation time.
- NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
++// 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
++ }
++}
+
- // 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 GetSecretByIdV4404JSONResponseBodyStatusCode.
++const (
++ GetSecretByIdV4404JSONResponseBodyStatusCodeN404 GetSecretByIdV4404JSONResponseBodyStatusCode = 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 GetSecretByIdV4404JSONResponseBodyStatusCode enum.
++func (e GetSecretByIdV4404JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case GetSecretByIdV4404JSONResponseBodyStatusCodeN404:
++ return true
++ default:
++ return false
++ }
++}
+
- // RotationInterval The interval in days between credential rotations.
- RotationInterval float32 `json:"rotationInterval"`
++// Defines values for GetSecretByIdV4422JSONResponseBodyStatusCode.
++const (
++ GetSecretByIdV4422JSONResponseBodyStatusCodeN422 GetSecretByIdV4422JSONResponseBodyStatusCode = 422
++)
+
- // 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 GetSecretByIdV4422JSONResponseBodyStatusCode enum.
++func (e GetSecretByIdV4422JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case GetSecretByIdV4422JSONResponseBodyStatusCodeN422:
++ return true
++ default:
++ return false
++ }
+ }
+
-// CreateGitHubAppConnection200JSONResponseBodyAppConnection0App defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnection200JSONResponseBodyAppConnection0App string
++// Defines values for GetSecretByIdV4500JSONResponseBodyStatusCode.
++const (
++ GetSecretByIdV4500JSONResponseBodyStatusCodeN500 GetSecretByIdV4500JSONResponseBodyStatusCode = 500
++)
+
-// CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 string
++// 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
++ }
++}
+
-// CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 string
++// Defines values for MoveSecretsV4400JSONResponseBodyStatusCode.
++const (
++ MoveSecretsV4400JSONResponseBodyStatusCodeN400 MoveSecretsV4400JSONResponseBodyStatusCode = 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 MoveSecretsV4400JSONResponseBodyStatusCode enum.
++func (e MoveSecretsV4400JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case MoveSecretsV4400JSONResponseBodyStatusCodeN400:
++ return true
++ default:
++ return false
++ }
+ }
+
-// CreateGitHubAppConnection200JSONResponseBodyAppConnection0Method defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnection200JSONResponseBodyAppConnection0Method string
-
-// CreateGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus string
++// Defines values for MoveSecretsV4401JSONResponseBodyStatusCode.
++const (
++ MoveSecretsV4401JSONResponseBodyStatusCodeN401 MoveSecretsV4401JSONResponseBodyStatusCode = 401
++)
+
-// 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"`
++// 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
++ }
++}
+
- // 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 MoveSecretsV4403JSONResponseBodyStatusCode.
++const (
++ MoveSecretsV4403JSONResponseBodyStatusCodeN403 MoveSecretsV4403JSONResponseBodyStatusCode = 403
++)
+
- // NextRotationAt The next scheduled rotation time.
- NextRotationAt *time.Time `json:"nextRotationAt,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
++ }
++}
+
- // 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 MoveSecretsV4404JSONResponseBodyStatusCode.
++const (
++ MoveSecretsV4404JSONResponseBodyStatusCodeN404 MoveSecretsV4404JSONResponseBodyStatusCode = 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 MoveSecretsV4404JSONResponseBodyStatusCode enum.
++func (e MoveSecretsV4404JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case MoveSecretsV4404JSONResponseBodyStatusCodeN404:
++ return true
++ default:
++ return false
++ }
++}
+
- // RotationInterval The interval in days between credential rotations.
- RotationInterval float32 `json:"rotationInterval"`
++// Defines values for MoveSecretsV4422JSONResponseBodyStatusCode.
++const (
++ MoveSecretsV4422JSONResponseBodyStatusCodeN422 MoveSecretsV4422JSONResponseBodyStatusCode = 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 MoveSecretsV4422JSONResponseBodyStatusCode enum.
++func (e MoveSecretsV4422JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case MoveSecretsV4422JSONResponseBodyStatusCodeN422:
++ return true
++ default:
++ return false
++ }
+ }
+
-// CreateGitHubAppConnection200JSONResponseBodyAppConnection1App defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnection200JSONResponseBodyAppConnection1App string
++// Defines values for MoveSecretsV4500JSONResponseBodyStatusCode.
++const (
++ MoveSecretsV4500JSONResponseBodyStatusCodeN500 MoveSecretsV4500JSONResponseBodyStatusCode = 500
++)
+
-// CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 string
++// 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
++ }
++}
+
-// CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 string
++// Defines values for DeleteSecretV4JSONBodyType.
++const (
++ DeleteSecretV4JSONBodyTypePersonal DeleteSecretV4JSONBodyType = "personal"
++ DeleteSecretV4JSONBodyTypeShared DeleteSecretV4JSONBodyType = "shared"
++)
+
-// 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 DeleteSecretV4JSONBodyType enum.
++func (e DeleteSecretV4JSONBodyType) Valid() bool {
++ switch e {
++ case DeleteSecretV4JSONBodyTypePersonal:
++ return true
++ case DeleteSecretV4JSONBodyTypeShared:
++ return true
++ default:
++ return false
++ }
+ }
+
-// CreateGitHubAppConnection200JSONResponseBodyAppConnection1Method defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnection200JSONResponseBodyAppConnection1Method string
-
-// CreateGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus string
++// Defines values for DeleteSecretV4400JSONResponseBodyStatusCode.
++const (
++ DeleteSecretV4400JSONResponseBodyStatusCodeN400 DeleteSecretV4400JSONResponseBodyStatusCode = 400
++)
+
-// 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 DeleteSecretV4400JSONResponseBodyStatusCode enum.
++func (e DeleteSecretV4400JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case DeleteSecretV4400JSONResponseBodyStatusCodeN400:
++ 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 DeleteSecretV4401JSONResponseBodyStatusCode.
++const (
++ DeleteSecretV4401JSONResponseBodyStatusCodeN401 DeleteSecretV4401JSONResponseBodyStatusCode = 401
++)
+
- // NextRotationAt The next scheduled rotation time.
- NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
++// 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
++ }
++}
+
- // 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 DeleteSecretV4403JSONResponseBodyStatusCode.
++const (
++ DeleteSecretV4403JSONResponseBodyStatusCodeN403 DeleteSecretV4403JSONResponseBodyStatusCode = 403
++)
+
- // 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 DeleteSecretV4403JSONResponseBodyStatusCode enum.
++func (e DeleteSecretV4403JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case DeleteSecretV4403JSONResponseBodyStatusCodeN403:
++ return true
++ default:
++ return false
++ }
++}
+
- // RotationInterval The interval in days between credential rotations.
- RotationInterval float32 `json:"rotationInterval"`
++// Defines values for DeleteSecretV4404JSONResponseBodyStatusCode.
++const (
++ DeleteSecretV4404JSONResponseBodyStatusCodeN404 DeleteSecretV4404JSONResponseBodyStatusCode = 404
++)
+
- // 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 DeleteSecretV4404JSONResponseBodyStatusCode enum.
++func (e DeleteSecretV4404JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case DeleteSecretV4404JSONResponseBodyStatusCodeN404:
++ return true
++ default:
++ return false
++ }
+ }
+
-// CreateGitHubAppConnection200JSONResponseBodyAppConnection2App defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnection200JSONResponseBodyAppConnection2App string
++// Defines values for DeleteSecretV4422JSONResponseBodyStatusCode.
++const (
++ DeleteSecretV4422JSONResponseBodyStatusCodeN422 DeleteSecretV4422JSONResponseBodyStatusCode = 422
++)
+
-// CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 string
++// 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
++ }
++}
+
-// CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 string
++// Defines values for DeleteSecretV4500JSONResponseBodyStatusCode.
++const (
++ DeleteSecretV4500JSONResponseBodyStatusCodeN500 DeleteSecretV4500JSONResponseBodyStatusCode = 500
++)
+
-// 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 DeleteSecretV4500JSONResponseBodyStatusCode enum.
++func (e DeleteSecretV4500JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case DeleteSecretV4500JSONResponseBodyStatusCodeN500:
++ return true
++ default:
++ return false
++ }
+ }
+
-// CreateGitHubAppConnection200JSONResponseBodyAppConnection2Method defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnection200JSONResponseBodyAppConnection2Method string
-
-// CreateGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus string
++// Defines values for GetSecretByNameV4ParamsType.
++const (
++ GetSecretByNameV4ParamsTypePersonal GetSecretByNameV4ParamsType = "personal"
++ GetSecretByNameV4ParamsTypeShared GetSecretByNameV4ParamsType = "shared"
++)
+
-// CreateGitHubAppConnection200JSONResponseBody_AppConnection defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnection200JSONResponseBody_AppConnection struct {
- union json.RawMessage
++// 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
++ }
+ }
+
-// CreateGitHubAppConnection400JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnection400JSONResponseBodyStatusCode float32
++// Defines values for GetSecretByNameV4ParamsViewSecretValue.
++const (
++ GetSecretByNameV4ParamsViewSecretValueFalse GetSecretByNameV4ParamsViewSecretValue = "false"
++ GetSecretByNameV4ParamsViewSecretValueTrue GetSecretByNameV4ParamsViewSecretValue = "true"
++)
+
-// CreateGitHubAppConnection401JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnection401JSONResponseBodyStatusCode float32
++// 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
++ }
++}
+
-// CreateGitHubAppConnection403JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnection403JSONResponseBodyStatusCode float32
++// Defines values for GetSecretByNameV4ParamsExpandSecretReferences.
++const (
++ GetSecretByNameV4ParamsExpandSecretReferencesFalse GetSecretByNameV4ParamsExpandSecretReferences = "false"
++ GetSecretByNameV4ParamsExpandSecretReferencesTrue GetSecretByNameV4ParamsExpandSecretReferences = "true"
++)
+
-// CreateGitHubAppConnection404JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnection404JSONResponseBodyStatusCode float32
++// 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
++ }
++}
+
-// CreateGitHubAppConnection422JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnection422JSONResponseBodyStatusCode float32
++// Defines values for GetSecretByNameV4ParamsIncludeImports.
++const (
++ GetSecretByNameV4ParamsIncludeImportsFalse GetSecretByNameV4ParamsIncludeImports = "false"
++ GetSecretByNameV4ParamsIncludeImportsTrue GetSecretByNameV4ParamsIncludeImports = "true"
++)
+
-// CreateGitHubAppConnection500JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.
-type CreateGitHubAppConnection500JSONResponseBodyStatusCode float32
++// 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
++ }
++}
+
-// 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"`
++// Defines values for GetSecretByNameV4400JSONResponseBodyStatusCode.
++const (
++ GetSecretByNameV4400JSONResponseBodyStatusCodeN400 GetSecretByNameV4400JSONResponseBodyStatusCode = 400
++)
+
- // Rotation The credential rotation configuration, if configured.
- Rotation *struct {
- // LastRotationMessage The message from the last rotation attempt.
- LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
++// 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
++ }
++}
+
- // NextRotationAt The next scheduled rotation time.
- NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
++// Defines values for GetSecretByNameV4401JSONResponseBodyStatusCode.
++const (
++ GetSecretByNameV4401JSONResponseBodyStatusCodeN401 GetSecretByNameV4401JSONResponseBodyStatusCode = 401
++)
+
- // 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"`
++// 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
++ }
++}
+
- // Minutes The minute (0-59) at which to rotate.
- Minutes float32 `json:"minutes"`
- } `json:"rotateAtUtc"`
++// Defines values for GetSecretByNameV4403JSONResponseBodyStatusCode.
++const (
++ GetSecretByNameV4403JSONResponseBodyStatusCodeN403 GetSecretByNameV4403JSONResponseBodyStatusCode = 403
++)
+
- // RotationInterval The interval in days between credential rotations.
- RotationInterval float32 `json:"rotationInterval"`
++// 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
++ }
++}
+
- // 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"`
++// Defines values for GetSecretByNameV4404JSONResponseBodyStatusCode.
++const (
++ GetSecretByNameV4404JSONResponseBodyStatusCodeN404 GetSecretByNameV4404JSONResponseBodyStatusCode = 404
++)
++
++// 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
++ }
+ }
+
-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0App defines parameters for DeleteGitHubAppConnection.
-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0App string
++// Defines values for GetSecretByNameV4422JSONResponseBodyStatusCode.
++const (
++ GetSecretByNameV4422JSONResponseBodyStatusCodeN422 GetSecretByNameV4422JSONResponseBodyStatusCode = 422
++)
+
-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 defines parameters for DeleteGitHubAppConnection.
-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 string
++// 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
++ }
++}
+
-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 defines parameters for DeleteGitHubAppConnection.
-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 string
++// Defines values for GetSecretByNameV4500JSONResponseBodyStatusCode.
++const (
++ GetSecretByNameV4500JSONResponseBodyStatusCodeN500 GetSecretByNameV4500JSONResponseBodyStatusCode = 500
++)
+
-// 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 GetSecretByNameV4500JSONResponseBodyStatusCode enum.
++func (e GetSecretByNameV4500JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case GetSecretByNameV4500JSONResponseBodyStatusCodeN500:
++ return true
++ default:
++ return false
++ }
+ }
+
-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0Method defines parameters for DeleteGitHubAppConnection.
-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0Method string
++// Defines values for UpdateSecretV4JSONBodyType.
++const (
++ UpdateSecretV4JSONBodyTypePersonal UpdateSecretV4JSONBodyType = "personal"
++ UpdateSecretV4JSONBodyTypeShared UpdateSecretV4JSONBodyType = "shared"
++)
+
-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus defines parameters for DeleteGitHubAppConnection.
-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus string
++// 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
++ }
++}
+
-// 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"`
-
- // 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 UpdateSecretV4400JSONResponseBodyStatusCode.
++const (
++ UpdateSecretV4400JSONResponseBodyStatusCodeN400 UpdateSecretV4400JSONResponseBodyStatusCode = 400
++)
+
- // NextRotationAt The next scheduled rotation time.
- NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
++// 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
++ }
++}
+
- // 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 UpdateSecretV4401JSONResponseBodyStatusCode.
++const (
++ UpdateSecretV4401JSONResponseBodyStatusCodeN401 UpdateSecretV4401JSONResponseBodyStatusCode = 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 UpdateSecretV4401JSONResponseBodyStatusCode enum.
++func (e UpdateSecretV4401JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case UpdateSecretV4401JSONResponseBodyStatusCodeN401:
++ return true
++ default:
++ return false
++ }
++}
+
- // RotationInterval The interval in days between credential rotations.
- RotationInterval float32 `json:"rotationInterval"`
++// Defines values for UpdateSecretV4403JSONResponseBodyStatusCode.
++const (
++ UpdateSecretV4403JSONResponseBodyStatusCodeN403 UpdateSecretV4403JSONResponseBodyStatusCode = 403
++)
+
- // 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 UpdateSecretV4403JSONResponseBodyStatusCode enum.
++func (e UpdateSecretV4403JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case UpdateSecretV4403JSONResponseBodyStatusCodeN403:
++ return true
++ default:
++ return false
++ }
+ }
+
-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1App defines parameters for DeleteGitHubAppConnection.
-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1App string
++// Defines values for UpdateSecretV4404JSONResponseBodyStatusCode.
++const (
++ UpdateSecretV4404JSONResponseBodyStatusCodeN404 UpdateSecretV4404JSONResponseBodyStatusCode = 404
++)
+
-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 defines parameters for DeleteGitHubAppConnection.
-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 string
++// 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
++ }
++}
+
-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 defines parameters for DeleteGitHubAppConnection.
-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 string
++// Defines values for UpdateSecretV4422JSONResponseBodyStatusCode.
++const (
++ UpdateSecretV4422JSONResponseBodyStatusCodeN422 UpdateSecretV4422JSONResponseBodyStatusCode = 422
++)
+
-// 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 UpdateSecretV4422JSONResponseBodyStatusCode enum.
++func (e UpdateSecretV4422JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case UpdateSecretV4422JSONResponseBodyStatusCodeN422:
++ return true
++ default:
++ return false
++ }
+ }
+
-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1Method defines parameters for DeleteGitHubAppConnection.
-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1Method string
++// Defines values for UpdateSecretV4500JSONResponseBodyStatusCode.
++const (
++ UpdateSecretV4500JSONResponseBodyStatusCodeN500 UpdateSecretV4500JSONResponseBodyStatusCode = 500
++)
+
-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus defines parameters for DeleteGitHubAppConnection.
-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus string
++// 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
++ }
++}
+
-// 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"`
++// Defines values for CreateSecretV4JSONBodyType.
++const (
++ CreateSecretV4JSONBodyTypePersonal CreateSecretV4JSONBodyType = "personal"
++ CreateSecretV4JSONBodyTypeShared CreateSecretV4JSONBodyType = "shared"
++)
+
- // Rotation The credential rotation configuration, if configured.
- Rotation *struct {
- // LastRotationMessage The message from the last rotation attempt.
- LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
++// 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
++ }
++}
+
- // NextRotationAt The next scheduled rotation time.
- NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
++// Defines values for CreateSecretV4400JSONResponseBodyStatusCode.
++const (
++ CreateSecretV4400JSONResponseBodyStatusCodeN400 CreateSecretV4400JSONResponseBodyStatusCode = 400
++)
+
- // 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"`
++// 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
++ }
++}
+
- // Minutes The minute (0-59) at which to rotate.
- Minutes float32 `json:"minutes"`
- } `json:"rotateAtUtc"`
++// Defines values for CreateSecretV4401JSONResponseBodyStatusCode.
++const (
++ CreateSecretV4401JSONResponseBodyStatusCodeN401 CreateSecretV4401JSONResponseBodyStatusCode = 401
++)
+
- // RotationInterval The interval in days between credential rotations.
- RotationInterval float32 `json:"rotationInterval"`
++// 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
++ }
++}
+
- // 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"`
++// Defines values for CreateSecretV4403JSONResponseBodyStatusCode.
++const (
++ CreateSecretV4403JSONResponseBodyStatusCodeN403 CreateSecretV4403JSONResponseBodyStatusCode = 403
++)
++
++// 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
++ }
+ }
+
-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2App defines parameters for DeleteGitHubAppConnection.
-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2App string
++// Defines values for CreateSecretV4404JSONResponseBodyStatusCode.
++const (
++ CreateSecretV4404JSONResponseBodyStatusCodeN404 CreateSecretV4404JSONResponseBodyStatusCode = 404
++)
+
-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 defines parameters for DeleteGitHubAppConnection.
-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 string
++// 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
++ }
++}
+
-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 defines parameters for DeleteGitHubAppConnection.
-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 string
++// Defines values for CreateSecretV4422JSONResponseBodyStatusCode.
++const (
++ CreateSecretV4422JSONResponseBodyStatusCodeN422 CreateSecretV4422JSONResponseBodyStatusCode = 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 CreateSecretV4422JSONResponseBodyStatusCode enum.
++func (e CreateSecretV4422JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case CreateSecretV4422JSONResponseBodyStatusCodeN422:
++ return true
++ default:
++ return false
++ }
+ }
+
-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2Method defines parameters for DeleteGitHubAppConnection.
-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2Method string
++// Defines values for CreateSecretV4500JSONResponseBodyStatusCode.
++const (
++ CreateSecretV4500JSONResponseBodyStatusCodeN500 CreateSecretV4500JSONResponseBodyStatusCode = 500
++)
+
-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus defines parameters for DeleteGitHubAppConnection.
-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus string
++// 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
++ }
++}
+
-// DeleteGitHubAppConnection200JSONResponseBody_AppConnection defines parameters for DeleteGitHubAppConnection.
-type DeleteGitHubAppConnection200JSONResponseBody_AppConnection struct {
- union json.RawMessage
++// Defines values for GetSecretReferencesV4400JSONResponseBodyStatusCode.
++const (
++ GetSecretReferencesV4400JSONResponseBodyStatusCodeN400 GetSecretReferencesV4400JSONResponseBodyStatusCode = 400
++)
++
++// 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
++ }
+ }
+
-// DeleteGitHubAppConnection400JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.
-type DeleteGitHubAppConnection400JSONResponseBodyStatusCode float32
++// Defines values for GetSecretReferencesV4401JSONResponseBodyStatusCode.
++const (
++ GetSecretReferencesV4401JSONResponseBodyStatusCodeN401 GetSecretReferencesV4401JSONResponseBodyStatusCode = 401
++)
+
-// DeleteGitHubAppConnection401JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.
-type DeleteGitHubAppConnection401JSONResponseBodyStatusCode float32
++// 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
++ }
++}
+
-// DeleteGitHubAppConnection403JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.
-type DeleteGitHubAppConnection403JSONResponseBodyStatusCode float32
++// Defines values for GetSecretReferencesV4403JSONResponseBodyStatusCode.
++const (
++ GetSecretReferencesV4403JSONResponseBodyStatusCodeN403 GetSecretReferencesV4403JSONResponseBodyStatusCode = 403
++)
+
-// DeleteGitHubAppConnection404JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.
-type DeleteGitHubAppConnection404JSONResponseBodyStatusCode 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
++ }
++}
+
-// DeleteGitHubAppConnection422JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.
-type DeleteGitHubAppConnection422JSONResponseBodyStatusCode float32
++// Defines values for GetSecretReferencesV4404JSONResponseBodyStatusCode.
++const (
++ GetSecretReferencesV4404JSONResponseBodyStatusCodeN404 GetSecretReferencesV4404JSONResponseBodyStatusCode = 404
++)
+
-// DeleteGitHubAppConnection500JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.
-type DeleteGitHubAppConnection500JSONResponseBodyStatusCode 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
++ }
++}
+
-// RefreshAuthToken400JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.
-type RefreshAuthToken400JSONResponseBodyStatusCode float32
++// Defines values for GetSecretReferencesV4422JSONResponseBodyStatusCode.
++const (
++ GetSecretReferencesV4422JSONResponseBodyStatusCodeN422 GetSecretReferencesV4422JSONResponseBodyStatusCode = 422
++)
+
-// RefreshAuthToken401JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.
-type RefreshAuthToken401JSONResponseBodyStatusCode 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
++ }
++}
+
-// RefreshAuthToken403JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.
-type RefreshAuthToken403JSONResponseBodyStatusCode float32
++// Defines values for GetSecretReferencesV4500JSONResponseBodyStatusCode.
++const (
++ GetSecretReferencesV4500JSONResponseBodyStatusCodeN500 GetSecretReferencesV4500JSONResponseBodyStatusCode = 500
++)
+
-// RefreshAuthToken404JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.
-type RefreshAuthToken404JSONResponseBodyStatusCode float32
++// 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
++ }
++}
+
-// RefreshAuthToken422JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.
-type RefreshAuthToken422JSONResponseBodyStatusCode float32
++// Defines values for GetSecretReferenceTreeV4400JSONResponseBodyStatusCode.
++const (
++ GetSecretReferenceTreeV4400JSONResponseBodyStatusCodeN400 GetSecretReferenceTreeV4400JSONResponseBodyStatusCode = 400
++)
+
-// RefreshAuthToken500JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.
-type RefreshAuthToken500JSONResponseBodyStatusCode float32
++// 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
++ }
++}
+
-// 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"`
++// Defines values for GetSecretReferenceTreeV4401JSONResponseBodyStatusCode.
++const (
++ GetSecretReferenceTreeV4401JSONResponseBodyStatusCodeN401 GetSecretReferenceTreeV4401JSONResponseBodyStatusCode = 401
++)
+
- // 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"`
++// 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
++ }
++}
+
- // 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 GetSecretReferenceTreeV4403JSONResponseBodyStatusCode.
++const (
++ GetSecretReferenceTreeV4403JSONResponseBodyStatusCodeN403 GetSecretReferenceTreeV4403JSONResponseBodyStatusCode = 403
++)
+
- // 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 GetSecretReferenceTreeV4403JSONResponseBodyStatusCode enum.
++func (e GetSecretReferenceTreeV4403JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case GetSecretReferenceTreeV4403JSONResponseBodyStatusCodeN403:
++ 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 GetSecretReferenceTreeV4404JSONResponseBodyStatusCode.
++const (
++ GetSecretReferenceTreeV4404JSONResponseBodyStatusCodeN404 GetSecretReferenceTreeV4404JSONResponseBodyStatusCode = 404
++)
+
- // 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 GetSecretReferenceTreeV4404JSONResponseBodyStatusCode enum.
++func (e GetSecretReferenceTreeV4404JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case GetSecretReferenceTreeV4404JSONResponseBodyStatusCodeN404:
++ 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 GetSecretReferenceTreeV4422JSONResponseBodyStatusCode.
++const (
++ GetSecretReferenceTreeV4422JSONResponseBodyStatusCodeN422 GetSecretReferenceTreeV4422JSONResponseBodyStatusCode = 422
++)
+
- // 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 GetSecretReferenceTreeV4422JSONResponseBodyStatusCode enum.
++func (e GetSecretReferenceTreeV4422JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case GetSecretReferenceTreeV4422JSONResponseBodyStatusCodeN422:
++ return true
++ default:
++ return false
++ }
++}
+
- // LockoutEnabled Whether the lockout feature is enabled.
- LockoutEnabled *bool `json:"lockoutEnabled,omitempty"`
++// Defines values for GetSecretReferenceTreeV4500JSONResponseBodyStatusCode.
++const (
++ GetSecretReferenceTreeV4500JSONResponseBodyStatusCodeN500 GetSecretReferenceTreeV4500JSONResponseBodyStatusCode = 500
++)
+
- // 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 GetSecretReferenceTreeV4500JSONResponseBodyStatusCode enum.
++func (e GetSecretReferenceTreeV4500JSONResponseBodyStatusCode) Valid() bool {
++ switch e {
++ case GetSecretReferenceTreeV4500JSONResponseBodyStatusCodeN500:
++ return true
++ default:
++ return false
++ }
+ }
+
-// AttachUniversalAuth400JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.
-type AttachUniversalAuth400JSONResponseBodyStatusCode float32
++// GetInstanceStatus400JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.
++type GetInstanceStatus400JSONResponseBodyStatusCode float32
+
-// AttachUniversalAuth401JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.
-type AttachUniversalAuth401JSONResponseBodyStatusCode float32
++// GetInstanceStatus401JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.
++type GetInstanceStatus401JSONResponseBodyStatusCode float32
+
-// AttachUniversalAuth403JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.
-type AttachUniversalAuth403JSONResponseBodyStatusCode float32
++// GetInstanceStatus403JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.
++type GetInstanceStatus403JSONResponseBodyStatusCode float32
+
-// AttachUniversalAuth404JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.
-type AttachUniversalAuth404JSONResponseBodyStatusCode float32
++// GetInstanceStatus404JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.
++type GetInstanceStatus404JSONResponseBodyStatusCode float32
+
-// AttachUniversalAuth422JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.
-type AttachUniversalAuth422JSONResponseBodyStatusCode float32
++// GetInstanceStatus422JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.
++type GetInstanceStatus422JSONResponseBodyStatusCode float32
+
-// AttachUniversalAuth500JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.
-type AttachUniversalAuth500JSONResponseBodyStatusCode float32
++// GetInstanceStatus500JSONResponseBodyStatusCode defines parameters for GetInstanceStatus.
++type GetInstanceStatus500JSONResponseBodyStatusCode float32
+
-// CreateUniversalAuthClientSecretJSONBody defines parameters for CreateUniversalAuthClientSecret.
-type CreateUniversalAuthClientSecretJSONBody struct {
- // Description The description of the client secret.
- Description *string `json:"description,omitempty"`
-
- // 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"`
-
- // Ttl The lifetime for the client secret in seconds.
- Ttl *float32 `json:"ttl,omitempty"`
++// AdminBootstrapJSONBody defines parameters for AdminBootstrap.
++type AdminBootstrapJSONBody struct {
++ Email openapi_types.Email `json:"email"`
++ Organization string `json:"organization"`
++ Password string `json:"password"`
+ }
+
-// CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.
-type CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode float32
++// AdminBootstrap400JSONResponseBodyStatusCode defines parameters for AdminBootstrap.
++type AdminBootstrap400JSONResponseBodyStatusCode float32
+
-// CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.
-type CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode float32
++// AdminBootstrap401JSONResponseBodyStatusCode defines parameters for AdminBootstrap.
++type AdminBootstrap401JSONResponseBodyStatusCode float32
+
-// CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.
-type CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode float32
++// AdminBootstrap403JSONResponseBodyStatusCode defines parameters for AdminBootstrap.
++type AdminBootstrap403JSONResponseBodyStatusCode float32
+
-// CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.
-type CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode float32
++// AdminBootstrap404JSONResponseBodyStatusCode defines parameters for AdminBootstrap.
++type AdminBootstrap404JSONResponseBodyStatusCode float32
+
-// CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.
-type CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode float32
++// AdminBootstrap422JSONResponseBodyStatusCode defines parameters for AdminBootstrap.
++type AdminBootstrap422JSONResponseBodyStatusCode float32
+
-// CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.
-type CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode float32
++// AdminBootstrap500JSONResponseBodyStatusCode defines parameters for AdminBootstrap.
++type AdminBootstrap500JSONResponseBodyStatusCode float32
+
-// LoginWithUniversalAuthJSONBody defines parameters for LoginWithUniversalAuth.
-type LoginWithUniversalAuthJSONBody struct {
- // ClientId Your Machine Identity Client ID.
- ClientId string `json:"clientId"`
++// UpdateAdminConfigJSONBody defines parameters for UpdateAdminConfig.
++type UpdateAdminConfigJSONBody struct {
++ AllowSignUp *bool `json:"allowSignUp,omitempty"`
++ AllowedSignUpDomain *string `json:"allowedSignUpDomain,omitempty"`
++ AllowedStorageHostnames *[]string `json:"allowedStorageHostnames,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"`
+}
- // ClientSecret Your Machine Identity Client Secret.
- ClientSecret string `json:"clientSecret"`
+// UpdateAdminConfigJSONBodyEnabledLoginMethods defines parameters for UpdateAdminConfig.
+type UpdateAdminConfigJSONBodyEnabledLoginMethods string
- // 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"`
-}
+// UpdateAdminConfig400JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.
+type UpdateAdminConfig400JSONResponseBodyStatusCode float32
-// LoginWithUniversalAuth200JSONResponseBodyTokenType defines parameters for LoginWithUniversalAuth.
-type LoginWithUniversalAuth200JSONResponseBodyTokenType string
+// UpdateAdminConfig401JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.
+type UpdateAdminConfig401JSONResponseBodyStatusCode float32
-// LoginWithUniversalAuth400JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.
-type LoginWithUniversalAuth400JSONResponseBodyStatusCode float32
+// UpdateAdminConfig403JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.
+type UpdateAdminConfig403JSONResponseBodyStatusCode float32
-// LoginWithUniversalAuth401JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.
-type LoginWithUniversalAuth401JSONResponseBodyStatusCode float32
+// UpdateAdminConfig404JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.
+type UpdateAdminConfig404JSONResponseBodyStatusCode float32
-// LoginWithUniversalAuth403JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.
-type LoginWithUniversalAuth403JSONResponseBodyStatusCode float32
+// UpdateAdminConfig422JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.
+type UpdateAdminConfig422JSONResponseBodyStatusCode float32
-// LoginWithUniversalAuth404JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.
-type LoginWithUniversalAuth404JSONResponseBodyStatusCode float32
+// UpdateAdminConfig500JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.
+type UpdateAdminConfig500JSONResponseBodyStatusCode float32
-// LoginWithUniversalAuth422JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.
-type LoginWithUniversalAuth422JSONResponseBodyStatusCode float32
+// CreateGitHubAppConnectionJSONBody defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBody struct {
+ // Description An optional description for the GitHub Connection.
+ Description *string `json:"description,omitempty"`
-// LoginWithUniversalAuth500JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.
-type LoginWithUniversalAuth500JSONResponseBodyStatusCode float32
+ // GatewayId The Gateway ID to use for this connection.
+ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`
-// ListProjectSecretsDetailsParams defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetailsParams struct {
- // ProjectId The ID of the project to list secrets/folders from.
- ProjectId string `form:"projectId" json:"projectId"`
+ // GatewayPoolId The Gateway Pool ID to use for this connection.
+ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`
- // Environment The slug of the environment to list secrets/folders from.
- Environment string `form:"environment" json:"environment"`
+ // IsAutoRotationEnabled Not supported for GitHub Connections.
+ IsAutoRotationEnabled *CreateGitHubAppConnectionJSONBodyIsAutoRotationEnabled `json:"isAutoRotationEnabled,omitempty"`
- // SecretPath The secret path to list secrets/folders from.
- SecretPath *string `form:"secretPath,omitempty" json:"secretPath,omitempty"`
+ // IsPlatformManagedCredentials Not supported for GitHub Connections.
+ IsPlatformManagedCredentials *CreateGitHubAppConnectionJSONBodyIsPlatformManagedCredentials `json:"isPlatformManagedCredentials,omitempty"`
- // Offset The offset to start from. If you enter 10, it will start from the 10th secret/folder.
- Offset *float32 `form:"offset,omitempty" json:"offset,omitempty"`
+ // Name The name of the GitHub Connection to create. Must be slug-friendly.
+ Name string `json:"name"`
- // Limit The number of secrets/folders to return.
- Limit *float32 `form:"limit,omitempty" json:"limit,omitempty"`
+ // ProjectId The ID of the project to create the GitHub Connection in.
+ ProjectId *string `json:"projectId,omitempty"`
- // OrderBy The column to order secrets/folders by.
- OrderBy *ListProjectSecretsDetailsParamsOrderBy `form:"orderBy,omitempty" json:"orderBy,omitempty"`
+ // Rotation Not supported for GitHub Connections.
+ Rotation *CreateGitHubAppConnectionJSONBody_Rotation `json:"rotation,omitempty"`
+ union json.RawMessage
+}
- // OrderDirection The direction to order secrets/folders in.
- OrderDirection *ListProjectSecretsDetailsParamsOrderDirection `form:"orderDirection,omitempty" json:"orderDirection,omitempty"`
+// CreateGitHubAppConnectionJSONBodyIsAutoRotationEnabled defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBodyIsAutoRotationEnabled bool
- // Search The text string to filter secret keys and folder names by.
- Search *string `form:"search,omitempty" json:"search,omitempty"`
+// CreateGitHubAppConnectionJSONBodyIsPlatformManagedCredentials defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBodyIsPlatformManagedCredentials bool
- // Tags The tags to filter secrets by (comma separated, ie 'tags=billing,engineering').
- Tags *string `form:"tags,omitempty" json:"tags,omitempty"`
+// CreateGitHubAppConnectionJSONBodyRotation0 defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBodyRotation0 = interface{}
- // IncludeSecrets Whether to include project secrets in the response.
- IncludeSecrets *struct {
- union json.RawMessage
- } `form:"includeSecrets,omitempty" json:"includeSecrets,omitempty"`
+// CreateGitHubAppConnectionJSONBodyRotation1 defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBodyRotation1 = interface{}
- // IncludeFolders Whether to include project folders in the response.
- IncludeFolders *struct {
- union json.RawMessage
- } `form:"includeFolders,omitempty" json:"includeFolders,omitempty"`
+// CreateGitHubAppConnectionJSONBody_Rotation defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBody_Rotation struct {
+ union json.RawMessage
+}
- // IncludeDynamicSecrets Whether to include dynamic project secrets in the response.
- IncludeDynamicSecrets *struct {
- union json.RawMessage
- } `form:"includeDynamicSecrets,omitempty" json:"includeDynamicSecrets,omitempty"`
+// CreateGitHubAppConnectionJSONBody0 defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBody0 struct {
+ // Credentials The credentials used to connect with GitHub.
+ Credentials CreateGitHubAppConnectionJSONBody_0_Credentials `json:"credentials"`
- // IncludeImports Whether to include project secret imports in the response.
- IncludeImports *struct {
- union json.RawMessage
- } `form:"includeImports,omitempty" json:"includeImports,omitempty"`
+ // Method The method used to authenticate with GitHub.
+ Method CreateGitHubAppConnectionJSONBody0Method `json:"method"`
+}
- // IncludeSecretRotations Whether to include secret rotations in the response.
- IncludeSecretRotations *struct {
- union json.RawMessage
- } `form:"includeSecretRotations,omitempty" json:"includeSecretRotations,omitempty"`
+// 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"`
+}
- // IncludeHoneyTokens Whether to include honey tokens in the response.
- IncludeHoneyTokens *struct {
- union json.RawMessage
- } `form:"includeHoneyTokens,omitempty" json:"includeHoneyTokens,omitempty"`
+// CreateGitHubAppConnectionJSONBody0Credentials0InstanceType defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBody0Credentials0InstanceType string
- // IncludeProxiedServices Whether to include proxied services in the response.
- IncludeProxiedServices *struct {
- union json.RawMessage
- } `form:"includeProxiedServices,omitempty" json:"includeProxiedServices,omitempty"`
+// 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"`
}
-// ListProjectSecretsDetailsParamsOrderBy defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetailsParamsOrderBy string
+// CreateGitHubAppConnectionJSONBody0Credentials1InstanceType defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBody0Credentials1InstanceType string
-// ListProjectSecretsDetailsParamsOrderDirection defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetailsParamsOrderDirection string
+// CreateGitHubAppConnectionJSONBody_0_Credentials defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBody_0_Credentials struct {
+ union json.RawMessage
+}
-// ListProjectSecretsDetailsParamsIncludeSecrets0 defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetailsParamsIncludeSecrets0 = bool
+// CreateGitHubAppConnectionJSONBody0Method defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBody0Method string
-// ListProjectSecretsDetailsParamsIncludeSecrets1 defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetailsParamsIncludeSecrets1 = string
+// CreateGitHubAppConnectionJSONBody1 defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBody1 struct {
+ // Credentials The credentials used to connect with GitHub.
+ Credentials CreateGitHubAppConnectionJSONBody_1_Credentials `json:"credentials"`
-// ListProjectSecretsDetailsParamsIncludeFolders0 defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetailsParamsIncludeFolders0 = bool
+ // Method The method used to authenticate with GitHub.
+ Method CreateGitHubAppConnectionJSONBody1Method `json:"method"`
+}
-// ListProjectSecretsDetailsParamsIncludeFolders1 defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetailsParamsIncludeFolders1 = string
+// CreateGitHubAppConnectionJSONBody1Credentials0 defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBody1Credentials0 struct {
+ Code string `json:"code"`
+ Host string `json:"host"`
+ InstanceType CreateGitHubAppConnectionJSONBody1Credentials0InstanceType `json:"instanceType"`
+}
-// ListProjectSecretsDetailsParamsIncludeDynamicSecrets0 defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetailsParamsIncludeDynamicSecrets0 = bool
+// CreateGitHubAppConnectionJSONBody1Credentials0InstanceType defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBody1Credentials0InstanceType string
-// ListProjectSecretsDetailsParamsIncludeDynamicSecrets1 defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetailsParamsIncludeDynamicSecrets1 = string
+// CreateGitHubAppConnectionJSONBody1Credentials1 defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBody1Credentials1 struct {
+ Code string `json:"code"`
+ Host *string `json:"host,omitempty"`
+ InstanceType *CreateGitHubAppConnectionJSONBody1Credentials1InstanceType `json:"instanceType,omitempty"`
+}
-// ListProjectSecretsDetailsParamsIncludeImports0 defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetailsParamsIncludeImports0 = bool
+// CreateGitHubAppConnectionJSONBody1Credentials1InstanceType defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBody1Credentials1InstanceType string
-// ListProjectSecretsDetailsParamsIncludeImports1 defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetailsParamsIncludeImports1 = string
+// CreateGitHubAppConnectionJSONBody_1_Credentials defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBody_1_Credentials struct {
+ union json.RawMessage
+}
-// ListProjectSecretsDetailsParamsIncludeSecretRotations0 defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetailsParamsIncludeSecretRotations0 = bool
+// CreateGitHubAppConnectionJSONBody1Method defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBody1Method string
-// ListProjectSecretsDetailsParamsIncludeSecretRotations1 defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetailsParamsIncludeSecretRotations1 = string
+// CreateGitHubAppConnectionJSONBody2 defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBody2 struct {
+ // Credentials The credentials used to connect with GitHub.
+ Credentials CreateGitHubAppConnectionJSONBody_2_Credentials `json:"credentials"`
-// ListProjectSecretsDetailsParamsIncludeHoneyTokens0 defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetailsParamsIncludeHoneyTokens0 = bool
+ // Method The method used to authenticate with GitHub.
+ Method CreateGitHubAppConnectionJSONBody2Method `json:"method"`
+}
-// ListProjectSecretsDetailsParamsIncludeHoneyTokens1 defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetailsParamsIncludeHoneyTokens1 = string
+// CreateGitHubAppConnectionJSONBody2Credentials0 defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBody2Credentials0 struct {
+ Host string `json:"host"`
+ InstanceType CreateGitHubAppConnectionJSONBody2Credentials0InstanceType `json:"instanceType"`
+ PersonalAccessToken string `json:"personalAccessToken"`
+}
-// ListProjectSecretsDetailsParamsIncludeProxiedServices0 defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetailsParamsIncludeProxiedServices0 = bool
+// CreateGitHubAppConnectionJSONBody2Credentials0InstanceType defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBody2Credentials0InstanceType string
-// ListProjectSecretsDetailsParamsIncludeProxiedServices1 defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetailsParamsIncludeProxiedServices1 = string
+// CreateGitHubAppConnectionJSONBody2Credentials1 defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBody2Credentials1 struct {
+ Host *string `json:"host,omitempty"`
+ InstanceType *CreateGitHubAppConnectionJSONBody2Credentials1InstanceType `json:"instanceType,omitempty"`
+ PersonalAccessToken string `json:"personalAccessToken"`
+}
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations0 defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations0 struct {
- ActiveIndex *float32 `json:"activeIndex,omitempty"`
- Connection struct {
- App ListProjectSecretsDetails200JSONResponseBodySecretRotations0ConnectionApp `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"`
- 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"`
- Id openapi_types.UUID `json:"id"`
- IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
- IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
- LastRotatedAt time.Time `json:"lastRotatedAt"`
- LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
- LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
- LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
- Name string `json:"name"`
- NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
- Parameters struct {
- // PasswordRequirements The password requirements to use when generating the new password.
- PasswordRequirements *struct {
- // AllowedSymbols The allowed symbols to use in the generated password (defaults to "-_.~!*").
- AllowedSymbols *string `json:"allowedSymbols,omitempty"`
+// CreateGitHubAppConnectionJSONBody2Credentials1InstanceType defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBody2Credentials1InstanceType string
- // Length The length of the password to generate.
- Length float32 `json:"length"`
- Required struct {
- // Digits The amount of digits to require in the generated password.
- Digits float32 `json:"digits"`
+// CreateGitHubAppConnectionJSONBody_2_Credentials defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBody_2_Credentials struct {
+ union json.RawMessage
+}
- // Lowercase The amount of lowercase characters to require in the generated password.
- Lowercase float32 `json:"lowercase"`
+// CreateGitHubAppConnectionJSONBody2Method defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnectionJSONBody2Method string
- // Symbols The amount of symbols to require in the generated password.
- Symbols float32 `json:"symbols"`
+// 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"`
- // Uppercase The amount of uppercase characters to require in the generated password.
- Uppercase float32 `json:"uppercase"`
- } `json:"required"`
- } `json:"passwordRequirements,omitempty"`
+ // Rotation The credential rotation configuration, if configured.
+ Rotation *struct {
+ // LastRotationMessage The message from the last rotation attempt.
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
- // RotationStatement The SQL template query used for rotation.
- RotationStatement *string `json:"rotationStatement,omitempty"`
+ // NextRotationAt The next scheduled rotation time.
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
- // Username1 The username of the first login to rotate passwords for. This user must already exists in your database.
- Username1 string `json:"username1"`
+ // 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"`
- // Username2 The username of the second login to rotate passwords for. This user must already exists in your database.
- Username2 string `json:"username2"`
- } `json:"parameters"`
- ProjectId string `json:"projectId"`
- RotateAtUtc struct {
- Hours float32 `json:"hours"`
- Minutes float32 `json:"minutes"`
- } `json:"rotateAtUtc"`
- RotationInterval float32 `json:"rotationInterval"`
- RotationStatus string `json:"rotationStatus"`
- SecretsMapping struct {
- // Password The name of the secret that the generated password will be mapped to.
- Password string `json:"password"`
+ // Minutes The minute (0-59) at which to rotate.
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
- // Username The name of the secret that the active username will be mapped to.
- Username string `json:"username"`
- } `json:"secretsMapping"`
- Type ListProjectSecretsDetails200JSONResponseBodySecretRotations0Type `json:"type"`
- UpdatedAt time.Time `json:"updatedAt"`
+ // RotationInterval The interval in days between credential rotations.
+ RotationInterval float32 `json:"rotationInterval"`
+
+ // 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"`
}
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations0ConnectionApp defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations0ConnectionApp string
+// CreateGitHubAppConnection200JSONResponseBodyAppConnection0App defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection200JSONResponseBodyAppConnection0App string
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations0Type defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations0Type string
+// CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 string
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations1 defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations1 struct {
- ActiveIndex *float32 `json:"activeIndex,omitempty"`
- Connection struct {
- App ListProjectSecretsDetails200JSONResponseBodySecretRotations1ConnectionApp `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"`
- 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"`
- Id openapi_types.UUID `json:"id"`
- IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
- IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
- LastRotatedAt time.Time `json:"lastRotatedAt"`
- LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
- LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
- LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
- Name string `json:"name"`
- NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
- Parameters struct {
- // PasswordRequirements The password requirements to use when generating the new password.
- PasswordRequirements *struct {
- // AllowedSymbols The allowed symbols to use in the generated password (defaults to "-_.~!*").
- AllowedSymbols *string `json:"allowedSymbols,omitempty"`
+// CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 string
- // Length The length of the password to generate.
- Length float32 `json:"length"`
- Required struct {
- // Digits The amount of digits to require in the generated password.
- Digits float32 `json:"digits"`
+// CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType struct {
+ union json.RawMessage
+}
- // Lowercase The amount of lowercase characters to require in the generated password.
- Lowercase float32 `json:"lowercase"`
+// CreateGitHubAppConnection200JSONResponseBodyAppConnection0Method defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection200JSONResponseBodyAppConnection0Method string
- // Symbols The amount of symbols to require in the generated password.
- Symbols float32 `json:"symbols"`
+// CreateGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus string
- // Uppercase The amount of uppercase characters to require in the generated password.
- Uppercase float32 `json:"uppercase"`
- } `json:"required"`
- } `json:"passwordRequirements,omitempty"`
+// 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"`
- // RotationStatement The SQL template query used for rotation.
- RotationStatement *string `json:"rotationStatement,omitempty"`
+ // Rotation The credential rotation configuration, if configured.
+ Rotation *struct {
+ // LastRotationMessage The message from the last rotation attempt.
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
- // Username1 The username of the first login to rotate passwords for. This user must already exists in your database.
- Username1 string `json:"username1"`
+ // NextRotationAt The next scheduled rotation time.
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
- // Username2 The username of the second login to rotate passwords for. This user must already exists in your database.
- Username2 string `json:"username2"`
- } `json:"parameters"`
- ProjectId string `json:"projectId"`
- RotateAtUtc struct {
- Hours float32 `json:"hours"`
- Minutes float32 `json:"minutes"`
- } `json:"rotateAtUtc"`
- RotationInterval float32 `json:"rotationInterval"`
- RotationStatus string `json:"rotationStatus"`
- SecretsMapping struct {
- // Password The name of the secret that the generated password will be mapped to.
- 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"`
- // Username The name of the secret that the active username will be mapped to.
- Username string `json:"username"`
- } `json:"secretsMapping"`
- Type ListProjectSecretsDetails200JSONResponseBodySecretRotations1Type `json:"type"`
- UpdatedAt time.Time `json:"updatedAt"`
+ // Minutes The minute (0-59) at which to rotate.
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+
+ // RotationInterval The interval in days between credential rotations.
+ RotationInterval float32 `json:"rotationInterval"`
+
+ // RotationStatus The status of the last rotation attempt.
+ RotationStatus CreateGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus `json:"rotationStatus"`
+ } `json:"rotation,omitempty"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ Version *float32 `json:"version,omitempty"`
}
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations1ConnectionApp defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations1ConnectionApp string
+// CreateGitHubAppConnection200JSONResponseBodyAppConnection1App defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection200JSONResponseBodyAppConnection1App string
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations1Type defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations1Type string
+// CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 string
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations2 defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations2 struct {
- ActiveIndex *float32 `json:"activeIndex,omitempty"`
- Connection struct {
- App ListProjectSecretsDetails200JSONResponseBodySecretRotations2ConnectionApp `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"`
- 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"`
- Id openapi_types.UUID `json:"id"`
- IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
- IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
- LastRotatedAt time.Time `json:"lastRotatedAt"`
- LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
- LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
- LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
- Name string `json:"name"`
- NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
- Parameters struct {
- // PasswordRequirements The password requirements to use when generating the new password.
- PasswordRequirements *struct {
- // AllowedSymbols The allowed symbols to use in the generated password (defaults to "-_.~!*").
- AllowedSymbols *string `json:"allowedSymbols,omitempty"`
+// CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 string
- // Length The length of the password to generate.
- Length float32 `json:"length"`
- Required struct {
- // Digits The amount of digits to require in the generated password.
- Digits float32 `json:"digits"`
+// CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType struct {
+ union json.RawMessage
+}
- // Lowercase The amount of lowercase characters to require in the generated password.
- Lowercase float32 `json:"lowercase"`
+// CreateGitHubAppConnection200JSONResponseBodyAppConnection1Method defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection200JSONResponseBodyAppConnection1Method string
- // Symbols The amount of symbols to require in the generated password.
- Symbols float32 `json:"symbols"`
+// CreateGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus string
- // Uppercase The amount of uppercase characters to require in the generated password.
- Uppercase float32 `json:"uppercase"`
- } `json:"required"`
- } `json:"passwordRequirements,omitempty"`
+// 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"`
- // RotationStatement The SQL template query used for rotation.
- RotationStatement *string `json:"rotationStatement,omitempty"`
+ // Rotation The credential rotation configuration, if configured.
+ Rotation *struct {
+ // LastRotationMessage The message from the last rotation attempt.
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
- // Username1 The username of the first login to rotate passwords for. This user must already exists in your database.
- Username1 string `json:"username1"`
+ // NextRotationAt The next scheduled rotation time.
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
- // Username2 The username of the second login to rotate passwords for. This user must already exists in your database.
- Username2 string `json:"username2"`
- } `json:"parameters"`
- ProjectId string `json:"projectId"`
- RotateAtUtc struct {
- Hours float32 `json:"hours"`
- Minutes float32 `json:"minutes"`
- } `json:"rotateAtUtc"`
- RotationInterval float32 `json:"rotationInterval"`
- RotationStatus string `json:"rotationStatus"`
- SecretsMapping struct {
- // Password The name of the secret that the generated password will be mapped to.
- 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"`
- // Username The name of the secret that the active username will be mapped to.
- Username string `json:"username"`
- } `json:"secretsMapping"`
- Type ListProjectSecretsDetails200JSONResponseBodySecretRotations2Type `json:"type"`
- UpdatedAt time.Time `json:"updatedAt"`
+ // Minutes The minute (0-59) at which to rotate.
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+
+ // RotationInterval The interval in days between credential rotations.
+ RotationInterval float32 `json:"rotationInterval"`
+
+ // RotationStatus The status of the last rotation attempt.
+ RotationStatus CreateGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus `json:"rotationStatus"`
+ } `json:"rotation,omitempty"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ Version *float32 `json:"version,omitempty"`
}
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations2ConnectionApp defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations2ConnectionApp string
+// CreateGitHubAppConnection200JSONResponseBodyAppConnection2App defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection200JSONResponseBodyAppConnection2App string
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations2Type defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations2Type string
+// CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 string
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations3 defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations3 struct {
- ActiveIndex *float32 `json:"activeIndex,omitempty"`
- Connection struct {
- App ListProjectSecretsDetails200JSONResponseBodySecretRotations3ConnectionApp `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"`
- 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"`
- Id openapi_types.UUID `json:"id"`
- IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
- IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
- LastRotatedAt time.Time `json:"lastRotatedAt"`
- LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
- LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
- LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
- Name string `json:"name"`
- NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
- Parameters struct {
- // PasswordRequirements The password requirements to use when generating the new password.
- PasswordRequirements *struct {
- // AllowedSymbols The allowed symbols to use in the generated password (defaults to "-_.~!*").
- AllowedSymbols *string `json:"allowedSymbols,omitempty"`
+// CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 string
- // Length The length of the password to generate.
- Length float32 `json:"length"`
- Required struct {
- // Digits The amount of digits to require in the generated password.
- Digits float32 `json:"digits"`
+// CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType struct {
+ union json.RawMessage
+}
- // Lowercase The amount of lowercase characters to require in the generated password.
- Lowercase float32 `json:"lowercase"`
+// CreateGitHubAppConnection200JSONResponseBodyAppConnection2Method defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection200JSONResponseBodyAppConnection2Method string
- // Symbols The amount of symbols to require in the generated password.
- Symbols float32 `json:"symbols"`
+// CreateGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus string
- // Uppercase The amount of uppercase characters to require in the generated password.
- Uppercase float32 `json:"uppercase"`
- } `json:"required"`
- } `json:"passwordRequirements,omitempty"`
+// CreateGitHubAppConnection200JSONResponseBody_AppConnection defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection200JSONResponseBody_AppConnection struct {
+ union json.RawMessage
+}
- // RotationStatement The SQL template query used for rotation.
- RotationStatement *string `json:"rotationStatement,omitempty"`
+// CreateGitHubAppConnection400JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection400JSONResponseBodyStatusCode float32
- // Username1 The username of the first login to rotate passwords for. This user must already exists in your database.
- Username1 string `json:"username1"`
+// CreateGitHubAppConnection401JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection401JSONResponseBodyStatusCode float32
- // Username2 The username of the second login to rotate passwords for. This user must already exists in your database.
- Username2 string `json:"username2"`
- } `json:"parameters"`
- ProjectId string `json:"projectId"`
- RotateAtUtc struct {
- Hours float32 `json:"hours"`
- Minutes float32 `json:"minutes"`
- } `json:"rotateAtUtc"`
- RotationInterval float32 `json:"rotationInterval"`
- RotationStatus string `json:"rotationStatus"`
- SecretsMapping struct {
- // Password The name of the secret that the generated password will be mapped to.
- Password string `json:"password"`
+// CreateGitHubAppConnection403JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection403JSONResponseBodyStatusCode float32
- // Username The name of the secret that the active username will be mapped to.
- Username string `json:"username"`
- } `json:"secretsMapping"`
- Type ListProjectSecretsDetails200JSONResponseBodySecretRotations3Type `json:"type"`
- UpdatedAt time.Time `json:"updatedAt"`
-}
+// CreateGitHubAppConnection404JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection404JSONResponseBodyStatusCode float32
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations3ConnectionApp defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations3ConnectionApp string
+// CreateGitHubAppConnection422JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection422JSONResponseBodyStatusCode float32
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations3Type defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations3Type string
+// CreateGitHubAppConnection500JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.
+type CreateGitHubAppConnection500JSONResponseBodyStatusCode float32
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations4 defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations4 struct {
- ActiveIndex *float32 `json:"activeIndex,omitempty"`
- Connection struct {
- App ListProjectSecretsDetails200JSONResponseBodySecretRotations4ConnectionApp `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"`
- Environment struct {
- Id openapi_types.UUID `json:"id"`
- Name string `json:"name"`
- Slug string `json:"slug"`
- } `json:"environment"`
- Folder struct {
+// 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"`
- Path string `json:"path"`
- } `json:"folder"`
- FolderId openapi_types.UUID `json:"folderId"`
- Id openapi_types.UUID `json:"id"`
- IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
- IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
- LastRotatedAt time.Time `json:"lastRotatedAt"`
- LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
- LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
- LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
- Name string `json:"name"`
- NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
- Parameters struct {
- // ClientId The client ID of the Auth0 Application to rotate the client secret for.
- ClientId string `json:"clientId"`
- } `json:"parameters"`
- ProjectId string `json:"projectId"`
- RotateAtUtc struct {
- Hours float32 `json:"hours"`
- Minutes float32 `json:"minutes"`
- } `json:"rotateAtUtc"`
- RotationInterval float32 `json:"rotationInterval"`
- RotationStatus string `json:"rotationStatus"`
- SecretsMapping struct {
- // ClientId The name of the secret that the client ID will be mapped to.
- ClientId string `json:"clientId"`
+ Name string `json:"name"`
+ Slug string `json:"slug"`
+ Type string `json:"type"`
+ } `json:"project,omitempty"`
+ ProjectId *string `json:"projectId,omitempty"`
- // ClientSecret The name of the secret that the rotated client secret will be mapped to.
- ClientSecret string `json:"clientSecret"`
- } `json:"secretsMapping"`
- Type ListProjectSecretsDetails200JSONResponseBodySecretRotations4Type `json:"type"`
- UpdatedAt time.Time `json:"updatedAt"`
-}
+ // Rotation The credential rotation configuration, if configured.
+ Rotation *struct {
+ // LastRotationMessage The message from the last rotation attempt.
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations4ConnectionApp defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations4ConnectionApp string
+ // NextRotationAt The next scheduled rotation time.
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations4Type defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations4Type string
+ // 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"`
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations5 defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations5 struct {
- ActiveIndex *float32 `json:"activeIndex,omitempty"`
- Connection struct {
- App ListProjectSecretsDetails200JSONResponseBodySecretRotations5ConnectionApp `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"`
- 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"`
- Id openapi_types.UUID `json:"id"`
- IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
- IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
- LastRotatedAt time.Time `json:"lastRotatedAt"`
- LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
- LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
- LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
- Name string `json:"name"`
- NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
- Parameters struct {
- // AppName The name of the Azure Application to rotate the client secret for.
- AppName *string `json:"appName,omitempty"`
+ // Minutes The minute (0-59) at which to rotate.
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
- // ClientId The client ID of the Azure Application to rotate the client secret for.
- ClientId string `json:"clientId"`
+ // RotationInterval The interval in days between credential rotations.
+ RotationInterval float32 `json:"rotationInterval"`
- // ObjectId The ID of the Azure Application to rotate the client secret for.
- ObjectId string `json:"objectId"`
- } `json:"parameters"`
- ProjectId string `json:"projectId"`
- RotateAtUtc struct {
- Hours float32 `json:"hours"`
- Minutes float32 `json:"minutes"`
- } `json:"rotateAtUtc"`
- RotationInterval float32 `json:"rotationInterval"`
- RotationStatus string `json:"rotationStatus"`
- SecretsMapping struct {
- // ClientId The name of the secret that the client ID will be mapped to.
- ClientId string `json:"clientId"`
+ // 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"`
+}
- // ClientSecret The name of the secret that the rotated client secret will be mapped to.
- ClientSecret string `json:"clientSecret"`
- } `json:"secretsMapping"`
- Type ListProjectSecretsDetails200JSONResponseBodySecretRotations5Type `json:"type"`
- UpdatedAt time.Time `json:"updatedAt"`
+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0App defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0App string
+
+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 string
+
+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 string
+
+// DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType struct {
+ union json.RawMessage
}
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations5ConnectionApp defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations5ConnectionApp string
+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0Method defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0Method string
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations5Type defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations5Type string
+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus string
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations6 defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations6 struct {
- ActiveIndex *float32 `json:"activeIndex,omitempty"`
- Connection struct {
- App ListProjectSecretsDetails200JSONResponseBodySecretRotations6ConnectionApp `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"`
- 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"`
+// 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"`
+
+ // Rotation The credential rotation configuration, if configured.
+ Rotation *struct {
+ // LastRotationMessage The message from the last rotation attempt.
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+
+ // NextRotationAt The next scheduled rotation time.
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+
+ // RotateAtUtc The UTC time of day at which rotation should occur.
+ RotateAtUtc struct {
+ // Hours The hour (0-23) at which to rotate.
+ Hours float32 `json:"hours"`
+
+ // Minutes The minute (0-59) at which to rotate.
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+
+ // RotationInterval The interval in days between credential rotations.
+ RotationInterval float32 `json:"rotationInterval"`
+
+ // RotationStatus The status of the last rotation attempt.
+ RotationStatus DeleteGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus `json:"rotationStatus"`
+ } `json:"rotation,omitempty"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ Version *float32 `json:"version,omitempty"`
+}
+
+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1App defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1App string
+
+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 string
+
+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 string
+
+// DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType struct {
+ union json.RawMessage
+}
+
+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1Method defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1Method string
+
+// 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"`
+
+ // Rotation The credential rotation configuration, if configured.
+ Rotation *struct {
+ // LastRotationMessage The message from the last rotation attempt.
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+
+ // NextRotationAt The next scheduled rotation time.
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+
+ // RotateAtUtc The UTC time of day at which rotation should occur.
+ RotateAtUtc struct {
+ // Hours The hour (0-23) at which to rotate.
+ Hours float32 `json:"hours"`
+
+ // Minutes The minute (0-59) at which to rotate.
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+
+ // RotationInterval The interval in days between credential rotations.
+ RotationInterval float32 `json:"rotationInterval"`
+
+ // RotationStatus The status of the last rotation attempt.
+ RotationStatus DeleteGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus `json:"rotationStatus"`
+ } `json:"rotation,omitempty"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ Version *float32 `json:"version,omitempty"`
+}
+
+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2App defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2App string
+
+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 string
+
+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 string
+
+// DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType struct {
+ union json.RawMessage
+}
+
+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2Method defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2Method string
+
+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus string
+
+// DeleteGitHubAppConnection200JSONResponseBody_AppConnection defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection200JSONResponseBody_AppConnection struct {
+ union json.RawMessage
+}
+
+// DeleteGitHubAppConnection400JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection400JSONResponseBodyStatusCode float32
+
+// DeleteGitHubAppConnection401JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection401JSONResponseBodyStatusCode float32
+
+// DeleteGitHubAppConnection403JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection403JSONResponseBodyStatusCode float32
+
+// DeleteGitHubAppConnection404JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection404JSONResponseBodyStatusCode float32
+
+// DeleteGitHubAppConnection422JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection422JSONResponseBodyStatusCode float32
+
+// DeleteGitHubAppConnection500JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.
+type DeleteGitHubAppConnection500JSONResponseBodyStatusCode float32
+
+// RefreshAuthToken400JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.
+type RefreshAuthToken400JSONResponseBodyStatusCode float32
+
+// RefreshAuthToken401JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.
+type RefreshAuthToken401JSONResponseBodyStatusCode float32
+
+// RefreshAuthToken403JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.
+type RefreshAuthToken403JSONResponseBodyStatusCode float32
+
+// RefreshAuthToken404JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.
+type RefreshAuthToken404JSONResponseBodyStatusCode float32
+
+// RefreshAuthToken422JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.
+type RefreshAuthToken422JSONResponseBodyStatusCode float32
+
+// RefreshAuthToken500JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.
+type RefreshAuthToken500JSONResponseBodyStatusCode float32
+
+// 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"`
+
+ // 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"`
+
+ // AccessTokenTTL The lifetime for an access token in seconds. This value will be referenced at renewal time.
+ AccessTokenTTL *int `json:"accessTokenTTL,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"`
+
+ // 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"`
+
+ // LockoutCounterResetSeconds How long to wait from the most recent failed login until resetting the lockout counter.
+ LockoutCounterResetSeconds *float32 `json:"lockoutCounterResetSeconds,omitempty"`
+
+ // LockoutDurationSeconds How long an identity auth method lockout lasts.
+ LockoutDurationSeconds *float32 `json:"lockoutDurationSeconds,omitempty"`
+
+ // 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"`
+}
+
+// AttachUniversalAuth400JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.
+type AttachUniversalAuth400JSONResponseBodyStatusCode float32
+
+// AttachUniversalAuth401JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.
+type AttachUniversalAuth401JSONResponseBodyStatusCode float32
+
+// AttachUniversalAuth403JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.
+type AttachUniversalAuth403JSONResponseBodyStatusCode float32
+
+// AttachUniversalAuth404JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.
+type AttachUniversalAuth404JSONResponseBodyStatusCode float32
+
+// AttachUniversalAuth422JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.
+type AttachUniversalAuth422JSONResponseBodyStatusCode float32
+
+// AttachUniversalAuth500JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.
+type AttachUniversalAuth500JSONResponseBodyStatusCode float32
+
+// CreateUniversalAuthClientSecretJSONBody defines parameters for CreateUniversalAuthClientSecret.
+type CreateUniversalAuthClientSecretJSONBody struct {
+ // Description The description of the client secret.
+ Description *string `json:"description,omitempty"`
+
+ // 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"`
+
+ // Ttl The lifetime for the client secret in seconds.
+ Ttl *float32 `json:"ttl,omitempty"`
+}
+
+// CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.
+type CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode float32
+
+// CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.
+type CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode float32
+
+// CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.
+type CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode float32
+
+// CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.
+type CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode float32
+
+// CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.
+type CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode float32
+
+// CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.
+type CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode float32
+
+// LoginWithUniversalAuthJSONBody defines parameters for LoginWithUniversalAuth.
+type LoginWithUniversalAuthJSONBody struct {
+ // ClientId Your Machine Identity Client ID.
+ ClientId string `json:"clientId"`
+
+ // ClientSecret Your Machine Identity Client Secret.
+ ClientSecret string `json:"clientSecret"`
+
+ // 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"`
+}
+
+// LoginWithUniversalAuth200JSONResponseBodyTokenType defines parameters for LoginWithUniversalAuth.
+type LoginWithUniversalAuth200JSONResponseBodyTokenType string
+
+// LoginWithUniversalAuth400JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.
+type LoginWithUniversalAuth400JSONResponseBodyStatusCode float32
+
+// LoginWithUniversalAuth401JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.
+type LoginWithUniversalAuth401JSONResponseBodyStatusCode float32
+
+// 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
+
++// ListProjectSecretsDetailsParams defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetailsParams struct {
++ // ProjectId The ID of the project to list secrets/folders from.
++ ProjectId string `form:"projectId" json:"projectId"`
++
++ // Environment The slug of the environment to list secrets/folders from.
++ Environment string `form:"environment" json:"environment"`
++
++ // SecretPath The secret path to list secrets/folders from.
++ SecretPath *string `form:"secretPath,omitempty" json:"secretPath,omitempty"`
++
++ // Offset The offset to start from. If you enter 10, it will start from the 10th secret/folder.
++ Offset *float32 `form:"offset,omitempty" json:"offset,omitempty"`
++
++ // Limit The number of secrets/folders to return.
++ Limit *float32 `form:"limit,omitempty" json:"limit,omitempty"`
++
++ // OrderBy The column to order secrets/folders by.
++ OrderBy *ListProjectSecretsDetailsParamsOrderBy `form:"orderBy,omitempty" json:"orderBy,omitempty"`
++
++ // OrderDirection The direction to order secrets/folders in.
++ OrderDirection *ListProjectSecretsDetailsParamsOrderDirection `form:"orderDirection,omitempty" json:"orderDirection,omitempty"`
++
++ // Search The text string to filter secret keys and folder names by.
++ Search *string `form:"search,omitempty" json:"search,omitempty"`
++
++ // Tags The tags to filter secrets by (comma separated, ie 'tags=billing,engineering').
++ Tags *string `form:"tags,omitempty" json:"tags,omitempty"`
++
++ // IncludeSecrets Whether to include project secrets in the response.
++ IncludeSecrets *struct {
++ union json.RawMessage
++ } `form:"includeSecrets,omitempty" json:"includeSecrets,omitempty"`
++
++ // IncludeFolders Whether to include project folders in the response.
++ IncludeFolders *struct {
++ union json.RawMessage
++ } `form:"includeFolders,omitempty" json:"includeFolders,omitempty"`
++
++ // IncludeDynamicSecrets Whether to include dynamic project secrets in the response.
++ IncludeDynamicSecrets *struct {
++ union json.RawMessage
++ } `form:"includeDynamicSecrets,omitempty" json:"includeDynamicSecrets,omitempty"`
++
++ // IncludeImports Whether to include project secret imports in the response.
++ IncludeImports *struct {
++ union json.RawMessage
++ } `form:"includeImports,omitempty" json:"includeImports,omitempty"`
++
++ // IncludeSecretRotations Whether to include secret rotations in the response.
++ IncludeSecretRotations *struct {
++ union json.RawMessage
++ } `form:"includeSecretRotations,omitempty" json:"includeSecretRotations,omitempty"`
++
++ // IncludeHoneyTokens Whether to include honey tokens in the response.
++ IncludeHoneyTokens *struct {
++ union json.RawMessage
++ } `form:"includeHoneyTokens,omitempty" json:"includeHoneyTokens,omitempty"`
++
++ // IncludeProxiedServices Whether to include proxied services in the response.
++ IncludeProxiedServices *struct {
++ union json.RawMessage
++ } `form:"includeProxiedServices,omitempty" json:"includeProxiedServices,omitempty"`
++}
++
++// ListProjectSecretsDetailsParamsOrderBy defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetailsParamsOrderBy string
++
++// ListProjectSecretsDetailsParamsOrderDirection defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetailsParamsOrderDirection string
++
++// ListProjectSecretsDetailsParamsIncludeSecrets0 defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetailsParamsIncludeSecrets0 = bool
++
++// ListProjectSecretsDetailsParamsIncludeSecrets1 defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetailsParamsIncludeSecrets1 = string
++
++// ListProjectSecretsDetailsParamsIncludeFolders0 defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetailsParamsIncludeFolders0 = bool
++
++// ListProjectSecretsDetailsParamsIncludeFolders1 defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetailsParamsIncludeFolders1 = string
++
++// ListProjectSecretsDetailsParamsIncludeDynamicSecrets0 defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetailsParamsIncludeDynamicSecrets0 = bool
++
++// ListProjectSecretsDetailsParamsIncludeDynamicSecrets1 defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetailsParamsIncludeDynamicSecrets1 = string
++
++// ListProjectSecretsDetailsParamsIncludeImports0 defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetailsParamsIncludeImports0 = bool
++
++// ListProjectSecretsDetailsParamsIncludeImports1 defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetailsParamsIncludeImports1 = string
++
++// ListProjectSecretsDetailsParamsIncludeSecretRotations0 defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetailsParamsIncludeSecretRotations0 = bool
++
++// ListProjectSecretsDetailsParamsIncludeSecretRotations1 defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetailsParamsIncludeSecretRotations1 = string
++
++// ListProjectSecretsDetailsParamsIncludeHoneyTokens0 defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetailsParamsIncludeHoneyTokens0 = bool
++
++// ListProjectSecretsDetailsParamsIncludeHoneyTokens1 defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetailsParamsIncludeHoneyTokens1 = string
++
++// ListProjectSecretsDetailsParamsIncludeProxiedServices0 defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetailsParamsIncludeProxiedServices0 = bool
++
++// ListProjectSecretsDetailsParamsIncludeProxiedServices1 defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetailsParamsIncludeProxiedServices1 = string
++
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations0 defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations0 struct {
++ ActiveIndex *float32 `json:"activeIndex,omitempty"`
++ Connection struct {
++ App ListProjectSecretsDetails200JSONResponseBodySecretRotations0ConnectionApp `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"`
++ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
- // Dn The Distinguished Name (DN) or User Principal Name (UPN) of the principal to rotate the password for.
- Dn string `json:"dn"`
-
+ // PasswordRequirements The password requirements to use when generating the new password.
+ PasswordRequirements *struct {
+ // AllowedSymbols The allowed symbols to use in the generated password (defaults to "-_.~!*").
+ AllowedSymbols *string `json:"allowedSymbols,omitempty"`
+
+ // Length The length of the password to generate.
+ Length float32 `json:"length"`
+ Required struct {
+ // Digits The amount of digits to require in the generated password.
+ Digits float32 `json:"digits"`
+
+ // Lowercase The amount of lowercase characters to require in the generated password.
+ Lowercase float32 `json:"lowercase"`
+
+ // Symbols The amount of symbols to require in the generated password.
+ Symbols float32 `json:"symbols"`
+
+ // Uppercase The amount of uppercase characters to require in the generated password.
+ Uppercase float32 `json:"uppercase"`
+ } `json:"required"`
+ } `json:"passwordRequirements,omitempty"`
+
- // RotationMethod Whether the rotation should be performed by the LDAP "connection-principal" or the "target-principal" (defaults to 'connection-principal').
- RotationMethod *ListProjectSecretsDetails200JSONResponseBodySecretRotations6ParametersRotationMethod `json:"rotationMethod,omitempty"`
++ // RotationStatement The SQL template query used for rotation.
++ RotationStatement *string `json:"rotationStatement,omitempty"`
++
++ // Username1 The username of the first login to rotate passwords for. This user must already exists in your database.
++ Username1 string `json:"username1"`
++
++ // Username2 The username of the second login to rotate passwords for. This user must already exists in your database.
++ Username2 string `json:"username2"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
- // Dn The name of the secret that the Distinguished Name (DN) or User Principal Name (UPN) of the principal will be mapped to.
- Dn string `json:"dn"`
-
- // Password The name of the secret that the rotated password will be mapped to.
++ // Password The name of the secret that the generated password will be mapped to.
+ Password string `json:"password"`
++
++ // Username The name of the secret that the active username will be mapped to.
++ Username string `json:"username"`
+ } `json:"secretsMapping"`
- Type ListProjectSecretsDetails200JSONResponseBodySecretRotations6Type `json:"type"`
++ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations0Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations6ConnectionApp defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations6ConnectionApp string
-
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations6ParametersRotationMethod defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations6ParametersRotationMethod string
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations0ConnectionApp defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations0ConnectionApp string
+
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations6Type defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations6Type string
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations0Type defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations0Type string
+
-// ListProjectSecretsDetails200JSONResponseBodySecretRotations7 defines parameters for ListProjectSecretsDetails.
-type ListProjectSecretsDetails200JSONResponseBodySecretRotations7 struct {
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations1 defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations1 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
- App ListProjectSecretsDetails200JSONResponseBodySecretRotations7ConnectionApp `json:"app"`
++ App ListProjectSecretsDetails200JSONResponseBodySecretRotations1ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
- // Region The AWS region the client is present in.
- Region *ListProjectSecretsDetails200JSONResponseBodySecretRotations7ParametersRegion `json:"region,omitempty"`
++ // PasswordRequirements The password requirements to use when generating the new password.
++ PasswordRequirements *struct {
++ // AllowedSymbols The allowed symbols to use in the generated password (defaults to "-_.~!*").
++ AllowedSymbols *string `json:"allowedSymbols,omitempty"`
+
- // UserName The name of the client to rotate credentials for.
- UserName string `json:"userName"`
++ // Length The length of the password to generate.
++ Length float32 `json:"length"`
++ Required struct {
++ // Digits The amount of digits to require in the generated password.
++ Digits float32 `json:"digits"`
++
++ // Lowercase The amount of lowercase characters to require in the generated password.
++ Lowercase float32 `json:"lowercase"`
++
++ // Symbols The amount of symbols to require in the generated password.
++ Symbols float32 `json:"symbols"`
++
++ // Uppercase The amount of uppercase characters to require in the generated password.
++ Uppercase float32 `json:"uppercase"`
++ } `json:"required"`
++ } `json:"passwordRequirements,omitempty"`
++
++ // RotationStatement The SQL template query used for rotation.
++ RotationStatement *string `json:"rotationStatement,omitempty"`
++
++ // Username1 The username of the first login to rotate passwords for. This user must already exists in your database.
++ Username1 string `json:"username1"`
++
++ // Username2 The username of the second login to rotate passwords for. This user must already exists in your database.
++ Username2 string `json:"username2"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
- // AccessKeyId The name of the secret that the access key ID will be mapped to.
++ // Password The name of the secret that the generated password will be mapped to.
++ Password string `json:"password"`
++
++ // Username The name of the secret that the active username will be mapped to.
++ Username string `json:"username"`
++ } `json:"secretsMapping"`
++ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations1Type `json:"type"`
++ UpdatedAt time.Time `json:"updatedAt"`
++}
++
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations1ConnectionApp defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations1ConnectionApp string
++
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations1Type defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations1Type string
++
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations2 defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations2 struct {
++ ActiveIndex *float32 `json:"activeIndex,omitempty"`
++ Connection struct {
++ App ListProjectSecretsDetails200JSONResponseBodySecretRotations2ConnectionApp `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"`
++ 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"`
++ Id openapi_types.UUID `json:"id"`
++ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
++ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
++ LastRotatedAt time.Time `json:"lastRotatedAt"`
++ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
++ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
++ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
++ Name string `json:"name"`
++ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
++ Parameters struct {
++ // PasswordRequirements The password requirements to use when generating the new password.
++ PasswordRequirements *struct {
++ // AllowedSymbols The allowed symbols to use in the generated password (defaults to "-_.~!*").
++ AllowedSymbols *string `json:"allowedSymbols,omitempty"`
++
++ // Length The length of the password to generate.
++ Length float32 `json:"length"`
++ Required struct {
++ // Digits The amount of digits to require in the generated password.
++ Digits float32 `json:"digits"`
++
++ // Lowercase The amount of lowercase characters to require in the generated password.
++ Lowercase float32 `json:"lowercase"`
++
++ // Symbols The amount of symbols to require in the generated password.
++ Symbols float32 `json:"symbols"`
++
++ // Uppercase The amount of uppercase characters to require in the generated password.
++ Uppercase float32 `json:"uppercase"`
++ } `json:"required"`
++ } `json:"passwordRequirements,omitempty"`
++
++ // RotationStatement The SQL template query used for rotation.
++ RotationStatement *string `json:"rotationStatement,omitempty"`
++
++ // Username1 The username of the first login to rotate passwords for. This user must already exists in your database.
++ Username1 string `json:"username1"`
++
++ // Username2 The username of the second login to rotate passwords for. This user must already exists in your database.
++ Username2 string `json:"username2"`
++ } `json:"parameters"`
++ ProjectId string `json:"projectId"`
++ RotateAtUtc struct {
++ Hours float32 `json:"hours"`
++ Minutes float32 `json:"minutes"`
++ } `json:"rotateAtUtc"`
++ RotationInterval float32 `json:"rotationInterval"`
++ RotationStatus string `json:"rotationStatus"`
++ SecretsMapping struct {
++ // Password The name of the secret that the generated password will be mapped to.
++ Password string `json:"password"`
++
++ // Username The name of the secret that the active username will be mapped to.
++ Username string `json:"username"`
++ } `json:"secretsMapping"`
++ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations2Type `json:"type"`
++ UpdatedAt time.Time `json:"updatedAt"`
++}
++
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations2ConnectionApp defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations2ConnectionApp string
++
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations2Type defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations2Type string
++
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations3 defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations3 struct {
++ ActiveIndex *float32 `json:"activeIndex,omitempty"`
++ Connection struct {
++ App ListProjectSecretsDetails200JSONResponseBodySecretRotations3ConnectionApp `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"`
++ 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"`
++ Id openapi_types.UUID `json:"id"`
++ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
++ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
++ LastRotatedAt time.Time `json:"lastRotatedAt"`
++ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
++ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
++ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
++ Name string `json:"name"`
++ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
++ Parameters struct {
++ // PasswordRequirements The password requirements to use when generating the new password.
++ PasswordRequirements *struct {
++ // AllowedSymbols The allowed symbols to use in the generated password (defaults to "-_.~!*").
++ AllowedSymbols *string `json:"allowedSymbols,omitempty"`
++
++ // Length The length of the password to generate.
++ Length float32 `json:"length"`
++ Required struct {
++ // Digits The amount of digits to require in the generated password.
++ Digits float32 `json:"digits"`
++
++ // Lowercase The amount of lowercase characters to require in the generated password.
++ Lowercase float32 `json:"lowercase"`
++
++ // Symbols The amount of symbols to require in the generated password.
++ Symbols float32 `json:"symbols"`
++
++ // Uppercase The amount of uppercase characters to require in the generated password.
++ Uppercase float32 `json:"uppercase"`
++ } `json:"required"`
++ } `json:"passwordRequirements,omitempty"`
++
++ // RotationStatement The SQL template query used for rotation.
++ RotationStatement *string `json:"rotationStatement,omitempty"`
++
++ // Username1 The username of the first login to rotate passwords for. This user must already exists in your database.
++ Username1 string `json:"username1"`
++
++ // Username2 The username of the second login to rotate passwords for. This user must already exists in your database.
++ Username2 string `json:"username2"`
++ } `json:"parameters"`
++ ProjectId string `json:"projectId"`
++ RotateAtUtc struct {
++ Hours float32 `json:"hours"`
++ Minutes float32 `json:"minutes"`
++ } `json:"rotateAtUtc"`
++ RotationInterval float32 `json:"rotationInterval"`
++ RotationStatus string `json:"rotationStatus"`
++ SecretsMapping struct {
++ // Password The name of the secret that the generated password will be mapped to.
++ Password string `json:"password"`
++
++ // Username The name of the secret that the active username will be mapped to.
++ Username string `json:"username"`
++ } `json:"secretsMapping"`
++ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations3Type `json:"type"`
++ UpdatedAt time.Time `json:"updatedAt"`
++}
++
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations3ConnectionApp defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations3ConnectionApp string
++
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations3Type defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations3Type string
++
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations4 defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations4 struct {
++ ActiveIndex *float32 `json:"activeIndex,omitempty"`
++ Connection struct {
++ App ListProjectSecretsDetails200JSONResponseBodySecretRotations4ConnectionApp `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"`
++ 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"`
++ Id openapi_types.UUID `json:"id"`
++ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
++ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
++ LastRotatedAt time.Time `json:"lastRotatedAt"`
++ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
++ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
++ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
++ Name string `json:"name"`
++ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
++ Parameters struct {
++ // ClientId The client ID of the Auth0 Application to rotate the client secret for.
++ ClientId string `json:"clientId"`
++ } `json:"parameters"`
++ ProjectId string `json:"projectId"`
++ RotateAtUtc struct {
++ Hours float32 `json:"hours"`
++ Minutes float32 `json:"minutes"`
++ } `json:"rotateAtUtc"`
++ RotationInterval float32 `json:"rotationInterval"`
++ RotationStatus string `json:"rotationStatus"`
++ SecretsMapping struct {
++ // ClientId The name of the secret that the client ID will be mapped to.
++ ClientId string `json:"clientId"`
++
++ // ClientSecret The name of the secret that the rotated client secret will be mapped to.
++ ClientSecret string `json:"clientSecret"`
++ } `json:"secretsMapping"`
++ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations4Type `json:"type"`
++ UpdatedAt time.Time `json:"updatedAt"`
++}
++
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations4ConnectionApp defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations4ConnectionApp string
++
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations4Type defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations4Type string
++
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations5 defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations5 struct {
++ ActiveIndex *float32 `json:"activeIndex,omitempty"`
++ Connection struct {
++ App ListProjectSecretsDetails200JSONResponseBodySecretRotations5ConnectionApp `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"`
++ 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"`
++ Id openapi_types.UUID `json:"id"`
++ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
++ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
++ LastRotatedAt time.Time `json:"lastRotatedAt"`
++ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
++ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
++ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
++ Name string `json:"name"`
++ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
++ Parameters struct {
++ // AppName The name of the Azure Application to rotate the client secret for.
++ AppName *string `json:"appName,omitempty"`
++
++ // ClientId The client ID of the Azure Application to rotate the client secret for.
++ ClientId string `json:"clientId"`
++
++ // ObjectId The ID of the Azure Application to rotate the client secret for.
++ ObjectId string `json:"objectId"`
++ } `json:"parameters"`
++ ProjectId string `json:"projectId"`
++ RotateAtUtc struct {
++ Hours float32 `json:"hours"`
++ Minutes float32 `json:"minutes"`
++ } `json:"rotateAtUtc"`
++ RotationInterval float32 `json:"rotationInterval"`
++ RotationStatus string `json:"rotationStatus"`
++ SecretsMapping struct {
++ // ClientId The name of the secret that the client ID will be mapped to.
++ ClientId string `json:"clientId"`
++
++ // ClientSecret The name of the secret that the rotated client secret will be mapped to.
++ ClientSecret string `json:"clientSecret"`
++ } `json:"secretsMapping"`
++ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations5Type `json:"type"`
++ UpdatedAt time.Time `json:"updatedAt"`
++}
++
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations5ConnectionApp defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations5ConnectionApp string
++
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations5Type defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations5Type string
++
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations6 defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations6 struct {
++ ActiveIndex *float32 `json:"activeIndex,omitempty"`
++ Connection struct {
++ App ListProjectSecretsDetails200JSONResponseBodySecretRotations6ConnectionApp `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"`
++ 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"`
++ Id openapi_types.UUID `json:"id"`
++ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
++ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
++ LastRotatedAt time.Time `json:"lastRotatedAt"`
++ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
++ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
++ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
++ Name string `json:"name"`
++ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
++ Parameters struct {
++ // Dn The Distinguished Name (DN) or User Principal Name (UPN) of the principal to rotate the password for.
++ Dn string `json:"dn"`
++
++ // PasswordRequirements The password requirements to use when generating the new password.
++ PasswordRequirements *struct {
++ // AllowedSymbols The allowed symbols to use in the generated password (defaults to "-_.~!*").
++ AllowedSymbols *string `json:"allowedSymbols,omitempty"`
++
++ // Length The length of the password to generate.
++ Length float32 `json:"length"`
++ Required struct {
++ // Digits The amount of digits to require in the generated password.
++ Digits float32 `json:"digits"`
++
++ // Lowercase The amount of lowercase characters to require in the generated password.
++ Lowercase float32 `json:"lowercase"`
++
++ // Symbols The amount of symbols to require in the generated password.
++ Symbols float32 `json:"symbols"`
++
++ // Uppercase The amount of uppercase characters to require in the generated password.
++ Uppercase float32 `json:"uppercase"`
++ } `json:"required"`
++ } `json:"passwordRequirements,omitempty"`
++
++ // RotationMethod Whether the rotation should be performed by the LDAP "connection-principal" or the "target-principal" (defaults to 'connection-principal').
++ RotationMethod *ListProjectSecretsDetails200JSONResponseBodySecretRotations6ParametersRotationMethod `json:"rotationMethod,omitempty"`
++ } `json:"parameters"`
++ ProjectId string `json:"projectId"`
++ RotateAtUtc struct {
++ Hours float32 `json:"hours"`
++ Minutes float32 `json:"minutes"`
++ } `json:"rotateAtUtc"`
++ RotationInterval float32 `json:"rotationInterval"`
++ RotationStatus string `json:"rotationStatus"`
++ SecretsMapping struct {
++ // Dn The name of the secret that the Distinguished Name (DN) or User Principal Name (UPN) of the principal will be mapped to.
++ Dn string `json:"dn"`
++
++ // Password The name of the secret that the rotated password will be mapped to.
++ Password string `json:"password"`
++ } `json:"secretsMapping"`
++ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations6Type `json:"type"`
++ UpdatedAt time.Time `json:"updatedAt"`
++}
++
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations6ConnectionApp defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations6ConnectionApp string
++
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations6ParametersRotationMethod defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations6ParametersRotationMethod string
++
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations6Type defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations6Type string
++
++// ListProjectSecretsDetails200JSONResponseBodySecretRotations7 defines parameters for ListProjectSecretsDetails.
++type ListProjectSecretsDetails200JSONResponseBodySecretRotations7 struct {
++ ActiveIndex *float32 `json:"activeIndex,omitempty"`
++ Connection struct {
++ App ListProjectSecretsDetails200JSONResponseBodySecretRotations7ConnectionApp `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"`
++ 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"`
++ Id openapi_types.UUID `json:"id"`
++ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
++ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
++ LastRotatedAt time.Time `json:"lastRotatedAt"`
++ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
++ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
++ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
++ Name string `json:"name"`
++ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
++ Parameters struct {
++ // Region The AWS region the client is present in.
++ Region *ListProjectSecretsDetails200JSONResponseBodySecretRotations7ParametersRegion `json:"region,omitempty"`
++
++ // UserName The name of the client to rotate credentials for.
++ UserName string `json:"userName"`
++ } `json:"parameters"`
++ ProjectId string `json:"projectId"`
++ RotateAtUtc struct {
++ Hours float32 `json:"hours"`
++ Minutes float32 `json:"minutes"`
++ } `json:"rotateAtUtc"`
++ RotationInterval float32 `json:"rotationInterval"`
++ RotationStatus string `json:"rotationStatus"`
++ SecretsMapping struct {
++ // AccessKeyId The name of the secret that the access key ID will be mapped to.
+ AccessKeyId string `json:"accessKeyId"`
+
+ // SecretAccessKey The name of the secret that the rotated secret access key will be mapped to.
+ SecretAccessKey string `json:"secretAccessKey"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations7Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations7ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations7ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations7ParametersRegion defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations7ParametersRegion string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations7Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations7Type string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations8 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations8 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
+ App ListProjectSecretsDetails200JSONResponseBodySecretRotations8ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
+ // ClientId The ID of the Okta Application to rotate the client secret for.
+ ClientId string `json:"clientId"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
+ // ClientId The name of the secret that the client ID will be mapped to.
+ ClientId string `json:"clientId"`
+
+ // ClientSecret The name of the secret that the rotated client secret will be mapped to.
+ ClientSecret string `json:"clientSecret"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations8Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations8ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations8ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations8Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations8Type string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations9 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations9 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
+ App ListProjectSecretsDetails200JSONResponseBodySecretRotations9ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
+ // PasswordRequirements The password requirements to use when generating the new password.
+ PasswordRequirements *struct {
+ // AllowedSymbols The allowed symbols to use in the generated password (defaults to "-_.~!*").
+ AllowedSymbols *string `json:"allowedSymbols,omitempty"`
+
+ // Length The length of the password to generate.
+ Length float32 `json:"length"`
+ Required struct {
+ // Digits The amount of digits to require in the generated password.
+ Digits float32 `json:"digits"`
+
+ // Lowercase The amount of lowercase characters to require in the generated password.
+ Lowercase float32 `json:"lowercase"`
+
+ // Symbols The amount of symbols to require in the generated password.
+ Symbols float32 `json:"symbols"`
+
+ // Uppercase The amount of uppercase characters to require in the generated password.
+ Uppercase float32 `json:"uppercase"`
+ } `json:"required"`
+ } `json:"passwordRequirements,omitempty"`
+
+ // PermissionScope The ACL permission scope to assign to the issued Redis users.
+ PermissionScope string `json:"permissionScope"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
+ // Password The name of the secret that the rotated password will be mapped to.
+ Password string `json:"password"`
+
+ // Username The name of the secret that the username will be mapped to.
+ Username string `json:"username"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations9Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations9ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations9ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations9Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations9Type string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations10 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations10 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
+ App ListProjectSecretsDetails200JSONResponseBodySecretRotations10ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
+ // Username1 The username of the first login to rotate passwords for. This user must already exists in your database.
+ Username1 string `json:"username1"`
+
+ // Username2 The username of the second login to rotate passwords for. This user must already exists in your database.
+ Username2 string `json:"username2"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
+ // Password The name of the secret that the generated password will be mapped to.
+ Password string `json:"password"`
+
+ // Username The name of the secret that the active username will be mapped to.
+ Username string `json:"username"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations10Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations10ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations10ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations10Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations10Type string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations11 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations11 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
+ App ListProjectSecretsDetails200JSONResponseBodySecretRotations11ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
+ // ClientId The client ID of the Databricks Service Principal to rotate the OAuth secret for.
+ ClientId string `json:"clientId"`
+
+ // ServicePrincipalId The ID of the Databricks Service Principal to rotate the OAuth secret for.
+ ServicePrincipalId string `json:"servicePrincipalId"`
+
+ // ServicePrincipalName The name of the Databricks Service Principal to rotate the OAuth secret for.
+ ServicePrincipalName *string `json:"servicePrincipalName,omitempty"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
+ // ClientId The name of the secret that the client ID will be mapped to.
+ ClientId string `json:"clientId"`
+
+ // ClientSecret The name of the secret that the rotated OAuth client secret will be mapped to.
+ ClientSecret string `json:"clientSecret"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations11Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations11ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations11ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations11Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations11Type string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations12 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations12 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
+ App ListProjectSecretsDetails200JSONResponseBodySecretRotations12ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
+ // PasswordRequirements The password requirements to use when generating the new password.
+ PasswordRequirements *struct {
+ // AllowedSymbols The allowed symbols to use in the generated password (defaults to "-_.~!*").
+ AllowedSymbols *string `json:"allowedSymbols,omitempty"`
+
+ // Length The length of the password to generate.
+ Length float32 `json:"length"`
+ Required struct {
+ // Digits The amount of digits to require in the generated password.
+ Digits float32 `json:"digits"`
+
+ // Lowercase The amount of lowercase characters to require in the generated password.
+ Lowercase float32 `json:"lowercase"`
+
+ // Symbols The amount of symbols to require in the generated password.
+ Symbols float32 `json:"symbols"`
+
+ // Uppercase The amount of uppercase characters to require in the generated password.
+ Uppercase float32 `json:"uppercase"`
+ } `json:"required"`
+ } `json:"passwordRequirements,omitempty"`
+
+ // RotationMethod Whether the rotation should be performed using "login-as-target" (the target user's own credentials) or "login-as-root" (the SSH connection's admin credentials). Defaults to "login-as-target".
+ RotationMethod *ListProjectSecretsDetails200JSONResponseBodySecretRotations12ParametersRotationMethod `json:"rotationMethod,omitempty"`
+
+ // UseSudo If true, uses sudo when executing the password rotation command. Defaults to false.
+ UseSudo *bool `json:"useSudo,omitempty"`
+
+ // Username The username of the Unix/Linux user account to rotate the password for.
+ Username string `json:"username"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
+ // Password The name of the secret that the rotated password will be mapped to.
+ Password string `json:"password"`
+
+ // Username The name of the secret that the username will be mapped to.
+ Username string `json:"username"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations12Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations12ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations12ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations12ParametersRotationMethod defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations12ParametersRotationMethod string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations12Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations12Type string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations13 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations13 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
+ App ListProjectSecretsDetails200JSONResponseBodySecretRotations13ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
+ // PermissionGrants The permission grants to apply to the service token.
+ PermissionGrants []struct {
+ PermissionSet ListProjectSecretsDetails200JSONResponseBodySecretRotations13ParametersPermissionGrantsPermissionSet `json:"permissionSet"`
+ ProjectId *float32 `json:"projectId,omitempty"`
+ } `json:"permissionGrants"`
+
+ // TokenName The name of the service token to create.
+ TokenName string `json:"tokenName"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
+ // ServiceToken The name of the secret that the service token will be mapped to.
+ ServiceToken string `json:"serviceToken"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations13Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations13ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations13ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations13ParametersPermissionGrantsPermissionSet defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations13ParametersPermissionGrantsPermissionSet string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations13Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations13Type string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations14 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations14 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
+ App ListProjectSecretsDetails200JSONResponseBodySecretRotations14ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
+ // PasswordRequirements The password requirements to use when generating the new password.
+ PasswordRequirements *struct {
+ // AllowedSymbols The allowed symbols to use in the generated password (defaults to "-_.~!*").
+ AllowedSymbols *string `json:"allowedSymbols,omitempty"`
+
+ // Length The length of the password to generate.
+ Length float32 `json:"length"`
+ Required struct {
+ // Digits The amount of digits to require in the generated password.
+ Digits float32 `json:"digits"`
+
+ // Lowercase The amount of lowercase characters to require in the generated password.
+ Lowercase float32 `json:"lowercase"`
+
+ // Symbols The amount of symbols to require in the generated password.
+ Symbols float32 `json:"symbols"`
+
+ // Uppercase The amount of uppercase characters to require in the generated password.
+ Uppercase float32 `json:"uppercase"`
+ } `json:"required"`
+ } `json:"passwordRequirements,omitempty"`
+
+ // RotationMethod Whether the rotation should be performed using "login-as-target" (the target user's own credentials) or "login-as-root" (the SSH connection's admin credentials). Defaults to "login-as-target".
+ RotationMethod *ListProjectSecretsDetails200JSONResponseBodySecretRotations14ParametersRotationMethod `json:"rotationMethod,omitempty"`
+
+ // Username The username of the Windows user account to rotate the password for.
+ Username string `json:"username"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
+ // Password The name of the secret that the rotated password will be mapped to.
+ Password string `json:"password"`
+
+ // Username The name of the secret that the username will be mapped to.
+ Username string `json:"username"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations14Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations14ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations14ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations14ParametersRotationMethod defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations14ParametersRotationMethod string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations14Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations14Type string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations15 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations15 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
+ App ListProjectSecretsDetails200JSONResponseBodySecretRotations15ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
+ // IncludeByokInLimit Whether to include BYOK (Bring Your Own Key) usage in the spending limit. When enabled, usage from your own provider keys counts toward this key's limit. See OpenRouter BYOK docs for details.
+ IncludeByokInLimit *bool `json:"includeByokInLimit,omitempty"`
+
+ // Limit The optional spending limit in USD for the generated API key.
+ Limit *float32 `json:"limit,omitempty"`
+
+ // LimitReset The type of limit reset for the API key (daily, weekly, monthly, or null for no reset).
+ LimitReset *ListProjectSecretsDetails200JSONResponseBodySecretRotations15ParametersLimitReset `json:"limitReset,omitempty"`
+
+ // Name The name for the generated OpenRouter API key.
+ Name string `json:"name"`
+
+ // WorkspaceId The optional ID of the OpenRouter workspace to create API keys in. If omitted, OpenRouter creates keys in the account's Default workspace.
+ WorkspaceId *string `json:"workspaceId,omitempty"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
+ // ApiKey The name of the secret that the rotated OpenRouter API key will be mapped to.
+ ApiKey string `json:"apiKey"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations15Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations15ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations15ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations15ParametersLimitReset defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations15ParametersLimitReset string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations15Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations15Type string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations16 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations16 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
+ App ListProjectSecretsDetails200JSONResponseBodySecretRotations16ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
+ // AdditionalOptions A JSON object of additional LiteLLM /key/generate options (e.g. max_budget, tpm_limit, metadata). Reserved fields (key_alias, auto_rotate, rotation_interval, duration, send_invite_email, key_type, user_id, team_id, models) are managed by Infisical or set via dedicated fields and cannot be set here.
+ AdditionalOptions *string `json:"additionalOptions,omitempty"`
+
+ // Models The list of model names the generated key is allowed to access. An empty list allows all models.
+ Models *[]string `json:"models,omitempty"`
+
+ // Name The name for the generated LiteLLM API key. Infisical appends a timestamp to keep each rotated key unique and record its creation time.
+ Name string `json:"name"`
+
+ // TeamId The ID of the LiteLLM team to associate the generated key with.
+ TeamId *string `json:"teamId,omitempty"`
+
+ // UserId The ID of the LiteLLM user to associate the generated key with.
+ UserId *string `json:"userId,omitempty"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
+ // ApiKey The name of the secret that the rotated LiteLLM API key will be mapped to.
+ ApiKey string `json:"apiKey"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations16Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations16ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations16ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations16Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations16Type string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations17 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations17 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
+ App ListProjectSecretsDetails200JSONResponseBodySecretRotations17ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
+ // Name The name for the generated OpenAI service account.
+ Name string `json:"name"`
+
+ // ProjectId The ID of the OpenAI project to create service accounts in.
+ ProjectId string `json:"projectId"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
+ // ApiKey The name of the secret that the rotated OpenAI service account API key will be mapped to.
+ ApiKey string `json:"apiKey"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations17Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations17ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations17ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations17Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations17Type string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations18 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations18 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
+ App ListProjectSecretsDetails200JSONResponseBodySecretRotations18ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
+ // PasswordRequirements The password requirements to use when generating the new password.
+ PasswordRequirements *struct {
+ // AllowedSymbols The allowed symbols to use in the generated password (defaults to "-_.~!*").
+ AllowedSymbols *string `json:"allowedSymbols,omitempty"`
+
+ // Length The length of the password to generate.
+ Length float32 `json:"length"`
+ Required struct {
+ // Digits The amount of digits to require in the generated password.
+ Digits float32 `json:"digits"`
+
+ // Lowercase The amount of lowercase characters to require in the generated password.
+ Lowercase float32 `json:"lowercase"`
+
+ // Symbols The amount of symbols to require in the generated password.
+ Symbols float32 `json:"symbols"`
+
+ // Uppercase The amount of uppercase characters to require in the generated password.
+ Uppercase float32 `json:"uppercase"`
+ } `json:"required"`
+ } `json:"passwordRequirements,omitempty"`
+
+ // RotationMethod Whether the rotation should be performed using "login-as-target" (the target user's own credentials) or "login-as-root" (the SSH connection's admin credentials). Defaults to "login-as-root".
+ RotationMethod *ListProjectSecretsDetails200JSONResponseBodySecretRotations18ParametersRotationMethod `json:"rotationMethod,omitempty"`
+
+ // Username The username of the HP iLO account to rotate the password for.
+ Username string `json:"username"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
+ // Password The name of the secret that the rotated password will be mapped to.
+ Password string `json:"password"`
+
+ // Username The name of the secret that the username will be mapped to.
+ Username string `json:"username"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations18Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations18ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations18ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations18ParametersRotationMethod defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations18ParametersRotationMethod string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations18Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations18Type string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations19 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations19 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
+ App ListProjectSecretsDetails200JSONResponseBodySecretRotations19ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
+ // KeyType The type of the API key to rotate (e.g. publishable, secret).
+ KeyType ListProjectSecretsDetails200JSONResponseBodySecretRotations19ParametersKeyType `json:"keyType"`
+
+ // ProjectRef The reference ID of the Supabase project to rotate the API key for.
+ ProjectRef string `json:"projectRef"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
+ // ApiKey The name of the secret that the rotated Supabase API key will be mapped to.
+ ApiKey string `json:"apiKey"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations19Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations19ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations19ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations19ParametersKeyType defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations19ParametersKeyType string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations19Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations19Type string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations20 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations20 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
+ App ListProjectSecretsDetails200JSONResponseBodySecretRotations20ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
+ // AppId The identifier of the Salesforce External Client App to rotate the consumer secret for.
+ AppId string `json:"appId"`
+
+ // AppName The developer name of the Salesforce External Client App to rotate the consumer secret for.
+ AppName string `json:"appName"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
+ // ConsumerKey The name of the secret that the rotated Salesforce consumer key will be mapped to.
+ ConsumerKey string `json:"consumerKey"`
+
+ // ConsumerSecret The name of the secret that the rotated Salesforce consumer secret will be mapped to.
+ ConsumerSecret string `json:"consumerSecret"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations20Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations20ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations20ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations20Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations20Type string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations21 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations21 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
+ App ListProjectSecretsDetails200JSONResponseBodySecretRotations21ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
+ // ServiceAccountId The ID of the Datadog service account to rotate the application key for.
+ ServiceAccountId string `json:"serviceAccountId"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
+ // ApplicationKey The name of the secret that the rotated Datadog application key value will be mapped to.
+ ApplicationKey string `json:"applicationKey"`
+
+ // ApplicationKeyId The name of the secret that the rotated Datadog application key ID will be mapped to.
+ ApplicationKeyId string `json:"applicationKeyId"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations21Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations21ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations21ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations21Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations21Type string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations22 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations22 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
+ App ListProjectSecretsDetails200JSONResponseBodySecretRotations22ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
+ // Name The name for the generated Datadog API key.
+ Name string `json:"name"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
+ // ApiKey The name of the secret that the rotated Datadog API key value will be mapped to.
+ ApiKey string `json:"apiKey"`
+
+ // ApiKeyId The name of the secret that the rotated Datadog API key ID will be mapped to.
+ ApiKeyId string `json:"apiKeyId"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations22Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations22ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations22ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations22Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations22Type string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations23 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations23 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
+ App ListProjectSecretsDetails200JSONResponseBodySecretRotations23ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
+ // NamePrefix A prefix to use when naming the generated Convex access key.
+ NamePrefix string `json:"namePrefix"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
+ // AccessKey The name of the secret that the rotated Convex access key will be mapped to.
+ AccessKey string `json:"accessKey"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations23Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations23ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations23ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations23Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations23Type string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations24 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations24 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
+ App ListProjectSecretsDetails200JSONResponseBodySecretRotations24ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
+ // ServiceAccountUserId The user ID of the Fireworks service account to create the API key for.
+ ServiceAccountUserId string `json:"serviceAccountUserId"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
+ // ApiKey The name of the secret that the rotated Fireworks API key will be mapped to.
+ ApiKey string `json:"apiKey"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations24Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations24ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations24ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations24Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations24Type string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations25 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations25 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
+ App ListProjectSecretsDetails200JSONResponseBodySecretRotations25ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
+ // ModulusLength The modulus length in bits of the generated RSA key pairs. Defaults to 2048.
+ ModulusLength *ListProjectSecretsDetails200JSONResponseBody_SecretRotations_25_Parameters_ModulusLength `json:"modulusLength,omitempty"`
+
+ // Username The Snowflake user whose RSA key pair will be rotated. If the user does not exist, it is created as a key-pair-only SERVICE user.
+ Username string `json:"username"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
+ // PrivateKey The name of the secret that the generated RSA private key (PKCS#8 PEM) will be mapped to.
+ PrivateKey string `json:"privateKey"`
+
+ // PublicKey The name of the secret that the generated RSA public key (SPKI PEM) will be mapped to.
+ PublicKey string `json:"publicKey"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations25Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations25ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations25ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations25ParametersModulusLength0 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations25ParametersModulusLength0 float32
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations25ParametersModulusLength1 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations25ParametersModulusLength1 float32
+
+ // ListProjectSecretsDetails200JSONResponseBody_SecretRotations_25_Parameters_ModulusLength defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBody_SecretRotations_25_Parameters_ModulusLength struct {
+ union json.RawMessage
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations25Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations25Type string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations26 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations26 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
+ App ListProjectSecretsDetails200JSONResponseBodySecretRotations26ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
+ // AllowedIps The IP addresses or CIDR blocks the generated Cloudflare API token is restricted to.
+ AllowedIps *[]string `json:"allowedIps,omitempty"`
+
+ // DisallowedIps The IP addresses or CIDR blocks the generated Cloudflare API token is denied from.
+ DisallowedIps *[]string `json:"disallowedIps,omitempty"`
+
+ // Name The name for the generated Cloudflare API token.
+ Name string `json:"name"`
+
+ // Policies The access policies to attach to the generated Cloudflare API token. Each policy scopes a set of permission groups to the entire account, to all zones in the account, or to a specific set of zones.
+ Policies []struct {
+ Effect ListProjectSecretsDetails200JSONResponseBodySecretRotations26ParametersPoliciesEffect `json:"effect"`
+ PermissionGroupIds []string `json:"permissionGroupIds"`
+ Scope ListProjectSecretsDetails200JSONResponseBodySecretRotations26ParametersPoliciesScope `json:"scope"`
+ ZoneIds *[]string `json:"zoneIds,omitempty"`
+ } `json:"policies"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
+ // ApiToken The name of the secret that the rotated Cloudflare API token value will be mapped to.
+ ApiToken string `json:"apiToken"`
+
+ // TokenId The name of the secret that the rotated Cloudflare API token ID will be mapped to.
+ TokenId string `json:"tokenId"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations26Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations26ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations26ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations26ParametersPoliciesEffect defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations26ParametersPoliciesEffect string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations26ParametersPoliciesScope defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations26ParametersPoliciesScope string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations26Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations26Type string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations27 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations27 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
+ App ListProjectSecretsDetails200JSONResponseBodySecretRotations27ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
+ // AccessLevel The level of access the generated key has over the selected buckets (object-read for read and list, object-read-write to also write).
+ AccessLevel *ListProjectSecretsDetails200JSONResponseBodySecretRotations27ParametersAccessLevel `json:"accessLevel,omitempty"`
+
+ // AllowedIps The IP addresses or CIDR blocks the generated R2 access key is restricted to.
+ AllowedIps *[]string `json:"allowedIps,omitempty"`
+
+ // Buckets The R2 buckets the generated access key is scoped to. Each entry is a bucket name plus its jurisdiction (default, eu, or fedramp).
+ Buckets []struct {
+ Jurisdiction *ListProjectSecretsDetails200JSONResponseBodySecretRotations27ParametersBucketsJurisdiction `json:"jurisdiction,omitempty"`
+ Name string `json:"name"`
+ } `json:"buckets"`
+
+ // DisallowedIps The IP addresses or CIDR blocks the generated R2 access key is denied from.
+ DisallowedIps *[]string `json:"disallowedIps,omitempty"`
+
+ // Name The name for the generated Cloudflare API token that backs the R2 access key.
+ Name string `json:"name"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
+ // AccessKeyId The name of the secret that the rotated R2 access key ID will be mapped to.
+ AccessKeyId string `json:"accessKeyId"`
+
+ // SecretAccessKey The name of the secret that the rotated R2 secret access key will be mapped to.
+ SecretAccessKey string `json:"secretAccessKey"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations27Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations27ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations27ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations27ParametersAccessLevel defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations27ParametersAccessLevel string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations27ParametersBucketsJurisdiction defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations27ParametersBucketsJurisdiction string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations27Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations27Type string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations28 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations28 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
+ App ListProjectSecretsDetails200JSONResponseBodySecretRotations28ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
+ // KeyName The name for each Stripe API key this rotation creates, up to 80 characters. Infisical appends a timestamp so the old and new key can be told apart. Defaults to 'infisical-managed'.
+ KeyName *string `json:"keyName,omitempty"`
+
+ // Permissions The permissions granted to the generated Stripe API key. Stripe has no wildcard permission, so this is the full list of what the key may do.
+ Permissions []ListProjectSecretsDetails200JSONResponseBodySecretRotations28ParametersPermissions `json:"permissions"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
+ // ApiKey The name of the secret that the rotated Stripe API key will be mapped to.
+ ApiKey string `json:"apiKey"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations28Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations28ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations28ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations28ParametersPermissions defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations28ParametersPermissions string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations28Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations28Type string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations29 defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations29 struct {
+ ActiveIndex *float32 `json:"activeIndex,omitempty"`
+ Connection struct {
+ App ListProjectSecretsDetails200JSONResponseBodySecretRotations29ConnectionApp `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"`
+ 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"`
+ Id openapi_types.UUID `json:"id"`
+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`
+ IsLastRotationManual *bool `json:"isLastRotationManual,omitempty"`
+ LastRotatedAt time.Time `json:"lastRotatedAt"`
+ LastRotationAttemptedAt time.Time `json:"lastRotationAttemptedAt"`
+ LastRotationJobId *string `json:"lastRotationJobId,omitempty"`
+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`
+ Name string `json:"name"`
+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`
+ Parameters struct {
+ // ServiceAccountEmail The email of the GCP service account whose keys will be rotated, e.g. [email protected]. The connection's service account needs the Service Account Key Admin role (roles/iam.serviceAccountKeyAdmin) on it.
+ ServiceAccountEmail openapi_types.Email `json:"serviceAccountEmail"`
+ } `json:"parameters"`
+ ProjectId string `json:"projectId"`
+ RotateAtUtc struct {
+ Hours float32 `json:"hours"`
+ Minutes float32 `json:"minutes"`
+ } `json:"rotateAtUtc"`
+ RotationInterval float32 `json:"rotationInterval"`
+ RotationStatus string `json:"rotationStatus"`
+ SecretsMapping struct {
+ // ServiceAccountKey The name of the secret that the rotated service account key (the JSON key file) will be mapped to.
+ ServiceAccountKey string `json:"serviceAccountKey"`
+ } `json:"secretsMapping"`
+ Type ListProjectSecretsDetails200JSONResponseBodySecretRotations29Type `json:"type"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations29ConnectionApp defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations29ConnectionApp string
+
+ // ListProjectSecretsDetails200JSONResponseBodySecretRotations29Type defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBodySecretRotations29Type string
+
+ // ListProjectSecretsDetails200JSONResponseBody_SecretRotations_Item defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails200JSONResponseBody_SecretRotations_Item 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"`
+ IsEmpty bool `json:"isEmpty"`
+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`
+ Reminder *struct {
+ CreatedAt time.Time `json:"createdAt"`
+ FromDate *time.Time `json:"fromDate,omitempty"`
+ Id openapi_types.UUID `json:"id"`
+ Message *string `json:"message,omitempty"`
+ NextReminderDate time.Time `json:"nextReminderDate"`
+ Recipients []string `json:"recipients"`
+ RepeatDays *float32 `json:"repeatDays,omitempty"`
+ SecretId *openapi_types.UUID `json:"secretId,omitempty"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ } `json:"reminder"`
+ 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"`
+ 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"`
+ union json.RawMessage
+ }
+
+ // ListProjectSecretsDetails400JSONResponseBodyStatusCode defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails400JSONResponseBodyStatusCode float32
+
+ // ListProjectSecretsDetails401JSONResponseBodyStatusCode defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails401JSONResponseBodyStatusCode float32
+
+ // ListProjectSecretsDetails403JSONResponseBodyStatusCode defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails403JSONResponseBodyStatusCode float32
+
+ // ListProjectSecretsDetails404JSONResponseBodyStatusCode defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails404JSONResponseBodyStatusCode float32
+
+ // ListProjectSecretsDetails422JSONResponseBodyStatusCode defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails422JSONResponseBodyStatusCode float32
+
+ // ListProjectSecretsDetails500JSONResponseBodyStatusCode defines parameters for ListProjectSecretsDetails.
+ type ListProjectSecretsDetails500JSONResponseBodyStatusCode float32
+
// ListEmailDomains400JSONResponseBodyStatusCode defines parameters for ListEmailDomains.
type ListEmailDomains400JSONResponseBodyStatusCode float32
@@@ -14004,28 -16487,60 +18298,83 @@@ type GetCurrentUser422JSONResponseBodyS
// GetCurrentUser500JSONResponseBodyStatusCode defines parameters for GetCurrentUser.
type GetCurrentUser500JSONResponseBodyStatusCode float32
+// RequestEmailChangeOtpJSONBody defines parameters for RequestEmailChangeOtp.
+type RequestEmailChangeOtpJSONBody struct {
+ NewEmail openapi_types.Email `json:"newEmail"`
+}
+
+// RequestEmailChangeOtp400JSONResponseBodyStatusCode defines parameters for RequestEmailChangeOtp.
+type RequestEmailChangeOtp400JSONResponseBodyStatusCode float32
+
+// RequestEmailChangeOtp401JSONResponseBodyStatusCode defines parameters for RequestEmailChangeOtp.
+type RequestEmailChangeOtp401JSONResponseBodyStatusCode float32
+
+// RequestEmailChangeOtp403JSONResponseBodyStatusCode defines parameters for RequestEmailChangeOtp.
+type RequestEmailChangeOtp403JSONResponseBodyStatusCode float32
+
+// RequestEmailChangeOtp404JSONResponseBodyStatusCode defines parameters for RequestEmailChangeOtp.
+type RequestEmailChangeOtp404JSONResponseBodyStatusCode float32
+
- // RequestEmailChangeOtp422JSONResponseBodyStatusCode defines parameters for RequestEmailChangeOtp.
- type RequestEmailChangeOtp422JSONResponseBodyStatusCode float32
++// RequestEmailChangeOtp422JSONResponseBodyStatusCode defines parameters for RequestEmailChangeOtp.
++type RequestEmailChangeOtp422JSONResponseBodyStatusCode float32
++
++// RequestEmailChangeOtp500JSONResponseBodyStatusCode defines parameters for RequestEmailChangeOtp.
++type RequestEmailChangeOtp500JSONResponseBodyStatusCode float32
++
+ // CreateProjectRoleJSONBody defines parameters for CreateProjectRole.
+ type CreateProjectRoleJSONBody struct {
+ // Description The description for the role.
+ Description *string `json:"description,omitempty"`
+
+ // Name The name of the role.
+ Name string `json:"name"`
+
+ // Permissions The permissions assigned to the role.
+ Permissions []map[string]interface{} `json:"permissions"`
+
+ // Slug The slug of the role.
+ Slug string `json:"slug"`
+ }
+
+ // CreateProjectRole200JSONResponseBodyRolePermissionsAction0 defines parameters for CreateProjectRole.
+ type CreateProjectRole200JSONResponseBodyRolePermissionsAction0 = string
+
+ // CreateProjectRole200JSONResponseBodyRolePermissionsAction1 defines parameters for CreateProjectRole.
+ type CreateProjectRole200JSONResponseBodyRolePermissionsAction1 = []string
+
+ // CreateProjectRole200JSONResponseBody_Role_Permissions_Action defines parameters for CreateProjectRole.
+ type CreateProjectRole200JSONResponseBody_Role_Permissions_Action struct {
+ union json.RawMessage
+ }
+
+ // CreateProjectRole200JSONResponseBodyRolePermissionsSubject0 defines parameters for CreateProjectRole.
+ type CreateProjectRole200JSONResponseBodyRolePermissionsSubject0 = string
+
+ // CreateProjectRole200JSONResponseBodyRolePermissionsSubject1 defines parameters for CreateProjectRole.
+ type CreateProjectRole200JSONResponseBodyRolePermissionsSubject1 = []string
+
+ // CreateProjectRole200JSONResponseBody_Role_Permissions_Subject defines parameters for CreateProjectRole.
+ type CreateProjectRole200JSONResponseBody_Role_Permissions_Subject struct {
+ union json.RawMessage
+ }
+
+ // CreateProjectRole400JSONResponseBodyStatusCode defines parameters for CreateProjectRole.
+ type CreateProjectRole400JSONResponseBodyStatusCode float32
+
+ // CreateProjectRole401JSONResponseBodyStatusCode defines parameters for CreateProjectRole.
+ type CreateProjectRole401JSONResponseBodyStatusCode float32
+
+ // CreateProjectRole403JSONResponseBodyStatusCode defines parameters for CreateProjectRole.
+ type CreateProjectRole403JSONResponseBodyStatusCode float32
+
+ // CreateProjectRole404JSONResponseBodyStatusCode defines parameters for CreateProjectRole.
+ type CreateProjectRole404JSONResponseBodyStatusCode float32
+
+ // CreateProjectRole422JSONResponseBodyStatusCode defines parameters for CreateProjectRole.
+ type CreateProjectRole422JSONResponseBodyStatusCode float32
- // RequestEmailChangeOtp500JSONResponseBodyStatusCode defines parameters for RequestEmailChangeOtp.
- type RequestEmailChangeOtp500JSONResponseBodyStatusCode float32
+ // CreateProjectRole500JSONResponseBodyStatusCode defines parameters for CreateProjectRole.
+ type CreateProjectRole500JSONResponseBodyStatusCode float32
// LoginV3JSONBody defines parameters for LoginV3.
type LoginV3JSONBody struct {
@@@ -14972,354 -17487,1090 +19321,1123 @@@ type UpdateSecretV4422JSONResponseBodyS
// UpdateSecretV4500JSONResponseBodyStatusCode defines parameters for UpdateSecretV4.
type UpdateSecretV4500JSONResponseBodyStatusCode float32
- // CreateSecretV4JSONBody defines parameters for CreateSecretV4.
- type CreateSecretV4JSONBody struct {
- // Environment The slug of the environment to create the secret in.
- Environment string `json:"environment"`
+ // 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"`
+
+ // 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"`
+
+ // SecretPath The path to create the secret in.
+ SecretPath *string `json:"secretPath,omitempty"`
+
+ // SecretReminderNote Note to be attached in notification email.
+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`
+
+ // SecretReminderRepeatDays Interval for secret rotation notifications, measured in days.
+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`
+
+ // SecretValue The value of the secret to create.
+ SecretValue string `json:"secretValue"`
+
+ // SkipMultilineEncoding Skip multiline encoding for the secret value.
+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`
+
+ // TagIds The ID of the tags to be attached to the created secret.
+ TagIds *[]string `json:"tagIds,omitempty"`
+
+ // Type The type of the secret to create.
+ Type *CreateSecretV4JSONBodyType `json:"type,omitempty"`
+ }
+
+ // CreateSecretV4JSONBodyType defines parameters for CreateSecretV4.
+ type CreateSecretV4JSONBodyType string
+
+ // 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"`
+ }
+
+ // 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"`
+ }
+
+ // CreateSecretV4200JSONResponseBody defines parameters for CreateSecretV4.
+ type CreateSecretV4200JSONResponseBody struct {
+ union json.RawMessage
+ }
+
+ // CreateSecretV4400JSONResponseBodyStatusCode defines parameters for CreateSecretV4.
+ type CreateSecretV4400JSONResponseBodyStatusCode float32
+
+ // CreateSecretV4401JSONResponseBodyStatusCode defines parameters for CreateSecretV4.
+ type CreateSecretV4401JSONResponseBodyStatusCode float32
+
+ // CreateSecretV4403JSONResponseBodyStatusCode defines parameters for CreateSecretV4.
+ type CreateSecretV4403JSONResponseBodyStatusCode float32
+
+ // CreateSecretV4404JSONResponseBodyStatusCode defines parameters for CreateSecretV4.
+ type CreateSecretV4404JSONResponseBodyStatusCode float32
+
+ // CreateSecretV4422JSONResponseBodyStatusCode defines parameters for CreateSecretV4.
+ type CreateSecretV4422JSONResponseBodyStatusCode float32
+
+ // CreateSecretV4500JSONResponseBodyStatusCode defines parameters for CreateSecretV4.
+ type CreateSecretV4500JSONResponseBodyStatusCode float32
+
+ // 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"`
+ }
+
+ // GetSecretReferencesV4400JSONResponseBodyStatusCode defines parameters for GetSecretReferencesV4.
+ type GetSecretReferencesV4400JSONResponseBodyStatusCode float32
+
+ // GetSecretReferencesV4401JSONResponseBodyStatusCode defines parameters for GetSecretReferencesV4.
+ type GetSecretReferencesV4401JSONResponseBodyStatusCode float32
+
+ // GetSecretReferencesV4403JSONResponseBodyStatusCode defines parameters for GetSecretReferencesV4.
+ type GetSecretReferencesV4403JSONResponseBodyStatusCode float32
+
+ // GetSecretReferencesV4404JSONResponseBodyStatusCode defines parameters for GetSecretReferencesV4.
+ type GetSecretReferencesV4404JSONResponseBodyStatusCode float32
+
+ // GetSecretReferencesV4422JSONResponseBodyStatusCode defines parameters for GetSecretReferencesV4.
+ type GetSecretReferencesV4422JSONResponseBodyStatusCode float32
+
+ // GetSecretReferencesV4500JSONResponseBodyStatusCode defines parameters for GetSecretReferencesV4.
+ type GetSecretReferencesV4500JSONResponseBodyStatusCode float32
+
+ // 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"`
+
+ // 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"`
+ }
+
+ // GetSecretReferenceTreeV4400JSONResponseBodyStatusCode defines parameters for GetSecretReferenceTreeV4.
+ type GetSecretReferenceTreeV4400JSONResponseBodyStatusCode float32
+
+ // GetSecretReferenceTreeV4401JSONResponseBodyStatusCode defines parameters for GetSecretReferenceTreeV4.
+ type GetSecretReferenceTreeV4401JSONResponseBodyStatusCode float32
+
+ // GetSecretReferenceTreeV4403JSONResponseBodyStatusCode defines parameters for GetSecretReferenceTreeV4.
+ type GetSecretReferenceTreeV4403JSONResponseBodyStatusCode float32
+
+ // GetSecretReferenceTreeV4404JSONResponseBodyStatusCode defines parameters for GetSecretReferenceTreeV4.
+ type GetSecretReferenceTreeV4404JSONResponseBodyStatusCode float32
+
+ // GetSecretReferenceTreeV4422JSONResponseBodyStatusCode defines parameters for GetSecretReferenceTreeV4.
+ type GetSecretReferenceTreeV4422JSONResponseBodyStatusCode float32
+
+ // GetSecretReferenceTreeV4500JSONResponseBodyStatusCode defines parameters for GetSecretReferenceTreeV4.
+ type GetSecretReferenceTreeV4500JSONResponseBodyStatusCode float32
+
+ // AdminBootstrapJSONRequestBody defines body for AdminBootstrap for application/json ContentType.
+ type AdminBootstrapJSONRequestBody AdminBootstrapJSONBody
+
+ // UpdateAdminConfigJSONRequestBody defines body for UpdateAdminConfig for application/json ContentType.
+ type UpdateAdminConfigJSONRequestBody UpdateAdminConfigJSONBody
+
+ // CreateGitHubAppConnectionJSONRequestBody defines body for CreateGitHubAppConnection for application/json ContentType.
+ type CreateGitHubAppConnectionJSONRequestBody CreateGitHubAppConnectionJSONBody
+
+ // AttachUniversalAuthJSONRequestBody defines body for AttachUniversalAuth for application/json ContentType.
+ type AttachUniversalAuthJSONRequestBody AttachUniversalAuthJSONBody
+
+ // CreateUniversalAuthClientSecretJSONRequestBody defines body for CreateUniversalAuthClientSecret for application/json ContentType.
+ type CreateUniversalAuthClientSecretJSONRequestBody CreateUniversalAuthClientSecretJSONBody
+
+ // LoginWithUniversalAuthJSONRequestBody defines body for LoginWithUniversalAuth for application/json ContentType.
+ type LoginWithUniversalAuthJSONRequestBody LoginWithUniversalAuthJSONBody
+
+ // CreateEmailDomainJSONRequestBody defines body for CreateEmailDomain for application/json ContentType.
+ type CreateEmailDomainJSONRequestBody CreateEmailDomainJSONBody
+
+ // CreateGroupJSONRequestBody defines body for CreateGroup for application/json ContentType.
+ type CreateGroupJSONRequestBody CreateGroupJSONBody
+
+ // CreateMachineIdentityJSONRequestBody defines body for CreateMachineIdentity for application/json ContentType.
+ type CreateMachineIdentityJSONRequestBody CreateMachineIdentityJSONBody
+
+ // InviteUsersToOrganizationJSONRequestBody defines body for InviteUsersToOrganization for application/json ContentType.
+ type InviteUsersToOrganizationJSONRequestBody InviteUsersToOrganizationJSONBody
+
+ // VerifyUserToOrganizationJSONRequestBody defines body for VerifyUserToOrganization for application/json ContentType.
+ type VerifyUserToOrganizationJSONRequestBody VerifyUserToOrganizationJSONBody
+
+ // UpdateOrganizationJSONRequestBody defines body for UpdateOrganization for application/json ContentType.
+ type UpdateOrganizationJSONRequestBody UpdateOrganizationJSONBody
+
+ // CreateProjectFolderGrantJSONRequestBody defines body for CreateProjectFolderGrant for application/json ContentType.
+ type CreateProjectFolderGrantJSONRequestBody CreateProjectFolderGrantJSONBody
+
+ // CreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.
+ type CreateProjectJSONRequestBody CreateProjectJSONBody
+
+ // CreateProjectMachineIdentityJSONRequestBody defines body for CreateProjectMachineIdentity for application/json ContentType.
+ type CreateProjectMachineIdentityJSONRequestBody CreateProjectMachineIdentityJSONBody
+
+ // InviteProjectMembersJSONRequestBody defines body for InviteProjectMembers for application/json ContentType.
+ type InviteProjectMembersJSONRequestBody InviteProjectMembersJSONBody
+
+ // CreateProjectGroupMembershipJSONRequestBody defines body for CreateProjectGroupMembership for application/json ContentType.
+ type CreateProjectGroupMembershipJSONRequestBody CreateProjectGroupMembershipJSONBody
+
+ // CreateProjectIdentityMembershipJSONRequestBody defines body for CreateProjectIdentityMembership for application/json ContentType.
+ type CreateProjectIdentityMembershipJSONRequestBody CreateProjectIdentityMembershipJSONBody
+
+ // CreateIdentityFolderAccessJSONRequestBody defines body for CreateIdentityFolderAccess for application/json ContentType.
+ type CreateIdentityFolderAccessJSONRequestBody CreateIdentityFolderAccessJSONBody
+
+ // CreateSecretTagJSONRequestBody defines body for CreateSecretTag for application/json ContentType.
+ type CreateSecretTagJSONRequestBody CreateSecretTagJSONBody
+
++// CreateScimGroupJSONRequestBody defines body for CreateScimGroup for application/json ContentType.
++type CreateScimGroupJSONRequestBody CreateScimGroupJSONBody
++
++// PatchScimGroupJSONRequestBody defines body for PatchScimGroup for application/json ContentType.
++type PatchScimGroupJSONRequestBody PatchScimGroupJSONBody
++
++// ReplaceScimGroupJSONRequestBody defines body for ReplaceScimGroup for application/json ContentType.
++type ReplaceScimGroupJSONRequestBody ReplaceScimGroupJSONBody
++
++// CreateScimUserJSONRequestBody defines body for CreateScimUser for application/json ContentType.
++type CreateScimUserJSONRequestBody CreateScimUserJSONBody
++
++// PatchScimUserJSONRequestBody defines body for PatchScimUser for application/json ContentType.
++type PatchScimUserJSONRequestBody PatchScimUserJSONBody
++
++// ReplaceScimUserJSONRequestBody defines body for ReplaceScimUser for application/json ContentType.
++type ReplaceScimUserJSONRequestBody ReplaceScimUserJSONBody
++
++// UpdateExternalGroupOrgRoleMappingsJSONRequestBody defines body for UpdateExternalGroupOrgRoleMappings for application/json ContentType.
++type UpdateExternalGroupOrgRoleMappingsJSONRequestBody UpdateExternalGroupOrgRoleMappingsJSONBody
++
++// CreateScimTokenJSONRequestBody defines body for CreateScimToken for application/json ContentType.
++type CreateScimTokenJSONRequestBody CreateScimTokenJSONBody
++
+ // MergeSecretApprovalRequestJSONRequestBody defines body for MergeSecretApprovalRequest for application/json ContentType.
+ type MergeSecretApprovalRequestJSONRequestBody MergeSecretApprovalRequestJSONBody
+
+ // ReviewSecretApprovalRequestJSONRequestBody defines body for ReviewSecretApprovalRequest for application/json ContentType.
+ type ReviewSecretApprovalRequestJSONRequestBody ReviewSecretApprovalRequestJSONBody
+
+ // UpdateSecretApprovalRequestStatusJSONRequestBody defines body for UpdateSecretApprovalRequestStatus for application/json ContentType.
+ type UpdateSecretApprovalRequestStatusJSONRequestBody UpdateSecretApprovalRequestStatusJSONBody
+
+ // CreateGitHubSecretSyncJSONRequestBody defines body for CreateGitHubSecretSync for application/json ContentType.
+ type CreateGitHubSecretSyncJSONRequestBody CreateGitHubSecretSyncJSONBody
+
+ // UpdateSamlConfigJSONRequestBody defines body for UpdateSamlConfig for application/json ContentType.
+ type UpdateSamlConfigJSONRequestBody UpdateSamlConfigJSONBody
+
+ // CreateSamlConfigJSONRequestBody defines body for CreateSamlConfig for application/json ContentType.
+ type CreateSamlConfigJSONRequestBody CreateSamlConfigJSONBody
+
++// UpdateOidcConfigJSONRequestBody defines body for UpdateOidcConfig for application/json ContentType.
++type UpdateOidcConfigJSONRequestBody UpdateOidcConfigJSONBody
++
++// CreateOidcConfigJSONRequestBody defines body for CreateOidcConfig for application/json ContentType.
++type CreateOidcConfigJSONRequestBody CreateOidcConfigJSONBody
++
+ // SamlAcsFormdataRequestBody defines body for SamlAcs for application/x-www-form-urlencoded ContentType.
+ type SamlAcsFormdataRequestBody SamlAcsFormdataBody
+
+ // CreateSecretFolderJSONRequestBody defines body for CreateSecretFolder for application/json ContentType.
+ type CreateSecretFolderJSONRequestBody CreateSecretFolderJSONBody
+
+ // CreateOrganizationJSONRequestBody defines body for CreateOrganization for application/json ContentType.
+ type CreateOrganizationJSONRequestBody CreateOrganizationJSONBody
+
+ // UpdateOrgMembershipJSONRequestBody defines body for UpdateOrgMembership for application/json ContentType.
+ type UpdateOrgMembershipJSONRequestBody UpdateOrgMembershipJSONBody
+
+ // CreateSecretApprovalPolicyJSONRequestBody defines body for CreateSecretApprovalPolicy for application/json ContentType.
+ type CreateSecretApprovalPolicyJSONRequestBody CreateSecretApprovalPolicyJSONBody
+
+ // UpdateSecretApprovalPolicyJSONRequestBody defines body for UpdateSecretApprovalPolicy for application/json ContentType.
+ type UpdateSecretApprovalPolicyJSONRequestBody UpdateSecretApprovalPolicyJSONBody
+
+ // CreateSecretImportJSONRequestBody defines body for CreateSecretImport for application/json ContentType.
+ type CreateSecretImportJSONRequestBody CreateSecretImportJSONBody
+
++// RequestEmailChangeOtpJSONRequestBody defines body for RequestEmailChangeOtp for application/json ContentType.
++type RequestEmailChangeOtpJSONRequestBody RequestEmailChangeOtpJSONBody
++
+ // CreateProjectRoleJSONRequestBody defines body for CreateProjectRole for application/json ContentType.
+ type CreateProjectRoleJSONRequestBody CreateProjectRoleJSONBody
+
+ // LoginV3JSONRequestBody defines body for LoginV3 for application/json ContentType.
+ type LoginV3JSONRequestBody LoginV3JSONBody
+
+ // SelectOrganizationV3JSONRequestBody defines body for SelectOrganizationV3 for application/json ContentType.
+ type SelectOrganizationV3JSONRequestBody SelectOrganizationV3JSONBody
+
+ // CompleteAccountSignupV3JSONRequestBody defines body for CompleteAccountSignupV3 for application/json ContentType.
+ type CompleteAccountSignupV3JSONRequestBody CompleteAccountSignupV3JSONBody
+
+ // BeginEmailSignupV3JSONRequestBody defines body for BeginEmailSignupV3 for application/json ContentType.
+ type BeginEmailSignupV3JSONRequestBody BeginEmailSignupV3JSONBody
+
+ // VerifyEmailSignupV3JSONRequestBody defines body for VerifyEmailSignupV3 for application/json ContentType.
+ type VerifyEmailSignupV3JSONRequestBody VerifyEmailSignupV3JSONBody
+
+ // DeleteManySecretsV4JSONRequestBody defines body for DeleteManySecretsV4 for application/json ContentType.
+ type DeleteManySecretsV4JSONRequestBody DeleteManySecretsV4JSONBody
+
+ // UpdateManySecretsV4JSONRequestBody defines body for UpdateManySecretsV4 for application/json ContentType.
+ type UpdateManySecretsV4JSONRequestBody UpdateManySecretsV4JSONBody
+
+ // 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
+ }
+
+ // 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
+ }
+
+ // 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
+ }
+
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return 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
+ }
+
+ // 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 err
+ }
+
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+ }
+
+ // 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
+ }
+
+ // 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 err
+ }
+
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+ }
+
+ 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
+ }
+ }
+
+ if t.Description != nil {
+ object["description"], err = json.Marshal(t.Description)
+ if err != nil {
+ return nil, fmt.Errorf("error marshaling 'description': %w", err)
+ }
+ }
+
+ if t.GatewayId != nil {
+ object["gatewayId"], err = json.Marshal(t.GatewayId)
+ if err != nil {
+ return nil, fmt.Errorf("error marshaling 'gatewayId': %w", err)
+ }
+ }
+
+ if t.GatewayPoolId != nil {
+ object["gatewayPoolId"], err = json.Marshal(t.GatewayPoolId)
+ if err != nil {
+ return nil, fmt.Errorf("error marshaling 'gatewayPoolId': %w", err)
+ }
+ }
+
+ if t.IsAutoRotationEnabled != nil {
+ object["isAutoRotationEnabled"], err = json.Marshal(t.IsAutoRotationEnabled)
+ if err != nil {
+ return nil, fmt.Errorf("error marshaling 'isAutoRotationEnabled': %w", err)
+ }
+ }
+
+ if t.IsPlatformManagedCredentials != nil {
+ object["isPlatformManagedCredentials"], err = json.Marshal(t.IsPlatformManagedCredentials)
+ if err != nil {
+ return nil, fmt.Errorf("error marshaling 'isPlatformManagedCredentials': %w", err)
+ }
+ }
+
+ object["name"], err = json.Marshal(t.Name)
+ if err != nil {
+ return nil, fmt.Errorf("error marshaling 'name': %w", err)
+ }
+
+ if t.ProjectId != nil {
+ object["projectId"], err = json.Marshal(t.ProjectId)
+ if err != nil {
+ return nil, fmt.Errorf("error marshaling 'projectId': %w", err)
+ }
+ }
+
+ if t.Rotation != nil {
+ object["rotation"], err = json.Marshal(t.Rotation)
+ if err != nil {
+ return nil, fmt.Errorf("error marshaling 'rotation': %w", err)
+ }
+ }
+ b, err = json.Marshal(object)
+ return b, err
+ }
+
+ func (t *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 raw, found := object["gatewayId"]; found {
+ err = json.Unmarshal(raw, &t.GatewayId)
+ if err != nil {
+ return fmt.Errorf("error reading 'gatewayId': %w", err)
+ }
+ }
- // ProjectId The ID of the project to create the secret in.
- ProjectId string `json:"projectId"`
+ if raw, found := object["gatewayPoolId"]; found {
+ err = json.Unmarshal(raw, &t.GatewayPoolId)
+ if err != nil {
+ return fmt.Errorf("error reading 'gatewayPoolId': %w", err)
+ }
+ }
- // 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"`
+ if raw, found := object["isAutoRotationEnabled"]; found {
+ err = json.Unmarshal(raw, &t.IsAutoRotationEnabled)
+ if err != nil {
+ return fmt.Errorf("error reading 'isAutoRotationEnabled': %w", err)
+ }
+ }
- // SecretPath The path to create the secret in.
- SecretPath *string `json:"secretPath,omitempty"`
+ if raw, found := object["isPlatformManagedCredentials"]; found {
+ err = json.Unmarshal(raw, &t.IsPlatformManagedCredentials)
+ if err != nil {
+ return fmt.Errorf("error reading 'isPlatformManagedCredentials': %w", err)
+ }
+ }
- // SecretReminderNote Note to be attached in notification email.
- SecretReminderNote *string `json:"secretReminderNote,omitempty"`
+ if raw, found := object["name"]; found {
+ err = json.Unmarshal(raw, &t.Name)
+ if err != nil {
+ return fmt.Errorf("error reading 'name': %w", err)
+ }
+ }
- // SecretReminderRepeatDays Interval for secret rotation notifications, measured in days.
- SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`
+ if raw, found := object["projectId"]; found {
+ err = json.Unmarshal(raw, &t.ProjectId)
+ if err != nil {
+ return fmt.Errorf("error reading 'projectId': %w", err)
+ }
+ }
- // SecretValue The value of the secret to create.
- SecretValue string `json:"secretValue"`
+ if raw, found := object["rotation"]; found {
+ err = json.Unmarshal(raw, &t.Rotation)
+ if err != nil {
+ return fmt.Errorf("error reading 'rotation': %w", err)
+ }
+ }
- // SkipMultilineEncoding Skip multiline encoding for the secret value.
- SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`
+ return err
+ }
- // TagIds The ID of the tags to be attached to the created secret.
- TagIds *[]string `json:"tagIds,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
+ }
- // Type The type of the secret to create.
- Type *CreateSecretV4JSONBodyType `json:"type,omitempty"`
+ // 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
}
- // CreateSecretV4JSONBodyType defines parameters for CreateSecretV4.
- type CreateSecretV4JSONBodyType string
+ // 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
+ }
- // 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"`
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
}
- // 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"`
+ // 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
}
- // CreateSecretV4200JSONResponseBody defines parameters for CreateSecretV4.
- type CreateSecretV4200JSONResponseBody struct {
- union json.RawMessage
+ // 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
}
- // CreateSecretV4400JSONResponseBodyStatusCode defines parameters for CreateSecretV4.
- type CreateSecretV4400JSONResponseBodyStatusCode 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
+ }
- // CreateSecretV4401JSONResponseBodyStatusCode defines parameters for CreateSecretV4.
- type CreateSecretV4401JSONResponseBodyStatusCode float32
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+ }
- // CreateSecretV4403JSONResponseBodyStatusCode defines parameters for CreateSecretV4.
- type CreateSecretV4403JSONResponseBodyStatusCode float32
+ func (t CreateGitHubAppConnectionJSONBody_Rotation) MarshalJSON() ([]byte, error) {
+ b, err := t.union.MarshalJSON()
+ return b, err
+ }
- // CreateSecretV4404JSONResponseBodyStatusCode defines parameters for CreateSecretV4.
- type CreateSecretV4404JSONResponseBodyStatusCode float32
+ func (t *CreateGitHubAppConnectionJSONBody_Rotation) UnmarshalJSON(b []byte) error {
+ err := t.union.UnmarshalJSON(b)
+ return err
+ }
- // CreateSecretV4422JSONResponseBodyStatusCode defines parameters for CreateSecretV4.
- type CreateSecretV4422JSONResponseBodyStatusCode 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
+ }
- // CreateSecretV4500JSONResponseBodyStatusCode defines parameters for CreateSecretV4.
- type CreateSecretV4500JSONResponseBodyStatusCode 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
+ }
- // 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"`
+ // 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
+ }
- // Environment The slug of the environment where the the secret is located.
- Environment string `form:"environment" json:"environment"`
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+ }
- // SecretPath The folder path where the secret is located.
- SecretPath *string `form:"secretPath,omitempty" json:"secretPath,omitempty"`
+ // 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
}
- // GetSecretReferencesV4400JSONResponseBodyStatusCode defines parameters for GetSecretReferencesV4.
- type GetSecretReferencesV4400JSONResponseBodyStatusCode float32
+ // 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
+ }
- // GetSecretReferencesV4401JSONResponseBodyStatusCode defines parameters for GetSecretReferencesV4.
- type GetSecretReferencesV4401JSONResponseBodyStatusCode 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
+ }
- // GetSecretReferencesV4403JSONResponseBodyStatusCode defines parameters for GetSecretReferencesV4.
- type GetSecretReferencesV4403JSONResponseBodyStatusCode float32
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+ }
- // GetSecretReferencesV4404JSONResponseBodyStatusCode defines parameters for GetSecretReferencesV4.
- type GetSecretReferencesV4404JSONResponseBodyStatusCode float32
+ func (t CreateGitHubAppConnectionJSONBody_0_Credentials) MarshalJSON() ([]byte, error) {
+ b, err := t.union.MarshalJSON()
+ return b, err
+ }
- // GetSecretReferencesV4422JSONResponseBodyStatusCode defines parameters for GetSecretReferencesV4.
- type GetSecretReferencesV4422JSONResponseBodyStatusCode float32
+ func (t *CreateGitHubAppConnectionJSONBody_0_Credentials) UnmarshalJSON(b []byte) error {
+ err := t.union.UnmarshalJSON(b)
+ return err
+ }
- // GetSecretReferencesV4500JSONResponseBodyStatusCode defines parameters for GetSecretReferencesV4.
- type GetSecretReferencesV4500JSONResponseBodyStatusCode 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
+ }
- // 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"`
+ // 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
+ }
- // Environment The slug of the environment where the the secret is located.
- Environment string `form:"environment" json:"environment"`
+ // 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
+ }
- // SecretPath The folder path where the secret is located.
- SecretPath *string `form:"secretPath,omitempty" json:"secretPath,omitempty"`
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
}
- // GetSecretReferenceTreeV4400JSONResponseBodyStatusCode defines parameters for GetSecretReferenceTreeV4.
- type GetSecretReferenceTreeV4400JSONResponseBodyStatusCode float32
+ // 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
+ }
- // GetSecretReferenceTreeV4401JSONResponseBodyStatusCode defines parameters for GetSecretReferenceTreeV4.
- type GetSecretReferenceTreeV4401JSONResponseBodyStatusCode float32
+ // 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
+ }
- // GetSecretReferenceTreeV4403JSONResponseBodyStatusCode defines parameters for GetSecretReferenceTreeV4.
- type GetSecretReferenceTreeV4403JSONResponseBodyStatusCode float32
+ // 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
+ }
- // GetSecretReferenceTreeV4404JSONResponseBodyStatusCode defines parameters for GetSecretReferenceTreeV4.
- type GetSecretReferenceTreeV4404JSONResponseBodyStatusCode float32
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+ }
- // GetSecretReferenceTreeV4422JSONResponseBodyStatusCode defines parameters for GetSecretReferenceTreeV4.
- type GetSecretReferenceTreeV4422JSONResponseBodyStatusCode float32
+ func (t CreateGitHubAppConnectionJSONBody_1_Credentials) MarshalJSON() ([]byte, error) {
+ b, err := t.union.MarshalJSON()
+ return b, err
+ }
- // GetSecretReferenceTreeV4500JSONResponseBodyStatusCode defines parameters for GetSecretReferenceTreeV4.
- type GetSecretReferenceTreeV4500JSONResponseBodyStatusCode float32
+ func (t *CreateGitHubAppConnectionJSONBody_1_Credentials) UnmarshalJSON(b []byte) error {
+ err := t.union.UnmarshalJSON(b)
+ return err
+ }
- // AdminBootstrapJSONRequestBody defines body for AdminBootstrap for application/json ContentType.
- type AdminBootstrapJSONRequestBody AdminBootstrapJSONBody
+ // 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
+ }
- // UpdateAdminConfigJSONRequestBody defines body for UpdateAdminConfig for application/json ContentType.
- type UpdateAdminConfigJSONRequestBody UpdateAdminConfigJSONBody
+ // 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
+ }
- // CreateGitHubAppConnectionJSONRequestBody defines body for CreateGitHubAppConnection for application/json ContentType.
- type CreateGitHubAppConnectionJSONRequestBody CreateGitHubAppConnectionJSONBody
+ // 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
+ }
- // AttachUniversalAuthJSONRequestBody defines body for AttachUniversalAuth for application/json ContentType.
- type AttachUniversalAuthJSONRequestBody AttachUniversalAuthJSONBody
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+ }
- // CreateUniversalAuthClientSecretJSONRequestBody defines body for CreateUniversalAuthClientSecret for application/json ContentType.
- type CreateUniversalAuthClientSecretJSONRequestBody CreateUniversalAuthClientSecretJSONBody
+ // 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
+ }
- // LoginWithUniversalAuthJSONRequestBody defines body for LoginWithUniversalAuth for application/json ContentType.
- type LoginWithUniversalAuthJSONRequestBody LoginWithUniversalAuthJSONBody
+ // 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
+ }
- // CreateEmailDomainJSONRequestBody defines body for CreateEmailDomain for application/json ContentType.
- type CreateEmailDomainJSONRequestBody CreateEmailDomainJSONBody
+ // 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
+ }
- // CreateGroupJSONRequestBody defines body for CreateGroup for application/json ContentType.
- type CreateGroupJSONRequestBody CreateGroupJSONBody
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+ }
- // CreateMachineIdentityJSONRequestBody defines body for CreateMachineIdentity for application/json ContentType.
- type CreateMachineIdentityJSONRequestBody CreateMachineIdentityJSONBody
+ func (t CreateGitHubAppConnectionJSONBody_2_Credentials) MarshalJSON() ([]byte, error) {
+ b, err := t.union.MarshalJSON()
+ return b, err
+ }
- // InviteUsersToOrganizationJSONRequestBody defines body for InviteUsersToOrganization for application/json ContentType.
- type InviteUsersToOrganizationJSONRequestBody InviteUsersToOrganizationJSONBody
+ func (t *CreateGitHubAppConnectionJSONBody_2_Credentials) UnmarshalJSON(b []byte) error {
+ err := t.union.UnmarshalJSON(b)
+ return err
+ }
- // VerifyUserToOrganizationJSONRequestBody defines body for VerifyUserToOrganization for application/json ContentType.
- type VerifyUserToOrganizationJSONRequestBody VerifyUserToOrganizationJSONBody
+ // 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
+ }
- // UpdateOrganizationJSONRequestBody defines body for UpdateOrganization for application/json ContentType.
- type UpdateOrganizationJSONRequestBody UpdateOrganizationJSONBody
+ // 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
+ }
- // CreateProjectFolderGrantJSONRequestBody defines body for CreateProjectFolderGrant for application/json ContentType.
- type CreateProjectFolderGrantJSONRequestBody CreateProjectFolderGrantJSONBody
+ // 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
+ }
- // CreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.
- type CreateProjectJSONRequestBody CreateProjectJSONBody
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+ }
- // CreateProjectMachineIdentityJSONRequestBody defines body for CreateProjectMachineIdentity for application/json ContentType.
- type CreateProjectMachineIdentityJSONRequestBody CreateProjectMachineIdentityJSONBody
+ // 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
+ }
- // InviteProjectMembersJSONRequestBody defines body for InviteProjectMembers for application/json ContentType.
- type InviteProjectMembersJSONRequestBody InviteProjectMembersJSONBody
+ // 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
+ }
- // CreateProjectGroupMembershipJSONRequestBody defines body for CreateProjectGroupMembership for application/json ContentType.
- type CreateProjectGroupMembershipJSONRequestBody CreateProjectGroupMembershipJSONBody
+ // 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
+ }
- // CreateProjectIdentityMembershipJSONRequestBody defines body for CreateProjectIdentityMembership for application/json ContentType.
- type CreateProjectIdentityMembershipJSONRequestBody CreateProjectIdentityMembershipJSONBody
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+ }
- // CreateIdentityFolderAccessJSONRequestBody defines body for CreateIdentityFolderAccess for application/json ContentType.
- type CreateIdentityFolderAccessJSONRequestBody CreateIdentityFolderAccessJSONBody
+ func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) MarshalJSON() ([]byte, error) {
+ b, err := t.union.MarshalJSON()
+ return b, err
+ }
- // CreateSecretTagJSONRequestBody defines body for CreateSecretTag for application/json ContentType.
- type CreateSecretTagJSONRequestBody CreateSecretTagJSONBody
+ func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType) UnmarshalJSON(b []byte) error {
+ err := t.union.UnmarshalJSON(b)
+ return err
+ }
- // CreateScimGroupJSONRequestBody defines body for CreateScimGroup for application/json ContentType.
- type CreateScimGroupJSONRequestBody CreateScimGroupJSONBody
+ // 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
+ }
- // PatchScimGroupJSONRequestBody defines body for PatchScimGroup for application/json ContentType.
- type PatchScimGroupJSONRequestBody PatchScimGroupJSONBody
+ // 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
+ }
- // ReplaceScimGroupJSONRequestBody defines body for ReplaceScimGroup for application/json ContentType.
- type ReplaceScimGroupJSONRequestBody ReplaceScimGroupJSONBody
+ // 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
+ }
- // CreateScimUserJSONRequestBody defines body for CreateScimUser for application/json ContentType.
- type CreateScimUserJSONRequestBody CreateScimUserJSONBody
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+ }
- // PatchScimUserJSONRequestBody defines body for PatchScimUser for application/json ContentType.
- type PatchScimUserJSONRequestBody PatchScimUserJSONBody
+ // 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
+ }
+
+ // 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
+ }
- // ReplaceScimUserJSONRequestBody defines body for ReplaceScimUser for application/json ContentType.
- type ReplaceScimUserJSONRequestBody ReplaceScimUserJSONBody
+ // 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
+ }
- // UpdateExternalGroupOrgRoleMappingsJSONRequestBody defines body for UpdateExternalGroupOrgRoleMappings for application/json ContentType.
- type UpdateExternalGroupOrgRoleMappingsJSONRequestBody UpdateExternalGroupOrgRoleMappingsJSONBody
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+ }
- // CreateScimTokenJSONRequestBody defines body for CreateScimToken for application/json ContentType.
- type CreateScimTokenJSONRequestBody CreateScimTokenJSONBody
+ func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) MarshalJSON() ([]byte, error) {
+ b, err := t.union.MarshalJSON()
+ return b, err
+ }
- // MergeSecretApprovalRequestJSONRequestBody defines body for MergeSecretApprovalRequest for application/json ContentType.
- type MergeSecretApprovalRequestJSONRequestBody MergeSecretApprovalRequestJSONBody
+ func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType) UnmarshalJSON(b []byte) error {
+ err := t.union.UnmarshalJSON(b)
+ return err
+ }
- // ReviewSecretApprovalRequestJSONRequestBody defines body for ReviewSecretApprovalRequest for application/json ContentType.
- type ReviewSecretApprovalRequestJSONRequestBody ReviewSecretApprovalRequestJSONBody
+ // 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
+ }
- // UpdateSecretApprovalRequestStatusJSONRequestBody defines body for UpdateSecretApprovalRequestStatus for application/json ContentType.
- type UpdateSecretApprovalRequestStatusJSONRequestBody UpdateSecretApprovalRequestStatusJSONBody
+ // 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
+ }
- // CreateGitHubSecretSyncJSONRequestBody defines body for CreateGitHubSecretSync for application/json ContentType.
- type CreateGitHubSecretSyncJSONRequestBody CreateGitHubSecretSyncJSONBody
+ // 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
+ }
- // UpdateSamlConfigJSONRequestBody defines body for UpdateSamlConfig for application/json ContentType.
- type UpdateSamlConfigJSONRequestBody UpdateSamlConfigJSONBody
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+ }
- // CreateSamlConfigJSONRequestBody defines body for CreateSamlConfig for application/json ContentType.
- type CreateSamlConfigJSONRequestBody CreateSamlConfigJSONBody
+ // 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
+ }
- // UpdateOidcConfigJSONRequestBody defines body for UpdateOidcConfig for application/json ContentType.
- type UpdateOidcConfigJSONRequestBody UpdateOidcConfigJSONBody
+ // 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
+ }
- // CreateOidcConfigJSONRequestBody defines body for CreateOidcConfig for application/json ContentType.
- type CreateOidcConfigJSONRequestBody CreateOidcConfigJSONBody
+ // 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
+ }
- // SamlAcsFormdataRequestBody defines body for SamlAcs for application/x-www-form-urlencoded ContentType.
- type SamlAcsFormdataRequestBody SamlAcsFormdataBody
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+ }
- // CreateSecretFolderJSONRequestBody defines body for CreateSecretFolder for application/json ContentType.
- type CreateSecretFolderJSONRequestBody CreateSecretFolderJSONBody
+ func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) MarshalJSON() ([]byte, error) {
+ b, err := t.union.MarshalJSON()
+ return b, err
+ }
- // CreateOrganizationJSONRequestBody defines body for CreateOrganization for application/json ContentType.
- type CreateOrganizationJSONRequestBody CreateOrganizationJSONBody
+ func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType) UnmarshalJSON(b []byte) error {
+ err := t.union.UnmarshalJSON(b)
+ return err
+ }
- // UpdateOrgMembershipJSONRequestBody defines body for UpdateOrgMembership for application/json ContentType.
- type UpdateOrgMembershipJSONRequestBody UpdateOrgMembershipJSONBody
+ // 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
+ }
- // CreateSecretApprovalPolicyJSONRequestBody defines body for CreateSecretApprovalPolicy for application/json ContentType.
- type CreateSecretApprovalPolicyJSONRequestBody CreateSecretApprovalPolicyJSONBody
+ // 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
+ }
- // UpdateSecretApprovalPolicyJSONRequestBody defines body for UpdateSecretApprovalPolicy for application/json ContentType.
- type UpdateSecretApprovalPolicyJSONRequestBody UpdateSecretApprovalPolicyJSONBody
+ // 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
+ }
- // CreateSecretImportJSONRequestBody defines body for CreateSecretImport for application/json ContentType.
- type CreateSecretImportJSONRequestBody CreateSecretImportJSONBody
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+ }
- // RequestEmailChangeOtpJSONRequestBody defines body for RequestEmailChangeOtp for application/json ContentType.
- type RequestEmailChangeOtpJSONRequestBody RequestEmailChangeOtpJSONBody
+ // 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
+ }
- // LoginV3JSONRequestBody defines body for LoginV3 for application/json ContentType.
- type LoginV3JSONRequestBody LoginV3JSONBody
+ // 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
+ }
- // SelectOrganizationV3JSONRequestBody defines body for SelectOrganizationV3 for application/json ContentType.
- type SelectOrganizationV3JSONRequestBody SelectOrganizationV3JSONBody
+ // 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
+ }
- // CompleteAccountSignupV3JSONRequestBody defines body for CompleteAccountSignupV3 for application/json ContentType.
- type CompleteAccountSignupV3JSONRequestBody CompleteAccountSignupV3JSONBody
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+ }
- // BeginEmailSignupV3JSONRequestBody defines body for BeginEmailSignupV3 for application/json ContentType.
- type BeginEmailSignupV3JSONRequestBody BeginEmailSignupV3JSONBody
+ // 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
+ }
- // VerifyEmailSignupV3JSONRequestBody defines body for VerifyEmailSignupV3 for application/json ContentType.
- type VerifyEmailSignupV3JSONRequestBody VerifyEmailSignupV3JSONBody
+ // 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
+ }
- // DeleteManySecretsV4JSONRequestBody defines body for DeleteManySecretsV4 for application/json ContentType.
- type DeleteManySecretsV4JSONRequestBody DeleteManySecretsV4JSONBody
+ // 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
+ }
- // UpdateManySecretsV4JSONRequestBody defines body for UpdateManySecretsV4 for application/json ContentType.
- type UpdateManySecretsV4JSONRequestBody UpdateManySecretsV4JSONBody
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+ }
- // CreateManySecretsV4JSONRequestBody defines body for CreateManySecretsV4 for application/json ContentType.
- type CreateManySecretsV4JSONRequestBody CreateManySecretsV4JSONBody
+ func (t CreateGitHubAppConnection200JSONResponseBody_AppConnection) MarshalJSON() ([]byte, error) {
+ b, err := t.union.MarshalJSON()
+ return b, err
+ }
- // DuplicateSecretV4JSONRequestBody defines body for DuplicateSecretV4 for application/json ContentType.
- type DuplicateSecretV4JSONRequestBody DuplicateSecretV4JSONBody
+ func (t *CreateGitHubAppConnection200JSONResponseBody_AppConnection) UnmarshalJSON(b []byte) error {
+ err := t.union.UnmarshalJSON(b)
+ return err
+ }
- // MoveSecretsV4JSONRequestBody defines body for MoveSecretsV4 for application/json ContentType.
- type MoveSecretsV4JSONRequestBody MoveSecretsV4JSONBody
+ // 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
+ }
- // DeleteSecretV4JSONRequestBody defines body for DeleteSecretV4 for application/json ContentType.
- type DeleteSecretV4JSONRequestBody DeleteSecretV4JSONBody
+ // 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
+ }
- // UpdateSecretV4JSONRequestBody defines body for UpdateSecretV4 for application/json ContentType.
- type UpdateSecretV4JSONRequestBody UpdateSecretV4JSONBody
+ // 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
+ }
- // CreateSecretV4JSONRequestBody defines body for CreateSecretV4 for application/json ContentType.
- type CreateSecretV4JSONRequestBody CreateSecretV4JSONBody
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+ }
- // AsCreateGitHubAppConnectionJSONBody0 returns the union data inside the CreateGitHubAppConnectionJSONBody as a CreateGitHubAppConnectionJSONBody0
- func (t CreateGitHubAppConnectionJSONBody) AsCreateGitHubAppConnectionJSONBody0() (CreateGitHubAppConnectionJSONBody0, error) {
- var body CreateGitHubAppConnectionJSONBody0
+ // 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
}
@@@ -18389,1226 -21594,669 +23627,1367 @@@ func (t *UpdateSecretApprovalPolicyJSON
return err
}
-// AsCreateSecretV4200JSONResponseBody0 returns the union data inside the CreateSecretV4200JSONResponseBody as a CreateSecretV4200JSONResponseBody0
-func (t CreateSecretV4200JSONResponseBody) AsCreateSecretV4200JSONResponseBody0() (CreateSecretV4200JSONResponseBody0, error) {
- var body CreateSecretV4200JSONResponseBody0
++// AsCreateProjectRole200JSONResponseBodyRolePermissionsAction0 returns the union data inside the CreateProjectRole200JSONResponseBody_Role_Permissions_Action as a CreateProjectRole200JSONResponseBodyRolePermissionsAction0
++func (t CreateProjectRole200JSONResponseBody_Role_Permissions_Action) AsCreateProjectRole200JSONResponseBodyRolePermissionsAction0() (CreateProjectRole200JSONResponseBodyRolePermissionsAction0, error) {
++ var body CreateProjectRole200JSONResponseBodyRolePermissionsAction0
+ err := json.Unmarshal(t.union, &body)
+ return body, err
+ }
+
-// FromCreateSecretV4200JSONResponseBody0 overwrites any union data inside the CreateSecretV4200JSONResponseBody as the provided CreateSecretV4200JSONResponseBody0
-func (t *CreateSecretV4200JSONResponseBody) FromCreateSecretV4200JSONResponseBody0(v CreateSecretV4200JSONResponseBody0) error {
++// FromCreateProjectRole200JSONResponseBodyRolePermissionsAction0 overwrites any union data inside the CreateProjectRole200JSONResponseBody_Role_Permissions_Action as the provided CreateProjectRole200JSONResponseBodyRolePermissionsAction0
++func (t *CreateProjectRole200JSONResponseBody_Role_Permissions_Action) FromCreateProjectRole200JSONResponseBodyRolePermissionsAction0(v CreateProjectRole200JSONResponseBodyRolePermissionsAction0) error {
+ b, err := json.Marshal(v)
+ t.union = b
+ return err
+ }
+
-// MergeCreateSecretV4200JSONResponseBody0 performs a merge with any union data inside the CreateSecretV4200JSONResponseBody, using the provided CreateSecretV4200JSONResponseBody0
-func (t *CreateSecretV4200JSONResponseBody) MergeCreateSecretV4200JSONResponseBody0(v CreateSecretV4200JSONResponseBody0) error {
++// MergeCreateProjectRole200JSONResponseBodyRolePermissionsAction0 performs a merge with any union data inside the CreateProjectRole200JSONResponseBody_Role_Permissions_Action, using the provided CreateProjectRole200JSONResponseBodyRolePermissionsAction0
++func (t *CreateProjectRole200JSONResponseBody_Role_Permissions_Action) MergeCreateProjectRole200JSONResponseBodyRolePermissionsAction0(v CreateProjectRole200JSONResponseBodyRolePermissionsAction0) error {
+ b, err := json.Marshal(v)
+ if err != nil {
+ return err
+ }
+
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+ }
+
-// AsCreateSecretV4200JSONResponseBody1 returns the union data inside the CreateSecretV4200JSONResponseBody as a CreateSecretV4200JSONResponseBody1
-func (t CreateSecretV4200JSONResponseBody) AsCreateSecretV4200JSONResponseBody1() (CreateSecretV4200JSONResponseBody1, error) {
- var body CreateSecretV4200JSONResponseBody1
++// AsCreateProjectRole200JSONResponseBodyRolePermissionsAction1 returns the union data inside the CreateProjectRole200JSONResponseBody_Role_Permissions_Action as a CreateProjectRole200JSONResponseBodyRolePermissionsAction1
++func (t CreateProjectRole200JSONResponseBody_Role_Permissions_Action) AsCreateProjectRole200JSONResponseBodyRolePermissionsAction1() (CreateProjectRole200JSONResponseBodyRolePermissionsAction1, error) {
++ var body CreateProjectRole200JSONResponseBodyRolePermissionsAction1
+ err := json.Unmarshal(t.union, &body)
+ return body, err
+ }
+
-// FromCreateSecretV4200JSONResponseBody1 overwrites any union data inside the CreateSecretV4200JSONResponseBody as the provided CreateSecretV4200JSONResponseBody1
-func (t *CreateSecretV4200JSONResponseBody) FromCreateSecretV4200JSONResponseBody1(v CreateSecretV4200JSONResponseBody1) error {
++// FromCreateProjectRole200JSONResponseBodyRolePermissionsAction1 overwrites any union data inside the CreateProjectRole200JSONResponseBody_Role_Permissions_Action as the provided CreateProjectRole200JSONResponseBodyRolePermissionsAction1
++func (t *CreateProjectRole200JSONResponseBody_Role_Permissions_Action) FromCreateProjectRole200JSONResponseBodyRolePermissionsAction1(v CreateProjectRole200JSONResponseBodyRolePermissionsAction1) error {
+ b, err := json.Marshal(v)
+ t.union = b
+ return err
+ }
+
-// MergeCreateSecretV4200JSONResponseBody1 performs a merge with any union data inside the CreateSecretV4200JSONResponseBody, using the provided CreateSecretV4200JSONResponseBody1
-func (t *CreateSecretV4200JSONResponseBody) MergeCreateSecretV4200JSONResponseBody1(v CreateSecretV4200JSONResponseBody1) error {
++// MergeCreateProjectRole200JSONResponseBodyRolePermissionsAction1 performs a merge with any union data inside the CreateProjectRole200JSONResponseBody_Role_Permissions_Action, using the provided CreateProjectRole200JSONResponseBodyRolePermissionsAction1
++func (t *CreateProjectRole200JSONResponseBody_Role_Permissions_Action) MergeCreateProjectRole200JSONResponseBodyRolePermissionsAction1(v CreateProjectRole200JSONResponseBodyRolePermissionsAction1) error {
+ b, err := json.Marshal(v)
+ if err != nil {
+ return err
+ }
+
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+ }
+
-func (t CreateSecretV4200JSONResponseBody) MarshalJSON() ([]byte, error) {
++func (t CreateProjectRole200JSONResponseBody_Role_Permissions_Action) MarshalJSON() ([]byte, error) {
+ b, err := t.union.MarshalJSON()
+ return b, err
+ }
+
-func (t *CreateSecretV4200JSONResponseBody) UnmarshalJSON(b []byte) error {
++func (t *CreateProjectRole200JSONResponseBody_Role_Permissions_Action) UnmarshalJSON(b []byte) error {
+ err := t.union.UnmarshalJSON(b)
+ return err
+ }
+
-// RequestEditorFn is the function signature for the RequestEditor callback function
-type RequestEditorFn func(ctx context.Context, req *http.Request) error
-
-// Doer performs HTTP requests.
-//
-// The standard http.Client implements this interface.
-type HttpRequestDoer interface {
- Do(req *http.Request) (*http.Response, error)
++// AsCreateProjectRole200JSONResponseBodyRolePermissionsSubject0 returns the union data inside the CreateProjectRole200JSONResponseBody_Role_Permissions_Subject as a CreateProjectRole200JSONResponseBodyRolePermissionsSubject0
++func (t CreateProjectRole200JSONResponseBody_Role_Permissions_Subject) AsCreateProjectRole200JSONResponseBodyRolePermissionsSubject0() (CreateProjectRole200JSONResponseBodyRolePermissionsSubject0, error) {
++ var body CreateProjectRole200JSONResponseBodyRolePermissionsSubject0
++ err := json.Unmarshal(t.union, &body)
++ return body, err
+ }
+
-// 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
-
- // 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
++// FromCreateProjectRole200JSONResponseBodyRolePermissionsSubject0 overwrites any union data inside the CreateProjectRole200JSONResponseBody_Role_Permissions_Subject as the provided CreateProjectRole200JSONResponseBodyRolePermissionsSubject0
++func (t *CreateProjectRole200JSONResponseBody_Role_Permissions_Subject) FromCreateProjectRole200JSONResponseBodyRolePermissionsSubject0(v CreateProjectRole200JSONResponseBodyRolePermissionsSubject0) error {
++ b, err := json.Marshal(v)
++ t.union = b
++ return err
+ }
+
-// 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,
- }
- // 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{}
++// MergeCreateProjectRole200JSONResponseBodyRolePermissionsSubject0 performs a merge with any union data inside the CreateProjectRole200JSONResponseBody_Role_Permissions_Subject, using the provided CreateProjectRole200JSONResponseBodyRolePermissionsSubject0
++func (t *CreateProjectRole200JSONResponseBody_Role_Permissions_Subject) MergeCreateProjectRole200JSONResponseBodyRolePermissionsSubject0(v CreateProjectRole200JSONResponseBodyRolePermissionsSubject0) error {
++ b, err := json.Marshal(v)
++ if err != nil {
++ return err
+ }
- return &client, nil
++
++ merged, err := runtime.JSONMerge(t.union, b)
++ t.union = merged
++ return err
+ }
+
-// 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
- }
++// AsCreateProjectRole200JSONResponseBodyRolePermissionsSubject1 returns the union data inside the CreateProjectRole200JSONResponseBody_Role_Permissions_Subject as a CreateProjectRole200JSONResponseBodyRolePermissionsSubject1
++func (t CreateProjectRole200JSONResponseBody_Role_Permissions_Subject) AsCreateProjectRole200JSONResponseBodyRolePermissionsSubject1() (CreateProjectRole200JSONResponseBodyRolePermissionsSubject1, error) {
++ var body CreateProjectRole200JSONResponseBodyRolePermissionsSubject1
++ err := json.Unmarshal(t.union, &body)
++ return body, err
+ }
+
-// 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
- }
++// FromCreateProjectRole200JSONResponseBodyRolePermissionsSubject1 overwrites any union data inside the CreateProjectRole200JSONResponseBody_Role_Permissions_Subject as the provided CreateProjectRole200JSONResponseBodyRolePermissionsSubject1
++func (t *CreateProjectRole200JSONResponseBody_Role_Permissions_Subject) FromCreateProjectRole200JSONResponseBodyRolePermissionsSubject1(v CreateProjectRole200JSONResponseBodyRolePermissionsSubject1) error {
++ b, err := json.Marshal(v)
++ t.union = b
++ return err
+ }
+
-// The interface specification for the client above.
-type ClientInterface interface {
++// MergeCreateProjectRole200JSONResponseBodyRolePermissionsSubject1 performs a merge with any union data inside the CreateProjectRole200JSONResponseBody_Role_Permissions_Subject, using the provided CreateProjectRole200JSONResponseBodyRolePermissionsSubject1
++func (t *CreateProjectRole200JSONResponseBody_Role_Permissions_Subject) MergeCreateProjectRole200JSONResponseBodyRolePermissionsSubject1(v CreateProjectRole200JSONResponseBodyRolePermissionsSubject1) error {
++ b, err := json.Marshal(v)
++ if err != nil {
++ return err
++ }
+
- // 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)
++ merged, err := runtime.JSONMerge(t.union, b)
++ t.union = merged
++ return err
++}
+
- // 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)
++func (t CreateProjectRole200JSONResponseBody_Role_Permissions_Subject) MarshalJSON() ([]byte, error) {
++ b, err := t.union.MarshalJSON()
++ return b, err
++}
+
- // 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)
++func (t *CreateProjectRole200JSONResponseBody_Role_Permissions_Subject) UnmarshalJSON(b []byte) error {
++ err := t.union.UnmarshalJSON(b)
++ return err
++}
+
- // 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)
+// 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
+}
- // 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)
+// 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
+}
- // 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)
+// 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
+ }
- // 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)
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+}
- // 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)
+// 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
+}
- // RefreshAuthToken performs a POST /api/v1/auth/token (the `RefreshAuthToken` operationId) request.
- RefreshAuthToken(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
+// 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
+}
- // 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)
+// 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
+ }
- // 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)
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+}
- // 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)
+func (t CompleteAccountSignupV3JSONBody) MarshalJSON() ([]byte, error) {
+ b, err := t.union.MarshalJSON()
+ return b, err
+}
- // 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)
+func (t *CompleteAccountSignupV3JSONBody) UnmarshalJSON(b []byte) error {
+ err := t.union.UnmarshalJSON(b)
+ return err
+}
- // 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)
+// 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
+}
- // 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)
+// 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
+}
- // ListProjectSecretsDetails performs a GET /api/v1/dashboard/secrets-details (the `ListProjectSecretsDetails` operationId) request.
- //
- // List project secrets details.
- ListProjectSecretsDetails(ctx context.Context, params *ListProjectSecretsDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+// 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
+ }
- // ListEmailDomains performs a GET /api/v1/email-domains (the `ListEmailDomains` operationId) request.
- ListEmailDomains(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+}
- // CreateEmailDomainWithBody performs a POST /api/v1/email-domains (the `CreateEmailDomain` operationId) request,
- // with any type of body and a specified content type.
- CreateEmailDomainWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+// 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
+}
- // CreateEmailDomain performs a POST /api/v1/email-domains (the `CreateEmailDomain` operationId) request.
- // Takes a body of the `application/json` content type.
- CreateEmailDomain(ctx context.Context, body CreateEmailDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+// 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
+}
- // VerifyEmailDomain performs a POST /api/v1/email-domains/{emailDomainId}/verify (the `VerifyEmailDomain` operationId) request.
- VerifyEmailDomain(ctx context.Context, emailDomainId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
+// 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
+ }
- // CreateGroupWithBody performs a POST /api/v1/groups (the `CreateGroup` operationId) request,
- // with any type of body and a specified content type.
- CreateGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+}
- // CreateGroup performs a POST /api/v1/groups (the `CreateGroup` operationId) request.
- // Takes a body of the `application/json` content type.
- CreateGroup(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+func (t DeleteManySecretsV4200JSONResponseBody) MarshalJSON() ([]byte, error) {
+ b, err := t.union.MarshalJSON()
+ return b, err
+}
- // RemoveUserFromGroup performs a DELETE /api/v1/groups/{id}/users/{username} (the `RemoveUserFromGroup` operationId) request.
- RemoveUserFromGroup(ctx context.Context, id string, username string, reqEditors ...RequestEditorFn) (*http.Response, error)
+func (t *DeleteManySecretsV4200JSONResponseBody) UnmarshalJSON(b []byte) error {
+ err := t.union.UnmarshalJSON(b)
+ return err
+}
- // AddUserToGroup performs a POST /api/v1/groups/{id}/users/{username} (the `AddUserToGroup` operationId) request.
- AddUserToGroup(ctx context.Context, id string, username string, reqEditors ...RequestEditorFn) (*http.Response, error)
+// 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
+}
- // 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)
+// 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
+}
- // 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)
+// 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
+ }
- // 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)
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+}
- // 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)
+// 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
+}
- // 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)
+// 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
+}
- // 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)
+// 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
+ }
- // GetOrganizationById performs a GET /api/v1/organization/{organizationId} (the `GetOrganizationById` operationId) request.
- GetOrganizationById(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+}
- // 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)
+func (t UpdateManySecretsV4200JSONResponseBody) MarshalJSON() ([]byte, error) {
+ b, err := t.union.MarshalJSON()
+ return b, err
+}
- // 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)
+func (t *UpdateManySecretsV4200JSONResponseBody) UnmarshalJSON(b []byte) error {
+ err := t.union.UnmarshalJSON(b)
+ return err
+}
- // 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)
+// 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
+}
- // 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)
+// 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
+}
- // 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)
+// 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
+ }
- // 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)
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+}
- // 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)
+// 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
+}
- // 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)
+// 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
+}
- // 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)
+// 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
+ }
- // 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)
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+}
- // 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)
+func (t CreateManySecretsV4200JSONResponseBody) MarshalJSON() ([]byte, error) {
+ b, err := t.union.MarshalJSON()
+ return b, err
+}
- // 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)
+func (t *CreateManySecretsV4200JSONResponseBody) UnmarshalJSON(b []byte) error {
+ err := t.union.UnmarshalJSON(b)
+ return err
+}
- // 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)
+// 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
+}
- // CreateProjectGroupMembershipWithBody performs a POST /api/v1/projects/{projectId}/memberships/groups/{groupId} (the `CreateProjectGroupMembership` operationId) request,
- // with any type of body and a specified content type.
- //
- // Add a group from the organization to the project by creating a project group membership.
- CreateProjectGroupMembershipWithBody(ctx context.Context, projectId string, groupId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+// 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
+}
- // CreateProjectGroupMembership performs a POST /api/v1/projects/{projectId}/memberships/groups/{groupId} (the `CreateProjectGroupMembership` operationId) request.
- // Takes a body of the `application/json` content type.
- //
- // Add a group from the organization to the project by creating a project group membership.
- CreateProjectGroupMembership(ctx context.Context, projectId string, groupId openapi_types.UUID, body CreateProjectGroupMembershipJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+// 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
+ }
- // 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)
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+}
- // 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)
+// 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
+}
- // 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)
+// 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
+}
- // 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)
+// 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
+ }
- // 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)
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+}
- // 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)
+func (t DuplicateSecretV4200JSONResponseBody_Results_Item) MarshalJSON() ([]byte, error) {
+ b, err := t.union.MarshalJSON()
+ return b, err
+}
- // ListSecretApprovalRequests performs a GET /api/v1/secret-approval-requests (the `ListSecretApprovalRequests` operationId) request.
- ListSecretApprovalRequests(ctx context.Context, params *ListSecretApprovalRequestsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+func (t *DuplicateSecretV4200JSONResponseBody_Results_Item) UnmarshalJSON(b []byte) error {
+ err := t.union.UnmarshalJSON(b)
+ return err
+}
- // 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)
+// 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
+}
- // 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)
+// 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
+}
- // 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)
+// 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
+ }
- // 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)
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+}
- // 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)
+// 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
+}
- // 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)
+// 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
+}
- // 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)
+// 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
+ }
- // 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)
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+}
- // 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)
+func (t DeleteSecretV4200JSONResponseBody) MarshalJSON() ([]byte, error) {
+ b, err := t.union.MarshalJSON()
+ return b, err
+}
- // 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)
+func (t *DeleteSecretV4200JSONResponseBody) UnmarshalJSON(b []byte) error {
+ err := t.union.UnmarshalJSON(b)
+ return err
+}
- // 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)
+// 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
+}
- // 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)
+// 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
+}
- // 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)
+// 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
+ }
- // 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)
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+}
- // GetSamlConfig performs a GET /api/v1/sso/config (the `GetSamlConfig` operationId) request.
- //
- // Get SAML config.
- GetSamlConfig(ctx context.Context, params *GetSamlConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+// 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
+}
- // UpdateSamlConfigWithBody performs a PATCH /api/v1/sso/config (the `UpdateSamlConfig` operationId) request,
- // with any type of body and a specified content type.
- //
- // Update SAML config.
- UpdateSamlConfigWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+// 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
+}
- // UpdateSamlConfig performs a PATCH /api/v1/sso/config (the `UpdateSamlConfig` operationId) request.
- // Takes a body of the `application/json` content type.
- //
- // Update SAML config.
- UpdateSamlConfig(ctx context.Context, body UpdateSamlConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+// 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
+ }
- // CreateSamlConfigWithBody performs a POST /api/v1/sso/config (the `CreateSamlConfig` operationId) request,
- // with any type of body and a specified content type.
- //
- // Create SAML config.
- CreateSamlConfigWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+}
- // CreateSamlConfig performs a POST /api/v1/sso/config (the `CreateSamlConfig` operationId) request.
- // Takes a body of the `application/json` content type.
- //
- // Create SAML config.
- CreateSamlConfig(ctx context.Context, body CreateSamlConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+func (t UpdateSecretV4200JSONResponseBody) MarshalJSON() ([]byte, error) {
+ b, err := t.union.MarshalJSON()
+ return b, err
+}
- // RedirectOrgSSO performs a GET /api/v1/sso/redirect/organizations/{orgSlug} (the `RedirectOrgSSO` operationId) request.
- RedirectOrgSSO(ctx context.Context, orgSlug string, params *RedirectOrgSSOParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+func (t *UpdateSecretV4200JSONResponseBody) UnmarshalJSON(b []byte) error {
+ err := t.union.UnmarshalJSON(b)
+ return err
+}
- // RedirectSamlByDomain performs a GET /api/v1/sso/redirect/saml2/organizations/domain/{domain} (the `RedirectSamlByDomain` operationId) request.
- RedirectSamlByDomain(ctx context.Context, domain string, params *RedirectSamlByDomainParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+// 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
+}
- // RedirectSamlByOrgSlug performs a GET /api/v1/sso/redirect/saml2/organizations/{orgSlug} (the `RedirectSamlByOrgSlug` operationId) request.
- RedirectSamlByOrgSlug(ctx context.Context, orgSlug string, params *RedirectSamlByOrgSlugParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+// 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
+}
- // RedirectSamlByConfigId performs a GET /api/v1/sso/redirect/saml2/{samlConfigId} (the `RedirectSamlByConfigId` operationId) request.
- RedirectSamlByConfigId(ctx context.Context, samlConfigId string, params *RedirectSamlByConfigIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+// 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
+ }
- // SamlAcsWithBody performs a POST /api/v1/sso/saml2/{samlConfigId} (the `SamlAcs` operationId) request,
- // with any type of body and a specified content type.
- SamlAcsWithBody(ctx context.Context, samlConfigId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+}
- // SamlAcsWithFormdataBody performs a POST /api/v1/sso/saml2/{samlConfigId} (the `SamlAcs` operationId) request.
- // Takes a body of the `application/x-www-form-urlencoded` content type.
- SamlAcsWithFormdataBody(ctx context.Context, samlConfigId string, body SamlAcsFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+// 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
+}
- // 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)
+// 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
+}
- // 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)
+// 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
+ }
- // 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)
+ merged, err := runtime.JSONMerge(t.union, b)
+ t.union = merged
+ return err
+}
- // 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)
+func (t CreateSecretV4200JSONResponseBody) MarshalJSON() ([]byte, error) {
+ b, err := t.union.MarshalJSON()
+ return b, err
+}
- // DeleteOrganization performs a DELETE /api/v2/organizations/{organizationId} (the `DeleteOrganization` operationId) request.
- DeleteOrganization(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
+func (t *CreateSecretV4200JSONResponseBody) UnmarshalJSON(b []byte) error {
+ err := t.union.UnmarshalJSON(b)
+ return err
+}
- // ListOrgMemberships performs a GET /api/v2/organizations/{organizationId}/memberships (the `ListOrgMemberships` operationId) request.
- //
- // Return organization user memberships.
- ListOrgMemberships(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
+// RequestEditorFn is the function signature for the RequestEditor callback function
+type RequestEditorFn func(ctx context.Context, req *http.Request) error
- // GetOrgMembership performs a GET /api/v2/organizations/{organizationId}/memberships/{membershipId} (the `GetOrgMembership` operationId) request.
- //
- // Get organization user membership.
- GetOrgMembership(ctx context.Context, organizationId string, membershipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
+// Doer performs HTTP requests.
+//
+// The standard http.Client implements this interface.
+type HttpRequestDoer interface {
+ Do(req *http.Request) (*http.Response, error)
+}
- // UpdateOrgMembershipWithBody performs a PATCH /api/v2/organizations/{organizationId}/memberships/{membershipId} (the `UpdateOrgMembership` operationId) request,
- // with any type of body and a specified content type.
- //
- // Update organization user memberships.
- UpdateOrgMembershipWithBody(ctx context.Context, organizationId string, membershipId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+// 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
- // UpdateOrgMembership performs a PATCH /api/v2/organizations/{organizationId}/memberships/{membershipId} (the `UpdateOrgMembership` operationId) request.
- // Takes a body of the `application/json` content type.
- //
- // Update organization user memberships.
- UpdateOrgMembership(ctx context.Context, organizationId string, membershipId string, body UpdateOrgMembershipJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+ // Doer for performing requests, typically a *http.Client with any
+ // customized settings, such as certificate chains.
+ Client HttpRequestDoer
- // 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)
+ // A list of callbacks for modifying requests which are generated before sending over
+ // the network.
+ RequestEditors []RequestEditorFn
+}
- // 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)
+// ClientOption allows setting custom parameters during construction
+type ClientOption func(*Client) error
- // GetSecretApprovalPolicyBoard performs a GET /api/v2/secret-approvals/board (the `GetSecretApprovalPolicyBoard` operationId) request.
- GetSecretApprovalPolicyBoard(ctx context.Context, params *GetSecretApprovalPolicyBoardParams, reqEditors ...RequestEditorFn) (*http.Response, 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,
+ }
+ // 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
+}
- // DeleteSecretApprovalPolicy performs a DELETE /api/v2/secret-approvals/{sapId} (the `DeleteSecretApprovalPolicy` operationId) request.
- DeleteSecretApprovalPolicy(ctx context.Context, sapId string, reqEditors ...RequestEditorFn) (*http.Response, error)
+// 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
+ }
+}
- // GetSecretApprovalPolicy performs a GET /api/v2/secret-approvals/{sapId} (the `GetSecretApprovalPolicy` operationId) request.
- GetSecretApprovalPolicy(ctx context.Context, sapId string, reqEditors ...RequestEditorFn) (*http.Response, error)
+// 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
+ }
+}
- // UpdateSecretApprovalPolicyWithBody performs a PATCH /api/v2/secret-approvals/{sapId} (the `UpdateSecretApprovalPolicy` operationId) request,
+// The interface specification for the client above.
+type ClientInterface interface {
+
+ // 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)
+
+ // AdminBootstrapWithBody performs a POST /api/v1/admin/bootstrap (the `AdminBootstrap` 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)
+ AdminBootstrapWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- // UpdateSecretApprovalPolicy performs a PATCH /api/v2/secret-approvals/{sapId} (the `UpdateSecretApprovalPolicy` operationId) request.
+ // AdminBootstrap performs a POST /api/v1/admin/bootstrap (the `AdminBootstrap` operationId) request.
// Takes a body of the `application/json` content type.
- UpdateSecretApprovalPolicy(ctx context.Context, sapId string, body UpdateSecretApprovalPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+ AdminBootstrap(ctx context.Context, body AdminBootstrapJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- // CreateSecretImportWithBody performs a POST /api/v2/secret-imports (the `CreateSecretImport` operationId) request,
+ // 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)
+
+ // 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)
+
+ // CreateGitHubAppConnectionWithBody performs a POST /api/v1/app-connections/github (the `CreateGitHubAppConnection` 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)
+ // Create a GitHub Connection.
+ CreateGitHubAppConnectionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- // CreateSecretImport performs a POST /api/v2/secret-imports (the `CreateSecretImport` operationId) request.
+ // CreateGitHubAppConnection performs a POST /api/v1/app-connections/github (the `CreateGitHubAppConnection` 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)
+ // Create a GitHub Connection.
+ CreateGitHubAppConnection(ctx context.Context, body CreateGitHubAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- // GetCurrentUser performs a GET /api/v2/users/me (the `GetCurrentUser` operationId) request.
+ // DeleteGitHubAppConnection performs a DELETE /api/v1/app-connections/github/{connectionId} (the `DeleteGitHubAppConnection` operationId) request.
//
- // Retrieve the current user on the request.
- GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
+ // Delete the specified GitHub Connection.
+ DeleteGitHubAppConnection(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- // CreateProjectRoleWithBody performs a POST /api/v2/workspace/{projectId}/roles (the `CreateProjectRole` operationId) request,
+ // RefreshAuthToken performs a POST /api/v1/auth/token (the `RefreshAuthToken` operationId) request.
+ RefreshAuthToken(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // 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.
//
- // Create a project role.
- CreateProjectRoleWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+ // Attach Universal Auth configuration onto machine identity.
+ AttachUniversalAuthWithBody(ctx context.Context, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- // CreateProjectRole performs a POST /api/v2/workspace/{projectId}/roles (the `CreateProjectRole` operationId) request.
+ // AttachUniversalAuth performs a POST /api/v1/auth/universal-auth/identities/{identityId} (the `AttachUniversalAuth` operationId) request.
// Takes a body of the `application/json` content type.
//
- // Create a project role.
- CreateProjectRole(ctx context.Context, projectId string, body CreateProjectRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+ // Attach Universal Auth configuration onto machine identity.
+ AttachUniversalAuth(ctx context.Context, identityId string, body AttachUniversalAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- // LoginV3WithBody performs a POST /api/v3/auth/login (the `LoginV3` operationId) request,
+ // 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.
- LoginV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+ //
+ // Create Universal Auth Client Secret for machine identity.
+ CreateUniversalAuthClientSecretWithBody(ctx context.Context, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- // LoginV3 performs a POST /api/v3/auth/login (the `LoginV3` operationId) request.
+ // 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.
- LoginV3(ctx context.Context, body LoginV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+ //
+ // Create Universal Auth Client Secret for machine identity.
+ CreateUniversalAuthClientSecret(ctx context.Context, identityId string, body CreateUniversalAuthClientSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- // SelectOrganizationV3WithBody performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request,
+ // LoginWithUniversalAuthWithBody performs a POST /api/v1/auth/universal-auth/login (the `LoginWithUniversalAuth` 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)
+ //
+ // Login with Universal Auth for machine identity.
+ LoginWithUniversalAuthWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- // SelectOrganizationV3 performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request.
+ // LoginWithUniversalAuth performs a POST /api/v1/auth/universal-auth/login (the `LoginWithUniversalAuth` operationId) request.
// Takes a body of the `application/json` content type.
- SelectOrganizationV3(ctx context.Context, body SelectOrganizationV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+ //
+ // Login with Universal Auth for machine identity.
+ LoginWithUniversalAuth(ctx context.Context, body LoginWithUniversalAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- // 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)
++ // ListProjectSecretsDetails performs a GET /api/v1/dashboard/secrets-details (the `ListProjectSecretsDetails` operationId) request.
++ //
++ // List project secrets details.
++ ListProjectSecretsDetails(ctx context.Context, params *ListProjectSecretsDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+
- // 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)
+ // ListEmailDomains performs a GET /api/v1/email-domains (the `ListEmailDomains` operationId) request.
+ ListEmailDomains(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- // BeginEmailSignupV3WithBody performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request,
+ // CreateEmailDomainWithBody performs a POST /api/v1/email-domains (the `CreateEmailDomain` 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)
+ CreateEmailDomainWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- // BeginEmailSignupV3 performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request.
+ // CreateEmailDomain performs a POST /api/v1/email-domains (the `CreateEmailDomain` operationId) request.
// Takes a body of the `application/json` content type.
- BeginEmailSignupV3(ctx context.Context, body BeginEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+ CreateEmailDomain(ctx context.Context, body CreateEmailDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- // VerifyEmailSignupV3WithBody performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request,
+ // VerifyEmailDomain performs a POST /api/v1/email-domains/{emailDomainId}/verify (the `VerifyEmailDomain` operationId) request.
+ VerifyEmailDomain(ctx context.Context, emailDomainId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // CreateGroupWithBody performs a POST /api/v1/groups (the `CreateGroup` 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)
+ CreateGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- // VerifyEmailSignupV3 performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request.
+ // CreateGroup performs a POST /api/v1/groups (the `CreateGroup` operationId) request.
// Takes a body of the `application/json` content type.
- VerifyEmailSignupV3(ctx context.Context, body VerifyEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+ CreateGroup(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- // ListSecretsV4 performs a GET /api/v4/secrets (the `ListSecretsV4` operationId) request.
- //
- // List secrets.
- ListSecretsV4(ctx context.Context, params *ListSecretsV4Params, reqEditors ...RequestEditorFn) (*http.Response, error)
+ // RemoveUserFromGroup performs a DELETE /api/v1/groups/{id}/users/{username} (the `RemoveUserFromGroup` operationId) request.
+ RemoveUserFromGroup(ctx context.Context, id string, username string, reqEditors ...RequestEditorFn) (*http.Response, error)
- // DeleteManySecretsV4WithBody performs a DELETE /api/v4/secrets/batch (the `DeleteManySecretsV4` operationId) request,
+ // AddUserToGroup performs a POST /api/v1/groups/{id}/users/{username} (the `AddUserToGroup` operationId) request.
+ AddUserToGroup(ctx context.Context, id string, username string, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // CreateMachineIdentityWithBody performs a POST /api/v1/identities (the `CreateMachineIdentity` 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)
+ // Create machine identity.
+ CreateMachineIdentityWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- // DeleteManySecretsV4 performs a DELETE /api/v4/secrets/batch (the `DeleteManySecretsV4` operationId) request.
+ // CreateMachineIdentity performs a POST /api/v1/identities (the `CreateMachineIdentity` 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)
+ // Create machine identity.
+ CreateMachineIdentity(ctx context.Context, body CreateMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- // UpdateManySecretsV4WithBody performs a PATCH /api/v4/secrets/batch (the `UpdateManySecretsV4` operationId) request,
+ // InviteUsersToOrganizationWithBody performs a POST /api/v1/invite-org/signup (the `InviteUsersToOrganization` 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)
+ InviteUsersToOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
- // UpdateManySecretsV4 performs a PATCH /api/v4/secrets/batch (the `UpdateManySecretsV4` operationId) request.
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // GetOrganizationById performs a GET /api/v1/organization/{organizationId} (the `GetOrganizationById` operationId) request.
+ GetOrganizationById(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // CreateProjectGroupMembershipWithBody performs a POST /api/v1/projects/{projectId}/memberships/groups/{groupId} (the `CreateProjectGroupMembership` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Add a group from the organization to the project by creating a project group membership.
+ CreateProjectGroupMembershipWithBody(ctx context.Context, projectId string, groupId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // CreateProjectGroupMembership performs a POST /api/v1/projects/{projectId}/memberships/groups/{groupId} (the `CreateProjectGroupMembership` operationId) request.
+ // Takes a body of the `application/json` content type.
+ //
+ // Add a group from the organization to the project by creating a project group membership.
+ CreateProjectGroupMembership(ctx context.Context, projectId string, groupId openapi_types.UUID, body CreateProjectGroupMembershipJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // ListScimGroups performs a GET /api/v1/scim/Groups (the `ListScimGroups` operationId) request.
+ ListScimGroups(ctx context.Context, params *ListScimGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // CreateScimGroupWithBody performs a POST /api/v1/scim/Groups (the `CreateScimGroup` operationId) request,
+ // with any type of body and a specified content type.
+ CreateScimGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // CreateScimGroup performs a POST /api/v1/scim/Groups (the `CreateScimGroup` operationId) request.
+ // Takes a body of the `application/json` content type.
+ CreateScimGroup(ctx context.Context, body CreateScimGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // DeleteScimGroup performs a DELETE /api/v1/scim/Groups/{groupId} (the `DeleteScimGroup` operationId) request.
+ DeleteScimGroup(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // GetScimGroup performs a GET /api/v1/scim/Groups/{groupId} (the `GetScimGroup` operationId) request.
+ GetScimGroup(ctx context.Context, groupId string, params *GetScimGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // PatchScimGroupWithBody performs a PATCH /api/v1/scim/Groups/{groupId} (the `PatchScimGroup` operationId) request,
+ // with any type of body and a specified content type.
+ PatchScimGroupWithBody(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // PatchScimGroup performs a PATCH /api/v1/scim/Groups/{groupId} (the `PatchScimGroup` operationId) request.
+ // Takes a body of the `application/json` content type.
+ PatchScimGroup(ctx context.Context, groupId string, body PatchScimGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // ReplaceScimGroupWithBody performs a PUT /api/v1/scim/Groups/{groupId} (the `ReplaceScimGroup` operationId) request,
+ // with any type of body and a specified content type.
+ ReplaceScimGroupWithBody(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // ReplaceScimGroup performs a PUT /api/v1/scim/Groups/{groupId} (the `ReplaceScimGroup` operationId) request.
+ // Takes a body of the `application/json` content type.
+ ReplaceScimGroup(ctx context.Context, groupId string, body ReplaceScimGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // GetScimServiceProviderConfig performs a GET /api/v1/scim/ServiceProviderConfig (the `GetScimServiceProviderConfig` operationId) request.
+ GetScimServiceProviderConfig(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // ListScimUsers performs a GET /api/v1/scim/Users (the `ListScimUsers` operationId) request.
+ ListScimUsers(ctx context.Context, params *ListScimUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // CreateScimUserWithBody performs a POST /api/v1/scim/Users (the `CreateScimUser` operationId) request,
+ // with any type of body and a specified content type.
+ CreateScimUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // CreateScimUser performs a POST /api/v1/scim/Users (the `CreateScimUser` operationId) request.
+ // Takes a body of the `application/json` content type.
+ CreateScimUser(ctx context.Context, body CreateScimUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // DeleteScimUser performs a DELETE /api/v1/scim/Users/{orgMembershipId} (the `DeleteScimUser` operationId) request.
+ DeleteScimUser(ctx context.Context, orgMembershipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // GetScimUser performs a GET /api/v1/scim/Users/{orgMembershipId} (the `GetScimUser` operationId) request.
+ GetScimUser(ctx context.Context, orgMembershipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // PatchScimUserWithBody performs a PATCH /api/v1/scim/Users/{orgMembershipId} (the `PatchScimUser` operationId) request,
+ // with any type of body and a specified content type.
+ PatchScimUserWithBody(ctx context.Context, orgMembershipId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // PatchScimUser performs a PATCH /api/v1/scim/Users/{orgMembershipId} (the `PatchScimUser` operationId) request.
+ // Takes a body of the `application/json` content type.
+ PatchScimUser(ctx context.Context, orgMembershipId string, body PatchScimUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // ReplaceScimUserWithBody performs a PUT /api/v1/scim/Users/{orgMembershipId} (the `ReplaceScimUser` operationId) request,
+ // with any type of body and a specified content type.
+ ReplaceScimUserWithBody(ctx context.Context, orgMembershipId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // ReplaceScimUser performs a PUT /api/v1/scim/Users/{orgMembershipId} (the `ReplaceScimUser` operationId) request.
+ // Takes a body of the `application/json` content type.
+ ReplaceScimUser(ctx context.Context, orgMembershipId string, body ReplaceScimUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // ListExternalGroupOrgRoleMappings performs a GET /api/v1/scim/group-org-role-mappings (the `ListExternalGroupOrgRoleMappings` operationId) request.
+ ListExternalGroupOrgRoleMappings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // UpdateExternalGroupOrgRoleMappingsWithBody performs a PUT /api/v1/scim/group-org-role-mappings (the `UpdateExternalGroupOrgRoleMappings` operationId) request,
+ // with any type of body and a specified content type.
+ UpdateExternalGroupOrgRoleMappingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // UpdateExternalGroupOrgRoleMappings performs a PUT /api/v1/scim/group-org-role-mappings (the `UpdateExternalGroupOrgRoleMappings` operationId) request.
+ // Takes a body of the `application/json` content type.
+ UpdateExternalGroupOrgRoleMappings(ctx context.Context, body UpdateExternalGroupOrgRoleMappingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // ListScimEvents performs a GET /api/v1/scim/scim-events (the `ListScimEvents` operationId) request.
+ ListScimEvents(ctx context.Context, params *ListScimEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // ListScimTokens performs a GET /api/v1/scim/scim-tokens (the `ListScimTokens` operationId) request.
+ ListScimTokens(ctx context.Context, params *ListScimTokensParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // CreateScimTokenWithBody performs a POST /api/v1/scim/scim-tokens (the `CreateScimToken` operationId) request,
+ // with any type of body and a specified content type.
+ CreateScimTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // CreateScimToken performs a POST /api/v1/scim/scim-tokens (the `CreateScimToken` operationId) request.
+ // Takes a body of the `application/json` content type.
+ CreateScimToken(ctx context.Context, body CreateScimTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // DeleteScimToken performs a DELETE /api/v1/scim/scim-tokens/{scimTokenId} (the `DeleteScimToken` operationId) request.
+ DeleteScimToken(ctx context.Context, scimTokenId string, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // ListSecretApprovalRequests performs a GET /api/v1/secret-approval-requests (the `ListSecretApprovalRequests` operationId) request.
+ ListSecretApprovalRequests(ctx context.Context, params *ListSecretApprovalRequestsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // GetSamlConfig performs a GET /api/v1/sso/config (the `GetSamlConfig` operationId) request.
+ //
+ // Get SAML config.
+ GetSamlConfig(ctx context.Context, params *GetSamlConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // UpdateSamlConfigWithBody performs a PATCH /api/v1/sso/config (the `UpdateSamlConfig` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Update SAML config.
+ UpdateSamlConfigWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // UpdateSamlConfig performs a PATCH /api/v1/sso/config (the `UpdateSamlConfig` operationId) request.
+ // Takes a body of the `application/json` content type.
+ //
+ // Update SAML config.
+ UpdateSamlConfig(ctx context.Context, body UpdateSamlConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // CreateSamlConfigWithBody performs a POST /api/v1/sso/config (the `CreateSamlConfig` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Create SAML config.
+ CreateSamlConfigWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // CreateSamlConfig performs a POST /api/v1/sso/config (the `CreateSamlConfig` operationId) request.
+ // Takes a body of the `application/json` content type.
+ //
+ // Create SAML config.
+ CreateSamlConfig(ctx context.Context, body CreateSamlConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // OidcCallback performs a GET /api/v1/sso/oidc/callback (the `OidcCallback` operationId) request.
+ OidcCallback(ctx context.Context, params *OidcCallbackParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // GetOidcConfig performs a GET /api/v1/sso/oidc/config (the `GetOidcConfig` operationId) request.
+ //
+ // Get OIDC config.
+ GetOidcConfig(ctx context.Context, params *GetOidcConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // UpdateOidcConfigWithBody performs a PATCH /api/v1/sso/oidc/config (the `UpdateOidcConfig` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Update OIDC config.
+ UpdateOidcConfigWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // UpdateOidcConfig performs a PATCH /api/v1/sso/oidc/config (the `UpdateOidcConfig` operationId) request.
+ // Takes a body of the `application/json` content type.
+ //
+ // Update OIDC config.
+ UpdateOidcConfig(ctx context.Context, body UpdateOidcConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // CreateOidcConfigWithBody performs a POST /api/v1/sso/oidc/config (the `CreateOidcConfig` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Create OIDC config.
+ CreateOidcConfigWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // CreateOidcConfig performs a POST /api/v1/sso/oidc/config (the `CreateOidcConfig` operationId) request.
+ // Takes a body of the `application/json` content type.
+ //
+ // Create OIDC config.
+ CreateOidcConfig(ctx context.Context, body CreateOidcConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // RedirectOidcLogin performs a GET /api/v1/sso/oidc/login (the `RedirectOidcLogin` operationId) request.
+ RedirectOidcLogin(ctx context.Context, params *RedirectOidcLoginParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // RedirectOrgSSO performs a GET /api/v1/sso/redirect/organizations/{orgSlug} (the `RedirectOrgSSO` operationId) request.
+ RedirectOrgSSO(ctx context.Context, orgSlug string, params *RedirectOrgSSOParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // RedirectSamlByDomain performs a GET /api/v1/sso/redirect/saml2/organizations/domain/{domain} (the `RedirectSamlByDomain` operationId) request.
+ RedirectSamlByDomain(ctx context.Context, domain string, params *RedirectSamlByDomainParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // RedirectSamlByOrgSlug performs a GET /api/v1/sso/redirect/saml2/organizations/{orgSlug} (the `RedirectSamlByOrgSlug` operationId) request.
+ RedirectSamlByOrgSlug(ctx context.Context, orgSlug string, params *RedirectSamlByOrgSlugParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // RedirectSamlByConfigId performs a GET /api/v1/sso/redirect/saml2/{samlConfigId} (the `RedirectSamlByConfigId` operationId) request.
+ RedirectSamlByConfigId(ctx context.Context, samlConfigId string, params *RedirectSamlByConfigIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // SamlAcsWithBody performs a POST /api/v1/sso/saml2/{samlConfigId} (the `SamlAcs` operationId) request,
+ // with any type of body and a specified content type.
+ SamlAcsWithBody(ctx context.Context, samlConfigId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // SamlAcsWithFormdataBody performs a POST /api/v1/sso/saml2/{samlConfigId} (the `SamlAcs` operationId) request.
+ // Takes a body of the `application/x-www-form-urlencoded` content type.
+ SamlAcsWithFormdataBody(ctx context.Context, samlConfigId string, body SamlAcsFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // DeleteOrganization performs a DELETE /api/v2/organizations/{organizationId} (the `DeleteOrganization` operationId) request.
+ DeleteOrganization(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // ListOrgMemberships performs a GET /api/v2/organizations/{organizationId}/memberships (the `ListOrgMemberships` operationId) request.
+ //
+ // Return organization user memberships.
+ ListOrgMemberships(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // GetOrgMembership performs a GET /api/v2/organizations/{organizationId}/memberships/{membershipId} (the `GetOrgMembership` operationId) request.
+ //
+ // Get organization user membership.
+ GetOrgMembership(ctx context.Context, organizationId string, membershipId string, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // UpdateOrgMembershipWithBody performs a PATCH /api/v2/organizations/{organizationId}/memberships/{membershipId} (the `UpdateOrgMembership` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Update organization user memberships.
+ UpdateOrgMembershipWithBody(ctx context.Context, organizationId string, membershipId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // UpdateOrgMembership performs a PATCH /api/v2/organizations/{organizationId}/memberships/{membershipId} (the `UpdateOrgMembership` operationId) request.
+ // Takes a body of the `application/json` content type.
+ //
+ // Update organization user memberships.
+ UpdateOrgMembership(ctx context.Context, organizationId string, membershipId string, body UpdateOrgMembershipJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // 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)
+
+ // 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)
+
+ // GetSecretApprovalPolicyBoard performs a GET /api/v2/secret-approvals/board (the `GetSecretApprovalPolicyBoard` operationId) request.
+ GetSecretApprovalPolicyBoard(ctx context.Context, params *GetSecretApprovalPolicyBoardParams, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // DeleteSecretApprovalPolicy performs a DELETE /api/v2/secret-approvals/{sapId} (the `DeleteSecretApprovalPolicy` operationId) request.
+ DeleteSecretApprovalPolicy(ctx context.Context, sapId string, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // GetSecretApprovalPolicy performs a GET /api/v2/secret-approvals/{sapId} (the `GetSecretApprovalPolicy` operationId) request.
+ GetSecretApprovalPolicy(ctx context.Context, sapId string, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // GetCurrentUser performs a GET /api/v2/users/me (the `GetCurrentUser` operationId) request.
+ //
+ // Retrieve the current user on the request.
+ GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // RequestEmailChangeOtpWithBody performs a POST /api/v2/users/me/email-change/otp (the `RequestEmailChangeOtp` operationId) request,
+ // with any type of body and a specified content type.
+ RequestEmailChangeOtpWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // RequestEmailChangeOtp performs a POST /api/v2/users/me/email-change/otp (the `RequestEmailChangeOtp` operationId) request.
+ // Takes a body of the `application/json` content type.
+ RequestEmailChangeOtp(ctx context.Context, body RequestEmailChangeOtpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
+
++ // CreateProjectRoleWithBody performs a POST /api/v2/workspace/{projectId}/roles (the `CreateProjectRole` operationId) request,
++ // with any type of body and a specified content type.
++ //
++ // Create a project role.
++ CreateProjectRoleWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
++
++ // CreateProjectRole performs a POST /api/v2/workspace/{projectId}/roles (the `CreateProjectRole` operationId) request.
++ // Takes a body of the `application/json` content type.
++ //
++ // Create a project role.
++ CreateProjectRole(ctx context.Context, projectId string, body CreateProjectRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
++
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // ListSecretsV4 performs a GET /api/v4/secrets (the `ListSecretsV4` operationId) request.
+ //
+ // List secrets.
+ ListSecretsV4(ctx context.Context, params *ListSecretsV4Params, reqEditors ...RequestEditorFn) (*http.Response, error)
+
+ // 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)
+
+ // 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)
+
+ // 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)
+
+ // 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)
@@@ -21575,34 -23766,38 +26969,66 @@@ func (c *Client) GetCurrentUser(ctx con
return c.Client.Do(req)
}
+// RequestEmailChangeOtpWithBody performs a POST /api/v2/users/me/email-change/otp (the `RequestEmailChangeOtp` operationId) request,
+// with any type of body and a specified content type.
+func (c *Client) RequestEmailChangeOtpWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {
+ req, err := NewRequestEmailChangeOtpRequestWithBody(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)
+}
+
+// RequestEmailChangeOtp performs a POST /api/v2/users/me/email-change/otp (the `RequestEmailChangeOtp` operationId) request.
+// Takes a body of the `application/json` content type.
+func (c *Client) RequestEmailChangeOtp(ctx context.Context, body RequestEmailChangeOtpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {
+ req, err := NewRequestEmailChangeOtpRequest(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)
+}
+
+ // CreateProjectRoleWithBody performs a POST /api/v2/workspace/{projectId}/roles (the `CreateProjectRole` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Create a project role.
+ func (c *Client) CreateProjectRoleWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {
+ req, err := NewCreateProjectRoleRequestWithBody(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)
+ }
+
+ // CreateProjectRole performs a POST /api/v2/workspace/{projectId}/roles (the `CreateProjectRole` operationId) request.
+ // Takes a body of the `application/json` content type.
+ //
+ // Create a project role.
+ func (c *Client) CreateProjectRole(ctx context.Context, projectId string, body CreateProjectRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {
+ req, err := NewCreateProjectRoleRequest(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)
+ }
+
// 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) {
@@@ -26167,37 -28381,76 +31819,84 @@@ func NewRequestEmailChangeOtpRequestWit
return req, nil
}
-// NewGetSecretReferenceTreeV4Request constructs an http.Request for the GetSecretReferenceTreeV4 method
-func NewGetSecretReferenceTreeV4Request(server string, secretName string, params *GetSecretReferenceTreeV4Params) (*http.Request, error) {
++// NewCreateProjectRoleRequest calls the generic CreateProjectRole builder with application/json body
++func NewCreateProjectRoleRequest(server string, projectId string, body CreateProjectRoleJSONRequestBody) (*http.Request, error) {
++ var bodyReader io.Reader
++ buf, err := json.Marshal(body)
++ if err != nil {
++ return nil, err
++ }
++ bodyReader = bytes.NewReader(buf)
++ return NewCreateProjectRoleRequestWithBody(server, projectId, "application/json", bodyReader)
++}
++
++// NewCreateProjectRoleRequestWithBody constructs an http.Request for the CreateProjectRole method, with any body, and a specified content type
++func NewCreateProjectRoleRequestWithBody(server string, projectId 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: ""})
++ 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/v4/secrets/%s/secret-reference-tree", pathParam0)
++ operationPath := fmt.Sprintf("/api/v2/workspace/%s/roles", 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
++ req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)
++ if err != nil {
++ return nil, err
++ }
+
- 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)
- }
- }
++ req.Header.Add("Content-Type", contentType)
+
- 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)
- }
- }
++ return req, nil
++}
+
- if params.SecretPath != 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)
+}
- 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)
- }
- }
+// 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
+ }
- if encoded := queryValues.Encode(); encoded != "" {
- rawQueryFragments = append(rawQueryFragments, encoded)
- }
- queryURL.RawQuery = strings.Join(rawQueryFragments, "&")
+ operationPath := fmt.Sprintf("/api/v3/auth/login")
+ if operationPath[0] == '/' {
+ operationPath = "." + operationPath
}
- req, err := http.NewRequest(http.MethodGet, queryURL.String(), nil)
+ 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
}
@@@ -26226,4836 -28484,1642 +31925,5420 @@@ func NewSelectOrganizationV3RequestWith
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
+ operationPath := fmt.Sprintf("/api/v3/auth/select-organization")
+ if operationPath[0] == '/' {
+ operationPath = "." + operationPath
}
-}
-// ClientWithResponsesInterface is the interface specification for the client with responses above.
-type ClientWithResponsesInterface interface {
+ queryURL, err := serverURL.Parse(operationPath)
+ if err != nil {
+ return nil, 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)
+ req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)
+ if err != nil {
+ return nil, 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)
+ req.Header.Add("Content-Type", contentType)
- // 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)
+ return req, 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).
- UpdateAdminConfigWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAdminConfigResponse, error)
+// 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)
+}
- // 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)
+// 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
- // 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)
+ serverURL, err := url.Parse(server)
+ if err != nil {
+ return nil, 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)
+ operationPath := fmt.Sprintf("/api/v3/signup/complete-account")
+ if operationPath[0] == '/' {
+ operationPath = "." + operationPath
+ }
- // 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)
+ queryURL, err := serverURL.Parse(operationPath)
+ if err != nil {
+ return nil, 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)
+ req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)
+ if err != nil {
+ return nil, 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)
+ req.Header.Add("Content-Type", contentType)
- // 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)
+ return req, nil
+}
- // 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)
+// 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)
+}
- // 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)
+// 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
- // 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)
+ serverURL, err := url.Parse(server)
+ if err != nil {
+ return nil, 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)
+ operationPath := fmt.Sprintf("/api/v3/signup/email/signup")
+ if operationPath[0] == '/' {
+ operationPath = "." + operationPath
+ }
- // ListProjectSecretsDetailsWithResponse performs a GET /api/v1/dashboard/secrets-details (the `ListProjectSecretsDetails` operationId) request.
- //
- // List project secrets details.
- //
- // Returns a wrapper object for the known response body format(s).
- ListProjectSecretsDetailsWithResponse(ctx context.Context, params *ListProjectSecretsDetailsParams, reqEditors ...RequestEditorFn) (*ListProjectSecretsDetailsResponse, error)
+ queryURL, err := serverURL.Parse(operationPath)
+ if err != nil {
+ return nil, err
+ }
- // ListEmailDomainsWithResponse performs a GET /api/v1/email-domains (the `ListEmailDomains` operationId) request.
- //
- // Returns a wrapper object for the known response body format(s).
- ListEmailDomainsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListEmailDomainsResponse, error)
-
- // CreateEmailDomainWithBodyWithResponse performs a POST /api/v1/email-domains (the `CreateEmailDomain` operationId) request,
- // with any type of body and a specified content type.
- //
- // Returns a wrapper object for the known response body format(s).
- CreateEmailDomainWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEmailDomainResponse, error)
+ req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)
+ if err != nil {
+ return nil, err
+ }
- // CreateEmailDomainWithResponse performs a POST /api/v1/email-domains (the `CreateEmailDomain` operationId) request.
- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
- CreateEmailDomainWithResponse(ctx context.Context, body CreateEmailDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEmailDomainResponse, error)
+ req.Header.Add("Content-Type", contentType)
- // VerifyEmailDomainWithResponse performs a POST /api/v1/email-domains/{emailDomainId}/verify (the `VerifyEmailDomain` operationId) request.
- //
- // Returns a wrapper object for the known response body format(s).
- VerifyEmailDomainWithResponse(ctx context.Context, emailDomainId openapi_types.UUID, reqEditors ...RequestEditorFn) (*VerifyEmailDomainResponse, error)
+ return req, nil
+}
- // CreateGroupWithBodyWithResponse performs a POST /api/v1/groups (the `CreateGroup` operationId) request,
- // with any type of body and a specified content type.
- //
- // Returns a wrapper object for the known response body format(s).
- CreateGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)
+// 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)
+}
- // CreateGroupWithResponse performs a POST /api/v1/groups (the `CreateGroup` operationId) request.
- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
- CreateGroupWithResponse(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)
+// 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
- // RemoveUserFromGroupWithResponse performs a DELETE /api/v1/groups/{id}/users/{username} (the `RemoveUserFromGroup` operationId) request.
- //
- // Returns a wrapper object for the known response body format(s).
- RemoveUserFromGroupWithResponse(ctx context.Context, id string, username string, reqEditors ...RequestEditorFn) (*RemoveUserFromGroupResponse, error)
+ serverURL, err := url.Parse(server)
+ if err != nil {
+ return nil, err
+ }
- // AddUserToGroupWithResponse performs a POST /api/v1/groups/{id}/users/{username} (the `AddUserToGroup` operationId) request.
- //
- // Returns a wrapper object for the known response body format(s).
- AddUserToGroupWithResponse(ctx context.Context, id string, username string, reqEditors ...RequestEditorFn) (*AddUserToGroupResponse, error)
+ operationPath := fmt.Sprintf("/api/v3/signup/email/verify")
+ if operationPath[0] == '/' {
+ operationPath = "." + operationPath
+ }
- // 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)
+ queryURL, err := serverURL.Parse(operationPath)
+ if err != nil {
+ return nil, 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)
+ req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)
+ if err != nil {
+ return nil, 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)
+ req.Header.Add("Content-Type", contentType)
- // 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)
+ return req, nil
+}
- // 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)
+// NewListSecretsV4Request constructs an http.Request for the ListSecretsV4 method
+func NewListSecretsV4Request(server string, params *ListSecretsV4Params) (*http.Request, error) {
+ var err 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)
+ serverURL, err := url.Parse(server)
+ if err != nil {
+ return nil, err
+ }
- // GetOrganizationByIdWithResponse performs a GET /api/v1/organization/{organizationId} (the `GetOrganizationById` operationId) request.
- //
- // Returns a wrapper object for the known response body format(s).
- GetOrganizationByIdWithResponse(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*GetOrganizationByIdResponse, error)
+ operationPath := fmt.Sprintf("/api/v4/secrets")
+ if operationPath[0] == '/' {
+ operationPath = "." + operationPath
+ }
- // 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)
+ queryURL, err := serverURL.Parse(operationPath)
+ if err != nil {
+ return nil, err
+ }
- // 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)
+ 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
- // 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)
+ if params.MetadataFilter != nil {
- // 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)
+ 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)
+ }
+ }
- // 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)
+ if params.ProjectId != nil {
- // 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)
+ 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)
+ }
+ }
- // 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)
+ if params.Environment != nil {
- // 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)
+ 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)
+ }
+ }
- // 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)
+ if params.SecretPath != nil {
- // 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)
+ 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)
+ }
+ }
- // CreateProjectGroupMembershipWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/memberships/groups/{groupId} (the `CreateProjectGroupMembership` operationId) request,
- // with any type of body and a specified content type.
- //
- // Add a group from the organization to the project by creating a project group membership.
- //
- // Returns a wrapper object for the known response body format(s).
- CreateProjectGroupMembershipWithBodyWithResponse(ctx context.Context, projectId string, groupId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectGroupMembershipResponse, error)
+ }
- // CreateProjectGroupMembershipWithResponse performs a POST /api/v1/projects/{projectId}/memberships/groups/{groupId} (the `CreateProjectGroupMembership` operationId) request.
- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
- //
- // Add a group from the organization to the project by creating a project group membership.
- CreateProjectGroupMembershipWithResponse(ctx context.Context, projectId string, groupId openapi_types.UUID, body CreateProjectGroupMembershipJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectGroupMembershipResponse, error)
+ if params.ViewSecretValue != nil {
- // 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)
+ 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)
+ }
+ }
- // 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)
+ if params.ExpandSecretReferences != nil {
- // 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)
+ 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)
+ }
+ }
- // 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)
+ if params.Recursive != nil {
- // 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)
+ 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)
+ }
+ }
- // 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)
+ if params.IncludePersonalOverrides != nil {
- // 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)
+ 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)
+ }
+ }
- // 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)
+ if params.IncludeImports != nil {
- // 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)
+ 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)
+ }
+ }
- // 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)
+ if params.TagSlugs != nil {
- // 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)
+ 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)
+ }
+ }
- // 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)
+ if encoded := queryValues.Encode(); encoded != "" {
+ rawQueryFragments = append(rawQueryFragments, encoded)
+ }
+ queryURL.RawQuery = strings.Join(rawQueryFragments, "&")
+ }
- // 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)
+ req, err := http.NewRequest(http.MethodGet, queryURL.String(), nil)
+ if err != nil {
+ return nil, 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)
+ return req, 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).
- SyncGitHubSecretSyncWithResponse(ctx context.Context, syncId openapi_types.UUID, reqEditors ...RequestEditorFn) (*SyncGitHubSecretSyncResponse, error)
+// 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)
+}
- // GetSamlConfigWithResponse performs a GET /api/v1/sso/config (the `GetSamlConfig` operationId) request.
- //
- // Get SAML config.
- //
- // Returns a wrapper object for the known response body format(s).
- GetSamlConfigWithResponse(ctx context.Context, params *GetSamlConfigParams, reqEditors ...RequestEditorFn) (*GetSamlConfigResponse, error)
+// 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
- // UpdateSamlConfigWithBodyWithResponse performs a PATCH /api/v1/sso/config (the `UpdateSamlConfig` operationId) request,
- // with any type of body and a specified content type.
- //
- // Update SAML config.
- //
- // Returns a wrapper object for the known response body format(s).
- UpdateSamlConfigWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSamlConfigResponse, error)
+ serverURL, err := url.Parse(server)
+ if err != nil {
+ return nil, err
+ }
- // UpdateSamlConfigWithResponse performs a PATCH /api/v1/sso/config (the `UpdateSamlConfig` operationId) request.
- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
- //
- // Update SAML config.
- UpdateSamlConfigWithResponse(ctx context.Context, body UpdateSamlConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSamlConfigResponse, error)
+ operationPath := fmt.Sprintf("/api/v4/secrets/batch")
+ if operationPath[0] == '/' {
+ operationPath = "." + operationPath
+ }
- // CreateSamlConfigWithBodyWithResponse performs a POST /api/v1/sso/config (the `CreateSamlConfig` operationId) request,
- // with any type of body and a specified content type.
- //
- // Create SAML config.
- //
- // Returns a wrapper object for the known response body format(s).
- CreateSamlConfigWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSamlConfigResponse, error)
+ queryURL, err := serverURL.Parse(operationPath)
+ if err != nil {
+ return nil, err
+ }
- // CreateSamlConfigWithResponse performs a POST /api/v1/sso/config (the `CreateSamlConfig` operationId) request.
- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
- //
- // Create SAML config.
- CreateSamlConfigWithResponse(ctx context.Context, body CreateSamlConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSamlConfigResponse, error)
+ req, err := http.NewRequest(http.MethodDelete, queryURL.String(), body)
+ if err != nil {
+ return nil, err
+ }
- // RedirectOrgSSOWithResponse performs a GET /api/v1/sso/redirect/organizations/{orgSlug} (the `RedirectOrgSSO` operationId) request.
- //
- // Returns a wrapper object for the known response body format(s).
- RedirectOrgSSOWithResponse(ctx context.Context, orgSlug string, params *RedirectOrgSSOParams, reqEditors ...RequestEditorFn) (*RedirectOrgSSOResponse, error)
+ req.Header.Add("Content-Type", contentType)
- // RedirectSamlByDomainWithResponse performs a GET /api/v1/sso/redirect/saml2/organizations/domain/{domain} (the `RedirectSamlByDomain` operationId) request.
- //
- // Returns a wrapper object for the known response body format(s).
- RedirectSamlByDomainWithResponse(ctx context.Context, domain string, params *RedirectSamlByDomainParams, reqEditors ...RequestEditorFn) (*RedirectSamlByDomainResponse, error)
+ return req, nil
+}
- // RedirectSamlByOrgSlugWithResponse performs a GET /api/v1/sso/redirect/saml2/organizations/{orgSlug} (the `RedirectSamlByOrgSlug` operationId) request.
- //
- // Returns a wrapper object for the known response body format(s).
- RedirectSamlByOrgSlugWithResponse(ctx context.Context, orgSlug string, params *RedirectSamlByOrgSlugParams, reqEditors ...RequestEditorFn) (*RedirectSamlByOrgSlugResponse, error)
+// 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)
+}
- // RedirectSamlByConfigIdWithResponse performs a GET /api/v1/sso/redirect/saml2/{samlConfigId} (the `RedirectSamlByConfigId` operationId) request.
- //
- // Returns a wrapper object for the known response body format(s).
- RedirectSamlByConfigIdWithResponse(ctx context.Context, samlConfigId string, params *RedirectSamlByConfigIdParams, reqEditors ...RequestEditorFn) (*RedirectSamlByConfigIdResponse, error)
+// 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
- // SamlAcsWithBodyWithResponse performs a POST /api/v1/sso/saml2/{samlConfigId} (the `SamlAcs` operationId) request,
- // with any type of body and a specified content type.
- //
- // Returns a wrapper object for the known response body format(s).
- SamlAcsWithBodyWithResponse(ctx context.Context, samlConfigId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SamlAcsResponse, error)
+ serverURL, err := url.Parse(server)
+ if err != nil {
+ return nil, err
+ }
- // SamlAcsWithFormdataBodyWithResponse performs a POST /api/v1/sso/saml2/{samlConfigId} (the `SamlAcs` operationId) request.
- // Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).
- SamlAcsWithFormdataBodyWithResponse(ctx context.Context, samlConfigId string, body SamlAcsFormdataRequestBody, reqEditors ...RequestEditorFn) (*SamlAcsResponse, 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)
+ operationPath := fmt.Sprintf("/api/v4/secrets/batch")
+ if operationPath[0] == '/' {
+ operationPath = "." + operationPath
+ }
- // 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)
+ queryURL, err := serverURL.Parse(operationPath)
+ if err != nil {
+ return nil, err
+ }
- // ListOrgMembershipsWithResponse performs a GET /api/v2/organizations/{organizationId}/memberships (the `ListOrgMemberships` operationId) request.
- //
- // Return organization user memberships.
- //
- // Returns a wrapper object for the known response body format(s).
- ListOrgMembershipsWithResponse(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*ListOrgMembershipsResponse, error)
+ req, err := http.NewRequest(http.MethodPatch, queryURL.String(), body)
+ if err != nil {
+ return nil, err
+ }
- // GetOrgMembershipWithResponse performs a GET /api/v2/organizations/{organizationId}/memberships/{membershipId} (the `GetOrgMembership` operationId) request.
- //
- // Get organization user membership.
- //
- // Returns a wrapper object for the known response body format(s).
- GetOrgMembershipWithResponse(ctx context.Context, organizationId string, membershipId string, reqEditors ...RequestEditorFn) (*GetOrgMembershipResponse, error)
+ req.Header.Add("Content-Type", contentType)
- // UpdateOrgMembershipWithBodyWithResponse performs a PATCH /api/v2/organizations/{organizationId}/memberships/{membershipId} (the `UpdateOrgMembership` operationId) request,
- // with any type of body and a specified content type.
- //
- // Update organization user memberships.
- //
- // Returns a wrapper object for the known response body format(s).
- UpdateOrgMembershipWithBodyWithResponse(ctx context.Context, organizationId string, membershipId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrgMembershipResponse, error)
+ return req, nil
+}
- // UpdateOrgMembershipWithResponse performs a PATCH /api/v2/organizations/{organizationId}/memberships/{membershipId} (the `UpdateOrgMembership` operationId) request.
- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
- //
- // Update organization user memberships.
- UpdateOrgMembershipWithResponse(ctx context.Context, organizationId string, membershipId string, body UpdateOrgMembershipJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrgMembershipResponse, error)
+// 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)
+}
- // 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)
+// 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
- // 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)
+ serverURL, err := url.Parse(server)
+ if err != nil {
+ return nil, err
+ }
- // 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)
+ operationPath := fmt.Sprintf("/api/v4/secrets/batch")
+ if operationPath[0] == '/' {
+ operationPath = "." + operationPath
+ }
- // 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)
+ queryURL, err := serverURL.Parse(operationPath)
+ if err != nil {
+ return nil, err
+ }
- // 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)
+ req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)
+ if err != nil {
+ return nil, err
+ }
- // 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)
+ req.Header.Add("Content-Type", contentType)
- // 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)
+ return req, nil
+}
- // 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)
+// 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)
+}
- // 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)
+// 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
- // GetCurrentUserWithResponse performs a GET /api/v2/users/me (the `GetCurrentUser` operationId) request.
- //
- // Retrieve the current user on the request.
- //
- // Returns a wrapper object for the known response body format(s).
- GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)
+ serverURL, err := url.Parse(server)
+ if err != nil {
+ return nil, err
+ }
- // CreateProjectRoleWithBodyWithResponse performs a POST /api/v2/workspace/{projectId}/roles (the `CreateProjectRole` operationId) request,
- // with any type of body and a specified content type.
- //
- // Create a project role.
- //
- // Returns a wrapper object for the known response body format(s).
- CreateProjectRoleWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectRoleResponse, error)
+ operationPath := fmt.Sprintf("/api/v4/secrets/duplicate")
+ if operationPath[0] == '/' {
+ operationPath = "." + operationPath
+ }
- // CreateProjectRoleWithResponse performs a POST /api/v2/workspace/{projectId}/roles (the `CreateProjectRole` 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 project role.
- CreateProjectRoleWithResponse(ctx context.Context, projectId string, body CreateProjectRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectRoleResponse, error)
+ queryURL, err := serverURL.Parse(operationPath)
+ if err != nil {
+ return nil, 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)
+ req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)
+ if err != nil {
+ return nil, 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)
+ req.Header.Add("Content-Type", contentType)
- // 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)
+ return req, nil
+}
- // 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)
+// NewGetSecretByIdV4Request constructs an http.Request for the GetSecretByIdV4 method
+func NewGetSecretByIdV4Request(server string, secretId string) (*http.Request, error) {
+ var err 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)
+ var pathParam0 string
- // 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)
+ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "secretId", secretId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})
+ if err != nil {
+ return nil, 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)
+ serverURL, err := url.Parse(server)
+ if err != nil {
+ return nil, 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)
+ operationPath := fmt.Sprintf("/api/v4/secrets/id/%s", pathParam0)
+ if operationPath[0] == '/' {
+ operationPath = "." + operationPath
+ }
- // 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)
+ queryURL, err := serverURL.Parse(operationPath)
+ if err != nil {
+ return nil, 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)
+ req, err := http.NewRequest(http.MethodGet, queryURL.String(), nil)
+ if err != nil {
+ return nil, 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)
+ return req, nil
+}
- // 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)
+// 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)
+}
- // 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)
+// 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
- // 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)
+ serverURL, err := url.Parse(server)
+ if err != nil {
+ return nil, err
+ }
- // 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)
+ operationPath := fmt.Sprintf("/api/v4/secrets/move")
+ if operationPath[0] == '/' {
+ operationPath = "." + operationPath
+ }
- // 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)
+ queryURL, err := serverURL.Parse(operationPath)
+ if err != nil {
+ return nil, err
+ }
- // 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)
+ req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)
+ if err != nil {
+ return nil, err
+ }
- // 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)
+ req.Header.Add("Content-Type", contentType)
- // 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)
+ return req, nil
+}
- // 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)
+// 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)
+}
- // 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)
+// 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
- // 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)
+ var pathParam0 string
- // 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)
+ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "secretName", secretName, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})
+ if err != nil {
+ return nil, 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)
+ serverURL, err := url.Parse(server)
+ if err != nil {
+ return nil, 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)
+ operationPath := fmt.Sprintf("/api/v4/secrets/%s", pathParam0)
+ if operationPath[0] == '/' {
+ operationPath = "." + operationPath
+ }
- // 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)
+ queryURL, err := serverURL.Parse(operationPath)
+ if err != nil {
+ return nil, err
+ }
- // 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)
+ req, err := http.NewRequest(http.MethodDelete, queryURL.String(), body)
+ if err != nil {
+ return nil, 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)
+ req.Header.Add("Content-Type", contentType)
- // 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)
+ return req, nil
+}
- // 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)
+// NewGetSecretByNameV4Request constructs an http.Request for the GetSecretByNameV4 method
+func NewGetSecretByNameV4Request(server string, secretName string, params *GetSecretByNameV4Params) (*http.Request, error) {
+ var err 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)
-}
+ var pathParam0 string
-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"`
+ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "secretName", secretName, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})
+ 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 GetInstanceStatus401JSONResponseBodyStatusCode `json:"statusCode"`
+
+ serverURL, err := url.Parse(server)
+ 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 GetInstanceStatus403JSONResponseBodyStatusCode `json:"statusCode"`
+
+ operationPath := fmt.Sprintf("/api/v4/secrets/%s", pathParam0)
+ if operationPath[0] == '/' {
+ operationPath = "." + operationPath
}
- // 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"`
+
+ queryURL, err := serverURL.Parse(operationPath)
+ 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 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
-}
+ 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
-// 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
-}
+ 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)
+ }
+ }
-// 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
-}
+ if params.Environment != nil {
-// 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
-}
+ 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)
+ }
+ }
-// 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
-}
+ if params.SecretPath != nil {
-// 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
-}
+ 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)
+ }
+ }
-// 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
+ 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, "&")
}
- return http.StatusText(0)
-}
-// StatusCode returns HTTPResponse.StatusCode
-func (r GetInstanceStatusResponse) StatusCode() int {
- if r.HTTPResponse != nil {
- return r.HTTPResponse.StatusCode
+ req, err := http.NewRequest(http.MethodGet, queryURL.String(), nil)
+ if err != nil {
+ return nil, err
}
- return 0
+
+ return req, nil
}
-// 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")
+// 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
}
- return ""
+ bodyReader = bytes.NewReader(buf)
+ return NewUpdateSecretV4RequestWithBody(server, secretName, "application/json", bodyReader)
}
-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"`
+// 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
}
- // 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"`
+
+ serverURL, err := url.Parse(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 AdminBootstrap404JSONResponseBodyStatusCode `json:"statusCode"`
+
+ operationPath := fmt.Sprintf("/api/v4/secrets/%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 AdminBootstrap422JSONResponseBodyStatusCode `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 AdminBootstrap500JSONResponseBodyStatusCode `json:"statusCode"`
+
+ req, err := http.NewRequest(http.MethodPatch, queryURL.String(), body)
+ if err != nil {
+ return nil, 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
-}
+ req.Header.Add("Content-Type", contentType)
-// 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
+ return req, nil
}
-// 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
+// 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)
}
-// 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
-}
+// 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
-// 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
-}
+ var pathParam0 string
-// 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
-}
+ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "secretName", secretName, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})
+ if err != nil {
+ return nil, 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
-}
+ serverURL, err := url.Parse(server)
+ if err != nil {
+ return nil, err
+ }
-// GetBody returns the raw response body bytes
-func (r AdminBootstrapResponse) GetBody() []byte {
- return r.Body
-}
+ operationPath := fmt.Sprintf("/api/v4/secrets/%s", pathParam0)
+ if operationPath[0] == '/' {
+ operationPath = "." + operationPath
+ }
-// Status returns HTTPResponse.Status
-func (r AdminBootstrapResponse) Status() string {
- if r.HTTPResponse != nil {
- return r.HTTPResponse.Status
+ queryURL, err := serverURL.Parse(operationPath)
+ if err != nil {
+ return nil, err
}
- return http.StatusText(0)
-}
-// StatusCode returns HTTPResponse.StatusCode
-func (r AdminBootstrapResponse) StatusCode() int {
- if r.HTTPResponse != nil {
- return r.HTTPResponse.StatusCode
+ req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)
+ if err != nil {
+ return nil, err
}
- return 0
+
+ req.Header.Add("Content-Type", contentType)
+
+ return req, nil
}
-// 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")
+// 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
}
- 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"`
+ serverURL, err := url.Parse(server)
+ 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 UpdateAdminConfig400JSONResponseBodyStatusCode `json:"statusCode"`
+
+ operationPath := fmt.Sprintf("/api/v4/secrets/%s/reference-dependency-tree", pathParam0)
+ 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 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
-}
+ queryURL, err := serverURL.Parse(operationPath)
+ if err != nil {
+ return nil, 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
-}
+ 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
-// 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
-}
+ 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)
+ }
+ }
-// 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
-}
+ 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)
+ }
+ }
-// 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
-}
+ if params.SecretPath != nil {
-// 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
-}
+ 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)
+ }
+ }
-// 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
+ if encoded := queryValues.Encode(); encoded != "" {
+ rawQueryFragments = append(rawQueryFragments, encoded)
+ }
+ queryURL.RawQuery = strings.Join(rawQueryFragments, "&")
}
- return http.StatusText(0)
-}
-// StatusCode returns HTTPResponse.StatusCode
-func (r UpdateAdminConfigResponse) StatusCode() int {
- if r.HTTPResponse != nil {
- return r.HTTPResponse.StatusCode
+ req, err := http.NewRequest(http.MethodGet, queryURL.String(), nil)
+ 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 UpdateAdminConfigResponse) ContentType() string {
- if r.HTTPResponse != nil {
- return r.HTTPResponse.Header.Get("Content-Type")
- }
- return ""
+ return req, nil
}
-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"`
+// 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
}
- // 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"`
+
+ serverURL, err := url.Parse(server)
+ if err != nil {
+ return nil, 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
-}
+ operationPath := fmt.Sprintf("/api/v4/secrets/%s/secret-reference-tree", pathParam0)
+ if operationPath[0] == '/' {
+ operationPath = "." + operationPath
+ }
-// 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
-}
+ queryURL, err := serverURL.Parse(operationPath)
+ if err != nil {
+ return nil, 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
-}
+ 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
-// 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
-}
+ 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)
+ }
+ }
-// 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
-}
+ 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)
+ }
+ }
-// 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
-}
+ if params.SecretPath != nil {
-// 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
-}
+ 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)
+ }
+ }
-// 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
+ if encoded := queryValues.Encode(); encoded != "" {
+ rawQueryFragments = append(rawQueryFragments, encoded)
+ }
+ queryURL.RawQuery = strings.Join(rawQueryFragments, "&")
}
- return http.StatusText(0)
-}
-// StatusCode returns HTTPResponse.StatusCode
-func (r CreateGitHubAppConnectionResponse) StatusCode() int {
- if r.HTTPResponse != nil {
- return r.HTTPResponse.StatusCode
+ req, err := http.NewRequest(http.MethodGet, queryURL.String(), nil)
+ 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 CreateGitHubAppConnectionResponse) ContentType() string {
- if r.HTTPResponse != nil {
- return r.HTTPResponse.Header.Get("Content-Type")
- }
- return ""
+ return req, nil
}
-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"`
+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
+ }
}
- // 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"`
+ for _, r := range additionalEditors {
+ if err := r(ctx, req); err != nil {
+ return err
+ }
}
+ return nil
}
-// GetJSON200 returns the response for an HTTP 200 `application/json` response
-func (r DeleteGitHubAppConnectionResponse) GetJSON200() *struct {
- AppConnection DeleteGitHubAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`
-} {
- return r.JSON200
+// ClientWithResponses builds on ClientInterface to offer response payloads
+type ClientWithResponses struct {
+ ClientInterface
}
-// 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
+// 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
}
-// 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
+// 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
+ }
}
-// 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
-}
+// ClientWithResponsesInterface is the interface specification for the client with responses above.
+type ClientWithResponsesInterface interface {
-// 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"`
-} {
+ // 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)
+
++ // ListProjectSecretsDetailsWithResponse performs a GET /api/v1/dashboard/secrets-details (the `ListProjectSecretsDetails` operationId) request.
++ //
++ // List project secrets details.
++ //
++ // Returns a wrapper object for the known response body format(s).
++ ListProjectSecretsDetailsWithResponse(ctx context.Context, params *ListProjectSecretsDetailsParams, reqEditors ...RequestEditorFn) (*ListProjectSecretsDetailsResponse, error)
++
+ // ListEmailDomainsWithResponse performs a GET /api/v1/email-domains (the `ListEmailDomains` operationId) request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ ListEmailDomainsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListEmailDomainsResponse, error)
+
+ // CreateEmailDomainWithBodyWithResponse performs a POST /api/v1/email-domains (the `CreateEmailDomain` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ CreateEmailDomainWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEmailDomainResponse, error)
+
+ // CreateEmailDomainWithResponse performs a POST /api/v1/email-domains (the `CreateEmailDomain` operationId) request.
+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
+ CreateEmailDomainWithResponse(ctx context.Context, body CreateEmailDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEmailDomainResponse, error)
+
+ // VerifyEmailDomainWithResponse performs a POST /api/v1/email-domains/{emailDomainId}/verify (the `VerifyEmailDomain` operationId) request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ VerifyEmailDomainWithResponse(ctx context.Context, emailDomainId openapi_types.UUID, reqEditors ...RequestEditorFn) (*VerifyEmailDomainResponse, error)
+
+ // CreateGroupWithBodyWithResponse performs a POST /api/v1/groups (the `CreateGroup` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ CreateGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)
+
+ // CreateGroupWithResponse performs a POST /api/v1/groups (the `CreateGroup` operationId) request.
+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
+ CreateGroupWithResponse(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)
+
+ // RemoveUserFromGroupWithResponse performs a DELETE /api/v1/groups/{id}/users/{username} (the `RemoveUserFromGroup` operationId) request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ RemoveUserFromGroupWithResponse(ctx context.Context, id string, username string, reqEditors ...RequestEditorFn) (*RemoveUserFromGroupResponse, error)
+
+ // AddUserToGroupWithResponse performs a POST /api/v1/groups/{id}/users/{username} (the `AddUserToGroup` operationId) request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ AddUserToGroupWithResponse(ctx context.Context, id string, username string, reqEditors ...RequestEditorFn) (*AddUserToGroupResponse, 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)
+
+ // GetOrganizationByIdWithResponse performs a GET /api/v1/organization/{organizationId} (the `GetOrganizationById` operationId) request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ GetOrganizationByIdWithResponse(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*GetOrganizationByIdResponse, 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)
+
+ // CreateProjectGroupMembershipWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/memberships/groups/{groupId} (the `CreateProjectGroupMembership` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Add a group from the organization to the project by creating a project group membership.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ CreateProjectGroupMembershipWithBodyWithResponse(ctx context.Context, projectId string, groupId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectGroupMembershipResponse, error)
+
+ // CreateProjectGroupMembershipWithResponse performs a POST /api/v1/projects/{projectId}/memberships/groups/{groupId} (the `CreateProjectGroupMembership` operationId) request.
+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
+ //
+ // Add a group from the organization to the project by creating a project group membership.
+ CreateProjectGroupMembershipWithResponse(ctx context.Context, projectId string, groupId openapi_types.UUID, body CreateProjectGroupMembershipJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectGroupMembershipResponse, 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)
+
+ // ListScimGroupsWithResponse performs a GET /api/v1/scim/Groups (the `ListScimGroups` operationId) request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ ListScimGroupsWithResponse(ctx context.Context, params *ListScimGroupsParams, reqEditors ...RequestEditorFn) (*ListScimGroupsResponse, error)
+
+ // CreateScimGroupWithBodyWithResponse performs a POST /api/v1/scim/Groups (the `CreateScimGroup` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ CreateScimGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateScimGroupResponse, error)
+
+ // CreateScimGroupWithResponse performs a POST /api/v1/scim/Groups (the `CreateScimGroup` operationId) request.
+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
+ CreateScimGroupWithResponse(ctx context.Context, body CreateScimGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateScimGroupResponse, error)
+
+ // DeleteScimGroupWithResponse performs a DELETE /api/v1/scim/Groups/{groupId} (the `DeleteScimGroup` operationId) request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ DeleteScimGroupWithResponse(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*DeleteScimGroupResponse, error)
+
+ // GetScimGroupWithResponse performs a GET /api/v1/scim/Groups/{groupId} (the `GetScimGroup` operationId) request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ GetScimGroupWithResponse(ctx context.Context, groupId string, params *GetScimGroupParams, reqEditors ...RequestEditorFn) (*GetScimGroupResponse, error)
+
+ // PatchScimGroupWithBodyWithResponse performs a PATCH /api/v1/scim/Groups/{groupId} (the `PatchScimGroup` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ PatchScimGroupWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchScimGroupResponse, error)
+
+ // PatchScimGroupWithResponse performs a PATCH /api/v1/scim/Groups/{groupId} (the `PatchScimGroup` operationId) request.
+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
+ PatchScimGroupWithResponse(ctx context.Context, groupId string, body PatchScimGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchScimGroupResponse, error)
+
+ // ReplaceScimGroupWithBodyWithResponse performs a PUT /api/v1/scim/Groups/{groupId} (the `ReplaceScimGroup` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ ReplaceScimGroupWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceScimGroupResponse, error)
+
+ // ReplaceScimGroupWithResponse performs a PUT /api/v1/scim/Groups/{groupId} (the `ReplaceScimGroup` operationId) request.
+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
+ ReplaceScimGroupWithResponse(ctx context.Context, groupId string, body ReplaceScimGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceScimGroupResponse, error)
+
+ // GetScimServiceProviderConfigWithResponse performs a GET /api/v1/scim/ServiceProviderConfig (the `GetScimServiceProviderConfig` operationId) request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ GetScimServiceProviderConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetScimServiceProviderConfigResponse, error)
+
+ // ListScimUsersWithResponse performs a GET /api/v1/scim/Users (the `ListScimUsers` operationId) request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ ListScimUsersWithResponse(ctx context.Context, params *ListScimUsersParams, reqEditors ...RequestEditorFn) (*ListScimUsersResponse, error)
+
+ // CreateScimUserWithBodyWithResponse performs a POST /api/v1/scim/Users (the `CreateScimUser` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ CreateScimUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateScimUserResponse, error)
+
+ // CreateScimUserWithResponse performs a POST /api/v1/scim/Users (the `CreateScimUser` operationId) request.
+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
+ CreateScimUserWithResponse(ctx context.Context, body CreateScimUserJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateScimUserResponse, error)
+
+ // DeleteScimUserWithResponse performs a DELETE /api/v1/scim/Users/{orgMembershipId} (the `DeleteScimUser` operationId) request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ DeleteScimUserWithResponse(ctx context.Context, orgMembershipId string, reqEditors ...RequestEditorFn) (*DeleteScimUserResponse, error)
+
+ // GetScimUserWithResponse performs a GET /api/v1/scim/Users/{orgMembershipId} (the `GetScimUser` operationId) request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ GetScimUserWithResponse(ctx context.Context, orgMembershipId string, reqEditors ...RequestEditorFn) (*GetScimUserResponse, error)
+
+ // PatchScimUserWithBodyWithResponse performs a PATCH /api/v1/scim/Users/{orgMembershipId} (the `PatchScimUser` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ PatchScimUserWithBodyWithResponse(ctx context.Context, orgMembershipId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchScimUserResponse, error)
+
+ // PatchScimUserWithResponse performs a PATCH /api/v1/scim/Users/{orgMembershipId} (the `PatchScimUser` operationId) request.
+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
+ PatchScimUserWithResponse(ctx context.Context, orgMembershipId string, body PatchScimUserJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchScimUserResponse, error)
+
+ // ReplaceScimUserWithBodyWithResponse performs a PUT /api/v1/scim/Users/{orgMembershipId} (the `ReplaceScimUser` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ ReplaceScimUserWithBodyWithResponse(ctx context.Context, orgMembershipId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceScimUserResponse, error)
+
+ // ReplaceScimUserWithResponse performs a PUT /api/v1/scim/Users/{orgMembershipId} (the `ReplaceScimUser` operationId) request.
+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
+ ReplaceScimUserWithResponse(ctx context.Context, orgMembershipId string, body ReplaceScimUserJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceScimUserResponse, error)
+
+ // ListExternalGroupOrgRoleMappingsWithResponse performs a GET /api/v1/scim/group-org-role-mappings (the `ListExternalGroupOrgRoleMappings` operationId) request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ ListExternalGroupOrgRoleMappingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListExternalGroupOrgRoleMappingsResponse, error)
+
+ // UpdateExternalGroupOrgRoleMappingsWithBodyWithResponse performs a PUT /api/v1/scim/group-org-role-mappings (the `UpdateExternalGroupOrgRoleMappings` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ UpdateExternalGroupOrgRoleMappingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateExternalGroupOrgRoleMappingsResponse, error)
+
+ // UpdateExternalGroupOrgRoleMappingsWithResponse performs a PUT /api/v1/scim/group-org-role-mappings (the `UpdateExternalGroupOrgRoleMappings` operationId) request.
+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
+ UpdateExternalGroupOrgRoleMappingsWithResponse(ctx context.Context, body UpdateExternalGroupOrgRoleMappingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateExternalGroupOrgRoleMappingsResponse, error)
+
+ // ListScimEventsWithResponse performs a GET /api/v1/scim/scim-events (the `ListScimEvents` operationId) request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ ListScimEventsWithResponse(ctx context.Context, params *ListScimEventsParams, reqEditors ...RequestEditorFn) (*ListScimEventsResponse, error)
+
+ // ListScimTokensWithResponse performs a GET /api/v1/scim/scim-tokens (the `ListScimTokens` operationId) request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ ListScimTokensWithResponse(ctx context.Context, params *ListScimTokensParams, reqEditors ...RequestEditorFn) (*ListScimTokensResponse, error)
+
+ // CreateScimTokenWithBodyWithResponse performs a POST /api/v1/scim/scim-tokens (the `CreateScimToken` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ CreateScimTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateScimTokenResponse, error)
+
+ // CreateScimTokenWithResponse performs a POST /api/v1/scim/scim-tokens (the `CreateScimToken` operationId) request.
+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
+ CreateScimTokenWithResponse(ctx context.Context, body CreateScimTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateScimTokenResponse, error)
+
+ // DeleteScimTokenWithResponse performs a DELETE /api/v1/scim/scim-tokens/{scimTokenId} (the `DeleteScimToken` operationId) request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ DeleteScimTokenWithResponse(ctx context.Context, scimTokenId string, reqEditors ...RequestEditorFn) (*DeleteScimTokenResponse, 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)
+
+ // GetSamlConfigWithResponse performs a GET /api/v1/sso/config (the `GetSamlConfig` operationId) request.
+ //
+ // Get SAML config.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ GetSamlConfigWithResponse(ctx context.Context, params *GetSamlConfigParams, reqEditors ...RequestEditorFn) (*GetSamlConfigResponse, error)
+
+ // UpdateSamlConfigWithBodyWithResponse performs a PATCH /api/v1/sso/config (the `UpdateSamlConfig` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Update SAML config.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ UpdateSamlConfigWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSamlConfigResponse, error)
+
+ // UpdateSamlConfigWithResponse performs a PATCH /api/v1/sso/config (the `UpdateSamlConfig` operationId) request.
+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
+ //
+ // Update SAML config.
+ UpdateSamlConfigWithResponse(ctx context.Context, body UpdateSamlConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSamlConfigResponse, error)
+
+ // CreateSamlConfigWithBodyWithResponse performs a POST /api/v1/sso/config (the `CreateSamlConfig` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Create SAML config.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ CreateSamlConfigWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSamlConfigResponse, error)
+
+ // CreateSamlConfigWithResponse performs a POST /api/v1/sso/config (the `CreateSamlConfig` operationId) request.
+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
+ //
+ // Create SAML config.
+ CreateSamlConfigWithResponse(ctx context.Context, body CreateSamlConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSamlConfigResponse, error)
+
+ // OidcCallbackWithResponse performs a GET /api/v1/sso/oidc/callback (the `OidcCallback` operationId) request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ OidcCallbackWithResponse(ctx context.Context, params *OidcCallbackParams, reqEditors ...RequestEditorFn) (*OidcCallbackResponse, error)
+
+ // GetOidcConfigWithResponse performs a GET /api/v1/sso/oidc/config (the `GetOidcConfig` operationId) request.
+ //
+ // Get OIDC config.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ GetOidcConfigWithResponse(ctx context.Context, params *GetOidcConfigParams, reqEditors ...RequestEditorFn) (*GetOidcConfigResponse, error)
+
+ // UpdateOidcConfigWithBodyWithResponse performs a PATCH /api/v1/sso/oidc/config (the `UpdateOidcConfig` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Update OIDC config.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ UpdateOidcConfigWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOidcConfigResponse, error)
+
+ // UpdateOidcConfigWithResponse performs a PATCH /api/v1/sso/oidc/config (the `UpdateOidcConfig` operationId) request.
+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
+ //
+ // Update OIDC config.
+ UpdateOidcConfigWithResponse(ctx context.Context, body UpdateOidcConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOidcConfigResponse, error)
+
+ // CreateOidcConfigWithBodyWithResponse performs a POST /api/v1/sso/oidc/config (the `CreateOidcConfig` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Create OIDC config.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ CreateOidcConfigWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOidcConfigResponse, error)
+
+ // CreateOidcConfigWithResponse performs a POST /api/v1/sso/oidc/config (the `CreateOidcConfig` operationId) request.
+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
+ //
+ // Create OIDC config.
+ CreateOidcConfigWithResponse(ctx context.Context, body CreateOidcConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOidcConfigResponse, error)
+
+ // RedirectOidcLoginWithResponse performs a GET /api/v1/sso/oidc/login (the `RedirectOidcLogin` operationId) request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ RedirectOidcLoginWithResponse(ctx context.Context, params *RedirectOidcLoginParams, reqEditors ...RequestEditorFn) (*RedirectOidcLoginResponse, error)
+
+ // RedirectOrgSSOWithResponse performs a GET /api/v1/sso/redirect/organizations/{orgSlug} (the `RedirectOrgSSO` operationId) request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ RedirectOrgSSOWithResponse(ctx context.Context, orgSlug string, params *RedirectOrgSSOParams, reqEditors ...RequestEditorFn) (*RedirectOrgSSOResponse, error)
+
+ // RedirectSamlByDomainWithResponse performs a GET /api/v1/sso/redirect/saml2/organizations/domain/{domain} (the `RedirectSamlByDomain` operationId) request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ RedirectSamlByDomainWithResponse(ctx context.Context, domain string, params *RedirectSamlByDomainParams, reqEditors ...RequestEditorFn) (*RedirectSamlByDomainResponse, error)
+
+ // RedirectSamlByOrgSlugWithResponse performs a GET /api/v1/sso/redirect/saml2/organizations/{orgSlug} (the `RedirectSamlByOrgSlug` operationId) request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ RedirectSamlByOrgSlugWithResponse(ctx context.Context, orgSlug string, params *RedirectSamlByOrgSlugParams, reqEditors ...RequestEditorFn) (*RedirectSamlByOrgSlugResponse, error)
+
+ // RedirectSamlByConfigIdWithResponse performs a GET /api/v1/sso/redirect/saml2/{samlConfigId} (the `RedirectSamlByConfigId` operationId) request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ RedirectSamlByConfigIdWithResponse(ctx context.Context, samlConfigId string, params *RedirectSamlByConfigIdParams, reqEditors ...RequestEditorFn) (*RedirectSamlByConfigIdResponse, error)
+
+ // SamlAcsWithBodyWithResponse performs a POST /api/v1/sso/saml2/{samlConfigId} (the `SamlAcs` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ SamlAcsWithBodyWithResponse(ctx context.Context, samlConfigId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SamlAcsResponse, error)
+
+ // SamlAcsWithFormdataBodyWithResponse performs a POST /api/v1/sso/saml2/{samlConfigId} (the `SamlAcs` operationId) request.
+ // Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).
+ SamlAcsWithFormdataBodyWithResponse(ctx context.Context, samlConfigId string, body SamlAcsFormdataRequestBody, reqEditors ...RequestEditorFn) (*SamlAcsResponse, 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)
+
+ // ListOrgMembershipsWithResponse performs a GET /api/v2/organizations/{organizationId}/memberships (the `ListOrgMemberships` operationId) request.
+ //
+ // Return organization user memberships.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ ListOrgMembershipsWithResponse(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*ListOrgMembershipsResponse, error)
+
+ // GetOrgMembershipWithResponse performs a GET /api/v2/organizations/{organizationId}/memberships/{membershipId} (the `GetOrgMembership` operationId) request.
+ //
+ // Get organization user membership.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ GetOrgMembershipWithResponse(ctx context.Context, organizationId string, membershipId string, reqEditors ...RequestEditorFn) (*GetOrgMembershipResponse, error)
+
+ // UpdateOrgMembershipWithBodyWithResponse performs a PATCH /api/v2/organizations/{organizationId}/memberships/{membershipId} (the `UpdateOrgMembership` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Update organization user memberships.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ UpdateOrgMembershipWithBodyWithResponse(ctx context.Context, organizationId string, membershipId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrgMembershipResponse, error)
+
+ // UpdateOrgMembershipWithResponse performs a PATCH /api/v2/organizations/{organizationId}/memberships/{membershipId} (the `UpdateOrgMembership` operationId) request.
+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
+ //
+ // Update organization user memberships.
+ UpdateOrgMembershipWithResponse(ctx context.Context, organizationId string, membershipId string, body UpdateOrgMembershipJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrgMembershipResponse, 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)
+
+ // GetCurrentUserWithResponse performs a GET /api/v2/users/me (the `GetCurrentUser` operationId) request.
+ //
+ // Retrieve the current user on the request.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)
+
+ // RequestEmailChangeOtpWithBodyWithResponse performs a POST /api/v2/users/me/email-change/otp (the `RequestEmailChangeOtp` operationId) request,
+ // with any type of body and a specified content type.
+ //
+ // Returns a wrapper object for the known response body format(s).
+ RequestEmailChangeOtpWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestEmailChangeOtpResponse, error)
+
+ // RequestEmailChangeOtpWithResponse performs a POST /api/v2/users/me/email-change/otp (the `RequestEmailChangeOtp` operationId) request.
+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
+ RequestEmailChangeOtpWithResponse(ctx context.Context, body RequestEmailChangeOtpJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestEmailChangeOtpResponse, error)
+
++ // CreateProjectRoleWithBodyWithResponse performs a POST /api/v2/workspace/{projectId}/roles (the `CreateProjectRole` operationId) request,
++ // with any type of body and a specified content type.
++ //
++ // Create a project role.
++ //
++ // Returns a wrapper object for the known response body format(s).
++ CreateProjectRoleWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectRoleResponse, error)
++
++ // CreateProjectRoleWithResponse performs a POST /api/v2/workspace/{projectId}/roles (the `CreateProjectRole` 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 project role.
++ CreateProjectRoleWithResponse(ctx context.Context, projectId string, body CreateProjectRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectRoleResponse, 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"`
++ AllowedStorageHostnames *[]string `json:"allowedStorageHostnames,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"`
++ Pkcs12PasswordPolicy 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:"pkcs12PasswordPolicy"`
+ 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"`
++ AllowedStorageHostnames *[]string `json:"allowedStorageHostnames,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"`
++ Pkcs12PasswordPolicy 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:"pkcs12PasswordPolicy"`
+ 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 ListProjectSecretsDetailsResponse struct {
++ Body []byte
++ HTTPResponse *http.Response
++ // JSON200 the response for an HTTP 200 `application/json` response
++ JSON200 *struct {
++ DynamicSecrets *[]struct {
++ CreatedAt time.Time `json:"createdAt"`
++ DefaultTTL string `json:"defaultTTL"`
++ FolderId openapi_types.UUID `json:"folderId"`
++ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`
++ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`
++ GatewayV2Id *openapi_types.UUID `json:"gatewayV2Id,omitempty"`
++ Id openapi_types.UUID `json:"id"`
++ MaxTTL *string `json:"maxTTL,omitempty"`
++ Metadata *[]struct {
++ Key string `json:"key"`
++ Value *string `json:"value,omitempty"`
++ } `json:"metadata,omitempty"`
++ Name string `json:"name"`
++ ProjectGatewayId *openapi_types.UUID `json:"projectGatewayId,omitempty"`
++ Status *string `json:"status,omitempty"`
++ StatusDetails *string `json:"statusDetails,omitempty"`
++ Type string `json:"type"`
++ UpdatedAt time.Time `json:"updatedAt"`
++ UsernameTemplate *string `json:"usernameTemplate,omitempty"`
++ Version float32 `json:"version"`
++ } `json:"dynamicSecrets,omitempty"`
++ Folders *[]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"`
++ UpdatedAt time.Time `json:"updatedAt"`
++ Version *float32 `json:"version,omitempty"`
++ } `json:"folders,omitempty"`
++ HoneyTokens *[]struct {
++ CreatedAt time.Time `json:"createdAt"`
++ Description *string `json:"description,omitempty"`
++ Environment struct {
++ Id string `json:"id"`
++ Name string `json:"name"`
++ Slug string `json:"slug"`
++ } `json:"environment"`
++ Folder struct {
++ Path string `json:"path"`
++ } `json:"folder"`
++ FolderId openapi_types.UUID `json:"folderId"`
++ Id openapi_types.UUID `json:"id"`
++ Name string `json:"name"`
++ ProjectId string `json:"projectId"`
++ SecretsMapping interface{} `json:"secretsMapping,omitempty"`
++ Status *string `json:"status,omitempty"`
++ Type string `json:"type"`
++ UpdatedAt time.Time `json:"updatedAt"`
++ } `json:"honeyTokens,omitempty"`
++ ImportedBy *[]struct {
++ Environment struct {
++ Name string `json:"name"`
++ Slug string `json:"slug"`
++ } `json:"environment"`
++ Folders []struct {
++ IsImported bool `json:"isImported"`
++ Name string `json:"name"`
++ Secrets *[]struct {
++ ReferencedSecretEnv string `json:"referencedSecretEnv"`
++ ReferencedSecretKey string `json:"referencedSecretKey"`
++ SecretId string `json:"secretId"`
++ } `json:"secrets,omitempty"`
++ } `json:"folders"`
++ Project *struct {
++ Id string `json:"id"`
++ Name string `json:"name"`
++ Slug string `json:"slug"`
++ } `json:"project,omitempty"`
++ } `json:"importedBy,omitempty"`
++ Imports *[]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"`
++ ProjectId *string `json:"projectId,omitempty"`
++ Slug string `json:"slug"`
++ } `json:"importEnv"`
++ ImportPath string `json:"importPath"`
++ IsAccessRevoked bool `json:"isAccessRevoked"`
++ 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"`
++ SourceProjectName *string `json:"sourceProjectName,omitempty"`
++ UpdatedAt time.Time `json:"updatedAt"`
++ Version *float32 `json:"version,omitempty"`
++ } `json:"imports,omitempty"`
++ ProxiedServices *[]struct {
++ CreatedAt time.Time `json:"createdAt"`
++ Credentials []struct {
++ DynamicSecretField *string `json:"dynamicSecretField,omitempty"`
++ DynamicSecretName *string `json:"dynamicSecretName,omitempty"`
++ HeaderName *string `json:"headerName,omitempty"`
++ HeaderPrefix *string `json:"headerPrefix,omitempty"`
++ HeaderPurpose *string `json:"headerPurpose,omitempty"`
++ Id openapi_types.UUID `json:"id"`
++ PlaceholderKey *string `json:"placeholderKey,omitempty"`
++ PlaceholderValue *string `json:"placeholderValue,omitempty"`
++ Role string `json:"role"`
++ SecretKey *string `json:"secretKey,omitempty"`
++ ServiceId openapi_types.UUID `json:"serviceId"`
++ SubstitutionSurfaces *[]string `json:"substitutionSurfaces,omitempty"`
++ } `json:"credentials"`
++ Environment struct {
++ Id string `json:"id"`
++ Name string `json:"name"`
++ Slug string `json:"slug"`
++ } `json:"environment"`
++ Folder struct {
++ Path string `json:"path"`
++ } `json:"folder"`
++ FolderId openapi_types.UUID `json:"folderId"`
++ HostPattern string `json:"hostPattern"`
++ Id openapi_types.UUID `json:"id"`
++ IsEnabled *bool `json:"isEnabled,omitempty"`
++ LastUsedAt *time.Time `json:"lastUsedAt,omitempty"`
++ Name string `json:"name"`
++ UpdatedAt time.Time `json:"updatedAt"`
++ } `json:"proxiedServices,omitempty"`
++ SecretRotations *[]ListProjectSecretsDetails200JSONResponseBody_SecretRotations_Item `json:"secretRotations,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"`
++ IsEmpty bool `json:"isEmpty"`
++ IsHoneyTokenSecret *bool `json:"isHoneyTokenSecret,omitempty"`
++ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`
++ Reminder *struct {
++ CreatedAt time.Time `json:"createdAt"`
++ FromDate *time.Time `json:"fromDate,omitempty"`
++ Id openapi_types.UUID `json:"id"`
++ Message *string `json:"message,omitempty"`
++ NextReminderDate time.Time `json:"nextReminderDate"`
++ Recipients *[]string `json:"recipients,omitempty"`
++ RepeatDays *float32 `json:"repeatDays,omitempty"`
++ SecretId *openapi_types.UUID `json:"secretId,omitempty"`
++ UpdatedAt time.Time `json:"updatedAt"`
++ } `json:"reminder,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"`
++ 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,omitempty"`
++ TotalCount float32 `json:"totalCount"`
++ TotalDynamicSecretCount *float32 `json:"totalDynamicSecretCount,omitempty"`
++ TotalFolderCount *float32 `json:"totalFolderCount,omitempty"`
++ TotalHoneyTokenCount *float32 `json:"totalHoneyTokenCount,omitempty"`
++ TotalImportCount *float32 `json:"totalImportCount,omitempty"`
++ TotalProxiedServiceCount *float32 `json:"totalProxiedServiceCount,omitempty"`
++ TotalSecretCount *float32 `json:"totalSecretCount,omitempty"`
++ TotalSecretRotationCount *float32 `json:"totalSecretRotationCount,omitempty"`
++ UsedBySecretSyncs *[]struct {
++ Destination string `json:"destination"`
++ Environment string `json:"environment"`
++ Id string `json:"id"`
++ Name string `json:"name"`
++ Path string `json:"path"`
++ } `json:"usedBySecretSyncs,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 ListProjectSecretsDetails400JSONResponseBodyStatusCode `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 ListProjectSecretsDetails401JSONResponseBodyStatusCode `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 ListProjectSecretsDetails403JSONResponseBodyStatusCode `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 ListProjectSecretsDetails404JSONResponseBodyStatusCode `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 ListProjectSecretsDetails422JSONResponseBodyStatusCode `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 ListProjectSecretsDetails500JSONResponseBodyStatusCode `json:"statusCode"`
++ }
++}
++
++// GetJSON200 returns the response for an HTTP 200 `application/json` response
++func (r ListProjectSecretsDetailsResponse) GetJSON200() *struct {
++ DynamicSecrets *[]struct {
++ CreatedAt time.Time `json:"createdAt"`
++ DefaultTTL string `json:"defaultTTL"`
++ FolderId openapi_types.UUID `json:"folderId"`
++ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`
++ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`
++ GatewayV2Id *openapi_types.UUID `json:"gatewayV2Id,omitempty"`
++ Id openapi_types.UUID `json:"id"`
++ MaxTTL *string `json:"maxTTL,omitempty"`
++ Metadata *[]struct {
++ Key string `json:"key"`
++ Value *string `json:"value,omitempty"`
++ } `json:"metadata,omitempty"`
++ Name string `json:"name"`
++ ProjectGatewayId *openapi_types.UUID `json:"projectGatewayId,omitempty"`
++ Status *string `json:"status,omitempty"`
++ StatusDetails *string `json:"statusDetails,omitempty"`
++ Type string `json:"type"`
++ UpdatedAt time.Time `json:"updatedAt"`
++ UsernameTemplate *string `json:"usernameTemplate,omitempty"`
++ Version float32 `json:"version"`
++ } `json:"dynamicSecrets,omitempty"`
++ Folders *[]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"`
++ UpdatedAt time.Time `json:"updatedAt"`
++ Version *float32 `json:"version,omitempty"`
++ } `json:"folders,omitempty"`
++ HoneyTokens *[]struct {
++ CreatedAt time.Time `json:"createdAt"`
++ Description *string `json:"description,omitempty"`
++ Environment struct {
++ Id string `json:"id"`
++ Name string `json:"name"`
++ Slug string `json:"slug"`
++ } `json:"environment"`
++ Folder struct {
++ Path string `json:"path"`
++ } `json:"folder"`
++ FolderId openapi_types.UUID `json:"folderId"`
++ Id openapi_types.UUID `json:"id"`
++ Name string `json:"name"`
++ ProjectId string `json:"projectId"`
++ SecretsMapping interface{} `json:"secretsMapping,omitempty"`
++ Status *string `json:"status,omitempty"`
++ Type string `json:"type"`
++ UpdatedAt time.Time `json:"updatedAt"`
++ } `json:"honeyTokens,omitempty"`
++ ImportedBy *[]struct {
++ Environment struct {
++ Name string `json:"name"`
++ Slug string `json:"slug"`
++ } `json:"environment"`
++ Folders []struct {
++ IsImported bool `json:"isImported"`
++ Name string `json:"name"`
++ Secrets *[]struct {
++ ReferencedSecretEnv string `json:"referencedSecretEnv"`
++ ReferencedSecretKey string `json:"referencedSecretKey"`
++ SecretId string `json:"secretId"`
++ } `json:"secrets,omitempty"`
++ } `json:"folders"`
++ Project *struct {
++ Id string `json:"id"`
++ Name string `json:"name"`
++ Slug string `json:"slug"`
++ } `json:"project,omitempty"`
++ } `json:"importedBy,omitempty"`
++ Imports *[]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"`
++ ProjectId *string `json:"projectId,omitempty"`
++ Slug string `json:"slug"`
++ } `json:"importEnv"`
++ ImportPath string `json:"importPath"`
++ IsAccessRevoked bool `json:"isAccessRevoked"`
++ 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"`
++ SourceProjectName *string `json:"sourceProjectName,omitempty"`
++ UpdatedAt time.Time `json:"updatedAt"`
++ Version *float32 `json:"version,omitempty"`
++ } `json:"imports,omitempty"`
++ ProxiedServices *[]struct {
++ CreatedAt time.Time `json:"createdAt"`
++ Credentials []struct {
++ DynamicSecretField *string `json:"dynamicSecretField,omitempty"`
++ DynamicSecretName *string `json:"dynamicSecretName,omitempty"`
++ HeaderName *string `json:"headerName,omitempty"`
++ HeaderPrefix *string `json:"headerPrefix,omitempty"`
++ HeaderPurpose *string `json:"headerPurpose,omitempty"`
++ Id openapi_types.UUID `json:"id"`
++ PlaceholderKey *string `json:"placeholderKey,omitempty"`
++ PlaceholderValue *string `json:"placeholderValue,omitempty"`
++ Role string `json:"role"`
++ SecretKey *string `json:"secretKey,omitempty"`
++ ServiceId openapi_types.UUID `json:"serviceId"`
++ SubstitutionSurfaces *[]string `json:"substitutionSurfaces,omitempty"`
++ } `json:"credentials"`
++ Environment struct {
++ Id string `json:"id"`
++ Name string `json:"name"`
++ Slug string `json:"slug"`
++ } `json:"environment"`
++ Folder struct {
++ Path string `json:"path"`
++ } `json:"folder"`
++ FolderId openapi_types.UUID `json:"folderId"`
++ HostPattern string `json:"hostPattern"`
++ Id openapi_types.UUID `json:"id"`
++ IsEnabled *bool `json:"isEnabled,omitempty"`
++ LastUsedAt *time.Time `json:"lastUsedAt,omitempty"`
++ Name string `json:"name"`
++ UpdatedAt time.Time `json:"updatedAt"`
++ } `json:"proxiedServices,omitempty"`
++ SecretRotations *[]ListProjectSecretsDetails200JSONResponseBody_SecretRotations_Item `json:"secretRotations,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"`
++ IsEmpty bool `json:"isEmpty"`
++ IsHoneyTokenSecret *bool `json:"isHoneyTokenSecret,omitempty"`
++ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`
++ Reminder *struct {
++ CreatedAt time.Time `json:"createdAt"`
++ FromDate *time.Time `json:"fromDate,omitempty"`
++ Id openapi_types.UUID `json:"id"`
++ Message *string `json:"message,omitempty"`
++ NextReminderDate time.Time `json:"nextReminderDate"`
++ Recipients *[]string `json:"recipients,omitempty"`
++ RepeatDays *float32 `json:"repeatDays,omitempty"`
++ SecretId *openapi_types.UUID `json:"secretId,omitempty"`
++ UpdatedAt time.Time `json:"updatedAt"`
++ } `json:"reminder,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"`
++ 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,omitempty"`
++ TotalCount float32 `json:"totalCount"`
++ TotalDynamicSecretCount *float32 `json:"totalDynamicSecretCount,omitempty"`
++ TotalFolderCount *float32 `json:"totalFolderCount,omitempty"`
++ TotalHoneyTokenCount *float32 `json:"totalHoneyTokenCount,omitempty"`
++ TotalImportCount *float32 `json:"totalImportCount,omitempty"`
++ TotalProxiedServiceCount *float32 `json:"totalProxiedServiceCount,omitempty"`
++ TotalSecretCount *float32 `json:"totalSecretCount,omitempty"`
++ TotalSecretRotationCount *float32 `json:"totalSecretRotationCount,omitempty"`
++ UsedBySecretSyncs *[]struct {
++ Destination string `json:"destination"`
++ Environment string `json:"environment"`
++ Id string `json:"id"`
++ Name string `json:"name"`
++ Path string `json:"path"`
++ } `json:"usedBySecretSyncs,omitempty"`
++} {
++ return r.JSON200
++}
++
++// GetJSON400 returns the response for an HTTP 400 `application/json` response
++func (r ListProjectSecretsDetailsResponse) GetJSON400() *struct {
++ Details interface{} `json:"details,omitempty"`
++ Error string `json:"error"`
++ Message string `json:"message"`
++ ReqId string `json:"reqId"`
++ StatusCode ListProjectSecretsDetails400JSONResponseBodyStatusCode `json:"statusCode"`
++} {
++ return r.JSON400
++}
++
++// GetJSON401 returns the response for an HTTP 401 `application/json` response
++func (r ListProjectSecretsDetailsResponse) GetJSON401() *struct {
++ Error string `json:"error"`
++ Message string `json:"message"`
++ ReqId string `json:"reqId"`
++ StatusCode ListProjectSecretsDetails401JSONResponseBodyStatusCode `json:"statusCode"`
++} {
++ return r.JSON401
++}
++
++// GetJSON403 returns the response for an HTTP 403 `application/json` response
++func (r ListProjectSecretsDetailsResponse) GetJSON403() *struct {
++ Details interface{} `json:"details,omitempty"`
++ Error string `json:"error"`
++ Message string `json:"message"`
++ ReqId string `json:"reqId"`
++ StatusCode ListProjectSecretsDetails403JSONResponseBodyStatusCode `json:"statusCode"`
++} {
++ return r.JSON403
++}
++
++// GetJSON404 returns the response for an HTTP 404 `application/json` response
++func (r ListProjectSecretsDetailsResponse) GetJSON404() *struct {
++ Error string `json:"error"`
++ Message string `json:"message"`
++ ReqId string `json:"reqId"`
++ StatusCode ListProjectSecretsDetails404JSONResponseBodyStatusCode `json:"statusCode"`
++} {
++ return r.JSON404
++}
++
++// GetJSON422 returns the response for an HTTP 422 `application/json` response
++func (r ListProjectSecretsDetailsResponse) GetJSON422() *struct {
++ Error string `json:"error"`
++ Message interface{} `json:"message,omitempty"`
++ ReqId string `json:"reqId"`
++ StatusCode ListProjectSecretsDetails422JSONResponseBodyStatusCode `json:"statusCode"`
++} {
++ return r.JSON422
++}
++
++// GetJSON500 returns the response for an HTTP 500 `application/json` response
++func (r ListProjectSecretsDetailsResponse) GetJSON500() *struct {
++ Error string `json:"error"`
++ Message string `json:"message"`
++ ReqId string `json:"reqId"`
++ StatusCode ListProjectSecretsDetails500JSONResponseBodyStatusCode `json:"statusCode"`
++} {
++ return r.JSON500
++}
++
++// GetBody returns the raw response body bytes
++func (r ListProjectSecretsDetailsResponse) GetBody() []byte {
++ return r.Body
++}
++
++// Status returns HTTPResponse.Status
++func (r ListProjectSecretsDetailsResponse) Status() string {
++ if r.HTTPResponse != nil {
++ return r.HTTPResponse.Status
++ }
++ return http.StatusText(0)
++}
++
++// StatusCode returns HTTPResponse.StatusCode
++func (r ListProjectSecretsDetailsResponse) 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 ListProjectSecretsDetailsResponse) ContentType() string {
++ if r.HTTPResponse != nil {
++ return r.HTTPResponse.Header.Get("Content-Type")
++ }
++ return ""
++}
++
+type ListEmailDomainsResponse struct {
+ Body []byte
+ HTTPResponse *http.Response
+ // JSON200 the response for an HTTP 200 `application/json` response
+ JSON200 *struct {
+ EmailDomains []struct {
+ CodeExpiresAt time.Time `json:"codeExpiresAt"`
+ CreatedAt time.Time `json:"createdAt"`
+ Domain string `json:"domain"`
+ Id openapi_types.UUID `json:"id"`
+ OrgId openapi_types.UUID `json:"orgId"`
+ Status *string `json:"status,omitempty"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ VerificationCode string `json:"verificationCode"`
+ VerificationMethod *string `json:"verificationMethod,omitempty"`
+ VerificationRecordName string `json:"verificationRecordName"`
+ VerifiedAt *time.Time `json:"verifiedAt,omitempty"`
+ } `json:"emailDomains"`
+ }
+ // 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 ListEmailDomains400JSONResponseBodyStatusCode `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 ListEmailDomains401JSONResponseBodyStatusCode `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 ListEmailDomains403JSONResponseBodyStatusCode `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 ListEmailDomains404JSONResponseBodyStatusCode `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 ListEmailDomains422JSONResponseBodyStatusCode `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 ListEmailDomains500JSONResponseBodyStatusCode `json:"statusCode"`
+ }
+}
+
+// GetJSON200 returns the response for an HTTP 200 `application/json` response
+func (r ListEmailDomainsResponse) GetJSON200() *struct {
+ EmailDomains []struct {
+ CodeExpiresAt time.Time `json:"codeExpiresAt"`
+ CreatedAt time.Time `json:"createdAt"`
+ Domain string `json:"domain"`
+ Id openapi_types.UUID `json:"id"`
+ OrgId openapi_types.UUID `json:"orgId"`
+ Status *string `json:"status,omitempty"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ VerificationCode string `json:"verificationCode"`
+ VerificationMethod *string `json:"verificationMethod,omitempty"`
+ VerificationRecordName string `json:"verificationRecordName"`
+ VerifiedAt *time.Time `json:"verifiedAt,omitempty"`
+ } `json:"emailDomains"`
+} {
+ return r.JSON200
+}
+
+// GetJSON400 returns the response for an HTTP 400 `application/json` response
+func (r ListEmailDomainsResponse) GetJSON400() *struct {
+ Details interface{} `json:"details,omitempty"`
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode ListEmailDomains400JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON400
+}
+
+// GetJSON401 returns the response for an HTTP 401 `application/json` response
+func (r ListEmailDomainsResponse) GetJSON401() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode ListEmailDomains401JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON401
+}
+
+// GetJSON403 returns the response for an HTTP 403 `application/json` response
+func (r ListEmailDomainsResponse) GetJSON403() *struct {
+ Details interface{} `json:"details,omitempty"`
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode ListEmailDomains403JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON403
+}
+
+// GetJSON404 returns the response for an HTTP 404 `application/json` response
+func (r ListEmailDomainsResponse) GetJSON404() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode ListEmailDomains404JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON404
+}
+
+// GetJSON422 returns the response for an HTTP 422 `application/json` response
+func (r ListEmailDomainsResponse) GetJSON422() *struct {
+ Error string `json:"error"`
+ Message interface{} `json:"message,omitempty"`
+ ReqId string `json:"reqId"`
+ StatusCode ListEmailDomains422JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON422
+}
+
+// GetJSON500 returns the response for an HTTP 500 `application/json` response
+func (r ListEmailDomainsResponse) GetJSON500() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode ListEmailDomains500JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON500
+}
+
+// GetBody returns the raw response body bytes
+func (r ListEmailDomainsResponse) GetBody() []byte {
+ return r.Body
+}
+
+// Status returns HTTPResponse.Status
+func (r ListEmailDomainsResponse) Status() string {
+ if r.HTTPResponse != nil {
+ return r.HTTPResponse.Status
+ }
+ return http.StatusText(0)
+}
+
+// StatusCode returns HTTPResponse.StatusCode
+func (r ListEmailDomainsResponse) 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 ListEmailDomainsResponse) ContentType() string {
+ if r.HTTPResponse != nil {
+ return r.HTTPResponse.Header.Get("Content-Type")
+ }
+ return ""
+}
+
+type CreateEmailDomainResponse struct {
+ Body []byte
+ HTTPResponse *http.Response
+ // JSON200 the response for an HTTP 200 `application/json` response
+ JSON200 *struct {
+ EmailDomain struct {
+ CodeExpiresAt time.Time `json:"codeExpiresAt"`
+ CreatedAt time.Time `json:"createdAt"`
+ Domain string `json:"domain"`
+ Id openapi_types.UUID `json:"id"`
+ OrgId openapi_types.UUID `json:"orgId"`
+ Status *string `json:"status,omitempty"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ VerificationCode string `json:"verificationCode"`
+ VerificationMethod *string `json:"verificationMethod,omitempty"`
+ VerificationRecordName string `json:"verificationRecordName"`
+ VerifiedAt *time.Time `json:"verifiedAt,omitempty"`
+ } `json:"emailDomain"`
+ }
+ // 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 CreateEmailDomain400JSONResponseBodyStatusCode `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 CreateEmailDomain401JSONResponseBodyStatusCode `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 CreateEmailDomain403JSONResponseBodyStatusCode `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 CreateEmailDomain404JSONResponseBodyStatusCode `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 CreateEmailDomain422JSONResponseBodyStatusCode `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 CreateEmailDomain500JSONResponseBodyStatusCode `json:"statusCode"`
+ }
+}
+
+// GetJSON200 returns the response for an HTTP 200 `application/json` response
+func (r CreateEmailDomainResponse) GetJSON200() *struct {
+ EmailDomain struct {
+ CodeExpiresAt time.Time `json:"codeExpiresAt"`
+ CreatedAt time.Time `json:"createdAt"`
+ Domain string `json:"domain"`
+ Id openapi_types.UUID `json:"id"`
+ OrgId openapi_types.UUID `json:"orgId"`
+ Status *string `json:"status,omitempty"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ VerificationCode string `json:"verificationCode"`
+ VerificationMethod *string `json:"verificationMethod,omitempty"`
+ VerificationRecordName string `json:"verificationRecordName"`
+ VerifiedAt *time.Time `json:"verifiedAt,omitempty"`
+ } `json:"emailDomain"`
+} {
+ return r.JSON200
+}
+
+// GetJSON400 returns the response for an HTTP 400 `application/json` response
+func (r CreateEmailDomainResponse) GetJSON400() *struct {
+ Details interface{} `json:"details,omitempty"`
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode CreateEmailDomain400JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON400
+}
+
+// GetJSON401 returns the response for an HTTP 401 `application/json` response
+func (r CreateEmailDomainResponse) GetJSON401() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode CreateEmailDomain401JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON401
+}
+
+// GetJSON403 returns the response for an HTTP 403 `application/json` response
+func (r CreateEmailDomainResponse) GetJSON403() *struct {
+ Details interface{} `json:"details,omitempty"`
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode CreateEmailDomain403JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON403
+}
+
+// GetJSON404 returns the response for an HTTP 404 `application/json` response
+func (r CreateEmailDomainResponse) GetJSON404() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode CreateEmailDomain404JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON404
+}
+
+// GetJSON422 returns the response for an HTTP 422 `application/json` response
+func (r CreateEmailDomainResponse) GetJSON422() *struct {
+ Error string `json:"error"`
+ Message interface{} `json:"message,omitempty"`
+ ReqId string `json:"reqId"`
+ StatusCode CreateEmailDomain422JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON422
+}
+
+// GetJSON500 returns the response for an HTTP 500 `application/json` response
+func (r CreateEmailDomainResponse) GetJSON500() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode CreateEmailDomain500JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON500
+}
+
+// GetBody returns the raw response body bytes
+func (r CreateEmailDomainResponse) GetBody() []byte {
+ return r.Body
+}
+
+// Status returns HTTPResponse.Status
+func (r CreateEmailDomainResponse) Status() string {
+ if r.HTTPResponse != nil {
+ return r.HTTPResponse.Status
+ }
+ return http.StatusText(0)
+}
+
+// StatusCode returns HTTPResponse.StatusCode
+func (r CreateEmailDomainResponse) 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 CreateEmailDomainResponse) ContentType() string {
+ if r.HTTPResponse != nil {
+ return r.HTTPResponse.Header.Get("Content-Type")
+ }
+ return ""
+}
+
+type VerifyEmailDomainResponse struct {
+ Body []byte
+ HTTPResponse *http.Response
+ // JSON200 the response for an HTTP 200 `application/json` response
+ JSON200 *struct {
+ EmailDomain struct {
+ CodeExpiresAt time.Time `json:"codeExpiresAt"`
+ CreatedAt time.Time `json:"createdAt"`
+ Domain string `json:"domain"`
+ Id openapi_types.UUID `json:"id"`
+ OrgId openapi_types.UUID `json:"orgId"`
+ Status *string `json:"status,omitempty"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ VerificationCode string `json:"verificationCode"`
+ VerificationMethod *string `json:"verificationMethod,omitempty"`
+ VerificationRecordName string `json:"verificationRecordName"`
+ VerifiedAt *time.Time `json:"verifiedAt,omitempty"`
+ } `json:"emailDomain"`
+ }
+ // 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 VerifyEmailDomain400JSONResponseBodyStatusCode `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 VerifyEmailDomain401JSONResponseBodyStatusCode `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 VerifyEmailDomain403JSONResponseBodyStatusCode `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 VerifyEmailDomain404JSONResponseBodyStatusCode `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 VerifyEmailDomain422JSONResponseBodyStatusCode `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 VerifyEmailDomain500JSONResponseBodyStatusCode `json:"statusCode"`
+ }
+}
+
+// GetJSON200 returns the response for an HTTP 200 `application/json` response
+func (r VerifyEmailDomainResponse) GetJSON200() *struct {
+ EmailDomain struct {
+ CodeExpiresAt time.Time `json:"codeExpiresAt"`
+ CreatedAt time.Time `json:"createdAt"`
+ Domain string `json:"domain"`
+ Id openapi_types.UUID `json:"id"`
+ OrgId openapi_types.UUID `json:"orgId"`
+ Status *string `json:"status,omitempty"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ VerificationCode string `json:"verificationCode"`
+ VerificationMethod *string `json:"verificationMethod,omitempty"`
+ VerificationRecordName string `json:"verificationRecordName"`
+ VerifiedAt *time.Time `json:"verifiedAt,omitempty"`
+ } `json:"emailDomain"`
+} {
+ return r.JSON200
+}
+
+// GetJSON400 returns the response for an HTTP 400 `application/json` response
+func (r VerifyEmailDomainResponse) GetJSON400() *struct {
+ Details interface{} `json:"details,omitempty"`
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode VerifyEmailDomain400JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON400
+}
+
+// GetJSON401 returns the response for an HTTP 401 `application/json` response
+func (r VerifyEmailDomainResponse) GetJSON401() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode VerifyEmailDomain401JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON401
+}
+
+// GetJSON403 returns the response for an HTTP 403 `application/json` response
+func (r VerifyEmailDomainResponse) GetJSON403() *struct {
+ Details interface{} `json:"details,omitempty"`
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode VerifyEmailDomain403JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON403
+}
+
+// GetJSON404 returns the response for an HTTP 404 `application/json` response
+func (r VerifyEmailDomainResponse) GetJSON404() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode VerifyEmailDomain404JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON404
+}
+
+// GetJSON422 returns the response for an HTTP 422 `application/json` response
+func (r VerifyEmailDomainResponse) GetJSON422() *struct {
+ Error string `json:"error"`
+ Message interface{} `json:"message,omitempty"`
+ ReqId string `json:"reqId"`
+ StatusCode VerifyEmailDomain422JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON422
+}
+
+// GetJSON500 returns the response for an HTTP 500 `application/json` response
+func (r VerifyEmailDomainResponse) GetJSON500() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode VerifyEmailDomain500JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON500
+}
+
+// GetBody returns the raw response body bytes
+func (r VerifyEmailDomainResponse) GetBody() []byte {
+ return r.Body
+}
+
+// Status returns HTTPResponse.Status
+func (r VerifyEmailDomainResponse) Status() string {
+ if r.HTTPResponse != nil {
+ return r.HTTPResponse.Status
+ }
+ return http.StatusText(0)
+}
+
+// StatusCode returns HTTPResponse.StatusCode
+func (r VerifyEmailDomainResponse) 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 VerifyEmailDomainResponse) ContentType() string {
+ if r.HTTPResponse != nil {
+ return r.HTTPResponse.Header.Get("Content-Type")
+ }
+ return ""
+}
+
+type CreateGroupResponse struct {
+ Body []byte
+ HTTPResponse *http.Response
+ // JSON200 the response for an HTTP 200 `application/json` response
+ JSON200 *struct {
+ CreatedAt time.Time `json:"createdAt"`
+ Id openapi_types.UUID `json:"id"`
+ Name string `json:"name"`
+ OrgId openapi_types.UUID `json:"orgId"`
+ Slug string `json:"slug"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ }
+ // 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 CreateGroup400JSONResponseBodyStatusCode `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 CreateGroup401JSONResponseBodyStatusCode `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 CreateGroup403JSONResponseBodyStatusCode `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 CreateGroup404JSONResponseBodyStatusCode `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 CreateGroup422JSONResponseBodyStatusCode `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 CreateGroup500JSONResponseBodyStatusCode `json:"statusCode"`
+ }
+}
+
+// GetJSON200 returns the response for an HTTP 200 `application/json` response
+func (r CreateGroupResponse) GetJSON200() *struct {
+ CreatedAt time.Time `json:"createdAt"`
+ Id openapi_types.UUID `json:"id"`
+ Name string `json:"name"`
+ OrgId openapi_types.UUID `json:"orgId"`
+ Slug string `json:"slug"`
+ UpdatedAt time.Time `json:"updatedAt"`
+} {
+ return r.JSON200
+}
+
+// GetJSON400 returns the response for an HTTP 400 `application/json` response
+func (r CreateGroupResponse) GetJSON400() *struct {
+ Details interface{} `json:"details,omitempty"`
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode CreateGroup400JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON400
+}
+
+// GetJSON401 returns the response for an HTTP 401 `application/json` response
+func (r CreateGroupResponse) GetJSON401() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode CreateGroup401JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON401
+}
+
+// GetJSON403 returns the response for an HTTP 403 `application/json` response
+func (r CreateGroupResponse) GetJSON403() *struct {
+ Details interface{} `json:"details,omitempty"`
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode CreateGroup403JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON403
+}
+
+// GetJSON404 returns the response for an HTTP 404 `application/json` response
+func (r CreateGroupResponse) GetJSON404() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode CreateGroup404JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON404
+}
+
+// GetJSON422 returns the response for an HTTP 422 `application/json` response
+func (r CreateGroupResponse) GetJSON422() *struct {
+ Error string `json:"error"`
+ Message interface{} `json:"message,omitempty"`
+ ReqId string `json:"reqId"`
+ StatusCode CreateGroup422JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON422
+}
+
+// GetJSON500 returns the response for an HTTP 500 `application/json` response
+func (r CreateGroupResponse) GetJSON500() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode CreateGroup500JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON500
+}
+
+// GetBody returns the raw response body bytes
+func (r CreateGroupResponse) GetBody() []byte {
+ return r.Body
+}
+
+// Status returns HTTPResponse.Status
+func (r CreateGroupResponse) Status() string {
+ if r.HTTPResponse != nil {
+ return r.HTTPResponse.Status
+ }
+ return http.StatusText(0)
+}
+
+// StatusCode returns HTTPResponse.StatusCode
+func (r CreateGroupResponse) 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 CreateGroupResponse) ContentType() string {
+ if r.HTTPResponse != nil {
+ return r.HTTPResponse.Header.Get("Content-Type")
+ }
+ return ""
+}
+
+type RemoveUserFromGroupResponse struct {
+ Body []byte
+ HTTPResponse *http.Response
+ // JSON200 the response for an HTTP 200 `application/json` response
+ JSON200 *struct {
+ Email *string `json:"email,omitempty"`
+ FirstName *string `json:"firstName,omitempty"`
+ Id openapi_types.UUID `json:"id"`
+ LastName *string `json:"lastName,omitempty"`
+ Username string `json:"username"`
+ }
+ // 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 RemoveUserFromGroup400JSONResponseBodyStatusCode `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 RemoveUserFromGroup401JSONResponseBodyStatusCode `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 RemoveUserFromGroup403JSONResponseBodyStatusCode `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 RemoveUserFromGroup404JSONResponseBodyStatusCode `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 RemoveUserFromGroup422JSONResponseBodyStatusCode `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 RemoveUserFromGroup500JSONResponseBodyStatusCode `json:"statusCode"`
+ }
+}
+
+// GetJSON200 returns the response for an HTTP 200 `application/json` response
+func (r RemoveUserFromGroupResponse) GetJSON200() *struct {
+ Email *string `json:"email,omitempty"`
+ FirstName *string `json:"firstName,omitempty"`
+ Id openapi_types.UUID `json:"id"`
+ LastName *string `json:"lastName,omitempty"`
+ Username string `json:"username"`
+} {
+ return r.JSON200
+}
+
+// GetJSON400 returns the response for an HTTP 400 `application/json` response
+func (r RemoveUserFromGroupResponse) GetJSON400() *struct {
+ Details interface{} `json:"details,omitempty"`
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode RemoveUserFromGroup400JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON400
+}
+
+// GetJSON401 returns the response for an HTTP 401 `application/json` response
+func (r RemoveUserFromGroupResponse) GetJSON401() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode RemoveUserFromGroup401JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON401
+}
+
+// GetJSON403 returns the response for an HTTP 403 `application/json` response
+func (r RemoveUserFromGroupResponse) GetJSON403() *struct {
+ Details interface{} `json:"details,omitempty"`
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode RemoveUserFromGroup403JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON403
+}
+
+// GetJSON404 returns the response for an HTTP 404 `application/json` response
+func (r RemoveUserFromGroupResponse) GetJSON404() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode RemoveUserFromGroup404JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON404
+}
+
+// GetJSON422 returns the response for an HTTP 422 `application/json` response
+func (r RemoveUserFromGroupResponse) GetJSON422() *struct {
+ Error string `json:"error"`
+ Message interface{} `json:"message,omitempty"`
+ ReqId string `json:"reqId"`
+ StatusCode RemoveUserFromGroup422JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON422
+}
+
+// GetJSON500 returns the response for an HTTP 500 `application/json` response
+func (r RemoveUserFromGroupResponse) GetJSON500() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode RemoveUserFromGroup500JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON500
+}
+
+// GetBody returns the raw response body bytes
+func (r RemoveUserFromGroupResponse) GetBody() []byte {
+ return r.Body
+}
+
+// Status returns HTTPResponse.Status
+func (r RemoveUserFromGroupResponse) Status() string {
+ if r.HTTPResponse != nil {
+ return r.HTTPResponse.Status
+ }
+ return http.StatusText(0)
+}
+
+// StatusCode returns HTTPResponse.StatusCode
+func (r RemoveUserFromGroupResponse) 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 RemoveUserFromGroupResponse) ContentType() string {
+ if r.HTTPResponse != nil {
+ return r.HTTPResponse.Header.Get("Content-Type")
+ }
+ return ""
+}
+
+type AddUserToGroupResponse struct {
+ Body []byte
+ HTTPResponse *http.Response
+ // JSON200 the response for an HTTP 200 `application/json` response
+ JSON200 *struct {
+ Email *string `json:"email,omitempty"`
+ FirstName *string `json:"firstName,omitempty"`
+ Id openapi_types.UUID `json:"id"`
+ LastName *string `json:"lastName,omitempty"`
+ Username string `json:"username"`
+ }
+ // 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 AddUserToGroup400JSONResponseBodyStatusCode `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 AddUserToGroup401JSONResponseBodyStatusCode `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 AddUserToGroup403JSONResponseBodyStatusCode `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 AddUserToGroup404JSONResponseBodyStatusCode `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 AddUserToGroup422JSONResponseBodyStatusCode `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 AddUserToGroup500JSONResponseBodyStatusCode `json:"statusCode"`
+ }
+}
+
+// GetJSON200 returns the response for an HTTP 200 `application/json` response
+func (r AddUserToGroupResponse) GetJSON200() *struct {
+ Email *string `json:"email,omitempty"`
+ FirstName *string `json:"firstName,omitempty"`
+ Id openapi_types.UUID `json:"id"`
+ LastName *string `json:"lastName,omitempty"`
+ Username string `json:"username"`
+} {
+ return r.JSON200
+}
+
+// GetJSON400 returns the response for an HTTP 400 `application/json` response
+func (r AddUserToGroupResponse) GetJSON400() *struct {
+ Details interface{} `json:"details,omitempty"`
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode AddUserToGroup400JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON400
+}
+
+// GetJSON401 returns the response for an HTTP 401 `application/json` response
+func (r AddUserToGroupResponse) GetJSON401() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode AddUserToGroup401JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON401
+}
+
+// GetJSON403 returns the response for an HTTP 403 `application/json` response
+func (r AddUserToGroupResponse) GetJSON403() *struct {
+ Details interface{} `json:"details,omitempty"`
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode AddUserToGroup403JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON403
+}
+
+// GetJSON404 returns the response for an HTTP 404 `application/json` response
+func (r AddUserToGroupResponse) GetJSON404() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode AddUserToGroup404JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON404
+}
+
+// GetJSON422 returns the response for an HTTP 422 `application/json` response
+func (r AddUserToGroupResponse) GetJSON422() *struct {
+ Error string `json:"error"`
+ Message interface{} `json:"message,omitempty"`
+ ReqId string `json:"reqId"`
+ StatusCode AddUserToGroup422JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON422
+}
+
+// GetJSON500 returns the response for an HTTP 500 `application/json` response
+func (r AddUserToGroupResponse) GetJSON500() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode AddUserToGroup500JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON500
+}
+
+// GetBody returns the raw response body bytes
+func (r AddUserToGroupResponse) GetBody() []byte {
+ return r.Body
+}
+
+// Status returns HTTPResponse.Status
+func (r AddUserToGroupResponse) Status() string {
+ if r.HTTPResponse != nil {
+ return r.HTTPResponse.Status
+ }
+ return http.StatusText(0)
+}
+
+// StatusCode returns HTTPResponse.StatusCode
+func (r AddUserToGroupResponse) 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 AddUserToGroupResponse) 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
}
@@@ -35634,62 -34777,13 +41917,63 @@@ type ListSecretApprovalRequestsRespons
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"`
+ 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"`
++ SecretPath string `json:"secretPath"`
+ 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 {
@@@ -35738,63 -34832,14 +42022,64 @@@
}
// 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"`
+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"`
++ SecretPath string `json:"secretPath"`
+ 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
}
@@@ -42167,159 -41228,185 +48452,338 @@@ func (r GetCurrentUserResponse) Content
return ""
}
+type RequestEmailChangeOtpResponse struct {
+ Body []byte
+ HTTPResponse *http.Response
+ // JSON200 the response for an HTTP 200 `application/json` response
+ JSON200 *struct {
+ Message string `json:"message"`
+ Success bool `json:"success"`
+ }
+ // 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 RequestEmailChangeOtp400JSONResponseBodyStatusCode `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 RequestEmailChangeOtp401JSONResponseBodyStatusCode `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 RequestEmailChangeOtp403JSONResponseBodyStatusCode `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 RequestEmailChangeOtp404JSONResponseBodyStatusCode `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 RequestEmailChangeOtp422JSONResponseBodyStatusCode `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 RequestEmailChangeOtp500JSONResponseBodyStatusCode `json:"statusCode"`
+ }
+}
+
+// GetJSON200 returns the response for an HTTP 200 `application/json` response
+func (r RequestEmailChangeOtpResponse) GetJSON200() *struct {
+ Message string `json:"message"`
+ Success bool `json:"success"`
+} {
+ return r.JSON200
+}
+
+// GetJSON400 returns the response for an HTTP 400 `application/json` response
+func (r RequestEmailChangeOtpResponse) GetJSON400() *struct {
+ Details interface{} `json:"details,omitempty"`
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode RequestEmailChangeOtp400JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON400
+}
+
+// GetJSON401 returns the response for an HTTP 401 `application/json` response
+func (r RequestEmailChangeOtpResponse) GetJSON401() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode RequestEmailChangeOtp401JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON401
+}
+
+// GetJSON403 returns the response for an HTTP 403 `application/json` response
+func (r RequestEmailChangeOtpResponse) GetJSON403() *struct {
+ Details interface{} `json:"details,omitempty"`
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode RequestEmailChangeOtp403JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON403
+}
+
+// GetJSON404 returns the response for an HTTP 404 `application/json` response
+func (r RequestEmailChangeOtpResponse) GetJSON404() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode RequestEmailChangeOtp404JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON404
+}
+
+// GetJSON422 returns the response for an HTTP 422 `application/json` response
+func (r RequestEmailChangeOtpResponse) GetJSON422() *struct {
+ Error string `json:"error"`
+ Message interface{} `json:"message,omitempty"`
+ ReqId string `json:"reqId"`
+ StatusCode RequestEmailChangeOtp422JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON422
+}
+
+// GetJSON500 returns the response for an HTTP 500 `application/json` response
+func (r RequestEmailChangeOtpResponse) GetJSON500() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode RequestEmailChangeOtp500JSONResponseBodyStatusCode `json:"statusCode"`
+} {
+ return r.JSON500
+}
+
+// GetBody returns the raw response body bytes
+func (r RequestEmailChangeOtpResponse) GetBody() []byte {
+ return r.Body
+}
+
+// Status returns HTTPResponse.Status
+func (r RequestEmailChangeOtpResponse) Status() string {
+ if r.HTTPResponse != nil {
+ return r.HTTPResponse.Status
+ }
+ return http.StatusText(0)
+}
+
+// StatusCode returns HTTPResponse.StatusCode
+func (r RequestEmailChangeOtpResponse) 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 RequestEmailChangeOtpResponse) ContentType() string {
+ if r.HTTPResponse != nil {
+ return r.HTTPResponse.Header.Get("Content-Type")
+ }
+ return ""
+}
+
+ type CreateProjectRoleResponse struct {
+ Body []byte
+ HTTPResponse *http.Response
+ // JSON200 the response for an HTTP 200 `application/json` response
+ JSON200 *struct {
+ Role struct {
+ CreatedAt time.Time `json:"createdAt"`
+ Description *string `json:"description,omitempty"`
+ Id openapi_types.UUID `json:"id"`
+ Name string `json:"name"`
+ Permissions []struct {
+ Action CreateProjectRole200JSONResponseBody_Role_Permissions_Action `json:"action"`
+ Conditions interface{} `json:"conditions,omitempty"`
+ Inverted *bool `json:"inverted,omitempty"`
+ Subject *CreateProjectRole200JSONResponseBody_Role_Permissions_Subject `json:"subject,omitempty"`
+ } `json:"permissions"`
+ ProjectId string `json:"projectId"`
+ Slug string `json:"slug"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ } `json:"role"`
+ }
+ // 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 CreateProjectRole400JSONResponseBodyStatusCode `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 CreateProjectRole401JSONResponseBodyStatusCode `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 CreateProjectRole403JSONResponseBodyStatusCode `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 CreateProjectRole404JSONResponseBodyStatusCode `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 CreateProjectRole422JSONResponseBodyStatusCode `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 CreateProjectRole500JSONResponseBodyStatusCode `json:"statusCode"`
+ }
+ }
+
+ // GetJSON200 returns the response for an HTTP 200 `application/json` response
+ func (r CreateProjectRoleResponse) GetJSON200() *struct {
+ Role struct {
+ CreatedAt time.Time `json:"createdAt"`
+ Description *string `json:"description,omitempty"`
+ Id openapi_types.UUID `json:"id"`
+ Name string `json:"name"`
+ Permissions []struct {
+ Action CreateProjectRole200JSONResponseBody_Role_Permissions_Action `json:"action"`
+ Conditions interface{} `json:"conditions,omitempty"`
+ Inverted *bool `json:"inverted,omitempty"`
+ Subject *CreateProjectRole200JSONResponseBody_Role_Permissions_Subject `json:"subject,omitempty"`
+ } `json:"permissions"`
+ ProjectId string `json:"projectId"`
+ Slug string `json:"slug"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ } `json:"role"`
+ } {
+ return r.JSON200
+ }
+
+ // GetJSON400 returns the response for an HTTP 400 `application/json` response
+ func (r CreateProjectRoleResponse) GetJSON400() *struct {
+ Details interface{} `json:"details,omitempty"`
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode CreateProjectRole400JSONResponseBodyStatusCode `json:"statusCode"`
+ } {
+ return r.JSON400
+ }
+
+ // GetJSON401 returns the response for an HTTP 401 `application/json` response
+ func (r CreateProjectRoleResponse) GetJSON401() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode CreateProjectRole401JSONResponseBodyStatusCode `json:"statusCode"`
+ } {
+ return r.JSON401
+ }
+
+ // GetJSON403 returns the response for an HTTP 403 `application/json` response
+ func (r CreateProjectRoleResponse) GetJSON403() *struct {
+ Details interface{} `json:"details,omitempty"`
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode CreateProjectRole403JSONResponseBodyStatusCode `json:"statusCode"`
+ } {
+ return r.JSON403
+ }
+
+ // GetJSON404 returns the response for an HTTP 404 `application/json` response
+ func (r CreateProjectRoleResponse) GetJSON404() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode CreateProjectRole404JSONResponseBodyStatusCode `json:"statusCode"`
+ } {
+ return r.JSON404
+ }
+
+ // GetJSON422 returns the response for an HTTP 422 `application/json` response
+ func (r CreateProjectRoleResponse) GetJSON422() *struct {
+ Error string `json:"error"`
+ Message interface{} `json:"message,omitempty"`
+ ReqId string `json:"reqId"`
+ StatusCode CreateProjectRole422JSONResponseBodyStatusCode `json:"statusCode"`
+ } {
+ return r.JSON422
+ }
+
+ // GetJSON500 returns the response for an HTTP 500 `application/json` response
+ func (r CreateProjectRoleResponse) GetJSON500() *struct {
+ Error string `json:"error"`
+ Message string `json:"message"`
+ ReqId string `json:"reqId"`
+ StatusCode CreateProjectRole500JSONResponseBodyStatusCode `json:"statusCode"`
+ } {
+ return r.JSON500
+ }
+
+ // GetBody returns the raw response body bytes
+ func (r CreateProjectRoleResponse) GetBody() []byte {
+ return r.Body
+ }
+
+ // Status returns HTTPResponse.Status
+ func (r CreateProjectRoleResponse) Status() string {
+ if r.HTTPResponse != nil {
+ return r.HTTPResponse.Status
+ }
+ return http.StatusText(0)
+ }
+
+ // StatusCode returns HTTPResponse.StatusCode
+ func (r CreateProjectRoleResponse) 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 CreateProjectRoleResponse) ContentType() string {
+ if r.HTTPResponse != nil {
+ return r.HTTPResponse.Header.Get("Content-Type")
+ }
+ return ""
+ }
+
type LoginV3Response struct {
Body []byte
HTTPResponse *http.Response
@@@ -45409,953 -43854,655 +51873,966 @@@ func (r GetSecretReferenceTreeV4Respons
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"`
+// 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
}
- // 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"`
+ 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
}
- // 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"`
+ 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
}
- // 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"`
+ 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
}
- // 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"`
+ 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
}
- // 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"`
+ 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)
+}
+
++// ListProjectSecretsDetailsWithResponse performs a GET /api/v1/dashboard/secrets-details (the `ListProjectSecretsDetails` operationId) request.
++//
++// List project secrets details.
++//
++// Returns a wrapper object for the known response body format(s).
++func (c *ClientWithResponses) ListProjectSecretsDetailsWithResponse(ctx context.Context, params *ListProjectSecretsDetailsParams, reqEditors ...RequestEditorFn) (*ListProjectSecretsDetailsResponse, error) {
++ rsp, err := c.ListProjectSecretsDetails(ctx, params, reqEditors...)
++ if err != nil {
++ return nil, err
++ }
++ return ParseListProjectSecretsDetailsResponse(rsp)
++}
++
+// ListEmailDomainsWithResponse performs a GET /api/v1/email-domains (the `ListEmailDomains` operationId) request.
+//
+// Returns a wrapper object for the known response body format(s).
+func (c *ClientWithResponses) ListEmailDomainsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListEmailDomainsResponse, error) {
+ rsp, err := c.ListEmailDomains(ctx, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseListEmailDomainsResponse(rsp)
+}
+
+// CreateEmailDomainWithBodyWithResponse performs a POST /api/v1/email-domains (the `CreateEmailDomain` 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) CreateEmailDomainWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEmailDomainResponse, error) {
+ rsp, err := c.CreateEmailDomainWithBody(ctx, contentType, body, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseCreateEmailDomainResponse(rsp)
+}
+
+// CreateEmailDomainWithResponse performs a POST /api/v1/email-domains (the `CreateEmailDomain` 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) CreateEmailDomainWithResponse(ctx context.Context, body CreateEmailDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEmailDomainResponse, error) {
+ rsp, err := c.CreateEmailDomain(ctx, body, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseCreateEmailDomainResponse(rsp)
+}
+
+// VerifyEmailDomainWithResponse performs a POST /api/v1/email-domains/{emailDomainId}/verify (the `VerifyEmailDomain` operationId) request.
+//
+// Returns a wrapper object for the known response body format(s).
+func (c *ClientWithResponses) VerifyEmailDomainWithResponse(ctx context.Context, emailDomainId openapi_types.UUID, reqEditors ...RequestEditorFn) (*VerifyEmailDomainResponse, error) {
+ rsp, err := c.VerifyEmailDomain(ctx, emailDomainId, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseVerifyEmailDomainResponse(rsp)
+}
+
+// CreateGroupWithBodyWithResponse performs a POST /api/v1/groups (the `CreateGroup` 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) CreateGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error) {
+ rsp, err := c.CreateGroupWithBody(ctx, contentType, body, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseCreateGroupResponse(rsp)
+}
+
+// CreateGroupWithResponse performs a POST /api/v1/groups (the `CreateGroup` 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) CreateGroupWithResponse(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error) {
+ rsp, err := c.CreateGroup(ctx, body, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseCreateGroupResponse(rsp)
+}
+
+// RemoveUserFromGroupWithResponse performs a DELETE /api/v1/groups/{id}/users/{username} (the `RemoveUserFromGroup` operationId) request.
+//
+// Returns a wrapper object for the known response body format(s).
+func (c *ClientWithResponses) RemoveUserFromGroupWithResponse(ctx context.Context, id string, username string, reqEditors ...RequestEditorFn) (*RemoveUserFromGroupResponse, error) {
+ rsp, err := c.RemoveUserFromGroup(ctx, id, username, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseRemoveUserFromGroupResponse(rsp)
+}
+
+// AddUserToGroupWithResponse performs a POST /api/v1/groups/{id}/users/{username} (the `AddUserToGroup` operationId) request.
+//
+// Returns a wrapper object for the known response body format(s).
+func (c *ClientWithResponses) AddUserToGroupWithResponse(ctx context.Context, id string, username string, reqEditors ...RequestEditorFn) (*AddUserToGroupResponse, error) {
+ rsp, err := c.AddUserToGroup(ctx, id, username, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseAddUserToGroupResponse(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)
}
-// GetJSON200 returns the response for an HTTP 200 `application/json` response
-func (r UpdateSecretV4Response) GetJSON200() *UpdateSecretV4200JSONResponseBody {
- return r.JSON200
+// 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)
}
-// 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
+// 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)
}
-// 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
+// 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)
}
-// 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
+// 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)
}
-// 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
+// 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)
}
-// 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
+// GetOrganizationByIdWithResponse performs a GET /api/v1/organization/{organizationId} (the `GetOrganizationById` operationId) request.
+//
+// Returns a wrapper object for the known response body format(s).
+func (c *ClientWithResponses) GetOrganizationByIdWithResponse(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*GetOrganizationByIdResponse, error) {
+ rsp, err := c.GetOrganizationById(ctx, organizationId, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseGetOrganizationByIdResponse(rsp)
}
-// 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
+// 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)
}
-// GetBody returns the raw response body bytes
-func (r UpdateSecretV4Response) GetBody() []byte {
- return r.Body
+// 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)
}
-// Status returns HTTPResponse.Status
-func (r UpdateSecretV4Response) Status() string {
- if r.HTTPResponse != nil {
- return r.HTTPResponse.Status
+// 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 http.StatusText(0)
+ return ParseGetOrganizationPlanResponse(rsp)
}
-// StatusCode returns HTTPResponse.StatusCode
-func (r UpdateSecretV4Response) StatusCode() int {
- if r.HTTPResponse != nil {
- return r.HTTPResponse.StatusCode
+// 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 0
+ return ParseCreateProjectFolderGrantResponse(rsp)
}
-// 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")
+// 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 ""
+ return ParseCreateProjectFolderGrantResponse(rsp)
}
-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"`
+// 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)
}
-// GetJSON200 returns the response for an HTTP 200 `application/json` response
-func (r CreateSecretV4Response) GetJSON200() *CreateSecretV4200JSONResponseBody {
- return r.JSON200
+// 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)
}
-// 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
+// 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)
}
-// 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
+// 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)
}
-// 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
+// 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)
}
-// 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
+// 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)
}
-// 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
+// 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)
}
-// 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
+// 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)
}
-// GetBody returns the raw response body bytes
-func (r CreateSecretV4Response) GetBody() []byte {
- return r.Body
+// CreateProjectGroupMembershipWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/memberships/groups/{groupId} (the `CreateProjectGroupMembership` operationId) request,
+// with any type of body and a specified content type.
+//
+// Add a group from the organization to the project by creating a project group membership.
+//
+// Returns a wrapper object for the known response body format(s).
+func (c *ClientWithResponses) CreateProjectGroupMembershipWithBodyWithResponse(ctx context.Context, projectId string, groupId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectGroupMembershipResponse, error) {
+ rsp, err := c.CreateProjectGroupMembershipWithBody(ctx, projectId, groupId, contentType, body, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseCreateProjectGroupMembershipResponse(rsp)
}
-// Status returns HTTPResponse.Status
-func (r CreateSecretV4Response) Status() string {
- if r.HTTPResponse != nil {
- return r.HTTPResponse.Status
+// CreateProjectGroupMembershipWithResponse performs a POST /api/v1/projects/{projectId}/memberships/groups/{groupId} (the `CreateProjectGroupMembership` operationId) request.
+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
+//
+// Add a group from the organization to the project by creating a project group membership.
+func (c *ClientWithResponses) CreateProjectGroupMembershipWithResponse(ctx context.Context, projectId string, groupId openapi_types.UUID, body CreateProjectGroupMembershipJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectGroupMembershipResponse, error) {
+ rsp, err := c.CreateProjectGroupMembership(ctx, projectId, groupId, body, reqEditors...)
+ if err != nil {
+ return nil, err
}
- return http.StatusText(0)
+ return ParseCreateProjectGroupMembershipResponse(rsp)
}
-// StatusCode returns HTTPResponse.StatusCode
-func (r CreateSecretV4Response) StatusCode() int {
- if r.HTTPResponse != nil {
- return r.HTTPResponse.StatusCode
+// 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 0
+ return ParseCreateProjectIdentityMembershipResponse(rsp)
}
-// 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")
+// 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 ""
+ return ParseCreateProjectIdentityMembershipResponse(rsp)
}
-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"`
+// 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
}
- // 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"`
+ 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
}
- // 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"`
+ 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
}
- // 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"`
+ 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)
}
-// 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
+// ListScimGroupsWithResponse performs a GET /api/v1/scim/Groups (the `ListScimGroups` operationId) request.
+//
+// Returns a wrapper object for the known response body format(s).
+func (c *ClientWithResponses) ListScimGroupsWithResponse(ctx context.Context, params *ListScimGroupsParams, reqEditors ...RequestEditorFn) (*ListScimGroupsResponse, error) {
+ rsp, err := c.ListScimGroups(ctx, params, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseListScimGroupsResponse(rsp)
}
-// 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
+// CreateScimGroupWithBodyWithResponse performs a POST /api/v1/scim/Groups (the `CreateScimGroup` 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) CreateScimGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateScimGroupResponse, error) {
+ rsp, err := c.CreateScimGroupWithBody(ctx, contentType, body, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseCreateScimGroupResponse(rsp)
}
-// 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
+// CreateScimGroupWithResponse performs a POST /api/v1/scim/Groups (the `CreateScimGroup` 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) CreateScimGroupWithResponse(ctx context.Context, body CreateScimGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateScimGroupResponse, error) {
+ rsp, err := c.CreateScimGroup(ctx, body, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseCreateScimGroupResponse(rsp)
}
-// 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
+// DeleteScimGroupWithResponse performs a DELETE /api/v1/scim/Groups/{groupId} (the `DeleteScimGroup` operationId) request.
+//
+// Returns a wrapper object for the known response body format(s).
+func (c *ClientWithResponses) DeleteScimGroupWithResponse(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*DeleteScimGroupResponse, error) {
+ rsp, err := c.DeleteScimGroup(ctx, groupId, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseDeleteScimGroupResponse(rsp)
}
-// 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
+// GetScimGroupWithResponse performs a GET /api/v1/scim/Groups/{groupId} (the `GetScimGroup` operationId) request.
+//
+// Returns a wrapper object for the known response body format(s).
+func (c *ClientWithResponses) GetScimGroupWithResponse(ctx context.Context, groupId string, params *GetScimGroupParams, reqEditors ...RequestEditorFn) (*GetScimGroupResponse, error) {
+ rsp, err := c.GetScimGroup(ctx, groupId, params, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseGetScimGroupResponse(rsp)
}
-// 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
+// PatchScimGroupWithBodyWithResponse performs a PATCH /api/v1/scim/Groups/{groupId} (the `PatchScimGroup` 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) PatchScimGroupWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchScimGroupResponse, error) {
+ rsp, err := c.PatchScimGroupWithBody(ctx, groupId, contentType, body, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParsePatchScimGroupResponse(rsp)
}
-// 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
+// PatchScimGroupWithResponse performs a PATCH /api/v1/scim/Groups/{groupId} (the `PatchScimGroup` 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) PatchScimGroupWithResponse(ctx context.Context, groupId string, body PatchScimGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchScimGroupResponse, error) {
+ rsp, err := c.PatchScimGroup(ctx, groupId, body, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParsePatchScimGroupResponse(rsp)
}
-// GetBody returns the raw response body bytes
-func (r GetSecretReferencesV4Response) GetBody() []byte {
- return r.Body
+// ReplaceScimGroupWithBodyWithResponse performs a PUT /api/v1/scim/Groups/{groupId} (the `ReplaceScimGroup` 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) ReplaceScimGroupWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceScimGroupResponse, error) {
+ rsp, err := c.ReplaceScimGroupWithBody(ctx, groupId, contentType, body, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseReplaceScimGroupResponse(rsp)
}
-// Status returns HTTPResponse.Status
-func (r GetSecretReferencesV4Response) Status() string {
- if r.HTTPResponse != nil {
- return r.HTTPResponse.Status
+// ReplaceScimGroupWithResponse performs a PUT /api/v1/scim/Groups/{groupId} (the `ReplaceScimGroup` 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) ReplaceScimGroupWithResponse(ctx context.Context, groupId string, body ReplaceScimGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceScimGroupResponse, error) {
+ rsp, err := c.ReplaceScimGroup(ctx, groupId, body, reqEditors...)
+ if err != nil {
+ return nil, err
}
- return http.StatusText(0)
+ return ParseReplaceScimGroupResponse(rsp)
}
-// StatusCode returns HTTPResponse.StatusCode
-func (r GetSecretReferencesV4Response) StatusCode() int {
- if r.HTTPResponse != nil {
- return r.HTTPResponse.StatusCode
+// GetScimServiceProviderConfigWithResponse performs a GET /api/v1/scim/ServiceProviderConfig (the `GetScimServiceProviderConfig` operationId) request.
+//
+// Returns a wrapper object for the known response body format(s).
+func (c *ClientWithResponses) GetScimServiceProviderConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetScimServiceProviderConfigResponse, error) {
+ rsp, err := c.GetScimServiceProviderConfig(ctx, reqEditors...)
+ if err != nil {
+ return nil, err
}
- return 0
+ return ParseGetScimServiceProviderConfigResponse(rsp)
}
-// 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")
+// ListScimUsersWithResponse performs a GET /api/v1/scim/Users (the `ListScimUsers` operationId) request.
+//
+// Returns a wrapper object for the known response body format(s).
+func (c *ClientWithResponses) ListScimUsersWithResponse(ctx context.Context, params *ListScimUsersParams, reqEditors ...RequestEditorFn) (*ListScimUsersResponse, error) {
+ rsp, err := c.ListScimUsers(ctx, params, reqEditors...)
+ if err != nil {
+ return nil, err
}
- return ""
+ return ParseListScimUsersResponse(rsp)
}
-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"`
+// CreateScimUserWithBodyWithResponse performs a POST /api/v1/scim/Users (the `CreateScimUser` 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) CreateScimUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateScimUserResponse, error) {
+ rsp, err := c.CreateScimUserWithBody(ctx, contentType, body, reqEditors...)
+ 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 GetSecretReferenceTreeV4400JSONResponseBodyStatusCode `json:"statusCode"`
+ return ParseCreateScimUserResponse(rsp)
+}
+
+// CreateScimUserWithResponse performs a POST /api/v1/scim/Users (the `CreateScimUser` 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) CreateScimUserWithResponse(ctx context.Context, body CreateScimUserJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateScimUserResponse, error) {
+ rsp, err := c.CreateScimUser(ctx, body, reqEditors...)
+ 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 GetSecretReferenceTreeV4401JSONResponseBodyStatusCode `json:"statusCode"`
+ return ParseCreateScimUserResponse(rsp)
+}
+
+// DeleteScimUserWithResponse performs a DELETE /api/v1/scim/Users/{orgMembershipId} (the `DeleteScimUser` operationId) request.
+//
+// Returns a wrapper object for the known response body format(s).
+func (c *ClientWithResponses) DeleteScimUserWithResponse(ctx context.Context, orgMembershipId string, reqEditors ...RequestEditorFn) (*DeleteScimUserResponse, error) {
+ rsp, err := c.DeleteScimUser(ctx, orgMembershipId, reqEditors...)
+ 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 GetSecretReferenceTreeV4403JSONResponseBodyStatusCode `json:"statusCode"`
+ return ParseDeleteScimUserResponse(rsp)
+}
+
+// GetScimUserWithResponse performs a GET /api/v1/scim/Users/{orgMembershipId} (the `GetScimUser` operationId) request.
+//
+// Returns a wrapper object for the known response body format(s).
+func (c *ClientWithResponses) GetScimUserWithResponse(ctx context.Context, orgMembershipId string, reqEditors ...RequestEditorFn) (*GetScimUserResponse, error) {
+ rsp, err := c.GetScimUser(ctx, orgMembershipId, reqEditors...)
+ 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 GetSecretReferenceTreeV4404JSONResponseBodyStatusCode `json:"statusCode"`
+ return ParseGetScimUserResponse(rsp)
+}
+
+// PatchScimUserWithBodyWithResponse performs a PATCH /api/v1/scim/Users/{orgMembershipId} (the `PatchScimUser` 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) PatchScimUserWithBodyWithResponse(ctx context.Context, orgMembershipId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchScimUserResponse, error) {
+ rsp, err := c.PatchScimUserWithBody(ctx, orgMembershipId, contentType, body, reqEditors...)
+ 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 GetSecretReferenceTreeV4422JSONResponseBodyStatusCode `json:"statusCode"`
+ return ParsePatchScimUserResponse(rsp)
+}
+
+// PatchScimUserWithResponse performs a PATCH /api/v1/scim/Users/{orgMembershipId} (the `PatchScimUser` 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) PatchScimUserWithResponse(ctx context.Context, orgMembershipId string, body PatchScimUserJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchScimUserResponse, error) {
+ rsp, err := c.PatchScimUser(ctx, orgMembershipId, body, reqEditors...)
+ 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 GetSecretReferenceTreeV4500JSONResponseBodyStatusCode `json:"statusCode"`
+ return ParsePatchScimUserResponse(rsp)
+}
+
+// ReplaceScimUserWithBodyWithResponse performs a PUT /api/v1/scim/Users/{orgMembershipId} (the `ReplaceScimUser` 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) ReplaceScimUserWithBodyWithResponse(ctx context.Context, orgMembershipId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceScimUserResponse, error) {
+ rsp, err := c.ReplaceScimUserWithBody(ctx, orgMembershipId, contentType, body, reqEditors...)
+ if err != nil {
+ return nil, err
}
+ return ParseReplaceScimUserResponse(rsp)
}
-// 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
+// ReplaceScimUserWithResponse performs a PUT /api/v1/scim/Users/{orgMembershipId} (the `ReplaceScimUser` 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) ReplaceScimUserWithResponse(ctx context.Context, orgMembershipId string, body ReplaceScimUserJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceScimUserResponse, error) {
+ rsp, err := c.ReplaceScimUser(ctx, orgMembershipId, body, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseReplaceScimUserResponse(rsp)
}
-// 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
+// ListExternalGroupOrgRoleMappingsWithResponse performs a GET /api/v1/scim/group-org-role-mappings (the `ListExternalGroupOrgRoleMappings` operationId) request.
+//
+// Returns a wrapper object for the known response body format(s).
+func (c *ClientWithResponses) ListExternalGroupOrgRoleMappingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListExternalGroupOrgRoleMappingsResponse, error) {
+ rsp, err := c.ListExternalGroupOrgRoleMappings(ctx, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseListExternalGroupOrgRoleMappingsResponse(rsp)
}
-// 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
+// UpdateExternalGroupOrgRoleMappingsWithBodyWithResponse performs a PUT /api/v1/scim/group-org-role-mappings (the `UpdateExternalGroupOrgRoleMappings` 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) UpdateExternalGroupOrgRoleMappingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateExternalGroupOrgRoleMappingsResponse, error) {
+ rsp, err := c.UpdateExternalGroupOrgRoleMappingsWithBody(ctx, contentType, body, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseUpdateExternalGroupOrgRoleMappingsResponse(rsp)
}
-// 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
+// UpdateExternalGroupOrgRoleMappingsWithResponse performs a PUT /api/v1/scim/group-org-role-mappings (the `UpdateExternalGroupOrgRoleMappings` 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) UpdateExternalGroupOrgRoleMappingsWithResponse(ctx context.Context, body UpdateExternalGroupOrgRoleMappingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateExternalGroupOrgRoleMappingsResponse, error) {
+ rsp, err := c.UpdateExternalGroupOrgRoleMappings(ctx, body, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseUpdateExternalGroupOrgRoleMappingsResponse(rsp)
}
-// 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
+// ListScimEventsWithResponse performs a GET /api/v1/scim/scim-events (the `ListScimEvents` operationId) request.
+//
+// Returns a wrapper object for the known response body format(s).
+func (c *ClientWithResponses) ListScimEventsWithResponse(ctx context.Context, params *ListScimEventsParams, reqEditors ...RequestEditorFn) (*ListScimEventsResponse, error) {
+ rsp, err := c.ListScimEvents(ctx, params, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseListScimEventsResponse(rsp)
}
-// 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
+// ListScimTokensWithResponse performs a GET /api/v1/scim/scim-tokens (the `ListScimTokens` operationId) request.
+//
+// Returns a wrapper object for the known response body format(s).
+func (c *ClientWithResponses) ListScimTokensWithResponse(ctx context.Context, params *ListScimTokensParams, reqEditors ...RequestEditorFn) (*ListScimTokensResponse, error) {
+ rsp, err := c.ListScimTokens(ctx, params, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseListScimTokensResponse(rsp)
}
-// 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
+// CreateScimTokenWithBodyWithResponse performs a POST /api/v1/scim/scim-tokens (the `CreateScimToken` 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) CreateScimTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateScimTokenResponse, error) {
+ rsp, err := c.CreateScimTokenWithBody(ctx, contentType, body, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseCreateScimTokenResponse(rsp)
}
-// GetBody returns the raw response body bytes
-func (r GetSecretReferenceTreeV4Response) GetBody() []byte {
- return r.Body
+// CreateScimTokenWithResponse performs a POST /api/v1/scim/scim-tokens (the `CreateScimToken` 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) CreateScimTokenWithResponse(ctx context.Context, body CreateScimTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateScimTokenResponse, error) {
+ rsp, err := c.CreateScimToken(ctx, body, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
+ return ParseCreateScimTokenResponse(rsp)
}
-// Status returns HTTPResponse.Status
-func (r GetSecretReferenceTreeV4Response) Status() string {
- if r.HTTPResponse != nil {
- return r.HTTPResponse.Status
+// DeleteScimTokenWithResponse performs a DELETE /api/v1/scim/scim-tokens/{scimTokenId} (the `DeleteScimToken` operationId) request.
+//
+// Returns a wrapper object for the known response body format(s).
+func (c *ClientWithResponses) DeleteScimTokenWithResponse(ctx context.Context, scimTokenId string, reqEditors ...RequestEditorFn) (*DeleteScimTokenResponse, error) {
+ rsp, err := c.DeleteScimToken(ctx, scimTokenId, reqEditors...)
+ if err != nil {
+ return nil, err
}
- return http.StatusText(0)
+ return ParseDeleteScimTokenResponse(rsp)
}
-// StatusCode returns HTTPResponse.StatusCode
-func (r GetSecretReferenceTreeV4Response) StatusCode() int {
- if r.HTTPResponse != nil {
- return r.HTTPResponse.StatusCode
+// 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 0
+ return ParseListSecretApprovalRequestsResponse(rsp)
}
-// 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")
+// 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 ""
+ return ParseGetSecretApprovalRequestCountResponse(rsp)
}
-// GetInstanceStatusWithResponse performs a GET /api/status (the `GetInstanceStatus` operationId) request.
+// GetSecretApprovalRequestWithResponse performs a GET /api/v1/secret-approval-requests/{id} (the `GetSecretApprovalRequest` 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) 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) GetInstanceStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInstanceStatusResponse, error) {
- rsp, err := c.GetInstanceStatus(ctx, reqEditors...)
+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
}
@@@ -46958,15 -45095,47 +53435,41 @@@ func (c *ClientWithResponses) RequestEm
if err != nil {
return nil, err
}
- return ParseCreateIdentityFolderAccessResponse(rsp)
+ return ParseRequestEmailChangeOtpResponse(rsp)
}
-// CreateSecretTagWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/tags (the `CreateSecretTag` operationId) request,
++// CreateProjectRoleWithBodyWithResponse performs a POST /api/v2/workspace/{projectId}/roles (the `CreateProjectRole` operationId) request,
+ // with any type of body and a specified content type.
+ //
++// Create a project role.
++//
+ // 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...)
++func (c *ClientWithResponses) CreateProjectRoleWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectRoleResponse, error) {
++ rsp, err := c.CreateProjectRoleWithBody(ctx, projectId, contentType, body, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
- return ParseCreateSecretTagResponse(rsp)
++ return ParseCreateProjectRoleResponse(rsp)
+ }
+
-// CreateSecretTagWithResponse performs a POST /api/v1/projects/{projectId}/tags (the `CreateSecretTag` operationId) request.
++// CreateProjectRoleWithResponse performs a POST /api/v2/workspace/{projectId}/roles (the `CreateProjectRole` 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...)
++// Create a project role.
++func (c *ClientWithResponses) CreateProjectRoleWithResponse(ctx context.Context, projectId string, body CreateProjectRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectRoleResponse, error) {
++ rsp, err := c.CreateProjectRole(ctx, projectId, body, reqEditors...)
+ if err != nil {
+ return nil, err
+ }
- return ParseListSecretApprovalRequestsResponse(rsp)
++ return ParseCreateProjectRoleResponse(rsp)
+ }
+
-// GetSecretApprovalRequestCountWithResponse performs a GET /api/v1/secret-approval-requests/count (the `GetSecretApprovalRequestCount` operationId) request.
+// 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) GetSecretApprovalRequestCountWithResponse(ctx context.Context, params *GetSecretApprovalRequestCountParams, reqEditors ...RequestEditorFn) (*GetSecretApprovalRequestCountResponse, error) {
- rsp, err := c.GetSecretApprovalRequestCount(ctx, params, reqEditors...)
+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
}
@@@ -47335,385 -45497,97 +53838,398 @@@ func (c *ClientWithResponses) GetSecret
if err != nil {
return nil, err
}
- return ParseListOrgMembershipsResponse(rsp)
+ 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
}
-// GetOrgMembershipWithResponse performs a GET /api/v2/organizations/{organizationId}/memberships/{membershipId} (the `GetOrgMembership` operationId) request.
-//
-// Get organization user membership.
-//
-// Returns a wrapper object for the known response body format(s).
-func (c *ClientWithResponses) GetOrgMembershipWithResponse(ctx context.Context, organizationId string, membershipId string, reqEditors ...RequestEditorFn) (*GetOrgMembershipResponse, error) {
- rsp, err := c.GetOrgMembership(ctx, organizationId, membershipId, reqEditors...)
- if err != nil {
- return nil, err
- }
- return ParseGetOrgMembershipResponse(rsp)
-}
+// 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"`
++ AllowedStorageHostnames *[]string `json:"allowedStorageHostnames,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"`
++ Pkcs12PasswordPolicy 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:"pkcs12PasswordPolicy"`
+ 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
-// UpdateOrgMembershipWithBodyWithResponse performs a PATCH /api/v2/organizations/{organizationId}/memberships/{membershipId} (the `UpdateOrgMembership` operationId) request,
-// with any type of body and a specified content type.
-//
-// Update organization user memberships.
-//
-// Returns a wrapper object for the known response body format(s).
-func (c *ClientWithResponses) UpdateOrgMembershipWithBodyWithResponse(ctx context.Context, organizationId string, membershipId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrgMembershipResponse, error) {
- rsp, err := c.UpdateOrgMembershipWithBody(ctx, organizationId, membershipId, contentType, body, reqEditors...)
- if err != nil {
- return nil, err
- }
- return ParseUpdateOrgMembershipResponse(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 UpdateAdminConfig403JSONResponseBodyStatusCode `json:"statusCode"`
+ }
+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {
+ return nil, err
+ }
+ response.JSON403 = &dest
-// UpdateOrgMembershipWithResponse performs a PATCH /api/v2/organizations/{organizationId}/memberships/{membershipId} (the `UpdateOrgMembership` operationId) request.
-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
-//
-// Update organization user memberships.
-func (c *ClientWithResponses) UpdateOrgMembershipWithResponse(ctx context.Context, organizationId string, membershipId string, body UpdateOrgMembershipJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrgMembershipResponse, error) {
- rsp, err := c.UpdateOrgMembership(ctx, organizationId, membershipId, body, reqEditors...)
- if err != nil {
- return nil, err
- }
- return ParseUpdateOrgMembershipResponse(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 UpdateAdminConfig404JSONResponseBodyStatusCode `json:"statusCode"`
+ }
+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {
+ return nil, err
+ }
+ response.JSON404 = &dest
-// 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)
-}
+ 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
-// 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)
-}
+ 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
-// 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)
+ return response, nil
}
-// 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...)
+// 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
}
@@@ -48356,8 -46290,148 +54872,303 @@@ func ParseLoginWithUniversalAuthRespons
return response, nil
}
-// ParseUpdateAdminConfigResponse parses an HTTP response from a UpdateAdminConfigWithResponse call
-func ParseUpdateAdminConfigResponse(rsp *http.Response) (*UpdateAdminConfigResponse, error) {
++// ParseListProjectSecretsDetailsResponse parses an HTTP response from a ListProjectSecretsDetailsWithResponse call
++func ParseListProjectSecretsDetailsResponse(rsp *http.Response) (*ListProjectSecretsDetailsResponse, error) {
+ bodyBytes, err := io.ReadAll(rsp.Body)
+ defer func() { _ = rsp.Body.Close() }()
+ if err != nil {
+ return nil, err
+ }
+
- response := &UpdateAdminConfigResponse{
++ response := &ListProjectSecretsDetailsResponse{
+ 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"`
++ DynamicSecrets *[]struct {
++ CreatedAt time.Time `json:"createdAt"`
++ DefaultTTL string `json:"defaultTTL"`
++ FolderId openapi_types.UUID `json:"folderId"`
++ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`
++ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`
++ GatewayV2Id *openapi_types.UUID `json:"gatewayV2Id,omitempty"`
++ Id openapi_types.UUID `json:"id"`
++ MaxTTL *string `json:"maxTTL,omitempty"`
++ Metadata *[]struct {
++ Key string `json:"key"`
++ Value *string `json:"value,omitempty"`
++ } `json:"metadata,omitempty"`
++ Name string `json:"name"`
++ ProjectGatewayId *openapi_types.UUID `json:"projectGatewayId,omitempty"`
++ Status *string `json:"status,omitempty"`
++ StatusDetails *string `json:"statusDetails,omitempty"`
++ Type string `json:"type"`
++ UpdatedAt time.Time `json:"updatedAt"`
++ UsernameTemplate *string `json:"usernameTemplate,omitempty"`
++ Version float32 `json:"version"`
++ } `json:"dynamicSecrets,omitempty"`
++ Folders *[]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"`
++ UpdatedAt time.Time `json:"updatedAt"`
++ Version *float32 `json:"version,omitempty"`
++ } `json:"folders,omitempty"`
++ HoneyTokens *[]struct {
++ CreatedAt time.Time `json:"createdAt"`
++ Description *string `json:"description,omitempty"`
++ Environment struct {
++ Id string `json:"id"`
++ Name string `json:"name"`
++ Slug string `json:"slug"`
++ } `json:"environment"`
++ Folder struct {
++ Path string `json:"path"`
++ } `json:"folder"`
++ FolderId openapi_types.UUID `json:"folderId"`
++ Id openapi_types.UUID `json:"id"`
++ Name string `json:"name"`
++ ProjectId string `json:"projectId"`
++ SecretsMapping interface{} `json:"secretsMapping,omitempty"`
++ Status *string `json:"status,omitempty"`
++ Type string `json:"type"`
++ UpdatedAt time.Time `json:"updatedAt"`
++ } `json:"honeyTokens,omitempty"`
++ ImportedBy *[]struct {
++ Environment struct {
++ Name string `json:"name"`
++ Slug string `json:"slug"`
++ } `json:"environment"`
++ Folders []struct {
++ IsImported bool `json:"isImported"`
++ Name string `json:"name"`
++ Secrets *[]struct {
++ ReferencedSecretEnv string `json:"referencedSecretEnv"`
++ ReferencedSecretKey string `json:"referencedSecretKey"`
++ SecretId string `json:"secretId"`
++ } `json:"secrets,omitempty"`
++ } `json:"folders"`
++ Project *struct {
++ Id string `json:"id"`
++ Name string `json:"name"`
++ Slug string `json:"slug"`
++ } `json:"project,omitempty"`
++ } `json:"importedBy,omitempty"`
++ Imports *[]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"`
++ ProjectId *string `json:"projectId,omitempty"`
++ Slug string `json:"slug"`
++ } `json:"importEnv"`
++ ImportPath string `json:"importPath"`
++ IsAccessRevoked bool `json:"isAccessRevoked"`
++ 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"`
++ SourceProjectName *string `json:"sourceProjectName,omitempty"`
++ UpdatedAt time.Time `json:"updatedAt"`
++ Version *float32 `json:"version,omitempty"`
++ } `json:"imports,omitempty"`
++ ProxiedServices *[]struct {
++ CreatedAt time.Time `json:"createdAt"`
++ Credentials []struct {
++ DynamicSecretField *string `json:"dynamicSecretField,omitempty"`
++ DynamicSecretName *string `json:"dynamicSecretName,omitempty"`
++ HeaderName *string `json:"headerName,omitempty"`
++ HeaderPrefix *string `json:"headerPrefix,omitempty"`
++ HeaderPurpose *string `json:"headerPurpose,omitempty"`
++ Id openapi_types.UUID `json:"id"`
++ PlaceholderKey *string `json:"placeholderKey,omitempty"`
++ PlaceholderValue *string `json:"placeholderValue,omitempty"`
++ Role string `json:"role"`
++ SecretKey *string `json:"secretKey,omitempty"`
++ ServiceId openapi_types.UUID `json:"serviceId"`
++ SubstitutionSurfaces *[]string `json:"substitutionSurfaces,omitempty"`
++ } `json:"credentials"`
++ Environment struct {
++ Id string `json:"id"`
++ Name string `json:"name"`
++ Slug string `json:"slug"`
++ } `json:"environment"`
++ Folder struct {
++ Path string `json:"path"`
++ } `json:"folder"`
++ FolderId openapi_types.UUID `json:"folderId"`
++ HostPattern string `json:"hostPattern"`
++ Id openapi_types.UUID `json:"id"`
++ IsEnabled *bool `json:"isEnabled,omitempty"`
++ LastUsedAt *time.Time `json:"lastUsedAt,omitempty"`
++ Name string `json:"name"`
++ UpdatedAt time.Time `json:"updatedAt"`
++ } `json:"proxiedServices,omitempty"`
++ SecretRotations *[]ListProjectSecretsDetails200JSONResponseBody_SecretRotations_Item `json:"secretRotations,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"`
++ IsEmpty bool `json:"isEmpty"`
++ IsHoneyTokenSecret *bool `json:"isHoneyTokenSecret,omitempty"`
++ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`
++ Reminder *struct {
++ CreatedAt time.Time `json:"createdAt"`
++ FromDate *time.Time `json:"fromDate,omitempty"`
++ Id openapi_types.UUID `json:"id"`
++ Message *string `json:"message,omitempty"`
++ NextReminderDate time.Time `json:"nextReminderDate"`
++ Recipients *[]string `json:"recipients,omitempty"`
++ RepeatDays *float32 `json:"repeatDays,omitempty"`
++ SecretId *openapi_types.UUID `json:"secretId,omitempty"`
++ UpdatedAt time.Time `json:"updatedAt"`
++ } `json:"reminder,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"`
++ 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,omitempty"`
++ TotalCount float32 `json:"totalCount"`
++ TotalDynamicSecretCount *float32 `json:"totalDynamicSecretCount,omitempty"`
++ TotalFolderCount *float32 `json:"totalFolderCount,omitempty"`
++ TotalHoneyTokenCount *float32 `json:"totalHoneyTokenCount,omitempty"`
++ TotalImportCount *float32 `json:"totalImportCount,omitempty"`
++ TotalProxiedServiceCount *float32 `json:"totalProxiedServiceCount,omitempty"`
++ TotalSecretCount *float32 `json:"totalSecretCount,omitempty"`
++ TotalSecretRotationCount *float32 `json:"totalSecretRotationCount,omitempty"`
++ UsedBySecretSyncs *[]struct {
++ Destination string `json:"destination"`
++ Environment string `json:"environment"`
++ Id string `json:"id"`
++ Name string `json:"name"`
++ Path string `json:"path"`
++ } `json:"usedBySecretSyncs,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 UpdateAdminConfig400JSONResponseBodyStatusCode `json:"statusCode"`
++ Details interface{} `json:"details,omitempty"`
++ Error string `json:"error"`
++ Message string `json:"message"`
++ ReqId string `json:"reqId"`
++ StatusCode ListProjectSecretsDetails400JSONResponseBodyStatusCode `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"`
++ Error string `json:"error"`
++ Message string `json:"message"`
++ ReqId string `json:"reqId"`
++ StatusCode ListProjectSecretsDetails401JSONResponseBodyStatusCode `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"`
++ Details interface{} `json:"details,omitempty"`
++ Error string `json:"error"`
++ Message string `json:"message"`
++ ReqId string `json:"reqId"`
++ StatusCode ListProjectSecretsDetails403JSONResponseBodyStatusCode `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"`
++ Error string `json:"error"`
++ Message string `json:"message"`
++ ReqId string `json:"reqId"`
++ StatusCode ListProjectSecretsDetails404JSONResponseBodyStatusCode `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"`
++ Error string `json:"error"`
++ Message interface{} `json:"message,omitempty"`
++ ReqId string `json:"reqId"`
++ StatusCode ListProjectSecretsDetails422JSONResponseBodyStatusCode `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"`
++ Error string `json:"error"`
++ Message string `json:"message"`
++ ReqId string `json:"reqId"`
++ StatusCode ListProjectSecretsDetails500JSONResponseBodyStatusCode `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) {
+// ParseListEmailDomainsResponse parses an HTTP response from a ListEmailDomainsWithResponse call
+func ParseListEmailDomainsResponse(rsp *http.Response) (*ListEmailDomainsResponse, error) {
bodyBytes, err := io.ReadAll(rsp.Body)
defer func() { _ = rsp.Body.Close() }()
if err != nil {
@@@ -52194,6 -49972,6 +59005,7 @@@ func ParseListSecretApprovalRequestsRes
Status string `json:"status"`
UserId string `json:"userId"`
} `json:"reviewers"`
++ SecretPath string `json:"secretPath"`
Slug string `json:"slug"`
Status *string `json:"status,omitempty"`
StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`
@@@ -56185,109 -53588,122 +62997,225 @@@ func ParseGetCurrentUserResponse(rsp *h
return response, nil
}
+// ParseRequestEmailChangeOtpResponse parses an HTTP response from a RequestEmailChangeOtpWithResponse call
+func ParseRequestEmailChangeOtpResponse(rsp *http.Response) (*RequestEmailChangeOtpResponse, error) {
+ bodyBytes, err := io.ReadAll(rsp.Body)
+ defer func() { _ = rsp.Body.Close() }()
+ if err != nil {
+ return nil, err
+ }
+
+ response := &RequestEmailChangeOtpResponse{
+ Body: bodyBytes,
+ HTTPResponse: rsp,
+ }
+
+ switch {
+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:
+ var dest struct {
+ Message string `json:"message"`
+ Success bool `json:"success"`
+ }
+ 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 RequestEmailChangeOtp400JSONResponseBodyStatusCode `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 RequestEmailChangeOtp401JSONResponseBodyStatusCode `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 RequestEmailChangeOtp403JSONResponseBodyStatusCode `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 RequestEmailChangeOtp404JSONResponseBodyStatusCode `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 RequestEmailChangeOtp422JSONResponseBodyStatusCode `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 RequestEmailChangeOtp500JSONResponseBodyStatusCode `json:"statusCode"`
+ }
+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {
+ return nil, err
+ }
+ response.JSON500 = &dest
+
+ }
+
+ return response, nil
+}
+
+ // ParseCreateProjectRoleResponse parses an HTTP response from a CreateProjectRoleWithResponse call
+ func ParseCreateProjectRoleResponse(rsp *http.Response) (*CreateProjectRoleResponse, error) {
+ bodyBytes, err := io.ReadAll(rsp.Body)
+ defer func() { _ = rsp.Body.Close() }()
+ if err != nil {
+ return nil, err
+ }
+
+ response := &CreateProjectRoleResponse{
+ Body: bodyBytes,
+ HTTPResponse: rsp,
+ }
+
+ switch {
+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:
+ var dest struct {
+ Role struct {
+ CreatedAt time.Time `json:"createdAt"`
+ Description *string `json:"description,omitempty"`
+ Id openapi_types.UUID `json:"id"`
+ Name string `json:"name"`
+ Permissions []struct {
+ Action CreateProjectRole200JSONResponseBody_Role_Permissions_Action `json:"action"`
+ Conditions interface{} `json:"conditions,omitempty"`
+ Inverted *bool `json:"inverted,omitempty"`
+ Subject *CreateProjectRole200JSONResponseBody_Role_Permissions_Subject `json:"subject,omitempty"`
+ } `json:"permissions"`
+ ProjectId string `json:"projectId"`
+ Slug string `json:"slug"`
+ UpdatedAt time.Time `json:"updatedAt"`
+ } `json:"role"`
+ }
+ 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 CreateProjectRole400JSONResponseBodyStatusCode `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 CreateProjectRole401JSONResponseBodyStatusCode `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 CreateProjectRole403JSONResponseBodyStatusCode `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 CreateProjectRole404JSONResponseBodyStatusCode `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 CreateProjectRole422JSONResponseBodyStatusCode `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 CreateProjectRole500JSONResponseBodyStatusCode `json:"statusCode"`
+ }
+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {
+ return nil, err
+ }
+ response.JSON500 = &dest
+
+ }
+
+ return response, nil
+ }
+
// ParseLoginV3Response parses an HTTP response from a LoginV3WithResponse call
func ParseLoginV3Response(rsp *http.Response) (*LoginV3Response, error) {
bodyBytes, err := io.ReadAll(rsp.Body)